WO2017206899A1 - 信息处理方法及相关设备 - Google Patents

信息处理方法及相关设备 Download PDF

Info

Publication number
WO2017206899A1
WO2017206899A1 PCT/CN2017/086562 CN2017086562W WO2017206899A1 WO 2017206899 A1 WO2017206899 A1 WO 2017206899A1 CN 2017086562 W CN2017086562 W CN 2017086562W WO 2017206899 A1 WO2017206899 A1 WO 2017206899A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
target
target oat
oat file
module
Prior art date
Application number
PCT/CN2017/086562
Other languages
English (en)
French (fr)
Inventor
李辉
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Priority to EP17805844.2A priority Critical patent/EP3401758B1/en
Publication of WO2017206899A1 publication Critical patent/WO2017206899A1/zh
Priority to US16/122,383 priority patent/US11016860B2/en
Priority to US16/435,303 priority patent/US10628271B2/en

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/447Target code generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45516Runtime code conversion or optimisation
    • G06F9/4552Involving translation to a different instruction set architecture, e.g. just-in-time translation in a JVM
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/82Solving problems relating to consistency

Definitions

  • the present invention relates to the field of electronic technologies, and in particular, to an information processing method and related equipment.
  • the current android system has completely replaced Dalvik with ART. Since the Oat file is more efficient than the dex file, the dex executable file in the application is compiled into the oat file by the dex2oat tool before the application is run.
  • the oat file is the compiled local machine command.
  • the main compilation process takes place during the application installation process, while others occur when the application is running dependent on dynamic java library files.
  • These java library files are also required to be compiled into oat files before running. At present, most applications, such as angry birds, subway parkour, temple escape, etc., compile and load the dynamic library every cold start, which increases the power consumption of the terminal device.
  • the embodiment of the invention provides an information processing method and related device, which can reduce power consumption of the terminal device.
  • an embodiment of the present invention provides an information processing method, including:
  • the target oat file is loaded.
  • an embodiment of the present invention provides an information processing apparatus, including:
  • a detecting module configured to detect, when the startup control instruction of the application is detected, whether the target oat file corresponding to the target dex file that the application depends on is missing;
  • the detecting module is further configured to: if the target oat file is missing, detecting whether there is a backup target oat file;
  • a determining module configured to: if the target oat file of the backup exists, determine a hard link file for backing up the target oat file;
  • a reading module configured to read the target oat file from the hard link file
  • a verification module configured to verify whether the target oat file of the backup is valid
  • an embodiment of the present invention provides a terminal device, including:
  • a processor coupled to the memory
  • a fingerprint identification module for collecting fingerprint images
  • the processor invokes the executable program code stored in the memory to perform some or all of the steps as described in any of the first aspects of the embodiments of the present invention.
  • the present invention provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of an information processing method described in the first aspect.
  • FIG. 1 is a schematic flowchart of an information processing method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart diagram of another information processing method according to an embodiment of the present disclosure.
  • FIG. 3 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of another terminal device according to an embodiment of the present invention.
  • references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention.
  • the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
  • a terminal device also called a User Equipment (UE) is a device that provides voice and/or data connectivity to a user, for example, a handheld device with a wireless connection function, an in-vehicle device, and the like.
  • UE User Equipment
  • Common terminals include, for example, mobile phones, tablets, notebook computers, PDAs, mobile internet devices (MIDs), wearable devices such as smart watches, smart bracelets, pedometers, and the like.
  • dex file for Dalvik VM executes refers to Android Dalvik executive program.
  • the oat file is the local machine command after compiling the dex file with the dex2oat tool.
  • Multiple means two or more. "and/or”, describing the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately.
  • the character "/" generally indicates that the contextual object is an "or" relationship.
  • FIG. 1 is a schematic flowchart of an information processing method according to an embodiment of the present invention, including the following steps:
  • the terminal device detects whether the target oat file corresponding to the target dex file that the application depends on is missing.
  • the terminal device detects whether there is a backup target oat file.
  • the terminal device determines to back up a hard link file of the target oat file, and reads the target oat file from the hard link file.
  • the terminal device verifies whether the target oat file is valid.
  • the terminal device loads the target oat file.
  • the application is a third-party application installed by the terminal device, or a system application.
  • the main compilation process takes place during the application installation process, while other applications depend on dynamic Java library files.
  • These dynamic Java library files also require compiled machine instructions before running (ie Oat file).
  • Many popular applications such as Angry Birds, Subway Parkour, Temple Run, etc., are restarted each time a cold boot is used (the cold start refers to the application being started for the first time or the application is killed (not in memory)).
  • the dynamic java library file was compiled and loaded.
  • the oat file corresponding to the dynamic java library file that starts the compilation is cached. These compiled oat files will be deleted after the application is loaded, thus causing a dynamic java library file to be recompiled every cold start.
  • the target dex file such as a dynamic java library file
  • the target oat file can be called in the link file.
  • the method shown in FIG. 1 further includes:
  • the terminal device compiles the target dex file to obtain the target oat file; and the terminal device establishes a hard link text for backing up the target oat file. And storing the target oat file in a hard link file of the target oat file.
  • the situation may be that the application is started for the first time.
  • the terminal device needs to compile the target dex file, obtain the target oat file, and load the target oat file. (Or first verify that the target oat file is valid, and then load the target oat file if the target oat file is valid).
  • the terminal device can back up the target oat file, and the specific way of backing up the target oat file is as follows: firstly, the backup target oat is established. The file's hard link file, and then the target oat file is stored in the hard link file of the target oat file.
  • the foregoing step S104 is to verify whether the target oat file of the backup is valid.
  • the terminal device determines the number of the offset array of the target oat file and the data type of the target dex file. If the number of offset arrays of the target oat file is the same as the number of data types of the target dex file, confirm that the target oat file is valid; if the target oat file has an offset array If the number is different from the number of data types of the target dex file, it is confirmed that the target oat file is invalid.
  • a dex file generally includes N types of data, N types of data correspond to N pieces of data, and N types of data correspond to N types of compiling methods, and the terminal device compiles N pieces of data in the dex file according to N kinds of compiling methods.
  • the Oat file may include N offset arrays, and the N data are in one-to-one correspondence with the N offset arrays, where N is an integer greater than or equal to 1.
  • the N compiling methods may be the same or different, and the present invention is not limited thereto.
  • the terminal device determines whether the backup target oat file is valid, and determines whether the backup target oat file is valid by determining whether the number of offset arrays of the backup target oat file is the same as the number of data types of the target dex file, for example, The number of offset arrays of the target oat file of the backup is 3, and the number of data types of the target dex file is 3, and it is confirmed that the target oat file of the backup is valid, otherwise, the target oat file of the backup is invalid.
  • the method shown in FIG. 1 further includes:
  • the terminal device determines whether the target oat file is complete; if the target oat file is incomplete, the terminal device determines target data of the target dex file that is not compiled, and compiles the target. Data, the target compiled data is obtained; the terminal device adds the target compiled data to the target oat file, and loads the target oat file.
  • the target oat file may be invalid because the target oat file is incomplete (the cause of the incomplete oat file may be caused by the user closing the application during the startup process, and the terminal device has not compiled the target dex file. In turn, the target oat file is incomplete, or it may be for other reasons (such as after the application is updated).
  • the terminal device first determines whether the target oat file is complete. If not, the terminal device first completes the target oat file, and then loads the target oat file (or first verifies whether the target oat file is valid, If the target oat file is valid, then go to the target oat file.
  • the specific implementation manner of the target oat file may be: the terminal device first determines the target data of the target dex file that is not compiled, and compiles the target data to obtain the target compiled data; and then the terminal device adds the target compiled data to the target oat file, And loading the target oat file, for example, the target oat file contains the number of offset arrays is 1, the target dex file contains the number of data types is 3, it means that the target dex file has 2 data types uncompiled, the terminal device can pass The compile method corresponding to one offset array included in the target oat file determines which two uncompiled data types are in the target dex file, and then the terminal device compiles the data corresponding to the two data types to obtain the target compiled data. Finally, the terminal device adds the compiled target compilation data to the target oat file to make the target oat file complete.
  • the method shown in FIG. 1 further includes:
  • the terminal device deletes the backed up target oat file from the hard link file of the target oat file.
  • the terminal device After the application is updated or uninstalled, the terminal device considers that the target oat file of the application backup may be used less. In this case, in order to save the storage space of the terminal device, the terminal device may back up the target oat of the application. The file is deleted from the hard link file of the backup target oat file.
  • the method further includes:
  • the compressed file is deleted.
  • the user may temporarily uninstall the application A in order to release a part of the storage space of the terminal device, and the application A may be installed when the user needs it.
  • the terminal device may first compress the target oat file of the application A, obtain the compressed file B, and then store the compressed file B to the specified The location, when the user is installing the application A, directly decompresses the compressed file B. If the application A is not reinstalled within a preset duration (for example, 1 month), the terminal directly deletes the compressed file.
  • a preset duration for example, 1 month
  • the embodiment of the present invention further provides another more detailed method flow, as shown in FIG. 2, including:
  • the terminal device When detecting the start control command of the application, the terminal device detects whether the target oat file corresponding to the target dex file that the application depends on is missing.
  • step S202 is performed.
  • step S204 is performed.
  • the terminal device detects whether there is a backup target oat file.
  • step S203 is performed.
  • step S206 is performed.
  • the terminal device determines to back up a hard link file of the target oat file, and reads the target oat file from the hard link file.
  • the terminal device verifies whether the target oat file is valid.
  • step S205 is performed.
  • step S211 is performed.
  • the terminal device loads the target oat file.
  • the terminal device compiles the target dex file to obtain the target oat file.
  • the terminal device determines whether the target dex file is a main execution file.
  • step S204 is performed.
  • step S208 is performed.
  • the terminal device detects whether the target dex file has a compiled record.
  • step S209 is performed.
  • step S210 is performed.
  • the terminal device establishes a hard link file that backs up the target oat file, and stores the target oat file in a hard link file of the target oat file.
  • step S210 The terminal device controls a compile counter corresponding to the target dex file to be incremented by one. After step S210 is performed, step S204 is performed.
  • the terminal device determines whether the target oat file is complete.
  • step S212 is performed.
  • step S206 is performed.
  • the terminal device determines target data that is not compiled by the target dex file, and compiles the target data to obtain target compiled data.
  • step S213. The terminal device adds the target compilation data to the target oat file. After step S213 is performed, step S204 is performed.
  • step S204 may be performed after step S206 is performed, or step S205 may be performed after step S206 is performed.
  • step S207 is for ensuring that the target dex file does not come from the main execution file (/data/app/ directory, the /data/app directory is the main execution file directory of the application, and the main execution file does not have the possibility of repeated compilation), step S208 Further checking whether the target dex file already has a compiled record.
  • step S210 adds 1 to the compile counter corresponding to the target dex file.
  • the content of the compiled record is updated, so that the subsequent terminal device determines whether the target dex file has been compiled. For example, if the compile counter corresponding to the target dex file is 0, it is not compiled, and the compile counter corresponding to the target dex file is not 0, and is compiled. Over.
  • An embodiment of the present invention further provides an information processing apparatus 300, as shown in FIG. 3, including:
  • the detecting module 301 is configured to detect, when the startup control instruction of the application is detected, whether the target oat file corresponding to the target dex file that the application depends on is missing;
  • the detecting module 301 is further configured to: if the target oat file is missing, detecting whether there is a backup target oat file;
  • a determining module 302 configured to determine a hard link file for backing up the target oat file if the target oat file is backed up;
  • a reading module 303 configured to read the target oat file from the hard link file
  • a verification module 304 configured to verify whether the target oat file is valid
  • the loading module 305 is configured to load the target oat file if the target oat file is valid.
  • the apparatus shown in FIG. 3 further includes:
  • the compiling module 306 is configured to compile the target dex file to obtain the target oat file if the target oat file of the backup does not exist;
  • the loading module 305 is further configured to load the target oat file
  • the backup module 307 is configured to establish a hard link file of the target oat file, and store the target oat file in a hard link file of the target oat file.
  • the verification module 304 is specifically configured to:
  • the target oat file is invalid.
  • the determining module 302 is further configured to determine whether the target oat file is complete if the target oat file is invalid;
  • the determining module 302 is further configured to: if the target oat file is incomplete, determine target data that is not compiled by the target dex file;
  • the compiling module 306 is further configured to compile the target data to obtain target compiled data
  • the device also includes:
  • An adding module 308, configured to add the target compiled data to the target oat file
  • the loading module 305 is further configured to load the target oat file.
  • the apparatus shown in FIG. 3 further includes:
  • the first deleting module 309 is configured to delete the backed up target oat file from the hard link file of the target oat file after the application is updated or uninstalled.
  • the apparatus shown in FIG. 3 further includes:
  • a compression module configured to compress the target oat file after the application is updated or uninstalled to obtain a compressed file
  • a storage module configured to store the compressed file to a specified location
  • a second deleting module configured to: if the application is not reinstalled within a preset duration, the compression File deletion.
  • the oat file is a local machine instruction after the dex file is compiled by the dex2oat tool.
  • the application is a third-party application installed by the terminal device, or a system application.
  • the dex file is an Android Dalvik executable program.
  • each of the above modules (the detection module 301, the determination module 302, the reading module 303, the verification module 304, the loading module 305, the compiling module 306, the backup module 307, the adding module 308, and the first deleting module 309) are used for The relevant steps of the method described above in Figures 1-2 are performed.
  • the information processing apparatus 300 is presented in the form of a module.
  • a “module” herein may refer to an application-specific integrated circuit (ASIC), a processor and memory that executes one or more software or firmware programs, integrated logic circuits, and/or other devices that provide the above functionality.
  • ASIC application-specific integrated circuit
  • the above detection module 301, the determination module 302, the reading module 303, the verification module 304, the loading module 305, the compiling module 306, the backup module 307, the adding module 308, and the deleting module 309 can be processed by the terminal device shown in FIG.
  • the device 401 is implemented.
  • the terminal device 400 can be implemented in the structure of FIG. 4.
  • the terminal device 400 includes at least one processor 401, at least one memory 402, at least one communication interface 403, and a fingerprint recognition module 404.
  • the processor 401, the memory 402, and the communication interface 403 are connected by the communication bus and complete communication with each other.
  • the processor 401 can be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the above program.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • the communication interface 403 is configured to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), and the like.
  • RAN Radio Access Network
  • WLAN Wireless Local Area Networks
  • the memory 402 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions.
  • the dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM) or a Compact Disc Read-Only Memory (CD-ROM). Or other disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), disk storage media or other magnetic storage devices, or can be used to carry or store expectations in the form of instructions or data structures Program code and any other medium that can be accessed by a computer, but is not limited thereto.
  • the memory can exist independently and be connected to the processor via a bus.
  • the memory can also be integrated with the processor.
  • the memory 402 is used to store application code that executes the above solution, and is controlled by the processor 401 for execution.
  • the processor 401 is configured to execute application code stored in the memory 402.
  • the code stored in the memory 402 can execute the process control method of FIG. 1 to FIG. 2 executed by the terminal device provided above, for example, when detecting the startup control instruction of the application, detecting the target oat file corresponding to the target dex file on which the application depends. Whether it is missing; if the target oat file is missing, detecting whether there is a backup target oat file; if there is a backup target oat file, determining to back up the hard link file of the target oat file, and from the hard link Reading the target oat file in the file; verifying whether the target oat file is valid; if the target oat file is valid, loading the target oat file.
  • the terminal device is a mobile phone, and the following describes the components of the mobile phone in conjunction with FIG. 5:
  • the RF circuit 510 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor 580. In addition, the uplink data is designed to be sent to the base station. Generally, RF circuit 510 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 510 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • the memory 520 can be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 520.
  • the memory 520 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a file compiling function, a file storage function, a file verification function, etc.); and storing the data.
  • the area can store data created according to the use of the mobile phone (such as a backup target oat file, etc.).
  • memory 520 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 530 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset.
  • the input unit 530 may include a touch panel 531 and other input devices 532.
  • the touch panel 531 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 531 or near the touch panel 531. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 531 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 580 is provided and can receive commands from the processor 580 and execute them.
  • the touch panel 531 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 530 may also include other input devices 532.
  • other input devices 532 may include, but are not limited to, a physical keyboard, at least one of a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like.
  • a function key such as a volume control button, a switch button, etc.
  • a trackball such as a mouse, a joystick, and the like.
  • the display unit 540 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
  • the display unit 540 can include a display panel 541.
  • the display panel 541 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 531 can cover the display panel 541. When the touch panel 531 detects a touch operation on or near it, the touch panel 531 transmits to the processor 580 to determine the type of the touch event, and then the processor 580 according to the touch event. The type provides a corresponding visual output on display panel 541.
  • the touch panel 531 and the display panel 541 are two independent components to implement the input and input functions of the mobile phone, in some embodiments.
  • the touch panel 531 and the display panel 541 can be integrated to realize the input and output functions of the mobile phone.
  • the handset may also include at least one type of sensor 550, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 541 according to the brightness of the ambient light, and the proximity sensor may close the display panel 541 and/or when the mobile phone moves to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, tapping
  • the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • Audio circuit 560, speaker 561, and microphone 562 provide an audio interface between the user and the handset.
  • the audio circuit 560 can transmit the converted electrical data of the received audio data to the speaker 561, and convert it into a sound signal output by the speaker 561.
  • the microphone 562 converts the collected sound signal into an electrical signal, and the audio circuit 560 is used by the audio circuit 560. After receiving, it is converted into audio data, and then processed by the audio data output processor 580, sent to the other mobile phone via the RF circuit 510, or outputted to the memory 520 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 570, which provides users with wireless broadband Internet access.
  • FIG. 5 shows the WiFi module 570, it can be understood that it does not belong to the essential configuration of the mobile phone, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 580 is the control center of the handset, and connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 520, and invoking data stored in the memory 520, executing The phone's various functions and processing data, so that the overall monitoring of the phone.
  • the processor 580 may include one or more processing units; preferably, the processor 580 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 580.
  • the mobile phone also includes a power source 590 (such as a battery) for supplying power to various components.
  • a power source 590 such as a battery
  • the power source can be logically connected to the processor 580 through the power management system to implement management charging through the power management system. Electrical, electrical, and power management functions.
  • the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • each step method flow may be implemented based on the structure of the terminal device shown in FIG. 5.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of any one of the information processing methods described in the foregoing method embodiments.
  • Embodiments of the present invention also provide a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to execute a terminal as in the above method Some or all of the steps described by the device.
  • the computer program product can be a software installation package.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. You can choose some or all of them according to actual needs.
  • the unit is to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a memory. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing memory includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

