CN112996042A - Network acceleration method, terminal device, server and storage medium - Google Patents

Network acceleration method, terminal device, server and storage medium Download PDF

Info

Publication number
CN112996042A
CN112996042A CN201911285140.7A CN201911285140A CN112996042A CN 112996042 A CN112996042 A CN 112996042A CN 201911285140 A CN201911285140 A CN 201911285140A CN 112996042 A CN112996042 A CN 112996042A
Authority
CN
China
Prior art keywords
network
communication
target
acceleration
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911285140.7A
Other languages
Chinese (zh)
Inventor
施小龙
冯敬涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Petal Cloud Technology Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201911285140.7A priority Critical patent/CN112996042A/en
Publication of CN112996042A publication Critical patent/CN112996042A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/0226Traffic management, e.g. flow control or congestion control based on location or mobility
    • 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

Abstract

The application is applicable to the technical field of communication and provides a network acceleration method, terminal equipment, a server and a storage medium, wherein the network acceleration method comprises the following steps: acquiring current geographical position information and current network state information of the terminal equipment; detecting whether a target network acceleration strategy corresponding to the geographical location information and the network state information exists; and if a target network acceleration strategy corresponding to the geographic position information and the network state information exists, performing acceleration processing on the current network of the terminal equipment based on the target network acceleration strategy. The network acceleration method provided by the application can improve the communication quality of the terminal equipment during network communication under various different scenes.

Description

