WO2022257649A1 - 应用程序加速方法、装置、设备及存储介质 - Google Patents

应用程序加速方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2022257649A1
WO2022257649A1 PCT/CN2022/090860 CN2022090860W WO2022257649A1 WO 2022257649 A1 WO2022257649 A1 WO 2022257649A1 CN 2022090860 W CN2022090860 W CN 2022090860W WO 2022257649 A1 WO2022257649 A1 WO 2022257649A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
access node
acceleration
transmission path
program
Prior art date
Application number
PCT/CN2022/090860
Other languages
English (en)
French (fr)
Inventor
黄嘉锋
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2022257649A1 publication Critical patent/WO2022257649A1/zh
Priority to US18/125,022 priority Critical patent/US20230232308A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/12Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • H04W28/0236Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the present application relates to the technical field of network communication, and more specifically, relates to application program acceleration.
  • the mobile terminal After the mobile terminal starts the application program, there is data interaction between the application program and the program server. If the communication network connected to the mobile terminal is unstable (for example, the network speed is poor or the network is disconnected, etc.), the data exchange between the application program and the program server will be delayed, and even abnormal situations such as application program disconnection will be caused. For example, taking an online game (also called online game) as an example, during the process of running the online game on the mobile terminal, if the communication network connected to the mobile terminal is unstable, the game may freeze or even be disconnected. However, it is common for mobile terminals to have network fluctuations. Therefore, how to reduce the impact of network fluctuations on applications running on mobile terminals and improve the stability of applications running on mobile terminals is a technical problem that needs to be solved.
  • an online game also called online game
  • the present application provides an application program acceleration method, device, device and storage medium to reduce the abnormal operation of the application program due to the network fluctuation of the mobile terminal, and improve the speed of running the application program on the mobile terminal side. stability.
  • an embodiment of the present application provides an application program acceleration method, the method comprising:
  • the first network transmission path is a communication path to a set access node via the short-range wireless communication network
  • the second network transmission path is a communication path via the mobile network to the set access node
  • the set access node is an interface configured for the application program to access a network acceleration channel. entry node;
  • the embodiment of the present application also provides an application acceleration device, the device comprising:
  • An acquisition unit configured to acquire the data packet sent by the application program to the program server, the application program running in the mobile terminal, and the mobile terminal accessing the short-range wireless communication network and the mobile network;
  • the first quality acquisition unit is configured to determine the network communication quality of the first network transmission path and the second network transmission path configured for the application program, the first network transmission path is to the device via the short-range wireless communication network A communication path of a fixed access node, the second network transmission path is a communication path from the mobile network to the set access node, and the set access node is configured for the application program and used The access node for accessing the network acceleration channel;
  • a path determining unit configured to determine the one with the best network communication quality as the target network transmission path from the first network transmission path and the second network transmission path;
  • a packet transmission unit configured to transmit the data packet to the set access node via the target network transmission path, so that the set access node transmits the data packet to the program server through the accessed network acceleration channel the above data packet.
  • the present application also provides a computer device, including: a processor and a memory, the processor and the memory are connected through a communication bus;
  • the processor is configured to call and execute the program stored in the memory
  • the memory is used to store a program, and the program is used to implement the application program acceleration method in the above aspect.
  • the present application also provides a computer-readable storage medium, on which a computer program is stored, and the computer program is loaded and executed by a processor, so as to implement the application program acceleration method in the above aspect.
  • an embodiment of the present application provides a computer program product including instructions, which, when run on a computer, cause the computer to execute the application program acceleration method of the above aspect.
  • the mobile terminal configured with the application program has access to the short-range wireless communication network and the mobile network, and the first network transmission path to the set access node via the short-range wireless communication network is set for the application program, and A second network transmission path to the set access node via the mobile network.
  • the network transmission path with the best network communication quality will be determined as the target network transmission path from the two network transmission paths, and the data packets will be transmitted from the target network transmission path to the program server.
  • the network transmission path is the network channel from the communication network locally accessed by the mobile terminal to the access node of the network acceleration channel
  • the network communication quality of the network transmission path reflects the network status of the local network of the mobile terminal, and based on the mobile terminal
  • the quality of the network status of the local network, and the reasonable selection of the local communication network and access node used to transmit data packets can reduce the delay or even interruption of data interaction between the application program and the program server due to the instability of the local network of the mobile terminal. In this way, the abnormal operation of the application program is reduced, and the stability of the application program running on the mobile terminal is improved.
  • FIG. 1 is a schematic diagram of the composition and architecture of an application program acceleration system to which the solution of the embodiment of the present application is applicable;
  • FIG. 2 shows a schematic flowchart of an application program acceleration method provided by an embodiment of the present application
  • FIG. 3 shows a schematic diagram in which different communication networks locally accessed by a mobile terminal are configured with different network acceleration channels in an embodiment of the present application
  • FIG. 4 shows a schematic flow diagram of a network transmission path and a network acceleration channel for configuring an application program provided by an embodiment of the present application
  • FIG. 5 shows a schematic flow diagram of an application program acceleration method provided by an embodiment of the present application
  • FIG. 6 shows a schematic diagram of the composition and structure of an application scenario to which the solution of the embodiment of the present application applies;
  • FIG. 7 shows a schematic diagram of the process interaction of the application acceleration method provided by the present application in an application scenario
  • Fig. 8 shows a schematic diagram of the game acceleration selection interface output by the game acceleration client provided by the embodiment of the present application
  • Fig. 9 shows a schematic diagram of the acceleration preparation interface output by the game acceleration client
  • Fig. 10 shows a schematic diagram of the acceleration details interface output by the game acceleration client
  • FIG. 11 shows a schematic diagram of the composition and structure of the application acceleration device provided by the embodiment of the present application.
  • FIG. 12 is a schematic diagram of a composition structure of a mobile terminal provided by an embodiment of the present application.
  • the solution of the present application can be applied to mobile terminals, so as to reduce the instability of the application program caused by the network fluctuation of the mobile terminal, such as freezing and disconnection.
  • FIG. 1 shows a schematic structural diagram of the application program acceleration system provided by the present application.
  • the application acceleration system includes: a mobile terminal 110 running an acceleration program.
  • the acceleration program is configured on the mobile terminal in the form of an acceleration client.
  • the acceleration program is used to improve the data transmission efficiency between the application program running on the mobile terminal and the program server.
  • the application program acceleration system may also include: an acceleration server 120 corresponding to the acceleration client, and multiple access nodes 121 (one access node is shown as an example in FIG. 1 ) for increasing the data transmission rate of the game.
  • each access node 121 is a node server configured in the application acceleration system for accessing the network acceleration channel.
  • Each access node 121 is configured with a network acceleration channel, and the network acceleration channel is composed of an access node 121 and an egress node 122 uniquely corresponding to the access node.
  • the exit node 122 is also a node server, and the access node and the exit node corresponding to the same network acceleration channel access the communication network belonging to the same operator. Therefore, data transmission from the access node of the same network acceleration channel to the exit node does not involve Switching between communication networks of different operators can increase the data transmission rate.
  • an application program may also run on the mobile terminal, and the application program may be an Internet-based program.
  • the application program can be any application program that needs to interact with the program server based on the Internet.
  • the mobile terminal can perform data interaction with the program server 130 based on the running application program.
  • the application program may be an Internet-based game application or an online game such as a web game.
  • the online game may realize the interaction of game-related data with the game server through the Internet.
  • the mobile terminal while the mobile terminal is connected to a mobile network (also referred to as a cellular network), it can also be connected to a short-range wireless communication network, such as a short-range wireless communication network such as a WiFi (Wireless Fidelity, Wireless Fidelity) network.
  • a short-range wireless communication network such as a WiFi (Wireless Fidelity, Wireless Fidelity) network.
  • the acceleration client determines the application program that needs to be accelerated, it will Configure at least one access node for the application (for ease of distinction, the access node configured for the application is also called a set access node). Since the access nodes are connected to the network acceleration channel, configuring at least one access node actually configures at least one network acceleration channel for the application in the mobile terminal.
  • the acceleration client can configure the first network transmission path and the second network transmission path, wherein the first network transmission path passes through the short-distance wireless communication network locally accessed by the mobile terminal to the access node of the network acceleration channel , the second network transmission path passes through the mobile network locally accessed by the mobile terminal to the second network transmission path of the access node of the network acceleration channel.
  • the access nodes in the first network transmission path and the access nodes on the second network transmission path may be the same or different, therefore, the access nodes connected to the first network transmission path and the second network transmission path
  • the incoming network acceleration channels can be the same or different.
  • the application acceleration method of the present application is introduced from the side of the mobile terminal.
  • Figure 2 shows a schematic flow chart of an embodiment of an application acceleration method of the present application.
  • the method of this embodiment can be applied to a mobile terminal configured with an acceleration client, and the mobile terminal has access to a short-range wireless Communication networks and mobile networks.
  • the method of this embodiment may include:
  • This application is an application that needs to increase the data transfer rate by accelerating the client. As mentioned above, the application runs on the mobile terminal where the acceleration client is located.
  • the acceleration client may acquire the data matching rule of the application, and the data matching rule is used to match the data packets sent by the application to the program server.
  • the acceleration client can obtain the data matching rules applicable to the application from the acceleration server.
  • the acceleration client locally stores the data matching rules corresponding to the application.
  • the acceleration client has performed acceleration operations on the application program in history, so the acceleration client will save the data matching rules of the application program in the mobile terminal, and on this basis, it can call the locally saved The data matching rule corresponding to the application.
  • the data matching rule can be the matching of domain names and IP addresses that may be involved in the data packets sent by the application to the program server feature.
  • the application can intercept the data packet containing the domain name or IP address matching the data matching feature, so as to obtain the data packet sent by the application program to the program server.
  • the data matching rules in this application may include: domain name matching rules and IP matching rules.
  • the domain name matching rule is a rule constructed by using a regular expression
  • the IP matching rule includes an IP address segment composed of a reference IP and a subnet mask group.
  • the data packet matching the data matching rule is: a data packet containing a domain name matching the regular expression, or a data packet containing an IP address belonging to the IP address segment.
  • domain name matching rules constructed using regular expressions can reduce the complexity of configuration data matching rules, and the complexity of matching domain names in data packets with regular expressions is relatively low , which is also more efficient, and avoids the complexity caused by comparing the domain names contained in the data packet with the configured multiple domain names one by one.
  • the IP address in the data packet belongs to the IP address segment, which is conducive to more efficiently determining whether the data packet is The data packets that need to be intercepted, that is, whether the data packets belong to the data packets sent by the application.
  • S202 Determine the network communication quality of the first network transmission path and the second network transmission path configured for the application program.
  • the first network transmission path is a communication path to the set access node via the short-range wireless communication network.
  • the second network transmission path is a communication path to the set access node via the mobile network.
  • the access node is set as the access node configured by the acceleration client for the application program to access the network acceleration channel.
  • the first network transmission path and the second network transmission path are pre-configured before obtaining the data packets sent by the application program, for example, after the acceleration client determines the application program that needs to be accelerated, or starts the application program
  • the first network transmission path and the second network transmission path can be configured for the application program.
  • configuring the first network transmission path may be implemented by configuring the information of the access node corresponding to the short-distance wireless channel network accessed by the mobile terminal.
  • configuration of the second network transmission path is implemented by configuring the information of the interface node corresponding to the mobile network accessed by the mobile terminal.
  • the acceleration client determines the application that needs to be accelerated, it can select at least one access node for the application from the multiple access nodes deployed by the application acceleration system as the set access node corresponding to the application .
  • the network communication quality of the network transmission path is used to characterize the network status between the short-range wireless communication network or the mobile network corresponding to the network transmission path and the set access node.
  • the purpose of measuring the network communication quality of the network transmission path is to measure the network status of the short-range wireless communication network or mobile network locally accessed by the mobile terminal, that is, the mobile terminal The network condition of the local network.
  • the network communication quality may represent network conditions such as network speed, data packet delay, packet loss, and jitter corresponding to the network transmission path.
  • timing of determining the network communication quality of the network transmission path may be after intercepting the data packet sent by the application program, for example, by testing the network communication quality of the network transmission path to obtain the current network communication quality of the network transmission path quality.
  • the acceleration client in this application may test the network communication quality of the first network transmission path and the second network transmission path configured for the application program when the network test conditions are met.
  • the network test condition can be set as required, for example, a network quality test cycle can be set, and when the set network test time is determined according to the network test cycle, it is confirmed that the network test condition is met.
  • the acceleration client By setting the network test conditions, after the acceleration client starts the application program, it can monitor the short-range wireless communication network locally accessed by the mobile terminal and the network quality of the mobile network on a regular or irregular basis. , to determine the network status of the local network in time.
  • the network communication quality of the first network transmission path and the second network transmission path tested last time may be obtained.
  • the specific form of network communication quality may be a network quality score representing network conditions, and the network quality score may be a score or grade representing network communication quality.
  • testing the network communication quality of the network transmission path may include: performing a network quality test on the network transmission path, and determining a network quality score according to a network quality test result.
  • the network quality test can be to obtain the network speed, data packet transmission delay, packet loss, and network signal jitter that can represent the quality of network communication by means of speed measurement.
  • the specific implementation is described as an example, and details are not repeated here.
  • determining the network quality score according to the network quality test result may be that the acceleration client calculates the network quality score according to the network quality test result; or, the acceleration client sends the network quality test result to the acceleration server, and obtains the acceleration server The network quality score calculated based on the network quality test result.
  • the network communication quality may also be the value of at least one network status parameter that can characterize the network communication quality, such as network speed, data packet transmission delay, packet loss, and network signal jitter, etc., as measured by the network quality test. parameter values, etc.
  • S203 Determine, from the first network transmission path and the second network transmission path, the one with the best network communication quality as the target network transmission path.
  • the network transmission path with the best network communication quality among the first network transmission path and the second network transmission path is called the target network transmission path.
  • a network transmission path with a higher network quality score may be determined as a target network transmission path.
  • the network transmission path with the best network communication quality may be determined according to the priority of each network status parameter and the value of the network status parameter .
  • the data packets can be transmitted to the network acceleration channel more stably and at high speed through the network transmission path, so as to ensure that the data packets are accelerated and transmitted to the program server through the network acceleration channel.
  • the purpose of sending the data packet to the set access node via the target network transmission path is essentially to efficiently transmit the data packet through the network acceleration channel corresponding to the set access node.
  • the set access node After the set access node obtains the data packet, it will transmit the data packet to its corresponding exit node (that is, the exit node in the network acceleration channel accessed by the set access node), so that The data packet is transmitted to the program server through the network acceleration channel corresponding to the set access node.
  • the application program to be accelerated can be selected through the acceleration client.
  • the acceleration client can intercept the data packets sent by the application to the program server, and send the data packets to the program server through the network acceleration channel , to increase the transmission speed of the data packet to the server through the network acceleration channel.
  • the transmission of data packets through the dedicated network acceleration channel can solve the problem of data packet transmission delay or even transmission caused by frequent switching of communication networks of different operators or instability of a certain operator's communication network after the mobile terminal sends the data packet. unusual situation.
  • the short-distance wireless communication network locally accessed by the mobile terminal and the mobile network may also have network fluctuations.
  • the communication network used by the mobile terminal to transmit the data packet has Network fluctuations such as network disconnection will also affect the stability of data interaction between the application program and the program server.
  • the network communication quality of the mobile terminal to the access node via the short-range wireless communication network or mobile network essentially reflects the network quality of the short-range wireless communication network or mobile network.
  • the present application can reasonably select the communication network through which the mobile terminal connects to the network acceleration channel based on the network conditions of the short-range wireless communication network or the mobile network.
  • the mobile terminal configured with the application program has access to the short-range wireless communication network and the mobile network
  • the first network transmission path from the short-range wireless communication network to the set access node is set for the application program
  • the mobile terminal A second network transmission path from the network to the set access node.
  • the network transmission path is the network channel from the communication network locally accessed by the mobile terminal to the access node of the network acceleration channel
  • the network communication quality of the network transmission path reflects the network status of the local network of the mobile terminal, and based on the mobile terminal
  • the quality of the network status of the local network, and the reasonable selection of the local communication network and access node used to transmit data packets can reduce the delay or even interruption of data interaction between the application program and the program server due to the instability of the local network of the mobile terminal. abnormal situation, it also improves the stability of the application program running on the mobile terminal.
  • the access nodes in the first network transmission path and the second network transmission path may be the same or different.
  • the acceleration client has set up a dedicated network acceleration channel for the application.
  • the network acceleration channels applicable to the short-range wireless communication network accessed by the mobile terminal of this application and the mobile network may be different.
  • the first network transmission path and the second network transmission path can be different.
  • setting the access nodes includes a first access node and a second access node.
  • the acceleration client determines the application program that needs to be accelerated, it configures the application program with a first access node suitable for a short-range wireless communication network and a second access node suitable for a mobile network, respectively.
  • the network acceleration channels configured by the first access node and the second access node are different.
  • the first network transmission path from the short-range wireless communication network to the first access node is configured.
  • the corresponding relationship between the mobile network accessed by the mobile terminal and the second access node a second network transmission path from the mobile network to the second access node is configured.
  • FIG. 3 shows a schematic diagram of configuring different network acceleration channels for different communication networks locally accessed by a mobile terminal in this application.
  • the short-range wireless communication network accessed by the mobile terminal where the acceleration client is located is a WiFi network as an example for illustration.
  • the acceleration client connects to the access node a1 through the WiFi network, and the access node a1 and the exit node b1 form a network acceleration channel 1, so that the acceleration client connects to the access node a1 through the WiFi network
  • the network transmission path between them can be connected to the network acceleration channel 1 formed from the access node a1 to the exit node b1.
  • the acceleration client is connected to the access node a2 via the mobile network, and the network acceleration channel 2 is formed between the access node a2 and the egress node b2, so that the network transmission between the acceleration client and the access node a2 via the mobile network
  • the path can be connected to the network acceleration channel 2.
  • this application can reasonably select the network transmission path to access the network acceleration channel according to the network conditions of the short-distance wireless communication network and the mobile network locally accessed by the mobile terminal, so as to achieve more stable application acceleration. Effect.
  • the application program acceleration system of the present application can also be set for different network acceleration channels.
  • external transit node In this case, the exit node of each network acceleration channel is connected to the same external transit node, and the external transit node is used to connect to the program server of the application program.
  • both the exit node b1 and the exit node b2 are connected to the program server through an external transit node.
  • each network acceleration channel will be forwarded to the program server through the external transfer node, and the program server will return data to each network acceleration channel through the external transfer node.
  • the external transit node may be a node server independently set up besides each exit node, or may be a multiplexed exit node among multiple exit nodes as the external transit node.
  • the number of times the exit node forwards application data can also be reduced, and the data transmission rate of the application can also be increased.
  • the program server Since the node server directly connected to the program server is always the external transit node, no matter how the acceleration client switches the network acceleration channel, the program server always obtains the data sent by the application through the same external transit node, so that the program server It will not perceive the switching of the network acceleration channel, and naturally it will not cause the application to go offline due to the switching of the network acceleration channel.
  • the data returned by the program server to the application program will also be sent to the external transfer node, and then transmitted by the external transfer node to the mobile terminal where the application program is located through the corresponding network acceleration channel.
  • the first access node for the short-range wireless communication network there are many possibilities for selecting the first access node for the short-range wireless communication network.
  • the second access node is an access node whose network communication quality with the mobile network meets a condition among the plurality of access nodes.
  • the application program acceleration system may pre-configure the aforementioned multiple access nodes for the application program.
  • the multiple access nodes corresponding to different application programs may also be different.
  • the multiple access nodes corresponding to the application program are also related to the geographic location of the mobile terminal running the application program.
  • the speed of the access node may be measured through the short-distance wireless communication network, and the network communication quality may be determined according to the speed measurement result.
  • the network communication quality may be determined according to the speed measurement result.
  • the conditions mentioned here that the network communication quality needs to meet can be set as required. For example, it may be that the network communication quality exceeds a certain level or value. In an optional manner, in order to minimize application freeze or even disconnection, the network communication quality meeting the condition may be optimal network communication quality.
  • FIG. 4 shows a schematic flowchart of a network transmission path and a network acceleration channel for configuring an application provided by an embodiment of the present application.
  • the method of this embodiment is applied to the acceleration client, and the method of this embodiment may include:
  • the program selection interface displays information of at least one candidate application program that can be selected.
  • the program selection instruction is used to indicate an application program in the at least one candidate application program (ie, the application program mentioned in S201 ).
  • the acceleration client can display a program selection interface, and the program selection interface displays a list of programs that can be selected for acceleration, and the program list can include one or more programs that can be selected. candidate applications.
  • the user may select the application on the program selection interface to trigger input of a program selection instruction for the application.
  • the acceleration client can determine the application program to be accelerated based on the received program selection instruction.
  • the program selection interface can be the game acceleration selection interface for selecting the game that needs to be accelerated, as shown in Figure 8, which will be described later in conjunction with this situation, here No longer.
  • the access node list is used to identify multiple access nodes that increase the data transmission rate of the application program.
  • the access node list refers to a list of access nodes that can be selected by the application program when the mobile terminal runs the application program.
  • the access node list is not only related to the application program, but also related to the geographic location of the mobile terminal running the application program.
  • the acceleration client may send a node list request to the acceleration server, where the node list request carries information about the application to be accelerated, such as the name or identifier of the application. Meanwhile, the node list request may also carry the IP address of the mobile terminal.
  • the acceleration server can determine the list of access nodes available to the application according to the IP address and the information of the application. For example, the geographic location of the mobile terminal is determined according to the IP address, combined with the geographic location, at least one access node that can be provided to the application program is determined, and the access node containing the information of the at least one access node is determined. A list of nodes is returned to the accelerated client.
  • the acceleration client may be pre-configured with access node information applicable to different geographical areas and different types of application programs.
  • the acceleration client can also determine at least one access node that can be used to run the application program on the mobile terminal according to the geographical location of the mobile terminal and the name (or type, etc.) of the application program, and obtain An access node list including information of the at least one access node.
  • the first test result may be a network quality test result of the network transmission path from the short-range wireless communication network accessed by the mobile terminal to the access node.
  • the first test result includes: values of one or more of network speed evaluation parameters such as packet loss, delay, and jitter.
  • a short-range wireless communication network accessed by a mobile terminal may send a network test packet to the access node, and receive a test feedback result of the network test packet.
  • the network test package is a data package for network testing.
  • the Internet Control Message Protocol (Internet Control Message Protocol, ICMP) can be used to generate a network test packet by issuing a ping command, and send the network test packet to the access node via the short-distance wireless communication network.
  • ICMP Internet Control Message Protocol
  • the frequency and specific method of sending the network test packet can be set according to needs, and there is no limitation on this. For example, 10 network test packets can be sent every second and repeated three times.
  • the test feedback result of the network test packet is related information such as response data fed back by the access node for the network test packet and the receiving time of the response data.
  • the specific conditions of packet loss, delay and jitter between the mobile terminal and the access node can be calculated according to the test feedback result of the network test packet.
  • the acceleration client in order to be able to send data such as test packets related to the network quality test to the access node through the short-range wireless communication network, the acceleration client creates a socket of the short-range wireless communication network on the mobile terminal before the network quality test. Character.
  • data such as test packets can be sent to the access node through the socket of the short-distance wireless communication network, so as to implement network quality testing on the access node via the short-distance wireless communication network.
  • the second test result may be a network quality test result of a network path from the mobile network accessed by the mobile terminal to the access node.
  • the second test result may also include: values of one or more of multiple network speed evaluation parameters such as packet loss, delay, and jitter.
  • the acceleration client can create a socket of the mobile network on the mobile terminal, and correspondingly, can test the network quality of the access node through the socket of the mobile network.
  • the network quality test of the access node through the mobile network is similar to the previous S404.
  • the network test packet can be sent to the access node through the mobile network and the test feedback result can be received.
  • the relevant introduction of S404 please refer to the relevant introduction of S404, which is not discussed here. repeat.
  • the performance parameter may include the load status of the access node, and may also include parameters such as the data processing speed of the access node, which is not limited.
  • the acceleration client may send a capability request to the access node.
  • the access node In response to the performance request, the access node returns its performance data to the acceleration client.
  • the acceleration client may request the access node to feed back its performance parameters during the process of testing the network quality of the access node. On this basis, the acceleration client does not need to request performance data from the access node separately.
  • the acceleration client may calculate the first network communication quality according to the first test result and performance parameters.
  • the acceleration client may send the first test result and the performance parameter to the acceleration server.
  • the acceleration server calculates the first network communication quality according to the first test result and performance data, and returns the first network communication quality to the acceleration client, so that the acceleration client obtains the first network communication quality.
  • the acceleration server can more flexibly set calculation rules for calculating the communication quality of the first network without adjusting the acceleration client.
  • acceleration server or the acceleration client calculates the first network communication quality based on the first test result and performance data, which is not limited in this application.
  • the acceleration server may combine the network communication quality determined by the first test result and the performance data according to the set weight coefficient of the test result and the performance data.
  • the weight coefficients of the test results in the acceleration server may include weight coefficients of the multiple parameters.
  • performance weights of different performance parameters may be set in the acceleration server.
  • the first test result is a speed measurement result obtained by performing a network speed measurement on the access node via the short-distance wireless communication network
  • the first test result includes at least one network speed evaluation parameter value, and correspondingly, the performance data
  • the weights of each network speed evaluation parameter and performance parameter can be obtained. Then, combining each network speed evaluation parameter and the weight of each performance parameter, and the value of at least one network speed evaluation parameter in the first test result and the value of each performance parameter in the performance data, determine the The quality is a first network communication quality
  • the first network communication quality may be a network communication quality score or a quality level.
  • the first test result includes: packet loss, delay and jitter values, and the performance data includes load values corresponding to the load. Since packet loss has a greater impact on network communication quality, the weight of packet loss can be the highest, while the weight of jitter is second, and the weight of delay and load is the lowest. On this basis, the weight of packet loss, delay, and The network quality scores represented by the jitter and the load respectively, and then the network quality scores of these parameters are weighted and summed to obtain the network quality score of the communication quality of the first network.
  • the acceleration client may calculate the second network communication quality based on the second test result and performance data; or send the second test result and performance data to the acceleration server, and the acceleration server may The second test result and performance data are used to calculate the communication quality of the second network and return it to the acceleration client.
  • the acceleration server may also determine the second network communication quality based on the set test result and the weight coefficient of the performance data in combination with the second test result and the performance data.
  • the process of calculating the communication quality of the second network is similar to the process of calculating the communication quality of the first network, and will not be repeated here.
  • steps S404 to S407 are an implementation method for respectively obtaining the network communication quality from the short-distance wireless communication network and the mobile network to the access node.
  • the quality of the network communication is also applicable to this application, without limitation.
  • S406 and S407 is not limited to that shown in FIG. 4 , and these two steps can be interchanged or executed simultaneously in practical applications.
  • the first network communication quality satisfaction condition is the best first network communication quality
  • the second network communication quality satisfaction condition is the second network communication quality is the best example, but the network communication quality satisfaction condition is Other situations are also applicable to this embodiment.
  • the first access node can be configured as an access node that accesses the network acceleration channel via the mobile network, that is, configuring the first access node
  • the access node bound to the short-range wireless communication network is used to configure the first network transmission path from the mobile network to the first access node for the application program.
  • the second access node may be configured as an access node that accesses the network acceleration channel via the mobile network, so as to configure the second network transmission path to the second access node via the mobile network for the application program.
  • the present application will acquire the network communication quality from the short-range wireless communication network and the mobile network to the access node.
  • the access node with the best network communication quality between the access node list and the local network will be selected Configure the local network as the access node of the network acceleration channel, so that each local network can be connected to the network acceleration channel through the configured optimal access node, so that the optimal application acceleration effect can be obtained and the application program can be reduced.
  • Abnormal situations such as freezing or even disconnection during program operation.
  • the intercepted data packet may be transmitted to the target access node in the target network transmission path via the target network transmission path.
  • the target access node can transmit the data packet to the program server through the network acceleration channel connected to it.
  • the egress node in each network acceleration channel in this application is connected to a fixed pair of external transit nodes.
  • the target access node can transmit the data packet to the program server through the network acceleration channel it accesses and through the external transit node.
  • FIG. 5 shows a schematic diagram of process interaction of an application acceleration method of the present application.
  • the method of this embodiment may include:
  • the acceleration client acquires the data matching rules corresponding to the application program to be accelerated from the acceleration server.
  • the data matching rules include: domain name matching rules and IP matching rules.
  • the domain name matching rule is a rule constructed using a regular expression, for example, the regular expression of the domain name matching rule may be: .* ⁇ .aa ⁇ .cn.
  • the data matching rule corresponding to the application program defines the characteristics of the IP address or domain name corresponding to the data packet in the application program that needs to be accelerated.
  • the data packet is a data packet using Hyper Text Transfer Protocol (Hyper Text Transfer Protocol, HTTP) or Hyper Text Transfer Security Protocol (Hyper Text Transfer Protocol over Secure Socket Layer, HTTPS)
  • HTTP Hyper Text Transfer Protocol
  • HTTPS Hyper Text Transfer Protocol over Secure Socket Layer
  • the IP matching rule includes an IP address segment composed of a reference IP and a subnet mask group.
  • the reference IP is a defined IP address, which can be set as required.
  • the IP matching rule can be: 1.2.3.0, mask: 255.255.255.0.
  • the reference IP is 1.2.3.0
  • the subnet mask is 255.255.255.0
  • the IP address segment determined by the reference IP and the subnet mask is the IP address segment from IP: 1.2.3.0 to IP: 1.2.3.225.
  • the IP matching rule is used to match the data packet using the IP protocol.
  • the acceleration client determines the application to be accelerated, or starts the application, it can acquire the data matching rules corresponding to the application.
  • the application may acquire the application after determining the application to be accelerated The corresponding data matches the rule, and after the first network transmission path and the second network transmission path are configured for the application program, the application program is started.
  • the specific manner of determining the application program to be accelerated may be as shown in S401 above.
  • the data matching rules of the application program are obtained, wherein the sequence of obtaining the data matching rules of the application program and obtaining the access node list may not be limited, for example, the While accessing the node list, perform the operation of obtaining the data matching rules of the application.
  • the acceleration client obtains the data matching rules of the application program from the acceleration server as an example. If the data matching rules corresponding to the application program have been pre-stored in the acceleration client, the acceleration client can Obtain the data matching rules directly from the local.
  • the acceleration client may store the data matching rules of the application program, then the acceleration client can directly access the Obtain the data matching rule locally.
  • the acceleration client intercepts a data packet matching the data matching rule corresponding to the application program, and obtains a data packet sent by the application program to the program server.
  • the application runs in the mobile terminal where the acceleration client is located.
  • the data packet matching the data matching rule is: a data packet containing a domain name matching the regular expression, or a data packet containing an IP address belonging to the IP address segment.
  • the acceleration client will start the application, such as the acceleration client sends a request to the operating system to start the application, and starts the application through the operating system program.
  • the specific manner of accelerating the client to intercept the data packet may have multiple implementation possibilities.
  • the acceleration client can create a virtual network card in the mobile terminal.
  • the network data packets that the mobile terminal needs to send out will be sent to the virtual network card first, so that the virtual network card can pass through the virtual network card. Intercept the network data packets to be sent out by the mobile terminal.
  • the mobile terminal analyzes the protocol adopted by the intercepted network data packet, and if the protocol adopted by the data packet is the IP protocol, then detects whether the IP address in the network data packet belongs to the IP address segment defined in the IP matching rule. If the network data packet belongs to the IP address segment, it is determined that the network data packet is a data packet sent by the application program to the program server, and the data packet belongs to a data packet requiring accelerated transmission.
  • the protocol adopted by parsing out the network data packet is HTTP or HTTPS protocol, then detect whether the network data packet matches the regular expression in the domain name matching rule; if it matches, then determine that the network data packet is sent to the program server by the application , and the data packet belongs to the data packet that needs to be accelerated for transmission.
  • the IP address segment determined by the IP matching rule is the IP address segment from IP: 1.2.3.0 to IP: 1.2.3.225 , assuming that the intercepted network data packet is a data packet using the IP protocol, and the IP in the network data packet is: 1.2.3.4, since IP: 1.2.3.4 belongs to this IP address segment, it can be confirmed that the intercepted application program sends outgoing packets.
  • the regular expression of the domain name matching rule can be: .* ⁇ .aa ⁇ .com
  • the intercepted network data packet is a data packet using HTTP/HTTPS
  • the domain name in the network data packet is: WWW.aa.com
  • the domain name matches the regular expression, so it can be confirmed that the data packets sent out by the application are intercepted.
  • the acceleration client may not process the network data packet.
  • the acceleration client acquires the network communication quality of the first network transmission path and the second network transmission path configured by the application program.
  • the first network transmission path is the communication path from the short-distance wireless communication network accessed by the mobile terminal to the first access node;
  • the second network transmission path is the communication path from the mobile network accessed by the mobile terminal to the second access node communication path.
  • the network acceleration channels accessed by the first access node and the second access node are different, and the network acceleration channels accessed by the first access node and the second access node respectively pass through the same external transfer node and program server communication.
  • the acceleration client determines a target network transmission path with the best network communication quality among the first network transmission path and the second network transmission path.
  • the acceleration client after the acceleration client determines the application to be accelerated, it can test the network communication quality of the first network transmission path and the second network transmission path configured for the application when the network test conditions are met. On this basis, if the acceleration client confirms that it is in the acceleration state (for example, after determining the application program to be accelerated, if it does not receive an instruction to end the acceleration, the acceleration client is in the acceleration state), then the acceleration client can continuously Monitoring monitors the network communication quality of the two network transmission paths, so that after the acceleration client intercepts the data packet, it directly obtains the target network transmission path with the best network communication quality tested recently.
  • testing the network communication quality of the network transmission path may be similar to the process of testing the network communication quality from the mobile terminal or the short-range wireless communication network to the access node in the previous embodiment in FIG. 4 .
  • the purpose of obtaining the network communication quality is essentially to obtain the network conditions of the mobile network and the short-range wireless communication network, so , the network communication quality tested in this embodiment may not include the performance data of the access nodes on the network transmission path.
  • the test of the network communication quality of the first network transmission path configured for the application can be: Accelerate the short-range wireless communication accessed by the client through the mobile terminal
  • the network performs network speed measurement on the access node to obtain a first value of at least one network speed evaluation parameter; and sends the first value of at least one network speed evaluation parameter to the acceleration server.
  • the network communication quality score of the first network transmission path returned by the acceleration server may be received.
  • the network communication quality score of the first network transmission path is a score calculated according to the weights of different network speed evaluation parameters and in combination with the first value of the at least one network speed evaluation parameter.
  • network speed evaluation parameters can include packet loss, delay, and jitter.
  • testing the network communication quality of the second network transmission path may be: accelerating the client to perform network speed measurement on the access node through the mobile network accessed by the mobile terminal, to obtain the second value of at least one network speed evaluation parameter;
  • the second value of at least one network speed evaluation parameter is sent to the acceleration server.
  • the network communication quality score of the second network transmission path returned by the acceleration server may be received.
  • the network communication quality score of the second network transmission path is calculated based on the weights of different network speed evaluation parameters and in combination with the second value of at least one network speed evaluation parameter.
  • the acceleration client transmits the data packet to the target access node in the target network transmission path via the target network transmission path.
  • the access node in the transmission path of the target network is referred to as the target access node.
  • the target access node is the first access node; if the target network transmission path is the second network transmission path, then the target access node is the second access node .
  • the target access node transmits the data packet to the target egress node corresponding to the configured network acceleration channel.
  • the target egress node transmits the data packet to the external transit node.
  • the external transit node transmits the data packet to the program server.
  • this application on the basis that the acceleration client configures optimal access nodes suitable for short-range wireless communication networks and mobile networks for the application programs, this application will also obtain the short-range wireless communication network and the network communication quality of the corresponding network transmission channels of the mobile network to determine the local network with better current communication quality of the mobile terminal, and transmit the application to the network acceleration channel configured on the local network based on the local network with better communication quality at the mobile terminal side
  • the data packets of the program so that not only can use a relatively high-quality network acceleration channel to reduce the freeze and drop caused by the continuous switching of the operator network, but also take into account the impact of the fluctuation of the local network of the mobile terminal on the data transmission and communication of the application program , which in turn can reliably improve the stability of the running of the application, and can reduce the situation of application freezing and disconnection.
  • the application program is a game application and the acceleration client may be a game acceleration client is used as an example for illustration.
  • the access nodes in the two network transmission paths configured by the game are different as an example.
  • the short-range wireless communication network accessed by the mobile terminal is taken as an example of a WiFi network.
  • FIG. 6 shows a schematic structural diagram of an application scenario to which the solution of the present application is applied.
  • a game acceleration client is installed and running on the mobile terminal 610 , and the game application can be started and run on the mobile terminal through the game acceleration client.
  • the game acceleration client configures the first access node 620 applicable to the WiFi network and the second access node 621 applicable to the mobile network for the game.
  • the first access node 620 is configured with a first egress node 622, and a first network acceleration channel is formed between the first access node and the first egress node, such as network acceleration channel 1 in FIG. 6 .
  • the second access node 621 is configured with a second egress node 623, and a second network acceleration channel is formed between the second access node and the second egress node, such as network acceleration channel 2 in FIG. 6 .
  • Both the first egress node and the second egress node are connected to the external transit node 624 through the network.
  • the external transfer node 624 may be connected to the game server 630 corresponding to the game application running on the mobile terminal through the network.
  • the mobile terminal can be connected to the game acceleration server 625 through the game acceleration client.
  • the game acceleration server may store data matching rules corresponding to different game applications; the game acceleration server may also store: correspondences between different geographic locations, games and access nodes.
  • FIG. 7 shows a schematic diagram of process interaction of an application acceleration method of the present application in an application scenario.
  • the method of this embodiment may include:
  • the game acceleration client receives the game application selected by the user in the game acceleration selection interface, and determines the game application as the game application to be accelerated.
  • FIG 8 shows a schematic diagram of the game acceleration selection interface presented in the game acceleration client in the present application.
  • the game acceleration selection interface 801 displays the names (or icons) of multiple game applications that can be selected for acceleration in the mobile terminal, and each game name corresponds to an "acceleration" button 802 . If the user clicks the "speed up" button 802 corresponding to a certain game application, the game acceleration client side confirms that the game application is the game application to be accelerated.
  • the game acceleration client acquires the data matching rules of the game application from the game acceleration server.
  • the data matching rules include: domain name matching rules and IP matching rules.
  • the domain name matching rule is a rule constructed by using a regular expression, and the IP matching rule includes an IP address segment composed of a reference IP and a subnet mask group.
  • the game acceleration client requests a list of access nodes applicable to the game application from the game acceleration server.
  • the access node list includes at least one access node.
  • the game acceleration client sends a node list request to the game acceleration server, and the node list request may carry identification information such as the IP address of the game acceleration client and the name of the game application.
  • the game acceleration server can determine at least one access node suitable for the game application according to the geographic location area corresponding to the IP address and the name of the game application, and return the at least one access node containing the at least one access node to the game acceleration client. access node list.
  • the game acceleration client determines the game application to be accelerated, the game acceleration client enters the game acceleration preparation phase.
  • the game acceleration client will obtain the access node list and the data matching rules corresponding to the game, and at the same time, it will also perform related operations for configuring the optimal access node for the WiFi accessed by the mobile terminal and the mobile terminal.
  • FIG. 9 shows a schematic interface of the game acceleration client in the game acceleration preparation stage.
  • the game acceleration client After the game acceleration client confirms the game application to be accelerated, the game acceleration client will switch from the game acceleration selection interface 801 to the acceleration preparation interface 901 in FIG. 9 .
  • the progress of the game acceleration client to complete the game acceleration preparation can be displayed on the acceleration preparation interface, such as "40%" as shown in FIG. 9 .
  • the game acceleration client separately tests the network communication quality from the accessed WiFi network to each access node in the access node list, and configures the first access node with the best network communication quality with the WiFi network for the WiFi network.
  • the first access node belongs to the access nodes in the access node list.
  • the game acceleration client separately tests the network communication quality from the accessed mobile network to each access node in the access node list, and configures a second access with the best network communication quality with the mobile network for the mobile network node.
  • the second access node belongs to the access nodes in the access node list.
  • the game acceleration client starts the game application in the mobile terminal.
  • the game acceleration client may receive the start instruction of the game application, and start the game application in response to the start instruction.
  • the game acceleration client After the game acceleration client completes the game acceleration preparation operations corresponding to the above S702 to S706, the game acceleration client will switch from the acceleration preparation interface 901 in FIG. 9 to the acceleration details interface 1001 shown in FIG. 10 .
  • the acceleration details interface in Figure 10 shows some acceleration effects achieved in the acceleration preparation phase. Simultaneously, the "stop” option 1002 for instructing to end the acceleration of the game and the "start game” option 1003 for instructing to start the game application are displayed in the acceleration details interface. If the user clicks on the "start game” option, the game acceleration client will start the game application.
  • the game acceleration client creates a virtual network card on the mobile terminal, and intercepts the data packets sent out by the mobile terminal through the virtual network card.
  • the game acceleration client if the game acceleration client does not receive an instruction to stop the acceleration, the game acceleration client is in the acceleration mode until the end of the game running, or until the "stop" option is detected as shown in Figure 10 being touched.
  • this S708 may be the same as the operation of determining the network communication quality in the previous steps, but the purpose is different.
  • the purpose of testing the network communication quality at S708 is to determine which communication quality is better between the WiFi network and the mobile network.
  • the game acceleration client detects whether the domain name in the data packet matches the regular expression in the domain name matching rule, and if so, confirms that the data packet is the game Apply the game data packet sent by the application, execute S711; if not, do not process the data packet.
  • the game acceleration client detects whether the IP address in the game packet belongs to the IP address segment determined by referring to the domain name and the subnet mask in the IP matching rule, and if so, confirms The data packet is a game data packet sent by the game application, and S711 is executed; if not, the data packet is not processed.
  • the game acceleration client determines the target with the best network communication quality in the accessed mobile network and the WiFi network. local network. S712, the game acceleration client sends the game data packet to the target access node configured in the target local network via the target local network.
  • the target local network is a WiFi network
  • the target access node transmits the game data packet to the external transfer node through the network acceleration channel configured by the target access node, so that the external transfer node transmits the game data packet to the game server.
  • FIG. 7 is illustrated by taking the application program as a game application as an example, but it can be understood that the embodiment in FIG. 7 is also applicable when the application program is another application program.
  • the implementation principle is similar to that in FIG. 7 , and will not be repeated here.
  • the data matching rule corresponding to the application only includes the domain name feature or IP feature of the data packet to be accelerated as an example.
  • the data matching rules may also include the first domain name matching rule and the first IP matching rule corresponding to the data packets that need to be accelerated in the game, and the first domain name matching rule corresponding to the data packets that do not need to be accelerated in the game.
  • the second domain name matching rule and the second IP matching rule are examples of the data matching rules.
  • the first domain name matching rule is different from the second domain name matching rule
  • the first IP matching rule is different from the second IP matching rule.
  • the first domain name matching rule and the second domain name matching rule can be used to match regular expressions of different domain names respectively; while the first IP matching rule and the second IP matching rule can be one of the reference IP and subnet mask Or two different.
  • the target network transmission path is determined according to any one of the above embodiments of the present application, and the local network corresponding to the target network transmission path The network transmits the data packet to the access node of the target network transmission path, so that the access node can transmit the data packet to the program server through the network acceleration channel accessed by the access node.
  • the data packet may be directly sent to the program server through the application program.
  • the first domain name matching rule is the first regular expression: .* ⁇ .aa ⁇ .com, and the strategy corresponding to the first domain name matching rule is accelerated transmission.
  • the second domain name matching rule is the second regular expression: .* ⁇ aa ⁇ .co.*, and the strategy corresponding to the second domain name matching rule is direct transmission.
  • the data packet needs to be transmitted to the program server through the network accelerated transmission channel according to the methods in the above embodiments of the present application.
  • the domain name in the data packet matches the second regular expression of the second domain name matching rule, it means that the data packet belongs to the data packet sent by the application program to the program server, but the data packet belongs to the data packet that does not need accelerated transmission .
  • the data packet can be directly sent to the program server through the application program without passing through the network acceleration transmission channel to transmit the data packet.
  • the present application also provides an application program acceleration device, wherein the involved mobile terminal is connected to a short-distance wireless communication network and a mobile network.
  • FIG. 11 shows a schematic diagram of the composition and structure of an application acceleration device provided by the present application, and the device includes:
  • a packet acquisition unit 1101 configured to acquire a data packet sent by an application program to the program server, the application program running in the mobile terminal;
  • the first quality acquisition unit 1102 is configured to determine the network communication quality of the first network transmission path and the second network transmission path configured for the application program, the first network transmission path is through the short-distance wireless communication network to the set access The communication path of the node, the second network transmission path is the communication path to the set access node via the mobile network, the set access node is an access node configured for the application program to access the network acceleration channel ;
  • a path determining unit 1103, configured to determine the one with the best network communication quality as the target network transmission path from the first network transmission path and the second network transmission path;
  • the packet transmission unit 1104 is configured to transmit the data packet to the set access node via the target network transmission path, so that the set access node transmits the data packet to the program server through the accessed network acceleration channel.
  • the device also includes:
  • a quality testing unit configured to test the network communication quality of the first network transmission path and the second network transmission path when the network test conditions are met;
  • the first quality acquiring unit is specifically configured to acquire the network communication quality of the first network transmission path and the second network transmission path obtained in the latest test.
  • the quality testing unit includes:
  • the first speed measuring unit is used to measure the network speed of the access node through the short-range wireless communication network, and obtain the first value of at least one network speed evaluation parameter;
  • a first parameter sending unit configured to send the first value of the at least one network speed evaluation parameter to the acceleration server
  • the first score receiving unit is configured to receive the network communication quality score of the first network transmission path returned by the acceleration server, where the network communication quality score of the first network transmission path is a weight based on different network speed evaluation parameters, And combined with the first value of the at least one network speed evaluation parameter, the calculated score;
  • the second speed measurement unit is configured to perform network speed measurement on the access node through the mobile network to obtain a second value of at least one network speed evaluation parameter
  • a second parameter sending unit configured to send the second value of the at least one network speed evaluation parameter to the acceleration server
  • the second score receiving unit is used to receive the network communication quality score of the second network transmission path returned by the acceleration server, the network communication quality score of the second network transmission path is the weight according to different network speed evaluation parameters, combined with The score calculated from the second value of the at least one network speed evaluation parameter.
  • the set access node includes a first access node and a second access node, and the first network transmission path is through the short-range wireless communication network to the first access node The communication path of the node;
  • the second network transmission path is a communication path via the mobile network to a second access node
  • the network acceleration channels accessed by the first access node and the second access node are different, and the network acceleration channels accessed by the first access node and the second access node respectively pass through the same external transit node and the program Server communication.
  • the first access node is an access node whose network communication quality with the short-distance wireless communication network meets the conditions among multiple access nodes, and the multiple access nodes use To increase the data transfer rate for said application;
  • the second access node is an access node whose network communication quality with the mobile network meets a condition among the plurality of access nodes.
  • the device also includes:
  • An application program determination unit configured to receive a program selection instruction input in a program selection interface, the program selection interface displays information of at least one candidate application program that can be selected, and the program selection instruction is used to indicate the at least one candidate application program in the application;
  • a list acquiring unit configured to acquire a list of access nodes available for the mobile terminal to run the application, the access node list including a plurality of access nodes for increasing the data transmission rate of the application;
  • the second quality acquisition unit is configured to respectively acquire the network communication quality of the access node via the short-range wireless communication network and the mobile network for the plurality of nodes;
  • the first node configuration unit is configured to select a first access node whose network communication quality with the short-distance wireless communication network meets the conditions among the plurality of nodes, and configure the first access node to connect via the short-distance wireless communication network
  • the second node configuration unit is configured to select a second access node whose network communication quality with the mobile network meets the conditions among the plurality of nodes, and configure the second access node to access the network acceleration channel via the mobile network access node.
  • the second quality acquisition unit includes:
  • the first test unit is configured to perform a network quality test on the access node via the short-range wireless communication network to obtain a first test result
  • the second test unit is configured to perform a network quality test on the access node via the mobile network to obtain a second test result
  • a first quality determination unit based on the first test result and the performance data of the access node, determines a first network communication quality to the access node via the short-range wireless communication network;
  • the second quality determination unit is configured to determine the communication quality of the second network to the access node via the mobile network based on the second test result and performance data.
  • the device also includes:
  • the rule acquisition unit is used to obtain the corresponding data matching rules to be accelerated before intercepting the data packets sent to the server.
  • the data matching rules include: domain name matching rules and IP matching rules.
  • the domain name matching rules use regular expressions
  • the rule constructed, the IP matching rule includes an IP address segment composed of a reference IP and a subnet mask group;
  • the packet acquisition unit is specifically configured to determine the data packet matching the data matching rule as the data packet to be sent to the server, wherein the data packet matching the data matching rule is: the domain name contained and the regular The data packets matching the expression, or the data packets containing the IP address belonging to the IP address segment.
  • the mobile terminal may include:
  • Memory 1201 used to store programs
  • the processor 1202 is configured to call and execute a program stored in the memory, and the program is specifically used to execute the application program acceleration method provided in any one of the foregoing embodiments.
  • the processor 1202 may be a central processing unit CPU, or an ASIC (Application Specific Integrated Circuit).
  • the mobile terminal may further include a communication interface 1203 and a communication bus 1204 , wherein the memory 1201 , the processor 1202 and the communication interface 1203 complete mutual communication through the communication bus 1204 .
  • the embodiment of the present application also provides a readable storage medium, on which a computer program is stored, and the computer program is loaded and executed by a processor, so as to implement the steps of the above-mentioned application program acceleration method, and the specific implementation process can refer to the above-mentioned embodiment The description of the corresponding parts will not be repeated in this embodiment.
  • the present application also proposes a computer program product or computer program, the computer program product or computer program comprising computer instructions stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned various optional implementations of the application acceleration method or the application acceleration device.
  • the method is provided, and for a specific implementation process, reference may be made to the description of the corresponding embodiments above, and details are not repeated here.
  • each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments.
  • the features recorded in the various embodiments in this specification can be replaced or combined with each other, so that those skilled in the art can realize or use the present application.
  • the description is relatively simple, and for the related information, please refer to the description of the method part.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供一种应用程序加速方法、装置、设备及存储介质,移动终端为应用程序配置有两种网络传输路径,分别为经近距离无线通信网络以及经移动网络到设定接入节点的网络传输路径。在获取应用程序向程序服务器发送的数据包之后,会确定这两种网络传输路径中网络通信质量最优的网络传输路径作为传输数据包的目标网络传输路径,由于网络传输路径的网络通信质量反映的是移动终端的本地网络的网络状况,而基于移动终端本地网络的网络状况的好坏,合理选择传输数据包所采用的本地通信网络及接入节点,可以减少由于移动终端本地网络不稳定而导致应用程序与程序服务器之间数据交互延迟,甚至中断等情况,提高了移动终端运行应用程序的稳定性。

Description

应用程序加速方法、装置、设备及存储介质
本申请要求于2021年06月08日提交中国专利局、申请号为202110639432.7、申请名称为“应用程序加速方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及网络通信技术领域,更具体地说,涉及应用程序加速。
背景技术
着网络技术的不断发展,基于互联网的应用程序的种类日益增多。
在移动终端启动应用程序之后,应用程序与程序服务器之间存在数据交互。如果移动终端连接的通信网络不稳定(如,网速差或者断网等),则会使得应用程序与程序服务器之间的数据交互延迟,甚至导致应用程序掉线等异常情况。如,以网络游戏(也称为网游)为例,在移动终端上运行网游的过程中,如果移动终端连接的通信网络不稳定,将会出现游戏卡顿甚至掉线的情况。然而,移动终端存在网络波动的情况较为普遍,因此,如何降低网络波动对移动终端上运行的应用程序的影响,提高移动终端侧应用程序运行的稳定性是需要解决的技术问题。
发明内容
有鉴于此,为解决上述问题,本申请提供一种应用程序加速方法、装置、设备及存储介质,以减少由于移动终端的网络波动而导致应用程序运行异常的情况,提升移动终端侧运行应用程序的稳定性。
为了实现以上目的,一方面,本申请实施例提供了一种应用程序加速方法,所述方法包括:
获取应用程序向程序服务器发送的数据包,所述应用程序运行于移动终端中,所述移动终端接入了近距离无线通信网络和移动网络;
确定为所述应用程序配置的第一网络传输路径和第二网络传输路径的网络通信质量,所述第一网络传输路径为经所述近距离无线通信网络到设定接入节点的通信路径,所述第二网络传输路径为经所述移动网络到所述设定接入节点的通信路径,所述设定接入节点是为所述应用程序配置的、用于接入网络加速通道的接入节点;
从所述第一网络传输路径和第二网络传输路径中将网络通信质量最优的确定为目标网络传输路径;
经所述目标网络传输路径向所述设定接入节点传输所述数据包,以使得所述设定接入节点通过所述接入的网络加速通道向所述程序服务器传输所述数据包。
又一方面,本申请实施例还提供了一种应用程序加速装置,所述装置包括:
获取单元,用于获取应用程序向程序服务器发送的数据包,所述应用程序运行于移动终端中,所述移动终端接入了近距离无线通信网络和移动网络;
第一质量获取单元,用于确定为所述应用程序配置的第一网络传输路径和第二网络传输路径的网络通信质量,所述第一网络传输路径为经所述近距离无线通信网络到设定接入节点的通信路径,所述第二网络传输路径为经所述移动网络到所述设定接入节点的通信路 径,所述设定接入节点是为所述应用程序配置的、用于接入网络加速通道的接入节点;
路径确定单元,用于从所述第一网络传输路径和第二网络传输路径中将网络通信质量最优的确定为目标网络传输路径;
包传输单元,用于经所述目标网络传输路径向所述设定接入节点传输所述数据包,以使得所述设定接入节点通过接入的网络加速通道向所述程序服务器传输所述数据包。
又一方面,本申请还提供了一种计算机设备,包括:处理器以及存储器,所述处理器以及存储器通过通信总线相连;
其中,所述处理器,用于调用并执行所述存储器中存储的程序;
所述存储器,用于存储程序,所述程序用于实现以上方面的应用程序加速方法。
又一方面,本申请还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器加载并执行,实现以上方面的应用程序加速方法。
又一方面,本申请实施例提供了一种包括指令的计算机程序产品,当其在计算机上运行时,使得所述计算机执行以上方面的应用程序加速方法。
由以上内容可知,配置有应用程序的移动终端接入了近距离无线通信网络和移动网络,为该应用程序设置了经近距离无线通信网络到设定接入节点的第一网络传输路径,以及经移动网络到该设定接入节点的第二网络传输路径。在获取应用程序向程序服务器发送的数据包之后,会从这两种网络传输路径中将网络通信质量最优的确定为目标网络传输路径,由目标网络传输路径向程序服务器传输数据包。由于网络传输路径为移动终端本地接入的通信网络到网络加速通道的接入节点的网络通道,因此,网络传输路径的网络通信质量反映的是移动终端的本地网络的网络状况,而基于移动终端本地网络的网络状况的好坏,合理选择传输数据包所采用的本地通信网络及接入节点,可以减少由于移动终端本地网络不稳定而导致应用程序与程序服务器之间数据交互延迟,甚至中断等情况,也就减少了应用程序出现运行异常的情况,提高了移动终端运行应用程序的稳定性。
附图说明
图1为本申请实施例的方案所适用的应用程序加速系统的一种组成架构示意图;
图2示出了本申请实施例提供的应用程序加速方法的一种流程示意图;
图3示出了本申请实施例中移动终端本地接入的不同通信网络配置有不同的网络加速通道的一种示意图;
图4示出了本申请实施例提供的配置应用程序的网络传输路径及网络加速通道的一种流程示意图;
图5示出了本申请实施例提供的应用程序加速方法的一种流程交互示意图;
图6示出了本申请实施例的方案所适用的一种应用场景的组成架构示意图;
图7示出了本申请提供的应用程序加速方法在一种应用场景中的流程交互示意图;
图8示出了本申请实施例提供的游戏加速客户端输出的游戏加速选择界面的一种示意图;
图9示出了游戏加速客户端输出的加速准备界面的一种示意图;
图10示出了游戏加速客户端输出的加速详情界面的一种示意图;
图11示出了本申请实施例提供的应用程序加速装置的一种组成结构示意图;
图12为本申请实施例提供的移动终端的一种组成结构示意图。
具体实施方式
本申请的方案可以应用于移动终端,以减少移动终端的网络波动而导致应用程序出现卡顿以及掉线等运行不稳定性的情况。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
为了便于理解,先对本申请的方案所适用的应用程序加速系统进行介绍。
如图1所示,其示出了本申请提供的应用程序加速系统的一种组成架构示意图。
由图1可以看出,该应用程序加速系统包括:运行有加速程序的移动终端110。该加速程序以加速客户端的形式被配置在该移动终端上。
其中,加速程序用于提升移动终端上运行的应用程序与程序服务器之间的数据传输效率。
该应用程序加速系统还可以包括:加速客户端对应的加速服务器120,以及用于提升游戏的数据传输速率的多个接入节点121(图1中作为示例,示意出一个接入节点)。
其中,每个接入节点121为应用程序加速系统中设置的,用于接入网络加速通道的节点服务器。每个接入节点121配置有一个网络加速通道,该网络加速通道由接入节点121以及与该接入节点唯一对应的出口节点122构成。
出口节点122同样为一个节点服务器,同一网络加速通道对应的接入节点和出口节点接入属于同一运营商的通信网络,因此,从同一网络加速通道的接入节点向出口节点传输数据不涉及到切换不同运营商的通信网络,从而可以提升数据传输速率。
在本申请中,该移动终端上还可以运行应用程序,该应用程序可以为基于互联网的程序。如,该应用程序可以为任意需要基于互联网与程序服务器交互的应用程序。相应的,该移动终端可以基于运行的应用程序与程序服务器130进行数据交互。
例如,该应用程序可以为基于互联网的游戏应用或者网页游戏等网络游戏,在此基础上,网络游戏可以通过互联网与游戏服务器实现游戏相关数据的交互。
在本申请中,移动终端在连接移动网络(也称为蜂窝网络)的同时,还可以连接近距离无线通信网络,如,WiFi(Wireless Fidelity,无线保真)网络等近距离无线通信网络。
在此基础上,为了提升应用程序与程序服务器之间的数据交互速度,并减少网络波动而导致的应用程序运行不稳定,本申请中,加速客户端在确定出需要加速的应用程序之后,会为该应用程序配置至少一个接入节点(为了便于区分,为应用程序配置的接入节点也称为设定接入节点)。由于接入节点连接的是网络加速通道,因此,通过配置至少一个接入节点实际上是为移动终端中该应用程序配置了至少一条网络加速通道。
在此基础上,加速客户端可以配置第一网络传输路径和第二网络传输路径,其中,第一网络传输路径经移动终端本地接入的近距离无线通信网络到网络加速通道的该接入节点, 第二网络传输路径经移动终端本地接入的移动网络到网络加速通道的该接入节点的第二网络传输路径。
其中,第一网络传输路径中的接入节点与第二网络传输路径上的接入节点可以相同也可以不同,因此,经过第一网络传输路径和第二网络传输路径上的接入节点所接入的网络加速通道可以是同一条,也可以是不同条。
需要说明的是,以上是以应用程序加速系统的一种组成架构为例说明,在实际应用中应用程序加速系统还可以有其他可能,本申请对此不加限制。
下面结合流程图对本申请一种应用程序加速方法进行介绍。
首先从移动终端侧对本申请的应用程序加速方法进行介绍。如图2所示,其示出了本申请一种应用程序加速方法一个实施例的流程示意图,本实施例的方法可以应用于配置了加速客户端的移动终端,该移动终端接入了近距离无线通信网络和移动网络。本实施例的方法可以包括:
S201,获取应用程序向程序服务器发送的数据包。
该应用程序为需要通过加速客户端提升数据传输速率的应用程序。如前面所述,该应用程序运行于加速客户端所在的移动终端中。
在一种可能的情况中,加速客户端可以获取该应用程序的数据匹配规则,该数据匹配规则用于匹配出属于该应用程序向程序服务器发送的数据包。
如,加速客户端可以从加速服务器获取适用于该应用程序的数据匹配规则。
又如,如果加速客户端本地保存有该应用程序对应的数据匹配规则。例如,加速客户端历史上已经执行过对该应用程序的加速操作,因此,则加速客户端会在移动终端保存了该应用程序的数据匹配规则,在此基础上,则可以调取本地保存的该应用程序对应的数据匹配规则。
由于该应用程序向程序服务器发送的数据包所涉及到的域名以及IP较为固定,因此,该数据匹配规则可以为该应用程序向程序服务器发送的数据包所可能涉及到的域名以及IP地址的匹配特征。在此基础上,本申请可以基于该数据匹配规则,截获包含的域名或者IP地址符合该数据匹配特征的数据包,从而得到该应用程序向程序服务器发送的数据包。
在一种可选方式中,为了简化数据匹配规则,降低匹配数据包的复杂度,本申请中数据匹配规则可以包括:域名匹配规则和IP匹配规则。其中,域名匹配规则为采用正则表达式构建出的规则,该IP匹配规则包括由参考IP与子网掩码组构成的IP地址段。
相应的,匹配数据匹配规则的数据包为:包含的域名与该正则表达式匹配的数据包,或者,包含的IP地址属于该IP地址段的数据包。
可以理解的是,相对配置多个域名而言,采用正则表达式构建的域名匹配规则可以降低配置数据匹配规则的复杂度,且将数据包中的域名与正则表达式进行匹配的复杂度较低,也较为高效,避免了将数据包中包含的域名逐个与配置的多个域名进行比对所导致的复杂度。
类似的,基于IP匹配规则中参考IP与子网掩码所覆盖的IP地址段,可以直观判断出数据包中的IP地址是否属于该IP地址段,有利于更为高效地确定数据包是否为需要拦截的数据 包,即数据包是否属于该应用程序发送的数据包。
S202,确定为该应用程序配置的第一网络传输路径和第二网络传输路径的网络通信质量。
其中,该第一网络传输路径为经近距离无线通信网络到设定接入节点的通信路径。第二网络传输路径为经移动网络到设定接入节点的通信路径。设定接入节点为加速客户端针对该应用程序配置的、用于接入网络加速通道的接入节点。
其中,该第一网络传输路径和第二网络传输路径是在获取应用程序发出的数据包之前预先配置好的,如,在加速客户端确定出需要加速的应用程序之后,或者是,启动该应用程序时,可以为该应用程序配置该第一网络传输路径和第二网络传输路径。
在实际应用中,可以通过配置移动终端接入的近距离无线通道网络对应的接入节点的信息,来实现配置该第一网络传输路径。类似的,通过配置移动终端接入的移动网络对应的接口节点的信息,来实现配置该第二网络传输路径。
例如,加速客户端在确定出需要加速的应用程序之后,可以从应用程序加速系统部署的多个接入节点中,为应用程序选择至少一个接入节点作为该应用程序对应的设定接入节点。
其中,网络传输路径的网络通信质量用于表征该网络传输路径对应的近距离无线通信网络或者移动网络到设定接入节点之间的网络状况。在设定接入节点连接的网络加速通道固定的前提下,测量网络传输路径的网络通信质量的目的是为了测量移动终端本地接入的近距离无线通信网络或者移动网络的网络状况,即移动终端本地网络的网络状况。
其中,该网络通信质量可以表征网络传输路径对应的网速、数据包延迟、丢包以及抖动等网络状况。
可以理解的是,确定网络传输路径的网络通信质量的时机可以是在截获到该应用程序发出的数据包之后,例如通过测试该网络传输路径的网络通信质量,得到该网络传输路径当前的网络通信质量。
但是,在获取到该数据包之后实时测试该网络传输路径的网络通信质量,必然需要耗费一定的时间,从而可能会导致数据包的传输延迟。基于此,在一种可选方式中,本申请中加速客户端可以在满足网络测试条件时,测试为应用程序配置的第一网络传输路径和第二网络传输路径的网络通信质量。
其中,该网络测试条件可以根据需要设定,如,可以设置网络质量测试周期,在按照该网络测试周期确定到达设定的网络测试时刻时,则确认满足网络测试条件。
通过设置网络测试条件可以在加速客户端启动应用程序之后,定期或者不定期的不断监控移动终端本地接入的近距离无线通信网络以及移动网络的网络质量,可以在获取到应用程序发出数据包时,及时确定出本地网络的网络状况。
相应的,在获取该数据包之后,可以获取最近一次测试出的第一网络传输路径和该第二网络传输路径的网络通信质量。
可以理解的是,网络通信质量的具体形式可以有多种可能。
如,在一个示例中,网络通信质量的具体表现形式可以为表征网络状况的网络质量评 分,该网络质量评分可以为表示网络通信质量的分值或者等级。在该种示例中,测试网络传输路径的网络通信质量可以包括:对网络传输路径进行网络质量测试,并根据网络质量测试结果确定网络质量评分。
其中,网络质量测试可以为通过测速等方式,获得能够表征网络通信质量的网速、数据包传输延迟、丢包以及网络信号抖动等参数的取值等,对此不加限制,后续会结合一具体实现为例说明,在此不再赘述。
其中,根据网络质量测试结果确定网络质量评分,可以是加速客户端根据网络质量测试结果,计算出网络质量评分;或者是,由加速客户端将网络质量测试结果发送给加速服务器,并获得加速服务器基于该网络质量测试结果计算出的网络质量评分。
在又一个示例中,网络通信质量也可以是网络质量测试出的,能够表征网络通信质量的至少一种网络状况参数的取值,如网速、数据包传输延迟、丢包以及网络信号抖动等参数的取值等。
S203,从第一网络传输路径和第二网络传输路径中将网络通信质量最优的确定为目标网络传输路径。
为了便于区分,将第一网络传输路径和第二网络传输路径中网络通信质量最优的网络传输路径称为目标网路传输路径。
如,在一个示例中,在网络通信质量为网络质量评分的情况下,可以将网络质量评分较高的网络传输路径确定为目标网络传输路径。
在又一个示例中,如网络通信质量为至少一个网络状况参数的取值时,可以按照各个网络状况参数的优先级以及网络状况参数的取值,来确定出网络通信质量最优的网络传输路径。
例如,由于断网会导致应用程序与程序服务器之间的连接断开,因此,可以优先查看能够表征网络是否断网的网络状况参数,并选择不存在断网的网络传输路径;如果两个网络传输路径都没有断网,则可以查看这两个网络传输路径各自对应的能够表征网速和稳定性的网络状况参数,以确定出网络通信质量最优的目标网络传输路径。
可以理解的是,通过选取最优的网络传输路径,使得数据包经该网络传输路径能够更稳定和高速的传输到网络加速通道,进而才能保证数据包通过网络加速通道被加速传输到程序服务器。
S204,经该目标网络传输路径向目标网络传输路径的接入节点传输该数据包,以使得该接入节点通过接入的网络加速通道向程序服务器传输该数据包。
可以理解的是,本申请,经过目标网络传输路径将数据包发送给设定接入节点的目的本质上是:需要经该设定接入节点对应的网络加速通道来高效传输该数据包。在此基础上,设定接入节点获得该数据包之后,会向自身对应的出口节点(即,该设定接入节点接入的网络加速通道中的出口节点)传输该数据包,从而使得该数据包经设定接入节点对应的网络加速通道向程序服务器传输。
为了提升应用程序与程序服务器之间的数据交互速度,可以通过加速客户端选择需要加速的应用程序。在为应用程序选择并配置一条专用的网络加速通道,且启动该应用程序 之后,加速客户端可以拦截应用程序向程序服务器发送的数据包,并通过该条网络加速通道向程序服务器发送该数据包,以通过网络加速通道来提升该数据包向服务器传输的传输速度。
经过该专用的网络加速通道传输数据包可以解决移动终端发出该数据包之后,由于频繁切换不同运营商的通信网络或者由于某个运营商的通信网络不稳定,而导致的数据包传输延误甚至传输异常的情况。
然而,移动终端本地接入的近距离无线通信网络以及移动网络(移动终端所属小区的移动网络)也可能会存在网络波动,在此基础上,如果移动终端传输该数据包所采用的通信网络存在断网等网络波动,同样会影响到应用程序与程序服务器之间数据交互的稳定性。
基于此,为了能够进一步减少由于移动终端本地网络的网络波动性对应用程序的影响,提升应用程序的稳定性,需要确定移动终端侧接入的近距离无线通信网络和移动网络的网络状况,并实现选取移动终端本地较为稳定的通信网络来向网络加速通道传输数据包。
而在为应用程序配置的接入节点固定的情况下,移动终端经近距离无线通信网络或者移动网络到接入节点的网络通信质量本质上反映的就是该近距离无线通信网络或者移动网络的网络状况。基于此,本申请可以基于该近距离无线通信网络或者移动网络的网络状况合理选择移动终端连接网络加速通道的通信网络。
由以上可知,配置有应用程序的移动终端接入了近距离无线通信网络和移动网络,为该应用程序设置了近距离无线通信网络到设定接入节点的第一网络传输路径,以及经移动网络到该设定接入节点的第二网络传输路径。在获取应用程序向程序服务器发送的数据包之后,会从两种网络传输路径中将网络通信质量最优的确定为目标网络传输路径,由目标网络传输路径向程序服务器传输数据包。由于网络传输路径为移动终端本地接入的通信网络到网络加速通道的接入节点的网络通道,因此,网络传输路径的网络通信质量反映的是移动终端的本地网络的网络状况,而基于移动终端本地网络的网络状况的好坏,合理选择传输数据包所采用的本地通信网络及接入节点,可以减少由于移动终端本地网络不稳定而导致应用程序与程序服务器之间数据交互延迟,甚至中断等异常情况,也就提高了移动终端运行应用程序的稳定性。
可以理解的是,在本申请中,第一网络传输路径和第二网络传输路径中的接入节点可以相同,也可以不同。
其中,在第一网络传输路径和第二网络传输路径的接入节点相同的情况下,相当于加速客户端针对该应用程序设置了一条专用的网络加速通道。
在实际应用中,本申请移动终端接入的近距离无线通信网络与移动网络所适用的网络加速通道可能会有所不同。
基于此,在一种可选方式中,为了提升应用程序与程序服务器之间的数据交互速度,并减少网络波动而导致的应用程序运行不稳定,第一网络传输路径和第二网络传输路径上的设定接入节点可以不同。具体的,设定接入节点包括第一接入节点和第二接入节点。加速客户端在确定出需要加速的应用程序之后,会为该应用程序配置分别适用于近距离无线通信网络的第一接入节点和适用于移动网络的第二接入节点。该第一接入节点和第二接入 节点配置的网络加速通道不同。
如,通过配置近距离无线通信网络与第一接入节点的对应关系,以配置由近距离无线通信网络到所述第一接入节点的第一网络传输路径。类似的,通过配置移动终端接入的移动网络与第二接入节点的对应关系,以配置由该移动网络到该第二接入节点的第二网络传输路径。
为了便于理解,可以参见图3,其示出了本申请中为移动终端本地接入的不同通信网络配置不同的网络加速通道的示意图。
在图3中以加速客户端所在的移动终端接入的近距离无线通信网络为WiFi网络为例说明。
由图3可以看出,加速客户端经WiFi网络连接的是接入节点a1,而接入节点a1与出口节点b1构成了一条网络加速通道1,使得加速客户端经WiFi网络与接入节点a1之间的网络传输路径可以连接到接入节点a1到出口节点b1构成的网络加速通道1。
而加速客户端经移动网络连接的是接入节点a2,而接入节点a2与出口节点b2之间构成了网络加速通道2,使得加速客户端经移动网络与接入节点a2之间的网络传输路径可以连接到网络加速通道2。
在以上基础上,本申请可以根据移动终端本地接入的近距离无线通信网络与移动网络的网络情况,来合理选择网络传输路径来接入网络加速通道,从而可以实现更为稳定的应用程序加速效果。
可以理解的是,为了避免切换不同网络加速通道而导致应用程序掉线(如应用程序与程序服务器之间的连接断开等),本申请的应用程序加速系统还可以针对不同网络加速通道设置统一的对外中转节点。在该种情况下,每个网络加速通道的出口节点均与同一对外中转节点相连,该对外中转节点用于连接应用程序的程序服务器。同时,由图3也可以看出:出口节点b1和出口节点b2均通过对外中转节点与程序服务器相连。
在此基础上,每个网络加速通道传输的数据均会经过该对外中转节点转发给程序服务器,且程序服务器会经该对外中转节点向各个网络加速通道返回数据。
其中,该对外中转节点可以为各个出口节点之外独立设置的一台节点服务器,也可以是复用多个出口节点中某个出口节点作为对外中转节点。通过复用某个出口节点作为对外中转节点,还可以减少该出口节点转发应用程序的数据的次数,也可以提升应用程序的数据传输速率。
由于直接与程序服务器连接的节点服务器始终为该对外中转节点,因此,无论加速客户端如何切换网络加速通道,程序服务器侧始终是通过同一个对外中转节点获得应用程序发出的数据,从而使得程序服务器不会感知到网络加速通道的切换,自然也不会由于切换网络加速通道而导致应用程序掉线。
相应的,程序服务器向应用程序返回的数据也会发送给该对外中转节点,并由该对外中转节点通过相应的网络加速通道传输给该应用程序所在的移动终端。
在本申请中,为近距离无线通信网络选取第一接入节点的方式可以有多种可能。在一种可选方式中,在确定出用于为应用程序提升数据传输速率的多个接入节点之后,选取与 近距离无线通信网络之间的网络通信质量符合条件的接入节点为该第一接入节点。类似的,第二接入节点为该多个接入节点中,与移动网络之间的网络通信质量符合条件的接入节点。
其中,应用程序加速系统可以预先为该应用程序配置前述多个接入节点。其中,不同应用程序所对应的多个接入节点也可以不同。除此之外,应用程序对应的多个接入节点还与运行该应用程序的移动终端所处的地理位置有关。
针对每个接入节点,分别获取经近距离无线通信网络到该接入节点的网络通信质量的具体方式可以有多种可能。如,可以经近距离无线通信网络对该接入节点进行测速,根据测速结果确定网络通信质量。当然,确定网络通信质量的方式还可以有其他可能,本申请对此不加限制。
可以理解的是,此处提到的网络通信质量所需符合的条件可以根据需要设定。如,可以是网络通信质量超过一定等级或者取值等。在一种可选方式中,为了能够最大程度减少应用程序卡顿甚至掉线,网络通信质量符合条件可以为网络通信质量最优。
为了便于理解,下面以配置应用程序的网络传输路径及网络加速通道的一种实现方式为例进行说明。如图4,其示出了本申请实施例提供的配置应用程序的网络传输路径及网络加速通道的一种流程示意图。本实施例的方法应用于加速客户端,本实施例的方法可以包括:
S401,接收程序选择界面中输入的程序选择指令。
其中,该程序选择界面显示有可供选择的至少一个候选应用程序的信息。
该程序选择指令用于指示该至少一个候选应用程序中的应用程序(即S201中提及的应用程序)。
如,在移动终端启动了加速客户端之后,该加速客户端可以展现程序选择界面,该程序选择界面中显示有可供选择加速的程序列表,该程序列表中可以包括一个或者多个可供选择的候选应用程序。在此基础上,如果用户希望对程序列表中某个应用程序加速,则可以在该程序选择界面选择该应用程序,以触发输入针对该应用程序的程序选择指令。相应的,加速客户端基于接收到的该程序选择指令,可以确定待加速的应用程序。
例如,以加速客户端对游戏进行加速为例,则程序选择界面可以为用于选择需要加速游戏的游戏加速选择界面,如图8所示的界面,后续会结合该种情况进行说明,在此不再赘述。
S402,获取该移动终端运行该应用程序可用的接入节点列表。
其中,该接入节点列表用于标识提升该应用程序的数据传输速率的多个接入节点。
可以理解的是,接入节点列表是指在移动终端运行该应用程序的情况下,可供该应用程序选用的接入节点的列表。该接入节点列表不仅与该应用程序有关,还与运行该应用程序的移动终端所处的地理位置等有关。
在一种可能的实现方式中,加速客户端可以向加速服务器发送节点列表请求,该节点列表请求携带有待加速的该应用程序的信息,如,该应用程序的名称或者标识等。同时,该节点列表请求还可以携带有该移动终端的IP地址。
在此基础上,加速服务器可以根据该IP地址以及该应用程序的信息,确定该应用程序 可用的接入节点列表。如,根据该IP地址确定该移动终端所处的地理位置,结合该地理位置,确定可提供给该应用程序使用的至少一个接入节点,并将包含该至少一个接入节点的信息的接入节点列表返回给该加速客户端。
在又一种可能的实现方式中,加速客户端中可以预先配置有适用于不同地理范围以及不同种类的应用程序的接入节点信息。在此基础上,加速客户端也可以是根据移动终端所处的地理位置以及该应用程序的名称(或者种类等),确定该移动终端上运行该应用程序可选用的至少一个接入节点,得到包含该至少一个接入节点的信息的接入节点列表。
S403,从接入节点列表中选择尚未被测试的一接入节点,分别执行S404和S405。
S404,经近距离无线通信网络对该接入节点进行网络质量测试,得到第一测试结果。
其中,该第一测试结果可以为经移动终端接入的近距离无线通信网络到接入节点的网络传输路径的网络质量测试结果。如,该第一测试结果包括:数据包丢包、延迟以及抖动等多项网速评估参数中的一种或者几种的取值。
在一个示例中,可以将经移动终端接入的近距离无线通信网络向该接入节点发送网络测试包,并接收该网络测试包的测试反馈结果。网络测试包为用于网络测试的数据包。
例如,可以采用因特网控制报文协议(Internet Control Message Protocol,ICMP),可以通过下发ping命令生成网络测试包,并经该近距离无线通信网络向接入节点发送该网络测试包。
当然,此处是举例说明,在实际应用中,还可以是基于用户数据报文协议(User Datagram Protocol,UDP)进行网络测速或者是通过其他协议来进行网络质量测试等,对此不加限制。
其中,发送网络测试包的频率和具体方式可以根据需要设定,对此不加限制。例如,可以每隔一秒发送10个网络测试包,并重复三次。
其中,网络测试包的测试反馈结果为接入节点针对该网络测试包反馈的响应数据及响应数据的接收时间等相关信息。根据网络测试包的测试反馈结果可以计算出经移动终端到接入节点之间的存在丢包、延迟以及抖动的具体情况。
可以理解的是,为了能够通过近距离无线通信网络向接入节点发送网络质量测试相关的测试包等数据,加速客户端在网络质量测试之前,在移动终端创建该近距离无线通信网络的套接字。在此基础上,可以通过该近距离无线通信网络的套接字向接入节点发送测试包等数据,以实现经近距离无线通信网络对接入节点进行网络质量测试。
S405,经移动网络对接入节点进行网络质量测试,得到第二测试结果。
其中,该第二测试结果可以为由移动终端接入的移动网络到接入节点的网络路径的网络质量测试结果。如,该第二测试结果同样可以包括:数据包丢包、延迟以及抖动等多项网速评估参数中的一种或者几种的取值。
如前面类似,在该S405之前,该加速客户端可以在移动终端上创建该移动网络的套接字,相应的,可以通过该移动网络的套接字,对该接入节点进行网络质量测试。
其中,经移动网络对接入节点的网络质量测试与前面S404类似,如,可以经移动网络向接入节点发送网络测试包并接收测试反馈结果等,具体可以参见S404的相关介绍,对此不在赘述。
S406,基于该第一测试结果和接入节点的性能数据,确定经该近距离无线通信网络到该接入节点的第一网络通信质量。
该性能参数可以包括接入节点的负载状况,还可以包括接入节点的数据处理速度等等参数,对此不加限制。
在一种示例中,加速客户端可以向接入节点发送性能请求。接入节点响应于该性能请求,向加速客户端返回其性能数据。
在又一个示例中,加速客户端可以在对接入节点进行网络质量测试过程中,请求接入节点反馈其性能参数。在此基础上,加速客户端无需单独向接入节点请求性能数据。
在又一种可能的实现方式中,可以由加速客户端根据该第一测试结果和性能参数,计算出该第一网络通信质量。
在一种可能的实现方式中,加速客户端可以将第一测试结果和该性能参数发送给加速服务器。相应的,加速服务器根据该第一测试结果和性能数据,计算出该第一网络通信质量,并将第一网络通信质量返回给加速客户端,使得加速客户端获得该第一网络通信质量。
在该第二种可能的实现方式中,加速服务器可以更为灵活的设定计算该第一网络通信质量的计算规则,而无需对加速客户端进行调整。
其中,加速服务器或者该加速客户端基于该第一测试结果和性能数据计算该第一网络通信质量的具体方式可以有多种可能,本申请对此不加限制。
在一种示例中,加速服务器可以依据设定的测试结果和性能数据的权重系数,并结合第一测试结果和性能数据确定出的网络通信质量。
其中,测试结果包含多项参数的数值的情况下,加速服务器中测试结果的权重系数可以包括多项参数各自的权重系数。类似的,性能数据包括多个性能参数的情况下,加速服务器中可以设置不同性能参数的性能权重。
如,假设第一测试结果为经该近距离无线通信网络对该接入节点进行网络测速得到的测速结果,则第一测试结果包括至少一项网速评估参数的取值,相应的,性能数据包括至少一种性能参数的取值的情况下,可以获得各网速评估参数和性能参数的权重。然后,结合各网速评估参数以及各性能参数的权重,以及第一测试结果中至少一项网速评估参数的取值以及该性能数据中各项性能参数的取值,确定用于表征网络通信质量的第一网络通信质量,该第一网络通信质量可以为网络通信质量评分或者是质量等级等。
例如,第一测试结果包括:丢包、延迟和抖动的数值,而性能数据包括负载对应的负载值。而由于丢包对网络通信质量的影响较大,而丢包的权重可以的最高,而抖动的权重次之,而延迟和负载的权重最低,在此基础上,可以分别确定丢包、延迟、抖动以及负载各自表征的网络质量评分,然后对这几个参数的网络质量评分进行加权求和,得到该第一网络通信质量的网络质量评分。
S407,基于该第二测试结果和该性能数据,确定经该移动网络到该接入节点的第二网络通信质量。
与S406相似,加速客户端可以基于该第二测试结果和性能数据计算出该第二网络通信质量;也可以是将该第二测试结果和性能数据发送给加速服务器,并由加速服务器基于该 第二测试结果和性能数据计算出该第二网络通信质量并返回给加速客户端。
其中,加速服务器同样可以依据设定的测试结果和性能数据的权重系数,并结合第二测试结果和性能数据确定出的该第二网络通信质量。其中,计算该第二网络通信质量的过程与前面计算第一网络通信质量的过程类似,在此不再赘述。
需要说明的是,以上S404到S407是分别获取经近距离无线通信网络以及移动网络到接入节点的网络通信质量的一种实现方式,在实际应用中通过其他方式获取这两种网络传输路径上的网络通信质量也同样适用于本申请,对此不加限制。
另外,S406与S407的先后顺序并不限于图4所示,在实际应用中这两个步骤可以互换或者同时执行。
S408,检测接入节点列表中是否存在尚未被测试的接入节点,如果是,则返回S403;如果否,则执行S409。
S409,选取出多个节点中与该近距离无线通信网络的第一网络通信质量最优的第一接入节点,配置由近距离无线通信网络到第一接入节点的第一网络传输路径。
S410,选取出多个节点中与移动网络的网络通信质量最优的第二接入节点,配置由移动网络到该第二接入节点的第二网络传输路径。
在本实施例中,是以第一网络通信质量满足条件为第一网络通信质量最优,且第二网络通信质量满足条件为第二网络通信质量最优为例,但是网络通信质量满足条件为其他情况,也同样适用于本实施例。
其中,配置该第一网络传输路径的具体方式可以有多种,如,可以是可以配置第一接入节点为经移动网络接入网络加速通道的接入节点,即配置该第一接入节点为该近距离无线通信网络绑定的接入节点,以实现为应用程序配置经移动网络到第一接入节点的第一网络传输路径。
类似的,配置该第二网络传输路径的具体方式可以有多种。如,可以配置第二接入节点为经移动网络接入网络加速通道的接入节点,以实现为应用程序配置经移动网络到第二接入节点的第二网络传输路径。
需要说明的是,S409和S410的顺序并不限于图4所示,在实际应用中这两个步骤可以同时执行,也可以互换顺序。
由图4可知,本申请针对应用程序可用的接入节点列表中每个接入节点,会获取近距离无线通信网络以及移动网络到该接入节点的网络通信质量。在此基础上,针对移动终端侧接入的每种本地网络(近距离无线通信网络或者移动网络),会将接入节点列表中与该本地网络之间的网络通信质量最优的接入节点配置为该本地网络接入网络加速通道的接入节点,从而使得每种本地网络均可以经配置的最优接入节点接入网络加速通道,从而可以获得最优的应用程序加速效果,减少应用程序运行中卡顿甚至掉线等异常情况。
在加速客户端为应用程序配置的第一网络传输路径和第二网络传输路径中的设定接入节点不同的情况下,如果根据该第一网络传输路径和第二网络传输路径的网络通信质量,确定出网络通信质量较优的目标网络传输路径之后,可以经该目标网络传输路径向目标网络传输路径中的目标接入节点传输截获的该数据包。相应的,该目标接入节点可以通过其 连接的网络加速通道向程序服务器传输该数据包。
可以理解的是,为了减少由于切换网络加速通道而导致应用程序卡顿甚至掉线的情况,本申请中每个网络加速通道中的出口节点都与固定的一对外中转节点相连。相应的,目标接入节点可以通过其接入的网络加速通道并经过对外中转节点向程序服务器传输给该数据包。
为了便于理解,下面以一种情况为例,对本申请的应用程序加速方法进行说明。如图5所示,其示出了本申请一种应用程序加速方法的一种流程交互示意图,本实施例的方法可以包括:
S501,加速客户端从加速服务器获取待加速的应用程序对应的数据匹配规则。
其中,数据匹配规则包括:域名匹配规则和IP匹配规则。
该域名匹配规则为采用正则表达式构建出的规则,例如,域名匹配规则的正则表达式可以为:.*\.aa\.cn。
在本实施例中,应用程序对应的数据匹配规则定义了该应用程序中需要加速传输的数据包所对应的IP地址或者域名的特征。
可以理解的是,在数据包为采用超文件传输协议(Hyper Text Transfer Protocol,HTTP)或者超文本传输安全协议(Hyper Text Transfer Protocol over Secure Socket Layer,HTTPS)的数据包的情况下,数据包中用于指示目的地址的地址信息为域名。因此,域名匹配规则用于匹配采用HTTP或者HTTPS协议的数据包。
该IP匹配规则包括由参考IP与子网掩码组构成的IP地址段。参考IP为定义的一个IP地址,具体可以根据需要设定。
例如,IP匹配规则可以为:1.2.3.0,mask:255.255.255.0。其中,参考IP为1.2.3.0,子网掩码为255.255.255.0,而该参考IP和子网掩码确定出的IP地址段为从IP:1.2.3.0到IP:1.2.3.225的IP地址段。
可以理解的是,在数据包为采用IP协议的数据包,则数据包携带的用于指示目的地址的地址数据为IP地址,因此,IP匹配规则用于匹配采用IP协议的数据包。
可以理解的是,加速客户端可以在确定出待加速的应用程序之后,或者是启动该应用程序之后,获取该应用程序对应的数据匹配规则。
在一种可选方式中,为了能够在应用程序启动后,能够及时拦截属于该应用程序向程序服务器发送的数据包,本申请可以是在确定出待加速的应用程序之后,便获取该应用程序对应的数据匹配规则,并在执行为应用程序配置了第一网络传输路径和第二网络传输路径之后,启动该应用程序。
其中,确定待加速的应用程序的具体方式可以如前面S401所示。如,在S401确定出待加速的应用程序之后,获取该应用程序的数据匹配规则,其中,获取该应用程序的数据匹配规则与获得接入节点列表的先后顺序可以不加限制,如可以在获得接入节点列表的同时,执行获取该应用程序的数据匹配规则的操作。
需要说明的是,本实施例是以加速客户端从加速服务器获取该应用程序的数据匹配规则为例,如果在加速客户端已经预先存储了该应用程序对应的数据匹配规则,该加速客户 端可以直接从本地获取该数据匹配规则。
例如,如果该应用程序属于该加速客户端在当前时刻之前设定时长内确定为待加速的应用程序,加速客户端可能会存储有该应用程序的数据匹配规则,则该加速客户端可以直接从本地获取该数据匹配规则。
S502,加速客户端截获与应用程序对应的数据匹配规则匹配的数据包,得到应用程序向程序服务器发送的数据包。
该应用程序运行于所述加速客户端所在的移动终端中。
相应的,匹配数据匹配规则的数据包为:包含的域名与该正则表达式匹配的数据包,或者,包含的IP地址属于该IP地址段的数据包。
可以理解的是,加速客户端在截获该应用程序的数据包之前,该加速客户端会启动该应用程序,如加速客户端向操作系统发送启动该应用程序的请求,并通过操作系统启动该应用程序。
其中,加速客户端截获数据包的具体方式可以有多种实现可能。
在一种可能的实现方式中,加速客户端可以在移动终端中创建虚拟网卡,在此基础上,移动终端需要向外发出的网络数据包都会先发到该虚拟网卡,从而可以通过该虚拟网卡拦截移动终端待向外发送的网络数据包。
相应的,移动终端解析拦截到的网络数据包所采用的协议,如果该数据包采用的协议为IP协议,则检测该网络数据包中的IP地址是否属于IP匹配规则中定义的IP地址段。如果该网络数据包属于该IP地址段,则确定该网络数据包为该应用程序向程序服务器发送的数据包,且该数据包属于需要加速传输的数据包。
如果解析出该网络数据包所采用的协议为HTTP或者HTTPS协议,则检测该网络数据包是否与域名匹配规则中的正则表达式匹配;如果匹配,则确定网络数据包为应用程序向程序服务器发送的数据包,且该数据包属于需要加速传输的数据包。
举例说明,仍以IP匹配规则可以为:1.2.3.0,mask:255.255.255.0为例,该IP匹配规则确定出的IP地址段为从IP:1.2.3.0到IP:1.2.3.225的IP地址段,假设拦截到的网络数据包为采用IP协议的数据包,且该网络数据包中的IP为:1.2.3.4,由于IP:1.2.3.4属于该IP地址段,则可以确认截获到应用程序向外发出的数据包。
类似的,假设域名匹配规则的正则表达式可以为:.*\.aa\.com,如果拦截到的网络数据包为采用HTTP/HTTPS的数据包,那么假设该网络数据包中的域名为:WWW.aa.com,那么该域名与正则表达式匹配,因此,可以确认截获到应用程序向外发出数据包。
可以理解的是,如果加速客户端通过虚拟网卡拦截到的网络数据包与该数据匹配规则不匹配,则加速客户端可以不处理该网络数据包。
S503,加速客户端获取该应用程序配置的第一网络传输路径和第二网络传输路径的网络通信质量。
其中,第一网络传输路径为经移动终端接入的近距离无线通信网络到第一接入节点的通信路径;该第二网络传输路径为经移动终端接入的移动网络到第二接入节点的通信路径。
其中,该第一接入节点和第二接入节点接入的网络加速通道不同,且第一接入节点与 第二接入节点各自接入的网络加速通道均通过同一对外中转节点与程序服务器通信。
S504,加速客户端确定第一网络传输路径和第二网络传输路径中网络通信质量最优的目标网络传输路径。
与前面实施例相似,加速客户端在确定出待加速的应用程序之后,可以在满足网络测试条件时,测试为应用程序配置的第一网络传输路径和第二网络传输路径的网络通信质量。在此基础上,如果加速客户端确认处于加速状态(例如,在确定出待加速的应用程序之后,如未接收到结束加速的指示,则加速客户端处于加速状态),则加速客户端可以不断监控监测这两条网络传输路径的网络通信质量,从而使得加速客户端在截获数据包之后,直接获得最近测试的网络通信质量最优的目标网络传输路径。
在本实施例中,测试网络传输路径的网络通信质量可以为前面图4实施例中测试经移动终端或者近距离无线通信网络到接入节点的网络通信质量的过程相似。
可以理解的是,在为移动终端接入的移动网络和近距离无线通信网络分别配置了接入节点之后,获得网络通信质量本质上是为了获得移动网络和近距离无线通信网络的网络状况,因此,在本实施例中测试的网络通信质量可以不包含网络传输路径上接入节点的性能数据。
在一个示例中,为了能够更为灵活的配置网络通信质量的计算策略等,测试为应用程序配置的第一网络传输路径网络通信质量可以为:加速客户端经移动终端接入的近距离无线通信网络对所述接入节点进行网络测速,得到至少一项网速评估参数的第一取值;将至少一项网速评估参数的第一取值发送给加速服务器。相应的,可以接收加速服务器返回的第一网络传输路径的网络通信质量评分。
其中,该第一网络传输路径的网络通信质量评分为依据不同网速评估参数的权重,并结合所述至少一项网速评估参数的第一取值,计算出的评分。如,网速评估参数可以丢包、延迟以及抖动等。
类似的,测试第二网络传输路径的网络通信质量可以为:加速客户端经移动终端接入的移动网络对接入节点进行网络测速,得到至少一项网速评估参数的第二取值;将至少一项网速评估参数的第二取值发送给加速服务器。相应的,可以接收加速服务器返回的第二网络传输路径的网络通信质量评分。
该第二网络传输路径的网络通信质量评分为依据不同网速评估参数的权重,并结合至少一项网速评估参数的第二取值,计算出的评分。以上S503和S504的具体实现可以参见前面实施例的相关介绍,对此不再赘述。
S505,加速客户端经该目标网络传输路径向该目标网络传输路径中的目标接入节点传输该数据包。
其中,为了便于区分,将目标网络传输路径中的接入节点称为目标接入节点。如,假设目标网络传输路径为第一网络传输路径,则目标接入节点为第一接入节点;如果目标网络传输路径为第二网络传输路径,则该目标接入节点为第二接入节点。
S505,目标接入节点向其配置的网络加速通道对应的目标出口节点传输该数据包。
S506,目标出口节点将数据包传输给对外中转节点。
S507,对外中转节点将该数据包传输给程序服务器。
在图5的实施例中,在加速客户端为应用程序了分别配置了适用于近距离无线通信网络以及移动网络的最优接入节点的基础上,本申请还会通过获取近距离无线通信网络以及移动网络各自对应的网络传输通道的网络通信质量,来确定移动终端当前通信质量较优的本地网络,并基于移动终端侧通信质量较优的本地网络向该本地网络配置的网络加速通道传输应用程序的数据包,从而不仅可以利用较为优质的网络加速通道来减少不断切换运营商网络所导致的卡顿以及掉线的情况,又考虑到了移动终端本地网络波动对应用程序的数据传输通信的影响,进而可以可靠提升应用程序运行的稳定性,可以减少应用程序卡顿以及掉线的情况。
另外,由于每次仅仅通过一条网络加速通道传输应用程序的数据包,而并非是向两条网络加速通道均传输该数据包,从而可以减少移动终端侧电量以及带宽资源的耗费。
为了便于理解本申请的方案,下面以应用程序为游戏应用,且加速客户端可以为游戏加速客户端这一应用场景为例说明。
在该应用场景中,以游戏配置的两条网络传输路径中的接入节点不同为例说明。同时,在该应用场景中以移动终端接入的近距离无线通信网络为WiFi网络为例。
如图6所示,其示出了本申请的方案所适用的一种应用场景的组成架构示意图。
在图6所示的场景中,移动终端610上安装并运行有游戏加速客户端,通过该游戏加速客户端可以在移动终端上启动并运行游戏应用。
在图6的应用场景中,游戏加速客户端为该游戏配置了适用于WiFi网络的第一接入节点620以及适用于移动网络的第二接入节点621。
其中,第一接入节点620配置有第一出口节点622,该第一接入节点与该第一出口节点之间构成了第一网络加速通道,如图6中的网络加速通道1。
该第二接入节点621配置有第二出口节点623,该第二接入节点与该第二出口节点之间构成了第二网络加速通道,如图6中的网络加速通道2。
该第一出口节点与该第二出口节点均与对外中转节点624通过网络相连。而该对外中转节点624可以与移动终端上运行的游戏应用对应的游戏服务器630通过网络相连。
同时,移动终端可以通过游戏加速客户端与游戏加速服务器625相连。该游戏加速服务器可以有一台或者多台,对此不加限制。游戏加速服务器上可以存储有不同游戏应用对应的数据匹配规则;该游戏加速服务器上还存储有:不同地理位置范围、游戏与接入节点的对应关系。
下面结合图7,对本申请的应用程序加速方法在图6所示应用场景中的具体实现流程进行说明。
如图7所示,其示出了本申请一种应用程序加速方法在一种应用场景中的流程交互示意图,本实施例的方法可以包括:
S701,游戏加速客户端接收用户在游戏加速选择界面中选择的游戏应用,将该游戏应用确定为待加速的游戏应用。
如图8所示,其示出了本申请中游戏加速客户端中呈现出的游戏加速选择界面的一种示 意图。
由图8可以看出,该游戏加速选择界面801中显示有该移动终端中可供选择加速的多个游戏应用的名称(或者图标),且每个游戏的名称对应有一个“加速”按键802。如果用户点击某个游戏应用对应的“加速”按键802,则游戏加速客户端确认该游戏应用为待加速的游戏应用。
S702,游戏加速客户端从游戏加速服务器获取该游戏应用的数据匹配规则。
其中,数据匹配规则包括:域名匹配规则和IP匹配规则。
该域名匹配规则为采用正则表达式构建出的规则,该IP匹配规则包括由参考IP与子网掩码组构成的IP地址段。
S703,游戏加速客户端从游戏加速服务器请求该游戏应用适用的接入节点列表。
其中,接入节点列表中包括至少一个接入节点。
如,游戏加速客户端向游戏加速服务器发送节点列表请求,该节点列表请求可以携带有游戏加速客户端的IP地址以及该游戏应用的名称等标识信息。相应的,游戏加速服务器可以根据该IP地址对应的地理位置区域以及该游戏应用的名称,确定适合该游戏应用的至少一个接入节点,并向游戏加速客户端返回包含该至少一个接入节点的接入节点列表。
可以理解的是,在游戏加速客户端确定出待加速的游戏应用之后,游戏加速客户端进入游戏加速准备阶段。在游戏加速准备阶段,游戏加速客户端会获取该接入节点列表以及游戏对应的数据匹配规则,同时,还会执行为移动终端接入的WiFi以及移动终端配置最优接入节点的相关操作。
如图9所示,其示出了游戏加速客户端在游戏加速准备阶段的界面示意图。
在游戏加速客户端确认了待加速的游戏应用之后,该游戏加速客户端会从游戏加速选择界面801切换为图9中的加速准备界面901。在该加速准备界面可以显示游戏加速客户端完成游戏加速准备的进度,如图9中示出的“40%”。
需要说明的是,以上S702和S703的顺序可以互换,也可以同时执行,对此不加限制。
S704,游戏加速客户端分别测试经接入的WiFi网络到接入节点列表中各个接入节点的网络通信质量,并为WiFi网络配置与WiFi网络的网络通信质量最优的第一接入节点。
该第一接入节点属于接入节点列表中的接入节点。
S705,游戏加速客户端分别测试经接入的移动网络到接入节点列表中各个接入节点的网络通信质量,并为该移动网络配置与该移动网络的网络通信质量最优的第二接入节点。
该第二接入节点属于接入节点列表中的接入节点。
以上S704和S705可以参见图4实施例的相关介绍,在此不再赘述。
S706,游戏加速客户端在移动终端中启动该游戏应用。
在一种实现方式中,游戏加速客户端可以接收该游戏应用的启动指令,并响应于该启动指令,启动该游戏应用。
如,在游戏加速客户端完成以上S702到S706对应的游戏加速准备操作之后,游戏加速客户端会从图9的加速准备界面901切换为图10所示的加速详情界面1001。
在图10的加速详情界面中显示有加速准备阶段所达到的一些加速效果。同时,在该加 速详情界面中显示有用于指示结束游戏加速的“停止”选项1002,以及指示启动游戏应用的“启动游戏”选项1003。如果用户点击该“启动游戏”选择,则该游戏加速客户端会启动该游戏应用。
S707,游戏加速客户端在移动终端创建虚拟网卡,并通过虚拟网卡拦截移动终端向外发送的数据包。
S708,在游戏加速客户端处于加速模式下,监测该WiFi网络到第一接入节点的网络通信质量以及移动网络到第二接入节点的网络通信质量。
其中,如果游戏加速客户端未接收到停止加速的指示,则该游戏加速客户端便处于加速模式,直至结束游戏运行,或者是,检测到如图10中“停止“选项被触按为止。
其中,该S708与前面步骤中确定网络通信质量的操作可以相同,但是目的不同,该S708测试网络通信质量的目的是为了确定WiFi网络与移动网络哪个的通信质量更优。
S709,如果虚拟网卡拦截到采用HTTP/HTTPS协议的数据包,游戏加速客户端检测该数据包中的域名是否与域名匹配规则中的正则表达式匹配,如果是,则确认该数据包为该游戏应用发出的游戏数据包,执行S711;如果否,则不处理该数据包。
S710,如果虚拟网卡拦截到采用IP协议的数据包,游戏加速客户端检测该游戏包中的IP地址是否属于IP匹配规则中参考域名与子网掩码确定的IP地址段,如果是,则确认该数据包为该游戏应用发出的游戏数据包,执行S711;如果否,则不处理该数据包。
S711,游戏加速客户端根据WiFi网络到第一接入节点的网络通信质量以及移动网络到第二接入节点的网络通信质量,确定接入的移动网络和WiFi网络中网络通信质量最优的目标本地网络。S712,游戏加速客户端经目标本地网络向该目标本地网络配置的目标接入节点发送游戏数据包。
如,目标本地网络为WiFi网络,则可以获得游戏加速客户端为该游戏应用配置的,与WiFi匹配的接入节点,假设该接入节点为接入节点1,并通过WiFi网络向接入节点1发送该游戏数据包。
S713,目标接入节点经该目标接入节点配置的网络加速通道向对外中转节点传输该游戏数据包,以使得对外中转节点将游戏数据包传输给游戏服务器。
需要说明的是,图7是为了便于理解,以应用程序为游戏应用为例说明,但是可以理解的是,在应用程序为其他应用程序的情况下,同样适用于图7的实施例,其具体实现原理与图7相似,对此不再赘述。
可以理解的是,本申请以上实施例中,是以应用程序对应的数据匹配规则中仅包括需要加速的数据包的域名特征或者IP特征为例说明。但是,在实际应用中,数据匹配规则还可以既包含游戏中需要加速传输的数据包对应的第一域名匹配规则以及第一IP匹配规则,又包括游戏中不需要加速传输的数据包对应的第二域名匹配规则以及第二IP匹配规则。
其中,第一域名匹配规则和第二域名匹配规则不同,且第一IP匹配规则与第二IP匹配规则不同。如,第一域名匹配规则和第二域名匹配规则可以分别用于匹配不同域名的正则表达式;而第一IP匹配规则和第二IP匹配规则中,可以是参考IP和子网掩码中的一个或者两个不同。
相应的,如果获取到与第一域名匹配规则或者第一IP匹配规则匹配的数据包,则按照本申请以上任意一个实施例的方式,确定目标网络传输路径,并经目标网络传输路径对应的本地网络向目标网络传输路径的接入节点传输该数据包,以使得该接入节点可以经该接入节点接入的网络加速通道向程序服务器传输该数据包。
如果截获到与第二域名匹配规则或者第二IP匹配规则,则可以通过应用程序直接向该程序服务器发送该数据包。
举例说明,第一域名匹配规则为第一正则表达式:.*\.aa\.com,且第一域名匹配规则对应的策略为加速传输。
而第二域名匹配规则为第二正则表达式:.*\aa\.co.*,且第二域名匹配规则对应的策略为直接传输。
在此基础上,假设数据包中的域名与第一域名匹配规则中的第一正则表达式匹配,则需要按照本申请以上实施例的方式,通过网络加速传输通道向程序服务器传输该数据包。
而如果数据包中的域名与该第二域名匹配规则的第二正则表达式匹配,则说明该数据包属于应用程序向程序服务器发送的数据包,但是该数据包属于不需要加速传输的数据包。在该种情况下,则可以通过应用程序直接向该程序服务器发送该数据包,而无需经过网络加速传输通道来传输该数据包。
对应本申请的一种应用程序加速方法,本申请还提供了一种应用程序加速装置,其中涉及的移动终端接入了近距离无线通信网络和移动网络。
如图11所示,其示出了本申请提供的一种应用程序加速装置的一种组成结构示意图,所述装置包括:
包获取单元1101,用于获取应用程序向程序服务器发送的数据包,该应用程序运行于移动终端中;
第一质量获取单元1102,用于确定为该应用程序配置的第一网络传输路径和第二网络传输路径的网络通信质量,该第一网络传输路径为经近距离无线通信网络到设定接入节点的通信路径,该第二网络传输路径为经移动网络到该设定接入节点的通信路径,该设定接入节点是为应用程序配置的、用于接入网络加速通道的接入节点;
路径确定单元1103,用于从该第一网络传输路径和第二网络传输路径中将网络通信质量最优的确定为目标网络传输路径;
包传输单元1104,用于经该目标网络传输路径向该设定接入节点传输该数据包,以使得该设定接入节点通过该接入的网络加速通道向程序服务器传输该数据包。
在一种可能的实现方式中,该装置还包括:
质量测试单元,用于在满足网络测试条件时,测试第一网络传输路径和第二网络传输路径的网络通信质量;
第一质量获取单元,具体为,用于获取最近一次测试得到的第一网络传输路径和第二网络传输路径的网络通信质量。
在一种可选方式中,该质量测试单元,包括:
第一测速单元,用于通过近距离无线通信网络对所述接入节点进行网络测速,得到至 少一项网速评估参数的第一取值;
第一参数发送单元,用于将所述至少一项网速评估参数的第一取值发送给加速服务器;
第一评分接收单元,用于接收所述加速服务器返回的所述第一网络传输路径的网络通信质量评分,所述第一网络传输路径的网络通信质量评分为依据不同网速评估参数的权重,并结合所述至少一项网速评估参数的第一取值,计算出的评分;
第二测速单元,用于通过移动网络对所述接入节点进行网络测速,得到至少一项网速评估参数的第二取值;
第二参数发送单元,用于将所述至少一项网速评估参数的第二取值发送给加速服务器;
第二评分接收单元,用于接收加速服务器返回的所述第二网络传输路径的网络通信质量评分,所述第二网络传输路径的网络通信质量评分为依据不同网速评估参数的权重,并结合所述至少一项网速评估参数的第二取值,计算出的评分。
在一种可能的实现方式中,所述设定接入节点包括第一接入节点和第二接入节点,所述第一网络传输路径为经所述近距离无线通信网络到第一接入节点的通信路径;
所述第二网络传输路径为经所述移动网络到第二接入节点的通信路径;
其中,第一接入节点和第二接入节点各自接入的网络加速通道不同,且第一接入节点与第二接入节点各自接入的网络加速通道均通过同一对外中转节点与该程序服务器通信。
在一种可选方式中,该第一接入节点为多个接入节点中,与该近距离无线通信网络之间的网络通信质量符合条件的接入节点,所述多个接入节点用于为所述应用程序提升数据传输速率;
该第二接入节点为该多个接入节点中,与该移动网络之间的网络通信质量符合条件的接入节点。
在又一种可能的实现方式中,该装置还包括:
应用程序确定单元,用于在接收程序选择界面中输入的程序选择指令,程序选择界面显示有可供选择的至少一个候选应用程序的信息,该程序选择指令用于指示所述至少一个候选应用程序中的应用程序;
列表获取单元,用于获取该移动终端运行该应用程序可用的接入节点列表,该接入节点列表包括用于提升该应用程序的数据传输速率的多个接入节点;
第二质量获取单元,用于针对该多个节点,分别获取经该近距离无线通信网络以及移动网络到该接入节点的网络通信质量;
第一节点配置单元,用于选取出该多个节点中与该近距离无线通信网络的网络通信质量满足条件的第一接入节点,配置第一接入节点为经该近距离无线通信网络接入网络加速通道的接入节点;
第二节点配置单元,用于选取出该多个节点中与该移动网络的网络通信质量满足条件的第二接入节点,配置该第二接入节点为经该移动网络接入网络加速通道的接入节点。
在一种可选方式中,该第二质量获取单元,包括:
第一测试单元,用于经该近距离无线通信网络对该接入节点进行网络质量测试,得到第一测试结果;
第二测试单元,用于经该移动网络对该接入节点进行网络质量测试,得到第二测试结果;
第一质量确定单元,基于该第一测试结果和接入节点的性能数据,确定经该近距离无线通信网络到该接入节点的第一网络通信质量;
第二质量确定单元,用于基于该第二测试结果和性能数据,确定经该移动网络到该接入节点的第二网络通信质量。
在又一种可能的实现方式中,该装置还包括:
规则获取单元,用于在该截获向服务器发送的数据包之前,获取待加速的对应的数据匹配规则,该数据匹配规则包括:域名匹配规则和IP匹配规则,该域名匹配规则为采用正则表达式构建出的规则,该IP匹配规则包括由参考IP与子网掩码组构成的IP地址段;
相应的,包获取单元,具体为,用于将匹配该数据匹配规则的数据包确定为该向该服务器发送的数据包,其中,匹配该数据匹配规则的数据包为:包含的域名与该正则表达式匹配的数据包,或者,包含的IP地址属于该IP地址段的数据包。
如图12所示,为本申请实施例提供的移动终端的一种实现方式的结构图,该移动终端可以包括:
存储器1201,用于存储程序;
处理器1202,用于调用并执行存储器中存储的程序,该程序具体用于执行前面任意一个实施例提供的应用程序加速方法。
处理器1202可能是一个中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit)。
该移动终端还可以包括通信接口1203以及通信总线1204,其中,存储器1201、处理器1202以及通信接口1203通过通信总线1204完成相互间的通信。
本申请实施例还提供了一种可读存储介质,其上存储有计算机程序,计算机程序被处理器加载并执行,以实现上述的应用程序加速方法的各步骤,具体实现过程可以参照上述实施例相应部分的描述,本实施例不做赘述。
本申请还提出了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述应用程序加速方法方面或应用程序加速装置方面的各种可选实现方式中所提供方法,具体实现过程可以参照上述相应实施例的描述,不做赘述。
以上对本申请所提供的一种应用程序加速方法、装置、设备及存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。同时, 本说明书中各实施例中记载的特征可以相互替换或者组合,使本领域专业技术人员能够实现或使用本申请。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。
还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备所固有的要素,或者是还包括为这些过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (15)

  1. 一种应用程序加速方法,所述方法由移动终端执行,所述方法包括:
    获取应用程序向程序服务器发送的数据包,所述应用程序运行于所述移动终端中,所述移动终端接入了近距离无线通信网络和移动网络;
    确定为所述应用程序配置的第一网络传输路径和第二网络传输路径的网络通信质量,所述第一网络传输路径为经所述近距离无线通信网络到设定接入节点的通信路径,所述第二网络传输路径为经所述移动网络到所述设定接入节点的通信路径,所述设定接入节点是为所述应用程序配置的、用于接入网络加速通道的接入节点;
    从所述第一网络传输路径和第二网络传输路径中将网络通信质量最优的确定为目标网络传输路径;
    经所述目标网络传输路径向所述设定接入节点传输所述数据包,以使得所述设定接入节点通过接入的所述网络加速通道向所述程序服务器传输所述数据包。
  2. 根据权利要求1所述的方法,所述设定接入节点包括第一接入节点和第二接入节点,所述第一网络传输路径为经所述近距离无线通信网络到第一接入节点的通信路径;
    所述第二网络传输路径为经所述移动网络到第二接入节点的通信路径;
    所述第一接入节点和第二接入节点各自接入的网络加速通道不同,且所述第一接入节点与第二接入节点各自接入的网络加速通道均通过同一个对外中转节点与所述程序服务器通信。
  3. 根据权利要求2所述的方法,所述第一接入节点为多个接入节点中,与所述近距离无线通信网络之间的网络通信质量符合条件的接入节点,所述多个接入节点用于为所述应用程序提升数据传输速率;
    所述第二接入节点为所述多个接入节点中,与所述移动网络之间的网络通信质量符合条件的接入节点。
  4. 根据权利要求2所述的方法,在所述获取应用程序向程序服务器发送的数据包之前,还包括:
    接收程序选择界面中输入的程序选择指令,所述程序选择界面显示有可供选择的至少一个候选应用程序的信息,所述程序选择指令用于指示所述至少一个候选应用程序中的所述应用程序;
    获取所述移动终端运行所述应用程序可用的接入节点列表,所述接入节点列表包括用于提升所述应用程序的数据传输速率的多个接入节点;
    针对所述多个接入节点,分别获取经所述近距离无线通信网络以及所述移动网络到所述接入节点的网络通信质量;
    选取出所述多个接入节点中与所述近距离无线通信网络的网络通信质量满足条件的所述第一接入节点,配置所述第一接入节点为经所述近距离无线通信网络接入网络加速通道的接入节点;
    选取出所述多个接入节点中与所述移动网络的网络通信质量满足条件的所述第二接入节点,配置所述第二接入节点为经所述移动网络接入网络加速通道的接入节点。
  5. 根据权利要求4所述的方法,所述分别获取经所述近距离无线通信网络以及所述移动网络到所述接入节点的网络通信质量,包括:
    经所述近距离无线通信网络对所述接入节点进行网络质量测试,得到第一测试结果;
    经所述移动网络对所述接入节点进行网络质量测试,得到第二测试结果;
    基于所述第一测试结果和所述接入节点的性能数据,确定经所述近距离无线通信网络到所述接入节点的第一网络通信质量;
    基于所述第二测试结果和所述性能数据,确定经所述移动网络到所述接入节点的第二网络通信质量。
  6. 根据权利要求5所述的方法,所述基于所述第一测试结果和所述性能数据,确定所述近距离无线通信网络到所述接入节点的第一网络通信质量,包括:
    将所述第一测试结果和性能数据发送给加速服务器;
    获得所述加速服务器返回的第一网络通信质量,所述第一网络通信质量为所述加速服务器依据设定的测试结果和性能数据的权重系数,并结合所述第一测试结果和性能数据确定出的网络通信质量;
    所述基于所述第二测试结果和所述性能数据,确定所述移动网络到所述接入节点的第二网络通信质量,包括:
    将所述第二测试结果和性能数据发送给加速服务器;
    获得所述加速服务器返回的第二网络通信质量,所述第二网络通信质量为所述加速服务器依据设定的测试结果和性能数据的权重系数,并结合所述第二测试结果和性能数据确定出的网络通信质量。
  7. 根据权利要求1-6任意一项所述的方法,还包括:
    获取所述应用程序对应的数据匹配规则,所述数据匹配规则包括:域名匹配规则和IP匹配规则,所述域名匹配规则为采用正则表达式构建出的规则,所述IP匹配规则包括由参考IP与子网掩码组构成的IP地址段;
    所述获取应用程序向程序服务器发送的数据包,包括:
    将匹配所述数据匹配规则的数据包确定为所述应用程序向所述程序服务器发送的数据包,其中,匹配所述数据匹配规则的数据包为:包含的域名与所述正则表达式匹配的数据包,或者,包含的IP地址属于所述IP地址段的数据包。
  8. 根据权利要求1-6任意一项所述的方法,还包括:
    在满足网络测试条件时,测试所述第一网络传输路径和所述第二网络传输路径的网络通信质量;
    所述确定为所述应用程序配置的第一网络传输路径和第一网络传输路径的网络通信质量,包括:
    获取最近一次测试得到的所述第一网络传输路径和所述第二网络传输路径的网络通信质量。
  9. 根据权利要求8所述的方法,所述测试为所述应用程序配置的第一网络传输路径和第二网络传输路径的网络通信质量,包括:
    通过所述近距离无线通信网络对所述接入节点进行网络测速,得到至少一项网速评估参数的第一取值;
    将所述至少一项网速评估参数的第一取值发送给加速服务器;
    接收所述加速服务器返回的所述第一网络传输路径的网络通信质量评分,所述第一网络传输路径的网络通信质量评分为依据不同网速评估参数的权重,并结合所述至少一项网速评估参数的第一取值,计算出的评分;
    通过所述移动网络对所述接入节点进行网络测速,得到至少一项网速评估参数的第二取值;
    将所述至少一项网速评估参数的第二取值发送给加速服务器;
    接收加速服务器返回的所述第二网络传输路径的网络通信质量评分,所述第二网络传输路径的网络通信质量评分为依据不同网速评估参数的权重,并结合所述至少一项网速评估参数的第二取值,计算出的评分。
  10. 一种应用程序加速装置,所述装置包括:
    获取单元,用于获取应用程序向程序服务器发送的数据包,所述应用程序运行于移动终端中,所述移动终端接入了近距离无线通信网络和移动网络;
    第一质量获取单元,用于确定为所述应用程序配置的第一网络传输路径和第二网络传输路径的网络通信质量,所述第一网络传输路径为经所述近距离无线通信网络到设定接入节点的通信路径,所述第二网络传输路径为经所述移动网络到所述设定接入节点的通信路径,所述设定接入节点是为所述应用程序配置的、用于接入网络加速通道的接入节点;
    路径确定单元,用于从所述第一网络传输路径和第二网络传输路径中将网络通信质量最优的确定为目标网络传输路径;
    包传输单元,用于经所述目标网络传输路径向所述设定接入节点传输所述数据包,以使得所述设定接入节点通过接入的所述网络加速通道向所述程序服务器传输所述数据包。
  11. 根据权利要求10所述的装置,所述设定接入节点包括第一接入节点和第二接入节点,所述第一网络传输路径为经所述近距离无线通信网络到第一接入节点的通信路径;所述第二网络传输路径为经所述移动网络到第二接入节点的通信路径;所述第一接入节点和第二接入节点各自接入的网络加速通道不同,且所述第一接入节点与第二接入节点各自接入的网络加速通道均通过同一个对外中转节点与所述程序服务器通信。
  12. 根据权利要求11所述的装置,所述第一接入节点为多个接入节点中,与所述近距离无线通信网络之间的网络通信质量符合条件的接入节点,所述多个接入节点用于为所述应用程序提升数据传输速率;
    所述第二接入节点为所述多个接入节点中,与所述移动网络之间的网络通信质量符合条件的接入节点。
  13. 一种移动终端,包括:处理器以及存储器,所述处理器以及存储器通过通信总线相连;
    其中,所述处理器,用于调用并执行所述存储器中存储的程序;
    所述存储器,用于存储程序,所述程序用于实现如权利要求1-9任意一项所述的应用程 序加速方法。
  14. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器加载并执行,实现如权利要求1-9任意一项所述的应用程序加速方法。
  15. 一种包括指令的计算机程序产品,当其在计算机上运行时,使得所述计算机执行权利要求1-9任意一项所述的应用程序加速方法。
PCT/CN2022/090860 2021-06-08 2022-05-05 应用程序加速方法、装置、设备及存储介质 WO2022257649A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/125,022 US20230232308A1 (en) 2021-06-08 2023-03-22 Application acceleration based on local network conditions

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110639432.7A CN115460572A (zh) 2021-06-08 2021-06-08 应用程序加速方法、装置、设备及存储介质
CN202110639432.7 2021-06-08

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/125,022 Continuation US20230232308A1 (en) 2021-06-08 2023-03-22 Application acceleration based on local network conditions

Publications (1)

Publication Number Publication Date
WO2022257649A1 true WO2022257649A1 (zh) 2022-12-15

Family

ID=84295155

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/090860 WO2022257649A1 (zh) 2021-06-08 2022-05-05 应用程序加速方法、装置、设备及存储介质

Country Status (3)

Country Link
US (1) US20230232308A1 (zh)
CN (1) CN115460572A (zh)
WO (1) WO2022257649A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117339199A (zh) * 2023-10-27 2024-01-05 常州贝壳网络科技有限公司 一种多路径游戏加速系统及方法

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116302209B (zh) * 2023-05-15 2023-08-04 阿里云计算有限公司 应用进程加速启动的方法、分布式系统、节点和存储介质
CN116437409B (zh) * 2023-06-13 2023-08-22 微网优联科技(成都)有限公司 一种无线路由器的信道切换方法及装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102655664A (zh) * 2011-03-04 2012-09-05 联想移动通信科技有限公司 一种移动终端无缝切换网络的方法和移动终端
US20170289885A1 (en) * 2016-03-30 2017-10-05 Meru Networks Reliable call hand-off from cellular networks to wi-fi networks
CN109302346A (zh) * 2018-10-25 2019-02-01 网宿科技股份有限公司 一种传输数据流量的方法和装置
CN110099403A (zh) * 2019-05-17 2019-08-06 腾讯科技(深圳)有限公司 一种数据传输方法、装置、设备及存储介质
CN110233937A (zh) * 2019-07-30 2019-09-13 腾讯科技(深圳)有限公司 一种数据传输方法、装置、设备及存储介质
WO2019233492A1 (zh) * 2018-06-07 2019-12-12 华为技术有限公司 传输路径的切换方法和装置
CN112996042A (zh) * 2019-12-13 2021-06-18 华为技术有限公司 网络加速方法、终端设备、服务器及存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9913105B2 (en) * 2013-03-01 2018-03-06 Nec Corporation Communication system, service platform, communication method, and non-transitory computer readable medium
CN112260845B (zh) * 2019-07-05 2022-08-05 腾讯科技(深圳)有限公司 进行数据传输加速的方法和装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102655664A (zh) * 2011-03-04 2012-09-05 联想移动通信科技有限公司 一种移动终端无缝切换网络的方法和移动终端
US20170289885A1 (en) * 2016-03-30 2017-10-05 Meru Networks Reliable call hand-off from cellular networks to wi-fi networks
WO2019233492A1 (zh) * 2018-06-07 2019-12-12 华为技术有限公司 传输路径的切换方法和装置
CN109302346A (zh) * 2018-10-25 2019-02-01 网宿科技股份有限公司 一种传输数据流量的方法和装置
CN110099403A (zh) * 2019-05-17 2019-08-06 腾讯科技(深圳)有限公司 一种数据传输方法、装置、设备及存储介质
CN110233937A (zh) * 2019-07-30 2019-09-13 腾讯科技(深圳)有限公司 一种数据传输方法、装置、设备及存储介质
CN112996042A (zh) * 2019-12-13 2021-06-18 华为技术有限公司 网络加速方法、终端设备、服务器及存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117339199A (zh) * 2023-10-27 2024-01-05 常州贝壳网络科技有限公司 一种多路径游戏加速系统及方法
CN117339199B (zh) * 2023-10-27 2024-04-12 常州贝壳网络科技有限公司 一种多路径游戏加速系统及方法

Also Published As

Publication number Publication date
CN115460572A (zh) 2022-12-09
US20230232308A1 (en) 2023-07-20

Similar Documents

Publication Publication Date Title
WO2022257649A1 (zh) 应用程序加速方法、装置、设备及存储介质
EP3694160B1 (en) Date transmission method, apparatus and device
CN106209490B (zh) 选择和监控多个服务关键性能指标的方法和系统
JP4233884B2 (ja) サービス品質のプロービングを行う方法
US9537741B2 (en) Data path performance measurement using test messages in a software defined network
Atary et al. Efficient round-trip time monitoring in OpenFlow networks
CN102891779B (zh) 用于ip网络的大规模网络性能测量系统的测量方法
JP2022548152A (ja) ルーティング制御方法、装置、プログラム及びコンピュータ装置
EP3627770B1 (en) Network performance monitoring using an active measurement protocol and relay mechanism
US20200151075A1 (en) Multi-Path Fault Detection
CN112532468B (zh) 网络测量系统、方法、设备及存储介质
US11677651B2 (en) UDPING—continuous one-way monitoring of multiple network links
CN113890849B (zh) 基于内容分发网络、去中心化的回源路由选择系统
JP2011244312A (ja) ノード装置、最適パス決定方法及びプログラム
CN107483346A (zh) 自治系统内的消息传递方法、装置及相应的消息传递系统
Ye et al. Hop-by-hop congestion measurement and practical active queue management in NDN
US12010012B2 (en) Application-aware BGP path selection and forwarding
Liu et al. Identifier and locator separation based site multi-homing path failure recovery
CN108848175A (zh) 一种创建tcp连接的方法及装置
Arvidsson et al. Web metrics for the next generation performance enhancing proxies
US20230144568A1 (en) Application-aware bgp path selection and forwarding
JP2001177525A (ja) 擬似ネットワーク提供システム及び方法
Yoshida et al. Application of TCP Multi-Pathization Method with SDN by IoT Devices to Web Service
WO2022272206A1 (en) Network optimization system using latency measurements
CN114928561A (zh) 丢包率的检测方法、通信装置及通信系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22819251

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE