CN111158735A - Hot patch file processing method and communication terminal - Google Patents

Hot patch file processing method and communication terminal Download PDF

Info

Publication number
CN111158735A
CN111158735A CN201911236030.1A CN201911236030A CN111158735A CN 111158735 A CN111158735 A CN 111158735A CN 201911236030 A CN201911236030 A CN 201911236030A CN 111158735 A CN111158735 A CN 111158735A
Authority
CN
China
Prior art keywords
application program
hot patch
storage area
patch file
target application
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.)
Granted
Application number
CN201911236030.1A
Other languages
Chinese (zh)
Other versions
CN111158735B (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201911236030.1A priority Critical patent/CN111158735B/en
Publication of CN111158735A publication Critical patent/CN111158735A/en
Application granted granted Critical
Publication of CN111158735B publication Critical patent/CN111158735B/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
    • G06F8/658Incremental updates; Differential updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1433Saving, restoring, recovering or retrying at system level during software upgrading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques

Abstract

The invention relates to the field of communication, in particular to a hot patch file processing method and a communication terminal, which are used for solving the problem that the first starting efficiency of an application program for installing a hot patch is lower after a terminal operating system is upgraded in the prior art. After OTA upgrading is completed, a target application program containing a hot patch file is determined in the terminal starting process, and the hot patch file of the target application program is transferred to a backup storage area of a system; after the application program is started, restoring the hot patch file of the application program to a storage area corresponding to a hot patch directory of the application program; and executing optimization commands to optimize the hot patch files of the application program. The hot patch file processing method provided by the embodiment of the invention can ensure that the target application program cannot detect the hot patch file and does not trigger the optimization of the hot patch file when the target application program is started for the first time after the terminal operating system is upgraded, thereby improving the efficiency of starting the application program for the first time after the terminal operating system is upgraded.

Description

Hot patch file processing method and communication terminal
Technical Field
The present invention relates to the field of communications, and in particular, to a method for processing a hot patch file and a communication terminal.
Background
With the popularization of intelligent communication terminals, the operating system of the intelligent communication terminal is also continuously improved, and the version of the operating system of the terminal is upgraded at intervals. Among the application programs installed on the terminal, there are some application programs updated through a hot patch mechanism, and when the application programs are started for the first time after an operating system of the terminal is upgraded, hot patch optimization is performed to be compatible with the operating system of the latest version, and an interface of the application program is displayed after the hot patch optimization is completed.
In summary, the first-time starting efficiency of the application program for installing the hot patch after the terminal operating system is upgraded is low.
Disclosure of Invention
The exemplary embodiment of the present invention provides a communication terminal and a hotpatch file processing method, which are used to solve the problem in the prior art that an application program for installing a hotpatch is low in efficiency when the terminal operating system is upgraded.
According to an aspect of the exemplary embodiments, there is provided a communication terminal including:
a touch screen configured to receive a touch operation from a user;
a display screen configured to display a user interface;
a processor coupled to the touch screen and the display screen, respectively, the processor configured to:
after OTA upgrading is completed, determining a target application program containing a hot patch file in a terminal starting process, and transferring the hot patch file of the target application program from a storage area corresponding to a hot patch directory of the target application program to a backup storage area of a system;
responding to an operation instruction for starting an application program by a user, if the application program corresponding to the operation instruction is determined to be a target application program, after the application program is started, restoring a hot patch file of the application program from a backup storage area of the system to a storage area corresponding to a hot patch directory of the application program;
and executing an optimization command to perform optimization processing on the hot patch file of the application program to obtain a hot patch optimization file.
According to the hot patch file processing method provided by the embodiment of the invention, in the starting process after the terminal operating system is upgraded, the hot patch file corresponding to the target application program with the hot patch file installed on the terminal is backed up to the backup storage area of the terminal, the hot patch file in the storage area corresponding to the hot patch directory of the target application program is deleted, and when the application program is started after the terminal is started, if the started application program is the target application program, because the hot patch file does not exist in the storage area corresponding to the hot patch directory of the application program, the application program cannot be optimized in the hot patch file, and the efficiency of starting the application program for the first time after the terminal operating system is upgraded is improved. After the application program is started, the hot patch file of the application program is restored to the storage area corresponding to the original hot patch directory, and the hot patch file is optimized under the current operating system in the background by executing the hot patch optimization command, so that the problem that the first starting efficiency of the application program for installing the hot patch is low after the terminal operating system is upgraded can be solved, and the compatibility of the hot patch installed by the application program on the current operating system can be ensured.
In some exemplary embodiments, the processor is further configured to:
generating a target application program identification set according to a hot patch file of a target application program contained in a backup storage area of the system;
the processor is further configured to determine that the application program corresponding to the operation instruction is a target application program according to the following method:
judging whether the identifier of the application program corresponding to the operation instruction is in the target application program identifier set or not;
and if so, determining that the application program corresponding to the operation instruction is a target application program.
The method for determining the target application program through the application program identifier is simple and quick.
In some exemplary embodiments, when restoring the hot patch file of the application program from the backup storage area of the system to the storage area corresponding to the hot patch directory of the application program, the processor is further configured to:
and after the application program corresponding to the operation instruction is determined to enter background operation, restoring the hot patch file of the application program from the backup storage area of the system to the storage area corresponding to the hot patch directory of the application program.
According to the embodiment of the invention, after the application program corresponding to the operation instruction is started and runs in the background, the hot patch file of the application program is restored to the storage area corresponding to the hot patch directory of the application program, so that the restoration of the hot patch file can be realized under the condition that a user does not perceive, the use of the user is not influenced, and the user experience is improved.
In some exemplary embodiments, the processor is further configured to:
deleting the hot patch file of the application program in the backup storage area of the system;
and updating the target application program identification set according to the hot patch file of the target application program contained in the backup storage area of the system after the hot patch file of the application program is deleted.
After the hot patch file of the started target application program is recovered, the corresponding hot patch file in the backup storage area of the system is deleted, the target application program identification set is updated according to the hot patch file contained in the deleted backup storage area of the system, and when the application program is started in the subsequent response to the operation instruction of the user, whether the application program corresponding to the operation instruction is the target application program or not is determined according to the updated target application program identification set, so that the accuracy of determining whether the application program is the target application program or not is ensured.
In some exemplary embodiments, the processor is further configured to:
detecting attribute parameters of an operating system for representing version types;
and if the attribute parameters of the operating system are determined to be changed, determining that the OTA upgrade of the terminal is completed.
In the embodiment of the invention, whether the OTA upgrade is carried out on the terminal can be quickly and accurately determined by detecting whether the attribute parameters of the operating system are changed or not in the starting process.
According to another aspect of exemplary embodiments, there is provided a hot patch file processing method including:
at a communication terminal having a processor, a memory, a touch screen, and a display screen:
after OTA upgrading is completed, determining a target application program containing a hot patch file in a terminal starting process, and transferring the hot patch file of the target application program from a storage area corresponding to a hot patch directory of the target application program to a backup storage area of a system;
responding to an operation instruction for starting an application program by a user, if the application program corresponding to the operation instruction is determined to be a target application program, and after the application program is started, restoring a hot patch file of the application program from a backup storage area of the system to a storage area corresponding to a hot patch directory of the application program by the terminal;
and the terminal executes an optimization command to perform optimization processing on the hot patch file of the application program to obtain a hot patch optimization file.
In some exemplary embodiments, the method further comprises:
generating a target application program identification set according to a hot patch file of a target application program contained in a backup storage area of the system;
the terminal determines the application program corresponding to the operation instruction as a target application program according to the following method:
judging whether the identifier of the application program corresponding to the operation instruction is in the target application program identifier set or not;
and if so, determining that the application program corresponding to the operation instruction is a target application program.
In some exemplary embodiments, the method comprises:
and after the application program corresponding to the operation instruction is determined to enter background operation, restoring the hot patch file of the application program from the backup storage area of the system to the storage area corresponding to the hot patch directory of the application program.
In some exemplary embodiments, the method further comprises:
deleting the hot patch file of the application program in the backup storage area of the system;
and updating the target application program identification set according to the hot patch file of the target application program contained in the backup storage area of the system after the hot patch file of the application program is deleted.
In some exemplary embodiments, the method further comprises:
the terminal detects attribute parameters of an operating system for representing version types;
and if the attribute parameters of the operating system are determined to be changed, determining that the OTA upgrade of the terminal is completed.
According to a further aspect of the exemplary embodiments, there is provided a computer storage medium having stored therein computer program instructions which, when run on a computer, cause the computer to perform a processing method as described above.
On the basis of the common knowledge in the field, the above preferred conditions can be combined randomly to obtain the preferred embodiments of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 schematically shows a structural diagram of a communication terminal according to an embodiment of the present invention.
Fig. 2 is a schematic diagram illustrating a software architecture of a communication terminal according to an embodiment of the present invention.
Fig. 3 is a schematic diagram illustrating a user interface of a communication terminal according to an embodiment of the present invention.
Fig. 4 is a flowchart illustrating a hot patch file processing method according to an embodiment of the present invention.
Fig. 5 is a schematic interface diagram illustrating a file directory of an application program containing a hot patch directory according to an embodiment of the present invention.
Fig. 6 is an interface diagram illustrating an example of a backup storage area of a system provided by the implementation of the present invention.
Fig. 7 is a schematic interface diagram illustrating an interface of each target application package name directory in the backup storage area of the system according to the embodiment of the present invention.
Fig. 8a is an interface diagram illustrating a hot patch file of a target application stored in a backup storage area of a system according to an embodiment of the present invention.
Fig. 8b is an exemplary interface diagram illustrating that the hot patch file of the target application stored in the backup storage area of the system is restored to the storage area corresponding to the hot patch directory of the target application according to the embodiment of the present invention.
Fig. 9 is a flowchart illustrating a hot patch file backup process according to an embodiment of the present invention.
FIG. 10 is a flowchart illustrating a hot patch file recovery process according to an embodiment of the present invention.
Fig. 11 is a schematic structural diagram illustrating another communication terminal according to an embodiment of the present invention.
Fig. 12 is a schematic structural diagram illustrating a hotpatch file processing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be described in detail and removed with reference to the accompanying drawings. In the description of the embodiments of the present invention, where "/" denotes an or meaning, for example, a/B may denote a or B; "and/or" in the text is only an association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: three cases of a alone, a and B both, and B alone exist, and in addition, "a plurality" means two or more than two in the description of the embodiment of the present invention.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first" and "second" may explicitly or implicitly include one or more of the features, and in the description of embodiments of the invention, "plurality" means two or more unless indicated otherwise.
Fig. 1 shows a schematic configuration of a communication terminal 100.
The following describes an embodiment specifically taking the communication terminal 100 as an example. It should be understood that the communication terminal 100 shown in fig. 1 is only an example, and the communication terminal 100 may have more or less components than those shown in fig. 1, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
A block diagram of a hardware configuration of a communication terminal 100 according to an exemplary embodiment is exemplarily shown in fig. 1. As shown in fig. 1, the communication terminal 100 includes: radio Frequency (RF) circuit 110, memory 120, display unit 130, camera 140, sensor 150, audio circuit 160, wireless fidelity (Wi-Fi) module 170, processor 180, bluetooth module 181, and power supply 190.
The RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then send the downlink data to the processor 180 for processing; the uplink data may be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The memory 120 may be used to store software programs and data. The processor 180 executes various functions of the communication terminal 100 and data processing by executing software programs or data stored in the memory 120. The memory 120 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 120 stores an operating system that enables the communication terminal 100 to operate. The memory 120 of the present invention may store an operating system and various application programs, and may also store codes for performing the methods according to the embodiments of the present invention.
The display unit 130 may be used to receive input numeric or character information and generate signal input related to user settings and function control of the communication terminal 100, and particularly, the display unit 130 may include a touch screen 131 disposed on the front surface of the communication terminal 100 and may collect touch operations of a user thereon or nearby, such as clicking a button, dragging a scroll box, and the like.
The display unit 130 may also be used to display a Graphical User Interface (GUI) of information input by or provided to the user and various menus of the terminal 100. Specifically, the display unit 130 may include a display screen 132 disposed on the front surface of the communication terminal 100. The display screen 132 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 may be used to display various graphical user interfaces described in the present invention.
The touch screen 131 may cover the display screen 132, or the touch screen 131 and the display screen 132 may be integrated to implement the input and output functions of the communication terminal 100, and after the integration, the touch screen may be referred to as a touch display screen for short. The display unit 130 of the present invention can display the application programs and the corresponding operation steps.
The camera 140 may be 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 elements convert the light signals into electrical signals which are then passed to the processor 180 for conversion into digital image signals.
The communication terminal 100 may further comprise at least one sensor 150, such as an acceleration sensor 151, a distance sensor 152, a fingerprint sensor 153, a temperature sensor 154. The communication terminal 100 may also be configured with other sensors such as a gyroscope, barometer, hygrometer, thermometer, infrared sensor, optical sensor, motion sensor, and the like.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and the communication terminal 100. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The communication terminal 100 may also be provided with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and outputs the audio data to the RF circuit 110 to be transmitted to, for example, another terminal or outputs the audio data to the memory 120 for further processing. The microphone 162 can acquire the voice of the user in the present invention.
Wi-Fi belongs to a short-distance wireless transmission technology, and the communication terminal 100 may help a user to send and receive e-mails, browse webpages, access streaming media, and the like through the Wi-Fi module 170, which provides a wireless broadband internet access for the user.
The processor 180 is a control center of the communication terminal 100, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the communication terminal 100 and processes data by running or executing software programs stored in the memory 120 and calling data stored in the memory 120. In some embodiments, processor 180 may include one or more processing units; the processor 180 may also integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a baseband processor, which mainly handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 180. The processor 180 of the present invention may run an operating system, an application program, a user interface display, and a touch response, and the processing method according to the embodiments of the present invention. In addition, the processor 180 is coupled with the input unit 130 and the display unit 140.
And the bluetooth module 181 is configured to perform information interaction with other bluetooth devices having a bluetooth module through a bluetooth protocol. For example, the communication terminal 100 may establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) having a bluetooth module via the bluetooth module 181, so as to perform data interaction.
The communication terminal 100 also includes a power supply 190 (such as a battery) to power the various components. The power supply may be logically connected to the processor 180 through a power management system to manage charging, discharging, power consumption, etc. through the power management system. The communication terminal 100 may also be configured with power buttons for powering the terminal on and off, and for locking the screen.
Fig. 2 is a block diagram of a software configuration of the communication terminal 100 according to the embodiment of the present invention.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is 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.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications such as camera, gallery, calendar, phone call, 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 programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide a communication function of the communication terminal 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the communication terminal vibrates, and an indicator light flashes.
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 for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following exemplifies the workflow of the software and hardware of the communication terminal 100 in connection with capturing a photographing scene.
When the touch screen 131 receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, a time stamp of the touch operation, and other information). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and taking a control corresponding to the click operation as a control of a camera application icon as an example, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera drive by calling a kernel layer, and captures a still image or a video through the camera 140.
The communication terminal 100 in the embodiment of the present invention may be a mobile phone, a tablet computer, a wearable device, a notebook computer, a television, and the like.
Fig. 3 is a schematic diagram for illustrating a user interface on a communication terminal (e.g., communication terminal 100 of fig. 1). In some implementations, a user can open a corresponding application by touching an application icon on the user interface, or can open a corresponding folder by touching a folder icon on the user interface.
The hot patch technology means that a user updates an application program without reinstalling the application program, and the application program solves the problems of some application programs by downloading hot patch files pushed by a background server. The file type of the hot patch file pushed by the application program background server is a dex file, after the hot patch file is downloaded, the application program can optimize the hot patch file, the dex file is optimized into an odex file, and the running efficiency of the hot patch file on the terminal is improved.
In order to improve the functions of the operating system, improve the stability of the operating system, and the like, the terminal also updates the version of the operating system once every a period of time. Because the version of the operating system of the terminal is upgraded, in order to ensure that the hot patch installed by the application program is better compatible on the operating system of the latest version, after the version of the operating system of the terminal is upgraded, when the application program installed with the hot patch is started for the first time, the terminal forces the application program to optimize the installed hot patch. Therefore, after the version of the operating system of the terminal is upgraded, when the application program for installing the hot patch is started for the first time, the application program can perform hot patch optimization first, and the application program can display a related interface after the optimization is completed, so that the interface of the application program does not react or is in a black screen within a long period of time; and this phenomenon is related to the performance of the terminal, and the user experience is poor as the terminal performance is worse, the longer the start time of the application is.
The embodiment of the invention provides a hot patch file processing method, which is used for solving the problem that the first starting efficiency of an application program for installing a hot patch is lower after a terminal operating system is upgraded in the prior art.
As shown in fig. 4, a flowchart of a hot patch file processing method provided in an embodiment of the present invention includes:
step S401, after OTA upgrading is completed, determining a target application program containing a hot patch file in the terminal starting process, and transferring the hot patch file of the target application program from a storage area corresponding to a hot patch directory of the target application program to a backup storage area of a system;
step S402, responding to an operation instruction for starting an application program by a user, if the application program corresponding to the operation instruction is determined to be a target application program, after the application program is started, the terminal restores a hot patch file of the application program from a backup storage area of a system to a storage area corresponding to a hot patch directory of the application program;
and S403, the terminal executes optimization processing of the hot patch file of the application program corresponding to the optimization command to obtain a hot patch optimization file.
The method for processing the hot patch file includes that after OTA upgrade of a terminal is performed, in a terminal starting process, a target application program containing a hot patch file in an application program installed in the system is determined, the hot patch file of the target application program is transferred to a backup storage area of a terminal system from a storage area corresponding to a hot patch directory of the target application program, after the terminal is started and a user starts the application program, if the application program started by the user is the target application program, the hot patch file corresponding to the application program is restored to the storage area corresponding to the hot patch directory of the application program after the application program is started, and then the terminal performs optimization processing on the hot patch file of the application program through an optimization command to obtain a hot patch optimization file. According to the hot patch file processing method provided by the embodiment of the invention, in the starting process after the version of the terminal operating system is upgraded, the hot patch file corresponding to the target application program of the hot patch file installed on the terminal is backed up to the backup storage area of the terminal, the hot patch file in the storage area corresponding to the hot patch directory of the target application program is deleted, and when the application program is started after the terminal is started, if the started application program is the target application program, because the hot patch file does not exist in the storage area corresponding to the hot patch directory of the application program, the application program cannot be optimized in the hot patch file, and the efficiency of starting the application program for the first time after the terminal operating system is upgraded is improved. After the application program is started, the hot patch file of the application program is restored to the storage area corresponding to the original hot patch directory, and the hot patch file is optimized under the current operating system in the background by executing the hot patch optimization command, so that the problem that the first starting efficiency of the application program for installing the hot patch is low after the terminal operating system is upgraded can be solved, and the compatibility of the hot patch installed by the application program on the current operating system can be ensured.
The hot patch file processing method provided by the embodiment of the invention can be divided into two stages: hot-patch file backup and hot-patch file recovery.
In the hot patch file backup stage, the terminal firstly determines that the operating system is subjected to OTA upgrade, detects a target application program containing a hot patch file in an application program installed in the terminal in the starting process after determining that the operating system is subjected to OTA upgrade, and backs up the hot patch file of the target application program;
in the hot patch file recovery stage, after starting up, the terminal firstly determines a target application program according to the hot patch file stored in the backup storage area of the system; and then monitoring an application program started in response to an operation instruction for starting the application program by a user, judging whether the application program is a target application program, if so, restoring a hot patch file corresponding to the application program from a backup storage area of a system to a storage area corresponding to a hot patch directory of the application program after the application program is started, and after the hot patch file is restored, executing an optimization command by the terminal to optimize the hot patch file of the application program.
The two stages of hot patch file backup and hot patch file recovery in the embodiment of the invention can be two processes of the terminal. It should be noted that the hot patch file processing method provided by the embodiment of the present invention is divided into two processes, which are only examples, and are used to illustrate the method provided by the embodiment of the present invention, and do not limit the scope of the present invention.
Specifically, in the hot patch file backup stage, it is first determined that the operating system of the terminal has undergone OTA upgrade, and the embodiment of the present invention determines that the terminal has undergone OTA upgrade in the following manner:
the terminal detects an attribute parameter of an operating system for representing the version type; and if the attribute parameters of the operating system are determined to be changed, determining that the OTA upgrade of the terminal is completed.
Specifically, the attribute parameters of the terminal operating system include attribute parameters for indicating version types, and when the terminal detects that the attribute parameters of the operating system change during the boot process, it can be determined that the OTA upgrade of the terminal is completed.
For example, the attribute parameter for indicating the version type of the operating system may be a string, and the specific format may be "project name + version number". The terminal mainly detects whether the version number of the operating system changes in the starting process, and if the version number changes, the OTA upgrade of the terminal is proved. In the specific implementation, the historical version number and the current version number of the operating system stored in the terminal can be inquired through the interface, and if the version number is inquired through the interface and changed, the OTA upgrade of the terminal is determined; and if the version number of the operating system is not changed, determining that the OTA upgrade is not performed on the terminal, and quitting the hot patch file backup process by the terminal.
And after determining that the OTA upgrading is carried out on the terminal, determining a target application program containing the hot patch file by the terminal in the boot process. The application program containing the hot patch directory may be determined as the target application program by querying whether the file directory of each application program in the storage area of the system contains the hot patch directory.
For example, the Tinker is a service platform of a hot patch mechanism, and after an application program is accessed to the Tinker platform, a hot patch file can be issued at any time, so that the application can be updated without reinstallation. The hot patch file downloaded by the application program through the Tinker platform is usually stored in a Tinker directory, which is a kind of hot patch directory, as shown in fig. 5. When the fact that the tinker directory is contained in the file directory of the application program is detected, the application program can be determined to be the target application program.
After the target application program is determined, the hot patch file of the target application program is transferred to a backup storage area of the system from a storage area corresponding to a hot patch directory of the target application program.
Specifically, the backup storage area of the system is divided according to the hot patch file processing method provided by the embodiment of the present invention, and may be implemented by creating a backup directory in the storage area of the system, as shown in fig. 6, for the backup directory created by the embodiment of the present invention, the storage area corresponding to the backup directory is a backup storage area.
It is assumed that the determined target application programs are application program 1, application program 2, application program 3, application program 4, and application program 5, respectively, and the hot patch file of the target application program is backed up to the storage area corresponding to each target application program in the backup storage area of the system, specifically, the hot patch file of each target application program may be isolated by a target application program identifier, and the target application program identifier may be a package name of the target application program. For example, the package name of the application 1 is the package name a, the package name of the application 2 is the package name b, the package name of the application 3 is the package name c, the package name of the application 4 is the package name d, and the package name of the application 5 is the package name e, and as shown in fig. 7, under the backup directory, the storage area corresponding to each target application package name directory is the storage area corresponding to each target application. During backup, the hot patch file of the application program 1 is backed up to a storage area corresponding to a package name a directory in a backup storage area of the system; backing up the hot patch file of the application program 2 to a storage area corresponding to a package name b directory in a backup storage area of the system; backing up the hot patch file of the application program 3 to a storage area corresponding to a package name c directory in a backup storage area of the system; backing up the hot patch file of the application program 4 to a storage area corresponding to a package name d directory in a backup storage area of the system; and backing up the hot patch files of the application programs 5 to a storage area corresponding to a package name e directory in a backup storage area of the system, and deleting the hot patch files in the hot patch directories of the target application programs.
As can be seen from the above, with the hot patch file processing method provided in the embodiment of the present invention, after the OTA upgrade is completed, the hot patch file corresponding to the target application program is transferred to the backup storage area of the system, and when the terminal is booted, and the target application program is started in response to the operation instruction of the user to start the application program, the target application program detects that no hot patch file exists, and then the hot patch file is not optimized, so that the efficiency of first starting the hot patch-installed target application program after the version of the terminal operating system is upgraded is improved.
Because the hot patch file is a target application program repair update file, after the target application program is started for the first time, the hot patch file corresponding to the target application program needs to be restored to the storage area corresponding to the hot patch directory of the application program.
Specifically, in the hot patch file recovery stage, after the terminal is started up, when the startup broadcast is monitored, the hot patch file recovery process is automatically started.
It should be noted that, on different terminals, the timings at which the terminal operating system sends the startup broadcast are different, and the following introduces the timings at which the terminal operating system sends the startup broadcast:
on a terminal with an encryption mode of file encryption, if a user sets a screen locking password on the terminal, after the terminal is started and the user unlocks, a terminal operating system sends a starting broadcast; if the user does not set the screen locking password on the terminal, the terminal operating system directly sends the startup broadcast after the terminal is started.
On the terminal with the encryption mode of full disk encryption, after the terminal is started, the terminal operating system directly sends the starting broadcast.
In the hot patch file recovery process, the terminal detects whether a backup storage area of the system is empty, if the backup storage area of the system is empty, the fact that a target application program of a hot patch is not installed in an application program of the terminal is proved, and the hot patch file recovery process automatically exits; if the backup storage area of the system is not empty, the target application program needs to be determined according to the package name directory in the backup storage area of the system.
In an alternative embodiment, the target application identification set is generated according to a hot patch file of the target application contained in a backup storage area of the system.
The target application program identification can be the package name of the target application program, and the target application program identification set is generated according to the package name directory in the backup storage area. For example, the target application identifier sets are generated as package name a, package name b, package name c, package name d, and package name e from the package name directory in the backup storage area shown in fig. 7.
After the target application program identification set is determined, whether an application program started in response to an operation instruction for starting the application program by a user is the target application program needs to be judged, and if the application program corresponding to the operation instruction is the target application program, the hot patch file needs to be recovered; if the application program corresponding to the operation instruction is not the target application program, the hot patch file does not need to be recovered.
The invention is characterized in that the application program corresponding to the operation instruction is determined to be the target application program in the following way:
judging whether the identifier of the application program corresponding to the operation instruction is in the target application program identifier set or not; and if so, determining that the application program corresponding to the operation instruction is the target application program.
Specifically, an identifier of an application program started in response to an operation instruction of a user is determined, and if the identifier of the application program is in a target application program identifier set, the application program is determined to be a target application program; and if the identification of the application program is not in the target application program identification set, determining that the application program is not the target application program.
The identifier of the application program may be a package name of the application program. For example, the application program started in response to the operation instruction of the user is the application program 2, the corresponding identifier of the application program is the package name b, and the package name b is in the target application program identifier set, so that the application program corresponding to the operation instruction is determined to be the target application program.
After the started application program is determined to be the target application program, the completion of the starting of the application program is waited, and the hot patch files of the target application program are restored from the backup storage area of the system to the storage area corresponding to the hot patch catalog of the application program.
An optional implementation manner is that after determining that the application program corresponding to the operation instruction enters a background operation, the hot patch file of the application program is restored from the backup storage area of the system to the storage area corresponding to the hot patch directory of the application program.
In implementation, the target application program can be restored after the started application program enters the background operation. For example, as shown in fig. 8a, the hot patch files of the application 2 are file a and file B, which are stored in the backup storage area of the system under the directory name B, and after the application 2 enters the background operation, the file a and the file B are restored to the storage area corresponding to the ticker directory in the file directory of the application 2, as shown in fig. 8B.
After the hot patch file of the application program is restored, the hot patch file processing method provided by the embodiment of the invention also needs to delete the hot patch file of the application program in the backup storage area of the system; and updating the target application program identification set according to the hot patch file of the target application program contained in the backup storage area of the system after the hot patch file of the application program is deleted.
Specifically, in the embodiment of the present invention, after the hot patch file of the started application program is recovered, the hot patch file of the application program in the backup storage area is deleted, and the target application program identifier set is updated according to the hot patch file stored in the system backup storage area after the hot patch file is deleted, so that when the application program is started next time, whether the started application program is the target application program is determined according to the updated target application program identifier set.
For example, after the application 2 is started and the hot patch file of the application 2 is restored, the file a and the file B included in the backup storage area of the system are deleted, the package name B directory in the backup storage area is deleted during implementation, and the storage space corresponding to the package name B directory is released. And updating the target application program identifier set according to the hot patch file stored in the backup storage area of the system after the hot patch file is deleted, wherein the updated target application program identifier set comprises a package name a, a package name c, a package name d and a package name e.
After the hot patch file of the started application program is recovered, the application program is started completely, the opportunity for the application program to optimize the hot patch file is missed, and the terminal actively executes an optimization command to optimize the hot patch file of the application program to obtain the hot patch optimized file. For example, the terminal performs the following commands to optimize the hot patch file:
Figure BDA0002304908680000181
Figure BDA0002304908680000191
it should be noted that the optimization command is only an example, and is used to describe the hot patch file processing method provided in the embodiment of the present invention, and the scope of the present invention is not limited, and any optimization command that can optimize a hot patch file is within the scope of the embodiment of the present invention.
In addition, in a hot patch file recovery stage, if it is determined that an application program corresponding to an operation instruction for starting an application program by a user is a target application program and the start is completed, a terminal executes an optimization command, optimizes a hot patch file of the application program in a backup storage area of a system to obtain a hot patch optimization file, moves the obtained hot patch optimization file to a storage area corresponding to a hot patch directory of the application program, and executes the hot patch optimization file by the application program.
It should be noted that the hot patch file processing method provided in the embodiment of the present invention may determine the started application program each time the application program is started, determine whether the started application program is the target application program, and exit the hot patch recovery process until the updated target application program identifier set is empty.
As shown in fig. 9, a flowchart of a hot patch file backup process provided in an embodiment of the present invention includes:
step 901, in the process of starting up the terminal, detecting whether the terminal carries out OTA upgrading, if so, executing step 902; if not, executing step S904;
step S902, determining a target application program containing a hot patch directory in a file directory from the application programs installed in the terminal;
step S903, transferring the hot patch file of the target application program from a storage area corresponding to a hot patch catalog of the target application program to a backup storage area of the system;
and step S904, ending the hot patch file backup process.
As shown in fig. 10, a flowchart of performing hot patch file recovery according to an embodiment of the present invention includes:
step S1001, after the terminal is started, detecting whether a backup storage area of the system is empty, if so, executing step S1008; if not, executing step S1002;
step S1002, generating a target application program identification set according to a hot patch file of a target application program contained in a backup storage area of a system;
step S1003, responding to an operation instruction for starting the application program by a user, determining whether the application program corresponding to the operation instruction is the target application program according to the target application program identification set, and if so, executing step S1004; if not, executing step S1007;
step S1004, restoring the hot patch file of the application program from the backup storage area of the system to the storage area corresponding to the hot patch catalog of the application program;
step S1005, executing the optimization command to perform optimization processing on the hot patch file of the application program to obtain a hot patch optimization file;
step S1006, deleting the hot patch file of the application program in the backup storage area of the system, and updating the target application program identification set according to the hot patch file of the target application program contained in the backup storage area of the system after the hot patch file of the application program is deleted;
step S1007, judging whether the target application program identification set is empty, if yes, executing step S1008; if not, returning to the step S1003;
and step S1008, ending the hot patch file recovery process.
Based on the same inventive concept, the embodiment of the present invention further provides a communication terminal, and as the principle of solving the problem of the terminal is similar to the hot patch file processing method in the embodiment of the present invention, the implementation of the terminal may refer to the implementation of the method, and repeated details are not described again.
As shown in fig. 11, a communication terminal according to an embodiment of the present invention includes at least one processing unit 1100 and at least one storage unit 1101;
wherein the storage unit 1101 stores program code which, when executed by the processing unit 1100, causes the processing unit 1100 to perform the following procedure:
after OTA upgrading is completed, determining a target application program containing a hot patch file in a terminal starting process, and transferring the hot patch file of the target application program from a storage area corresponding to a hot patch directory of the target application program to a backup storage area of a system;
responding to an operation instruction for starting an application program by a user, if the application program corresponding to the operation instruction is determined to be a target application program, after the application program is started, restoring a hot patch file of the application program from a backup storage area of the system to a storage area corresponding to a hot patch directory of the application program;
and executing an optimization command to perform optimization processing on the hot patch file of the application program to obtain a hot patch optimization file.
Optionally, the processing unit 1100 is specifically configured to:
generating a target application program identification set according to a hot patch file of a target application program contained in a backup storage area of the system;
the processing unit 1100 is specifically configured to determine that the application program corresponding to the operation instruction is the target application program according to the following method:
judging whether the identifier of the application program corresponding to the operation instruction is in the target application program identifier set or not;
and if so, determining that the application program corresponding to the operation instruction is a target application program.
Optionally, the processing unit 1100 is specifically configured to:
and after the application program corresponding to the operation instruction is determined to enter background operation, restoring the hot patch file of the application program from the backup storage area of the system to the storage area corresponding to the hot patch directory of the application program.
Optionally, the processing unit 1100 is further configured to:
deleting the hot patch file of the application program in the backup storage area of the system;
and updating the target application program identification set according to the hot patch file of the target application program contained in the backup storage area of the system after the hot patch file of the application program is deleted.
Optionally, the processing unit 1100 is specifically configured to:
detecting attribute parameters of an operating system for representing version types;
and if the attribute parameters of the operating system are determined to be changed, determining that the OTA upgrade of the terminal is completed.
As shown in fig. 12, a hotpatch file processing apparatus according to an embodiment of the present invention includes:
the backup module 1201 is used for determining a target application program containing a hot patch file in the terminal starting process after the OTA is upgraded, and transferring the hot patch file of the target application program from a storage area corresponding to a hot patch directory of the target application program to a backup storage area of a system;
a restoring module 1202, configured to respond to an operation instruction for starting an application program by a user, and if it is determined that the application program corresponding to the operation instruction is a target application program, restore a hot patch file of the application program from a backup storage area of the system to a storage area corresponding to a hot patch directory of the application program after the application program is started;
and an optimizing module 1203, configured to execute an optimizing command to perform optimization processing on the hot patch file of the application program to obtain a hot patch optimized file.
Optionally, the recovery module 1202 is further configured to: generating a target application program identification set according to a hot patch file of a target application program contained in a backup storage area of the system;
the recovery module 1202 is specifically configured to:
judging whether the identifier of the application program corresponding to the operation instruction is in the target application program identifier set or not;
and if so, determining that the application program corresponding to the operation instruction is a target application program.
Optionally, the recovery module 1202 is specifically configured to:
and after the application program corresponding to the operation instruction is determined to enter background operation, restoring the hot patch file of the application program from the backup storage area of the system to the storage area corresponding to the hot patch directory of the application program.
Optionally, the recovery module 1202 is further configured to:
deleting the hot patch file of the application program in the backup storage area of the system;
and updating the target application program identification set according to the hot patch file of the target application program contained in the backup storage area of the system after the hot patch file of the application program is deleted.
Optionally, the backup module 1201 is specifically configured to:
the terminal detects attribute parameters of an operating system for representing version types;
and if the attribute parameters of the operating system are determined to be changed, determining that the OTA upgrade of the terminal is completed.
Embodiments of the present invention also provide a computer-readable medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any of the methods described above.
Since the communication terminal and the computer storage medium in the embodiment of the present invention may be applied to the processing method, reference may also be made to the above method embodiment for obtaining technical effects, and details of the embodiment of the present invention are not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that these are by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (10)

1. A communication terminal, comprising:
a touch screen configured to receive a touch operation from a user;
a display screen configured to display a user interface;
a processor coupled to the touch screen and the display screen, respectively, the processor configured to:
after OTA upgrading is completed, determining a target application program containing a hot patch file in a terminal starting process, and transferring the hot patch file of the target application program from a storage area corresponding to a hot patch directory of the target application program to a backup storage area of a system;
responding to an operation instruction for starting an application program by a user, if the application program corresponding to the operation instruction is determined to be a target application program, after the application program is started, restoring a hot patch file of the application program from a backup storage area of the system to a storage area corresponding to a hot patch directory of the application program;
and executing an optimization command to perform optimization processing on the hot patch file of the application program to obtain a hot patch optimization file.
2. The communication terminal of claim 1, wherein the processor is further configured to:
generating a target application program identification set according to a hot patch file of a target application program contained in a backup storage area of the system;
the processor is further configured to determine that the application program corresponding to the operation instruction is a target application program according to the following method:
judging whether the identifier of the application program corresponding to the operation instruction is in the target application program identifier set or not;
and if so, determining that the application program corresponding to the operation instruction is a target application program.
3. The communication terminal of claim 2, wherein, in restoring the hot patch file for the application from the backup storage area of the system to the storage area corresponding to the hot patch directory for the application, the processor is further configured to:
and after the application program corresponding to the operation instruction is determined to enter background operation, restoring the hot patch file of the application program from the backup storage area of the system to the storage area corresponding to the hot patch directory of the application program.
4. The communication terminal of claim 3, wherein the processor is further configured to:
deleting the hot patch file of the application program in the backup storage area of the system;
and updating the target application program identification set according to the hot patch file of the target application program contained in the backup storage area of the system after the hot patch file of the application program is deleted.
5. The communication terminal of claim 1, wherein the processor is further configured to:
detecting attribute parameters of an operating system for representing version types;
and if the attribute parameters of the operating system are determined to be changed, determining that the OTA upgrade of the terminal is completed.
6. A hot-patch file processing method is characterized by comprising the following steps:
at a communication terminal having a processor, a memory, a touch screen, and a display screen:
after OTA upgrading is completed, determining a target application program containing a hot patch file in a terminal starting process, and transferring the hot patch file of the target application program from a storage area corresponding to a hot patch directory of the target application program to a backup storage area of a system;
responding to an operation instruction for starting an application program by a user, if the application program corresponding to the operation instruction is determined to be a target application program, and after the application program is started, restoring a hot patch file of the application program from a backup storage area of the system to a storage area corresponding to a hot patch directory of the application program by the terminal;
and the terminal executes an optimization command to perform optimization processing on the hot patch file of the application program to obtain a hot patch optimization file.
7. The method as claimed in claim 6, wherein after the hot patch file of the target application program is transferred from the storage area corresponding to the hot patch directory of the target application program to the backup storage area of the system, before the application program corresponding to the operation instruction is determined to be the target application program in response to the operation instruction for opening the application program by the user, the method further comprises:
generating a target application program identification set according to a hot patch file of a target application program contained in a backup storage area of the system;
the terminal determines the application program corresponding to the operation instruction as a target application program according to the following method:
judging whether the identifier of the application program corresponding to the operation instruction is in the target application program identifier set or not;
and if so, determining that the application program corresponding to the operation instruction is a target application program.
8. The method as recited in claim 7, wherein the restoring the hot patch file of the application from the backup storage area of the system to the storage area corresponding to the hot patch directory of the application comprises:
and after the application program corresponding to the operation instruction is determined to enter background operation, restoring the hot patch file of the application program from the backup storage area of the system to the storage area corresponding to the hot patch directory of the application program.
9. The method as recited in claim 8, wherein after restoring the hot patch file of the application from the backup storage area of the system to the storage area corresponding to the hot patch directory of the application, further comprising:
deleting the hot patch file of the application program in the backup storage area of the system;
and updating the target application program identification set according to the hot patch file of the target application program contained in the backup storage area of the system after the hot patch file of the application program is deleted.
10. A computer storage medium having computer program instructions stored therein which, when run on a computer, cause the computer to perform the method of any of claims 6 to 9.
CN201911236030.1A 2019-12-05 2019-12-05 Hot patch file processing method and communication terminal Active CN111158735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911236030.1A CN111158735B (en) 2019-12-05 2019-12-05 Hot patch file processing method and communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911236030.1A CN111158735B (en) 2019-12-05 2019-12-05 Hot patch file processing method and communication terminal

Publications (2)

Publication Number Publication Date
CN111158735A true CN111158735A (en) 2020-05-15
CN111158735B CN111158735B (en) 2023-03-31

Family

ID=70556490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911236030.1A Active CN111158735B (en) 2019-12-05 2019-12-05 Hot patch file processing method and communication terminal

Country Status (1)

Country Link
CN (1) CN111158735B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112631608A (en) * 2021-01-05 2021-04-09 北京字节跳动网络技术有限公司 Compiling method, device, terminal and storage medium
CN113741993A (en) * 2021-06-15 2021-12-03 荣耀终端有限公司 Method and device for compiling plug-in dex file

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724308A (en) * 2012-06-13 2012-10-10 腾讯科技(深圳)有限公司 Software update method and software update system
CN103514016A (en) * 2013-09-22 2014-01-15 上海华为技术有限公司 Method and device for upgrading system version and base station controller
CN104239082A (en) * 2013-06-20 2014-12-24 上海博达数据通信有限公司 Hot patching implementation method of embedded system
JP2016051292A (en) * 2014-08-29 2016-04-11 株式会社スクウェア・エニックス Patch application system, patch application program, patch providing device, and patch application method
CN106610857A (en) * 2016-12-23 2017-05-03 上海优刻得信息科技有限公司 Hot patch information inquiring method and device
CN106775623A (en) * 2016-11-17 2017-05-31 网易(杭州)网络有限公司 Plan the processing method and processing device of allocation list
CN107766069A (en) * 2017-10-17 2018-03-06 安徽皖通邮电股份有限公司 A kind of embedded system hot patch implementation method
WO2018209843A1 (en) * 2017-05-17 2018-11-22 华为技术有限公司 Method, device and terminal for executing hotpatch
AU2016404863A1 (en) * 2016-04-27 2018-11-29 Honor Device Co., Ltd. Patch-upgrade-based file processing method and apparatus, terminal, and storage medium
CN109491698A (en) * 2018-12-29 2019-03-19 武汉思普崚技术有限公司 Method for updating system and device based on hot patch
CN109753301A (en) * 2018-12-06 2019-05-14 东软集团股份有限公司 Application system dispositions method, device, storage medium and electronic equipment
CN110196730A (en) * 2018-08-30 2019-09-03 腾讯科技(深圳)有限公司 Hot patch management method, device and the storage medium of application program

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724308A (en) * 2012-06-13 2012-10-10 腾讯科技(深圳)有限公司 Software update method and software update system
CN104239082A (en) * 2013-06-20 2014-12-24 上海博达数据通信有限公司 Hot patching implementation method of embedded system
CN103514016A (en) * 2013-09-22 2014-01-15 上海华为技术有限公司 Method and device for upgrading system version and base station controller
JP2016051292A (en) * 2014-08-29 2016-04-11 株式会社スクウェア・エニックス Patch application system, patch application program, patch providing device, and patch application method
AU2016404863A1 (en) * 2016-04-27 2018-11-29 Honor Device Co., Ltd. Patch-upgrade-based file processing method and apparatus, terminal, and storage medium
CN106775623A (en) * 2016-11-17 2017-05-31 网易(杭州)网络有限公司 Plan the processing method and processing device of allocation list
CN106610857A (en) * 2016-12-23 2017-05-03 上海优刻得信息科技有限公司 Hot patch information inquiring method and device
WO2018209843A1 (en) * 2017-05-17 2018-11-22 华为技术有限公司 Method, device and terminal for executing hotpatch
CN107766069A (en) * 2017-10-17 2018-03-06 安徽皖通邮电股份有限公司 A kind of embedded system hot patch implementation method
CN110196730A (en) * 2018-08-30 2019-09-03 腾讯科技(深圳)有限公司 Hot patch management method, device and the storage medium of application program
CN109753301A (en) * 2018-12-06 2019-05-14 东软集团股份有限公司 Application system dispositions method, device, storage medium and electronic equipment
CN109491698A (en) * 2018-12-29 2019-03-19 武汉思普崚技术有限公司 Method for updating system and device based on hot patch

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
鞠华英: "打好补丁保安全", 《电脑知识与技术(经验技巧)》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112631608A (en) * 2021-01-05 2021-04-09 北京字节跳动网络技术有限公司 Compiling method, device, terminal and storage medium
CN113741993A (en) * 2021-06-15 2021-12-03 荣耀终端有限公司 Method and device for compiling plug-in dex file
CN113741993B (en) * 2021-06-15 2022-07-01 荣耀终端有限公司 Method and device for compiling plug-in dex file

Also Published As

Publication number Publication date
CN111158735B (en) 2023-03-31

Similar Documents

Publication Publication Date Title
CN110865837B (en) Method and terminal for system upgrade
CN112114733B (en) Screen capturing and recording method, mobile terminal and computer storage medium
CN111367456A (en) Communication terminal and display method in multi-window mode
CN111158735B (en) Hot patch file processing method and communication terminal
CN113835569A (en) Terminal device, quick start method for internal function of application and storage medium
CN111857531A (en) Mobile terminal and file display method thereof
CN111506237A (en) Terminal and method for starting operation function in application
CN113709026B (en) Method, device, storage medium and program product for processing instant communication message
CN111246299A (en) Communication terminal and application management method
CN113835928A (en) Application backup and recovery method, device, storage medium, and program product
CN113055585B (en) Thumbnail display method of shooting interface and mobile terminal
CN113014614A (en) Equipment control method, control equipment and controlled equipment
CN114675786A (en) Large-capacity storage mounting method, device, terminal and medium
CN114020379A (en) Terminal device, information feedback method and storage medium
CN114138293A (en) Terminal and method for upgrading portable system of external memory card
CN114138343A (en) Terminal and terminal starting method
CN111225113A (en) Communication terminal and starting method thereof
CN111159734A (en) Communication terminal and multi-application data inter-access processing method
CN113254132B (en) Application display method and related device
CN113642010B (en) Method for acquiring data of extended storage device and mobile terminal
CN114661310A (en) Application installation method based on dual systems, terminal device and storage medium
CN112925545A (en) Mobile terminal and application updating method thereof
CN113254052A (en) Firmware upgrading method for ink screen hard decoding chip and terminal equipment
CN112764832A (en) Application program installing and uninstalling method and communication terminal
CN113691568A (en) Terminal and method for acquiring file information

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