Network acceleration method, terminal device, server and storage medium
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a network acceleration method, a terminal device, a server, and a storage medium.
Background
An Application (APP) refers to software developed for a user's certain application purpose. The application program comprises a client and a server, and the client and the server are matched with each other to realize the specific function of the application program. Generally, after an application program is started, a terminal device needs to perform wireless communication with a server of the application program, and the communication quality when the terminal device performs wireless communication with the server of the application program directly affects the use experience of a user on the application program.
In order to improve the user experience of the application program, various network acceleration schemes capable of improving the communication quality of the terminal device are proposed in the prior art, for example, the communication quality in the wireless communication is improved by adopting a wireless communication protocol with a fast network transmission rate, or the communication quality in the wireless communication is improved by accessing a backbone network. However, the communication quality improvement method corresponding to the existing network acceleration scheme is relatively fixed, and is only applicable to a specific scene, and it cannot be guaranteed that the communication quality is in a relatively good state when the application performs network communication in different scenes.
Disclosure of Invention
The embodiment of the application provides a network acceleration method, a terminal device, a server and a storage medium, which can improve the communication quality of the terminal device during network communication under various different scenes.
In a first aspect, an embodiment of the present application provides a network acceleration method, which is applied to a terminal device, and includes:
acquiring current geographical position information and current network state information of the terminal equipment;
detecting whether a target network acceleration strategy corresponding to the geographical location information and the network state information exists;
and if a target network acceleration strategy corresponding to the geographic position information and the network state information exists, performing acceleration processing on the current network of the terminal equipment based on the target network acceleration strategy.
In a possible implementation manner of the first aspect, the obtaining current geographical location information and current network state information of the terminal device includes:
when the terminal equipment starts a preset application program, acquiring the current geographical position information and the current network state information of the terminal equipment;
correspondingly, the detecting whether the network acceleration policy corresponding to the geographical location information and the network status information exists includes:
detecting whether a target network acceleration policy associated with the application and matching the geographic location information and the network status information exists.
In a possible implementation manner of the first aspect, after detecting whether there is a target network acceleration policy associated with the application and matching the geographic location information and the network status information, the method further includes:
if there is no target network acceleration policy associated with the application and matching the geographic location information and the network status information, determining the target network acceleration policy based on the application, the geographic location information, and the network status information.
In a possible implementation manner of the first aspect, the target network acceleration policy includes at least one of a network acceleration policy based on a target network architecture, a network acceleration policy based on a target network channel, and a network acceleration policy based on a target communication protocol;
correspondingly, the determining the target network acceleration policy based on the application, the geographic location information, and the network status information includes:
determining the target network architecture based network acceleration policy based on the application and the geographic location information;
determining the target network channel-based network acceleration policy based on the network status information and determining the target communication protocol-based network acceleration policy.
In a possible implementation manner of the first aspect, the determining the network acceleration policy based on the target network architecture based on the application and the geographic location information includes:
determining whether the terminal equipment and an application server of the application program are in the same area or not according to the geographical position information;
if the terminal equipment is not in the same area with the application server of the application program, determining that the network acceleration strategy based on the target network architecture is accessed to a backbone network for network communication;
and if the terminal equipment is in the same area as the application server of the application program, determining that the network acceleration strategy based on the target network architecture is not accessed to the backbone network.
In a possible implementation manner of the first aspect, the determining the target network channel-based network acceleration policy and the target communication protocol-based network acceleration policy based on the network state information includes:
if it is detected that the currently accessible wireless network is any one of a cellular mobile network and a wireless local area network based on the network state information, and the network signal strength of the wireless network is greater than or equal to a preset signal strength threshold value, determining that the network acceleration strategy based on the target network channel is accessed to the wireless network, and determining that the network acceleration strategy based on the target communication protocol is network communication based on a Transmission Control Protocol (TCP);
if it is detected that the currently accessible wireless network is any one of a cellular mobile network and a wireless local area network based on the network state information and the network signal strength of the wireless network is smaller than a preset signal strength threshold value, determining that the network acceleration strategy based on the target network channel is accessed to the wireless network and determining that the network acceleration strategy based on the target communication protocol is network communication based on a first wireless communication protocol; and the network transmission rate corresponding to the first wireless communication protocol is greater than the network transmission rate corresponding to the TCP.
In a possible implementation manner of the first aspect, the determining the target network channel-based network acceleration policy and the target communication protocol-based network acceleration policy based on the network state information includes:
if it is detected that the currently accessible wireless network comprises a cellular mobile network and a wireless local area network based on the network state information, and the network signal strength of the cellular mobile network and the network signal strength of the wireless local area network are both greater than or equal to a preset signal strength threshold, determining that the network acceleration strategy based on the target network channel is to be accessed to the cellular mobile network or to be accessed to the wireless local area, and determining that the network acceleration strategy based on the target communication protocol is to perform network communication based on TCP;
if it is detected that the currently accessible wireless network comprises a cellular mobile network and a wireless local area network based on the network state information, and the network signal strength of the cellular mobile network and the network signal strength of the wireless local area network are both smaller than a preset signal strength threshold, determining that the network acceleration strategy based on the target network channel is accessed to the cellular mobile network or the wireless local area network, and determining that the network acceleration strategy based on the target communication protocol is network communication based on a first wireless communication protocol; and the network transmission rate corresponding to the first wireless communication protocol is greater than the network transmission rate corresponding to the TCP.
In a possible implementation manner of the first aspect, the determining the target network channel-based network acceleration policy and the target communication protocol-based network acceleration policy based on the network state information includes:
if it is detected that the currently accessible wireless network comprises a cellular mobile network and a wireless local area network based on the network state information, the network signal strength of the cellular mobile network is smaller than a preset signal strength threshold value, and the network signal strength of the wireless local area network is greater than or equal to the preset signal strength threshold value, determining that the network acceleration strategy based on the target network channel is accessed to the wireless local area network, and determining that the network acceleration strategy based on the target communication protocol is network communication based on TCP;
if it is detected that the currently accessible wireless network comprises a cellular mobile network and a wireless local area network based on the network state information, the network signal strength of the cellular mobile network is greater than or equal to a preset signal strength threshold value, and the network signal strength of the wireless local area network is smaller than the preset signal strength threshold value, determining that the network acceleration strategy based on the target network channel is accessed to the cellular mobile, and determining that the network acceleration strategy based on the target communication protocol is network communication based on TCP.
In a possible implementation manner of the first aspect, after performing acceleration processing on the current network of the terminal device based on the target network acceleration policy, the method further includes:
acquiring network communication quality information after network acceleration processing;
and uploading the geographical position information, the network state information, the target network acceleration strategy and the network communication quality information to a communication quality evaluation server.
In a second aspect, an embodiment of the present application provides a terminal device, including:
the first acquisition unit is used for acquiring the current geographical position information and the current network state information of the terminal equipment;
a first detecting unit, configured to detect whether a target network acceleration policy corresponding to the geographic location information and the network status information exists;
and the network acceleration unit is used for accelerating the current network of the terminal equipment based on a target network acceleration strategy if the target network acceleration strategy corresponding to the geographical position information and the network state information exists.
In a third aspect, an embodiment of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the network acceleration method as described in the first aspect is implemented.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the network acceleration method according to the first aspect.
In a fifth aspect, the present application provides a computer program product, which when run on a terminal device, causes the terminal device to execute the network acceleration method of any one of the above first aspects.
In a sixth aspect, an embodiment of the present application provides another network acceleration method, which is applied to a communication quality evaluation server, and includes:
acquiring geographical position information, network state information, a network acceleration strategy and network communication quality information of each terminal device during network communication;
determining an optimal network acceleration strategy of the terminal equipment under the same geographical position information and the same network state information according to the network communication quality information;
and sending the optimal network acceleration strategy to the terminal equipment.
In a possible implementation manner of the sixth aspect, the network communication quality information includes at least one of a communication delay, a communication stuck rate, a communication rate, and a packet loss rate;
correspondingly, the determining the optimal network acceleration strategy of the terminal device under the same geographical location information and the same network state information according to the network communication quality information includes:
calculating the communication quality value of each network acceleration strategy according to the network communication quality information and a preset communication quality value calculation formula; the preset communication quality calculation formula is as follows:
Figure BDA0002317771750000041
the Quality is a communication Quality value, x is a communication rate, a is a preset weight corresponding to the communication rate, y is a communication time delay, b is a preset weight corresponding to the communication time delay, z is a communication pause rate, and c is a preset weight corresponding to the communication pause rate; k is the packet loss rate, and d is the preset weight corresponding to the packet loss rate;
and determining the network acceleration strategy with the maximum communication quality value under the same geographical position information and the same network state information as the optimal network acceleration strategy.
In a seventh aspect, an embodiment of the present application provides a communication quality evaluation server, including:
the first acquisition unit is used for acquiring the current geographical position information and the current network state information of the terminal equipment;
a first detecting unit, configured to detect whether a target network acceleration policy corresponding to the geographic location information and the network status information exists;
and the network acceleration unit is used for accelerating the current network of the terminal equipment based on a target network acceleration strategy if the target network acceleration strategy corresponding to the geographical position information and the network state information exists.
In an eighth aspect, an embodiment of the present application provides a communication quality evaluation server, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor, when executing the computer program, implements the network acceleration method according to the sixth aspect.
In a ninth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the network acceleration method according to the sixth aspect.
In a tenth aspect, an embodiment of the present application provides a computer program product, which, when run on a terminal device, causes the terminal device to execute the network acceleration method of any one of the sixth aspects.
Compared with the prior art, the embodiment of the application has the advantages that:
according to the network acceleration method provided by the embodiment of the application, the current geographical position information and the current network state information of the terminal equipment are obtained; detecting whether a target network acceleration strategy corresponding to the geographical location information and the network state information exists; and if a target network acceleration strategy corresponding to the geographic position information and the network state information exists, performing acceleration processing on the current network of the terminal equipment based on the target network acceleration strategy. Because the geographical location information and the network state information can describe the actual scene where the terminal device is currently located, the target network acceleration strategy corresponding to the geographical location information and the network state information is a network acceleration strategy suitable for the actual scene where the terminal device is currently located, so that the communication quality of the terminal device during network communication in the actual scene where the terminal device is currently located can be improved. Compared with the prior art, the network acceleration strategy adopted by the terminal device in the application during network communication is determined according to the actual scene where the terminal device is located, and is not fixed, so that the communication quality of the terminal device during network communication under various different scenes is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a block diagram illustrating a network acceleration system according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a hardware structure of a mobile phone to which a network acceleration method provided in the embodiment of the present application is applied;
fig. 3 is a schematic software architecture diagram of a mobile phone to which a network acceleration method provided in the embodiment of the present application is applied;
fig. 4 is a schematic flow chart of a network acceleration method provided in an embodiment of the present application;
fig. 5 is a schematic flow chart of a network acceleration method according to another embodiment of the present application;
fig. 6 is a schematic diagram of a target network architecture provided in an embodiment of the present application;
FIG. 7 is a schematic diagram of a target network architecture according to another embodiment of the present application;
FIG. 8 is a schematic flow chart diagram illustrating a network acceleration method according to yet another embodiment of the present application;
fig. 9 is a flowchart illustrating a specific implementation of S431 in a network acceleration method according to an embodiment of the present disclosure;
fig. 10 is a flowchart illustrating an implementation of S4311 in a network acceleration method according to an embodiment of the present disclosure;
FIG. 11 is a schematic flow chart diagram illustrating a network acceleration method according to yet another embodiment of the present application;
fig. 12 is a block diagram of a terminal device according to an embodiment of the present disclosure;
fig. 13 is a schematic structural diagram of a terminal device according to another embodiment of the present application;
FIG. 14 is a schematic flow chart diagram illustrating a network acceleration method according to yet another embodiment of the present application;
fig. 15 is a block diagram illustrating a communication quality evaluation server according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of a communication quality evaluation server according to another embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Referring to fig. 1, fig. 1 is a block diagram of a network acceleration system according to an embodiment of the present disclosure. As shown in fig. 1, the network acceleration system includes a terminal device 110, an application server 120, and a communication quality evaluation server 130. The application server 120 may be an application server of any application installed on the terminal device 110, for example, an application server of a game application, an application server of a chat application, or the like. It should be noted that the application servers of different applications are different, and the geographic locations of the application servers of different applications may be the same or different. Illustratively, fig. 1 shows an application server 120 for each of at least two different applications.
After starting an application, the terminal device 110 generally needs to perform network communication, such as wireless communication, with the application server 120 of the application. For example, after the terminal device starts the video playing application, the video resource generally needs to be acquired from the application server 120 of the video playing application, or when the user needs to upload the video in the video playing application, the terminal device 110 needs to send the video uploaded by the user to the application server 120 of the application for storage. By way of example and not limitation, terminal device 110 may communicate wirelessly with application server 120 via a Wireless local area network (WiFi) or a cellular mobile network.
In the embodiment of the present application, the terminal device 110 may also perform wireless communication with the communication quality evaluation server 130 before performing wireless communication with any application server 120. Specifically, when the terminal device 110 performs wireless communication with any application server 120, an optimal network acceleration policy suitable for the current scene of the terminal device may be obtained from the communication quality evaluation server 130, and the network acceleration policy may be a preferred network acceleration policy when the terminal device 110 performs wireless communication with the application server 120; meanwhile, the terminal device 110 may further perform acceleration processing on the network during wireless communication with the application server 120 based on the corresponding network acceleration policy, and then feed back the network communication quality information after the network acceleration processing to the communication quality evaluation server 130, so that the communication quality evaluation server 130 determines an optimal network acceleration policy that can be adopted by the terminal device during network communication in different scenarios based on the network communication quality information uploaded by each terminal device 110. By way of example and not limitation, in practical applications, terminal device 110 may communicate wirelessly with communication quality assessment server 130 via WiFi or a cellular mobile network.
The network acceleration method provided by the embodiment of the present application may be applied to the terminal device 110 in fig. 1. The terminal device 110 may be a mobile phone, a tablet computer, a wearable device, an in-vehicle device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and the like, and the embodiment of the present application does not limit the specific type of the terminal device.
For example, the terminal device may be a Station (ST) in a WLAN, and may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a handheld communication device, a handheld computing device and/or other devices for Network communication over a wireless system, and a next generation communication system, such as a Mobile terminal in a 5G Network or a Mobile terminal in a future evolved Public Land Mobile Network (PLMN) Network, and so on.
By way of example and not limitation, when the terminal device is a wearable device, the wearable device may also be a generic term for intelligently designing daily wearing by applying wearable technology, developing wearable devices, such as glasses, gloves, watches, clothing, shoes, and the like. A wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction and cloud interaction. The generalized wearable intelligent device has the advantages that the generalized wearable intelligent device is complete in function and large in size, can realize complete or partial functions without depending on a smart phone, such as a smart watch or smart glasses, and only is concentrated on a certain application function, and needs to be matched with other devices such as the smart phone for use, such as various smart bracelets for monitoring physical signs, smart jewelry and the like.
Take the terminal device as a mobile phone as an example. Fig. 2 is a schematic diagram of a hardware structure of a mobile phone to which a network acceleration method provided in the embodiment of the present application is applied. Referring to fig. 2, the mobile phone 200 includes: a Radio Frequency (RF) circuit 210, a memory 220, an input unit 230, a display unit 240, a sensor 250, an audio circuit 260, a wireless fidelity (WiFi) module 270, a processor 280, and a power supply 290. Those skilled in the art will appreciate that the configuration of the handset 200 shown in fig. 1 does not constitute a limitation of the handset 200, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
The following specifically describes each component of the mobile phone 200 with reference to fig. 2:
the RF circuit 210 may be used for receiving and transmitting information, or receiving and transmitting signals during a call, and in particular, receives downlink information of a base station and then sends the received downlink information to the processor 280; in addition, the data for designing uplink is transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 210 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like. For example, in the embodiment of the present application, the mobile phone 200 may interact data with an application server of any application program through the RF circuit 210.
The memory 220 may be used to store software programs and modules, and the processor 280 executes various functional applications and data processing of the mobile phone 200 by operating the software programs and modules stored in the memory 220. The memory 220 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone 200, and the like. Further, the memory 220 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 230 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 200. Specifically, the input unit 230 may include a touch panel 231 and other input devices 232. The touch panel 231, also referred to as a touch screen, may collect touch operations of a user (e.g., operations of the user on or near the touch panel 231 using any suitable object or accessory such as a finger, a stylus, etc.) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 231 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and then provides the touch point coordinates to the processor 280, and can receive and execute commands from the processor 280. In addition, the touch panel 231 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 230 may include other input devices 232 in addition to the touch panel 231. In particular, other input devices 232 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 240 may be used to display information input by the user or information provided to the user and various menus of the cellular phone 200. The Display unit 240 may include a Display panel 241, and optionally, the Display panel 241 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 231 may cover the display panel 241, and when the touch panel 231 detects a touch operation thereon or nearby, the touch panel is transmitted to the processor 280 to determine the type of the touch event, and then the processor 280 provides a corresponding visual output on the display panel 241 according to the type of the touch event. Although in fig. 2, the touch panel 231 and the display panel 241 are two independent components to implement the input and output functions of the mobile phone 200, in some embodiments, the touch panel 231 and the display panel 241 may be integrated to implement the input and output functions of the mobile phone 200.
The handset 200 may also include at least one sensor 250, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 241 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 241 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 260, speaker 261, and microphone 262 may provide an audio interface between a user and the handset 200. The audio circuit 260 may transmit the electrical signal converted from the received audio data to the speaker 261, and convert the electrical signal into a sound signal by the speaker 261 and output the sound signal; on the other hand, the microphone 262 converts the collected sound signals into electrical signals, which are received by the audio circuit 260 and converted into audio data, which are processed by the audio data output processor 280, and then transmitted to, for example, another cellular phone 200 via the RF circuit 210, or output to the memory 220 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone 200 can establish communication connection with an application server of any application program installed therein through the WiFi module 270 so as to realize data interaction between the client and the server of the application program. For example, the handset 200, through the WiFi module 270, may assist the user in sending and receiving e-mails, browsing web pages, accessing streaming media, etc., which provides the user with wireless broadband internet access.
The processor 280 is a control center of the mobile phone 200, connects various parts of the entire mobile phone 200 using various interfaces and lines, and performs various functions of the mobile phone 200 and processes data by operating or executing software programs and/or modules stored in the memory 220 and calling data stored in the memory 220, thereby integrally monitoring the mobile phone 200. Alternatively, processor 280 may include one or more processing units; preferably, the processor 280 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 280.
The handset 200 also includes a power supply 290 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 280 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
The mobile phone 200 further includes a positioning module 2100, and the mobile phone 200 can implement positioning of itself through the positioning module 2100, that is, the mobile phone 200 can obtain geographic location information of its location through the positioning module 2100. The geographical location information may be described by latitude and longitude. By way of example and not limitation, the Positioning module 2100 may be a Positioning module based on a Global Positioning System (GPS), a Positioning module based on a BeiDou Navigation Satellite System (BDS), or another Positioning module capable of implementing a Positioning function.
Although not shown, the handset 200 may also include a camera. Optionally, the position of the camera on the mobile phone 200 may be front-located or rear-located, which is not limited in this embodiment of the application. Optionally, the mobile phone 200 may include a single camera, a dual camera, or a triple camera, which is not limited in this embodiment. For example, the cell phone 200 may include three cameras, one being a main camera, one being a wide camera, and one being a tele camera. Optionally, when the mobile phone 200 includes a plurality of cameras, the plurality of cameras may be all front-mounted, all rear-mounted, or a part of the cameras front-mounted and another part of the cameras rear-mounted, which is not limited in this embodiment of the present application.
In addition, although not shown, the mobile phone 200 may further include a bluetooth module and the like, which will not be described herein.
Referring to fig. 3, fig. 3 is a schematic diagram of a software architecture of a mobile phone to which a network acceleration method according to an embodiment of the present disclosure is applied. Taking the operating system of the mobile phone 200 as an Android system as an example, in some embodiments, the Android system is divided into four layers, which are an application layer, an application Framework (FWK) layer, a system layer and a hardware abstraction layer, and the layers communicate with each other through a software interface.
As shown in fig. 3, the application layer may include a series of application packages, which may include, for example, short message, calendar, camera, video, navigation, gallery, call, payment type applications, and the like.
The Application framework layer provides an Application Programming Interface (API) and a Programming framework for the Application program of the Application layer. The application framework layer may include some predefined functions, such as functions for receiving events sent by the application framework layer.
As shown in FIG. 3, the application framework layers may include a window manager, a resource manager, and a notification manager, among others.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The application framework layer may further include:
a viewing system that includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide the communication functions of the handset 200. Such as management of call status (including on, off, etc.).
The system layer may include a plurality of functional modules. For example: a sensor service module, a physical state identification module, a three-dimensional graphics processing library (such as OpenGL ES), and the like.
The sensor service module is used for monitoring sensor data uploaded by various sensors in a hardware layer and determining the physical state of the mobile phone 200;
the physical state recognition module is used for analyzing and recognizing user gestures, human faces and the like;
the three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The system layer may further include:
the surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The hardware abstraction layer is a layer between hardware and software. The hardware abstraction layer may include a display driver, a camera driver, a sensor driver, etc. for driving the relevant hardware of the hardware layer, such as a display screen, a camera, a sensor, etc.
The following embodiments may be implemented on the cellular phone 200 having the above-described hardware structure/software structure. The following embodiment will take the mobile phone 200 as an example to describe the network acceleration method provided in the embodiment of the present application.
Referring to fig. 4, fig. 4 is a schematic flowchart of a network acceleration method provided in an embodiment of the present application, in which an execution subject of the flowchart in the embodiment is the terminal device 110 in fig. 1, and as an example and not by way of limitation, the terminal device 110 may be the mobile phone 200 shown in fig. 2. As shown in fig. 4, the network acceleration method provided in this embodiment includes steps S41 to S43, which are detailed as follows:
s41: and acquiring the current geographical position information and the current network state information of the terminal equipment.
In this embodiment, in order to improve the communication quality of the terminal device during network communication and further improve the internet experience of a user, the terminal device may obtain current geographic position information and network state information of the terminal device during network communication, and it can be understood that the current geographic position information and the network state information of the terminal device can describe a current actual scene of the terminal.
The network communication of the terminal device may include, but is not limited to, the following scenarios: the terminal device wirelessly communicates with an application server of any application installed therein. For example, after starting the video playing application program, the terminal device generally needs to perform data interaction with the application server of the video playing application program in a wireless communication manner, for example, the terminal device needs to obtain video resources from the application server of the video playing application program, or the terminal device needs to upload the video resources to the application server of the video playing application program.
The geographic location information may be described by a geographic coordinate of the current location of the terminal device, for example, by a longitude and latitude of the current location of the terminal device, and the geographic location information of the terminal device may be, for example, 22 degrees north latitude and 112 degrees east longitude. In practical application, the terminal device may obtain the geographic location information of any application program running thereon through a built-in positioning module thereof, and it can be understood that, when the positioning module is not set in the terminal device, the terminal device may also obtain the geographic location information of any application program running thereon through a base station positioning technology or a WiFi positioning technology, etc.
The network state information is used for describing the wireless networks which can be accessed by the terminal equipment currently and the network signal strength and/or the network congestion degree of each accessible wireless network. In practical applications, the accessible wireless network typically includes a cellular mobile network and/or a wireless local area network. In one embodiment, when a wireless network which can be accessed by a terminal device currently comprises a cellular mobile network, the terminal device acquires the network signal strength and the network congestion degree of the cellular mobile network; in another embodiment, when a wireless network which can be accessed by the terminal equipment currently comprises a wireless local area network, the terminal equipment acquires the network signal strength of the wireless local area network; in still another embodiment, when the wireless networks which can be accessed by the terminal device currently comprise a cellular mobile network and a wireless local area network, the terminal device acquires the network signal strength and the network congestion degree of the cellular mobile network and acquires the network signal strength of the wireless local area network. It should be noted that, the specific means for the terminal device to acquire the network signal strength and the network congestion degree of the cellular mobile network and the network signal strength of the wireless local area network is the prior art, and details are not described here.
S42: detecting whether a target network acceleration policy corresponding to the geographical location information and the network status information exists.
In this embodiment, the network acceleration policy is used to describe a network acceleration scheme capable of improving network communication quality. In practical applications, the network acceleration policy may include at least one of a network acceleration policy based on a network architecture, a network acceleration policy based on a network channel, and a network acceleration policy based on a communication protocol, and may be specifically defined according to actual requirements.
The network acceleration policy based on the network architecture includes but is not limited to: and the access backbone network carries out network communication and the network communication is not carried out. Generally, when two communication parties are not in the same area, accessing a backbone network for network communication can improve the network communication quality of the two communication parties, for example, can reduce the communication delay of network communication; when the two communication parties are in the same area, the two communication parties do not need to access the backbone network when performing network communication, wherein the same area may refer to the same administrative area, such as the same province or the same city.
Network channel-based network acceleration policies include, but are not limited to: access to a cellular mobile network for network communication, access to a dedicated channel of a cellular mobile network for network communication, access to a wireless local area network for network communication, and the like. The dedicated channel of the cellular mobile network may provide Quality of Service (QoS) guarantee for the network communication of the terminal device when the network of the cellular mobile network is congested. Generally, when a network of a cellular mobile network is congested, a dedicated channel accessed to the cellular mobile network for network communication may reduce communication delay and communication delay.
The network acceleration policy based on the communication Protocol includes, but is not limited to, performing network communication based on a Transmission Control Protocol (TCP), performing network communication based on a first wireless communication Protocol, and the like. The network transmission rate corresponding to the first wireless communication protocol is greater than the network transmission rate corresponding to the TCP, and the first wireless communication protocol can reduce communication delay of the terminal equipment in a weak network scene. By way of example and not limitation, the first wireless communication protocol may be a fast UDP Internet Connection (QUIC) protocol. Generally, when a network signal of a wireless network accessed by a terminal device is poor, network communication based on a first wireless communication protocol can increase network communication quality of both communication parties, and when the network signal of the wireless network accessed by the terminal device is good, network communication based on the first wireless communication protocol can increase communication delay, and at this time, network communication based on TCP can be performed.
In a possible implementation manner of this embodiment, after acquiring the geographic location information and the network status information of the terminal device during network communication, the terminal device may detect whether a local storage stores a target network acceleration policy corresponding to the geographic location information and the network status information. It should be noted that the network acceleration policy stored in the local storage of the terminal device may be an optimal network acceleration policy applicable to different scenes and issued by the communication quality evaluation server. In practical application, after performing network communication based on the network after the network acceleration processing each time, the terminal device may upload geographical location information, network state information, an adopted network acceleration policy, and network communication quality information of the terminal device during the network communication to the communication quality evaluation server. And the communication quality evaluation server determines the optimal network acceleration strategy of the terminal equipment during network communication under different scenes based on the information uploaded by the terminal equipment, and issues the determined optimal network acceleration strategy suitable for different scenes to the terminal equipment. The terminal device may store the optimal network acceleration policy applicable to different scenarios issued by the communication quality evaluation server in its local storage. The application to different scenarios specifically refers to application to different geographical location information and/or different network status information.
In another possible implementation manner of this embodiment, in order to save the storage space of the terminal device, after determining the optimal network acceleration policy applicable to different scenarios, the communication quality evaluation server may not issue the optimal network acceleration policy to the terminal device. Based on this, after acquiring the current geographical location information and the network state information of the terminal device each time network communication is performed, the terminal device may acquire a target network acceleration policy corresponding to the geographical location information and the network state information from a communication quality evaluation server based on the geographical location information and the network state information. Specifically, if a target network acceleration policy corresponding to the geographic position information and the network state information is stored in the communication quality evaluation server, the communication quality evaluation server issues the target network acceleration policy to the terminal device.
In another embodiment of the present application, if the communication quality evaluation server does not store the target network acceleration policy corresponding to the geographical location information and the network status information, the communication quality evaluation server sends first feedback information to the terminal device to notify that the terminal device does not have the target network acceleration policy corresponding to the geographical location information and the network status information in the communication quality evaluation server.
S43: and if a target network acceleration strategy corresponding to the geographic position information and the network state information exists, performing acceleration processing on the current network of the terminal equipment based on the target network acceleration strategy.
In this embodiment, when detecting that a target network acceleration policy corresponding to the geographic location information and the network state information exists in the local storage or the communication quality evaluation server of the terminal device, the terminal device obtains the target network acceleration policy from the local storage or the communication quality evaluation server of the terminal device, and accelerates the current network of the terminal device based on the target network acceleration policy.
It is understood that the network acceleration policy may only include a network channel-based network acceleration policy and/or a communication protocol-based network acceleration policy, regardless of the communication distance between the terminal device and the correspondent device.
In a possible implementation manner of this embodiment, if only the network acceleration policy based on the network channel is included in the predefined network acceleration policies, after the terminal device obtains the target network acceleration policy, the terminal device performs acceleration processing on the current network based on the network acceleration policy based on the target network channel included in the target network acceleration policy. Illustratively, if the network acceleration strategy based on the target network channel is to adopt a cellular mobile network for network communication, the terminal device performs network communication with the opposite terminal device by accessing the cellular mobile network; if the network acceleration strategy based on the target network channel is to adopt a special channel of the cellular mobile network for network communication, the terminal equipment performs network communication with opposite terminal equipment through the special channel accessed to the cellular mobile network; if the network acceleration strategy based on the target network channel is to adopt a wireless local area network for network communication, the terminal device performs network communication with the opposite terminal device by accessing the wireless local area network. The peer device may be an application server of any application program.
In another possible implementation manner of this embodiment, if only the network acceleration policy based on the communication protocol is included in the predefined network acceleration policies, after the terminal device obtains the target network acceleration policy, the terminal device performs acceleration processing on the current network based on the network acceleration policy based on the target communication protocol included in the target network acceleration policy. Illustratively, if the network acceleration strategy based on the target communication protocol is network communication based on TCP, the terminal device performs network communication with the peer device based on the TCP protocol; and if the network acceleration strategy based on the target communication protocol is network communication based on the first wireless communication protocol, the terminal equipment performs network communication with the opposite terminal equipment based on the first wireless communication protocol.
In yet another possible implementation manner of this embodiment, if the predefined network acceleration policy includes a network acceleration policy based on a network channel and a network acceleration policy based on a communication protocol at the same time, after acquiring the target network acceleration policy, the terminal device performs acceleration processing on the current network by using the network acceleration policy based on the target network channel and the network acceleration policy based on the target communication protocol. Illustratively, if the network acceleration policy based on the target network channel is to access the wireless local area network for network communication, and the network acceleration policy based on the target communication protocol is to perform network communication based on the first wireless communication protocol, the terminal device accesses the wireless local area network and performs network communication with the peer device based on the first wireless communication protocol.
As can be seen from the above, in the network acceleration method provided in the embodiment of the present application, the current geographical location information and the current network state information of the terminal device are obtained; detecting whether a target network acceleration strategy corresponding to the geographical location information and the network state information exists; and if a target network acceleration strategy corresponding to the geographic position information and the network state information exists, performing acceleration processing on the current network of the terminal equipment based on the target network acceleration strategy. Because the geographical location information and the network state information can describe the actual scene where the terminal device is currently located, the target network acceleration strategy corresponding to the geographical location information and the network state information is a network acceleration strategy suitable for the actual scene where the terminal device is currently located, so that the communication quality of the terminal device during network communication in the actual scene where the terminal device is currently located can be improved. Compared with the prior art, the network acceleration strategy adopted by the terminal device in the application during network communication is determined according to the actual scene where the terminal device is located, and is not fixed, so that the communication quality of the terminal device during network communication under various different scenes is improved.
In another embodiment of the present application, after S42, the network acceleration method may further include:
if a target network acceleration strategy corresponding to the geographical location information and the network state information does not exist, determining the target network acceleration strategy based on the geographical location information and the network state information.
In this embodiment, when detecting that a target network acceleration policy corresponding to the geographic location information and the network state information does not exist in the local storage or the communication quality evaluation server of the terminal device, the terminal device automatically determines a target network acceleration policy applicable to a current scene of the terminal device based on the geographic location information and the network state information.
In a possible implementation manner of this embodiment, when the predefined network acceleration policy does not include a network acceleration policy based on a network architecture, but includes a network acceleration policy based on a network channel and/or a network acceleration policy based on a communication protocol, the terminal device may directly determine the target network acceleration policy applicable to the current scenario where the terminal device is located based on the geographic location information and the network state information without considering a communication distance between the terminal device and the peer device.
Specifically, in this embodiment, the weak network area and the strong network area may be predefined according to the coverage of the wireless network and the traffic of people. The weak network area refers to an area with poor network signal and/or high network congestion, and may include, for example and without limitation, a remote area uncovered by the wireless network or an area with high traffic, for example, a subway, a mall, etc. with high traffic is generally a weak network area. The strong network area refers to an area where network signals are strong and/or network congestion is low, and may include, but is not limited to, an area where traffic is low, for example, a residential area or the like, which is typically a strong network area.
In this embodiment, the terminal device may determine whether it is currently located in the weak network area or the strong network area based on the geographical location information.
Specifically, if the terminal device is currently located in the weak network area, it is indicated that the current network signal of the terminal device is poor or the network congestion degree is high, and at this time, the terminal device may determine that the network acceleration policy based on the target communication protocol is to perform network communication based on the first wireless communication protocol. Meanwhile, if the wireless network which can be accessed by the terminal equipment currently only comprises the cellular mobile network and the network congestion degree of the cellular mobile network is higher, the terminal equipment can determine that the network acceleration strategy based on the target network channel is a special channel accessed to the cellular mobile network for network communication; and if the wireless network which can be accessed by the terminal equipment currently only comprises the wireless local area network, the terminal equipment determines that the network acceleration strategy based on the target network channel is accessed to the wireless local area network for network communication.
If the terminal device is currently located in the strong network area, it indicates that the current network signal of the terminal device is strong, at this time, the terminal device determines that the network acceleration policy based on the target communication protocol is network communication based on TCP, and the terminal device may select any accessible wireless network as a target network channel for accelerating the network based on the network state information.
For example, when a user takes a subway, because the subway is a predefined weak network area, that is, a wireless network signal in the subway is generally poor, in this scenario, the terminal device may determine that the network acceleration policy based on the target communication protocol is to perform network communication based on the first wireless communication protocol, and meanwhile, because there are generally many people in the subway and the network congestion degree of the cellular mobile network is relatively high, the terminal device may determine that the network acceleration policy based on the target network channel is to perform network communication for a dedicated channel accessing the cellular mobile network.
As can be seen from the above, according to the network acceleration strategy provided by this embodiment, when a target network acceleration strategy corresponding to geographic location information and network state information does not exist in a local storage of a terminal device or a communication quality evaluation server, the terminal device determines the target network acceleration strategy capable of improving the network communication quality based on the geographic location information and the network state information, and because the target network acceleration strategy is determined based on an actual scene where the terminal device is currently located, the network communication quality of the terminal device during network communication in the current scene can be improved, and the internet experience of a user is further improved. Meanwhile, the determined target network acceleration strategy can accelerate the network from different aspects such as a network channel, a communication protocol and the like, so that the internet surfing experience of the user is better compared with the prior art that the network is accelerated from one aspect only.
Referring to fig. 5, fig. 5 is a schematic flow chart of a network acceleration method according to another embodiment of the present application, as shown in fig. 5, and as compared with the embodiment corresponding to fig. 4, in the network acceleration method according to the present embodiment, S41 specifically includes S411, and correspondingly, S42 specifically includes S421, which is detailed as follows:
s411: and when the terminal equipment starts a preset application program, acquiring the current geographical position information and the current network state information of the terminal equipment.
The present embodiment is directed to a scenario in which a terminal device performs wireless communication with an application server of any application installed therein. It should be noted that, since the application servers of different applications may be located in different places, that is, the geographic locations of different application servers may be different, for example, the application server of an application may be located in the area a, the application server of another application may be located in the area B, and the communication distance between two communication parties may affect the communication quality when the two communication parties communicate with each other, when the terminal device runs different applications in the same geographic location and the same network state, because the communication distances between the terminal device and the application servers of different applications are different, the network communication quality may be different even if the terminal device uses the same network channel and communication protocol to perform wireless communication with the application servers in different geographic locations respectively, and based on this, the present embodiment determines the target network acceleration policy based on the current geographic location information and the network state information of the terminal device Meanwhile, the application currently running by the terminal device needs to be considered.
Therefore, in this embodiment, the terminal device may obtain current geographical location information and current network state information of the terminal device when starting a predetermined application program.
The predetermined application program may be any application program installed on the terminal device.
S421: detecting whether a target network acceleration policy associated with the application and matching the geographic location information and the network status information exists.
In a possible implementation manner of this embodiment, after acquiring geographic location information and network status information when a predetermined application program is started by a terminal device, it may be detected whether a target network acceleration policy associated with the application program and matched with the geographic location information and the network status information is stored in a local storage.
It should be noted that the network acceleration policy stored in the local storage of the terminal device is issued by the communication quality evaluation server, and is an optimal network acceleration policy for different application programs under various geographical location information and various network state information. Specifically, after performing network communication with an application server of an application program each time, the terminal device may upload identification information of the application program, geographical location information of the application program during network communication, network state information, an adopted network acceleration policy, and network communication quality information to the communication quality evaluation server. And the communication quality evaluation server determines the optimal network acceleration strategy when the terminal equipment performs network communication with application servers of different application programs under different scenes based on the information uploaded by each terminal equipment, and issues the optimal network acceleration strategy to each terminal equipment. The terminal device can associate the optimal network acceleration strategies of each application program issued by the communication quality evaluation server under different scenes with the corresponding application program respectively, and store the optimal network acceleration strategies in the local memory of the terminal device.
In another possible implementation manner of this embodiment, in order to save the storage space of the terminal device, after determining the optimal network acceleration policy of different applications in different scenes, the communication quality evaluation server may not issue the optimal network acceleration policy to the terminal device. Based on this, after the terminal device starts a predetermined application program each time and acquires the current geographic location information and the network state information of the terminal device, a target network acceleration policy associated with the application program and matched with the geographic location information and the network state information may be acquired from the communication quality evaluation server based on the identification information of the application program, the geographic location information, and the network state information. Specifically, if a target network acceleration policy associated with the application program and matched with the geographical location information and the network state information is stored in the communication quality evaluation server, the target network acceleration policy is issued to the terminal device. In practical applications, the identification information of the application program may be the name of the application program, or the product number of the application program.
In another embodiment of the present application, if a target network acceleration policy associated with the application and matching the geographic location information and the network status information is not stored in the communication quality evaluation server, the communication quality evaluation server sends first feedback information to the terminal device to notify that the terminal device does not have the target network acceleration policy associated with the application and matching the geographic location information and the network status information in the communication quality evaluation server.
In a specific embodiment of the present application, after S421, the network acceleration method may further include the following steps:
and if a target network acceleration strategy which is associated with the application program and is matched with the geographic position information and the network state information exists, performing acceleration processing on the current network of the terminal equipment based on the target network acceleration strategy.
In this embodiment, when detecting that a target network acceleration policy associated with the application and matching the geographic location information and the network status information exists in the local storage or the communication quality evaluation server of the terminal device, the terminal device obtains the target network acceleration policy from the local storage or the communication quality evaluation server of the terminal device, and accelerates the current network of the terminal device based on the target network acceleration policy.
The terminal device may perform acceleration processing on the current network of the terminal device based on the target network acceleration policy specifically by performing wireless communication with an application server of an application program currently running on the terminal device according to a network acceleration policy based on a target network architecture, a network acceleration policy based on a target network channel, and a network acceleration policy based on a target communication protocol, which are included in the target network acceleration policy.
For example, if the network acceleration policy based on the target network architecture is to access a backbone network for network communication, the terminal device needs to access the backbone network to implement wireless communication with the application server of the application program. Referring to fig. 6, fig. 6 is a schematic diagram of a target network architecture adopted when a terminal device performs wireless communication with an application server of an application program when a network acceleration policy based on the target network architecture performs network communication for accessing a backbone network, as shown in fig. 6, a1 is a backbone network node of an area where the terminal device is located, and A3 is a backbone network node of an area where the application server of the application program is located. In a possible case of this example, when the network acceleration policy based on the target network channel is to access the cellular mobile network, the terminal device may access the core network through the base station, and the core network accesses the backbone network through a1, so that the core network may transmit data transmitted by the terminal device through the base station to a1, further transmit data to A3 through a1, and transmit data to the application server of the application program through A3, thereby implementing wireless communication between the terminal device and the application server of the application program. In another possible case of this example, when the network acceleration policy based on the target network channel is to access the wireless lan, the terminal device may access the network switch through the WiFi router, and the network switch accesses the backbone network through a1, so that the network switch may transmit data transmitted by the terminal device through the WiFi router to a1, further transmit data to A3 through a1, and transmit data to the application server through A3, thereby implementing wireless communication between the terminal device and the application server.
If the network acceleration strategy based on the target network architecture is not to access the backbone network, the terminal equipment does not need to access the backbone network when performing wireless communication with the application server. Referring to fig. 7 together, fig. 7 is a schematic diagram of a target network architecture used when the network acceleration policy based on the target network architecture is not to access the backbone network, and when the network acceleration policy based on the target network architecture is to access the cellular mobile network, as shown in fig. 7, in a possible case of this example, when the network acceleration policy based on the target network channel is to access the cellular mobile network, the terminal device may access the core network through the base station, and the core network directly transmits data transmitted by the terminal device through the base station to the application server, thereby implementing wireless communication between the terminal device and the application server. In another possible case of this example, when the network acceleration policy based on the target network channel is to access the wireless local area network, the terminal device may access the network switch through the WiFi router, and the network switch directly transmits data transmitted by the terminal device through the WiFi router to the application server, thereby implementing wireless communication between the terminal device and the application server.
In each of the above cases, when the network acceleration policy based on the target communication protocol is network communication based on TCP, the terminal device performs wireless communication with the application server based on TCP; when the network acceleration policy based on the target communication protocol is network communication based on the first wireless communication protocol, the terminal device wirelessly communicates with the application server based on the first wireless communication protocol.
As can be seen from the above, according to the network acceleration method provided in the embodiment of the present application, when the terminal device starts a predetermined application program, the current geographic location information and the network state information of the terminal device are obtained, and because the geographic location information and the network state information can describe an actual scene where the terminal device runs the application program, a target network acceleration policy associated with the application program and matched with the geographic location information and the network state information is an optimal network acceleration policy applicable to the actual scene where the terminal device is located, so that the communication quality when the terminal device performs wireless communication with the application server can be improved.
Referring to fig. 8, fig. 8 is a schematic flow chart of a network acceleration method according to still another embodiment of the present application, and as shown in fig. 8, compared to the embodiment corresponding to fig. 5, the network acceleration method according to the present embodiment further includes, after S421, S431, which is detailed as follows:
s431: if there is no target network acceleration policy associated with the application and matching the geographic location information and the network status information, determining the target network acceleration policy based on the application, the geographic location information, and the network status information.
In this embodiment, when the terminal device detects that there is no target network acceleration policy associated with the application program and matching the geographic location information and the network status information in the local storage or the communication quality evaluation server of the terminal device, the terminal device may determine the target network acceleration policy based on the application program, the geographic location information, and the network status information.
Specifically, since the network acceleration policy based on the network architecture needs to be determined according to the communication distance between the terminal device and the application server, S431 may be specifically implemented by S4311 to S4312 shown in fig. 9, which is detailed as follows:
s4311: determining the target network architecture based network acceleration policy based on the application and the geographic location information.
In this embodiment, the predefined network acceleration policy includes a network acceleration policy based on a network architecture, and the network acceleration policy based on the network architecture needs to be determined according to a communication distance between two communication parties, specifically, according to whether the two communication parties are in the same area, for example, when the terminal device and an application server of an application program are not in the same area, the terminal device needs to access a backbone network to perform wireless communication with the application server, so as to improve communication quality when the terminal device and the application server perform wireless communication, and at this time, the network acceleration policy based on the network architecture performs network communication for accessing the backbone network; when the terminal device and the application server of the application program are in the same area, the terminal device and the application server do not need to access a backbone network when performing wireless communication, and at the moment, the network acceleration strategy based on the network architecture is not to access the backbone network.
Further, since the geographical location where the application server of each application is located is usually determined and known, each application may be stored in the terminal device in association with the geographical location information of its application server in advance. When determining the network acceleration policy based on the target network architecture, the terminal device may obtain geographic location information of an application server of an application program based on the currently running application program, and determine the network acceleration policy based on the target network architecture based on the geographic location information of the application server and the current geographic location information of the terminal device.
Specifically, S4311 may include S43111 to S43113 shown in fig. 10, which are detailed as follows:
s43111: and determining whether the terminal equipment and an application server of the application program are in the same area or not according to the geographical position information.
S43112: and if the terminal equipment is not in the same area with the application server of the application program, determining that the network acceleration strategy based on the target network architecture is accessed to a backbone network for network communication.
S43113: and if the terminal equipment is in the same area as the application server of the application program, determining that the network acceleration strategy based on the target network architecture is not accessed to the backbone network.
In this embodiment, after determining, by the terminal device, the geographical location information of the application server of the application program based on the currently running application program, it is determined whether the terminal device and the application server of the application program are in the same area according to the geographical location information of the application server and the current geographical location information of the terminal device. Wherein the same region may be the same administrative district, such as a city or province.
If the terminal equipment detects that the terminal equipment is not in the same area with the application server of the application program, determining that a network acceleration strategy based on a target network architecture is accessed to a backbone network for network communication; and if the terminal equipment detects that the terminal equipment and the application server of the application program are in the same area, determining that the network acceleration strategy based on the target network architecture is not accessed to a backbone network.
S4312: determining the target network channel-based network acceleration policy based on the network status information and determining the target communication protocol-based network acceleration policy.
In this embodiment, if the terminal device detects that the target network acceleration policy associated with the application program and matching with the geographic location information and the network status information does not exist in the local storage or the communication quality evaluation server of the terminal device, the terminal device may determine, based on the current network status information of the terminal device, a network acceleration policy based on a target network channel and a network acceleration policy based on a target communication protocol.
In practical application, when the network signal strength of the wireless network accessed by the terminal device is poor, if the wireless communication is performed with the application server based on the traditional TCP, the communication quality when the wireless communication is performed between the terminal device and the application server is poor, which affects the internet experience of the user. When the network signal strength of the wireless network accessed by the terminal device is good, the communication delay may be increased by adopting the wireless communication protocol with the faster network transmission rate.
Based on this, when the wireless networks currently accessible to the terminal device include only one type, S4322 may specifically include the following steps:
if it is detected that the currently accessible wireless network is any one of a cellular mobile network and a wireless local area network based on the network state information, and the network signal strength of the wireless network is greater than or equal to a preset signal strength threshold value, determining that the network acceleration strategy based on the target network channel is accessed to the wireless network, and determining that the network acceleration strategy based on the target communication protocol is network communication based on a Transmission Control Protocol (TCP);
if it is detected that the currently accessible wireless network is any one of a cellular mobile network and a wireless local area network based on the network state information and the network signal strength of the wireless network is smaller than a preset signal strength threshold value, determining that the network acceleration strategy based on the target network channel is accessed to the wireless network and determining that the network acceleration strategy based on the target communication protocol is network communication based on a first wireless communication protocol; and the network transmission rate corresponding to the first wireless communication protocol is greater than the network transmission rate corresponding to the TCP.
In this embodiment, if the terminal device detects that the currently accessible wireless network is any one of a cellular mobile network and a wireless local area network, the terminal device determines that the network acceleration policy based on the target network channel is to access the wireless network for network communication. Specifically, if the terminal device detects that the currently accessible wireless network only includes the wireless local area network, the terminal device determines that the network acceleration policy based on the target network channel performs network communication for accessing the wireless local area network. If the terminal device detects that the currently accessible wireless network only comprises the cellular mobile network, the network congestion degree of the cellular mobile network can be further compared with a preset congestion degree threshold value, and if the network congestion degree of the cellular mobile network is smaller than or equal to the preset congestion degree threshold value, the terminal device determines that a network acceleration strategy based on a target network channel performs network communication for accessing the cellular mobile network; and if the network congestion degree of the cellular mobile network is greater than the preset congestion degree threshold value, the terminal equipment determines that the network acceleration strategy based on the target network channel is a special channel accessed to the cellular mobile network for network communication. Wherein, the preset congestion degree threshold value can be set according to the actual situation.
Further, after the terminal device determines a network acceleration strategy based on the target network channel, the network signal strength of the currently accessible wireless network is compared with a preset signal strength threshold. Specifically, if the terminal device detects that the network signal strength of the currently accessible wireless network is greater than or equal to the preset signal strength threshold, it indicates that the communication quality in the communication process can meet the preset requirement by performing wireless communication based on the TCP, and at this time, the terminal device determines that the network acceleration policy based on the target communication protocol is to perform network communication based on the transmission control protocol TCP. If the terminal device detects that the network signal intensity of the currently accessible wireless network is smaller than a preset signal intensity threshold value, it indicates that the communication quality in the communication process cannot reach a preset requirement by performing wireless communication based on the TCP, and at this time, the terminal device determines that the network acceleration strategy based on the target communication protocol is to perform network communication based on the first wireless communication protocol of the transmission control protocol. The preset signal intensity threshold is the minimum value of network signal intensity required for ensuring that the communication quality can reach the preset requirement when wireless communication is carried out based on TCP. The network transmission rate corresponding to the first wireless communication protocol is greater than the network transmission rate corresponding to the TCP.
In another possible implementation manner of this embodiment, when the wireless networks currently accessible to the terminal device include two types, S4322 may specifically include the following steps:
if it is detected that the currently accessible wireless network comprises a cellular mobile network and a wireless local area network based on the network state information, and the network signal strength of the cellular mobile network and the network signal strength of the wireless local area network are both greater than or equal to a preset signal strength threshold, determining that the network acceleration strategy based on the target network channel is to be accessed to the cellular mobile network or to be accessed to the wireless local area, and determining that the network acceleration strategy based on the target communication protocol is to perform network communication based on TCP;
if it is detected that the currently accessible wireless network comprises a cellular mobile network and a wireless local area network based on the network state information, and the network signal strength of the cellular mobile network and the network signal strength of the wireless local area network are both smaller than a preset signal strength threshold, determining that the network acceleration strategy based on the target network channel is accessed to the cellular mobile network or the wireless local area network, and determining that the network acceleration strategy based on the target communication protocol is network communication based on a first wireless communication protocol; and the network transmission rate corresponding to the first wireless communication protocol is greater than the network transmission rate corresponding to the TCP.
In this embodiment, if the terminal device detects that the currently accessible wireless network includes a cellular mobile network and a wireless local area network, the terminal device needs to determine a network acceleration policy based on a target network channel according to the respective network signal strengths and/or network congestion degrees of the cellular mobile network and the wireless local area network.
Specifically, if the terminal device detects that the network signal strengths of the cellular mobile network and the wireless local area network are both greater than or equal to the preset signal strength threshold, the terminal device may select one of the cellular mobile network and the wireless local area network as a wireless network to be accessed corresponding to the network acceleration policy based on the target network channel, that is, the terminal device determines that the network acceleration policy based on the target network channel is accessed to the cellular mobile network or the wireless local area network for network communication, and at the same time, the terminal device determines that the network acceleration policy based on the target communication protocol is accessed to the TCP for network communication. Further, when the terminal device determines that the network acceleration policy based on the target network channel is to access the cellular mobile network, the terminal device may further determine whether to access a dedicated channel of the cellular mobile network according to the network congestion degree of the cellular mobile network, specifically, if the network congestion degree of the cellular mobile network is greater than a preset congestion degree threshold, the terminal device determines that the network acceleration policy of the target network channel is to access the dedicated channel of the cellular mobile network for network communication; and if the network congestion degree of the cellular mobile network is smaller than or equal to the preset congestion degree threshold value, the terminal equipment determines that the network acceleration strategy of the target network channel is accessed into the cellular mobile network for network communication.
If the terminal device detects that the network signal strengths of the cellular mobile network and the wireless local area network are both smaller than the preset signal strength threshold value, the terminal device may select one of the cellular mobile network and the wireless local area network as a wireless network to be accessed corresponding to the network acceleration policy based on the target network channel, that is, the terminal device determines that the network acceleration policy based on the target network channel is accessed to the cellular mobile network or the wireless local area network for network communication, and meanwhile, the network acceleration policy based on the target communication protocol is accessed to the first wireless communication protocol for network communication. Further, when the terminal device determines that the network acceleration policy based on the target network channel is to access the cellular mobile network, the terminal device may further determine whether to access a dedicated channel of the cellular mobile network according to the network congestion degree of the cellular mobile network, specifically, if the network congestion degree of the cellular mobile network is greater than a preset congestion degree threshold, the terminal device determines that the network acceleration policy of the target network channel is to access the dedicated channel of the cellular mobile network for network communication; and if the network congestion degree of the cellular mobile network is smaller than or equal to the preset congestion degree threshold value, the terminal equipment determines that the network acceleration strategy of the target network channel is accessed into the cellular mobile network for network communication.
In another possible implementation manner of this embodiment, when the wireless networks currently accessible to the terminal device include two types, S4322 may further include the following steps:
if it is detected that the currently accessible wireless network comprises a cellular mobile network and a wireless local area network based on the network state information, the network signal strength of the cellular mobile network is smaller than a preset signal strength threshold value, and the network signal strength of the wireless local area network is greater than or equal to the preset signal strength threshold value, determining that the network acceleration strategy based on the target network channel is accessed to the wireless local area network, and determining that the network acceleration strategy based on the target communication protocol is network communication based on TCP;
if it is detected that the currently accessible wireless network comprises a cellular mobile network and a wireless local area network based on the network state information, the network signal strength of the cellular mobile network is greater than or equal to a preset signal strength threshold value, and the network signal strength of the wireless local area network is smaller than the preset signal strength threshold value, determining that the network acceleration strategy based on the target network channel is accessed to the cellular mobile, and determining that the network acceleration strategy based on the target communication protocol is network communication based on TCP.
In this embodiment, if the terminal device detects that the currently accessible wireless network includes a cellular mobile network and a wireless local area network, but the network signal strength of one of the wireless networks is greater than or equal to a preset signal strength threshold, and the network signal strength of the other wireless network is less than the preset signal strength threshold, the terminal device may determine the wireless network whose network signal strength is greater than or equal to the preset signal strength threshold as a wireless network to be accessed corresponding to a network acceleration policy based on a target network channel, and at the same time, the terminal device determines the network acceleration policy based on a target communication protocol as a network communication based on TCP; or the terminal device may further determine a wireless network with a network signal strength smaller than a preset signal strength threshold as a wireless network to be accessed corresponding to the network acceleration policy based on the target network channel, and at the same time, the terminal device determines the network acceleration policy based on the target communication protocol as network communication based on the first wireless communication protocol.
Specifically, if the terminal device detects that the currently accessible wireless network includes a cellular mobile network and a wireless local area network, the network signal strength of the cellular mobile network is smaller than a preset signal strength threshold value, and the network signal strength of the wireless local area network is greater than or equal to the preset signal strength threshold value, the terminal device may determine that the network acceleration policy based on the target network channel is to access the wireless local area network for network communication, and meanwhile, the terminal device determines that the network acceleration policy based on the target communication protocol is to perform network communication based on TCP; alternatively, the terminal device may determine that the network acceleration policy based on the target network channel is to access the cellular mobile network for network communication, and at the same time, the terminal device determines that the network acceleration policy based on the target communication protocol is to perform network communication based on the first wireless communication protocol. Further, when the terminal device determines that the network acceleration policy based on the target network channel is to access the cellular mobile network, the terminal device may further determine whether to access a dedicated channel of the cellular mobile network according to the network congestion degree of the cellular mobile network, specifically, if the network congestion degree of the cellular mobile network is greater than a preset congestion degree threshold, the terminal device determines that the network acceleration policy of the target network channel is to access the dedicated channel of the cellular mobile network for network communication; and if the network congestion degree of the cellular mobile network is smaller than or equal to the preset congestion degree threshold value, the terminal equipment determines that the network acceleration strategy of the target network channel is accessed into the cellular mobile network for network communication.
If the terminal device detects that the currently accessible wireless network comprises a cellular mobile network and a wireless local area network, the network signal intensity of the cellular mobile network is greater than or equal to a preset signal intensity threshold value, and the network signal intensity of the wireless local area network is smaller than the preset signal intensity threshold value, the terminal device can determine that the network acceleration strategy based on the target network channel is used for accessing the cellular mobile network for network communication, and meanwhile, the terminal device determines that the network acceleration strategy based on the target communication protocol is used for network communication based on TCP; or, the terminal device may perform network communication for accessing the wireless local area network based on the network acceleration policy of the target network channel, and at the same time, the terminal device determines that the network acceleration policy based on the determined target communication protocol is to perform network communication based on the first wireless communication protocol. Further, when the terminal device determines that the network acceleration policy based on the target network channel is to access the cellular mobile network, the terminal device may further determine whether to access a dedicated channel of the cellular mobile network according to the network congestion degree of the cellular mobile network, specifically, if the network congestion degree of the cellular mobile network is greater than a preset congestion degree threshold, the terminal device determines that the network acceleration policy of the target network channel is to access the dedicated channel of the cellular mobile network for network communication; and if the network congestion degree of the cellular mobile network is smaller than or equal to the preset congestion degree threshold value, the terminal equipment determines that the network acceleration strategy of the target network channel is accessed into the cellular mobile network for network communication.
In this embodiment, after determining a network acceleration policy based on a target network architecture, a network acceleration policy based on a target network channel, and a network acceleration policy based on a target communication protocol, the terminal device accelerates a network when performing wireless communication with the application server based on the determined network acceleration policy based on the target network architecture, the network acceleration policy based on the target network channel, and the network acceleration policy based on the target communication protocol.
As can be seen from the above, in the network acceleration method provided in this embodiment, when there is no target network acceleration policy that is associated with the application currently running by the terminal device and matches the current geographic location information and the network state information of the terminal device, the terminal device determines the target network acceleration policy based on the application, the geographic location information, and the network state information, and because the target network acceleration policy is determined based on the actual scene where the terminal device is currently located, the communication quality when the terminal device and the application server perform wireless communication can be improved, and the internet surfing experience of the user is improved. Meanwhile, the target network acceleration strategy can accelerate the network when the terminal device performs network communication from different aspects such as network architecture, network channel and communication protocol, and compared with the prior art that the network when the terminal device performs network communication is accelerated from one aspect only, the target network acceleration strategy can enable a user to have better internet surfing experience.
Referring to fig. 11, fig. 11 is a schematic flow chart of a network acceleration method according to another embodiment of the present application, and as shown in fig. 11, the network acceleration method according to the present embodiment further includes S44 to S45 after S43, which is detailed as follows:
s44: and acquiring the network communication quality information after network acceleration processing.
In this embodiment, in order to enable the communication quality evaluation server to determine the optimal network acceleration strategy when the terminal device performs network communication in different scenes based on the mass network communication quality information, the terminal device may acquire the network communication quality information when performing network communication using the network after the network acceleration processing each time the terminal device performs network communication based on the network after the network acceleration processing.
The network communication quality information may include, but is not limited to, at least one of a communication delay, a communication delay rate, a communication rate, a packet loss rate, and the like. It can be understood that, because the functions implemented by the different types of application programs are different, for example, the video playing application program generally has functions of video playing, video downloading, video uploading, and the like, and the social application program generally has functions of picture displaying, chatting, and the like, for different functions of the application program, the network communication quality when the terminal device performs network communication can be described through different network communication quality information. For example, for a video playing function of a video playing application program, the communication delay may specifically be a start-playing delay during video playing, and the communication pause rate may specifically be the pause number during video playing; for the video downloading function of the video playing application program, the communication rate may specifically be a video downloading rate; for the video uploading function of the video playing application program, the communication rate can be specifically the video uploading rate; for the picture display function of the social application program, the communication delay may be a picture loading delay; for the chat function of the social application program, the communication delay may be information sending or receiving delay, and may be determined according to actual conditions.
Illustratively, when the terminal device runs a video playing application program and plays a video, the terminal device needs to acquire a video resource to be played from an application server of the application program and play the video to be played after acquiring the video resource to be played, so that the terminal device can determine the time length of an interval from the start of acquiring the video resource to the start of playing the video as the video starting time delay, and further, the terminal device can count the pause times in the whole video playing process in the video playing process, so as to obtain the network communication quality information when the terminal device wirelessly communicates with the application server of the video playing application program.
S45: and uploading the geographical position information, the network state information, the target network acceleration strategy and the network communication quality information to a communication quality evaluation server.
In a possible implementation manner of this embodiment, after acquiring network communication quality information when the network performs network communication by using a network after the network acceleration processing, the terminal device may generate communication feedback information based on geographical location information, network state information, an adopted network acceleration policy, and the network communication quality information when the terminal device performs network communication, and upload the communication feedback information to the communication quality evaluation server. After receiving the communication feedback information, the communication quality evaluation server may determine the optimal network acceleration strategy under the same geographical location information and the same network state information based on the network communication quality information included in each piece of communication feedback information, and determine the optimal network acceleration strategy under the same geographical location information and the same network state information as the target network acceleration strategy corresponding to the geographical location information and the network state information.
In another possible implementation manner of this embodiment, after the terminal device performs network communication with an application server of an application program by using a target network acceleration policy, the terminal device may generate communication feedback information based on identification information of the application program, geographical location information when the terminal device runs the application program, network state information, an adopted network acceleration policy, and network communication quality information, and upload the communication feedback information to the communication quality evaluation server.
After receiving the communication feedback information sent by each terminal device, the communication quality evaluation server may determine an optimal target network acceleration strategy of each application program under each piece of geographical location information and each piece of network state information based on the network communication quality information included in each piece of communication feedback information, and associate all the optimal target network acceleration strategies under each application program with the corresponding application program.
As can be seen from the above, in the network acceleration method provided in this embodiment, after the terminal device performs wireless communication with the application server each time, the terminal device feeds back the network communication quality information corresponding to the network acceleration policy adopted when the terminal device performs wireless communication with the application server to the communication quality evaluation server, so that the communication quality evaluation server can evaluate the communication quality when the terminal device performs wireless communication with the application server by using different network acceleration policies in different scenes based on the network communication quality information fed back when each terminal device runs the application program in different scenes, and further determine the optimal target network acceleration policy when the terminal device performs wireless communication with any application server in different scenes, so that when any terminal device runs the same application program in the same scene, the communication quality evaluation server can determine the optimal target network acceleration policy suitable for the scene in advance by using the communication quality evaluation server The method is slightly recommended to the terminal equipment, so that the terminal equipment performs wireless communication with the application server based on the target network acceleration strategy, and the communication quality of the terminal equipment during wireless communication with the application server can be improved. Meanwhile, the step of evaluating the communication quality is carried out in the communication quality evaluation server instead of the terminal equipment, so that a processor of the terminal equipment does not need to execute complex data processing operation, and the processor resource of the terminal equipment is saved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Corresponding to the network acceleration method described in the foregoing embodiment, fig. 12 shows a block diagram of a terminal device provided in the embodiment of the present application, where the terminal device includes units for executing the steps in the foregoing embodiment. With specific reference to the description of the embodiments, for convenience of illustration, only the portions related to the embodiments of the present application are shown. Referring to fig. 12, the terminal device 110 includes a first obtaining unit 101, a first detecting unit 102, and a network accelerating unit 103. Wherein:
the first obtaining unit 101 is configured to obtain current geographical location information and current network status information of the terminal device.
The first detecting unit 102 is configured to detect whether a target network acceleration policy corresponding to the geographical location information and the network status information exists.
If a target network acceleration policy corresponding to the geographical location information and the network state information exists, the network acceleration unit 103 performs acceleration processing on the current network of the terminal device based on the target network acceleration policy.
In a possible implementation manner of this embodiment, the first obtaining unit 101 is specifically configured to:
when the terminal equipment starts a preset application program, acquiring the current geographical position information and the current network state information of the terminal equipment;
correspondingly, the first detecting unit 102 is specifically configured to:
detecting whether a target network acceleration policy associated with the application and matching the geographic location information and the network status information exists.
In a possible implementation manner of this embodiment, the terminal device 110 further includes a second determining unit.
The second determining unit is configured to determine a target network acceleration policy based on the application program, the geographic location information, and the network status information if the target network acceleration policy does not exist, the target network acceleration policy being associated with the application program and matching the geographic location information and the network status information.
In a possible implementation manner of this embodiment, the target network acceleration policy includes at least one of a network acceleration policy based on a target network architecture, a network acceleration policy based on a target network channel, and a network acceleration policy based on a target communication protocol;
correspondingly, the second determining unit specifically includes a third determining unit and a fourth determining unit. Wherein:
the third determining unit is used for determining the network acceleration strategy based on the target network architecture based on the application program and the geographic position information.
The fourth determining unit is configured to determine the target network channel-based network acceleration policy and the target communication protocol-based network acceleration policy based on the network status information.
In a possible implementation manner of this embodiment, the third determining unit specifically includes an area determining unit, a first network architecture determining unit, and a second network architecture determining unit. Wherein:
the area determining unit is used for determining whether the terminal equipment and an application server of the application program are in the same area or not according to the geographical position information.
The first network architecture determining unit is configured to determine that the network acceleration policy based on the target network architecture is to access a backbone network for network communication if the terminal device and the application server of the application program are not in the same area.
The second network architecture determining unit is configured to determine that the network acceleration policy based on the target network architecture is not accessed to the backbone network if the terminal device is in the same area as the application server of the application program.
In a possible implementation manner of this embodiment, the fourth determining unit is specifically configured to:
if it is detected that the currently accessible wireless network is any one of a cellular mobile network and a wireless local area network based on the network state information, and the network signal strength of the wireless network is greater than or equal to a preset signal strength threshold value, determining that the network acceleration strategy based on the target network channel is accessed to the wireless network, and determining that the network acceleration strategy based on the target communication protocol is network communication based on a Transmission Control Protocol (TCP);
if it is detected that the currently accessible wireless network is any one of a cellular mobile network and a wireless local area network based on the network state information and the network signal strength of the wireless network is smaller than a preset signal strength threshold value, determining that the network acceleration strategy based on the target network channel is accessed to the wireless network and determining that the network acceleration strategy based on the target communication protocol is network communication based on a first wireless communication protocol; and the network transmission rate corresponding to the first wireless communication protocol is greater than the network transmission rate corresponding to the TCP.
In a possible implementation manner of this embodiment, the fourth determining unit is further specifically configured to:
if it is detected that the currently accessible wireless network comprises a cellular mobile network and a wireless local area network based on the network state information, and the network signal strength of the cellular mobile network and the network signal strength of the wireless local area network are both greater than or equal to a preset signal strength threshold, determining that the network acceleration strategy based on the target network channel is to be accessed to the cellular mobile network or to be accessed to the wireless local area, and determining that the network acceleration strategy based on the target communication protocol is to perform network communication based on TCP;
if it is detected that the currently accessible wireless network comprises a cellular mobile network and a wireless local area network based on the network state information, and the network signal strength of the cellular mobile network and the network signal strength of the wireless local area network are both smaller than a preset signal strength threshold, determining that the network acceleration strategy based on the target network channel is accessed to the cellular mobile network or the wireless local area network, and determining that the network acceleration strategy based on the target communication protocol is network communication based on a first wireless communication protocol; and the network transmission rate corresponding to the first wireless communication protocol is greater than the network transmission rate corresponding to the TCP.
In a possible implementation manner of this embodiment, the fourth determining unit is further specifically configured to:
if it is detected that the currently accessible wireless network comprises a cellular mobile network and a wireless local area network based on the network state information, the network signal strength of the cellular mobile network is smaller than a preset signal strength threshold value, and the network signal strength of the wireless local area network is greater than or equal to the preset signal strength threshold value, determining that the network acceleration strategy based on the target network channel is accessed to the wireless local area network, and determining that the network acceleration strategy based on the target communication protocol is network communication based on TCP;
if it is detected that the currently accessible wireless network comprises a cellular mobile network and a wireless local area network based on the network state information, the network signal strength of the cellular mobile network is greater than or equal to a preset signal strength threshold value, and the network signal strength of the wireless local area network is smaller than the preset signal strength threshold value, determining that the network acceleration strategy based on the target network channel is accessed to the cellular mobile, and determining that the network acceleration strategy based on the target communication protocol is network communication based on TCP.
In a possible implementation manner of this embodiment, the terminal device 110 further includes a second obtaining unit and an information sending unit. Wherein:
the second obtaining unit is used for obtaining the network communication quality information after the network acceleration processing.
The information sending unit is used for uploading the geographical position information, the network state information, the target network acceleration strategy and the network communication quality information to a communication quality evaluation server.
As can be seen from the above, according to the terminal device provided in the embodiment of the present application, the current geographical location information and the current network state information of the terminal device are obtained; detecting whether a target network acceleration strategy corresponding to the geographical location information and the network state information exists; and if a target network acceleration strategy corresponding to the geographic position information and the network state information exists, performing acceleration processing on the current network of the terminal equipment based on the target network acceleration strategy. Because the geographical location information and the network state information can describe the actual scene where the terminal device is currently located, the target network acceleration strategy corresponding to the geographical location information and the network state information is a network acceleration strategy suitable for the actual scene where the terminal device is currently located, so that the communication quality of the terminal device during network communication in the actual scene where the terminal device is currently located can be improved. Compared with the prior art, the network acceleration strategy adopted by the terminal device in the application during network communication is determined according to the actual scene where the terminal device is located, and is not fixed, so that the communication quality of the terminal device during network communication under various different scenes is improved.
Referring to fig. 13, fig. 13 is a schematic structural diagram of a terminal device according to another embodiment of the present application. As shown in fig. 13, the terminal device 110 of this embodiment includes: at least one processor 130 (only one shown in fig. 13), a memory 131, and a computer program 132 stored in the memory 131 and executable on the at least one processor 130, the processor 130 implementing the steps in any of the various network acceleration method embodiments described above when executing the computer program 132.
The terminal device 110 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 130, a memory 131. Those skilled in the art will appreciate that fig. 13 is merely an example of terminal device 110, and does not constitute a limitation on terminal device 110, and may include more or less components than those shown, or combine some components, or different components, such as input and output devices, network access devices, etc.
The Processor 130 may be a Central Processing Unit (CPU), and the Processor 130 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 131 may be an internal storage unit of the terminal device 110 in some embodiments, for example, a hard disk or a memory of the terminal device 110. The memory 131 may also be an external storage device of the terminal device 110 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 110. Further, the memory 131 may also include both an internal storage unit and an external storage device of the terminal device 110. The memory 131 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer programs. The memory 131 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps in the embodiments corresponding to fig. 4 to 5 and fig. 8 to 11 may be implemented.
The embodiment of the present application provides a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the embodiments corresponding to fig. 4 to 5 and fig. 8 to 11 when executed.
Referring to fig. 14, fig. 14 is a schematic flowchart of a network acceleration method according to another embodiment of the present application, in which in this embodiment, a main server for executing the flow may be the communication quality evaluation server 130 in fig. 1. By way of example and not limitation, communication quality assessment server 130 may include, but is not limited to, a smartphone, a tablet computer, or a desktop computer. As shown in fig. 14, the network acceleration method provided in this embodiment includes steps S141 to S143, which are detailed as follows:
s141: and acquiring the geographical position information, the network state information, the network acceleration strategy and the network communication quality information of each terminal device during network communication.
In a possible implementation manner of this embodiment, after performing network communication each time, any terminal device may generate communication feedback information based on geographical location information, network state information, an adopted network acceleration policy, and network communication quality information when performing network communication, and send the communication feedback information to the communication quality evaluation server. The communication quality evaluation server obtains the geographical position information, the network state information, the network acceleration strategy and the network communication quality information of each terminal device during network communication.
It should be noted that the purpose of sending the communication feedback information to the communication quality evaluation server by the terminal device is to enable the communication quality evaluation server to determine an optimal network acceleration strategy when the terminal device performs network communication in different scenes based on a large amount of communication feedback information.
In another possible implementation manner of this embodiment, when the terminal device performs wireless communication with the application server of the application program, after the terminal device performs wireless communication with the application server of the application program each time, the terminal device may generate communication feedback information based on the identification information of the application program, the geographic position information, the network state information, the adopted network acceleration policy, and the network communication quality information when the terminal device runs the application program, and send the communication feedback information to the communication quality evaluation server, where at this time, the communication quality evaluation server obtains the geographic position information, the network state information, the network acceleration policy, and the network communication quality information when each terminal device performs network communication with the application server of each application program.
In this embodiment, the communication quality evaluation server may receive communication feedback information sent by any terminal device.
S142: and determining the optimal network acceleration strategy of the terminal equipment under the same geographical position information and the same network state information according to the network communication quality information.
In this embodiment, after receiving the communication feedback information sent by each terminal device, the communication quality evaluation server may determine the network communication quality of the network acceleration policy included in each piece of received communication feedback information according to the network communication quality information included in each piece of received communication feedback information.
In one possible implementation manner of this embodiment, the network communication quality information may include, but is not limited to, at least one of a communication delay, a communication pause rate, a communication rate, and a packet loss rate. Based on this, S142 may specifically include the following steps:
calculating the communication quality value of each network acceleration strategy according to the network communication quality information and a preset communication quality value calculation formula; the preset communication quality calculation formula is as follows:
Figure BDA0002317771750000251
the Quality is a communication Quality value, x is a communication rate, a is a preset weight corresponding to the communication rate, y is a communication time delay, b is a preset weight corresponding to the communication time delay, z is a communication pause rate, and c is a preset weight corresponding to the communication pause rate; k is the packet loss rate, and d is the preset weight corresponding to the packet loss rate;
and determining the network acceleration strategy with the maximum communication quality value under the same geographical position information and the same network state information as the optimal network acceleration strategy.
In this embodiment, the communication quality evaluation server may determine the communication quality value of the network acceleration policy included in each piece of communication feedback information according to the preset communication quality value calculation formula and the network communication quality information included in each piece of communication feedback information.
In practical application, the preset weight corresponding to the communication rate, the preset weight corresponding to the communication delay, the preset weight corresponding to the communication pause rate, and the preset weight corresponding to the packet loss rate may be set according to practical requirements, and are not limited herein.
It can be understood that the higher the communication rate, the lower the communication delay, the lower the communication jam rate and the lower the packet loss rate, the higher the communication quality value, and the higher the communication quality value, the better the network communication quality is represented. Therefore, after the communication quality evaluation server determines the communication quality value of the network acceleration strategy in each piece of received communication feedback information, the communication quality evaluation server can determine the network acceleration strategy with the maximum communication quality value under the same geographical position information and the same network state information as the optimal network acceleration strategy under the geographical position information and the network state information.
In another possible implementation manner of this embodiment, when the communication feedback information includes identification information of an application program, the communication quality evaluation server may group the communication feedback information according to the identification information of the application program, and group the communication feedback information including the identification information of the same application program into the same group. Exemplarily, table 1 shows 7 pieces of grouped communication feedback information, where the communication feedback information corresponding to the application 1 includes 1 to 4 pieces of communication feedback information, where geographical location information and network state information included in the 1 st piece of communication feedback information and the 2 nd piece of communication feedback information are the same, and geographical location information and network state information included in the 3 rd piece of communication feedback information and the 3 rd piece of communication feedback information are the same. The communication feedback information corresponding to the application program 2 comprises 5 to 7 pieces of communication feedback information, wherein the geographic position information and/or the network state information contained in the 5 to 7 pieces of communication feedback information are different.
TABLE 1
Figure BDA0002317771750000261
In this embodiment, after the communication quality evaluation server groups the communication feedback information, based on the network communication quality information in each piece of communication feedback information in each group, an optimal network acceleration policy of each application under each piece of different geographical location information and network state information is determined, and all the optimal network acceleration policies corresponding to each application are associated with the corresponding application.
S143: and sending the optimal network acceleration strategy to the terminal equipment.
In a possible implementation manner of this embodiment, after the communication quality evaluation server determines the optimal target network acceleration policy in each piece of geographic location information and each piece of network state information, the optimal network acceleration policy in each piece of geographic location information and each piece of network state information is determined as the target network acceleration policy corresponding to the geographic location information and the network state information. In this embodiment, the communication quality evaluation server may transmit the target network acceleration policy corresponding to each geographical location information and each network status information to each terminal device.
In another possible implementation manner of this embodiment, after determining the optimal network acceleration policy of each application under each piece of geographic location information and each piece of network state information, the communication quality evaluation server determines the optimal network acceleration policy of each application under each piece of geographic location information and each piece of network state information as the target network acceleration policy of each application under each piece of geographic location information and each piece of network state information, and associates the target network acceleration policy of each application under each piece of geographic location information and each piece of network state information with the corresponding application. In this embodiment, the communication quality evaluation server may send the target network acceleration policy corresponding to each piece of network status information and each piece of geographical location information of each application program to each terminal device.
As can be seen from the above, in the network acceleration method provided in this embodiment, since the communication quality evaluation server can obtain the network communication quality information of different terminal devices during network communication in different scenes, the communication quality evaluation server can determine the optimal network acceleration strategy of the terminal device during network communication in each scene by comparing the network communication quality information of the terminal devices during network communication in the same scene by using different network acceleration strategies. Because the optimal network acceleration strategy in each scene is estimated by the communication quality estimation server based on massive network communication quality information, the terminal equipment can be ensured to adopt the optimal network acceleration strategy to accelerate the network when carrying out network communication in any scene, and the internet surfing experience of a user can be further improved.
Corresponding to the network acceleration method described in the foregoing embodiment, fig. 15 shows a block diagram of a communication quality evaluation server provided in the embodiment of the present application, where the communication quality evaluation server includes units for performing the steps in the foregoing embodiment. With specific reference to the description of the embodiments, for convenience of illustration, only the portions related to the embodiments of the present application are shown. Referring to fig. 15, the communication quality evaluation server 130 of the present embodiment includes: a third acquiring unit 131, a first determining unit 132 and a first sending unit 133. Wherein:
the third obtaining unit 131 is configured to obtain geographic location information, network status information, network acceleration policy, and network communication quality information of each terminal device during network communication.
The first determining unit 132 is configured to determine, according to the network communication quality information, an optimal network acceleration policy of the terminal device under the same geographical location information and the same network state information.
The first sending unit 133 is configured to send the optimal network acceleration policy to the terminal device.
In a possible implementation manner of this embodiment, the network communication quality information includes at least one of a communication delay, a communication pause rate, a communication rate, and a packet loss rate; correspondingly, the first determining unit 132 is specifically configured to:
calculating the communication quality value of each network acceleration strategy according to the network communication quality information and a preset communication quality value calculation formula; the preset communication quality calculation formula is as follows:
Figure BDA0002317771750000271
the Quality is a communication Quality value, x is a communication rate, a is a preset weight corresponding to the communication rate, y is a communication time delay, b is a preset weight corresponding to the communication time delay, z is a communication pause rate, and c is a preset weight corresponding to the communication pause rate; k is the packet loss rate, and d is the preset weight corresponding to the packet loss rate;
and determining the network acceleration strategy with the maximum communication quality value under the same geographical position information and the same network state information as the optimal network acceleration strategy.
Referring to fig. 16, fig. 16 is a schematic structural diagram of a communication quality evaluation server according to another embodiment of the present application. As shown in fig. 16, the communication quality evaluation server 130 of this embodiment includes: at least one processor 160 (only one shown in fig. 16), a memory 161, and a computer program 162 stored in the memory 161 and executable on the at least one processor 160, the processor 160 implementing the steps in any of the various network acceleration method embodiments described above when executing the computer program 162.
The communication quality evaluation server 130 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The communication quality evaluation server may include, but is not limited to, a processor 160, a memory 161. Those skilled in the art will appreciate that fig. 16 is merely an example of the communication quality evaluation server 130, and does not constitute a limitation of the communication quality evaluation server 130, and may include more or less components than those shown, or combine some components, or different components, such as input-output devices, network access devices, and the like.
The Processor 160 may be a Central Processing Unit (CPU), and the Processor 160 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 161 may be an internal storage unit of the communication quality evaluation server 130 in some embodiments, for example, a hard disk or a memory of the communication quality evaluation server 130. The memory 161 may also be an external storage device of the communication quality evaluation server 130 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are equipped on the communication quality evaluation server 130. Further, the memory 161 may also include both an internal storage unit and an external storage device of the communication quality evaluation server 130. The memory 161 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer program. The memory 161 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The present application provides another computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps in the embodiment corresponding to fig. 12 can be implemented.
The present application provides another computer program product, which when executed on a mobile terminal, enables the mobile terminal to implement the steps in the embodiment corresponding to fig. 12.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be respectively connected to a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (17)

1. A network acceleration method is applied to terminal equipment and is characterized by comprising the following steps:
acquiring current geographical position information and current network state information of the terminal equipment;
detecting whether a target network acceleration strategy corresponding to the geographical location information and the network state information exists;
and if a target network acceleration strategy corresponding to the geographic position information and the network state information exists, performing acceleration processing on the current network of the terminal equipment based on the target network acceleration strategy.
2. The network acceleration method of claim 1, wherein the obtaining the current geographical location information and the current network status information of the terminal device comprises:
when the terminal equipment starts a preset application program, acquiring the current geographical position information and the current network state information of the terminal equipment;
correspondingly, the detecting whether the network acceleration policy corresponding to the geographical location information and the network status information exists includes:
detecting whether a target network acceleration policy associated with the application and matching the geographic location information and the network status information exists.
3. The network acceleration method of claim 2, characterized in that after detecting whether there is a target network acceleration policy associated with the application and matching the geographical location information and the network status information, further comprising:
if there is no target network acceleration policy associated with the application and matching the geographic location information and the network status information, determining the target network acceleration policy based on the application, the geographic location information, and the network status information.
4. The network acceleration method of claim 3, characterized in that the target network acceleration policy comprises at least one of a network acceleration policy based on a target network architecture, a network acceleration policy based on a target network channel, and a network acceleration policy based on a target communication protocol;
correspondingly, the determining the target network acceleration policy based on the application, the geographic location information, and the network status information includes:
determining the target network architecture based network acceleration policy based on the application and the geographic location information;
determining the target network channel-based network acceleration policy based on the network status information and determining the target communication protocol-based network acceleration policy.
5. The network acceleration method of claim 4, characterized in that the determining the target network architecture based network acceleration policy based on the application and the geographical location information comprises:
determining whether the terminal equipment and an application server of the application program are in the same area or not according to the geographical position information;
if the terminal equipment is not in the same area with the application server of the application program, determining that the network acceleration strategy based on the target network architecture is accessed to a backbone network for network communication;
and if the terminal equipment is in the same area as the application server of the application program, determining that the network acceleration strategy based on the target network architecture is not accessed to the backbone network.
6. The network acceleration method of claim 4, wherein the determining the target network channel-based network acceleration policy based on the network status information and the determining the target communication protocol-based network acceleration policy comprise:
if it is detected that the currently accessible wireless network is any one of a cellular mobile network and a wireless local area network based on the network state information, and the network signal strength of the wireless network is greater than or equal to a preset signal strength threshold value, determining that the network acceleration strategy based on the target network channel is accessed to the wireless network, and determining that the network acceleration strategy based on the target communication protocol is network communication based on a Transmission Control Protocol (TCP);
if it is detected that the currently accessible wireless network is any one of a cellular mobile network and a wireless local area network based on the network state information and the network signal strength of the wireless network is smaller than a preset signal strength threshold value, determining that the network acceleration strategy based on the target network channel is accessed to the wireless network and determining that the network acceleration strategy based on the target communication protocol is network communication based on a first wireless communication protocol; and the network transmission rate corresponding to the first wireless communication protocol is greater than the network transmission rate corresponding to the TCP.
7. The network acceleration method of claim 4, wherein the determining the target network channel-based network acceleration policy based on the network status information and the determining the target communication protocol-based network acceleration policy comprise:
if it is detected that the currently accessible wireless network comprises a cellular mobile network and a wireless local area network based on the network state information, and the network signal strength of the cellular mobile network and the network signal strength of the wireless local area network are both greater than or equal to a preset signal strength threshold, determining that the network acceleration strategy based on the target network channel is to be accessed to the cellular mobile network or to be accessed to the wireless local area, and determining that the network acceleration strategy based on the target communication protocol is to perform network communication based on TCP;
if it is detected that the currently accessible wireless network comprises a cellular mobile network and a wireless local area network based on the network state information, and the network signal strength of the cellular mobile network and the network signal strength of the wireless local area network are both smaller than a preset signal strength threshold, determining that the network acceleration strategy based on the target network channel is accessed to the cellular mobile network or the wireless local area network, and determining that the network acceleration strategy based on the target communication protocol is network communication based on a first wireless communication protocol; and the network transmission rate corresponding to the first wireless communication protocol is greater than the network transmission rate corresponding to the TCP.
8. The network acceleration method of claim 4, wherein the determining the target network channel-based network acceleration policy based on the network status information and the determining the target communication protocol-based network acceleration policy comprise:
if it is detected that the currently accessible wireless network comprises a cellular mobile network and a wireless local area network based on the network state information, the network signal strength of the cellular mobile network is smaller than a preset signal strength threshold value, and the network signal strength of the wireless local area network is greater than or equal to the preset signal strength threshold value, determining that the network acceleration strategy based on the target network channel is accessed to the wireless local area network, and determining that the network acceleration strategy based on the target communication protocol is network communication based on TCP;
if it is detected that the currently accessible wireless network comprises a cellular mobile network and a wireless local area network based on the network state information, the network signal strength of the cellular mobile network is greater than or equal to a preset signal strength threshold value, and the network signal strength of the wireless local area network is smaller than the preset signal strength threshold value, determining that the network acceleration strategy based on the target network channel is accessed to the cellular mobile, and determining that the network acceleration strategy based on the target communication protocol is network communication based on TCP.
9. A network acceleration method according to any of the claims 1 to 8, characterized in that after accelerating the current network of the terminal device based on the target network acceleration policy, it further comprises:
acquiring network communication quality information after network acceleration processing;
and uploading the geographical position information, the network state information, the target network acceleration strategy and the network communication quality information to a communication quality evaluation server.
10. A network acceleration method is applied to a communication quality evaluation server and is characterized by comprising the following steps:
acquiring geographical position information, network state information, a network acceleration strategy and network communication quality information of each terminal device during network communication;
determining an optimal network acceleration strategy of the terminal equipment under the same geographical position information and the same network state information according to the network communication quality information;
and sending the optimal network acceleration strategy to the terminal equipment.
11. The network acceleration method according to claim 10, wherein the network communication quality information includes at least one of a communication delay, a communication stuck rate, and a communication rate and a packet loss rate;
correspondingly, the determining the optimal network acceleration strategy of the terminal device under the same geographical location information and the same network state information according to the network communication quality information includes:
calculating the communication quality value of each network acceleration strategy according to the network communication quality information and a preset communication quality value calculation formula; the preset communication quality calculation formula is as follows:
Figure FDA0002317771740000031
the Quality is a communication Quality value, x is a communication rate, a is a preset weight corresponding to the communication rate, y is a communication time delay, b is a preset weight corresponding to the communication time delay, z is a communication pause rate, and c is a preset weight corresponding to the communication pause rate; k is the packet loss rate, and d is the preset weight corresponding to the packet loss rate;
and determining the network acceleration strategy with the maximum communication quality value under the same geographical position information and the same network state information as the optimal network acceleration strategy.
12. A terminal device, comprising:
the first acquisition unit is used for acquiring the current geographical position information and the current network state information of the terminal equipment;
a first detecting unit, configured to detect whether a target network acceleration policy corresponding to the geographic location information and the network status information exists;
and the network acceleration unit is used for accelerating the current network of the terminal equipment based on a target network acceleration strategy if the target network acceleration strategy corresponding to the geographical position information and the network state information exists.
13. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the network acceleration method according to any of claims 1 to 9 when executing the computer program.
14. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, implements a network acceleration method according to any one of claims 1 to 9.
15. A communication quality evaluation server, comprising:
the third acquisition unit is used for acquiring the geographical position information, the network state information, the network acceleration strategy and the network communication quality information of each terminal device during network communication;
the first determining unit is used for determining the optimal network acceleration strategy of the terminal equipment under the same geographical position information and the same network state information according to the network communication quality information;
and the first sending unit is used for sending the optimal network acceleration strategy to the terminal equipment.
16. A communication quality assessment server comprising a memory, a processor and a computer program stored in said memory and executable on said processor, characterized in that said processor implements the network acceleration method according to any of claims 10 to 11 when executing said computer program.
17. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out a network acceleration method according to any one of claims 10 to 11.
CN201911285140.7A 2019-12-13 2019-12-13 Network acceleration method, terminal device, server and storage medium Pending CN112996042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911285140.7A CN112996042A (en) 2019-12-13 2019-12-13 Network acceleration method, terminal device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911285140.7A CN112996042A (en) 2019-12-13 2019-12-13 Network acceleration method, terminal device, server and storage medium

Publications (1)

Publication Number Publication Date
CN112996042A true CN112996042A (en) 2021-06-18

Family

ID=76342141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911285140.7A Pending CN112996042A (en) 2019-12-13 2019-12-13 Network acceleration method, terminal device, server and storage medium

Country Status (1)

Country Link
CN (1) CN112996042A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112714460A (en) * 2021-01-06 2021-04-27 贵阳迅游网络科技有限公司 Service acceleration method and system based on service flow
CN113783740A (en) * 2021-10-26 2021-12-10 北京字节跳动网络技术有限公司 Network optimization method, device, equipment and medium
CN113872871A (en) * 2021-09-24 2021-12-31 上海哔哩哔哩科技有限公司 Network acceleration method and system
CN114338399A (en) * 2021-12-20 2022-04-12 百融至信(北京)征信有限公司 APP network stability improving method and system in weak network environment
WO2022257649A1 (en) * 2021-06-08 2022-12-15 腾讯科技(深圳)有限公司 Application program acceleration method, apparatus and device, and storage medium
CN116709368A (en) * 2022-10-17 2023-09-05 荣耀终端有限公司 Network acceleration method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013187657A1 (en) * 2012-06-14 2013-12-19 주식회사 아이디어웨어 Method for managing network load reduction policy in overloaded areas
KR20130140270A (en) * 2012-06-14 2013-12-24 주식회사 아이디어웨어 Method operation of policy for the network traffic reduction of area overload
WO2014189224A1 (en) * 2013-05-20 2014-11-27 주식회사 아이디어웨어 Server apparatus for reducing wireless network load, operating method thereof, and recording medium
WO2017114326A1 (en) * 2015-12-31 2017-07-06 华为技术有限公司 Network access method and andsf device
CN108810950A (en) * 2017-05-02 2018-11-13 华为技术有限公司 A kind of method and relevant device of the deletable cell of identification
CN109379227A (en) * 2018-10-25 2019-02-22 中国联合网络通信集团有限公司 A kind of policy management method and device, communication system
US20190274065A1 (en) * 2016-11-04 2019-09-05 Samsung Electronics Co., Ltd. Method and apparatus for congestion control in wireless communication
CN110445924A (en) * 2019-06-26 2019-11-12 维沃移动通信有限公司 Network task executes method and terminal device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013187657A1 (en) * 2012-06-14 2013-12-19 주식회사 아이디어웨어 Method for managing network load reduction policy in overloaded areas
KR20130140270A (en) * 2012-06-14 2013-12-24 주식회사 아이디어웨어 Method operation of policy for the network traffic reduction of area overload
WO2014189224A1 (en) * 2013-05-20 2014-11-27 주식회사 아이디어웨어 Server apparatus for reducing wireless network load, operating method thereof, and recording medium
WO2017114326A1 (en) * 2015-12-31 2017-07-06 华为技术有限公司 Network access method and andsf device
US20190274065A1 (en) * 2016-11-04 2019-09-05 Samsung Electronics Co., Ltd. Method and apparatus for congestion control in wireless communication
CN108810950A (en) * 2017-05-02 2018-11-13 华为技术有限公司 A kind of method and relevant device of the deletable cell of identification
CN109379227A (en) * 2018-10-25 2019-02-22 中国联合网络通信集团有限公司 A kind of policy management method and device, communication system
CN110445924A (en) * 2019-06-26 2019-11-12 维沃移动通信有限公司 Network task executes method and terminal device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
""23682-d40"", 3GPP SPEC\\23_SERIES *
梁伟: "认知网络的接入选择与拥塞控制研究", 中国优秀博士学位论文全文数据库 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112714460A (en) * 2021-01-06 2021-04-27 贵阳迅游网络科技有限公司 Service acceleration method and system based on service flow
WO2022257649A1 (en) * 2021-06-08 2022-12-15 腾讯科技(深圳)有限公司 Application program acceleration method, apparatus and device, and storage medium
CN113872871A (en) * 2021-09-24 2021-12-31 上海哔哩哔哩科技有限公司 Network acceleration method and system
CN113783740A (en) * 2021-10-26 2021-12-10 北京字节跳动网络技术有限公司 Network optimization method, device, equipment and medium
CN113783740B (en) * 2021-10-26 2022-08-16 北京字节跳动网络技术有限公司 Network optimization method, device, equipment and medium
CN114338399A (en) * 2021-12-20 2022-04-12 百融至信(北京)征信有限公司 APP network stability improving method and system in weak network environment
CN116709368A (en) * 2022-10-17 2023-09-05 荣耀终端有限公司 Network acceleration method and device
CN116709368B (en) * 2022-10-17 2024-04-16 荣耀终端有限公司 Network acceleration method and device

Similar Documents

Publication Publication Date Title
CN112996042A (en) Network acceleration method, terminal device, server and storage medium
US20190268294A1 (en) Screen display method, apparatus, terminal, and storage medium
CN113038434B (en) Device registration method and device, mobile terminal and storage medium
US11394871B2 (en) Photo taking control method and system based on mobile terminal, and storage medium
CN113018868B (en) Cloud game login method, device and system
CN110795007B (en) Method and device for acquiring screenshot information
CN111294625B (en) Method, device, terminal equipment and storage medium for combining equipment service capability
WO2017215661A1 (en) Scenario-based sound effect control method and electronic device
US9824476B2 (en) Method for superposing location information on collage, terminal and server
CN110430022B (en) Data transmission method and device
US20230026812A1 (en) Device Positioning Method and Related Apparatus
CN115826810A (en) Interaction method between electronic devices and electronic devices
CN108323236B (en) Interaction method and terminal
US11871478B2 (en) Bluetooth low energy-based communication method and related apparatus
CN114285938B (en) Equipment recommendation method and device and computer readable storage medium
CN106375182A (en) Voice communication method and device based on instant messaging application
CN114125546B (en) Information sharing method and device, terminal equipment and storage medium
CN106339477B (en) Picture playing method and terminal equipment
CN108733278A (en) A kind of matching making friends method, mobile terminal and computer storage media
CN108200636A (en) Navigation information methods of exhibiting, terminal
CN110399074B (en) Picture splicing method and device, mobile terminal and storage medium
CN115623257A (en) Screen projection display method, system, terminal device and storage medium
CN107391732B (en) Function guiding method and device of application program and terminal equipment
CN113031838B (en) Screen recording method and device and electronic equipment
WO2022052706A1 (en) Service sharing method, system and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220507

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant after: HUAWEI DEVICE Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd.

Effective date of registration: 20220507

Address after: 523799 Room 101, building 4, No. 15, Huanhu Road, Songshanhu Park, Dongguan City, Guangdong Province

Applicant after: Petal cloud Technology Co.,Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant before: HUAWEI DEVICE Co.,Ltd.