CN112596807A - Application program acceleration method and device, computer equipment and storage medium - Google Patents

Application program acceleration method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112596807A
CN112596807A CN202011437980.3A CN202011437980A CN112596807A CN 112596807 A CN112596807 A CN 112596807A CN 202011437980 A CN202011437980 A CN 202011437980A CN 112596807 A CN112596807 A CN 112596807A
Authority
CN
China
Prior art keywords
acceleration
application program
application
authority
function
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
CN202011437980.3A
Other languages
Chinese (zh)
Inventor
刘燕
钟文涛
许广瑜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011437980.3A priority Critical patent/CN112596807A/en
Publication of CN112596807A publication Critical patent/CN112596807A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/083Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for increasing network speed

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses an application program acceleration method and device, computer equipment and a storage medium, and belongs to the technical field of computers. According to the application, after the first application program is started, the second application program is automatically triggered to provide an acceleration function for the first application program based on the corresponding acceleration authority or acceleration mode, the current acceleration processing information is displayed for a user, and in the application program acceleration process, manual operation of the user is not needed, so that the operation path of the user in an application program acceleration scene is effectively simplified, and the human-computer interaction efficiency is improved.

Description

Application program acceleration method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for accelerating an application program, a computer device, and a storage medium.
Background
The application program acceleration means that the network speed of the application program during running is improved, and efficient data transmission between the application program and a server is ensured. At present, each time an application program is accelerated, a user needs to manually start an application accelerator first, select an accelerated application program from the application accelerator, exit from a current application accelerator interface, start the accelerated application program, and perform network acceleration by the application accelerator in the running process of the application program.
By applying the method, the user needs to repeat the steps every time the application program is accelerated, the operation path is long, and the human-computer interaction efficiency is extremely low.
Disclosure of Invention
The embodiment of the application program acceleration method and device, the computer equipment and the storage medium can simplify the operation path of a user during application program acceleration and improve the man-machine interaction efficiency. The technical scheme is as follows:
in one aspect, an application program acceleration method is provided, and the method includes:
triggering an acceleration function of a second application program in response to the starting operation of the first application program, wherein the second application program is used for providing the acceleration function for the first application program;
acquiring an acceleration authority or an acceleration mode matched by the second application program aiming at the first application program;
based on the acceleration authority or acceleration mode matched with the first application program, performing acceleration processing on the first application program;
and synchronously displaying the accelerated processing information aiming at the first application program in response to the completion of the starting of the first application program.
In one aspect, an application acceleration apparatus is provided, the apparatus including:
the trigger module is used for responding to the starting operation of the first application program and triggering the acceleration function of a second application program, wherein the second application program is used for providing the acceleration function for the first application program;
the acquisition module is used for acquiring the acceleration authority or acceleration mode matched by the second application program aiming at the first application program;
the acceleration module is used for responding to the situation that the first data table comprises the application identification of the first application program, and accelerating the first application program through the second application program based on the acceleration mode corresponding to the first application program;
and the display module is used for responding to the completion of the starting of the first application program and synchronously displaying the accelerated processing information aiming at the first application program.
In a possible implementation manner, the display module is configured to display an acceleration interface in response to a trigger operation on the first prompt message, where the acceleration interface includes at least one permission start control, and the permission start control is configured to start an acceleration permission;
the device also comprises an operation detection module used for detecting the triggering operation of the at least one permission starting control;
the display module is used for responding to the opening of the at least one permission opening control and displaying the dynamic effect of the opening of the acceleration function in the first area of the acceleration interface.
In one possible implementation, the acceleration interface further includes an acceleration function opening control;
the device also includes:
the state detection module is used for responding to the detection of the trigger operation of the acceleration function starting control and detecting the starting state of the at least one permission starting control;
the state setting module is used for setting the acceleration function starting control to be in a started state in response to the situation that the at least one permission starting control is in the started state;
the display module is used for responding to the situation that any authority opening control is not opened, and displaying second prompt information, wherein the second prompt information is used for prompting that the at least one authority opening control is opened firstly.
In one possible implementation manner, the acceleration interface displays an authority opening progress mark;
the device also includes:
the determining module is used for responding to the opening of the acceleration authority corresponding to any authority opening control and determining the progress increasing value corresponding to the acceleration authority;
and the updating module is used for updating the permission opening progress identification based on the progress increment value.
In one possible implementation, the display module is configured to:
responding to the trigger operation of the first prompt message, and determining the acceleration authority or acceleration mode matched with the first application program;
and displaying an acceleration interface corresponding to the acceleration authority or the acceleration mode.
In one possible implementation, the acceleration interface displays an application selection portal that provides functionality for selecting an application that is accelerated.
In one possible implementation, the triggering module is configured to:
responding to the starting operation of the first application program, and acquiring current network environment data;
and detecting the starting state of the acceleration function of the second application program in response to the network environment data not meeting the reference condition.
In one possible implementation, the obtaining module is configured to perform any one of:
acquiring a first account grade of a user account logged in the first application program, and determining an acceleration authority or an acceleration mode corresponding to the first account grade as an acceleration authority or an acceleration mode corresponding to the first application program;
acquiring a first account grade of a user account logged in the first application program, and determining an acceleration authority or an acceleration mode corresponding to the first account grade as an acceleration authority or an acceleration mode corresponding to the first application program;
the method comprises the steps of obtaining a first data table, wherein the first data table is used for storing application identification of an application program allowing acceleration and corresponding acceleration authority or acceleration mode, inquiring the first data table based on the application identification of the first application program, and determining the acceleration authority or acceleration mode corresponding to the first application program.
In one possible implementation, the acceleration module is configured to:
responding to the first application program corresponding to a first acceleration authority or a first acceleration mode, acquiring a second data table, wherein the second data table is used for storing a process identifier of a running process, and clearing the process except the first application program and the second application program indicated by the second data table through the second application program;
and responding to the first application program corresponding to a second acceleration authority or a second acceleration mode, calling a virtual network card of a virtual private network through the second application program, intercepting a data packet comprising an application identifier of the first application program through the virtual network card, calling an application acceleration script of the second application program, and transmitting the data packet.
In one possible implementation, the apparatus further includes:
the second acquisition module is used for responding to the end of the operation of the first application program and acquiring the network quality improvement information in the operation process of the first application program;
the display module is used for displaying the network quality improvement information.
In one aspect, a computer device is provided that includes one or more processors and one or more memories having at least one computer program stored therein, the at least one computer program being loaded and executed by the one or more processors to perform the operations performed by the application acceleration method.
In one aspect, a computer-readable storage medium is provided, in which at least one computer program is stored, the at least one computer program being loaded and executed by a processor to implement the operations performed by the application acceleration method.
In one aspect, a computer program product is provided that includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device realizes the operations performed by the application acceleration method.
According to the technical scheme, after the first application program is started, the second application program is automatically triggered to provide an acceleration function for the first application program based on the corresponding acceleration authority or acceleration mode, the current acceleration processing information is displayed for a user, and in the application program acceleration process, manual operation of the user is not needed, so that the operation path of the user in an application program acceleration scene is effectively simplified, and the human-computer interaction efficiency 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 description of the embodiments are briefly introduced 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 creative efforts.
FIG. 1 is a schematic diagram of an implementation environment of an application acceleration method according to an embodiment of the present disclosure;
FIG. 2 is a flowchart of an application acceleration method according to an embodiment of the present disclosure;
fig. 3 is a specific flowchart of an application acceleration method according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a display of accelerated processing information according to an embodiment of the present disclosure;
FIG. 5 is a flowchart of an application accelerated termination process provided by an embodiment of the present application;
fig. 6 is a schematic diagram illustrating a display of network quality improvement information according to an embodiment of the present application;
FIG. 7 is a flowchart of application acceleration provided by an embodiment of the present application;
fig. 8 is a flowchart of an automatic acceleration function setting method according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram illustrating a display of first prompt information according to an embodiment of the present application;
FIG. 10 is a schematic illustration of an acceleration interface provided by an embodiment of the present application;
FIG. 11 is a schematic illustration of an acceleration interface provided by an embodiment of the present application;
FIG. 12 is a schematic illustration of an acceleration interface provided by an embodiment of the present application;
FIG. 13 is a schematic diagram of an application selection interface provided by an embodiment of the present application;
fig. 14 is a flowchart of an acceleration function starting process provided in an embodiment of the present application;
fig. 15 is a schematic structural diagram of an application acceleration device according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the purpose, technical solutions and advantages of the present application clearer, the following will describe embodiments of the present application in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in this application are used for distinguishing between similar items and items that have substantially the same function or similar functionality, and it should be understood that "first," "second," and "nth" do not have any logical or temporal dependency or limitation on the number or order of execution.
The following explains the terms referred to in the examples of the present application:
normal acceleration mode: and accelerating the application program by a method of clearing background cache data.
Electric competition acceleration mode: the application program is accelerated through WiFi (Wireless Fidelity) and a mobile network double channel, and the acceleration effect is superior to that of a common acceleration mode.
Fig. 1 is a schematic diagram of an implementation environment of an application acceleration method according to an embodiment of the present application, and referring to fig. 1, the implementation environment includes a terminal 101 and a first server 102.
The terminal 101 has a first application program and a second application program installed and operated therein, and the second application program is used for providing an acceleration service for the first application program. By way of example, the terminal 101 may be a smart phone, a tablet computer, a notebook computer, an e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4) player, a laptop computer, a desktop computer, a smart television, a smart car device, and the like, which are not limited in this application.
The first server 102 is a background server of the first application program, and is used for providing a background service for the running of the first application program. Optionally, the implementation environment may further include a second server 103, where the second server 103 is a background server corresponding to the second application, and is configured to provide a background service for running the second application. The server may be an independent physical server, or a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, a cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a CDN (Content Delivery Network), a big data and artificial intelligence platform, which is not limited in this embodiment of the present application.
Optionally, the terminal 101, the first server 102, and the second server 103 are directly or indirectly connected through wired or wireless communication. Those skilled in the art will appreciate that the number of the terminals may be greater or smaller, for example, the number of the terminals may be only one, or may be several tens or hundreds, or greater. The embodiment of the present application does not limit the number of terminals and the device type in the implementation environment.
The embodiment of the application provides an application program acceleration method, which can be applied to multiple types of application programs, and can provide acceleration service for other application programs under the condition that the related running authority of a second application program is opened, that is, when the second application program detects that a first application program is started and the first application program is allowed to be accelerated, the first application program is automatically accelerated without manual triggering of a user, for example, for an online game type application program, after the user starts a game, the second application program can automatically accelerate the game in the background, so that the user is prevented from manually executing an application acceleration step when starting the game every time, and the operation path of the user is effectively shortened.
Fig. 2 is a flowchart of an application acceleration method according to an embodiment of the present application. The method may be applied to the above implementation environment, and referring to fig. 2, in one possible implementation, the method includes the following steps:
201. the terminal responds to the starting operation of the first application program and triggers the acceleration function of a second application program, and the second application program is used for providing the acceleration function for the first application program.
The first application may be any type of application, for example, the first application is an online game application with a high requirement on network quality. The second application is a security management application, a network tool application, and the like, for example, a cell phone manager, a game accelerator, and the like. The second application program can provide an acceleration function for the first application program, for example, improve the running smoothness of the first application program, improve the data transmission efficiency between the client and the server of the first application program, and the like.
202. And the terminal acquires the acceleration authority or acceleration mode matched by the second application program aiming at the first application program.
In one possible implementation, the acceleration scheme provided by the second application is different for applications that have different acceleration rights or acceleration modes, and the resulting acceleration effect is different.
203. And the terminal performs acceleration processing on the first application program based on the acceleration authority or the acceleration mode matched with the first application program.
Illustratively, the terminal cleans up the cache space through the second application program to optimize the running environment of the first application program, or accelerates the data transmission speed between the client and the server of the first application program through the second application program, and the embodiment of the present application does not limit the specific manner of acceleration processing.
204. And the terminal responds to the completion of the starting of the first application program and synchronously displays the accelerated processing information aiming at the first application program.
In a possible implementation manner, the terminal displays the acceleration processing information in a form of a popup window or a message notification on the running interface of the first application, where the acceleration processing information may include an acceleration mode applied by the first application, a current network speed, and the like, which is not limited in this embodiment of the present application.
According to the technical scheme, after the first application program is started, the second application program is automatically triggered to provide an acceleration function for the first application program based on the corresponding acceleration authority or acceleration mode, the current acceleration processing information is displayed for a user, and in the application program acceleration process, manual operation of the user is not needed, so that the operation path of the user in an application program acceleration scene is effectively simplified, and the human-computer interaction efficiency is improved.
The above embodiments are brief descriptions of the technical solutions of the present application, and specifically, the application acceleration method is specifically described with reference to fig. 3. Fig. 3 is a specific flowchart of an application acceleration method provided in an embodiment of the present application, and referring to fig. 3, in a possible implementation manner, the embodiment includes the following steps:
301. the terminal responds to the operation of the first application program and calls a second application program, and the second application program detects the starting state of the acceleration function.
In a possible implementation, the second application is executed in the background in advance, for example, the terminal triggers the second application to start when starting, the second application is executed in the background after starting, or the second application is started in advance by the user. When the first application program is started, a second application program running in the background is triggered to detect whether the current acceleration function is started. In one possible implementation manner, the first application program can wake up the second application program when being started, that is, the first application program can trigger the second application program to be started when being started. The second application program is awakened, that is, after the second application program runs, whether the current acceleration function is started or not is detected. If the acceleration function of the second application is not enabled, step 302 is performed, and if the acceleration function of the second application is enabled, steps 303 to 305 are performed.
In one possible implementation, the second application determines whether to perform the step of detecting the on-state of the acceleration function based on the current network environment of the terminal. That is, in response to the first application running, the second application obtains current network environment data, for example, the network environment data includes current network speed, network speed fluctuation data, and the like, and detects the activation state of the acceleration function of the second application when it is determined that the network environment data does not satisfy the reference condition, that is, it is determined that the first application has an acceleration requirement. When it is determined that the network environment data satisfies the reference condition, the application program may not be accelerated, i.e., the step of detecting the acceleration function on state of the second application program is not performed. The reference condition includes a network speed threshold, a network speed fluctuation threshold, and the like, which is not limited in the embodiment of the present application. In the embodiment of the application, after the first application program is determined to have the acceleration requirement, the subsequent acceleration step is executed, so that invalid data processing of the terminal can be avoided, and the data processing amount is reduced.
302. And the terminal responds to the situation that the acceleration function is not started, and executes a step of prompting a user to start the acceleration function of the second application program.
In a possible implementation manner, the terminal may guide the user to start the acceleration function by displaying a prompt message and the like, for example, displaying a first prompt message to prompt the user to jump to the acceleration interface and start the acceleration function. Illustratively, the process of directing the user to turn on the acceleration function includes the steps shown as 701-704 in fig. 7 described below.
303. And the terminal responds to the condition that the acceleration function is in the opened state, triggers the acceleration function of the second application program to start running, and detects whether the first application program is allowed to be accelerated or not by the second application program.
In one possible implementation, the second application determines whether the first application is allowed to be accelerated before accelerating the first application. For example, the second application stores a list of application identifiers of applications that are allowed to be accelerated, i.e., that have applied the acceleration function, i.e., the first data table, and the second application matches the application identifier of the first application with the application identifier in the first data table to determine whether the first application is allowed to be accelerated. The application identifier may be a resource package name of an application program, for example, the application identifier included in the first data table is set by default, or is provided by a user, which is not limited in this embodiment of the present application. Optionally, the first data table is stored in the terminal by the second application program, or in a second server corresponding to the second application program. The second application program may also store information of the application program to which the acceleration function is applied in other forms, for example, a token is provided for the first application program, and the embodiment of the present application is not limited to this. It should be noted that the above description of the method for determining whether the first application is allowed to be accelerated is only an exemplary illustration of one possible implementation manner, and this is not specifically limited by the embodiment of the present application.
In this embodiment of the application, if the first data table includes the identifier of the first application program, that is, the first application program is allowed to be accelerated, the terminal continues to execute the following step 304; if the first data table does not include the identification of the first application program, i.e., the first application program is not currently allowed to be accelerated, the first application program does not need to be accelerated. Optionally, if the first application is not currently allowed to be accelerated, the terminal may also prompt the user to apply an acceleration function to the first application, and add the application identifier of the first application to the first data table, which is not limited in this embodiment of the present application.
304. And the terminal responds to the permission of the first application program to be accelerated and determines the acceleration authority or acceleration mode corresponding to the first application program.
Different application programs can correspond to different acceleration modes, or different acceleration authorities are started aiming at different application programs, and the different acceleration modes or the different acceleration authorities correspond to different network acceleration methods and network acceleration effects. In one possible implementation, there is a correspondence between the acceleration mode and the acceleration right, i.e. different acceleration rights need to be activated when different acceleration modes are applied. For example, the first acceleration mode corresponds to a first acceleration permission, wherein the first acceleration mode is a normal acceleration mode, the first acceleration permission includes three sub-permissions, namely a background survival permission, a software identification permission and a notification permission, and in this case, the running environment of the first application program can be optimized in a form of cleaning the buffer space of the terminal, so as to improve the running speed of the first application program; the second acceleration mode corresponds to a second acceleration authority, wherein the second acceleration mode is a competitive acceleration mode, the second acceleration authority includes five sub-authorities, namely a background survival authority, a software identification authority, a notification authority, a Virtual Private Network (VPN) authority and a background popup authority, and in this case, the data transmission speed of the first application program can be increased by calling a VPN Virtual Network card.
In a possible implementation manner, information of the acceleration authority or the acceleration mode corresponding to the application program is stored in the first data table, the second application program queries the first data table based on the application identifier of the first application program, and if the first data table includes the application identifier of the first application program, the acceleration authority or the acceleration mode associated with the application identifier is obtained. Of course, the acceleration authority or the acceleration mode corresponding to the first application program may also be stored in other forms, which is not limited in this embodiment of the application.
In one possible implementation, the acceleration authority or acceleration mode may be determined based on a first account level of a user account logged into the first application, different account levels corresponding to different acceleration authorities or acceleration modes. For example, the common account level corresponds to a common acceleration mode, and corresponds to three acceleration rights, namely a background survival right, a software identification right and a notification right; the vip account level corresponds to an electronic contest acceleration mode and corresponds to five acceleration authorities of a background survival authority, a software identification authority, a notification authority, a VPN authority and a background popup authority. And the second application program determines the acceleration authority or the acceleration mode corresponding to the first account level as the acceleration authority or the acceleration mode corresponding to the first application program. Of course, the acceleration authority or the acceleration mode may also determine that the embodiment of the present application is not limited to this, based on the second account level of the user account logged in the second application.
In one possible implementation manner, the acceleration authority or acceleration mode corresponding to the first application program can be selected by a user. Illustratively, the terminal displays the selection controls corresponding to each acceleration mode, for example, the selection controls corresponding to each acceleration mode are displayed on the running interface of the first application in a pop-up window form, or jump to the acceleration mode selection interface and display the selection controls corresponding to each acceleration mode on the acceleration mode selection interface. And the terminal determines the acceleration mode selected by the user based on the triggering operation of the selection control by the user. For example, the terminal may also display an opening control corresponding to the acceleration authority, and determine, based on the acceleration authority opened by the user, which manner to accelerate the first application. In the embodiment of the application, the running state of the first application program after acceleration is ensured to meet the requirements of the user by selecting the acceleration mode by the user.
In one possible implementation, the acceleration authority or acceleration mode corresponding to the first application is determined based on current network environment data. Illustratively, the network environment data includes network speeds, and the current network speed is located in different value intervals and corresponds to different acceleration authorities or acceleration modes. The corresponding relationship between the numerical value interval and the acceleration authority or the acceleration mode is set by a developer, and the embodiment of the application does not limit the corresponding relationship. In the embodiment of the application, the acceleration mode is flexibly determined based on the current network environment, and the running state of the first application program after being accelerated is ensured to be good.
It should be noted that the above description of the acceleration mode determining method is only an exemplary description of several possible implementations, and the embodiment of the present application is not limited thereto.
305. And the terminal accelerates the first application program through the second application program based on the acceleration authority or the acceleration mode corresponding to the first application program.
Illustratively, in response to that the first application program corresponds to a first acceleration permission or a first acceleration mode, the terminal obtains a second data table through a second application program, where the second data table is used to store a process identifier of a running process, that is, the second data table is a current cleanable memory cache list. The terminal clears the processes indicated by the second data table except the first application program and the second application program through the second application program, for example, the terminal calls an interface for clearing cache data in the second application program, and performs data clearing through the interface.
Illustratively, in response to that the first application program corresponds to a second acceleration authority or a second acceleration mode, the terminal invokes a virtual network card of a virtual private network, that is, a VPN virtual network card, through the second application program, intercepts a data packet including an application identifier of the first application program through the virtual network card, invokes an application acceleration script of the second application program, and transmits the data packet. Taking a terminal of an android system as an example, when a VPN is started on the terminal, an Activity component needs to be introduced, that is, the Activity component is displayed on an interface, in this case, in order to avoid influencing the interface display of the first application program and avoid interfering a user with using the first application program, the second application program opens a transparent interface of one pixel, that is, a transparent Activity component is introduced. And calling an android system interface through context of the transparent Activity component, starting a VPN virtual network card, and intercepting a data packet of the first application program. The VPN virtual network card transmits the intercepted data packet to a background server of the second application program through an application acceleration script of the second application program, and transmits the data packet to a background server of the first application program through the background server of the second application program. The application acceleration script of the second application program may be an SDK (Software Development Kit) for performing dual channel acceleration on the application program, where the dual channel acceleration is performed through two channels, i.e., WiFi and a mobile network. In one possible implementation, after the terminal confirms that the dual channel accelerates normal startup, the transparent Activity component which is opened before is closed.
It should be noted that the above description of the acceleration method corresponding to each acceleration mode is only an exemplary description of one possible implementation manner, and the embodiment of the present application is not limited to which method is specifically adopted for application acceleration.
306. And the terminal responds to the completion of the starting of the first application program and synchronously displays the accelerated processing information aiming at the first application program.
In a possible implementation manner, after the first application program is started, the second application program accelerates the first application program, and the terminal may display acceleration processing information, that is, information such as an acceleration mode currently applied by the first application program. For example, in an application scenario of the first acceleration mode, after the data is cleared, the terminal displays acceleration processing information on a running interface of the first application, where the acceleration processing information is used to prompt a user to run the first application currently in the first acceleration mode. Or in an application scene of the second acceleration mode, after the terminal determines that the dual-channel acceleration is normally started, displaying acceleration processing information, wherein the acceleration processing information is used for prompting a user to run the first application program in the second acceleration mode. The acceleration processing information is displayed in the form of a pop-up floating window or a message notification, which is not limited in the embodiment of the present application. Fig. 4 is a schematic display diagram of acceleration processing information according to an embodiment of the present application, and referring to fig. 4, a terminal displays the acceleration processing information 401 in a form of a message notification on an operation interface of the first application.
307. And the terminal responds to the end of the operation of the first application program and displays the network quality improvement information in the acceleration process.
In this embodiment of the present application, when the second application detects that the running of the first application is finished, the acceleration of the first application is stopped. In a possible implementation manner, the terminal stores the application identifier of the running application program in a stack form, the application identifier of the application program that is started up most recently is stored on the top of the stack, the second application program may determine whether the first application program is running or not based on the change of the top of the stack application identifier, determine whether to continue to accelerate the first application program or not, and if it is determined that the first application program is finished running, the second application program stops the acceleration process of the first application program. Of course, the second application program may also determine whether the first application program operates in other manners, which is not limited in this embodiment of the application. Fig. 5 is a flowchart of an application acceleration ending process provided in an embodiment of the present application, referring to fig. 5, when a second application detects a change in a stack top application identifier, step 501 is executed to determine whether there is an application acceleration process in operation, that is, whether there is an application program that is currently accelerated, if there is an application acceleration process in operation, step 502 is executed to determine whether an application program indicated by a previous application identifier located at the stack top applies an acceleration function, if so, it is determined that the application program that is accelerated has ended operation, step 503 is continuously executed to end the acceleration process, and step 504 of displaying an acceleration result is executed, that is, network quality improvement information is displayed.
In one possible implementation manner, the acceleration result may be represented as network instruction promotion information, and the network quality promotion information includes network speed promotion information and the like. Illustratively, in response to the end of the operation of the first application program, the terminal acquires, through the second application program, the network quality improvement information during the operation of the first application program, and displays the network quality improvement information. Fig. 6 is a schematic display diagram of network quality improvement information provided in an embodiment of the present application, referring to fig. 6, a terminal displays network quality improvement information 601 in a form of message notification, where the network quality improvement information includes a network speed improvement amplitude in a current acceleration process, and optionally, an information viewing portal 602, where the information viewing portal is configured to view detailed information of network quality change in the current acceleration process, for example, a detailed information viewing interface is displayed in response to a trigger operation on the information viewing portal 602, and the detailed information viewing interface displays detailed information of network quality change in the current acceleration process.
According to the technical scheme provided by the embodiment of the application, after the first application program is started, the second application program is automatically triggered to provide the acceleration service for the first application program based on the corresponding acceleration authority or acceleration mode, the information of the currently provided acceleration service is displayed for the user, and in the acceleration process of the application program, manual operation of the user is not needed, so that the operation path of the user in the acceleration scene of the application program is effectively simplified, and the human-computer interaction efficiency is improved.
Fig. 7 is a flowchart of application acceleration according to an embodiment of the present application, and the application acceleration process is described below with reference to fig. 7. Referring to fig. 7, in a possible implementation manner, after the second application program is started, step 701 is executed to detect an application identifier of the started first application program, and step 702 is executed to determine whether there is an acceleration process currently running, if so, step 703 is executed to determine whether the acceleration process is the first application program, and if not, step 704 is executed. If the current acceleration process is not the first application program, ending the current acceleration process, and continuing to execute step 704, if the current acceleration process is the first application program, continuing to accelerate the first application program. In step 704, it is determined whether the first application program applies the acceleration function, if not, step 705 is executed to display a first prompt message to prompt a user to apply the acceleration function to the first application program, and if so, step 706 is executed to determine an acceleration mode corresponding to the first application program and accelerate the first application program based on the acceleration mode. The embodiment of the application provides a scheme for automatically accelerating the background of an application program, for example, the application program of a game is accelerated, when the game is detected to be started, under the condition of avoiding interference with the game process, the game is automatically triggered to be accelerated in the background, the operation path of a user is simplified, the convenience for accelerating the game user can be greatly improved, the network speed during the game operation is effectively improved, and the data transmission delay is reduced.
In the embodiment of the present application, if the acceleration function is not started by the second application, the user may be guided to start the automatic acceleration function, that is, the user is guided to start the operation permission of the second application, so as to ensure that the second application can accelerate other applications. Fig. 8 is a flowchart of an auto-acceleration function setting method provided in an embodiment of the present application, and referring to fig. 8, in a possible implementation manner, the method includes the following steps:
801. and the terminal responds to the situation that the acceleration function is not started, and displays first prompt information on the running interface of the first application program.
The first prompt message is used to prompt the acceleration function to be started, and is illustratively displayed on the running interface of the first application program in the form of a pop-up floating window or a message notification. Fig. 9 is a schematic display diagram of a first prompt message provided in an embodiment of the present application, and as shown in fig. 9, a first area 902 of an operation interface 901 of a first application program displays the first prompt message, where the first area 902 may be any area of the operation interface 901.
802. And the terminal responds to the triggering operation of the first prompt message and displays an acceleration interface.
In one possible implementation, the different acceleration modes correspond to different acceleration interfaces. Taking the acceleration mode as an example of determining the account level of the user account logged in the second application program, the terminal responds to the triggering operation of the first prompt message, determines the account level of the user account logged in the second application program, determines the acceleration mode corresponding to the account level, and displays the acceleration interface corresponding to the acceleration mode. Illustratively, the acceleration interface comprises at least one permission opening control, and the permission opening control is used for opening acceleration permission, namely related running permission of the second application program. In one possible implementation, the acceleration interface further includes an acceleration function launch control. Optionally, when each permission opening control is in an opened state, the acceleration function opening control is allowed to be opened, and if any permission opening control is in an unopened state, the acceleration function opening control cannot be opened. That is, in response to detecting the trigger operation on the acceleration function starting control, detecting the starting state of the at least one permission starting control; setting the acceleration function starting control to be in a started state in response to the situation that the at least one permission starting control is in the started state; and responding to the situation that any authority opening control is not opened, and displaying second prompt information, wherein the second prompt information is used for prompting that the at least one authority opening control is opened first. Optionally, if the user directly opens the acceleration function opening control, the user can trigger to automatically open each permission opening control. Illustratively, in the first acceleration mode, i.e. the normal acceleration mode, the operation permission opened to the second application program at least comprises a background survival permission, a software identification permission and a notification permission; in the second acceleration mode, namely the electronic competition acceleration mode, the operation permission opened for the second application program at least comprises a background survival permission, a software identification permission, a notification permission, a VPN permission and a background popup permission. Fig. 10 is a schematic diagram of an acceleration interface provided in an embodiment of the present application, where the acceleration interface includes an acceleration function start control 1001 and an authority start control 1002.
803. And the terminal detects the triggering operation of at least one permission starting control of the acceleration interface and the acceleration function starting control.
In a possible implementation manner, the acceleration interface displays an authority opening progress mark, the authority opening progress mark is used for indicating the opening condition of the authority opening control, the terminal responds to the opening of the operation authority corresponding to any authority opening control, determines a progress increment value corresponding to the operation authority, and updates the authority opening progress mark based on the progress increment value.
Fig. 11 is a schematic view of an acceleration interface provided in an embodiment of the present application, where a first area of the acceleration interface displays an effect diagram corresponding to a current acceleration function on state, and in a possible implementation manner, in a state where an acceleration function is not on, the effect diagram is as shown in a first area 1101 in fig. 11, and the effect diagram includes a rocket 1102, a launch pad 1103, and an authority opening progress identifier 1104. In a state that the acceleration function is not turned on, as shown in fig. 11, the rocket 1102 is located in the launch pad 1103, energy 1105 is stored in the launch pad 1103, when any operation authority is turned on or turned off, the amount of the energy 1105 stored in the launch pad 1103 also changes, the authority opening progress indicator 1104 may be represented in a digital form, in one possible implementation, the authority opening progress indicator 1104 corresponds to the energy 1105 stored in the launch pad, for example, when the authority opening progress indicator 1104 is 40%, the energy 1105 stored in the launch pad accounts for 40% of the total storage space of the launch pad. When the transmitting station 1103 is full of energy and the permission start progress indicator 1104 reaches 100%, it indicates that the acceleration function is started. In a possible implementation manner, the progress increase value corresponding to each operation permission may be displayed in the acceleration interface. As shown in fig. 11, in the left area of the permission opening control, the progress increase value of the operation permission indicated by the permission opening control is displayed, and for example, the progress increase value of the operation permission is displayed in the form of an energy ball 1106, and the number in the energy ball 1106 represents the progress increase value. The description of the effect diagram is only an exemplary description, and the embodiment of the present application does not limit the specific style of the effect diagram.
804. And the terminal responds to the at least one permission starting control and the acceleration function starting control to be started, and displays the dynamic effect of starting the acceleration function in the first area of the acceleration interface.
In a possible implementation manner, taking the effect diagram of the acceleration interface shown in fig. 11 as an example, the acceleration function start-up effect may be a rocket launching dynamic effect, that is, at the time of starting the acceleration function, the rocket launching dynamic effect is displayed. Fig. 12 is a schematic diagram of an acceleration interface provided in an embodiment of the present application, where an acceleration function is in an activated state, an effect diagram is shown in a first area 1201 in fig. 12, after an effect display of the acceleration function is completed, a rocket 1202 is displayed in an emitted state, and a launch pad is no longer displayed, and optionally, a background of the effect diagram is changed to a starry sky view angle to match with a rocket launch state.
In one possible implementation, the acceleration interface displays an application selection portal that provides functionality for selecting an application that is accelerated. As shown in fig. 12, an application selection entry 1203 is displayed on the acceleration interface, and an application selection interface is displayed in response to a trigger operation on the application selection entry, fig. 13 is a schematic diagram of an application selection interface provided in an embodiment of the present application, taking the interface shown in fig. 13 as an example, the application selection interface displays application identifiers of a plurality of applications, and a user can select an accelerated application on the application selection interface. Optionally, the second application program adds the application identifier of the selected application program in the application program selection interface to the first data table. It should be noted that the above description of the application selection interface is only an exemplary description of one possible implementation manner, and the application selection interface may also be displayed on the acceleration interface in a popup window manner, which is not limited in the embodiment of the present application.
Fig. 14 is a flowchart of an acceleration function starting process according to an embodiment of the present application, and the acceleration function starting process is described below with reference to fig. 14. In a possible implementation manner, in response to the start of the first application program, the second application program executes step 1401, which detects whether the operation permissions of the second application program are all opened, and if there are operation permissions that are not opened, guides the user to open the relevant operation permissions, and if the operation permissions are all opened, executes step 1402, which detects whether the acceleration function opening control is opened, and if not, guides the user to open the acceleration function opening control, and if so, selects the accelerated application program to complete the setting of the acceleration function. In the embodiment of the application, after the necessary operation permission is opened for the second application program, the second application program can automatically accelerate other application programs, and the convenience of application acceleration and the use experience of the application programs can be effectively improved. Taking the first application program as a game application program and the second application program as a mobile phone steward as an example, in the embodiment of the application, when a game is started, if the mobile phone steward detects that the current network speed of the terminal is low, the user is guided to start the automatic acceleration function by displaying the prompt information, the user can apply the automatic acceleration function after starting the operation authority required by application acceleration of the mobile phone steward, the application acceleration setting is not needed to be manually performed when a subsequent game is started, the mobile phone steward automatically completes the game acceleration in the background, and the user does not need to experience repeated and complicated operation paths when starting the game every time, so that the human-computer interaction efficiency is effectively improved.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
Fig. 15 is a schematic structural diagram of an application acceleration apparatus according to an embodiment of the present application, and referring to fig. 15, the apparatus includes:
a triggering module 1501, configured to trigger an acceleration function of a second application program in response to a start operation of a first application program, where the second application program is configured to provide the acceleration function to the first application program;
an obtaining module 1502, configured to obtain an acceleration permission or an acceleration mode that is matched by the second application program for the first application program;
an acceleration module 1503, configured to, in response to that the first data table includes the application identifier of the first application program, accelerate, by the second application program, the first application program based on an acceleration mode corresponding to the first application program;
a display module 1504, configured to synchronously display accelerated processing information for the first application in response to completion of the launching of the first application.
In one possible implementation, the trigger module 1501 is configured to:
responding to the starting operation of the first application program, and detecting the starting state of the acceleration function of the second application program;
responding to the situation that the acceleration function of the second application program is not started, and displaying first prompt information on an operation interface of the first application program, wherein the first prompt information is used for prompting the starting of the acceleration function;
and triggering the acceleration function of the second application program to run in response to the acceleration function of the second application program being in the opened state.
In a possible implementation manner, the display module 1504 is configured to display an acceleration interface in response to a trigger operation on the first prompt message, where the acceleration interface includes at least one permission start control, and the permission start control is configured to start an acceleration permission;
the device also comprises an operation detection module used for detecting the triggering operation of the at least one permission starting control;
the display module 1504 is configured to display a dynamic effect of starting the acceleration function in the first area of the acceleration interface in response to that the at least one permission start control is all started.
In one possible implementation, the acceleration interface further includes an acceleration function opening control;
the device also includes:
the state detection module is used for responding to the detection of the trigger operation of the acceleration function starting control and detecting the starting state of the at least one permission starting control;
the state setting module is used for setting the acceleration function starting control to be in a started state in response to the situation that the at least one permission starting control is in the started state;
the display module 1504 is configured to display a second prompt message in response to that any one of the permission start controls is in a non-start state, where the second prompt message is used to prompt that the at least one permission start control is started first.
In one possible implementation manner, the acceleration interface displays an authority opening progress mark;
the device also includes:
the determining module is used for responding to the opening of the acceleration authority corresponding to any authority opening control and determining the progress increasing value corresponding to the acceleration authority;
and the updating module is used for updating the permission opening progress identification based on the progress increment value.
In one possible implementation, the display module 1504 is configured to:
responding to the trigger operation of the first prompt message, and determining the acceleration authority or acceleration mode matched with the first application program;
and displaying an acceleration interface corresponding to the acceleration authority or the acceleration mode.
In one possible implementation, the acceleration interface displays an application selection portal that provides functionality for selecting an application that is accelerated.
In one possible implementation, the trigger module 1501 is configured to:
responding to the starting operation of the first application program, and acquiring current network environment data;
and detecting the starting state of the acceleration function of the second application program in response to the network environment data not meeting the reference condition.
In one possible implementation, the obtaining module 1502 is configured to perform any one of the following:
acquiring a first account grade of a user account logged in the first application program, and determining an acceleration authority or an acceleration mode corresponding to the first account grade as an acceleration authority or an acceleration mode corresponding to the first application program;
acquiring a first account grade of a user account logged in the first application program, and determining an acceleration authority or an acceleration mode corresponding to the first account grade as an acceleration authority or an acceleration mode corresponding to the first application program;
the method comprises the steps of obtaining a first data table, wherein the first data table is used for storing application identification of an application program allowing acceleration and corresponding acceleration authority or acceleration mode, inquiring the first data table based on the application identification of the first application program, and determining the acceleration authority or acceleration mode corresponding to the first application program.
In one possible implementation, the acceleration module 1503 is configured to:
responding to the first application program corresponding to a first acceleration authority or a first acceleration mode, acquiring a second data table, wherein the second data table is used for storing a process identifier of a running process, and clearing the process except the first application program and the second application program indicated by the second data table through the second application program;
and responding to the first application program corresponding to a second acceleration authority or a second acceleration mode, calling a virtual network card of a virtual private network through the second application program, intercepting a data packet comprising an application identifier of the first application program through the virtual network card, calling an application acceleration script of the second application program, and transmitting the data packet.
In one possible implementation, the apparatus further includes:
the second acquisition module is used for responding to the end of the operation of the first application program and acquiring the network quality improvement information in the operation process of the first application program;
the display module 1504 is configured to display the network quality improvement information.
According to the device provided by the embodiment of the application, after the first application program is started, the second application program is automatically triggered to provide an acceleration function for the first application program based on the corresponding acceleration authority or acceleration mode, the current acceleration processing information is displayed for a user, and in the application program acceleration process, manual operation of the user is not needed, so that the operation path of the user in an application program acceleration scene is effectively simplified, and the human-computer interaction efficiency is improved.
It should be noted that: the application program acceleration device provided in the above embodiment is only illustrated by the division of the above functional modules when an application program is accelerated, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the application program acceleration device provided in the above embodiments and the application program acceleration device embodiments belong to the same concept, and specific implementation processes thereof are described in the device embodiments and are not described herein again.
The computer device provided by the above technical solution can be implemented as a terminal or a server, for example, fig. 16 is a schematic structural diagram of a terminal provided in the embodiment of the present application. The terminal 1600 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 1600 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
Generally, terminal 1600 includes: one or more processors 1601 and one or more memories 1602.
Processor 1601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 1601 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). Processor 1601 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, the processor 1601 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1602 may include one or more computer-readable storage media, which may be non-transitory. The memory 1602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 1602 is used to store at least one program code for execution by the processor 1601 to implement the application acceleration methods provided by the method embodiments of the present application.
In some embodiments, the terminal 1600 may also optionally include: peripheral interface 1603 and at least one peripheral. Processor 1601, memory 1602 and peripheral interface 1603 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 1603 via buses, signal lines, or circuit boards. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1604, a display 1605, a camera assembly 1606, audio circuitry 1607, a positioning assembly 1608, and a power supply 1609.
Peripheral interface 1603 can be used to connect at least one I/O (Input/Output) related peripheral to processor 1601 and memory 1602. In some embodiments, processor 1601, memory 1602, and peripheral interface 1603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1601, the memory 1602 and the peripheral device interface 1603 may be implemented on a separate chip or circuit board, which is not limited by this embodiment.
The Radio Frequency circuit 1604 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1604 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 1604 converts the electrical signal into an electromagnetic signal to be transmitted, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1604 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1604 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display 1605 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1605 is a touch display screen, the display screen 1605 also has the ability to capture touch signals on or over the surface of the display screen 1605. The touch signal may be input to the processor 1601 as a control signal for processing. At this point, the display 1605 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1605 may be one, providing the front panel of the terminal 1600; in other embodiments, the display screens 1605 can be at least two, respectively disposed on different surfaces of the terminal 1600 or in a folded design; in some embodiments, display 1605 can be a flexible display disposed on a curved surface or a folded surface of terminal 1600. Even further, the display 1605 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 1605 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or other materials.
The camera assembly 1606 is used to capture images or video. Optionally, camera assembly 1606 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1606 can also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 1607 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1601 for processing or inputting the electric signals to the radio frequency circuit 1604 to achieve voice communication. For stereo sound acquisition or noise reduction purposes, the microphones may be multiple and disposed at different locations of terminal 1600. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1601 or the radio frequency circuit 1604 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1607 may also include a headphone jack.
The positioning component 1608 is configured to locate a current geographic Location of the terminal 1600 for purposes of navigation or LBS (Location Based Service). The Positioning component 1608 may be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian graves System, or the european union galileo System.
Power supply 1609 is used to provide power to the various components of terminal 1600. Power supply 1609 may be alternating current, direct current, disposable or rechargeable. When power supply 1609 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1600 also includes one or more sensors 1610. The one or more sensors 1610 include, but are not limited to: acceleration sensor 1611, gyro sensor 1612, pressure sensor 1613, fingerprint sensor 1614, optical sensor 1615, and proximity sensor 1616.
Acceleration sensor 1611 may detect acceleration in three coordinate axes of a coordinate system established with terminal 1600. For example, the acceleration sensor 1611 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1601 may control the display screen 1605 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1611. The acceleration sensor 1611 may also be used for acquisition of motion data of a game or a user.
Gyroscope sensor 1612 can detect the organism direction and the turned angle of terminal 1600, and gyroscope sensor 1612 can gather the 3D action of user to terminal 1600 with acceleration sensor 1611 in coordination. From the data collected by the gyro sensor 1612, the processor 1601 may perform the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 1613 may be disposed on the side frames of terminal 1600 and/or underlying display 1605. When the pressure sensor 1613 is disposed on the side frame of the terminal 1600, a user's holding signal of the terminal 1600 can be detected, and the processor 1601 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1613. When the pressure sensor 1613 is disposed at the lower layer of the display 1605, the processor 1601 controls the operability control on the UI interface according to the pressure operation of the user on the display 1605. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1614 is configured to collect a fingerprint of the user, and the processor 1601 is configured to identify the user based on the fingerprint collected by the fingerprint sensor 1614, or the fingerprint sensor 1614 is configured to identify the user based on the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 1601 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 1614 may be disposed on the front, back, or side of the terminal 1600. When a physical key or vendor Logo is provided on the terminal 1600, the fingerprint sensor 1614 may be integrated with the physical key or vendor Logo.
The optical sensor 1615 is used to collect ambient light intensity. In one embodiment, the processor 1601 may control the display brightness of the display screen 1605 based on the ambient light intensity collected by the optical sensor 1615. Specifically, when the ambient light intensity is high, the display luminance of the display screen 1605 is increased; when the ambient light intensity is low, the display brightness of the display screen 1605 is adjusted down. In another embodiment, the processor 1601 may also dynamically adjust the shooting parameters of the camera assembly 1606 based on the ambient light intensity collected by the optical sensor 1615.
A proximity sensor 1616, also referred to as a distance sensor, is typically disposed on the front panel of terminal 1600. The proximity sensor 1616 is used to collect the distance between the user and the front surface of the terminal 1600. In one embodiment, the processor 1601 controls the display 1605 to switch from the light screen state to the clear screen state when the proximity sensor 1616 detects that the distance between the user and the front surface of the terminal 1600 is gradually decreased; when the proximity sensor 1616 detects that the distance between the user and the front surface of the terminal 1600 is gradually increased, the display 1605 is controlled by the processor 1601 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 16 is not intended to be limiting of terminal 1600, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
Fig. 17 is a schematic structural diagram of a server according to an embodiment of the present application, where the server 1700 may generate a relatively large difference due to a difference in configuration or performance, and may include one or more processors (CPUs) 1701 and one or more memories 1702, where the one or more memories 1702 store at least one program code, and the at least one program code is loaded and executed by the one or more processors 1701 to implement the methods provided by the foregoing method embodiments. Of course, the server 1700 may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server 1700 may also include other components for implementing device functions, which are not described herein.
In an exemplary embodiment, a computer readable storage medium, such as a memory, including at least one program code executable by a processor to perform the application acceleration method of the above embodiments is also provided. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided that includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device realizes the operations performed by the application acceleration method.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (15)

1. A method for application acceleration, the method comprising:
triggering an acceleration function of a second application program in response to the starting operation of a first application program, wherein the second application program is used for providing the acceleration function for the first application program;
acquiring an acceleration authority or an acceleration mode matched by the second application program aiming at the first application program;
based on the acceleration authority or acceleration mode matched with the first application program, performing acceleration processing on the first application program;
and synchronously displaying accelerated processing information aiming at the first application program in response to the completion of the starting of the first application program.
2. The method of claim 1, wherein triggering an acceleration function of a second application in response to the launch of the first application comprises:
detecting the starting state of the acceleration function of the second application program in response to the first application program starting operation;
responding to the situation that the acceleration function of the second application program is not started, and displaying first prompt information on an operation interface of the first application program, wherein the first prompt information is used for prompting the starting of the acceleration function;
and triggering the acceleration function of the second application program to run in response to the acceleration function of the second application program being in the opened state.
3. The method of claim 2, wherein in response to the acceleration function of the second application being in an unopened state, after the first prompt message is displayed on the execution interface of the first application, the method further comprises:
responding to the triggering operation of the first prompt message, and displaying an acceleration interface, wherein the acceleration interface comprises at least one permission starting control, and the permission starting control is used for starting acceleration permission;
detecting a trigger operation on the at least one permission starting control;
and responding to the opening of the at least one permission opening control, and displaying the dynamic effect of the opening of the acceleration function in the first area of the acceleration interface.
4. The method of claim 3, wherein the acceleration interface further comprises an acceleration function launch control;
after the step of displaying an acceleration interface in response to the triggering operation of the first prompt message, the method further comprises:
detecting the starting state of the at least one permission starting control in response to the detection of the triggering operation of the acceleration function starting control;
setting the acceleration function starting control to be in a started state in response to the fact that the at least one permission starting control is in the started state;
and responding to the situation that any authority opening control is not opened, and displaying second prompt information, wherein the second prompt information is used for prompting that the at least one authority opening control is opened first.
5. The method of claim 3, wherein the acceleration interface displays an authorized opening progress indicator;
after the triggering operation of the at least one permission starting control is detected, the method further comprises the following steps:
responding to the opening of the acceleration authority corresponding to any authority opening control, and determining a progress increasing value corresponding to the acceleration authority;
and updating the permission opening progress identification based on the progress increasing value.
6. The method of claim 3, wherein displaying an acceleration interface in response to the triggering operation of the first prompt message comprises:
responding to the trigger operation of the first prompt message, and determining the acceleration authority or acceleration mode matched with the first application program;
and displaying an acceleration interface corresponding to the acceleration permission or the acceleration mode.
7. The method of claim 3, wherein the acceleration interface displays an application selection portal for providing functionality for selecting an application to be accelerated.
8. The method of claim 2, wherein detecting the activation state of the acceleration function of the second application in response to the first application launching comprises:
responding to the starting operation of the first application program, and acquiring current network environment data;
detecting an open state of an acceleration function of the second application in response to the network environment data not satisfying a reference condition.
9. The method according to claim 1, wherein the obtaining of the acceleration authority or acceleration pattern matched by the second application program for the first application program comprises any one of:
acquiring a first account grade of a user account logged in the first application program, and determining an acceleration authority or an acceleration mode corresponding to the first account grade as an acceleration authority or an acceleration mode corresponding to the first application program;
acquiring a first account grade of a user account logged in the first application program, and determining an acceleration authority or an acceleration mode corresponding to the first account grade as an acceleration authority or an acceleration mode corresponding to the first application program;
the method comprises the steps of obtaining a first data table, wherein the first data table is used for storing application identification of an application program allowing acceleration and corresponding acceleration authority or acceleration mode, inquiring the first data table based on the application identification of the first application program, and determining the acceleration authority or acceleration mode corresponding to the first application program.
10. The method according to claim 1, wherein the accelerating the first application based on the acceleration authority or the acceleration pattern matched with the first application comprises:
responding to a first acceleration permission or a first acceleration mode corresponding to the first application program, acquiring a second data table, wherein the second data table is used for storing a process identifier of a running process, and clearing processes except the first application program and the second application program, which are indicated by the second data table, through the second application program;
and responding to a second acceleration authority or a second acceleration mode corresponding to the first application program, calling a virtual network card of a virtual private network through the second application program, intercepting a data packet comprising an application identifier of the first application program through the virtual network card, calling an application acceleration script of the second application program, and transmitting the data packet.
11. The method of claim 1, wherein after synchronously exposing accelerated processing information for the first application in response to completion of launching the first application, the method further comprises:
responding to the end of the operation of the first application program, and acquiring network quality improvement information in the operation process of the first application program;
and displaying the network quality improvement information.
12. An application acceleration apparatus, comprising:
the system comprises a triggering module, a processing module and a control module, wherein the triggering module is used for responding to the starting operation of a first application program and triggering the acceleration function of a second application program, and the second application program is used for providing the acceleration function for the first application program;
the first acquisition module is used for acquiring the acceleration authority or the acceleration mode matched by the second application program aiming at the first application program;
the acceleration module is used for responding to the situation that the first data table comprises the application identification of the first application program, and accelerating the first application program through the second application program based on the acceleration mode corresponding to the first application program;
and the display module is used for responding to the completion of the starting of the first application program and synchronously displaying the accelerated processing information aiming at the first application program.
13. The apparatus of claim 12, wherein the triggering module is configured to:
detecting the starting state of the acceleration function of the second application program in response to the first application program starting operation;
responding to the situation that the acceleration function of the second application program is not started, and displaying first prompt information on an operation interface of the first application program, wherein the first prompt information is used for prompting the starting of the acceleration function;
and triggering the acceleration function of the second application program to run in response to the acceleration function of the second application program being in the opened state.
14. A computer device comprising one or more processors and one or more memories having at least one computer program stored therein, the at least one computer program being loaded and executed by the one or more processors to perform operations performed by the application acceleration method of any one of claims 1 to 11.
15. A computer-readable storage medium, having at least one computer program stored therein, the at least one computer program being loaded and executed by a processor to perform operations performed by the application acceleration method of any one of claims 1 to 11.
CN202011437980.3A 2020-12-07 2020-12-07 Application program acceleration method and device, computer equipment and storage medium Pending CN112596807A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011437980.3A CN112596807A (en) 2020-12-07 2020-12-07 Application program acceleration method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011437980.3A CN112596807A (en) 2020-12-07 2020-12-07 Application program acceleration method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112596807A true CN112596807A (en) 2021-04-02

Family

ID=75191851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011437980.3A Pending CN112596807A (en) 2020-12-07 2020-12-07 Application program acceleration method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112596807A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115037699A (en) * 2022-04-22 2022-09-09 湖北聚易起信息科技有限公司 Application program acceleration method and device, storage medium and electronic equipment
CN116302209A (en) * 2023-05-15 2023-06-23 阿里云计算有限公司 Method for accelerating starting of application process, distributed system, node and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115037699A (en) * 2022-04-22 2022-09-09 湖北聚易起信息科技有限公司 Application program acceleration method and device, storage medium and electronic equipment
CN116302209A (en) * 2023-05-15 2023-06-23 阿里云计算有限公司 Method for accelerating starting of application process, distributed system, node and storage medium
CN116302209B (en) * 2023-05-15 2023-08-04 阿里云计算有限公司 Method for accelerating starting of application process, distributed system, node and storage medium

Similar Documents

Publication Publication Date Title
CN110602321B (en) Application program switching method and device, electronic device and storage medium
CN110278464B (en) Method and device for displaying list
CN108762881B (en) Interface drawing method and device, terminal and storage medium
CN110300274B (en) Video file recording method, device and storage medium
CN110740340B (en) Video live broadcast method and device and storage medium
CN108897597B (en) Method and device for guiding configuration of live broadcast template
CN108900925B (en) Method and device for setting live broadcast template
CN109800003B (en) Application downloading method, device, terminal and storage medium
CN109246228B (en) Resource acquisition method, resource allocation method, device, equipment and storage medium
CN111241499A (en) Application program login method, device, terminal and storage medium
CN113613028A (en) Live broadcast data processing method, device, terminal, server and storage medium
CN113395566A (en) Video playing method and device, electronic equipment and computer readable storage medium
CN112770173A (en) Live broadcast picture processing method and device, computer equipment and storage medium
CN112596807A (en) Application program acceleration method and device, computer equipment and storage medium
CN111061369B (en) Interaction method, device, equipment and storage medium
CN112118353A (en) Information display method, device, terminal and computer readable storage medium
CN109107163B (en) Analog key detection method and device, computer equipment and storage medium
CN108228052B (en) Method and device for triggering operation of interface component, storage medium and terminal
CN110519614B (en) Method, device and equipment for interaction between accounts in live broadcast room
CN112068887B (en) Method and device for accelerating application
CN111158780B (en) Method, device, electronic equipment and medium for storing application data
CN112764824B (en) Method, device, equipment and storage medium for triggering identity verification in application program
CN109275015B (en) Method, device and storage medium for displaying virtual article
CN114826799A (en) Information acquisition method, device, terminal and storage medium
CN112468838A (en) Live broadcast room management method, system, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40041987

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination