CN107256150A - It is a kind of to shorten the method to set up without screen Android device starting up's time - Google Patents

It is a kind of to shorten the method to set up without screen Android device starting up's time Download PDF

Info

Publication number
CN107256150A
CN107256150A CN201710387096.5A CN201710387096A CN107256150A CN 107256150 A CN107256150 A CN 107256150A CN 201710387096 A CN201710387096 A CN 201710387096A CN 107256150 A CN107256150 A CN 107256150A
Authority
CN
China
Prior art keywords
android
screen
app
kernel portions
completed
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
CN201710387096.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.)
Shenzhen Cool Flag Internet Co Ltd
Original Assignee
Shenzhen Cool Flag Internet 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 Shenzhen Cool Flag Internet Co Ltd filed Critical Shenzhen Cool Flag Internet Co Ltd
Priority to CN201710387096.5A priority Critical patent/CN107256150A/en
Publication of CN107256150A publication Critical patent/CN107256150A/en
Pending legal-status Critical Current

Links

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
    • 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/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

A kind of to shorten the method to set up without screen Android device starting up's time, this method includes:After start-up command is received, start Android kernel portions, and Android kernel portions are switched to most strong performance mode;After Android kernel portions complete to start, start Android Framework parts, change Android code generation, remove Android non-core central servers, to accelerate the startup of android system core;After Android Framework are partially completed startup, start application program part, remove Android boot animations, start the tinkle of bells is played using simple program, completed during by APP initialization with multithreading, main thread only completes user mutual associative operation, the present invention passes through the optimization to Android kernel portions, Android parts and these three parts of application program part, and do emphasis processing for the Android device without screen, it is greatly improved without screen Android device starting up speed, can be completed in 10 seconds without screen Android device start.In addition, cutting the size that android system also significantly reduces firmware, memory space is saved.

Description

It is a kind of to shorten the method to set up without screen Android device starting up's time
Technical field
The present invention relates to operating system rapid starting technique field, shorten more particularly, to one kind without screen Android device The method to set up of starting up's time.
Background technology
Android operation system is a kind of freedom based on Linux and the operating system increased income, by Google companies and opening Mobile phone alliance leads and developed, and Android operation system is widely used to the fields such as mobile device, intelligent appliance, such as intelligent hand Machine, tablet personal computer, set top box, intelligent television etc..
As one of current most popular mobile device operation system, the toggle speed of Android operation system is all the time His denounces, although the hardware speed of present Android device is more and more faster, but with the appearance of redaction, it starts speed Spend all slow always, various mobile phone plane plates all basic need available machine times of more than 30 seconds.The long available machine time adds User's waiting process, makes Consumer's Experience very bad, so the optimization of Android device starting up speed is extremely important, especially without screen The starting up speed optimization of Android device is particularly important, and user is required more the starting up speed without screen Android device It is high.
In the prior art to Android device starting up speed prioritization scheme mostly just for Android kernel portions, Certain part has done optimization processing in Android Framework parts or application program part, but not to Android Optimization processing has all been done in three parts in kernel portion, Android Framework parts or application program part, and Emphasis processing has not been done for the Android device without screen.
How to accelerate the starting up speed without screen Android device, reduce period of reservation of number, improve Consumer's Experience, be this Art personnel's urgent problem to be solved.
The content of the invention
It is an object of the invention to overcome above-mentioned the deficiencies in the prior art there is provided one kind to shorten to open without screen Android device Machine starts the method to set up of time, it is intended to solves the Android caused by the startup of existing Android operation system is relatively slow and sets Standby starting up speed is slower, extends period of reservation of number, reduces the technical problem of Consumer's Experience.
The present invention is achieved in that a kind of method to set up of the shortening without screen Android device starting up's time, described Method to set up includes:
After start-up command is received, start Android kernel portions, and the Android kernel portions are switched to most strong Performance mode;Wherein, the most strong performance mode refers to open the whole cores of CPU, accelerates to open with slightly higher slight overclock frequency Machine, internal memory full speed running;
After the Android kernel portions complete to start, start Android Framework parts, modification Android's Code generation, removes Android non-core central servers, to accelerate the startup of android system core;
After the Android Framework are partially completed startup, start application program part, remove Android starts Animation, plays start the tinkle of bells using simple program, is completed during by APP initialization with multithreading, and main thread only completes user's friendship Cross-correlation operation, to shorten the available machine time that user can perceive.
Further, it is described to specifically include the step of remove Android non-core central servers:
Cut the multiresolution UI resources of redundancy in Android;Wherein, multiresolution UI resources include LDPI, MDPI or HDPI;
Cut the multi-lingual file bag of redundancy in Android;
Cut the system prompt sound of redundancy in Android;
Cut the APP built in android system;
Remove JAVA classes and UI resources that start is preloaded.
Further, it is described completed without screen Android device start after, the Android kernel portions are from described Most epistasis energy pattern switching to normal-power mode, wherein, the normal mode refer to CPU according to APP demand open core, CPU clocked memories are set according to APP demand, and CPU internal modules are according to APP demand switch.
Beneficial effects of the present invention:Setting side of the shortening that the present invention is provided without screen Android device starting up's time Method, after start-up command is received, starts Android kernel portions, and the Android kernel portions are switched into most epistasis Can pattern;After the Android kernel portions complete to start, start Android Framework parts, modification Android code generation, removes Android non-core central servers, to accelerate the startup of android system core;Described Android Framework are partially completed after startup, are started application program part, are removed Android boot animations, use letter One way sequence plays start the tinkle of bells, is completed during by APP initialization with multithreading, main thread only completes user mutual associative operation, To shorten the available machine time that user can perceive, the present invention passes through to Android kernel portions, Android parts and application program The partly optimization of these three parts, and emphasis processing has been done for the Android device without screen, so that nothing is greatly improved Shield Android device starting up speed, can be completed in 10 seconds without screen Android device start.In addition, cutting Android systems System also significantly reduces the size of firmware, saves memory space.
Brief description of the drawings
Fig. 1 is method to set up of the shortening without screen Android device starting up's time that one embodiment of the invention is provided Flow chart.
Embodiment
In order that technical problem solved by the invention, technical scheme and beneficial effect are more clearly understood, below in conjunction with Drawings and Examples, the present invention is described in further detail.It should be appreciated that specific embodiment described herein is only To explain the present invention, it is not intended to limit the present invention.
Shorten the method to set up without screen Android device starting up's time the embodiment of the invention discloses a kind of, pass through Optimization to Android kernel portions, Android parts and these three parts of application program part, and for without screen Android device has done emphasis processing, so that be greatly improved without screen Android device starting up speed, can be with 10 seconds Complete without screen Android device start.It is described in detail below.
Embodiment one
As shown in figure 1, a kind of shorten the method to set up without screen Android device starting up's time, the method to set up includes:
S100, after start-up command is received, starts Android kernel portions, and the Android kernel portions are switched to Most strong performance mode;Wherein, the most strong performance mode refers to open the whole cores of CPU, is added with slightly higher slight overclock frequency Speed start, internal memory full speed running;
It should be noted that in the embodiment of the present invention, start is performed by pressing power key or other control modes in user After operation, Android kernel portions(Linux kernel)Start to start, and the Android kernel portions are switched to Most strong performance mode, the most strong performance mode is referred to open the whole cores of CPU, is accelerated to open with slightly higher slight overclock frequency Machine, internal memory full speed running.
S101, after the Android kernel portions complete to start, starts Android Framework parts, modification Android code generation, removes Android non-core central servers, to accelerate the startup of android system core;
It should be noted that Android primary version has attached the difference point such as LDPI, MDPI, HDPI in the embodiment of the present invention The UI resources of resolution, and attached 29 kinds it is multi-lingual, while also 60M built-in prompt tone and nearly 300M it is built-in APP, because Android primary version has attached various services, and these resources may not be must without screen Android device Must, for example, avoiding the need for being adapted to various resolution ratio as Android phone without screen Android device, towards whole world use Family, and mobile phone prompt tone, the APP carried are needed, so these contents are all redundancies, and the presence of these contents can be in start When system is needed to parse, allow system to increase unnecessary workload and waste the available machine time, so, in Android kernels It is partially completed after startup, starts Android Framework parts, changes Android code generation, remove Android Non-core central server can realize reduction firmware size, to accelerate the startup of android system core.
It is described to specifically include the step of remove Android non-core central servers as a kind of possible embodiment:
Cut the multiresolution UI resources of redundancy in Android;Wherein, multiresolution UI resources include LDPI, MDPI or HDPI;
Cut the multi-lingual file bag of redundancy in Android;
Cut the system prompt sound of redundancy in Android;
Cut the APP built in android system;
Remove JAVA classes and UI resources that start is preloaded.
It should be noted that in the embodiment of the present invention, be not in contact between each above-mentioned cutting, it is separate, cut out on demand Cut, it is natural after cutting to reduce firmware size, android system burden is reduced, accelerates the start speed without screen Android device Degree.
S102, after the Android Framework are partially completed startup, start application program part, removes Android boot animations, play start the tinkle of bells using simple program, are completed during by APP initialization with multithreading, and main thread is only User mutual associative operation is completed, to shorten the available machine time that user can perceive.
It should be noted that in the embodiment of the present invention without screen Android device be no display screen, and show start Animation is burden that is unnecessary and having aggravated system, and start can be accelerated by only playing start the tinkle of bells, therefore, directly be deleted In Android primary codes show boot animation part, write in addition a small APP only play start the tinkle of bells can shorten use The available machine time that family can be perceived.Meanwhile, operated during APP initialization with multithreading, it is related that main thread only completes user mutual Operation, remaining operation puts sub-line journey, so, the operation of user can be responded after the completion of user mutual associative operation, use is shortened The available machine time that family can be perceived.
It should be noted that compared with the start of original android system, the shortening that the present invention is provided is without screen Android The setting side that device power-up starts the time passes through to Android kernel portions, Android parts and application program part three Partial optimization, including optimization method when Android compilings and operation, so that starting up speed is greatly improved, such as table one It is shown, method to set up of the shortening that the present invention is provided without screen Android device starting up's time, the available machine time is 10 after optimization Start can be completed in second.In addition, cutting the size that android system also significantly reduces firmware, memory space is saved.
Number of times The Android primary available machine times Available machine time after optimization
1 31 seconds 11 seconds
2 30 seconds 10 seconds
3 31 seconds 10 seconds
Table one
Further, it is described completed without screen Android device start after, the Android kernel portions are from described most strong Performance mode is switched to normal-power mode, wherein, the normal mode refers to that CPU opens core, CPU according to APP demand Clocked memory is set according to APP demand, and CPU internal modules are according to APP demand switch.
It should be noted that after the completion of the initialization section of specific application program-LauncherAPP in the present invention, It is described to be completed without screen Android device start when user can operate, it is meant that complete the startup of Android operation system.
It should be noted that the normal-power mode in the embodiment of the present invention is with respect to most strong performance mode when starting shooting Speech, normal-power mode is that CPU opens core according to APP demand, and CPU clocked memories are set according to APP demand, CPU Internal module(Such as GPU)According to APP demand switch.Most strong performance mode had slight overclocking, at 10 seconds or so of start The most strong performance mode of operation does not influence, but the most strong performance mode of long-play may cause caloric value big, cause system not It is stable.
Beneficial effects of the present invention:Setting side of the shortening that the present invention is provided without screen Android device starting up's time Method, after start-up command is received, starts Android kernel portions, and the Android kernel portions are switched into most epistasis Can pattern;After the Android kernel portions complete to start, start Android Framework parts, modification Android code generation, removes Android non-core central servers, to accelerate the startup of android system core;Described Android Framework are partially completed after startup, are started application program part, are removed Android boot animations, use letter One way sequence plays start the tinkle of bells, is completed during by APP initialization with multithreading, main thread only completes user mutual associative operation, To shorten the available machine time that user can perceive, the present invention passes through to Android kernel portions, Android parts and application program The partly optimization of these three parts, and emphasis processing has been done for the Android device without screen, so that nothing is greatly improved Shield Android device starting up speed, can be completed in 10 seconds without screen Android device start.In addition, cutting Android systems System also significantly reduces the size of firmware, saves memory space.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention Any modifications, equivalent substitutions and improvements made within refreshing and principle etc., should be included in the scope of the protection.

Claims (3)

1. a kind of shorten the method to set up without screen Android device starting up's time, it is characterised in that the method to set up bag Include:
After start-up command is received, start Android kernel portions, and the Android kernel portions are switched to most strong Performance mode;Wherein, the most strong performance mode refers to open the whole cores of CPU, accelerates to open with slightly higher slight overclock frequency Machine, internal memory full speed running;
After the Android kernel portions complete to start, start Android Framework parts, modification Android's Code generation, removes Android non-core central servers, to accelerate the startup of android system core;
After the Android Framework are partially completed startup, start application program part, remove Android starts Animation, plays start the tinkle of bells using simple program, is completed during by APP initialization with multithreading, and main thread only completes user's friendship Cross-correlation operation, to shorten the available machine time that user can perceive.
2. a kind of method to set up of the shortening without screen Android device starting up's time according to claim 1, its feature It is, it is described to specifically include the step of remove Android non-core central servers:
Cut the multiresolution UI resources of redundancy in Android;Wherein, multiresolution UI resources include LDPI, MDPI or HDPI;
Cut the multi-lingual file bag of redundancy in Android;
Cut the system prompt sound of redundancy in Android;
Cut the APP built in android system;
Remove JAVA classes and UI resources that start is preloaded.
3. a kind of method to set up of the shortening without screen Android device starting up's time according to claim 1, its feature Be, it is described completed without screen Android device start after, the Android kernel portions are from the most strong performance mode Normal-power mode is switched to, wherein, the normal mode refers to that CPU opens core, CPU clocked memories according to APP demand Set according to APP demand, CPU internal modules are according to APP demand switch.
CN201710387096.5A 2017-05-27 2017-05-27 It is a kind of to shorten the method to set up without screen Android device starting up's time Pending CN107256150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710387096.5A CN107256150A (en) 2017-05-27 2017-05-27 It is a kind of to shorten the method to set up without screen Android device starting up's time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710387096.5A CN107256150A (en) 2017-05-27 2017-05-27 It is a kind of to shorten the method to set up without screen Android device starting up's time

Publications (1)

Publication Number Publication Date
CN107256150A true CN107256150A (en) 2017-10-17

Family

ID=60028236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710387096.5A Pending CN107256150A (en) 2017-05-27 2017-05-27 It is a kind of to shorten the method to set up without screen Android device starting up's time

Country Status (1)

Country Link
CN (1) CN107256150A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020149317A (en) * 2019-03-13 2020-09-17 株式会社デンソー Vehicle device
CN112306564A (en) * 2020-11-05 2021-02-02 四川长虹教育科技有限公司 Method for realizing quick startup of intelligent interactive large screen
CN112559058A (en) * 2020-11-17 2021-03-26 海信视像科技股份有限公司 Application software acceleration method and display device
CN112965721A (en) * 2021-02-26 2021-06-15 平安壹钱包电子商务有限公司 Android-based project compiling method and device, computer equipment and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020149317A (en) * 2019-03-13 2020-09-17 株式会社デンソー Vehicle device
CN113557177A (en) * 2019-03-13 2021-10-26 株式会社电装 Vehicle device
US11755059B2 (en) 2019-03-13 2023-09-12 Denso Corporation System for setting an operating clock of a CPU of a vehicular device
CN112306564A (en) * 2020-11-05 2021-02-02 四川长虹教育科技有限公司 Method for realizing quick startup of intelligent interactive large screen
CN112306564B (en) * 2020-11-05 2023-05-09 四川长虹教育科技有限公司 Method for realizing intelligent interaction large screen quick start
CN112559058A (en) * 2020-11-17 2021-03-26 海信视像科技股份有限公司 Application software acceleration method and display device
CN112965721A (en) * 2021-02-26 2021-06-15 平安壹钱包电子商务有限公司 Android-based project compiling method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107256150A (en) It is a kind of to shorten the method to set up without screen Android device starting up's time
US10657964B2 (en) Method for controlling smart device, computer device and storage medium
US10205992B2 (en) Video decoding method, server, and mobile terminal
KR101564521B1 (en) Techniques to display multimedia data during operating system initialization
CN103778211B (en) The language switching method and device of game of mobile terminal software
US20140359685A1 (en) Video processing method, television dongle, control terminal, and system
CN109101352A (en) Algorithm framework, algorithm call method, device, storage medium and mobile terminal
CN201910892U (en) Rapidly started television with Android operating system
CN105677477A (en) Method and device for optimizing application program resources and electronic equipment
CN102957806B (en) Method and device for restarting mobile phone
CN108038010A (en) Android system startup stage broadcast transmission method, apparatus and terminal
WO2016029717A1 (en) Set top box and power consumption reduction method therefor and computer storage medium
CN105430503A (en) Starting method and device of digital television
CN108933968A (en) A kind of conversion method of message format, device, storage medium and android terminal
CN105807890B (en) Information display method and device and electronic equipment
CN104468980A (en) Play control method and device for start-up animation and tone of terminal
CN116721007B (en) Task control method, system and device, electronic equipment and storage medium
CN103780942A (en) Information configuration method and device thereof
CN102984584A (en) Television signal receiving equipment and software upgrading method with voice prompt function
CN105653495B (en) Dual processor electronic device and its method of quick turn-on starting
CN112114770A (en) Interface guiding method, device and equipment based on voice interaction
CN109658924A (en) Conversation message processing method, device and smart machine
CN105138380B (en) A kind of startup method and device of linux system
CN114598920A (en) Video playing control method, device, equipment and storage medium
CN104423871B (en) A kind of information processing method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20171017