CN113568634B - Processing method and processing device for application optimization - Google Patents

Processing method and processing device for application optimization Download PDF

Info

Publication number
CN113568634B
CN113568634B CN202110721253.8A CN202110721253A CN113568634B CN 113568634 B CN113568634 B CN 113568634B CN 202110721253 A CN202110721253 A CN 202110721253A CN 113568634 B CN113568634 B CN 113568634B
Authority
CN
China
Prior art keywords
application
information
optimized
configuration file
optimization
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.)
Active
Application number
CN202110721253.8A
Other languages
Chinese (zh)
Other versions
CN113568634A (en
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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202110721253.8A priority Critical patent/CN113568634B/en
Publication of CN113568634A publication Critical patent/CN113568634A/en
Application granted granted Critical
Publication of CN113568634B publication Critical patent/CN113568634B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/443Optimisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a processing method and a processing device for application optimization, wherein the processing method comprises the following steps: after a system of a terminal device is upgraded, acquiring an application to be optimized of the terminal device; when the hotspot configuration file of the application to be optimized exists in the terminal equipment, optimizing the application to be optimized by adopting a first optimization mode; when the hotspot configuration file of the application to be optimized does not exist in the terminal equipment, optimizing the application to be optimized by adopting a second optimization mode; the hot spot configuration file is used for recording a hot spot function called by running the application to be optimized; the first optimization mode refers to an optimization mode which depends on the hotspot configuration file for optimization; the second optimization mode is an optimization mode which does not depend on the hotspot configuration file for optimization. According to the technical method, the problem of unsmooth starting of the application program after the system is upgraded can be reduced to a certain extent, and user experience is improved.

Description

Processing method and processing device for application optimization
Technical Field
The present application relates to the field of terminals, and in particular, to a processing method and a processing apparatus for application optimization.
Background
With the continuous development of terminal technology, terminal devices become an essential part of daily life, and users perform activities such as social contact and entertainment through various application programs on the terminal devices. When a system on a terminal device has a new version, system upgrade is usually required; after the system upgrade is completed, the terminal device performs application optimization on the installed application program.
Currently, the optimized application usually adopts a Just In Time (JIT) compiling mode during running, that is, recompilation is required each time the application program is started; therefore, the user may experience a poor experience when using the terminal device compared to the user before upgrading.
Therefore, after the system upgrade of the terminal device, how to optimize the application program becomes a technical problem which needs to be solved urgently.
Disclosure of Invention
The application optimization processing method and device can reduce the problem of unsmooth starting of the application program after application optimization to a certain extent, and improve user experience.
In a first aspect, a processing method for application optimization is provided, including:
after a system of a terminal device is upgraded, acquiring an application to be optimized of the terminal device; when the hotspot configuration file of the application to be optimized exists in the terminal equipment, optimizing the application to be optimized by adopting a first optimization mode; when the hotspot configuration file of the application to be optimized does not exist in the terminal equipment, optimizing the application to be optimized by adopting a second optimization mode; the hotspot configuration file is used for recording a hotspot function called by the application to be optimized; the first optimization mode refers to an optimization mode which depends on the hotspot configuration file for optimization; the second optimization mode refers to an optimization mode which does not depend on the hotspot configuration file for optimization.
It should be understood that the application to be optimized may refer to an application program to be optimized; the hotspot configuration file (profile) is used for recording hotspot function information in the application running process. The longer and more fully the user uses the application, the more detailed the profile records the collected data of the hotspot function, and the more closely to the user's usage habit, i.e., records the hotspot function frequently used by the user.
In a possible implementation manner, the first optimization manner may be speed-profile optimization; the second optimization mode may be verification (verify) optimization; wherein, verify optimization is only carried out on the code of the application dex file by verify optimization; the speed-profile optimization is an optimization mode defined by a system, and a dex file in an application program is optimized according to a collected hotspot function configuration file; the speed-profile optimization can verify the dex file codes in the application program, and compile the methods listed in the configuration file in Advance (AOT), and the compiling and executing efficiency is high according to the hotspot functions recorded by the profile.
In a possible implementation manner, the application to be optimized may be determined after the system of the terminal device is upgraded according to the use frequency of the user or other preset conditions.
Based on the application optimization processing method in the embodiment of the application, after the system is upgraded, an optimization mode adopted by optimizing the application to be optimized can be determined according to whether the hotspot configuration file of the application to be optimized exists in the system; when a hotspot configuration file of an application to be optimized exists in the system, optimizing the application to be optimized by adopting a first optimization mode depending on the hotspot configuration file; by the application optimization processing method, the problem of unsmooth starting of the application program after the system is upgraded can be reduced to a certain extent, and user experience is improved.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes:
acquiring first information and second information of the application to be optimized, wherein the first information refers to parameter information of the application to be optimized before the system is upgraded; the second information refers to the parameter information of the application to be optimized after the system is upgraded;
and determining whether to delete the hotspot configuration file according to the first information and the second information.
According to the application optimization processing method, after the system is upgraded, whether the configuration file corresponding to the application program is cleared or not is determined according to whether the application program changes or not; further, when the application program is optimized, the adopted optimization mode can be determined according to whether the hotspot configuration file of the application program exists or not; in the embodiment of the application, the hotspot configuration files of the application program are selectively deleted, but not all the hotspot configuration files are uniformly deleted, so that different optimization modes can be adopted during the optimization of the application program; by the application optimization processing method, the problem of unsmooth starting of the application program after the system is upgraded can be reduced to a certain extent, and user experience is improved.
With reference to the first aspect, in some implementation manners of the first aspect, the determining whether to delete the hotspot profile according to the first information and the second information includes:
deleting the hotspot configuration file when the first information is different from the second information;
and when the first information is the same as the second information, reserving the hotspot profile.
It should be understood that before and after the system is upgraded, if the information of the application to be optimized changes, the hotspot configuration file of the application to be optimized can be regarded as being in a failure state; therefore, the hotspot configuration file of the application to be optimized can be cleared when the information change of the application to be optimized is determined.
With reference to the first aspect, in some implementation manners of the first aspect, the parameter information includes version information of the application to be optimized, and deleting the hotspot configuration file when the first information is different from the second information includes:
and deleting the hotspot configuration file if the version information of the application to be optimized is different before and after the system is upgraded.
It should be understood that before and after system upgrade, under the condition that information such as directory information, signature information and the like of the application to be optimized is not changed, version information of the application may also be different; in order to more accurately and quickly judge whether the information of the application to be optimized changes before and after the system is upgraded, whether the version information of the application to be optimized changes or not can be judged firstly.
In a possible implementation manner, whether the version information of the application to be optimized changes can be determined according to the version number of the application to be optimized before and after the system is upgraded; if the version information of the application to be optimized is different, the hotspot configuration file of the application to be optimized can be deleted.
With reference to the first aspect, in some implementations of the first aspect, when the hotspot configuration file of the application to be optimized exists in the terminal device, optimizing the application to be optimized in a first optimization manner includes:
verifying the first information and the second information;
and when the hotspot configuration file exists and the first information is the same as the second information, optimizing the application to be optimized by adopting the first optimization mode.
Based on the application optimization processing method of the embodiment of the application, when the hotspot configuration file of the application to be optimized exists in the system, the information of the application to be optimized can be verified again; and determining that the application to be optimized is optimized by adopting the hotspot configuration culture in the system under the condition that the application to be optimized is not changed after the system is upgraded.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes:
and deleting the hotspot configuration file when the hotspot configuration file exists and the first information is different from the second information.
With reference to the first aspect, in certain implementations of the first aspect, the parameter information further includes one or more of directory information, signature information, and permission information of the application to be optimized.
In a second aspect, there is provided an application optimized processing apparatus comprising means for performing any of the methods of the first aspect. The processing device may be a terminal device or a chip in the terminal device. The processing device may include an input unit and a processing unit.
When the processing device is a terminal device, the processing unit may be a processor, and the input unit may be a communication interface; the terminal device may further comprise a memory for storing computer program code which, when executed by the processor, causes the terminal device to perform any of the processing methods of the first aspect.
When the processing device is a chip in a terminal device, the processing unit may be a processing unit inside the chip, and the input unit may be an output interface, a pin, a circuit, or the like; the chip may also include a memory, which may be a memory within the chip (e.g., registers, cache, etc.) or a memory external to the chip (e.g., read-only memory, random access memory, etc.); the memory is configured to store computer program code which, when executed by the processor, causes the chip to perform any of the processing methods of the first aspect.
In a third aspect, a computer-readable storage medium is provided, which stores computer program code, which, when executed by an application-optimized processing apparatus, causes the processing apparatus to perform any one of the processing methods of the first aspect.
In a fourth aspect, there is provided a computer program product comprising: computer program code which, when run by an application-optimized processing apparatus, causes the processing apparatus to perform any of the processing methods of the first aspect.
Drawings
Fig. 1 is a schematic diagram of a hardware system suitable for a terminal device of the present application.
Fig. 2 is a schematic diagram of a software system suitable for the terminal device of the present application.
Fig. 3 is a schematic diagram of a processing method for application optimization according to an embodiment of the present application.
Fig. 4 is a schematic diagram of a processing method for application optimization according to an embodiment of the present application.
FIG. 5 is a schematic diagram of an application optimization processing interface provided herein.
Fig. 6 is a schematic block diagram of an application-optimized processing device provided herein.
Fig. 7 shows a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings. The terms "first", "second", and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
To facilitate understanding of the processing method for application optimization provided by the embodiments of the present application, terms related to the embodiments of the present application will be described first.
1. The dex file is converted into an oat file (Dalvikextable file to optimized art file, dex2oat)
The dex2 at system optimization refers to that an advanced compilation of time (AOT) file of an android Application Package (APK) of an application is compiled to generate a locally executable file, and the locally executable file can be directly executed by a local processor.
2. Android Application Package (APK)
The APK is a file format of an application package used by an Android operating system; for distributing and installing mobile applications and middleware.
3、(dalvikexecutable,dex)
The dex file refers to a file which is generated by compiling java program codes into byte codes, and all codes of an application program are in the dex file.
4、odex
The odex file is an executable dex file extracted from an application program APK in the android system, and then an intermediate binary file odex is generated through dex2oat optimization; when the application runs, the virtual machine can directly call the odex file so as to accelerate the starting speed of the software and extract and improve the execution efficiency of the program in advance.
5. Runtime compilation (just in time, JIT)
The use of runtime compilation by an application requires recompilation each time the application is started.
6. Advance compilation (ahead of time, AOT)
AOT refers to pre-compiling the dex of an application into an Executable and Linkable Format (ELF) file through dex2oat, without recompiling each time the application runs.
7. Space download (over-the-air, OAT)
OAT refers to the online upgrade of a system to the latest version.
8. Hotspot configuration file (profile)
The profile is used for recording hotspot function information in the application running process; the hot spot function refers to a function which is called and has higher execution frequency; the function called by the user to run the program can be determined through the hotspot configuration file of the application program.
9. Verification (verify) optimization
The verify optimization only performs application dex file code verification optimization.
10. speed-profile optimization
The speed-profile optimization is an optimization mode defined by a system, and a dex file in an application program is optimized according to a collected hotspot function configuration file; and the speed-profile optimization can verify the dex file codes in the application program, carry out AOT compilation on the methods listed in the configuration file, and have high efficiency in compiling and executing according to the hotspot functions recorded by the profile.
Fig. 1 shows a hardware system suitable for a terminal device of the present application.
The terminal device 100 may be a mobile phone, a smart screen, a tablet computer, a wearable electronic device, an in-vehicle electronic device, an Augmented Reality (AR) device, a Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), a projector, and the like, and the specific type of the terminal device 100 is not limited in this embodiment.
The terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The configuration shown in fig. 1 is not intended to specifically limit the terminal device 100. In other embodiments of the present application, terminal device 100 may include more or fewer components than shown in FIG. 1, or terminal device 100 may include a combination of some of the components shown in FIG. 1, or terminal device 100 may include sub-components of some of the components shown in FIG. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units. For example, the processor 110 may include at least one of the following processing units: an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and a neural Network Processor (NPU). The different processing units may be independent devices or integrated devices.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. For example, the processor 110 may include at least one of the following interfaces: an inter-integrated circuit (I2C) interface, an inter-integrated circuit audio source (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a SIM interface, and a USB interface.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement the touch function of the terminal device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194 and camera 193. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture function of terminal device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the terminal device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal interface and may also be configured as a data signal interface. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, and the sensor module 180. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, or a MIPI interface.
The USB interface 130 is an interface conforming to the USB standard specification, and may be a Mini (Mini) USB interface, a Micro (Micro) USB interface, or a USB Type C (USB Type C) interface, for example. The USB interface 130 may be used to connect a charger to charge the terminal device 100, to transmit data between the terminal device 100 and a peripheral device, and to connect an earphone to play audio through the earphone. The USB interface 130 may also be used to connect other terminal devices 100, such as AR devices.
The connection relationship between the modules shown in fig. 1 is only illustrative, and does not limit the connection relationship between the modules of the terminal device 100. Alternatively, the modules of the terminal device 100 may also adopt a combination of multiple connection manners in the above embodiments.
The charge management module 140 is used to receive power from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive the current of the wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive electromagnetic waves through a wireless charging coil of the terminal device 100 (current path is shown as dashed line). The charging management module 140 may also supply power to the terminal device 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle number, and battery state of health (e.g., leakage, impedance). Alternatively, the power management module 141 may be disposed in the processor 110, or the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the terminal device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in terminal device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication applied on the terminal device 100, for example, at least one of the following solutionsOne of them: second generation (2)thgeneration, 2G) mobile communication solution, third generation (3)thgeneration, 3G) mobile communication solution, fourth generation (4)thgeneration, 5G) mobile communication solution, fifth generation (5)thgeneration, 5G) mobile communication solutions. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, and perform filtering, amplification, and other processes on the received electromagnetic waves, and then transmit the electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and the amplified signal is converted into electromagnetic waves by the antenna 1 to be radiated. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (e.g., speaker 170A, microphone 170B) or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
Similar to the mobile communication module 150, the wireless communication module 160 may also provide a wireless communication solution applied on the terminal device 100, such as at least one of the following: wireless Local Area Networks (WLANs), Bluetooth (BT), Bluetooth Low Energy (BLE), Ultra Wide Band (UWB), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR) technologies. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency-modulates and filters electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive, frequency modulate and amplify the signal to be transmitted from the processor 110, which is converted to electromagnetic waves via the antenna 2 for radiation.
In some embodiments, the antenna 1 of the terminal device 100 and the mobile communication module 150 are coupled and the antenna 2 of the terminal device 100 and the wireless communication module 160 are coupled so that the terminal device 100 can communicate with a network and other electronic devices through wireless communication technology. The wireless communication technology may include at least one of the following communication technologies: global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), time division code division multiple access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, IR technologies. The GNSS may include at least one of the following positioning techniques: global Positioning System (GPS), global navigation satellite system (GLONASS), beidou satellite navigation system (BDS), quasi-zenith satellite system (QZSS), satellite-based augmentation system (SBAS).
The terminal device 100 may implement a display function through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 may be used to display images or video. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini light-emitting diode (Mini LED), a Micro light-emitting diode (Micro LED), a Micro OLED (Micro OLED), or a quantum dot light-emitting diode (QLED). In some embodiments, the terminal device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
The terminal device 100 may implement a photographing function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can perform algorithm optimization on the noise, brightness and color of the image, and can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into a standard Red Green Blue (RGB), YUV, or the like format image signal. In some embodiments, the terminal device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the terminal device 100 selects a frequency point, the digital signal processor is used to perform fourier transform or the like on the frequency point energy.
Video codecs are used to compress or decompress digital video. The terminal device 100 may support one or more video codecs. In this way, the terminal device 100 can play or record video in a plurality of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG 4.
The NPU is a processor which uses biological neural network structure for reference, for example, the NPU can rapidly process input information by using a transfer mode between human brain neurons, and can also continuously self-learn. The NPU can implement functions such as intelligent recognition of the terminal device 100, for example: image recognition, face recognition, speech recognition and text understanding.
The external memory interface 120 may be used to connect an external memory card, such as a Secure Digital (SD) card, to expand the memory capability of the terminal device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. Wherein the storage program area may store an operating system, an application program required for at least one function (e.g., a sound playing function and an image playing function). The storage data area may store data (e.g., audio data and a phonebook) created during use of the terminal device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a nonvolatile memory such as: at least one magnetic disk storage device, a flash memory device, and a universal flash memory (UFS), and the like. The processor 110 executes various processing methods of the terminal device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The terminal device 100 may implement audio functions, such as music playing and recording, through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor.
The audio module 170 is used to convert digital audio information into an analog audio signal for output, and may also be used to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a horn, is used to convert the audio electrical signal into a sound signal. The terminal device 100 can listen to music or handsfree talk through the speaker 170A.
The receiver 170B, also called an earpiece, is used to convert the electrical audio signal into a sound signal. When the user uses the terminal apparatus 100 to listen to a call or voice information, the voice can be listened to by placing the receiver 170B close to the ear.
The microphone 170C, also referred to as a microphone or microphone, is used to convert sound signals into electrical signals. When a user makes a call or sends voice information, a sound signal may be input into the microphone 170C by sounding near the microphone 170C. The terminal device 100 may be provided with at least one microphone 170C. In other embodiments, the terminal device 100 may be provided with two microphones 170C to implement the noise reduction function. In other embodiments, three, four or more microphones 170C may be provided in the terminal device 100 to achieve the functions of identifying the sound source and directing the recording. The processor 110 may process the electrical signal output by the microphone 170C, for example, the audio module 170 and the wireless communication module 160 may be coupled via a PCM interface, and the microphone 170C converts the ambient sound into an electrical signal (e.g., a PCM signal) and transmits the electrical signal to the processor 110 via the PCM interface; from processor 110, the electrical signal is subjected to a volume analysis and a frequency analysis to determine the volume and frequency of the ambient sound.
The headphone interface 170D is used to connect a wired headphone. The earphone interface 170D may be the USB interface 130, or may be an open mobile terminal 100 platform (OMTP) standard interface of 3.5mm, or a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A may be of a wide variety, and may be, for example, a resistive pressure sensor, an inductive pressure sensor, or a capacitive pressure sensor. The capacitive pressure sensor may be a sensor including at least two parallel plates having conductive materials, and when a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes, and the terminal device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation is applied to the display screen 194, the terminal device 100 detects the touch operation from the pressure sensor 180A. The terminal device 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message; and when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the terminal device 100. In some embodiments, the angular velocity of terminal device 100 about three axes (i.e., the x-axis, y-axis, and z-axis) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the terminal device 100, calculates the distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the terminal device 100 by a reverse movement, thereby achieving anti-shake. The gyro sensor 180B can also be used in scenes such as navigation and motion sensing games.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal device 100 calculates an altitude from the barometric pressure measured by the barometric pressure sensor 180C, and assists in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The terminal device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the terminal device 100 is a folder, the terminal device 100 may detect the opening and closing of the folder according to the magnetic sensor 180D. The terminal device 100 may set the automatic unlocking of the flip according to the detected opening/closing state of the holster or the detected opening/closing state of the flip.
The acceleration sensor 180E can detect the magnitude of acceleration of the terminal device 100 in various directions (generally, x-axis, y-axis, and z-axis). The magnitude and direction of gravity can be detected when the terminal device 100 is stationary. The acceleration sensor 180E may also be used to recognize the posture of the terminal device 100 as an input parameter for applications such as horizontal and vertical screen switching and pedometer.
The distance sensor 180F is used to measure a distance. The terminal device 100 may measure the distance by infrared or laser. In some embodiments, for example in a shooting scene, terminal device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a light-emitting diode (LED) and a photodetector, for example, a photodiode. The LED may be an infrared LED. The terminal device 100 emits infrared light outward through the LED. The terminal device 100 detects infrared reflected light from a nearby object using a photodiode. When the reflected light is detected, the terminal device 100 can determine that an object exists nearby. When the reflected light is not detected, the terminal device 100 can determine that there is no object nearby. The terminal device 100 can detect whether the user holds the terminal device 100 close to the ear by using the proximity light sensor 180G, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used for automatic unlocking and automatic screen locking in a holster mode or a pocket mode.
The ambient light sensor 180L is used to sense the ambient light level. The terminal device 100 may adaptively adjust the brightness of the display screen 194 according to the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the terminal device 100 is in a pocket, in order to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The terminal device 100 can utilize the collected fingerprint characteristics to realize functions of unlocking, accessing an application lock, taking a picture, answering an incoming call and the like.
The temperature sensor 180J is used to detect temperature. In some embodiments, the terminal device 100 executes a temperature processing policy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds the threshold, the terminal device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the terminal device 100 heats the battery 142 when the temperature is below another threshold to avoid the terminal device 100 being abnormally shut down due to low temperature. In other embodiments, when the temperature is lower than a further threshold, the terminal device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a touch device. The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also referred to as a touch screen. The touch sensor 180K is used to detect a touch operation applied thereto or in the vicinity thereof. The touch sensor 180K may pass the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the terminal device 100 and at a different position from the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key and a volume key. The keys 190 may be mechanical keys or touch keys. The terminal device 100 may receive a key input signal and implement a function related to a case input signal.
The motor 191 may generate vibrations. The motor 191 may be used for incoming call alerting as well as for touch feedback. The motor 191 may generate different vibration feedback effects for touch operations applied to different applications. The motor 191 may also produce different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenarios (e.g., time reminders, received messages, alarms, and games) may correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a change in charge status and charge level, or may be used to indicate a message, missed call, and notification.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195 to make contact with the terminal device 100, or may be pulled out from the SIM card interface 195 to make separation from the terminal device 100. The terminal device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The same SIM card interface 195 may be inserted with multiple cards at the same time, which may be of the same or different types. The SIM card interface 195 may also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the terminal device 100 employs an embedded SIM (eSIM) card, which may be embedded in the terminal device 100 and cannot be separated from the terminal device 100.
The hardware system of the terminal device 100 is described above in detail, and the software system of the terminal device 100 is described below. The software system may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture or a cloud architecture, and the software system of the terminal device 100 is exemplarily described in this embodiment by taking the layered architecture as an example.
As shown in fig. 2, the software system adopting the layered architecture is divided into a plurality of layers, and each layer has a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the software system may be divided into four layers, an application layer, an application framework layer, an Android Runtime (Android Runtime) and system library, and a kernel layer from top to bottom, respectively.
The application layer may include applications such as camera, gallery, calendar, talk, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application of the application layer. The application framework layer may include some predefined functions.
For example, the application framework layers include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen and judge whether a status bar, a lock screen and a capture screen exist.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and answered, browsing history and bookmarks, and phone books.
The view system includes visual controls such as controls to display text and controls to display pictures. The view system may be used to build applications. The display interface may be composed of one or more views, for example, a display interface including a short message notification icon, which may include a view displaying text and a view displaying pictures.
The telephone manager is used to provide a communication function of the terminal device 100, such as management of a call state (on or off).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, and video files.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as notification managers, are used for download completion notifications and message reminders. The notification manager may also manage notifications that appear in a chart or scrollbar text form in a status bar at the top of the system, such as notifications for applications running in the background. The notification manager may also manage notifications that appear on the screen in dialog windows, such as prompting for text messages in a status bar, sounding a prompt tone, vibrating the electronic device, and flashing an indicator light.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used to perform the functions of object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
The system library may include a plurality of functional modules, such as: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., open graphics library for embedded systems, OpenGL ES) and 2D graphics engines (e.g., Skin Graphics Library (SGL)) for embedded systems.
The surface manager is used for managing the display subsystem and providing fusion of the 2D layer and the 3D layer for a plurality of application programs.
The media library supports playback and recording of multiple audio formats, playback and recording of multiple video formats, and still image files. The media library may support a variety of audiovisual coding formats, such as MPEG4, h.264, moving picture experts group audio layer 3 (MP 3), Advanced Audio Coding (AAC), adaptive multi-rate (AMR), joint picture experts group (JPG), and Portable Network Graphics (PNG).
The three-dimensional graphics processing library may be used to implement three-dimensional graphics drawing, image rendering, compositing, and layer processing.
The two-dimensional graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The kernel layer can comprise driving modules such as a display driver, a camera driver, an audio driver and a sensor driver.
Illustratively, the workflow of the software system and the hardware system of the terminal device 100 is explained in connection with displaying a photographing scene.
When a user performs a touch operation on the touch sensor 180K, a corresponding hardware interrupt is sent to the kernel layer, and the kernel layer processes the touch operation into an original input event, where the original input event includes information such as touch coordinates and a timestamp of the touch operation. The original input event is stored in the kernel layer, and the application framework layer acquires the original input event from the kernel layer, identifies a control corresponding to the original input event, and notifies an Application (APP) corresponding to the control. For example, the touch operation is a click operation, the APP corresponding to the control is a camera APP, and after the camera APP is awakened by the click operation, the camera drive of the kernel layer can be called through the API, and the camera 193 is controlled to shoot through the camera drive.
At present, under the condition that a system of a terminal device has a new version, the system is generally required to be upgraded; after the system upgrade is completed, the terminal device performs application optimization on the installed application program. At present, all hotspot configuration files (profiles) of application programs are deleted after the system is upgraded and installed; however, the hotspot configuration file (profile) is used for recording hotspot function information in the running process of the application program; the longer and more sufficient the user uses the application program, the more detailed the profile records the collected data of the hotspot function, and the more close to the use habit of the user, namely, the record of the hotspot function frequently used by the user is; the hot spot function can determine the function frequently called by the user when the application program is used, so that the target function mainly optimized is determined when the application program is optimized. The hotspot function acquisition data profile of the executable file is completely removed in the running process of the application program after the system is upgraded; therefore, after the system is upgraded and the application program is optimized, a user experiences a poor experience feeling due to a remarkable clicking feeling in comparison with that of starting the application program before the system is upgraded.
In view of this, after the system is upgraded, an optimization mode adopted for optimizing the application to be optimized can be determined according to whether the hotspot configuration file of the application to be optimized exists in the system; when a hotspot configuration file of an application to be optimized exists in the system, optimizing the application to be optimized by adopting a first optimization mode depending on the hotspot configuration file; by the application optimization processing method, the problem of unsmooth starting of the application program after the system is upgraded can be reduced to a certain extent, and user experience is improved.
Scene one
In an example, the processing method for application optimization provided by the embodiment of the present application can be applied to a scenario of application optimization after a terminal device system is upgraded; by the application optimization processing method provided by the embodiment of the application, the application program in the system can be optimized after the system is upgraded and installed.
Scene two
In an example, the processing method for application optimization provided by the embodiment of the present application may be applied to a scenario in which the application is optimized after the cache data of the application is cleared.
For example, the processing method for application optimization provided by the embodiment of the present application may be applied to a scenario in which a user cleans cache data of an application through a housekeeping application installed in a terminal device. By the application optimization processing method provided by the embodiment of the application, when the cache data of the application program is cleared, only the hot point configuration file (profile) of the application program which is not deleted by the application cache can be deleted; the hotspot profile (profile) of the application may continue to be used when performing optimizations on the application.
For example, the processing method for application optimization provided by the embodiment of the present application may be applied to a scenario where a user sets and manages and cleans cache data corresponding to an application through a mobile phone. By the processing method for application optimization provided by the embodiment of the application, when the cache data of the application program is cleared, only the hotspot configuration file (profile) of the application program which is not deleted by the application cache can be deleted; the hotspot configuration file (profile) of the application may continue to be used when performing optimizations on the application.
The application provides a processing method for application optimization, which is used for determining whether to clear a hotspot configuration file corresponding to an application program according to whether the application program changes after a system is upgraded; further, when the application program is optimized, the adopted optimization mode can be determined according to whether the hotspot configuration file of the application program exists or not; in the embodiment of the application, the hotspot configuration files of the application program are selectively deleted, but not all the hotspot configuration files are uniformly deleted, so that different optimization modes can be adopted during the optimization of the application program; by the application optimization processing method, the problem of unsmooth starting of the application program after the system is upgraded can be reduced to a certain extent, and user experience is improved.
The application optimization processing method provided in the present application is described below by taking the terminal device 100 as an example. FIG. 3 is a schematic diagram of a processing method for application optimization according to an embodiment of the present disclosure; the processing method 200 shown in fig. 3 may include steps S210 to S270, which are described in detail below.
And step S210, upgrading and installing the system.
Illustratively, the system receives the file push of the latest version of the system, and executes the system upgrading process after the system file of the latest version is downloaded.
And step S220, scanning the APK file.
Illustratively, a Package Manager Service (PMS) in the system performs an upgrade flow of the system; the PMS is responsible for installation, uninstallation, optimization, querying, etc. of various APKs.
For example, after the system is upgraded and installed, the PMS performs scanning of the application APK and cleans up cache data in the application; the cache data may include an application cache (cache), a code cache (codecache), an odex file, and the like.
It should be understood that in embodiments of the present application, cleaning may refer to a clean, delete operation; i.e. the cache data is deleted.
It should be noted that, in the embodiment of the present application, when executing and cleaning up cache data in an application, a hotspot configuration file (profile) of the application program does not need to be directly cleaned up; step S230 and step S250 are further executed to determine to clear or reserve the hotspot configuration file (profile) of the application.
Step S230, judging whether the version of the application program (one example of the application to be optimized) is changed; if the version of the application program is changed, go to step S240; if the version of the application program is not changed, step S250 is executed.
For example, first information and second information of the application to be optimized may be obtained, where the first information is parameter information of the application to be optimized before system upgrade; the second information refers to parameter information of application to be optimized after the system is upgraded; when the first information is different from the second information, the hotspot configuration file can be deleted; the hotspot profile may be retained when the first information is the same as the second information. The parameter information further includes, but is not limited to, one or more of directory information, signature information, and rights information of the application to be optimized.
For example, whether the version of the application program is changed may be determined according to the version information number of the application program.
For example, whether the version of the application program after the system upgrade changes may be determined according to a comparison between the version information number of the application program before the system upgrade and the version information number of the application program after the system upgrade.
It should be understood that the hotspot configuration file (profile) is used for recording hotspot function information of the application program in the running process; under the condition that the longer the running time of the application program is, the more sufficient the application program is, the more detailed the record of the hotspot function by a hotspot configuration file (profile) is, the more detailed the information of the use habits of the user is recorded; such as functions that are frequently called by the user when using the application. Therefore, if the version of the application program is not changed after the system is upgraded, the hotspot configuration file (profile) of the application program in the system can be reserved.
It should also be understood that in the event that the version of the application changes, the hotspot profile of the application may be considered to be in a failed state; therefore, the hotspot configuration file of the application can be cleared when the version of the application is determined to be changed.
Step S240, cleaning up the hotspot configuration file (profile) of the application program.
Step S250, judging whether the information of the application program changes; if the information of the application program changes, go to step S260; if the information of the application program is not changed, step S270 is executed.
Illustratively, the information of the application may include, but is not limited to: an installation catalog of the application package, a size of the application package, and signature information of the application package.
It should be understood that in the case of a change in the version of an application, the hotspot configuration file of the application may be considered to be in a failed state; therefore, the hotspot configuration file of the application program can be cleared when the information of the application program is determined to be changed.
It should be understood that an application is configured for a hotspot; different applications correspond to different hotspot configuration files. Under the condition that the version of the application program is changed, the application program of the new version cannot be optimized according to the hotspot configuration file corresponding to the application program of the old version; therefore, for a new version of an application, the hotspot configuration file corresponding to an old version of the application is invalid.
Step S260, clearing a hotspot configuration file (profile) of the application program.
It should be understood that cleaning up the hotspot profile of an application may refer to deleting the hotspot profile of the application.
Step S270, the hotspot configuration file (profile) of the application program is reserved.
Exemplarily, if no change occurs to the application program after the system is upgraded; that is, it can be understood that the version of the application program and the information in the application program are not changed, and the system may retain the hotspot configuration file (profile) corresponding to the application program when cleaning the cache data of the application program after upgrading.
It should be understood that the hotspot configuration file (profile) is used for recording hotspot function information of the application program in the running process; in the case that the longer the application is running, the more sufficient the application is used, the more detailed the profile records the hotspot function, and the more detailed the information of the usage habit of the user is recorded. Therefore, after the system of the terminal device is upgraded, whether to clear the hotspot configuration file (profile) corresponding to the application program may be determined according to the application optimization method shown in fig. 3.
In the embodiment of the application, after the system of the terminal equipment is upgraded, whether the configuration file corresponding to the application program is cleared is determined according to whether the application program changes; further, when the application program is optimized, the adopted optimization mode can be determined according to whether the hotspot configuration file of the application program exists or not; in the embodiment of the application, the hotspot configuration files of the application program are selectively deleted, but not all the hotspot configuration files are uniformly deleted, so that different optimization modes can be adopted during the optimization of the application program; by the application optimization processing method, the problem of unsmooth starting of the application program after the system is upgraded can be reduced to a certain extent, and user experience is improved.
FIG. 4 is a schematic diagram of a processing method for application optimization provided by an embodiment of the present application; the processing method 300 shown in fig. 4 may include steps S310 to S380, which are described in detail below.
And S310, upgrading and installing the system.
Illustratively, the system receives the file push of the latest version of the system, and executes the system upgrading process after the system file of the latest version is downloaded.
And step S320, scanning the APK file.
It should be understood that the APK file is scanned in order to determine the applications installed in the system. After determining the application program installed in the system of the terminal device, optimizing part or all of the application program in the system; for example, the application program to be optimized can be determined according to the use frequency of the application program by the user after the system is upgraded.
Illustratively, a Package Management Service (PMS) in the system performs scanning for APK files; the PMS is responsible for installation, uninstallation, optimization, querying, etc. of various APKs.
For example, after the system upgrade is installed, the PMS performs scanning of the application APK and cleans up cache data in the application; the Cache data may include Cache, CodeCache, Odex files, and the like.
It should be noted that, in the embodiment of the present application, when executing and cleaning up cache data in an application, a hotspot configuration file (profile) of the application program does not need to be directly cleaned up; step S230 and step S250 are further executed to determine to clear or reserve the hotspot configuration file (profile) of the application.
Step S330, judging whether the application program has a hotspot configuration file (profile); if the hotspot configuration file (profile) of the application program exists, executing step S350; if the hotspot configuration file (profile) of the application does not exist, step S340 is executed.
It should be understood that the hotspot configuration file (profile) is used for recording hotspot function information of the application program in the running process; under the condition that the longer the running time of the application program is, the more sufficient the application program is, the more detailed the profile records the hotspot function, and the more detailed the information of the use habit of the user is recorded; i.e., information of hotspot functions frequently used by users.
And step S340, performing application optimization by adopting a second optimization mode.
Wherein, the second optimization mode may be verify optimization; the verify optimization verifies optimization only for the dex file code of the application.
It should be understood that the second optimization mode optimizes the application program only for verifying optimization on the dex file code of the application program; because the second optimization mode optimizes the application program without depending on the hotspot configuration file (profile) of the application program; therefore, the hotspot function frequently used by the user cannot be optimized in a targeted manner.
In a possible implementation manner, in the embodiment of the present application, when optimizing an application program after a system is upgraded, the application program to be optimized may be determined according to a use frequency of a user; or, the application program to be optimized may be determined according to other preset conditions; this is not a limitation of the present application.
Step S350, judging whether the application program is complete; if the application program is complete, executing step S360; if the application program is not complete, step S370 is executed.
It should be understood that the determination of whether the application is complete in step S350 may refer to determining whether the application is changed after the system is upgraded.
For example, first information and second information of the optimized application may be obtained, where the first information is parameter information of the application to be optimized before the system is upgraded; the second information refers to parameter information of application to be optimized after the system is upgraded; whether the application program is complete or not can be judged according to the first information and the second information; when the first information is different from the second information, the application program to be optimized is incomplete, and the hotspot configuration file can be deleted; when the first information is the same as the second information, the application to be optimized is complete, and the application to be optimized can be optimized by adopting the first optimization mode. The parameter information further includes, but is not limited to, one or more items of directory information, signature information, and permission information of the application to be optimized.
It should be understood that in the case that a hotspot configuration file (profile) of the application exists after the system is upgraded, the integrity of the application may be checked; for example, whether the application program is changed is determined according to the information of the application program before the system is upgraded and the information of the application program after the system is upgraded.
For example, whether the application is complete or not can be verified through the information of the application; the information of the application program may include, but is not limited to: an installation catalog of the application package, a size of the application package, and signature information of the application package.
It should be understood that, in the case that an application is incomplete, a hotspot configuration file (profile) of the application existing in the system may be regarded as invalid, that is, the application cannot be optimized according to the hotspot configuration file (profile); at this time, the application program may be optimized in a second optimization manner independent of the hotspot configuration file (profile).
For example, before and after the system upgrade, if one or more of the information of the application, for example, the installation directory of the application, the size of the application package, and the signature information of the application package, is changed, it may be determined that the application is changed after the system upgrade, that is, the application is incomplete after the system upgrade.
And step S360, application optimization is carried out by adopting a first optimization mode.
The first optimization mode can be speed-profile optimization; speed-profile optimization refers to verifying DEX file codes of an application program, performing AOT (automated optical transport) compilation on methods listed in a configuration file, and performing the compilation according to a hotspot function recorded in a hotspot configuration file (profile) during the compilation.
It should be noted that the first optimization manner depends on hotspot function information recorded in a hotspot configuration file (profile); compared with the optimization of the application program in the second optimization mode, the optimization of the application program in the first optimization mode can better optimize the hotspot function frequently used by the user.
Step S370, cleaning up a hotspot configuration file (profile) of the application program.
Illustratively, in the case where it is determined that an application is incomplete, a hotspot profile (profile) of the application existing in the system is unusable or invalid; at this point, the hotspot configuration file (profile) of the application may be deleted.
It should be understood that an application is configured for a hotspot; different applications correspond to different hotspot configuration files. Under the condition that the version of the application program is changed, the application program of the new version cannot be optimized according to the hotspot configuration file corresponding to the application program of the old version; therefore, for a new version of an application, the hotspot configuration file corresponding to an old version of the application is invalid.
And step S380, performing application optimization by adopting a second optimization mode.
It should be understood that, since the first optimization mode needs to perform compilation according to the hotspot function recorded in the configuration file; therefore, when the hotspot configuration file (profile) of the application program does not exist in the system, the application program is optimized by adopting the second optimization mode.
In one example, a system used by a terminal device is exemplified as an android system; when the application optimization processing is executed after the terminal device system is upgraded, a prompt box as shown in fig. 5 can be displayed in a display interface of the terminal device; the prompt box may be located at any position in the screen, which is not limited in this application.
In the embodiment of the application, after the system is upgraded, an optimization mode adopted by optimizing the application to be optimized can be determined according to whether the hotspot configuration file of the application to be optimized exists in the system; when a hotspot configuration file of an application to be optimized exists in the system, optimizing the application to be optimized by adopting a first optimization mode depending on the hotspot configuration file; by the application optimization processing method, the problem of unsmooth starting of the application program after the system is upgraded can be reduced to a certain extent, and user experience is improved.
The processing method for application optimization provided by the embodiment of the present application is described in detail above with reference to fig. 1 to 5; the device embodiment of the present application will be described in detail below with reference to fig. 6 and 7. It should be understood that the application optimization processing apparatus in the embodiment of the present application may perform the foregoing various application optimization processing methods in the embodiment of the present application, that is, the following specific working processes of various products, and reference may be made to the corresponding processes in the foregoing method embodiments.
Fig. 6 is a schematic block diagram of an application-optimized processing device provided in the present application.
It should be understood that the processing apparatus 400 may perform the processing method of application optimization illustrated in fig. 3 to 5; the processing apparatus 400 comprises: an acquisition unit 410 and a processing unit 420. It should also be understood that the processing apparatus 400 may refer to a terminal device.
The obtaining unit 410 is configured to obtain an application to be optimized of a processing apparatus after a system of the processing apparatus is upgraded; the processing unit 420 is configured to optimize the application to be optimized in a first optimization manner when the hotspot configuration file of the application to be optimized exists in the terminal device; when the hotspot configuration file of the application to be optimized does not exist in the terminal equipment, optimizing the application to be optimized by adopting a second optimization mode; the hot spot configuration file is used for recording a hot spot function called by running the application to be optimized; the first optimization mode.
Optionally, as an embodiment, the obtaining unit 410 further uses:
acquiring first information and second information of the application to be optimized, wherein the first information refers to parameter information of the application to be optimized before the system is upgraded; the second information refers to the parameter information of the application to be optimized after the system is upgraded;
the processing unit 420 is further configured to:
and determining whether to delete the hotspot configuration file according to the first information and the second information.
Optionally, as an embodiment, the processing unit 420 is specifically configured to:
deleting the hotspot configuration file when the first information is different from the second information;
and when the first information is the same as the second information, reserving the hotspot profile.
Optionally, as an embodiment, the parameter information includes version information of the application to be optimized, and the processing unit 420 is specifically configured to:
and deleting the hotspot configuration file before and after the system is upgraded if the version information of the application to be optimized is different.
Optionally, as an embodiment, the processing unit 420 is specifically configured to:
verifying the first information and the second information;
and when the hotspot configuration file exists and the first information is the same as the second information, optimizing the application to be optimized by adopting the first optimization mode.
Optionally, as an embodiment, the processing unit 420 is further configured to:
and deleting the hotspot configuration file when the hotspot configuration file exists and the first information is different from the second information.
Optionally, as an embodiment, the parameter information further includes one or more of directory information, signature information, and permission information of the application to be optimized.
The processing device 400 is embodied as a functional unit. The term "unit" herein may be implemented by software and/or hardware, and is not particularly limited thereto.
For example, a "unit" may be a software program, a hardware circuit, or a combination of both that implement the above-described functions. The hardware circuitry may include an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor (e.g., a shared processor, a dedicated processor, or a group of processors) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that support the described functionality.
Accordingly, the units of the respective examples described in the embodiments of the present application can be realized in electronic hardware, or a combination of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
Fig. 7 shows a schematic structural diagram of an electronic device provided in the present application. The dashed lines in fig. 7 indicate that the unit or the module is optional. The electronic device 500 may be used to implement the processing method of application optimization described in the above method embodiments.
The electronic device 500 includes one or more processors 501, and the one or more processors 501 may support the electronic device 500 to implement the application-optimized processing method in the method embodiments. The processor 501 may be a general purpose processor or a special purpose processor. For example, the processor 501 may be a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other programmable logic device, such as a discrete gate, a transistor logic device, or a discrete hardware component.
The processor 501 may be used to control the electronic device 500, execute software programs, and process data of the software programs. The electronic device 500 may further include a communication unit 505 to enable input (reception) and output (transmission) of signals.
For example, the electronic device 500 may be a chip and the communication unit 505 may be an input and/or output circuit of the chip, or the communication unit 505 may be a communication interface of the chip, which may be a component of a terminal device or other electronic device.
For another example, the electronic device 500 may be a terminal device, and the communication unit 505 may be a transceiver of the terminal device, or the communication unit 505 may be a transceiver circuit of the terminal device.
The electronic device 500 may include one or more memories 502, on which programs 504 are stored, and the programs 504 may be executed by the processor 501 to generate instructions 503, so that the processor 501 executes the processing method for application optimization described in the above method embodiments according to the instructions 503.
Optionally, data may also be stored in the memory 502. Alternatively, the processor 501 may also read data stored in the memory 502, the data may be stored at the same memory address as the program 504, and the data may be stored at a different memory address from the program 504.
The processor 501 and the memory 502 may be provided separately or integrated together; for example, on a System On Chip (SOC) of the terminal device.
For example, the memory 502 may be configured to store a related program 504 of the application optimization processing method provided in the embodiment of the present application, and the processor 501 may be configured to call the related program 504 of the application optimization processing method stored in the memory 502 when performing application optimization on the terminal device, and execute the application optimization processing method of the embodiment of the present application; for example; after a system of a terminal device is upgraded, acquiring an application to be optimized of the terminal device; when the hotspot configuration file of the application to be optimized exists in the terminal equipment, optimizing the application to be optimized by adopting a first optimization mode; when the hotspot configuration file of the application to be optimized does not exist in the terminal equipment, optimizing the application to be optimized by adopting a second optimization mode; the hotspot configuration file is used for recording a hotspot function called by the application to be optimized; the first optimization mode refers to an optimization mode which depends on the hotspot configuration file for optimization; the second optimization mode is an optimization mode which does not depend on the hotspot configuration file for optimization.
The present application also provides a computer program product which, when executed by the processor 501, implements the processing method described in any of the method embodiments of the present application.
The computer program product may be stored in the memory 502, for example, as a program 504, and the program 504 is finally converted into an executable object file capable of being executed by the processor 501 through preprocessing, compiling, assembling, linking, and the like.
The present application also provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a computer, implements the processing method described in any of the method embodiments of the present application. The computer program may be a high-level language program or an executable object program.
Such as memory 502. Memory 502 may be either volatile memory or nonvolatile memory, or memory 502 may include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), double data rate SDRAM, enhanced SDRAM, SLDRAM, Synchronous Link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
In the present application, "at least one" means one or more, "a plurality" means two or more. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative; for example, the division of the unit is only a logic function division, and there may be another division manner in actual implementation; for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A processing method for application optimization, comprising:
after a system of a terminal device is upgraded, acquiring an application to be optimized of the terminal device;
determining whether to delete the hotspot configuration file of the application to be optimized in the terminal equipment or not according to the information of the application to be optimized;
when the hotspot configuration file of the application to be optimized exists in the terminal equipment, optimizing the application to be optimized by adopting a first optimization mode;
when the hotspot configuration file of the application to be optimized does not exist in the terminal equipment, optimizing the application to be optimized by adopting a second optimization mode; the hot spot configuration file is used for recording a hot spot function called by running the application to be optimized; the first optimization mode refers to an optimization mode which depends on the hotspot configuration file for optimization; the second optimization mode is an optimization mode which does not depend on the hotspot configuration file for optimization.
2. The processing method according to claim 1, wherein the determining whether to delete the hotspot configuration file of the application to be optimized in the terminal device according to the information of the application to be optimized comprises:
acquiring first information and second information of the application to be optimized, wherein the first information refers to parameter information of the application to be optimized before the system is upgraded; the second information refers to the parameter information of the application to be optimized after the system is upgraded;
and determining whether to delete the hotspot configuration file according to the first information and the second information.
3. The processing method of claim 2, wherein the determining whether to delete the hotspot profile according to the first information and the second information comprises:
deleting the hotspot configuration file when the first information is different from the second information;
and when the first information is the same as the second information, the hotspot profile is reserved.
4. The processing method of claim 3, wherein the parameter information includes version information of the application to be optimized, and the deleting the hotspot configuration file when the first information is different from the second information includes:
and deleting the hotspot configuration file before and after the system is upgraded if the version information of the application to be optimized is different.
5. The processing method according to any one of claims 2 to 4, wherein when the hotspot profile of the application to be optimized exists in the terminal device, optimizing the application to be optimized by using a first optimization manner includes:
verifying the first information and the second information;
and when the hotspot configuration file exists and the first information is the same as the second information, optimizing the application to be optimized by adopting the first optimization mode.
6. The processing method of claim 5, further comprising:
and deleting the hotspot configuration file when the hotspot configuration file exists and the first information is different from the second information.
7. The processing method according to any one of claims 2 to 4 or 6, wherein the parameter information further includes one or more of directory information, signature information and authority information of the application to be optimized.
8. An application-optimized processing apparatus, characterized in that the processing apparatus comprises a processor and a memory, the memory being configured to store a computer program, the processor being configured to call and run the computer program from the memory, such that the processing apparatus performs the processing method of any of claims 1 to 7.
9. A chip comprising a processor that, when executing instructions, performs the processing method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to perform the processing method of any one of claims 1 to 7.
CN202110721253.8A 2021-06-28 2021-06-28 Processing method and processing device for application optimization Active CN113568634B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110721253.8A CN113568634B (en) 2021-06-28 2021-06-28 Processing method and processing device for application optimization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110721253.8A CN113568634B (en) 2021-06-28 2021-06-28 Processing method and processing device for application optimization

Publications (2)

Publication Number Publication Date
CN113568634A CN113568634A (en) 2021-10-29
CN113568634B true CN113568634B (en) 2022-05-17

Family

ID=78162885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110721253.8A Active CN113568634B (en) 2021-06-28 2021-06-28 Processing method and processing device for application optimization

Country Status (1)

Country Link
CN (1) CN113568634B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116088888B (en) * 2022-07-22 2023-10-31 荣耀终端有限公司 Application program updating method and related device
CN115499645A (en) * 2022-08-31 2022-12-20 重庆长安汽车股份有限公司 Method and device for optimizing starting speed of vehicle-mounted image, vehicle terminal and medium
CN116737130B (en) * 2023-08-15 2023-11-28 之江实验室 Method, system, equipment and storage medium for compiling modal-oriented intermediate representation

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015004452A1 (en) * 2013-07-09 2015-01-15 Maxymiser Ltd Method of optimization for an application
CN109522034A (en) * 2018-09-27 2019-03-26 努比亚技术有限公司 A kind of optimizing application method, terminal and computer readable storage medium
CN111061483A (en) * 2019-11-28 2020-04-24 Oppo广东移动通信有限公司 Compiling optimization method and device and electronic equipment
CN111078318A (en) * 2019-12-18 2020-04-28 Oppo广东移动通信有限公司 Method, device and system for processing configuration file and storage medium
CN111258557A (en) * 2020-01-16 2020-06-09 Oppo(重庆)智能科技有限公司 Code processing method and device, electronic equipment and computer readable medium
CN111492345A (en) * 2018-10-15 2020-08-04 华为技术有限公司 Method for optimizing and running android application program and related device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090070752A1 (en) * 2007-09-06 2009-03-12 International Business Machines Corporation Method and system for optimization of an application
US10922062B2 (en) * 2019-04-15 2021-02-16 Salesforce.Com, Inc. Software application optimization
CN112631622A (en) * 2020-12-29 2021-04-09 Oppo广东移动通信有限公司 Application installation method and device, server and computer readable medium
CN112559088A (en) * 2020-12-29 2021-03-26 Oppo广东移动通信有限公司 Configuration file optimization method, device, server and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015004452A1 (en) * 2013-07-09 2015-01-15 Maxymiser Ltd Method of optimization for an application
CN109522034A (en) * 2018-09-27 2019-03-26 努比亚技术有限公司 A kind of optimizing application method, terminal and computer readable storage medium
CN111492345A (en) * 2018-10-15 2020-08-04 华为技术有限公司 Method for optimizing and running android application program and related device
CN111061483A (en) * 2019-11-28 2020-04-24 Oppo广东移动通信有限公司 Compiling optimization method and device and electronic equipment
CN111078318A (en) * 2019-12-18 2020-04-28 Oppo广东移动通信有限公司 Method, device and system for processing configuration file and storage medium
CN111258557A (en) * 2020-01-16 2020-06-09 Oppo(重庆)智能科技有限公司 Code processing method and device, electronic equipment and computer readable medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Fuzzy Hot Spot Identification for Big Data: An Initial Approach;Rebecca Tickle等;《2019 IEEE International Conference on Fuzzy Systems (FUZZ-IEEE)》;20191010;第1-6页 *
基于Android***的Camera应用程序的设计及优化;陈丽娜;《cnki优秀硕士学位论文全文库 信息科技辑》;20120105;第I136-711页 *

Also Published As

Publication number Publication date
CN113568634A (en) 2021-10-29

Similar Documents

Publication Publication Date Title
WO2020000448A1 (en) Flexible screen display method and terminal
CN111191213B (en) Method for deleting security service and electronic equipment
CN113568634B (en) Processing method and processing device for application optimization
WO2020062159A1 (en) Wireless charging method and electronic device
CN113254409B (en) File sharing method, system and related equipment
CN113805797B (en) Processing method of network resource, electronic equipment and computer readable storage medium
CN113704205B (en) Log storage method, chip, electronic device and readable storage medium
US20240095000A1 (en) Plug-In Installation Method, Apparatus, and Storage Medium
CN115333941A (en) Method for acquiring application running condition and related equipment
CN113703894A (en) Display method and display device of notification message
WO2021104117A1 (en) Method for constructing application program resource packet, construction apparatus, and terminal device
CN113656089B (en) Class verification method and device in application program
CN115686182A (en) Processing method of augmented reality video and electronic equipment
CN115599565A (en) Method and device for sending clipboard data
CN113467821A (en) Application program repairing method, device, equipment and readable storage medium
CN116048629B (en) System service switching method, control device, electronic equipment and storage medium
CN117009023B (en) Method for displaying notification information and related device
CN115952564B (en) Data writing method and terminal equipment
CN116027933B (en) Method and device for processing service information
CN116048831B (en) Target signal processing method and electronic equipment
CN115482143B (en) Image data calling method and system for application, electronic equipment and storage medium
CN115495716B (en) Local authentication method and electronic equipment
CN116709609B (en) Message delivery method, electronic device and storage medium
CN114020186B (en) Health data display method and device
WO2023045876A1 (en) Application installation method and related devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant