CN107368343B - Terminal starting method based on android system, terminal and storage medium - Google Patents

Terminal starting method based on android system, terminal and storage medium Download PDF

Info

Publication number
CN107368343B
CN107368343B CN201710720084.XA CN201710720084A CN107368343B CN 107368343 B CN107368343 B CN 107368343B CN 201710720084 A CN201710720084 A CN 201710720084A CN 107368343 B CN107368343 B CN 107368343B
Authority
CN
China
Prior art keywords
application
terminal
application information
file
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710720084.XA
Other languages
Chinese (zh)
Other versions
CN107368343A (en
Inventor
宀抽『
岳顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Skyworth Group Intelligent Equipment Co Ltd
Original Assignee
Skyworth Group Intelligent Equipment 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 Skyworth Group Intelligent Equipment Co Ltd filed Critical Skyworth Group Intelligent Equipment Co Ltd
Priority to CN201710720084.XA priority Critical patent/CN107368343B/en
Publication of CN107368343A publication Critical patent/CN107368343A/en
Application granted granted Critical
Publication of CN107368343B publication Critical patent/CN107368343B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/4401Bootstrapping
    • G06F9/4406Loading of operating system

Abstract

The invention discloses a terminal starting method based on an android system, a terminal and a storage medium, wherein the method comprises the following steps: in the process of starting up the terminal, acquiring corresponding application information from a prestored application information file according to the working mode of the terminal and the system running state; importing the acquired application information into a system package manager; and starting the system packet manager. According to the working mode of the terminal and the running state of the system, the corresponding application information is obtained from the prestored application information file, the application information under all directories of the system does not need to be scanned, a large number of read-write operations in the scanning process are avoided, the process of starting up and scanning the application of the terminal based on the android system is simplified, the starting-up time is shortened, the user experience is improved in the user operation, and the production efficiency is improved in the production process.

Description

Terminal starting method based on android system, terminal and storage medium
Technical Field
The invention relates to the technical field of communication, in particular to a terminal starting method based on an android system, a terminal and a storage medium.
Background
The android system is an open-source operating system provided by google corporation, is based on a Linux kernel, has good development, is widely applied to handheld embedded equipment such as mobile phones and the like at present, and is gradually applied to equipment and products such as digital televisions and the like.
The android system provides a platform for a user to download the application, the application installation is supported, and the user can download and install the android application from an application store or other ways. When the android system is started, a bootstrap program, a kernel program, system services and a system main desktop are sequentially started, so that the starting of the whole system is completed. In the process, the system scans the relevant information of all applications in the system file directory and reads the information into a system memory so as to completely start the system.
Because the system scans all application information in the system when the system is started, the more applications installed by a user, the longer the starting time of the system is, and the slower the starting speed is, so that the user needs to wait for a longer time when starting the system, and the user experience is obviously influenced. In addition, in the production process of the terminal based on the android system, the system needs to be restarted for a plurality of times, and the android system is too long in application scanning time in the starting process, so that production inspection work needs to wait for a longer time, and the production efficiency of batch production is seriously influenced.
Disclosure of Invention
The embodiment of the invention provides a terminal starting method based on an android system, a terminal and a storage medium, which can optimize the starting time of the android system, accelerate the production efficiency in the production process and improve the user experience.
In a first aspect, an embodiment of the present invention provides a terminal booting method based on an android system, including:
in the process of starting up the terminal, acquiring corresponding application information from a prestored application information file according to the working mode of the terminal and the system running state;
importing the acquired application information into a system package manager;
and starting the system packet manager.
In a second aspect, an embodiment of the present invention provides a terminal, including:
one or more processors;
a memory for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the terminal booting method based on the android system according to any embodiment of the present invention.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for starting a terminal based on an android system according to any embodiment of the present invention is implemented.
According to the terminal startup method, the terminal and the storage medium based on the android system, provided by the embodiment of the invention, in the startup process of the terminal, the corresponding application information is obtained from the prestored application information file according to the working mode and the system running state of the terminal, the application information under all directories of the system does not need to be scanned, a large amount of read-write operations in the scanning process are avoided, the startup scanning application process is simplified, the purpose of optimizing the startup time of the system is achieved, the user experience is improved in the user operation, and the production efficiency is improved in the production process.
Drawings
Fig. 1 is a flowchart of a terminal booting method based on an android system in a first embodiment of the present invention;
fig. 2 is a flowchart of acquiring application information in a terminal booting method according to a first embodiment of the present invention;
fig. 3 is a flowchart of a terminal booting method based on the android system in the second embodiment of the present invention;
FIG. 4 is a flow chart of installing an application in a third embodiment of the present invention;
FIG. 5 is a flow chart of offloading applications in a third embodiment of the invention;
FIG. 6 is a flow chart of updating an application in a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a terminal startup method based on an android system according to an embodiment of the present invention, where this embodiment is applicable to a terminal startup situation based on the android system, and the terminal may be a mobile phone, a smart television, a tablet computer, and the like. The method specifically comprises the following steps:
and step 110, in the process of starting the terminal, acquiring corresponding application information from a prestored application information file according to the working mode of the terminal and the system running state.
The operation mode of the terminal comprises a factory mode and a non-factory mode. The factory mode is specific to the production process of the terminal, and in the production process, a worker performs performance test and the like on the terminal. The non-factory mode is generally directed to a user, i.e., a process in which the user uses the terminal. Some applications that are required to be used in factory mode are not required to be used by the user in non-factory mode. The working mode of the terminal can be determined by factory data stored in a database, specifically, a field can be set to indicate the working mode of the terminal, and the working mode of the terminal can be known by reading the field during startup, for example, 0 indicates a factory mode, and 1 indicates a non-factory mode; or the working mode field is closed when the terminal leaves the factory, the field cannot be read, and the default terminal is in a non-factory mode.
The system operation state comprises a busy state and an idle state, and is determined by the use conditions of the processor and the memory, when the processor use rate is too high and the memory remains too little, the system is in the busy state, for example, the processor use rate exceeds 75% and the memory remains 10%, otherwise, the system is in the idle state.
When the application is installed, the application information is stored in the application information file, so that the application information can be directly obtained from the application information file in the subsequent starting process without executing the process of scanning the system application.
The application information file includes: a factory pattern file, a first priority file, and a second priority file. The factory mode file is a file read during restarting in the production process and comprises application information necessary during production; the first priority file comprises application information required by system operation built in the system and application information which is installed by a user and needs to be started; the second priority file comprises application information which is installed by a user and does not need to be started; and the priority of the application information in the first priority file is higher than the priority of the application information in the second priority file.
And step 120, importing the acquired application information into a system package manager.
Step 130, start the system package manager.
The system package manager is used for the processes of installation, updating, uninstalling, starting and the like of the system to the application, when the system is started, the obtained application information is led into the system package manager, and after the system package manager is started, the system package manager can realize the system starting according to the read application information.
The opening process is described in detail below with reference to fig. 2. As shown in fig. 2, in step 110, according to the working mode of the terminal and the system running state, the corresponding application information is obtained from the application information file stored in advance, and the information obtaining step includes the following specific steps:
step 211, starting the system, performing the step of acquiring application information, judging whether the terminal is in a factory mode, if so, entering step 212, otherwise, entering step 213;
step 212, acquiring application information of the application required by the factory mode from the factory mode file, and entering step 219;
step 213, acquiring corresponding application information from the application information file according to the system running state, specifically, detecting the system running state of the terminal, entering step 214 if the system running state of the terminal is an idle state, and entering step 215 if the system running state of the terminal is a busy state;
step 214, reading application information required by system operation and each piece of application information installed by a user according to a preset rule, and entering step 219; for example, the application information and the like may be acquired in order of storage time of the application information;
step 215, obtaining the application information at the first priority from the first priority file;
step 216, detecting whether the system of the terminal is started, if the system of the terminal is not started, continuing to execute step 215, if the system of the terminal is started, entering step 217;
step 217, detecting whether the system running state of the terminal is changed into an idle state, if the system running state of the terminal is still a busy state, entering step 219, and if the system running state of the terminal is an idle state, entering step 218;
step 218, acquiring the application information at the second priority from the second priority file;
step 219, completing reading the application information, and continuing the boot process.
Illustratively, the android system includes the following applications: test programs, bluetooth, cameras, WeChat, games, and so on. Wherein, the test program is an application necessary for system production; bluetooth and cameras are essential applications built into the system; the WeChat is used as an application necessary for daily contact of the user, and is set as a startup application; the game is an application used by the user during entertainment and therefore does not need to be started up. The factory mode file includes a test program, the first priority file includes bluetooth, camera and WeChat, and the second priority file includes games.
When the android system is started or restarted, the system firstly detects whether the terminal is in a factory mode, and when the terminal is in the factory mode, application information of a test program is read from a factory mode file. If the terminal is not in the factory mode, detecting the current running state of the system; when the system is in an idle state, reading application information required by system operation and each piece of application information installed by a user according to a preset rule, for example, sequentially reading the application information of Bluetooth, a camera, WeChat and a game from the earliest stored Bluetooth according to the storage time of the application information; when the system is in a busy state, the application information of the Bluetooth, the camera and the WeChat in the first priority file is read firstly, after the system is started and when the system is in an idle state, the application information of the game in the second priority file is read, then all the application information is read, and other starting processes are continued.
According to the technical scheme, when the android system is started or restarted, the corresponding application information is read from the pre-stored application information file, and the process of scanning and analyzing the relevant information of all applications in the system file directory one by one is replaced, so that a large amount of read-write operations in the scanning process are avoided, the system starting time is shortened, and the user experience and the production efficiency are improved. In addition, the application information files stored in advance are classified and stored according to the working mode of the terminal and the priority of the application, and the efficiency of searching the application information can be further improved. For starting up the production process, only the application required by the production is started. The application information is loaded according to the starting priority of the application, the loading is carried out preferentially with high priority, the loading can be delayed for a period of time with low priority, and the slow starting caused by excessive application and system resource shortage can be prevented.
Example two
On the basis of the first embodiment, the present embodiment provides a preferred implementation manner of terminal booting, which can shorten the booting time and fully utilize the hardware performance of the terminal. Fig. 3 is a flowchart of a terminal booting method based on the android system according to a second embodiment of the present invention, and as shown in fig. 3, the method includes the following specific steps:
311, judging whether the terminal is in a factory mode, if so, entering 312, otherwise, entering 313;
step 312, obtaining application information of the application required by the factory mode from the factory mode file, and entering step 321;
step 313, acquiring corresponding application information from the application information file according to the system running state, specifically, detecting the system running state of the terminal, entering step 314 if the system running state of the terminal is an idle state, and entering step 317 if the system running state of the terminal is a busy state;
step 314, reading hardware configuration information of the terminal;
315, determining the number of threads supported by the terminal according to the hardware configuration information;
step 316, obtaining corresponding application information from each thread file by using multiple threads, wherein the thread files are multiple application information files with the same number of threads, which are established by the system according to the thread configuration information of the hardware, and are used for storing the application information in a scattered manner; that is, all the application information is dispersedly stored in each thread file, and step 321 is entered;
step 317, acquiring application information at a first priority level from the first priority level file;
step 318, detecting whether the system of the terminal is started, if the system of the terminal is not started, continuing to execute step 317, and if the system of the terminal is started, entering step 319;
step 319, detecting whether the system running state of the terminal is changed into an idle state, if the system running state of the terminal is still a busy state, entering step 321, and if the system running state of the terminal is an idle state, entering step 320;
step 320, acquiring application information at a second priority from the second priority file;
step 321, completing reading the application information, and continuing the boot process.
The hardware configuration information of the terminal, such as the number of processors and the number of threads supported by a single processor, is read, and the number of threads supported by the terminal can be determined according to the hardware configuration information. Generally speaking, the performance indexes of the system are comprehensively considered, the number of core threads is increased according to the number of processor cores of the system by multiple times or equal amount, an intermediate optimal value is sought, and therefore the optimal solution of the number of threads supported by the terminal is determined. And finally, according to the total thread number, the corresponding application information is respectively obtained from each thread file by utilizing multiple threads, the hardware configuration of the system is fully utilized, and the system starting time is further optimized.
According to the technical scheme of the embodiment, after the terminal is judged not to be in the factory mode, if the system running state of the terminal is detected to be the idle state, the number of threads supported by the terminal is determined by reading the hardware configuration information of the terminal, and the corresponding application information is respectively obtained from each thread file by utilizing multiple threads, so that the hardware configuration of the system can be fully utilized, the starting time of the system can be shortened, and the user experience and the production efficiency can be improved.
EXAMPLE III
The embodiment provides a process for storing application information to an application information file when an application is installed, and corresponding processes for updating the application and uninstalling the application.
Specifically, before acquiring corresponding application information from a prestored application information file according to a working mode and a system running state of a terminal, the terminal startup method based on the android system further includes: when an application is installed, acquiring application information of the application according to configuration information of the application; and storing the application information of the application into an application information file according to whether the application belongs to the factory mode and the priority of the application. That is, files of multiple categories, such as a factory mode file, a first priority file, a second priority file, and multiple thread files (the number of thread files is consistent with the number of threads supported by a terminal) are preset, applications are sorted according to whether the applications belong to a factory mode and the priority of the applications, application information of the applications is stored in the corresponding files, and for example, the applications belong to applications necessary for the factory mode, and the application information is stored in the factory mode file; if the application needs to be started, the application information is stored in the first priority file.
Fig. 4 is a flowchart of installing an application according to a third embodiment of the present invention, and as shown in fig. 4, the method specifically includes the following steps:
step 401, when the application is installed, obtaining application information.
Specifically, when the application is installed, the application program is decompressed, and the configuration file of the application program is analyzed to obtain information such as the attribute, priority, authority, name, and the like of the application as the application information of the application. Xml can be analyzed to obtain application information.
It should be noted that, during factory production, the first startup of the system is operated by an engineer providing software, and a copy of the program is made to complete the upgrade of the system, and in this process, the storage of the application information necessary for the factory mode is completed. When the user installs the required application by himself, the corresponding application information is stored when the application is installed.
Step 402, detecting whether the application is the application required by the factory mode, if so, entering step 403, otherwise, entering step 405. The package name of the current application can be matched with the package name of the factory mode application, and if the package name of the current application belongs to the factory mode application package name, the current application is determined to belong to the application of the factory mode.
In step 403, the application information of the application is added to the factory pattern file.
And step 404, judging whether the application is an application which can be used in the normal operation of the system, if so, entering step 405, and otherwise, entering step 410. Considering that some applications necessary for the factory model are not required to be used by the user, that is, the applications do not need to be added to the user-related file or other application configuration files, the determination is performed by using the step, so that unnecessary storage space waste caused by storing the application information unnecessary for the user into the user-related file is avoided.
Step 405, obtaining the priority of the application, entering step 406 if the application belongs to the first priority, and entering step 407 if the application belongs to the second priority. Specifically, the application information may be stored in the first priority file or the second priority file according to the package name and the startup attribute of the application.
Step 406, add the application information of the application to the first priority file, and proceed to step 408.
Step 407, add the application information of the application to the second priority file, and proceed to step 408.
And step 408, reading the hardware configuration information of the terminal. After the applications are classified according to the priority, normal information storage needs to be performed on the applications so as to fully utilize the hardware performance. The hardware configuration information is mainly thread-related configuration information.
Step 409, according to the hardware configuration information, recording the application information of the application to a thread file corresponding to a certain thread. Specifically, a thread file with the same number as the thread number may be established for normally storing all the application information, and the application information is dispersedly stored in each thread file.
Step 410, the installation of the application is completed.
For example, the android system needs to install the following applications: test programs, display programs (applications for controlling screen displays), bluetooth, WeChat, games, and the like. When the system is installed, the application program is decompressed, and the configuration file android manifest. And classifying and sorting the applications and setting the priority according to the application information, and storing the applications in corresponding application information files to prepare for shortening the starting time of the system.
The test program is an application necessary for system production, but is not an application used in normal operation of the system; the display program is an application necessary for system production and also an application which can be used in normal operation of the system; bluetooth is a necessary application built into the system; the WeChat is used as an application necessary for daily contact of the user, and is set as a startup application; the game is an application used by the user during entertainment and therefore does not need to be started up. The test program and the display program belong to factory mode applications, the display program, the bluetooth and the WeChat belong to a first priority application, and the game belongs to a second priority application.
When the system is in a factory mode, the system is started for the first time and operated by an engineer providing software, a program is copied, the system is upgraded, and in the process, the application information required by the factory mode is stored, namely the application information of the test program and the display program is stored in a factory mode file, and the application information of the display program is stored in a first priority file. When the system leaves the factory, factory-determined data in the system database is modified, the factory mode is turned off, and the system enters the non-factory mode and faces users.
When a user operates the android system to install application Bluetooth, WeChat and games, the system detects whether the application is factory mode application and whether the application is application used in normal operation of the system, and the detection result indicates that the Bluetooth, the WeChat and the games are not the factory mode application. Detecting the application priority, adding the application information of Bluetooth and WeChat into a first priority file, and adding the application information of the game into a second priority file.
Meanwhile, normal application information storage of the application is also needed to be performed so as to fully utilize the hardware performance, read the thread configuration information of the system hardware, and dispersedly store the application information into each file with the thread number consistent with the hardware configuration information to finish the installation of the application.
In addition, considering the situation that there is application starting correlation, in a preferred embodiment, the correlation of the application may be detected, and the application information of the application may be added to a file in which the application information of the high-priority application related to the application is located. Specifically, the storing of the application information into the application information file includes the following steps:
detecting that a current application has an associated application; and storing the application information of each application with the association relation into a file in which the application information of the application with the highest priority in each application is located according to the priority of each application with the association relation. Therefore, the installation of the associated application is completed, and the normal starting and use of the associated application are ensured.
Illustratively, when a user installs application a, the system detects that it has an associated application B, and only with the support of application B can application a be used normally. And then the system further detects and compares the priorities of the application A and the application B during installation, when the priority of the application A is higher than that of the application B, the two applications are added to the application information file corresponding to the application A, when the priority of the application A is lower than that of the application B, the two applications are added to the application information file corresponding to the application B, and if the priorities of the application A and the application B are consistent, the application information of the two applications is stored in the corresponding file according to the flow shown in fig. 4.
Fig. 5 is a flowchart of an uninstalling application according to a third embodiment of the present invention, and as shown in fig. 5, the uninstalling application includes the following steps:
step 510, unloading the application;
step 520, deleting the application information corresponding to the application from the application information file, specifically, deleting all records corresponding to the application stored in the application information file according to the package name;
and step 530, unloading is completed.
In order to eliminate occupation of unloaded applications on a terminal memory and delay of starting time, all application information files are traversed, and all relevant records in the application files corresponding to the unloaded applications are deleted, so that reading of the application information of the unloaded applications when a system is started is avoided, and starting time is further prolonged.
Fig. 6 is a flowchart of an update application according to a third embodiment of the present invention, and as shown in fig. 6, the update application includes the following steps:
step 610, updating the application;
step 620, modifying the application information corresponding to the application stored in the application information file;
and step 630, updating is completed.
In order to not influence the normal use of the application after updating, the application information corresponding to the application stored in the application information file is modified according to the updating information of the application, and the stored application information is updated in time, so that the situation that the normal use of the application is influenced by reading the application information before updating when the system is started is avoided.
According to the technical scheme of the embodiment, the classified storage and the real-time update of the application information of all the applications in the terminal are constantly kept through classified storage of the application information during installation of the applications and the associated applications and modification of the application information during unloading and updating of the applications, so that the optimization of the system startup time is guaranteed, the system startup time is effectively shortened, the user experience of a user in the use process is improved, and the production efficiency of the production process is improved.
Example four
Fig. 7 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention, where the terminal is installed with an android system. As shown in fig. 7, the terminal specifically includes: one or more processors 710, one processor 710 being illustrated in FIG. 7; the memory 720 is configured to store one or more programs, and when the one or more programs are executed by the one or more processors 710, the one or more processors 710 implement the terminal booting method based on the android system according to any embodiment of the present invention. The processor 710 and the memory 720 may be connected by a bus or other means, such as the bus connection shown in FIG. 7.
The memory 720, which is a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as program instructions corresponding to the terminal booting method based on the android system in the embodiment of the present invention (for example, classification and saving of application information when an application is installed and modification of application information when an application is updated). The processor 710 executes various functional applications and data processing of the terminal by running the software programs, instructions and modules stored in the memory 720, that is, the terminal booting method based on the android system is implemented.
The memory 720 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 720 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 720 may further include memory located remotely from the processor 710, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program (or referred to as computer-executable instructions) is stored, where the computer program is used for executing a boot method when executed by a processor, and the method includes:
in the process of starting up the terminal, acquiring corresponding application information from a prestored application information file according to the working mode of the terminal and the system running state;
importing the acquired application information into a system package manager;
and starting the system packet manager.
Of course, the computer-readable storage medium provided in the embodiments of the present invention has computer-executable instructions that are not limited to the operations of the method described above, and may also perform related operations in the boot method provided in any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention. It should be noted that, in the embodiment of the above search apparatus, each included unit and module are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (7)

1. A terminal starting method based on an android system is characterized by comprising the following steps:
judging whether the terminal is in a factory mode or not in the starting process of the terminal;
if yes, acquiring application information of the application required by the factory mode from the factory mode file;
if not, acquiring corresponding application information from the application information file according to the system running state;
acquiring corresponding application information from the application information file according to the system running state, wherein the method comprises the following steps:
detecting the system running state of the terminal;
wherein the system operation state comprises a busy state and an idle state;
if the system running state of the terminal is a busy state, acquiring application information at a first priority level from a first priority level file;
under the condition that the system running state of the terminal is a busy state, the method further comprises the following steps:
when the system running state of the terminal is detected to be an idle state, acquiring application information at a second priority level from a second priority level file;
if the system running state of the terminal is an idle state, acquiring corresponding application information according to the hardware configuration information of the terminal;
importing the acquired application information into a system package manager;
and starting the system packet manager.
2. The method of claim 1, wherein the application information file further comprises at least one thread file corresponding to a number of threads of the terminal;
acquiring corresponding application information according to the hardware configuration information of the terminal, wherein the acquiring comprises the following steps:
reading hardware configuration information of the terminal;
determining the number of threads supported by the terminal according to the hardware configuration information;
and obtaining corresponding application information from each thread file by utilizing multiple threads.
3. The method according to any one of claims 1 to 2, wherein before acquiring the corresponding application information from the pre-stored application information file according to the operating mode and the system operating state of the terminal, the method further comprises:
when the application is installed, acquiring application information according to the configuration information of the application;
and storing the application information into the application information file according to whether the application belongs to a factory mode and the priority of the application.
4. The method of claim 3, wherein storing the application information in the application information file comprises:
detecting that a current application has an associated application;
and storing the application information of each application with the association relation into a file in which the application information of the application with the highest priority in the applications is located according to the priority of each application with the association relation.
5. The method according to any one of claims 1 to 2, further comprising:
when the application is unloaded, deleting the application information corresponding to the application from the application information file;
and when the application is updated, modifying the application information corresponding to the application stored in the application information file.
6. A terminal, comprising:
one or more processors;
a memory for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the android system based terminal power-on method according to any one of claims 1 to 5.
7. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the android system based terminal power-on method of any of claims 1 to 5.
CN201710720084.XA 2017-08-21 2017-08-21 Terminal starting method based on android system, terminal and storage medium Active CN107368343B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710720084.XA CN107368343B (en) 2017-08-21 2017-08-21 Terminal starting method based on android system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710720084.XA CN107368343B (en) 2017-08-21 2017-08-21 Terminal starting method based on android system, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN107368343A CN107368343A (en) 2017-11-21
CN107368343B true CN107368343B (en) 2021-03-26

Family

ID=60310074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710720084.XA Active CN107368343B (en) 2017-08-21 2017-08-21 Terminal starting method based on android system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107368343B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108196892B (en) * 2017-12-29 2021-02-23 北京安云世纪科技有限公司 Method and device for customizing system starting process and mobile terminal
CN109089108B (en) * 2018-08-15 2021-03-09 晶晨半导体(上海)股份有限公司 Test method and system
CN111562952B (en) * 2020-07-16 2021-03-16 南方电网数字电网研究院有限公司 Dynamic loading method and dynamic loading device for double-core intelligent ammeter management unit
CN111901677B (en) * 2020-07-24 2022-08-02 海信视像科技股份有限公司 Method for uniformly controlling process starting and display equipment
CN114637559B (en) * 2020-12-15 2023-11-24 博泰车联网科技(上海)股份有限公司 Method, system, equipment and storage medium for displaying startup interface
CN113918226A (en) * 2021-09-07 2022-01-11 深圳市得一微电子有限责任公司 Starting method of intelligent device, system and readable storage medium
CN115292140B (en) * 2022-09-01 2023-08-15 摩尔线程智能科技(北京)有限责任公司 Method, apparatus and computer readable medium for monitoring system start-up

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610316A (en) * 2009-07-24 2009-12-23 中兴通讯股份有限公司 The startup methods, devices and systems of application program of mobile phone
CN102012832A (en) * 2010-12-14 2011-04-13 Tcl集团股份有限公司 Method and device for accelerating starting Android system
CN104598254A (en) * 2015-02-17 2015-05-06 福州瑞芯微电子有限公司 Method and device for rapidly powering on Android system
CN104636165A (en) * 2015-02-02 2015-05-20 广东小天才科技有限公司 Mobile device starting method and device
CN106126203A (en) * 2016-06-15 2016-11-16 宇龙计算机通信科技(深圳)有限公司 A kind of OTA start accelerated method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073504A (en) * 2011-01-21 2011-05-25 深圳创维数字技术股份有限公司 Multi-scene operating method, multi-scene operating system and intelligent device
US9635048B2 (en) * 2011-03-09 2017-04-25 Irdeto B.V. Method and system for dynamic platform security in a device operating system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610316A (en) * 2009-07-24 2009-12-23 中兴通讯股份有限公司 The startup methods, devices and systems of application program of mobile phone
CN102012832A (en) * 2010-12-14 2011-04-13 Tcl集团股份有限公司 Method and device for accelerating starting Android system
CN104636165A (en) * 2015-02-02 2015-05-20 广东小天才科技有限公司 Mobile device starting method and device
CN104598254A (en) * 2015-02-17 2015-05-06 福州瑞芯微电子有限公司 Method and device for rapidly powering on Android system
CN106126203A (en) * 2016-06-15 2016-11-16 宇龙计算机通信科技(深圳)有限公司 A kind of OTA start accelerated method and system

Also Published As

Publication number Publication date
CN107368343A (en) 2017-11-21

Similar Documents

Publication Publication Date Title
CN107368343B (en) Terminal starting method based on android system, terminal and storage medium
US10235149B2 (en) Preinstalled application management method for mobile terminal and mobile terminal
US8448187B2 (en) Conflict resolution apparatus
CN107832100B (en) APK plug-in loading method and terminal thereof
US9098370B2 (en) Apparatus and methods for improving uninstall process
US9928059B1 (en) Automated deployment of a multi-version application in a network-based computing environment
CN109408122B (en) Equipment starting method, electronic equipment and computer storage medium
US9513889B2 (en) System and method of automating installation of applications
CN106293849B (en) application updating method and terminal
US20190303172A1 (en) Information processing apparatus, device assignment method, and computer readable medium
CN109117153B (en) Application processing method, device, terminal and storage medium
CN110753088A (en) System deployment method and device
CN110688168A (en) Method, device and equipment for improving starting speed of application program and storage medium
WO2018018702A1 (en) Odex optimization control method and mobile terminal
WO2019144621A1 (en) Method, apparatus, and server for acquiring uefi os startup item
CN108459868A (en) A kind of software start-up method, device, terminal and storage medium
CN111694585A (en) Method, system, terminal and storage medium for replacing system partition file
CN113190279B (en) Pre-boot function control method, system and medium
JP5801517B2 (en) Task processing method and apparatus
CN107172610B (en) GSM network self-adaption method and device and electronic equipment
CN115357355A (en) Method, device and equipment for software cross-system migration and readable storage medium
CN102455919A (en) Automatic optimization setting method for basic input output system(BIOS)
CN112000354A (en) Version information updating method, version information updating device, version information updating equipment and storage medium
CN112217885A (en) Dynamic management method, device, equipment and storage medium for components
CN109710319B (en) Method and system for identifying in-place hard disk of computer

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200820

Address after: Room 821, No. 333, jiufo Jianshe Road, Zhongxin Guangzhou Knowledge City, Huangpu District, Guangzhou City, Guangdong Province

Applicant after: Skyworth Group Intelligent Technology Co., Ltd

Address before: 510730 Guangdong city of Guangzhou province Luogang District economic and Technological Development Zone of Guangzhou Science City Kaida Road No. 99

Applicant before: GUANGZHOU SKYWORTH FLAT DISPLAY TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant