Network acceleration method, device and system and storage medium

By receiving the acceleration environment information of the terminal equipment and judging its acceleration level, targeted acceleration services are provided, and the existing network acceleration methods are solved inefficient in some environments, achieving efficient allocation and efficiency improvement of acceleration resources.

CN118900259APending Publication Date: 2024-11-05SHENZHEN HEYTAP TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310498689.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-05
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

The existing network acceleration methods are inefficient in some network environments, resulting in poor resource waste and acceleration effects, and cannot be accelerated according to the network environment in a targeted manner.

Method used

By receiving the acceleration environment information of the terminal equipment, input it into the acceleration evaluation model to obtain the acceleration level, and provide targeted acceleration services based on this level, ensuring efficient investment in resources in high-quality environments and reducing resource investment in poor environments.

Benefits of technology

It has achieved efficient allocation of accelerated resources and improved acceleration efficiency, reduced acceleration costs, and ensured better acceleration effects of terminal equipment in high-quality environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118900259A_ABST
    Figure CN118900259A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of information, and provides a network acceleration method, device and system and a storage medium. The method comprises the following steps: receiving acceleration environment information of terminal equipment for any terminal equipment; inputting the acceleration environment information into an acceleration evaluation model, and outputting an acceleration level of the terminal equipment; the acceleration level is used for representing the input amount of acceleration resources; the acceleration service is provided for the terminal equipment according to the acceleration level, the acceleration environment of the terminal equipment can be quantified, the corresponding acceleration level is obtained, the better the acceleration environment is, the higher the corresponding acceleration level is, and therefore a good acceleration effect can be brought to the terminal equipment; the worse the acceleration environment is, the lower the corresponding acceleration level is, the input of excessive acceleration resources under the condition of the poor acceleration environment is avoided, the terminal equipment with the good acceleration environment has a better acceleration effect, the input of the acceleration resources to the terminal equipment with the poor acceleration environment is reduced, the efficient allocation of the acceleration resources is realized, and the acceleration efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of information processing technology, and in particular, relates to a network acceleration method, device, system and storage medium. Background Art

[0002] With the rapid development of electronic technology, terminal devices have become an indispensable tool for learning, working and entertainment in life. When using terminal devices, there are some scenarios that have high requirements for network latency, such as Internet phone calls, online conferences and online games. In order to improve user experience, more and more manufacturers are investing in network acceleration research.

[0003] At present, traditional network acceleration methods mainly include flow control technology and multi-channel technology. Flow control technology can filter and accelerate target traffic in global traffic; multi-channel technology can transmit target traffic through at least two channels (such as wireless network channel and mobile data network channel). The above two technologies can accelerate all users, but some users are limited by the network environment, and the network acceleration effect is limited or even counterproductive, resulting in a waste of network acceleration resources and low local network acceleration efficiency. Therefore, how to perform targeted acceleration according to the network environment has become a problem that needs to be solved urgently. Summary of the invention

[0004] In view of this, embodiments of the present application provide a network acceleration method, device, system and storage medium to solve the problem of low network acceleration efficiency in some existing network environments.

[0005] A first aspect of an embodiment of the present application provides a network acceleration method, the method comprising:

[0006] For any terminal device, receiving acceleration environment information of the terminal device;

[0007] Inputting the acceleration environment information into the acceleration evaluation model, and outputting the acceleration level of the terminal device; the acceleration level is used to characterize the input amount of acceleration resources;

[0008] An acceleration service is provided to the terminal device according to the acceleration level.

[0009] The first aspect of the embodiments of the present application provides a network acceleration method, which receives acceleration environment information of a terminal device for any terminal device; inputs the acceleration environment information into an acceleration evaluation model, and outputs an acceleration level of the terminal device; the acceleration level is used to characterize the amount of acceleration resource input; and provides acceleration services to the terminal device according to the acceleration level. The acceleration environment of the terminal device can be quantified and a corresponding acceleration level can be obtained. The better the acceleration environment, the higher the corresponding acceleration level, which can bring better acceleration effect to the terminal device; the worse the acceleration environment, the lower the corresponding acceleration level, so as to avoid investing too much acceleration resources in a poor acceleration environment, so that the terminal device with a good acceleration environment has a better acceleration effect, and reduces the acceleration resources invested in the terminal device with a poor acceleration environment, so as to achieve efficient allocation of acceleration resources and improve acceleration efficiency.

[0010] A second aspect of an embodiment of the present application provides a network acceleration device, including:

[0011] A receiving module, used for receiving acceleration environment information of any terminal device;

[0012] An evaluation module, used to input the acceleration environment information into an acceleration evaluation model, and output an acceleration level of the terminal device; the acceleration level is used to characterize the input amount of acceleration resources;

[0013] An acceleration module is used to provide acceleration services to the terminal device according to the acceleration level.

[0014] A third aspect of an embodiment of the present application provides a network acceleration system, including a server and at least one terminal device, wherein the server and the at least one terminal device are connected;

[0015] The server is used to execute the network acceleration method provided in the first aspect of the embodiment of the present application;

[0016] The terminal device is used to send corresponding acceleration environment information to the server when receiving an acceleration request.

[0017] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the network acceleration method provided in the first aspect of the embodiment of the present application are implemented.

[0018] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application;

[0021] Figure 2 It is a schematic diagram of the architecture of an operating system run by a terminal device provided in an embodiment of the present application;

[0022] Figure 3 is a schematic diagram of the structure of a network acceleration system provided in an embodiment of the present application;

[0023] Figure 4 This is a schematic diagram of the first flow chart of the network acceleration method provided in the embodiment of the present application;

[0024] Figure 5 This is a second flow chart of the network acceleration method provided in the embodiment of the present application;

[0025] Figure 6 is a schematic diagram of interaction between a server and a terminal device provided in an embodiment of the present application;

[0026] Figure 7 It is a schematic diagram of the structure of the network acceleration device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0028] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0029] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0030] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0031] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0032] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0033] In application, currently, traditional network acceleration methods mainly include flow control technology and multi-channel technology. Flow control technology can filter and accelerate target traffic in global traffic; multi-channel technology can transmit target traffic through at least two channels (such as wireless network channel and mobile data network channel). The above two technologies can accelerate all users, but some users are limited by the network environment, and the network acceleration effect is limited or even counterproductive, resulting in a waste of network acceleration resources and low local network acceleration efficiency. Therefore, how to perform targeted acceleration according to the network environment has become a problem that needs to be solved urgently.

[0034] In response to the above technical problems, an embodiment of the present application provides a network acceleration method, which receives acceleration environment information of a terminal device for any terminal device; inputs the acceleration environment information into an acceleration evaluation model, and outputs an acceleration level of the terminal device; the acceleration level is used to characterize the amount of acceleration resource investment; and provides acceleration services to the terminal device according to the acceleration level. The acceleration environment of the terminal device can be quantified and the corresponding acceleration level can be obtained. The better the acceleration environment, the higher the corresponding acceleration level, which can bring better acceleration effect to the terminal device; the worse the acceleration environment, the lower the corresponding acceleration level, so as to avoid investing too much acceleration resources in a poor acceleration environment, so that the terminal device with a good acceleration environment has a better acceleration effect, and reduces the acceleration resources invested in the terminal device with a poor acceleration environment, so as to achieve efficient allocation of acceleration resources, reduce acceleration costs and improve acceleration efficiency.

[0035] The network acceleration method provided in the embodiment of the present application can be applied to a network acceleration system, and the network acceleration system includes a server and at least one terminal device. The terminal device can be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted 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), etc. The embodiment of the present application does not impose any restrictions on the specific type of the terminal device. The server and at least one mobile terminal can be connected and information exchanged based on a communication platform of a wide area network (WAN).

[0036] Figure 1The schematic diagram of the structure of the terminal device 1 is shown as an example. The terminal device 1 includes a processor 10, a memory 20, an audio module 30, a camera module 40, a sensor module 50, an input module 60, a display module 70, a wireless communication module 80, and a power module 90. The audio module 30 may include a speaker 31 and a microphone 32, the camera module 40 may include a short-focus camera 41, a long-focus camera 42, and a flash 43, the sensor module 50 may include an infrared sensor 51, an acceleration sensor 52, a position sensor 53, a fingerprint sensor 54, and an iris sensor 55, the input module 60 may include a touch panel 61 and an external input unit 62, and the wireless communication module 80 may include wireless communication units such as Bluetooth, optical wireless communication (Optical Wireless), mobile communication (Mobile Communications), wireless local area network (Wireless Local Area Network, WLAN), near field communication (Near Field Communication, NFC) and ZigBee protocol (ZigBee).

[0037] In applications, the processor 10 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0038] In application, the memory 20 may be an internal storage unit of the terminal device in some embodiments, such as a hard disk or memory of the terminal device. The memory 20 may also be an external storage device of the terminal device in other embodiments, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal device. Further, the memory 20 may also include both an internal storage unit of the terminal device and an external storage device. The memory 20 is used to store computer programs 21 such as an operating system, an application program, and a boot loader (BootLoader). The memory 20 may also be used to temporarily store data that has been output or is to be output.

[0039] In application, the display module 70 can be a flat screen, a curved screen or a flexible screen, specifically a folding screen. The folding screen may include at least one flexible screen, or the folding screen may include at least one flexible screen and at least one flat screen or curved screen. The embodiment of the present application does not impose any restrictions on the specific type of the display module 70.

[0040] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 1. In other embodiments of the present application, the terminal device 1 may include more or fewer components than those illustrated, or may combine certain components, or different components, such as a graphics processor, etc. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0041] like Figure 2 As shown, the architecture diagram of the operating system running on the terminal device 1 provided in the embodiment of the present application, the layered architecture can divide the operating system into multiple layers, and the layers communicate with each other through software interfaces. In some embodiments, the operating system can be divided from top to bottom into an application layer 100, a framework layer 200, a system runtime layer 300, a hardware abstraction layer 400, and a Linux kernel layer 500.

[0042] It should be noted that the type of the operating system may be an Android system, an operating system customized based on the Android system, or other different types of operating systems. The embodiments of the present application do not impose any limitation on the specific type of the operating system.

[0043] In the application, the five layers of the operating system are introduced as follows:

[0044] The application layer 100 may include built-in applications 120 built into the system and upper layer applications 110 provided by third-party application providers. The application programs of the application layer 100 may interact directly with users to implement different functions provided by the application programs. For example, the application layer 100 may specifically include built-in applications such as email, phone, calendar, camera, contacts, and Bluetooth, and upper layer applications such as map positioning, food delivery, and video playback.

[0045] The framework layer (Application Framwork) 200 may include an application programming interface (API) and a programming framework. The application programming interface may be used to provide an interface for operating system developers to develop applications, and may also be used to call corresponding basic services for applications in the application layer when implementing different functions. For example, the framework layer may include different types of application programming interfaces such as window managers, content providers, phone managers, positioning managers, and view systems.

[0046] The window manager is used to manage window programs. Specifically, it can be used to obtain the window size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0047] Content providers are used to store and retrieve data and make the data accessible to applications. The data may include videos, images, audio, call logs, contacts, browsing history, and bookmarks.

[0048] The phone manager is used to provide communication functions of the terminal device 1, such as management of call status, including answering and hanging up calls, etc.;

[0049] The positioning manager is used to obtain the location information of the terminal device 1, which may include different types of location information such as satellite location information (obtained through the global positioning system), network location information (obtained through a network positioning service), and fused location information (obtained through a fused positioning service);

[0050] The view system is used to provide visual controls, such as controls for displaying text and controls for displaying pictures, and is also used to build applications for displaying the application layer 100. The view system can run multiple visual controls at the same time, so that the terminal device can display multiple views at the same time, for example, a view that displays text and a view that displays pictures at the same time.

[0051] The system runtime layer (Native) 300 may include a C / C++ library 310 and an Android runtime library 320, wherein the C / C++ library 310 may include a drawing function library, a font engine, a rendering engine, a multimedia library, and a database engine, etc. The drawing function library may be OpenGL For Embedded Systems 3D (a 3D open graphics library running on embedded systems); the font engine is used to provide different fonts, and may be FreeType (a portable font engine); the rendering engine is used to render two-dimensional graphics or three-dimensional graphics, and may be Skia Graphics Library (an engine for rendering two-dimensional graphics); the multimedia library (Media Framework) is used to support the playback, recording, and playback of audio and video in different formats; the database engine is used to provide storage functions for different types of databases, so that different types of data can be stored in different types of databases according to actual needs, or different types of data can be stored in a unified database.

[0052] The Android runtime 320 may include core libraries (Core Libraries) and an Android runtime environment (Android Runtime, ART), wherein after the Android 5.0 system, the Dalvik virtual machine is replaced by ART. The core library provides most of the functions of the Java language core library, so that developers can use the Java language to write Android applications. Compared with the Java Virtual Machine (Java Virtual Machine, JVM), the Dalvik virtual machine is specially customized for mobile devices, allowing multiple virtual machine instances to run simultaneously in limited memory, and each Dalvik application is executed as an independent Linux process. Independent processes can prevent all programs from being closed when the virtual machine crashes. The mechanism of ART, which replaces the Dalvik virtual machine, is different from Dalvik. Under Dalvik, every time an application runs, the bytecode needs to be converted into machine code by a just-in-time compiler, which slows down the running efficiency of the application. In the ART environment, when the application is installed for the first time, the bytecode will be pre-compiled into machine code, making it a truly local application.

[0053] The Hardware Abstraction Layer (HAL) 400 is an interface layer between the operating system kernel and the hardware circuit. Its purpose is to abstract the hardware. In order to protect the intellectual property rights of hardware manufacturers, it hides the hardware interface details of a specific platform, thereby providing a virtual hardware platform for the operating system, making it hardware-independent and portable on multiple platforms. From the perspective of software and hardware testing, the testing of software and hardware can be completed based on the hardware abstraction layer, so that the testing of software and hardware can be carried out in parallel.

[0054] The Linux kernel layer 500 can be used to provide system services of the operating system, including security services, memory management, process management, network protocol stack, driver model and other services of the operating system.

[0055] Understandably, Figure 2 The architecture diagram of an operating system is only shown by way of example. The operating system architecture can also be four-layer or six-layer, wherein the architecture of a four-layer operating system may include: an application layer, a framework layer, a system runtime layer and a Linux kernel layer; the architecture of a six-layer operating system may include: an application layer, a framework layer, a system runtime layer, a hardware abstraction layer, a Linux kernel layer and a hardware device layer. The embodiment of the method of the present application does not impose any limitation on the number of architecture layers and the specific architecture of the operating system.

[0056] like Figure 3 As shown, the network acceleration system 3 provided in the embodiment of the present application includes a server 2 and at least one terminal device 1;

[0057] The server is used to execute the steps of the network acceleration method in the following embodiment, please see the following description for details.

[0058] The terminal device is used to send corresponding acceleration environment information to the server when receiving an acceleration request.

[0059] In the application, the acceleration request of the terminal device can be initiated by the user, or it can be determined by monitoring the local delay data to determine whether to trigger the acceleration request. Specifically, the acceleration request can be triggered when the delay data exceeds the preset delay data. The preset delay data can be an average delay of 100ms within 10 seconds, an average delay of 100ms within 1 minute, or an average delay of 200ms within 10 seconds. The embodiment of the present application does not impose any restrictions on the specific time span and delay value of the preset delay data.

[0060] like Figure 4 As shown, the network acceleration method provided in the embodiment of the present application is applied to a network acceleration system, and includes the following steps S401 to S403:

[0061] Step S401: Receive acceleration environment information of any terminal device.

[0062] In the application, in the network acceleration system, the server can establish connections and communicate with multiple terminal devices, and can receive acceleration environment information uploaded by any terminal device. It should be noted that the content of the acceleration environment information uploaded by each terminal device may be different. Specifically, the acceleration environment information may include application information, network information, time information, location information, and historical acceleration data. The embodiment of the present application does not impose any restrictions on the specific content of the acceleration environment information.

[0063] Step S402: input the acceleration environment information into the acceleration evaluation model, and output the acceleration level of the terminal device; the acceleration level is used to characterize the input amount of acceleration resources.

[0064] In the application, after receiving the acceleration environment information of the terminal device, the acceleration environment information can be input into the acceleration evaluation model. The acceleration evaluation model can call the corresponding evaluation unit according to the content contained in the acceleration environment information, so as to flexibly evaluate the acceleration environment information, and combine the sub-evaluation scores of each evaluation unit to obtain the total evaluation score, and output the acceleration level of the terminal device according to the interval to which the total evaluation score belongs. Among them, the acceleration level is used to characterize the input amount of acceleration resources, and the size of the acceleration level is positively correlated with the input amount of acceleration resources.

[0065] The following is a detailed description of the evaluation unit called when the acceleration environment information contains different contents:

[0066] In one embodiment, the acceleration environment information includes application information and network information, and the acceleration evaluation model includes a first evaluation unit and a second evaluation unit;

[0067] The input of the first evaluation unit includes application information, and the output of the first evaluation unit includes a first evaluation score;

[0068] The input of the second evaluation unit includes network information, and the output of the first evaluation unit includes a second evaluation score;

[0069] The acceleration level is determined based on the sum of the first evaluation score and the second evaluation score.

[0070] In the application, when the acceleration environment information includes application information and network information, the acceleration evaluation model can call the first evaluation unit and the second evaluation unit respectively. The application information is used to characterize the target application to be accelerated by the terminal device, and the first evaluation unit is used to quantify the application information. Specifically, the first evaluation unit can store a preset application scoring table, and the corresponding first evaluation score can be obtained by substituting the target application into the preset application scoring table; the first evaluation unit can also record the historical acceleration performance of the target application, and determine the first evaluation score according to the historical acceleration performance of the target application.

[0071] In the application, network information can be used to characterize the first delay data of the terminal device (including the delay data before providing acceleration service to the terminal device), network type (such as wireless network, mobile data network, etc.) and network operator and other information. The second evaluation unit is used to quantify the network information and output a second evaluation score.

[0072] In an application, the acceleration evaluation model may store a correspondence table between evaluation scores and acceleration levels, and may determine the acceleration level according to the sum of the first evaluation score and the second evaluation score.

[0073] In one embodiment, the acceleration environment information further includes time information and / or location information, and the acceleration evaluation model further includes a third evaluation unit;

[0074] The input of the third evaluation unit includes time information and / or location information, and the output of the third evaluation unit includes a third evaluation score;

[0075] The acceleration level is determined based on the sum of the first, second and third evaluation scores.

[0076] In the application, when the acceleration environment information includes time information and / or location information, the acceleration evaluation model can call the third evaluation unit. The time information is used to characterize the time period when the terminal device sends the acceleration environment information, and the third evaluation unit can quantify the third evaluation score based on the historical acceleration performance of all terminal devices in the corresponding time period; the location information is used to characterize the location of the terminal device when sending the acceleration environment information, and whether the terminal device is in a mobile state. The third evaluation unit can quantify the third evaluation score based on the historical acceleration performance of all terminal devices in the above location, and whether the terminal device is in a mobile state.

[0077] For example, assuming that the first time period is from 8:00 to 9:00, and the second time period is from 20:00 to 21:00, and the historical acceleration performance of all terminal devices in the first time period is better than that in the second time period, then when the location information remains unchanged, the third evaluation score in the first time period will be greater than the third evaluation score in the second time period.

[0078] In one embodiment, the acceleration environment information further includes historical acceleration data, and the acceleration evaluation model further includes a fourth evaluation unit;

[0079] The input of the fourth evaluation unit includes the historical acceleration data, and the output of the fourth evaluation unit includes a fourth evaluation score;

[0080] The acceleration level is determined based on the sum of the first evaluation score, the second evaluation score, the third evaluation score, and the fourth evaluation score.

[0081] In the application, the acceleration environment information may also include historical acceleration data of the terminal device, which is used to characterize the delay optimization effect after the terminal device is accelerated (the specific quantification method can refer to the following steps S504 and S505). The fourth evaluation unit may output a fourth evaluation score based on the historical acceleration data of the terminal device, and the delay optimization effect is positively correlated with the fourth evaluation score.

[0082] In one application, the total judgement score is calculated as:

[0083] Score summary =a1Score1+a2Score2+a3Score3+a4Score4;

[0084] Among them, Score summaryRepresents the total evaluation score, Score1 to Score4 represent the first evaluation score to the fourth evaluation score respectively, and a1 to a4 represent the coefficient of the first evaluation score to the weight coefficient of the fourth evaluation score respectively. It should be noted that when the acceleration environment information does not include the content corresponding to any evaluation score, the weight coefficient of any of the above evaluation scores can be set to 0. When the acceleration environment information includes the content corresponding to the four sub-evaluation scores at the same time, a1 to a4 can be set to 0.3, 0.3, 0.2, 0.2 respectively, and the specific value of the weight coefficient can be set according to actual needs. The embodiment of the present application does not impose any restriction on the specific value of the weight coefficient.

[0085] In one embodiment, step S402 further includes:

[0086] Before inputting the application information into the first evaluation unit, determining whether the preset application list includes a target application corresponding to the application information;

[0087] If the preset application list includes the target application, the application information is input into the first evaluation unit to obtain a first evaluation score;

[0088] If the preset application list does not include the target application, the acceleration service is stopped for the terminal device.

[0089] In the application, the acceleration evaluation model may store a preset application list, which includes at least one application supported by the server for acceleration. When the acceleration environment information includes application information, it may be determined whether the target application corresponding to the application information is in the preset application list. If so, the acceleration evaluation model is controlled to run. If not, the acceleration evaluation model is stopped and the acceleration service is stopped for the terminal device.

[0090] Step S403: Provide acceleration service to the terminal device according to the acceleration level.

[0091] In the application, after the acceleration level is determined, the acceleration service can be provided to the terminal device according to the input amount of acceleration resources corresponding to the acceleration level. It should be noted that the preset acceleration level can be set according to actual needs. When the acceleration level does not reach the preset acceleration level, it means that the acceleration effect of the corresponding terminal device is poor, and the acceleration service can be stopped to save acceleration resources.

[0092] In the application, by targeting any terminal device, the acceleration environment information of the terminal device is received; the acceleration environment information is input into the acceleration evaluation model, and the acceleration level of the terminal device is output; the acceleration level is used to characterize the input amount of acceleration resources; according to the acceleration level, the acceleration service is provided to the terminal device, the acceleration environment of the terminal device can be quantified and the corresponding acceleration level can be obtained. The better the acceleration environment, the higher the corresponding acceleration level, which can bring better acceleration effect to the terminal device; the worse the acceleration environment, the lower the corresponding acceleration level, avoiding excessive acceleration resources in the case of poor acceleration environment, so that the terminal device with good acceleration environment has better acceleration effect, reducing the acceleration resources invested in the terminal device with poor acceleration environment, realizing efficient allocation of acceleration resources, reducing acceleration cost and improving acceleration efficiency.

[0093] like Figure 5 As shown, in one embodiment, based on Figure 4 The corresponding embodiment includes the following steps S501 to S505:

[0094] Step S501: Receive acceleration environment information of any terminal device;

[0095] Step S502: input the acceleration environment information into the acceleration evaluation model, and output the acceleration level of the terminal device;

[0096] Step S503: Provide acceleration service to the terminal device according to the acceleration level.

[0097] In the application, the network acceleration method provided by steps S501 to S503 can refer to the relevant description in the above steps S401 to S403, which will not be repeated here.

[0098] Step S504: After providing the acceleration service to the terminal device, obtain the first delay data and the second delay data of the terminal device.

[0099] In the application, the first delay data includes the delay data before providing the acceleration service to the terminal device, wherein the first delay data can also be obtained through the acceleration environment information; the second delay data includes the delay data after providing the acceleration service to the terminal device. Specifically, the first delay data can be collected in a preset time period before providing the acceleration service to the terminal device, and the second delay data can be collected in a preset time period after providing the acceleration service to the terminal device, and the preset time period can be 3 minutes, 5 minutes or 10 minutes, etc.

[0100] In one embodiment, step S504 includes:

[0101] When the difference between the first delay data and the second delay data is less than a preset difference, stop providing acceleration service to the terminal device.

[0102] In the application, after providing acceleration service to the terminal device, when the difference between the first delay data and the second delay data is less than the preset difference, it means that the acceleration effect does not meet expectations, and the acceleration service can be stopped. Different acceleration levels may correspond to different preset differences, so that whether the acceleration effect meets expectations can be quantified at each acceleration level. For example, assuming the preset difference is 50ms, when the first delay data is 200ms and the second delay data is 100ms, the difference is 100ms, which is not less than 50ms, then the acceleration service will continue to be provided to the terminal device; when the first delay data is 200ms and the second delay data is 160ms, the difference is 40ms, which is less than 50ms, then the acceleration service will be stopped.

[0103] In the application, by quantifying the acceleration effect after providing the acceleration service to the terminal device, the acceleration service with poor acceleration effect can be interrupted in time to save acceleration resources.

[0104] Step S505: construct a loss function based on the difference between the first delay data and the second delay data, and optimize the acceleration evaluation model.

[0105] In the application, the acceleration evaluation model can be constructed and trained based on a neural network (NN) model. Specifically, the target recognition algorithm can be constructed and trained based on one or more different types of neural network models such as convolutional neural networks (CNN), region-convolutional neural networks (R-CNN), and fully convolutional networks (FCN). The embodiment of the present application does not impose any restrictions on the specific network structure of the acceleration evaluation model.

[0106] In the application, based on the difference between the first delay data and the second delay data, the acceleration effect of the acceleration service provided to the terminal device can be quantified, and a loss function can be constructed based on the above difference. Specifically, the delay levels of the first delay data and the second delay data can be determined first. For example, the following is expressed as an interval, the unit is ms, the first delay level is delay [0, 50), the second delay level is [50, 100), the third delay level is [100, 120), the fourth delay level is [120, 160), the fifth delay level is [160, 230), the sixth delay level is [230, 460), and the seventh delay level is [460, +∞); and determine the delay level of the second delay data compared to the first delay data. For example, assuming that the second delay data is 56ms, which belongs to the second delay level, and the first delay data is 125ms, which belongs to the fourth delay level, then the second delay data is improved by 2 delay levels compared to the first delay data.

[0107] In the application, a loss function can be constructed according to the improved delay level. Assuming that the acceleration goal of the acceleration service is to improve at least 1 delay level, when the improved delay level is less than 1, it means that the acceleration level assigned by the acceleration evaluation model does not match the acceleration environment information of the terminal device, and the acceleration evaluation model is reversely optimized; when the improved delay level is not less than 1, it means that the acceleration level assigned by the acceleration evaluation model matches the acceleration environment information of the terminal device, and the more improved delay levels, the higher the matching accuracy, and the acceleration evaluation model is reversely optimized.

[0108] Figure 6 The schematic diagram of the interaction between the terminal device and the server is shown exemplarily.

[0109] In the application, by constructing a loss function based on the difference between the first delay data and the second delay data, and optimizing the acceleration judgment model, the acceleration judgment model can be optimized after each acceleration service is provided to the terminal device, thereby continuously improving the accuracy of the acceleration level assigned by the acceleration judgment model in the process of providing acceleration services, and then continuously optimizing the acceleration effect and the intelligence of the allocation of acceleration resources.

[0110] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0111] like Figure 7As shown, the embodiment of the present application also provides a network acceleration device 7 for executing the steps in the above-mentioned network acceleration method embodiment. The network acceleration device can be a virtual appliance in the terminal device, which is run by the processor of the terminal device, or it can be the terminal device itself.

[0112] like Figure 7 As shown, the network acceleration device 7 provided in the embodiment of the present application includes:

[0113] The receiving module 710 is used to receive the acceleration environment information of any terminal device;

[0114] The evaluation module 720 is used to input the acceleration environment information into the acceleration evaluation model and output the acceleration level of the terminal device; the acceleration level is used to represent the input amount of acceleration resources;

[0115] The acceleration module 730 is used to provide acceleration services to the terminal device according to the acceleration level.

[0116] In one embodiment, the network acceleration device 7 further includes:

[0117] An optimization data acquisition unit, configured to acquire first delay data and second delay data of the terminal device after providing an acceleration service to the terminal device;

[0118] An optimization unit, configured to construct a loss function based on a difference between the first delay data and the second delay data, and optimize the acceleration evaluation model;

[0119] The first delay data includes delay data before providing the acceleration service to the terminal device; the second delay data includes delay data after providing the acceleration service to the terminal device.

[0120] In one embodiment, the acceleration module 730 further includes:

[0121] The acceleration stopping unit is used to stop providing acceleration service to the terminal device when the acceleration level does not reach the preset acceleration level.

[0122] In application, each module in the network acceleration device 7 may be a software program module, or may be implemented by different logic circuits integrated in a processor, or may be implemented by multiple distributed processors.

[0123] It should be noted that the information interaction, execution process and other contents between the above-mentioned modules are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0124] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The functional modules in the embodiment can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. In addition, the specific names of the functional modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the modules in the above-mentioned system can refer to the corresponding process in the aforementioned network acceleration method embodiment, which will not be repeated here.

[0125] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned various network acceleration method embodiments can be implemented.

[0126] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may at least include: any entity or device that can carry the computer program code to the camera terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.

[0127] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0128] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0129] In the embodiments provided in the present application, it should be understood that the disclosed terminal device and method can be implemented in other ways. For example, the terminal device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0130] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A network acceleration method, characterized in that: include: For any terminal device, receiving acceleration environment information of the terminal device; Inputting the acceleration environment information into an acceleration evaluation model and outputting an acceleration level of the terminal device; The acceleration level is used to represent the input amount of acceleration resources; An acceleration service is provided to the terminal device according to the acceleration level.

2. The network acceleration method according to claim 1, wherein: The method further comprises: After providing the acceleration service to the terminal device, obtaining first delay data and second delay data of the terminal device; Constructing a loss function based on the difference between the first delay data and the second delay data, and optimizing the acceleration evaluation model; The first delay data includes delay data before providing the acceleration service to the terminal device; the second delay data includes delay data after providing the acceleration service to the terminal device.

3. The network acceleration method according to claim 2, wherein: The method further comprises: When the difference between the first delay data and the second delay data is smaller than a preset difference, the acceleration service is stopped for the terminal device.

4. The network acceleration method according to claim 1, wherein: The acceleration environment information includes application information and network information, and the acceleration evaluation model includes a first evaluation unit and a second evaluation unit; The input of the first evaluation unit includes the application information, and the output of the first evaluation unit includes a first evaluation score; The input of the second evaluation unit includes the network information, and the output of the first evaluation unit includes a second evaluation score; The acceleration level is determined according to the sum of the first evaluation score and the second evaluation score.

5. The network acceleration method according to claim 4, wherein: The acceleration environment information further includes time information and / or location information, and the acceleration evaluation model further includes a third evaluation unit; The input of the third evaluation unit includes time information and / or location information, and the output of the third evaluation unit includes a third evaluation score; The acceleration level is determined according to the sum of the first evaluation score, the second evaluation score, and the third evaluation score.

6. The network acceleration method according to claim 4, wherein: Also includes: Before inputting the application information into the first evaluation unit, determining whether a preset application list includes a target application corresponding to the application information; If the preset application list includes the target application, inputting the application information into the first evaluation unit to obtain the first evaluation score; If the preset application list does not include the target application, stop providing acceleration service to the terminal device.

7. The network acceleration method according to any one of claims 1 to 6, wherein: The method further comprises: When the acceleration level does not reach the preset acceleration level, the acceleration service is stopped for the terminal device.

8. A network acceleration device, characterized in that: include: A receiving module, configured to receive acceleration environment information of any terminal device; an evaluation module, configured to input the acceleration environment information into an acceleration evaluation model and output an acceleration level of the terminal device; The acceleration level is used to represent the input amount of acceleration resources; An acceleration module is used to provide acceleration services to the terminal device according to the acceleration level.

9. A network acceleration system, characterized in that: comprising a server and at least one terminal device, wherein the server and the at least one terminal device are connected; The server is used to perform the steps of the network acceleration method according to any one of claims 1 to 7; The terminal device is used to send corresponding acceleration environment information to the server when receiving an acceleration request.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the network acceleration method according to any one of claims 1 to 7 are implemented.