CN115543468A - dex2oat process loading method, process loading device and storage medium - Google Patents

dex2oat process loading method, process loading device and storage medium Download PDF

Info

Publication number
CN115543468A
CN115543468A CN202110726507.5A CN202110726507A CN115543468A CN 115543468 A CN115543468 A CN 115543468A CN 202110726507 A CN202110726507 A CN 202110726507A CN 115543468 A CN115543468 A CN 115543468A
Authority
CN
China
Prior art keywords
dex2oat
loading
terminal
electric quantity
charging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110726507.5A
Other languages
Chinese (zh)
Inventor
任行
孙长宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110726507.5A priority Critical patent/CN115543468A/en
Publication of CN115543468A publication Critical patent/CN115543468A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for 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/45508Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The disclosure relates to a dex2oat process loading method, a process loading device and a storage medium. A dex2oat process loading method is applied to a terminal, and the dex2oat process loading method comprises the following steps: and responding to the first charging after the terminal system is updated, and determining the initial electric quantity before charging. And loading the dex2oat process based on the initial electric quantity. By the dex2 at process loading method provided by the disclosure, the time for loading the dex2 at process can be controlled based on the initial electric quantity during charging, so that the dex2 at process is loaded, and the influence on the charging of the terminal during the loading of the dex2 at process is reduced or reduced, so that the aim of not influencing the charging speed while the dex2 at process is carried out is fulfilled.

Description

dex2oat process loading method, process loading device and storage medium
Technical Field
The present disclosure relates to the field of terminal control technologies, and in particular, to a dex2oat process loading method, a process loading apparatus, and a storage medium.
Background
The dex2oat process is an inherent process in the android system, which is only performed when the system is charged for the first time after being updated (including app update), and is used for compiling java (a computer programming language) byte codes into machine codes in advance, so that the execution speed of java is increased, the execution efficiency is improved by 10% to 30%, the execution efficiency of the system after being updated is improved, and the process is a beneficial process for improving the execution efficiency of the system. However, the dex2 at process is a process with high power consumption, and when the dex2 at process is performed in a process that the terminal is charged by using a large current, temperature rise of charging is also superposed besides heat caused by high power consumption due to the process operation, so that the temperature of the terminal in the charging process exceeds the standard, the charging current is reduced, and the charging speed is affected.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a dex2oat process loading method, a process loading apparatus, and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a dex2 at process loading method, which is applied to a terminal, where the dex2 at process loading method includes: and responding to the first charging after the terminal system is updated, and determining the initial electric quantity before charging. And loading the dex2oat process based on the initial electric quantity.
In an embodiment, the loading of the dex2oat process based on the initial power amount includes: and responding to the condition that the initial electric quantity is larger than or equal to a first electric quantity threshold value, and loading a dex2oat process after the terminal is charged to a first time. The first time is less than or equal to a set time threshold.
In another embodiment, the loading of the dex2oat process based on the initial power amount includes: and if the initial electric quantity of the terminal is smaller than a first electric quantity threshold value, loading a dex2oat process based on the current state information of the terminal. The status information includes at least one of: the current charge, temperature or charging current of the terminal.
In another embodiment, the loading of the dex2oat process based on the current state information of the terminal includes: and loading the dex2oat process in response to monitoring that the current electric quantity of the terminal is greater than or equal to a second electric quantity threshold value.
In another embodiment, the loading of the dex2oat process based on the current state information of the terminal includes: and loading the dex2oat process in response to the fact that the temperature of the terminal falls back and the temperature after falling is less than or equal to a first temperature threshold value.
In another embodiment, the loading of the dex2oat process based on the current state information of the terminal includes: and loading the dex2oat process in response to monitoring that the charging current of the terminal is reduced and when the reduced charging current is detected to be less than or equal to a first current threshold value.
According to a second aspect of the embodiments of the present disclosure, there is provided a dex2 at process loading apparatus, which is applied to a terminal, where the dex2 at process loading apparatus includes: and the determining unit is used for responding to the first charging after the updating of the terminal system is completed and determining the initial electric quantity before the charging. And the execution unit is used for loading the dex2oat process based on the initial electric quantity.
In an embodiment, the execution unit loads the dex2oat process based on the initial power amount in the following manner: and in response to the initial electric quantity being larger than or equal to a first electric quantity threshold value, loading a dex2oat process after the terminal is charged to a first time. The first time is less than or equal to a set time threshold.
In another embodiment, the execution unit performs loading of a dex2oat process based on the initial power amount in the following manner: and if the initial electric quantity of the terminal is smaller than a first electric quantity threshold value, loading a dex2oat process based on the current state information of the terminal. The status information includes at least one of: the current charge, temperature or charging current of the terminal.
In another embodiment, the execution unit loads the dex2oat process based on the current state information of the terminal in the following manner: and loading the dex2oat process in response to the fact that the current electric quantity of the terminal is monitored to be larger than or equal to a second electric quantity threshold value.
In another embodiment, the execution unit loads the dex2oat process based on the current state information of the terminal in the following manner: and in response to the fact that the temperature of the terminal is monitored to be reduced, and when the reduced temperature is detected to be smaller than or equal to a first temperature threshold value, loading the dex2oat process.
In another embodiment, the execution unit performs loading of a dex2oat process based on the current state information of the terminal in the following manner: and loading the dex2oat process in response to the fact that the charging current of the terminal is monitored to be reduced and the reduced charging current is smaller than or equal to a first current threshold value.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: after the terminal system is updated, and when the terminal system is charged for the first time, the time for loading the dex2 at process can be controlled based on the initial electric quantity during charging, so that the dex2 at process is loaded, and the influence on charging the terminal during loading the dex2 at process is reduced or reduced, so that the aim of not influencing the charging speed while the dex2 at process is performed is fulfilled.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow diagram illustrating a method for loading a dex2oat process according to an example embodiment.
Fig. 2 is a flow diagram illustrating another method of dex2oat process loading, in accordance with an exemplary embodiment.
Fig. 3 is a block diagram illustrating a dex2oat process loading apparatus, according to an example embodiment.
Fig. 4 is a block diagram illustrating another dex2oat process loading apparatus, according to an example embodiment.
Fig. 5 is a block diagram illustrating yet another dex2oat process loading apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the disclosure, as detailed in the appended claims.
The dex2 at process is an inherent process in the android system that will only be done the first time the system is charged after an update (including an app update). In the related art, performing the dex2oat process is triggered by default after charging to a specified time, for example: 30 th minute or 71 th minute after charging. In the charging process, a long charging time is needed to be waited for before loading the dex2oat process. However, the dex2oat process is a process with relatively high power consumption, and when the dex2oat process is performed in a process that the terminal is charged by adopting a large current, the temperature rise of the superimposed charging can cause the temperature of the terminal to exceed the standard in the charging process, so that the charging current is reduced, and the charging speed is influenced.
In view of this, the present disclosure provides a dex2 at process loading method, which can control a time for loading a dex2 at process based on an initial electric quantity during charging when a terminal system is charged for the first time after being updated, so as to load the dex2 at process, reduce or reduce an influence on charging of the terminal during loading of the dex2 at process, and thereby achieve a purpose of not influencing a charging speed while performing the dex2 at process.
In an embodiment, the dex2 at process loading method provided by the present disclosure can be applied to any terminal capable of loading a dex2 at process. In one example, the category of terminals may include mobile terminals, such as: the mobile phone comprises a mobile phone, a tablet, an intelligent television, an intelligent sound box with a screen, an intelligent watch with a screen, an ipod and the like. In another example, the structure of the terminal may include: a dual-screen terminal, a folding screen terminal, a full-screen terminal, etc.
Fig. 1 is a flow diagram illustrating a method of dex2oat process loading in accordance with an exemplary embodiment. As shown in fig. 1, the dex2oat process loading method is used in a terminal and includes the following steps S11 to S12.
In step S11, in response to the first charging after the update of the terminal system is completed, the initial amount of power before charging is determined.
In the embodiment of the present disclosure, based on the foregoing, the dex2oat process is a process with higher power consumption. When the dex2 at process is performed, the temperature of the terminal rises, and the temperature of the terminal also rises when the terminal is charged, and the temperature after the superimposition is too high, which easily affects the magnitude of the charging current and the charging speed. Therefore, in order to avoid that the charging current for charging the terminal is affected after the temperature generated by the dex2oat process and the temperature generated during charging are superposed, before charging, the initial electric quantity of the terminal is determined, so as to judge whether the terminal needs to be charged by adopting larger charging power or larger charging current to meet the self power supply requirement of the terminal during charging in advance, further stagger the period that the heat generated by the terminal during charging is the highest, and select a proper time to load the dex2oat process, thereby not affecting the charging speed of the terminal during the loading of the dex2oat process.
For example: if the initial electric quantity of the terminal is 5% of the total electric quantity required by the terminal, the terminal is represented to be in a condition of extremely needing charging at the moment. When charging, a large charging current or a large charging power is required for charging so that the terminal can complete charging quickly. Therefore, in this case, the timing at which the amount of heat generated by the terminal during charging is the highest is shifted. If the initial power of the terminal is 90% of the total power required by the terminal, it represents that the power of the terminal is not fully charged at this time, but the normal operation of the terminal can be maintained. In the case of charging, charging may be performed with a small charging current or a small charging power. Therefore, in this case, to ensure the trigger probability of the dex2oat process, the loading of the dex2oat process may be performed after the charging for a while.
In step S12, based on the initial amount of power, loading of the dex2oat process is performed.
Through the embodiment, the time for loading the dex2 at process can be determined based on the initial electric quantity of the terminal, and the dex2 at process is further loaded, so that the aim of not influencing the charging speed while the dex2 at process is carried out is fulfilled.
In an embodiment, the loading of the dex2oat process is performed based on the initial power amount, which may be determined based on a relationship between the initial power amount and the first power amount threshold. The first electric quantity threshold value can be understood as the lowest electric quantity which can be loaded by the terminal in the dex2oat process while meeting the self power supply requirement. If the initial electric quantity is larger than or equal to the first electric quantity threshold value, the electric quantity of the characterization terminal can meet the power supply requirement of the characterization terminal, and the dex2oat process can be loaded. If the initial electric quantity is smaller than the first electric quantity threshold value, the electric quantity of the representation terminal cannot be loaded in a dex2oat process while meeting the power supply requirement of the representation terminal, and rapid charging needs to be preferentially carried out.
Before the loading of the dex2oat process is carried out, if the initial electric quantity of the terminal is determined to be larger than or equal to the first electric quantity threshold value, the electric quantity representing the terminal can meet the power supply requirement of the terminal, and the dex2oat process can be loaded. Furthermore, the charging technology based on the rapid charging protocol is constantly and stably developed, the charging time of the terminal is gradually shortened, and then the user can select to charge for a period of time and then stop charging. For example: when the mobile phone is fully charged, 2 hours are needed, but the electric quantity required by the user can be reached after charging for 50 minutes, the user can select to charge for 50 minutes. Therefore, to increase the trigger probability for loading the dex2oat process, the dex2oat process can be loaded after the terminal is charged to the first time. To ensure the dex2oat process is performed smoothly, the first time may be less than or equal to the set time threshold. The set time threshold may be understood as a time when the terminal is in a charging state and can smoothly perform dex2oat process loading. The set time threshold may be determined empirically by the developer. For example: according to data statistics, when a user charges a terminal, the time is generally more than 30 minutes and 30 minutes, and when the set time threshold is set, in order to ensure that a dex2oat process can be triggered and the loading is completed, the set time threshold is determined to be within less than 20 minutes. For example: the set time threshold may be 10 minutes, that is, in response to the initial charge of the terminal being greater than or equal to the first charge threshold, the dex2oat process is loaded 10 minutes after the terminal is charged.
Before loading the dex2oat process, if the initial electric quantity of the terminal is determined to be smaller than a first electric quantity threshold value, the electric quantity of the terminal cannot meet the power supply requirement of the terminal, and meanwhile, the dex2oat process is loaded, and rapid charging needs to be preferentially carried out. Therefore, under the condition that the initial electric quantity is smaller than the first electric quantity threshold value, the time for loading the dex2oat process can be determined based on the current state information of the terminal, and the dex2oat process can be loaded reasonably. Wherein the status information may include at least one of: the current charge, temperature or charging current of the terminal.
The following embodiment will specifically describe a process of loading a dex2oat process based on the current state information of the terminal in the case that the initial power amount of the terminal is less than the first power amount threshold.
In an embodiment, when the load of the dex2oat process is performed based on the current electric quantity of the terminal, the current electric quantity of the terminal may be compared with the second electric quantity threshold, so as to determine whether to perform the load of the dex2oat process. The second power threshold may be understood as the power of the terminal that is converted from the power that is extremely needed for fast charging to the power that can meet the power requirement of the terminal. The second charge threshold may be determined empirically by a developer. The second power threshold is greater than the first power threshold. In one example, the second charge threshold may be between 80% and 99% of the charge required by the terminal. Therefore, when the initial electric quantity of the terminal is smaller than the first electric quantity threshold value, the terminal is charged preferentially, and the current electric quantity of the terminal is monitored. If the current electric quantity of the terminal is monitored to be larger than or equal to the second electric quantity threshold value, the current electric quantity of the terminal is represented to meet the power supply requirement of the terminal, and then the dex2oat process can be loaded at the moment. In one example, if it is monitored that the current electric quantity of the terminal is smaller than the second electric quantity threshold, the representation still needs to preferentially charge the terminal, and the dex2oat process is not loaded until it is monitored that the electric quantity of the terminal is larger than or equal to the second electric quantity threshold.
In another embodiment, based on the preamble, the dex2oat process is a process with higher power consumption. When the dex2oat process is performed, the temperature of the terminal rises, and the temperature of the terminal also rises when the terminal is charged, so that the temperature after superposition is too high, the temperature exceeds the standard, the magnitude of the charging current is easily influenced, and the charging speed is influenced. Therefore, in order to avoid the influence of the temperature generated by the dex2oat process and the temperature generated during charging on the charging speed after superposition, the temperature of the terminal is monitored under the condition that the initial electric quantity of the terminal is determined to be smaller than the first electric quantity threshold value. And if the terminal temperature is monitored to be reduced, and when the reduced temperature is detected to be less than or equal to the first temperature threshold value, loading a dex2oat process. The first temperature threshold is understood to be a temperature that does not affect the charging current for charging the terminal after being superimposed with the temperature generated by performing the dex2 at process. Therefore, when the temperature of the terminal is monitored to be reduced and the reduced temperature is less than or equal to the first temperature threshold, the dex2oat process is loaded, so that the dex2oat process can be ensured to be smoothly carried out, and the superposed temperature does not influence the use safety of the terminal, so that the charging speed of the terminal is not influenced when the dex2oat process is loaded.
In one example, if the temperature of the terminal is decreased, but the detected temperature is greater than the first temperature threshold, the temperature generated during the terminal charging is too high, and if the dex2oat process is loaded at this time, the temperature after the superposition is too high, which may affect the use safety of the terminal. Therefore, in order to ensure the use safety of the user, the load of the dex2oat process is not carried out.
In another example, if the temperature of the terminal is not decreased, it indicates that the temperature generated during the charging of the terminal is still in the rise period. If the dex2oat process is loaded at this time, the use safety of the terminal is easily affected in the loading process, so that the dex2oat process is not loaded, the normal charging of the terminal is further ensured, and the use safety of a user is not affected.
In yet another embodiment, the first temperature threshold may be determined based on the terminal being in a poorly charged test environment. In a test environment with poor charging, the lower the electric quantity of the terminal is, the larger the charging electric quantity required by the terminal is, and the faster the temperature of the terminal rises. Therefore, the first temperature threshold determined in the test environment with poor charging can ensure that the charging speed and the charging temperature are not affected when the dex2oat process is loaded based on the first temperature threshold. In one example, the temperature rise state of the terminal when performing the test is the same as the temperature rise state of the terminal when charging at the first voltage threshold.
In yet another embodiment, in the case where it is determined that the terminal initial charge amount is less than the first charge amount threshold, it is required to prioritize the rapid charging. Therefore, when the loading of the dex2oat procedure is performed based on the charging current, the determination can be made based on the current variation of the charging current. When the terminal is charged quickly, the terminal needs to be charged by adopting the maximum charging current or charging power which can be supported by the terminal, so that the terminal can be ensured to finish charging quickly. However, when the electric quantity of the terminal meets a certain electric quantity, in order to guarantee the service life of the terminal battery, the charging current can be reduced, and a small amount of charging current is adopted for charging, so that the use safety of the battery is ensured while the charging requirement is met. Thus, to determine the timing of loading the dex2oat process, the charging current of the terminal can be monitored. And loading a dex2oat process when the charging current of the terminal is monitored to be reduced and the reduced charging current is less than or equal to a first current threshold. The first current threshold is the maximum current at which the terminal can be slowly charged. In one example, when the terminal is charged by using a charging current smaller than or equal to the first current threshold, the temperature generated during the terminal charging is superposed with the temperature generated during the dex2oat process loading, so that the temperature does not exceed the standard, and the use safety of the terminal is further affected.
In yet another embodiment, in case it is determined that the terminal initial power amount is less than the first power amount threshold, the loading of the dex2oat procedure can be performed based on the current power amount, temperature, and charging current of the terminal. When the charging electric quantity of the terminal is monitored to be larger than or equal to the second electric quantity threshold value, the temperature of the terminal is reduced, and the charging current is also reduced, so that when the reduced temperature is detected to be smaller than or equal to the first temperature threshold value, and the reduced charging current is smaller than or equal to the first current threshold value, a dex2oat process is loaded. For example: the initial electric quantity is 8% of the electric quantity required by the terminal, the first electric quantity threshold value is 10% of the electric quantity required by the terminal, and the second electric quantity threshold value is 99% of the electric quantity required by the terminal. And monitoring the charging electric quantity of the terminal, and when the charging electric quantity of the terminal is 99% of the electric quantity required by the terminal and the temperature of the terminal is lower than a first temperature threshold value at the moment, and the charging current after the temperature is lower than or equal to the first current threshold value, loading a dex2oat process.
In an implementation scenario, the loading process of the dex2oat process may be as shown in fig. 2. FIG. 2 is a flow diagram illustrating another method of process loading in accordance with an illustrative embodiment.
In step S21, the first charging is performed in response to completion of the terminal system update.
In step S22, the initial amount of power before charging is determined.
In step S23, it is determined whether the initial power amount is greater than or equal to a first power amount threshold (10% of the power amount required by the terminal).
In step S241, in response to the initial charge amount being greater than or equal to the first charge amount threshold, a dex2oat process is loaded after the terminal is charged to the first time (10 minutes).
In step S242, in response to the initial power of the terminal being less than the first power threshold, the current power of the terminal is monitored to be charged to a second power threshold (99% of the power required by the terminal), and a dex2oat process is loaded.
Based on the same conception, the embodiment of the disclosure also provides a dex2oat process loading device applied to the terminal.
It is understood that, in order to implement the above functions, the process loading apparatus provided in the embodiments of the present disclosure includes a hardware structure and/or a software module for performing each function. The disclosed embodiments can be implemented in hardware or a combination of hardware and computer software, in combination with the exemplary elements and algorithm steps disclosed in the disclosed embodiments. Whether a function is performed in hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
FIG. 3 is a block diagram illustrating a process loading apparatus in accordance with an illustrative embodiment. Referring to fig. 3, the dex2oat process loading apparatus 100 includes: a determination unit 101 and an execution unit 102.
The determining unit 101 is configured to perform first charging after the terminal system is updated, and determine an initial electric quantity before charging.
And the execution unit 102 is configured to perform loading of a dex2oat process based on the initial power amount.
In an embodiment, the execution unit 102 performs loading of the dex2oat process based on the initial power amount in the following manner: and in response to the initial electric quantity being larger than or equal to the first electric quantity threshold value, loading a dex2oat process after the terminal is charged to the first time. The first time is less than or equal to a set time threshold.
In another embodiment, the execution unit 102 performs loading of the dex2oat process based on the initial power amount in the following manner: and if the initial electric quantity of the terminal is smaller than the first electric quantity threshold value, loading a dex2oat process based on the current state information of the terminal. The status information includes at least one of: the current charge, temperature or charging current of the terminal.
In another embodiment, the execution unit 102 performs loading of the dex2oat process based on the current state information of the terminal in the following manner: and loading a dex2oat process in response to monitoring that the current electric quantity of the terminal is greater than or equal to a second electric quantity threshold value.
In another embodiment, the execution unit 102 performs loading of the dex2oat process based on the current state information of the terminal in the following manner: and loading a dex2oat process in response to the fact that the temperature of the terminal is monitored to be reduced and when the reduced temperature is detected to be smaller than or equal to a first temperature threshold value.
In another embodiment, the execution unit 102 performs loading of the dex2oat process based on the current state information of the terminal in the following manner: and loading a dex2oat process in response to the fact that the charging current of the terminal is monitored to be reduced and the reduced charging current is smaller than or equal to a first current threshold value.
With regard to the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
Fig. 4 is a block diagram illustrating another dex2oat process loading apparatus, according to an example embodiment. For example, the dex2oat process loading apparatus 200 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 4, the dex2oat process loading apparatus 200 may include one or more of the following components: a processing component 202, a memory 204, a power component 206, a multimedia component 208, an audio component 210, an input/output (I/O) interface 212, a sensor component 214, and a communication component 216.
The processing component 202 generally controls the overall operation of the dex2oat process loading device 200, such as operations associated with display, phone call, data communication, camera operation and recording operation. The processing component 202 may include one or more processors 220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 202 can include one or more modules that facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
The memory 204 is configured to store various types of data to support the operation of the process loading apparatus 200 at dex2 oat. Examples of such data include instructions for any application or method operating on the dex2oat process loader 200, contact data, phonebook data, messages, pictures, videos, and the like. The memory 204 may be implemented by any type or combination of volatile or non-volatile storage devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 206 provides power to the various components of the dex2oat process loader 200. The power components 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the dex2oat process loader 200.
The multimedia component 208 includes a screen between the dex2oat process loading apparatus 200 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front facing camera and/or a rear facing camera. When the dex2oat process loading apparatus 200 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 210 is configured to output and/or input audio signals. For example, the audio component 210 includes a Microphone (MIC) configured to receive an external audio signal when the dex2oat process loading apparatus 200 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 204 or transmitted via the communication component 216. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.
The I/O interface 212 provides an interface between the processing component 202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 214 includes one or more sensors for providing various aspects of state assessment for the dex2oat process loading apparatus 200. For example, the sensor component 214 can detect the open/closed state of the dex2oat process loader 200, the relative positioning of components, such as a display and keypad of the dex2oat process loader 200, the sensor component 214 can also detect a change in position of the dex2oat process loader 200 or a component of the dex2oat process loader 200, the presence or absence of user contact with the dex2oat process loader 200, the orientation or acceleration/deceleration of the dex2oat process loader 200, and a change in temperature of the dex2oat process loader 200. The sensor assembly 214 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 216 is configured to facilitate wired or wireless communication between the dex2oat process loading apparatus 200 and other devices. The dex2oat process loading device 200 can access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the dex2 at process loading apparatus 200 can be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components, for performing any one of the above-mentioned dex2 at process loading methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 204 comprising instructions, executable by the processor 220 of the dex2oat process loading apparatus 200 to perform the above method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 5 is a block diagram illustrating yet another dex2oat process loading apparatus in accordance with an example embodiment. For example, the dex2oat process loading apparatus 300 can be provided as a server. Referring to fig. 5, the dex2oat process loading apparatus 300 includes a processing component 322 that further includes one or more processors and memory resources, represented by memory 332, for storing instructions, such as applications, that are executable by the processing component 322. The application programs stored in memory 332 may include one or more modules that each correspond to a set of instructions. Further, the processing component 322 is configured to execute instructions to perform any of the dex2oat process loading methods described above.
The dex2 at process loading apparatus 300 can further comprise a power component 326 configured to perform power management of the dex2 at process loading apparatus 300, a wired or wireless network interface 350 configured to connect the dex2 at process loading apparatus 300 to a network, and an input/output (I/O) interface 358. The dex2oat process loading device 300 may operate based on an operating system stored in memory 332, such as Windows Server, macOSXTM, unixTM, linuxTM, freeBSDTM, or the like.
It is further understood that the use of "a plurality" in this disclosure means two or more, as other terms are analogous. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. The singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It will be further understood that the terms "first," "second," and the like are used to describe various information and that such information should not be limited by these terms. These terms are only used to distinguish one type of information from another and do not denote a particular order or importance. Indeed, the terms "first," "second," and the like are fully interchangeable. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure.
It will be further understood that, unless otherwise specified, "connected" includes direct connections between the two without the presence of other elements, as well as indirect connections between the two with the presence of other elements.
It is further to be understood that while operations are depicted in the drawings in a particular order, this is not to be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice in the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the scope of the appended claims.