一种信息处理方法及相关设备,所述方法包括:当检测到应用的启动控制指令时,终端设备检测所述应用所依赖的目标dex文件对应的目标oat文件是否缺失(S101);若所述目标oat文件缺失,所述终端设备检测是否存在备份的所述目标oat文件(S102);若存在备份的所述目标oat文件,所述终端设备确定备份所述目标oat文件的硬链接文件,以及从所述硬链接文件中读取所述目标oat文件(S103);所述终端设备验证所述目标oat文件是否有效(S104);若所述目标oat文件有效,则所述终端设备加载所述目标oat文件(S105)。采用所述方法可降低终端设备的功耗。

Description

信息处理方法及相关设备
本发明要求2016年5月31日递交的发明名称为“一种信息处理方法及终端设备”的申请号201610380681.8的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。
技术领域
本发明涉及电子技术领域,尤其涉及一种信息处理方法及相关设备。
背景技术
为了提高运行时的效率,目前的android系统已经全面用ART替代了Dalvik。由于Oat文件比dex文件效率高,在应用程序运行前,事先将应用程序中的dex可执行文件通过dex2oat工具编译成oat文件,其中,oat文件为编译后的本地机器指令。通常主要的编译过程发生在应用程序安装的过程,另外一些发生在应用程序运行时依赖于动态的java库文件,这些java库文件也要求在运行前被编译成oat文件。目前大多数应用,如愤怒的小鸟、地铁跑酷、神庙逃亡等,在每次冷启动时都进行了动态库的编译和加载,进而增加了终端设备的功耗。
发明内容
本发明实施例提供一种信息处理方法及相关设备,可以降低终端设备的功耗。
第一方面,本发明实施例提供一种信息处理方法,包括:
当检测到应用的启动控制指令时,检测所述应用所依赖的目标dex文件对应的目标oat文件是否缺失;
若所述目标oat文件缺失,检测是否存在备份的所述目标oat文件;
若存在备份的所述目标oat文件,确定备份所述目标oat文件的硬链接文件,以及从所述硬链接文件中读取所述目标oat文件;
验证所述目标oat文件是否有效;
若所述目标oat文件有效,则加载所述目标oat文件。
第二方面,本发明实施例提供一种信息处理装置,包括:
检测模块,用于当检测到应用的启动控制指令时,检测所述应用所依赖的目标dex文件对应的目标oat文件是否缺失;
所述检测模块,还用于若所述目标oat文件缺失,检测是否存在备份的所述目标oat文件;
确定模块,用于若存在备份的所述目标oat文件,确定备份所述目标oat文件的硬链接文件;
读取模块,用于从所述硬链接文件中读取所述目标oat文件;
验证模块,用于验证所述备份的所述目标oat文件是否有效;
加载模块,用于若所述目标oat文件有效,则加载所述目标oat文件。
第三方面,本发明实施例提供了一种终端设备,包括:
存储有可执行程序代码的存储器;
与所述存储器耦合的处理器;
用于采集指纹图像的指纹识别模组;
所述处理器调用所述存储器中存储的所述可执行程序代码,执行如本发明实施例第一方面任一方法中所描述的部分或全部步骤。
第四方面,本发明提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述第一方面记载的一种信息处理方法的部分或全部步骤。
本发明的这些方面或其他方面在以下实施例的描述中会更加简明易懂。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种信息处理方法的流程示意图;
图2为本发明实施例提供的另一种信息处理方法的流程示意图;
图3为本发明实施例提供的一种信息处理装置的结构示意图;
图4为本发明实施例提供的一种终端设备的结构示意图;
图5为本发明实施例提供的另一种终端设备的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。
以下分别进行详细说明。
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。
1)、终端设备,又称之为用户设备(User Equipment,UE),是一种向用户提供语音和/或数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。常见的终端例如包括:手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,例如智能手表、智能手环、计步器等。
2)、dex文件为Dalvik VM executes,指Android Dalvik执行程序。oat文件是通过dex2oat工具编译dex文件后的本地机器指令。
3)、“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
请参见图1,图1为本发明实施例提供的一种信息处理方法的流程示意图,包括以下步骤:
S101、当检测到应用的启动控制指令时,终端设备检测所述应用所依赖的目标dex文件对应的目标oat文件是否缺失。
S102、若所述目标oat文件缺失,所述终端设备检测是否存在备份的所述目标oat文件。
S103、若存在备份的所述目标oat文件,所述终端设备确定备份所述目标oat文件的硬链接文件,以及从所述硬链接文件中读取所述目标oat文件。
S104、所述终端设备验证所述目标oat文件是否有效。
S105、若所述目标oat文件有效,则所述终端设备加载所述目标oat文件。
其中,所述应用为终端设备安装的第三方应用,或者系统应用。
举例来说,通常主要的编译过程发生在应用程序安装的过程,另外一些应用程序运行时依赖于动态的java库文件,这些动态的java库文件也要求在运行前被编译成本地机器指令(即oat文件)。目前很多流行的应用,如愤怒的小鸟、地铁跑酷、神庙逃亡等,在每次冷启动(冷启动指的是应用第一次启动或者应用被杀死(不在内存中)后重新启动的情况。)时都进行了动态的java库文件的编译和加载。通常应用启动编译的动态的java库文件对应的oat文件属于缓存,这些编译后的oat文件会在应用程序加载完后进行删除,因此造成每次冷启动都重新进行一次动态的java库文件的编译,进而增加了终端设备的功耗。本方案中,在将目标dex文件(比如动态的java库文件)编译成目标oat文件之前,先确定终端设备中是否存在备份的目标oat文件,若存在,则终端设备直接从目标oat文件的硬链接文件中调用该目标oat文件即可。
可选地,图1所示的方法还包括:
若不存在备份的所述目标oat文件,所述终端设备编译所述目标dex文件,得到所述目标oat文件;所述终端设备建立备份所述目标oat文件的硬链接文 件,以及将所述目标oat文件存储于所述目标oat文件的硬链接文件中。
举例来说,在不存在备份的目标oat文件的情况下,该种情况可能是应用第一次被启动,此时,终端设备需编译目标dex文件,得到目标oat文件,以及加载该目标oat文件(或者是先验证目标oat文件是否有效,在该目标oat文件有效的情况下,再去加载目标oat文件)。另外,为了避免后续启动该应用时反复编译这些目标dex文件,而增加终端设备的功耗的问题,终端设备可将目标oat文件进行备份,备份目标oat文件的具体方式有:先建立备份目标oat文件的硬链接文件,然后再将目标oat文件存储于目标oat文件的硬链接文件中。
可选地,以上步骤S104验证所述备份的所述目标oat文件是否有效的具体实施方式为:所述终端设备确定所述目标oat文件的偏移数组的数量与所述目标dex文件的数据类型的数量是否相同;若所述目标oat文件的偏移数组的数量与所述目标dex文件的数据类型的数量相同,则确认所述目标oat文件有效;若所述目标oat文件的偏移数组的数量与所述目标dex文件的数据类型的数量不相同,则确认所述目标oat文件无效。
举例来说,通常dex文件包括N种数据类型,N种数据类型对应N个数据,N种数据对应N种编译方法,那么终端设备根据N种编译方法编译该dex文件中的N个数据得到的oat文件可包括N个偏移数组,N个数据与N个偏移数组一一对应,其中,N为大于或等于1的整数,N种编译方法可以相同也可以不同,本发明不作限定。因此,终端设备判断备份的目标oat文件是否有效,可通过判断备份的目标oat文件的偏移数组的数量与目标dex文件的数据类型的数量是否相同,来判断备份的目标oat文件是否有效,比如,备份的目标oat文件的偏移数组的数量为3,目标dex文件的数据类型的数量为3,则确认备份的目标oat文件有效,否则,确认备份的目标oat文件无效。
可选地,图1所示的方法还包括:
若所述目标oat文件无效,所述终端设备确定所述目标oat文件是否完整;若目标oat文件不完整,则所述终端设备确定所述目标dex文件未编译的目标数据,以及编译所述目标数据,得到目标编译数据;所述终端设备将所述目标编译数据添加至所述目标oat文件中,以及加载所述目标oat文件。
举例来说,目标oat文件无效的原因可能是目标oat文件不完整(导致目标oat文件不完整的原因可能在启动应用过程中,用户将该应用关闭,而导致终端设备未编译完目标dex文件,进而使得目标oat文件不完整),也有可能是别的原因(比如应用更新后)。在目标oat文件无效的情况下,终端设备先确定目标oat文件是否完整,若否,终端设备先将目标oat文件完善,然后再加载目标oat文件(或者是先验证目标oat文件是否有效,在该目标oat文件有效的情况下,再去加载目标oat文件)。完善目标oat文件的具体实施方式可以有:终端设备先确定所述目标dex文件未编译的目标数据,以及编译目标数据,得到目标编译数据;然后终端设备将目标编译数据添加至目标oat文件中,以及加载目标oat文件,比如,目标oat文件包含的偏移数组的数量为1,目标dex文件包含数据类型的数量为3,则表示目标dex文件中有2个数据类型未编译,终端设备可通过目标oat文件包含的1个偏移数组对应的编译方法,确定目标dex文件中2未编译的数据类型是哪两个,然后终端设备再去编译这两个数据类型对应的数据,得到目标编译数据,最后终端设备再将编译后的目标编译数据添加到目标oat文件中,以使得目标oat文件完整。
可选地,图1所示的方法还包括:
在所述应用更新或卸载后,所述终端设备将备份的所述目标oat文件从所述目标oat文件的硬链接文件中删除。
举例来说,在应用更新或卸载后,终端设备认为该应用备份的目标oat文件后续用处可能不大,该种情况下,为了节省终端设备的存储空间,终端设备可将该应用备份的目标oat文件从备份目标oat文件的硬链接文件中删除。
可选地,所述方法还包括:
在所述应用更新或卸载后,将所述目标oat文件进行压缩,以得到压缩文件,以及将所述压缩文件存储至指定位置;
若在预设时长内所述应用未重新安装时,将所述压缩文件删除。
具体地,有时用户可能只是为了释放终端设备的一部分存储空间,而暂时将应用A卸载,后续用户需要的时候可能还会安装应用A,该种情况下,为了避免终端设备反复编译应用A所需要的目标oat文件,终端设备可先将应用A的目标oat文件进行压缩,得到压缩文件B,然后将压缩文件B存储至指定 位置,在后续用户在安装应用A时,直接将该压缩文件B进行解压备用,若应用A在预设时长(比如1个月)内未重新安装,则终端直接删除该压缩文件。
本发明实施例还提供了另一更为详细的方法流程,如图2所示,包括:
S201、当检测到应用的启动控制指令时,终端设备检测所述应用所依赖的目标dex文件对应的目标oat文件是否缺失。
若是,则执行步骤S202。
若否,则执行步骤S204。
S202、所述终端设备检测是否存在备份的所述目标oat文件。
若是,则执行步骤S203。
若否,则执行步骤S206。
S203、所述终端设备确定备份所述目标oat文件的硬链接文件,以及从所述硬链接文件中读取所述目标oat文件。
S204、所述终端设备验证所述目标oat文件是否有效。
若是,则执行步骤S205。
若否,则执行步骤S211。
S205、所述终端设备加载所述目标oat文件。
S206、所述终端设备编译所述目标dex文件,得到所述目标oat文件。
S207、所述终端设备确定所述目标dex文件是否为主执行文件。
若是,则执行步骤S204。
若否,则执行步骤S208。
S208、所述终端设备检测所述目标dex文件是否存在编译记录。
若是,则执行步骤S209。
若否,则执行步骤S210。
S209、所述终端设备建立备份所述目标oat文件的硬链接文件,以及将所述目标oat文件存储于所述目标oat文件的硬链接文件中。
S210、所述终端设备控制所述目标dex文件对应的编译计数器加1。执行完步骤S210后,执行步骤S204。
S211、所述终端设备确定所述目标oat文件是否完整;
若否,则执行步骤S212。
若是,则执行步骤S206。
S212、所述终端设备确定所述目标dex文件未编译的目标数据,以及编译所述目标数据,得到目标编译数据;
S213、所述终端设备将所述目标编译数据添加至所述目标oat文件中。执行完步骤S213后,执行步骤S204。
需要说明的是,图2所示的各个步骤的具体实现方式可参见上述方法的具体实现方式,在此不再叙述。另外,执行完步骤S206执行步骤S207,也可以执行完步骤S206后执行步骤S204,也可以执行完步骤S206后执行步骤S205。此外,步骤S207用于确保目标dex文件不来自主执行文件(/data/app/目录,/data/app目录为应用程序的主执行文件目录,主执行文件不存在反复编译的可能),步骤S208进一步检查目标dex文件是否已经存在了编译的记录,如果已经存在一次编译记录,表示此次行为是二次编译,即符合反复编译的特征,步骤S210通过对目标dex文件对应的编译计数器进行加1以更新编译记录内容,以便于后续终端设备判断该目标dex文件是否被编译过,比如目标dex文件对应的编译计数器为0表示不被编译过,目标dex文件对应的编译计数器不为0表示被编译过。
本发明实施例还提供了一种信息处理装置300,如图3所示,包括:
检测模块301,用于当检测到应用的启动控制指令时,检测所述应用所依赖的目标dex文件对应的目标oat文件是否缺失;
所述检测模块301,还用于若所述目标oat文件缺失,检测是否存在备份的所述目标oat文件;
确定模块302,用于若存在备份的所述目标oat文件,确定备份所述目标oat文件的硬链接文件;
读取模块303,用于从所述硬链接文件中读取所述目标oat文件;
验证模块304,用于验证所述目标oat文件是否有效;
加载模块305,用于若所述目标oat文件有效,则加载所述目标oat文件。
可选地,图3所示的装置还包括:
编译模块306,用于若不存在备份的所述目标oat文件,编译所述目标dex文件,得到所述目标oat文件;
所述加载模块305,还用于加载所述目标oat文件;
备份模块307,用于建立所述目标oat文件的硬链接文件,以及将所述目标oat文件存储于所述目标oat文件的硬链接文件中。
可选地,验证模块304具体用于:
确定所述目标oat文件的偏移数组的数量与所述目标dex文件的数据类型的数量是否相同;
若所述目标oat文件的偏移数组的数量与所述目标dex文件的数据类型的数量相同,则确认所述目标oat文件有效;
若所述目标oat文件的偏移数组的数量与所述目标dex文件的数据类型的数量不相同,则确认所述目标oat文件无效。
可选地,确定模块302,还用于若所述目标oat文件无效,确定所述目标oat文件是否完整;
所述确定模块302,还用于若目标oat文件不完整,则确定所述目标dex文件未编译的目标数据;
所述编译模块306,还用于编译所述目标数据,得到目标编译数据;
所述装置还包括:
添加模块308,用于将所述目标编译数据添加至所述目标oat文件中;
所述加载模块305,还用于加载所述目标oat文件。
可选地,图3所示的装置还包括:
第一删除模块309,用于在所述应用更新或卸载后,将备份的所述目标oat文件从所述目标oat文件的硬链接文件中删除。
可选地,图3所示的装置还包括:
压缩模块,用于在所述应用更新或卸载后,将所述目标oat文件进行压缩,以得到压缩文件;
存储模块,用于将所述压缩文件存储至指定位置;
第二删除模块,用于若在预设时长内所述应用未重新安装时,将所述压缩 文件删除。
可选地,所述oat文件是通过dex2oat工具编译dex文件后的本地机器指令。
可选地,所述应用为终端设备安装的第三方应用,或者系统应用。
可选地,所述dex文件为Android Dalvik执行程序。
需要说明的是,上述各模块(检测模块301、确定模块302、读取模块303、验证模块304、加载模块305、编译模块306、备份模块307、添加模块308及第一删除模块309)用于执行上述图1-图2所述方法的相关步骤。
在本实施例中,信息处理装置300是以模块的形式来呈现。这里的“模块”可以指特定应用集成电路(application-specific integrated circuit,ASIC),执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。此外,以上检测模块301、确定模块302、读取模块303、验证模块304、加载模块305、编译模块306、备份模块307、添加模块308及删除模块309可通过图4所示的终端设备的处理器401来实现。
如图4所示,终端设备400可以以图4中的结构来实现,该终端设备400包括至少一个处理器401,至少一个存储器402、至少一个通信接口403、指纹识别模组404。所述处理器401、所述存储器402和所述通信接口403通过所述通信总线连接并完成相互间的通信。
处理器401可以是通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制以上方案程序执行的集成电路。
通信接口403,用于与其他设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(Wireless Local Area Networks,WLAN)等。
存储器402可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM) 或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。
其中,所述存储器402用于存储执行以上方案的应用程序代码,并由处理器401来控制执行。所述处理器401用于执行所述存储器402中存储的应用程序代码。
存储器402存储的代码可执行以上提供的终端设备执行的图1-图2的进程控制方法,比如当检测到应用的启动控制指令时,检测所述应用所依赖的目标dex文件对应的目标oat文件是否缺失;若所述目标oat文件缺失,检测是否存在备份的所述目标oat文件;若存在备份的所述目标oat文件,确定备份所述目标oat文件的硬链接文件,以及从所述硬链接文件中读取所述目标oat文件;验证所述目标oat文件是否有效;若所述目标oat文件有效,则加载所述目标oat文件。
本发明实施例还提供了一个更为具体的应用场景,如下:上述终端设备为手机,下面结合图5对手机的各个构成部件进行具体的介绍:
RF电路510可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器580处理;另外,将设计上行的数据发送给基站。通常,RF电路510包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路510还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。
存储器520可用于存储软件程序以及模块,处理器580通过运行存储在存储器520的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器520可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如文件编译功能,文件存储功能,文件验证功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如备份的目标oat文件等)等。此外,存储器520可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元530可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元530可包括触控面板531以及其他输入设备532。触控面板531,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板531上或在触控面板531附近的操作),并根据预先设定的程式驱动相应的连接装置。可选地,触控面板531可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器580,并能接收处理器580发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板531。除了触控面板531,输入单元530还可以包括其他输入设备532。具体地,其他输入设备532可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的至少一种。
显示单元540可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元540可包括显示面板541,可选地,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板541。进一步的,触控面板531可覆盖显示面板541,当触控面板531检测到在其上或附近的触摸操作后,传送给处理器580以确定触摸事件的类型,随后处理器580根据触摸事件的类型在显示面板541上提供相应的视觉输出。虽然在图5中,触控面板531与显示面板541是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例 中,可以将触控面板531与显示面板541集成而实现手机的输入和输出功能。
手机还可包括至少一种传感器550,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板541的亮度,接近传感器可在手机移动到耳边时,关闭显示面板541和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路560、扬声器561,传声器562可提供用户与手机之间的音频接口。音频电路560可将接收到的音频数据转换后的电信号,传输到扬声器561,由扬声器561转换为声音信号输出;另一方面,传声器562将收集的声音信号转换为电信号,由音频电路560接收后转换为音频数据,再将音频数据输出处理器580处理后,经RF电路510以发送给比如另一手机,或者将音频数据输出至存储器520以便进一步处理。
WiFi属于短距离无线传输技术,手机通过WiFi模块570可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了WiFi模块570,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器580是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器520内的软件程序和/或模块,以及调用存储在存储器520内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选地,处理器580可包括一个或多个处理单元;优选的,处理器580可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器580中。
手机还包括给各个部件供电的电源590(比如电池),优选的,电源可以通过电源管理系统与处理器580逻辑相连,从而通过电源管理系统实现管理充 电、放电、以及功耗管理等功能。
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。
前述实施例中,各步骤方法流程可以基于图5所示的终端设备的结构实现。
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种信息处理方法的部分或全部步骤。
本发明实施例还提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法中终端设备所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部 单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。
以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上上述,本说明书内容不应理解为对本发明的限制。

Claims (20)

  1. 一种信息处理方法,其特征在于,包括:
    当检测到应用的启动控制指令时,检测所述应用所依赖的目标dex文件对应的目标oat文件是否缺失;
    若所述目标oat文件缺失,检测是否存在备份的所述目标oat文件;
    若存在备份的所述目标oat文件,确定备份所述目标oat文件的硬链接文件,以及从所述硬链接文件中读取所述目标oat文件;
    验证所述目标oat文件是否有效;
    若所述目标oat文件有效,则加载所述目标oat文件。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    若不存在备份的所述目标oat文件,编译所述目标dex文件,得到所述目标oat文件,以及加载所述目标oat文件;
    建立备份所述目标oat文件的硬链接文件,以及将所述目标oat文件存储于所述目标oat文件的硬链接文件中。
  3. 根据权利要求1或2所述的方法,其特征在于,所述验证所述目标oat文件是否有效,包括:
    确定所述目标oat文件的偏移数组的数量与所述目标dex文件的数据类型的数量是否相同;
    若所述目标oat文件的偏移数组的数量与所述目标dex文件的数据类型的数量相同,则确认所述目标oat文件有效;
    若所述目标oat文件的偏移数组的数量与所述目标dex文件的数据类型的数量不相同,则确认所述目标oat文件无效。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:
    若所述目标oat文件无效,确定所述目标oat文件是否完整;
    若目标oat文件不完整,则确定所述目标dex文件未编译的目标数据,以及编译所述目标数据,得到目标编译数据;
    将所述目标编译数据添加至所述目标oat文件中,以及加载所述目标oat文件。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:
    在所述应用更新或卸载后,将备份的所述目标oat文件从所述目标oat文件的硬链接文件中删除。
  6. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:
    在所述应用更新或卸载后,将所述目标oat文件进行压缩,以得到压缩文件,以及将所述压缩文件存储至指定位置;
    若在预设时长内所述应用未重新安装时,将所述压缩文件删除。
  7. 根据权利要求1-6所述的方法,其特征在于,所述oat文件是通过dex2oat工具编译dex文件后的本地机器指令。
  8. 根据权利要求1-7所述的方法,其特征在于,所述应用为终端设备安装的第三方应用,或者系统应用。
  9. 根据权利要求1-8所述的方法,其特征在于,所述dex文件为AndroidDalvik执行程序。
  10. 一种信息处理装置,其特征在于,包括:
    检测模块,用于当检测到应用的启动控制指令时,检测所述应用所依赖的目标dex文件对应的目标oat文件是否缺失;
    所述检测模块,还用于若所述目标oat文件缺失,检测是否存在备份的所述目标oat文件;
    确定模块,用于若存在备份的所述目标oat文件,确定备份所述目标oat文件的硬链接文件;
    读取模块,用于从所述硬链接文件中读取所述目标oat文件;
    验证模块,用于验证所述目标oat文件是否有效;
    加载模块,用于若所述目标oat文件有效,则加载所述目标oat文件。
  11. 根据权利要求10所述的装置,其特征在于,所述装置还包括:
    编译模块,用于若不存在备份的所述目标oat文件,编译所述目标dex文件,得到所述目标oat文件;
    所述加载模块,还用于加载所述目标oat文件;
    备份模块,用于建立备份所述目标oat文件的硬链接文件,以及将所述目标oat文件存储于所述目标oat文件的硬链接文件中。
  12. 根据权利要求10或11所述的装置,其特征在于,所述验证模块具体用于:
    确定所述目标oat文件的偏移数组的数量与所述目标dex文件的数据类型的数量是否相同;
    若所述目标oat文件的偏移数组的数量与所述目标dex文件的数据类型的数量相同,则确认所述目标oat文件有效;
    若所述目标oat文件的偏移数组的数量与所述目标dex文件的数据类型的数量不相同,则确认所述目标oat文件无效。
  13. 根据权利要求10或12任一项所述的装置,其特征在于,
    所述确定模块,还用于若所述目标oat文件无效,确定所述目标oat文件是否完整;
    所述确定模块,还用于若目标oat文件不完整,则确定所述目标dex文件未编译的目标数据;
    所述编译模块,还用于编译所述目标数据,得到目标编译数据;
    所述终端设备还包括:
    添加模块,用于将所述目标编译数据添加至所述目标oat文件中;
    所述加载模块,还用于加载所述目标oat文件。
  14. 根据权利要求10-13任一项所述的装置,其特征在于,所述装置还包括:
    第一删除模块,用于在所述应用更新或卸载后,将备份的所述目标oat文件从所述目标oat文件的硬链接文件中删除。
  15. 根据权利要求10-13任一项所述的装置,其特征在于,所述装置还包括:
    压缩模块,用于在所述应用更新或卸载后,将所述目标oat文件进行压缩,以得到压缩文件;
    存储模块,用于将所述压缩文件存储至指定位置;
    第二删除模块,用于若在预设时长内所述应用未重新安装时,将所述压缩文件删除。
  16. 根据权利要求10-15任一项所述的装置,其特征在于,所述oat文件 是通过dex2oat工具编译dex文件后的本地机器指令。
  17. 根据权利要求10-16任一项所述的装置,其特征在于,所述应用为终端设备安装的第三方应用,或者系统应用。
  18. 根据权利要求10-17任一项所述的装置,其特征在于,所述dex文件为Android Dalvik执行程序。
  19. 一种终端设备,其特征在于,包括:
    存储有可执行程序代码的存储器;
    与所述存储器耦合的处理器;
    所述处理器调用所述存储器中存储的所述可执行程序代码,执行如权利要求1至9任一项所述的方法。
  20. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有程序,所述程序执行时包括如权利要求1-9任一项所述的方法。
PCT/CN2017/086562 2016-05-31 2017-05-31 信息处理方法及相关设备 WO2017206899A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP17805844.2A EP3401758B1 (en) 2016-05-31 2017-05-31 Information processing method and related device
US16/122,383 US11016860B2 (en) 2016-05-31 2018-09-05 Method for information processing and related device
US16/435,303 US10628271B2 (en) 2016-05-31 2019-06-07 Method for information processing and related device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610380681.8 2016-05-31
CN201610380681.8A CN106066686B (zh) 2016-05-31 2016-05-31 一种信息处理方法及终端设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/122,383 Continuation-In-Part US11016860B2 (en) 2016-05-31 2018-09-05 Method for information processing and related device

Publications (1)

Publication Number Publication Date
WO2017206899A1 true WO2017206899A1 (zh) 2017-12-07

Family

ID=57420363

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/086562 WO2017206899A1 (zh) 2016-05-31 2017-05-31 信息处理方法及相关设备

Country Status (4)

Country Link
US (2) US11016860B2 (zh)
EP (1) EP3401758B1 (zh)
CN (1) CN106066686B (zh)
WO (1) WO2017206899A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113467781A (zh) * 2021-06-30 2021-10-01 建信金融科技有限责任公司 一种冗余文件的确定方法、装置和设备

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106066686B (zh) * 2016-05-31 2019-02-05 Oppo广东移动通信有限公司 一种信息处理方法及终端设备
WO2018209843A1 (zh) * 2017-05-17 2018-11-22 华为技术有限公司 一种执行热补丁的方法、装置及终端
CN107423092A (zh) * 2017-07-20 2017-12-01 珠海市魅族科技有限公司 应用启动方法、装置、终端设备及存储介质
CN107423093B (zh) * 2017-07-21 2020-09-15 珠海市魅族科技有限公司 控制方法及装置、计算机装置和计算机可读存储介质
CN109062593B (zh) * 2018-07-20 2022-10-21 Oppo(重庆)智能科技有限公司 应用处理方法和装置、电子设备、计算机可读存储介质
CN112114889B (zh) * 2019-06-19 2024-03-01 Oppo广东移动通信有限公司 信息处理方法和装置、及存储介质
CN110688175A (zh) * 2019-10-09 2020-01-14 网易(杭州)网络有限公司 文件加载的方法、装置、终端设备和存储介质
CN112612413B (zh) * 2020-12-04 2023-02-21 海光信息技术股份有限公司 一种版本管理文件缓存方法、装置、系统和相关设备
CN112579206B (zh) * 2020-12-24 2023-03-28 青岛海信移动通信技术股份有限公司 应用启动性能优化方法及终端设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020112158A1 (en) * 2001-02-14 2002-08-15 Golchikov Andrey Vladimirovich Executable file protection
CN103914654A (zh) * 2013-12-25 2014-07-09 武汉安天信息技术有限责任公司 一种对Android ART运行时代码进行恶意代码检测的方法及系统
CN104965712A (zh) * 2015-07-17 2015-10-07 北京奇虎科技有限公司 应用程序加固保护方法、装置及移动终端
CN105303072A (zh) * 2015-10-26 2016-02-03 李晖 基于art模式的软件加固方法及装置
CN106066686A (zh) * 2016-05-31 2016-11-02 广东欧珀移动通信有限公司 一种信息处理方法及终端设备

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040123278A1 (en) * 2002-12-23 2004-06-24 Murthi Nanja Persistent cache apparatus and methods
US8423573B2 (en) * 2004-11-12 2013-04-16 International Business Machines Corporation Filesystem backup using directorywise hardlinking for a computer filesystem
US8082227B2 (en) * 2006-10-10 2011-12-20 Emc Corporation Session sensitive data backups and restores
AT504798B1 (de) * 2007-10-24 2008-08-15 Data Noah Gmbh Verfahren und vorrichtung zur selbsttätigen erstellung von sicherungskopien
US9037620B2 (en) * 2009-12-16 2015-05-19 Microsoft Technology Licensing, Llc File system active symbolic link
US8959495B2 (en) * 2012-09-14 2015-02-17 Oracle International Corporation Unifying static and dynamic compiler optimizations in source-code bases
KR20140105343A (ko) 2013-02-22 2014-09-01 삼성전자주식회사 디바이스 및 디바이스에서 복수의 모드를 이용한 데이터의 보안 방법
US9558096B2 (en) * 2014-03-21 2017-01-31 Marvell World Trade Ltd. Method and apparatus for supporting performance analysis
US9626254B2 (en) * 2014-06-26 2017-04-18 Hewlett Packard Enterprise Development Lp Backup and non-staged recovery of virtual environment data
EP3026558A1 (en) * 2014-11-28 2016-06-01 Thomson Licensing Method and device for providing verifying application integrity
EP3026557A1 (en) 2014-11-28 2016-06-01 Thomson Licensing Method and device for providing verifying application integrity
KR101740134B1 (ko) * 2015-08-10 2017-05-26 라인 가부시키가이샤 어플리케이션의 코드 난독화를 위한 시스템 및 방법
CN105278989B (zh) * 2015-10-12 2018-04-06 北京顶象技术有限公司 Apk文件的快速加载方法
CN105468428B (zh) 2015-12-04 2018-07-06 上海斐讯数据通信技术有限公司 一种安卓源代码编译方法及系统
US10296323B2 (en) * 2016-02-02 2019-05-21 ZeroTurnaround AS System and method for fast initial and incremental deployment of apps
KR101832594B1 (ko) * 2016-02-18 2018-02-26 라인 가부시키가이샤 중간 언어 파일의 로딩 속도 개선을 위한 방법 및 시스템
US20170269950A1 (en) * 2016-03-15 2017-09-21 Mediatek Inc. Selective execution of ahead-of-time compiled code
CN107872497A (zh) * 2016-09-28 2018-04-03 清华大学 透明计算终端应用程序同步共享方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020112158A1 (en) * 2001-02-14 2002-08-15 Golchikov Andrey Vladimirovich Executable file protection
CN103914654A (zh) * 2013-12-25 2014-07-09 武汉安天信息技术有限责任公司 一种对Android ART运行时代码进行恶意代码检测的方法及系统
CN104965712A (zh) * 2015-07-17 2015-10-07 北京奇虎科技有限公司 应用程序加固保护方法、装置及移动终端
CN105303072A (zh) * 2015-10-26 2016-02-03 李晖 基于art模式的软件加固方法及装置
CN106066686A (zh) * 2016-05-31 2016-11-02 广东欧珀移动通信有限公司 一种信息处理方法及终端设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3401758A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113467781A (zh) * 2021-06-30 2021-10-01 建信金融科技有限责任公司 一种冗余文件的确定方法、装置和设备
CN113467781B (zh) * 2021-06-30 2023-02-21 建信金融科技有限责任公司 一种冗余文件的确定方法、装置和设备

Also Published As

Publication number Publication date
EP3401758A1 (en) 2018-11-14
CN106066686B (zh) 2019-02-05
CN106066686A (zh) 2016-11-02
US20180365113A1 (en) 2018-12-20
EP3401758A4 (en) 2019-03-13
US20190294510A1 (en) 2019-09-26
EP3401758B1 (en) 2021-03-24
US10628271B2 (en) 2020-04-21
US11016860B2 (en) 2021-05-25

Similar Documents

Publication Publication Date Title
WO2017206899A1 (zh) 信息处理方法及相关设备
CN106598584B (zh) 一种处理资源文件的方法、装置和系统
WO2015154670A1 (en) Method and apparatus for invoking application programming interface
CN106502703B (zh) 一种函数调用方法和装置
US20150169874A1 (en) Method, device, and system for identifying script virus
KR20200140555A (ko) 전자 장치 및 전자 장치의 듀얼 스탠바이 모드 및 싱글 스탠바이 모드의 전환 방법
WO2017215635A1 (zh) 一种音效处理方法及移动终端
WO2018049903A1 (zh) 数据迁移方法及相关设备
WO2018049900A1 (zh) 数据迁移方法及相关设备
EP2869604B1 (en) Method, apparatus and device for processing a mobile terminal resource
CN108090345B (zh) linux系统外部命令执行方法及装置
WO2018049905A1 (zh) 数据迁移方法及相关设备
WO2018049904A1 (zh) 数据迁移方法及相关设备
TWI494755B (zh) 軟體修復方法和裝置及電腦可讀取存儲元件
CN110046497B (zh) 一种函数挂钩实现方法、装置和存储介质
CN107766222B (zh) 黑屏检测方法、移动终端及计算机可读存储介质
CN109144596B (zh) 快捷启动方法、装置、终端、服务器及系统
WO2018049902A1 (zh) 数据迁移方法及相关设备
WO2018049901A1 (zh) 数据迁移方法及相关设备
CN106095423B (zh) 提供浏览服务的方法、终端及服务器
EP3129883B1 (en) Method and apparatus for repairing dynamic link library file
WO2018058436A1 (zh) 一种加载软件程序的方法、用户终端及存储介质
CN105278942B (zh) 组件管理方法及装置
US11150913B2 (en) Method, device, and terminal for accelerating startup of application
WO2017215663A1 (zh) 一种音效处理的方法及终端

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2017805844

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2017805844

Country of ref document: EP

Effective date: 20180809

NENP Non-entry into the national phase

Ref country code: DE