Claims (14)

1. A dex2oat process loading method is applied to a terminal, and is characterized in that the dex2oat process loading method comprises the following steps:
performing first charging after the terminal system is updated, and determining initial electric quantity before charging;
and loading the dex2oat process based on the initial electric quantity.
2. The dex2 at process loading method according to claim 1, wherein the loading of the dex2 at process based on the initial electric quantity comprises:
responding to the fact that the initial electric quantity is larger than or equal to a first electric quantity threshold value, and loading a dex2oat process after the terminal is charged to a first time;
the first time is less than or equal to a set time threshold.
3. The dex2 at process loading method according to claim 1, wherein the loading of the dex2 at process based on the initial electric quantity comprises:
if the initial electric quantity of the terminal is smaller than a first electric quantity threshold value, loading a dex2oat process based on the current state information of the terminal;
the status information includes at least one of: the current charge, temperature or charging current of the terminal.
4. The method for loading the dex2oat process according to claim 3, wherein the loading of the dex2oat process based on the current state information of the terminal comprises:
and loading the dex2oat process in response to the fact that the current electric quantity of the terminal is monitored to be larger than or equal to a second electric quantity threshold value.
5. The dex2 at process loading method according to claim 3 or 4, wherein the loading of the dex2 at process based on the current state information of the terminal comprises:
and in response to the fact that the temperature of the terminal is monitored to be reduced, and when the reduced temperature is detected to be smaller than or equal to a first temperature threshold value, loading the dex2oat process.
6. The method for loading the dex2oat process according to claim 3, wherein the loading of the dex2oat process based on the current state information of the terminal comprises:
and loading the dex2oat process in response to the fact that the charging current of the terminal is monitored to be reduced and the reduced charging current is smaller than or equal to a first current threshold value.
7. The device for loading the dex2oat process is applied to a terminal, and the device for loading the dex2oat process comprises the following steps:
the determining unit is used for responding to the first charging after the terminal system is updated, and determining the initial electric quantity before charging;
and the execution unit is used for loading the dex2oat process based on the initial electric quantity.
8. The dex2 at process loading device according to claim 7, wherein the execution unit is configured to load a dex2 at process based on the initial power amount in the following manner:
responding to the fact that the initial electric quantity is larger than or equal to a first electric quantity threshold value, and loading a dex2oat process after the terminal is charged to a first time;
the first time is less than or equal to a set time threshold.
9. The dex2 at process loading device according to claim 7, wherein the execution unit is configured to load a dex2 at process based on the initial power amount in the following manner:
if the initial electric quantity of the terminal is smaller than a first electric quantity threshold value, loading a dex2oat process based on the current state information of the terminal;
the status information includes at least one of: the current charge, temperature or charging current of the terminal.
10. The dex2oat process loading device according to claim 9, wherein the executing unit is configured to load the dex2oat process based on the current state information of the terminal in the following manner:
and loading the dex2oat process in response to monitoring that the current electric quantity of the terminal is greater than or equal to a second electric quantity threshold value.
11. The dex2oat process loading device according to claim 9 or 10, wherein the execution unit is configured to perform loading of a dex2oat process based on the current state information of the terminal in the following manner:
and loading the dex2oat process in response to the fact that the temperature of the terminal is monitored to be reduced and when the reduced temperature is detected to be smaller than or equal to a first temperature threshold value.
12. The dex2oat process loading device of claim 9, wherein the execution unit is configured to perform loading of a dex2oat process based on the current state information of the terminal in the following manner:
and loading the dex2oat process in response to the fact that the charging current of the terminal is monitored to be reduced and the reduced charging current is smaller than or equal to a first current threshold value.
13. An electronic device, characterized in that the electronic device comprises:
a memory to store instructions; and
a processor for invoking said memory-stored instructions to perform the dex2oat process loading method of any of claims 1-6.
14. A computer readable storage medium having stored therein instructions which, when executed by a processor, perform the dex2oat process loading method according to any of claims 1-6.
CN202110726507.5A 2021-06-29 2021-06-29 dex2oat process loading method, process loading device and storage medium Pending CN115543468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110726507.5A CN115543468A (en) 2021-06-29 2021-06-29 dex2oat process loading method, process loading device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110726507.5A CN115543468A (en) 2021-06-29 2021-06-29 dex2oat process loading method, process loading device and storage medium

Publications (1)

Publication Number Publication Date
CN115543468A true CN115543468A (en) 2022-12-30

Family

ID=84716916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110726507.5A Pending CN115543468A (en) 2021-06-29 2021-06-29 dex2oat process loading method, process loading device and storage medium

Country Status (1)

Country Link
CN (1) CN115543468A (en)

Similar Documents

Publication Publication Date Title
US9860844B2 (en) Method and apparatus of temperature control
EP3046212B1 (en) Method and apparatus for controlling charging of terminal device
JP6189000B2 (en) Application installation package processing method, apparatus, program, and recording medium
US10216248B2 (en) Method and device for controlling power consumption
EP3015983A1 (en) Method and device for optimizing memory
EP3832840A1 (en) Charging method and device, terminal device and storage medium
US11563243B2 (en) Charging control method, device and storage medium
EP4109705A1 (en) Charging control method and apparatus, electronic device and storage medium
CN106990984B (en) Method and device for updating system
CN107436782B (en) Application silent installation method and device
US20170220401A1 (en) Method, device, and computer-readable storage medium for calling a process
CN109062625A (en) The method, apparatus and readable storage medium storing program for executing of application program load
CN109901886B (en) Page language switching method, system, device and computer readable storage medium
CN107528098B (en) Charging method and device
CN112217242A (en) Charging control method and device
CN115543468A (en) dex2oat process loading method, process loading device and storage medium
CN108539823B (en) Charging method and device
CN110286735B (en) Processing method, device and medium
CN112214254A (en) Method and device for accelerating starting of application program and electronic equipment
CN111130223B (en) Wireless charging display method and device
CN112448052B (en) Battery charging control method and device
CN112909366B (en) Charging method and device, terminal equipment and storage medium
CN111338636B (en) Kernel preprocessing method, kernel preprocessing device and electronic equipment
EP4170855A1 (en) Charging method, electronic device and storage medium
EP4135152A1 (en) Charging method, electronic device and storage medium

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