CN109951732A - The method that Android intelligent television prevents boot LOGO Yu application switching blank screen - Google Patents

The method that Android intelligent television prevents boot LOGO Yu application switching blank screen Download PDF

Info

Publication number
CN109951732A
CN109951732A CN201910197652.1A CN201910197652A CN109951732A CN 109951732 A CN109951732 A CN 109951732A CN 201910197652 A CN201910197652 A CN 201910197652A CN 109951732 A CN109951732 A CN 109951732A
Authority
CN
China
Prior art keywords
application
management service
home
blank screen
frame buffer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910197652.1A
Other languages
Chinese (zh)
Other versions
CN109951732B (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201910197652.1A priority Critical patent/CN109951732B/en
Publication of CN109951732A publication Critical patent/CN109951732A/en
Application granted granted Critical
Publication of CN109951732B publication Critical patent/CN109951732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of methods that Android intelligent television prevents boot LOGO Yu application switching blank screen, including step 1: custom-built system initialization program, cancels the starting of boot animation program;Step 2: being controlled by the state between layer management service and application management service, control, the blank screen covered in initialization procedure that substitution boot animation program is completed are updated by the display whether detection Home application is actuated for frame buffer.It after Android intelligent television is switched on and shows boot LOGO, is customized by layer management service to system and application management service, according to the starting state that Home is applied, the frame buffering refresh requests to each module of system, respectively applied are controlled;Simultaneously as not starting bootanmation animation program, cpu resource is released, and has more cpu resources to distribute to other modules of system, and the processing speed of CPU is returned faster when system starts in this way, effectively reduces system start-up time.

Description

The method that Android intelligent television prevents boot LOGO Yu application switching blank screen
Technical field
The present invention relates to ntelligent television technolog fields, are that a kind of Android intelligent television prevents boot LOGO specifically With the method for application switching blank screen.
Background technique
Android intelligent television starting up mainly divide three phases: boot stage, operating system stage, Home Using startup stage.
The display of boot LOGO, one is shown in boot stage;One is in operating system initialization It is shown, then carries out other initialization again, two methods are boot LOGO image to be output to video memory and in screen On shown.
But after the completion of the display of boot LOGO, since the initialization of operating system has not been completed, there are also other moulds When block is initialized, the initialization of the hardware module of video memory is especially related to, can video memory be refreshed and be controlled again, It will lead to boot LOGO image data in video memory at this time to be refreshed, cause boot LOGO picture drop-out, and Home application at this time is still Inactive, the image output of application interface, screen not will appear black state.
Android is directed to this problem, and current solution is: in android system in operating system initialization rank Section, starts a boot animation program, this boot animation program exports picture frame by frame buffer cycles, at a high speed to video memory Sequence simulates an animation process, for covering the blank screen occurred.After checking Home application start completion, system can be strong Boot animation program processed exits, and will show the application interface of Home application at this time.
But this implementation method, although blank screen can be covered by boot animation program, since animation program is being held In capable process, due to high speed, the movements such as picture decoding, image output are cyclically executed, no small cpu resource can be occupied, Cpu resource is nervous when causing system to start in the regular hour, influences the starting speed and efficiency of other modules, will cause and is The system starting time increases.
Summary of the invention
The purpose of the present invention is to provide the sides that a kind of Android intelligent television prevents boot LOGO Yu application switching blank screen Method has blank screen for solving Android intelligent television in the prior art when starting up, and due to animation program During execution, due to high speed, the movements such as picture decoding, image output are cyclically executed, no small CPU money can be occupied Source, cpu resource is nervous when causing system to start within the regular hour, influences the starting speed and efficiency of other modules, meeting The problem of causing system start-up time to increase.
The present invention is solved the above problems by following technical proposals:
A kind of method that Android intelligent television prevents boot LOGO Yu application switching blank screen, the method includes as follows Step:
Step 1: custom-built system initialization program cancels the starting of boot animation program;
Step 2: being controlled by the state between layer management service and application management service, be by detection Home application The no display for being actuated for frame buffer updates control, the blank screen covered in initialization procedure that substitution boot animation program is completed.
By this method, after Android intelligent television is switched on and shows boot LOGO, pass through the layer management to system Service and application management service are customized, and according to the starting state that Home is applied, the frame to each module of system, respectively applied is buffered Refresh requests are controlled, and realize that the switching between boot LOGO and the application interface of Home application without blank screen, improves user's view Feel experience;Simultaneously as not starting bootanmation animation program, cpu resource is released, and has more cpu resources to distribute Give system other modules, the processing speed of CPU is returned faster when system starts in this way, effectively reduces system start-up time.
Preferably, the process whether Home application is actuated for the display update control of frame buffer is detected in the step 2 Include the following steps:
Step 2.1: customized application management service by way of system property, notifies figure layer after starting Home application The title of management service Home application;
Step 2.2: customization layer management service is mentioned when receiving frame buffer update request by application management service The system property of confession obtains the title of application, and whether detection requestor is Home application;
Step 2.3: if it is Home application that step 3, which detects, by updating request, and passing through frame buffer for image update To video memory;If not Home is applied, then refuse to update request, frame buffer keeps original state.
Preferably, when detecting that Home application starts and has update to request, layer management service is receiving frame buffer When updating request, be no longer updated request whether be Home application judgement, default answered by all update requests, Home When with starting and have update to request, the process judged the update request after starting is saved, the boot system that effectively shortens opens The dynamic time.
Compared with prior art, the present invention have the following advantages that and the utility model has the advantages that
(1) present invention is taken after Android intelligent television is switched on and shows boot LOGO by the layer management to system Business and application management service are customized, and according to the starting state that Home is applied, the frame buffering to each module of system, respectively applied is brushed New request is controlled, and realizes that the switching between boot LOGO and the application interface of Home application without blank screen, improves user's vision Experience;Simultaneously as not starting bootanmation animation program, cpu resource is released, and has more cpu resources to distribute to Other modules of system, the processing speed of CPU is returned faster when system starts in this way, effectively reduces system start-up time.
(2) present invention is when detecting that Home application starts and has update to request, and layer management service is to receive frame slow When depositing update request, be no longer updated request whether be Home application judgement, default passes through all update requests, Home It when using starting and there is update to request, saves to the process that is judged of update request after starting, effectively shortens boot system The time of starting.
Detailed description of the invention
Fig. 1 is the flow chart for the method that smart television of the invention prevents boot LOGO and application switching blank screen.
Specific embodiment
The present invention is described in further detail below with reference to embodiment, embodiments of the present invention are not limited thereto.
Embodiment 1:
In conjunction with shown in attached drawing 1, a kind of method that Android intelligent television prevents boot LOGO Yu application switching blank screen, It is characterized in that, described method includes following steps:
Step 1: custom-built system initialization program cancels the starting of boot animation program;
Step 2: being controlled by the state between layer management service and application management service, be by detection Home application The no display for being actuated for frame buffer updates control, the blank screen covered in initialization procedure that substitution boot animation program is completed. The process that the display that wherein whether detection Home application is actuated for frame buffer updates control includes the following steps:
Step 2.1: customized application management service by way of system property, notifies figure layer after starting Home application The title of management service Home application;When detecting that Home application starts and has update to request, layer management service is being received To frame buffer update request when, be no longer updated request whether be Home application judgement, default asked by all updates It asks, saves the process judged the update request after starting, the time of the boot system that effectively shortens starting;
Step 2.2: customization layer management service is mentioned when receiving frame buffer update request by application management service The system property of confession obtains the title of application, and whether detection requestor is Home application;
Step 2.3: if it is Home application that step 3, which detects, by updating request, and passing through frame buffer for image update To video memory;If not Home is applied, then refuse to update request, frame buffer keeps original state.
In the following, being illustrated in conjunction with specific example:
The first step increases Home application packet name attribute:
Sys.homeapp.packagename=word string, default value NULL, expression do not know that home is applied, are not sky, Indicate the packet name of home application.
Second step, TV export boot LOGO image after actuation, from bootstrap or operating system to video memory;
Third step when os starting system initialization routine, successively starts layer management service, application management service And close the starting of boot animation program;
4th step, in layer management service: increasing global variable bool mLauncherStart, default value is false;Effect is to judge whether home application has been started up;Request processing function is updated in figure Increase judgement in handleMessageRefresh ():
If mLauncherStart=false, refuses the figure and update request, terminate figure more new technological process;If MLauncherStart=true is then updated by figure and is requested, and figure more new technological process is continued;
It is controlled in processing function handlePageFlip () in graphical display, it is aobvious in the graphical interfaces for receiving application program When showing solicitation message, controlled according to the state of mLauncherStart:
As mLauncherStart=false, system property sys.homeapp.packagename is obtained, is checked aobvious Show whether the title of the application of application matches with sys.homeapp.packagename:
If it does, then by the display application of the application, and true is set by mLauncherStart;If not Match, then refuses the display application of the application;
As mLauncherStart=true, is applied by all displays, carry out display processing by former process;
Finally, in application management service, in startHomeActivityLocked () function of starting home application In, the home packet name applied, which is written in system property sys.homeapp.packagename i.e., which can reach to cover to be switched on, opens Dynamic blank screen improves the purpose of TV starting speed, does not experience again to be promoted.
Although reference be made herein to invention has been described for explanatory embodiment of the invention, and above-described embodiment is only this hair Bright preferable embodiment, embodiment of the present invention are not limited by the above embodiments, it should be appreciated that those skilled in the art Member can be designed that a lot of other modification and implementations, these modifications and implementations will fall in principle disclosed in the present application Within scope and spirit.

Claims (3)

1. a kind of method that Android intelligent television prevents boot LOGO Yu application switching blank screen, which is characterized in that the method Include the following steps:
Step 1: custom-built system initialization program cancels the starting of boot animation program;
Step 2: being controlled by the state between layer management service and application management service, whether opened by detection Home application The dynamic display for carrying out frame buffer updates control, the blank screen covered in initialization procedure that substitution boot animation program is completed.
2. the method that Android intelligent television according to claim 1 prevents boot LOGO Yu application switching blank screen, special Sign is that it includes as follows for detecting Home application in the step 2 and whether being actuated for the process of the display update control of frame buffer Step:
Step 2.1: customized application management service by way of system property, notifies layer management after starting Home application Service the title of Home application;
Step 2.2: customization layer management service passes through what application management service provided when receiving frame buffer update request System property obtains the title of application, and whether detection requestor is Home application;
Step 2.3: if step 3 detect be Home application, by update request, and by frame buffer by image update to show It deposits;If not Home is applied, then refuse to update request, frame buffer keeps original state.
3. the method that Android intelligent television according to claim 2 prevents boot LOGO Yu application switching blank screen, special Sign is, when detecting that Home application starts and has update to request, layer management service is receiving frame buffer update request When, be no longer updated request whether be Home application judgement, default passes through all update requests.
CN201910197652.1A 2019-03-15 2019-03-15 Method for preventing startup LOGO and application from switching to black screen for Android smart television Active CN109951732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910197652.1A CN109951732B (en) 2019-03-15 2019-03-15 Method for preventing startup LOGO and application from switching to black screen for Android smart television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910197652.1A CN109951732B (en) 2019-03-15 2019-03-15 Method for preventing startup LOGO and application from switching to black screen for Android smart television

Publications (2)

Publication Number Publication Date
CN109951732A true CN109951732A (en) 2019-06-28
CN109951732B CN109951732B (en) 2020-06-30

Family

ID=67009048

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910197652.1A Active CN109951732B (en) 2019-03-15 2019-03-15 Method for preventing startup LOGO and application from switching to black screen for Android smart television

Country Status (1)

Country Link
CN (1) CN109951732B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629249A (en) * 2020-05-15 2020-09-04 海信视像科技股份有限公司 Method for playing startup picture and display device
CN113051001A (en) * 2021-03-17 2021-06-29 海信视像科技股份有限公司 Acceleration method for display of startup user interface and display equipment
CN113691871A (en) * 2021-08-19 2021-11-23 杭州国芯科技股份有限公司 Method for optimizing startup picture display of set top box

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120089825A1 (en) * 2010-10-07 2012-04-12 Jung Myung-June Apparatus and method for generating a boot image that is adjustable in size
CN103049257A (en) * 2012-12-07 2013-04-17 深圳天珑无线科技有限公司 Method for displaying animated drawing in startup and electronic device
CN104202645A (en) * 2014-08-27 2014-12-10 海信集团有限公司 Method for controlling playing of startup screen and user device
CN104469504A (en) * 2014-12-09 2015-03-25 四川长虹电器股份有限公司 Method for rapidly starting Android smart television
CN107566902A (en) * 2017-09-19 2018-01-09 青岛海信电器股份有限公司 The method and display device of a kind of display device starting-up
CN107748687A (en) * 2017-10-10 2018-03-02 晶晨半导体(上海)股份有限公司 It is a kind of that method and smart machine are controlled to smart machine start display picture
CN107979774A (en) * 2017-12-12 2018-05-01 深圳创维数字技术有限公司 A kind of starting up of terminal method, terminal and storage medium
CN108255524A (en) * 2016-12-28 2018-07-06 中科创达软件股份有限公司 A kind of booting Logo display methods, device and embedded device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120089825A1 (en) * 2010-10-07 2012-04-12 Jung Myung-June Apparatus and method for generating a boot image that is adjustable in size
CN103049257A (en) * 2012-12-07 2013-04-17 深圳天珑无线科技有限公司 Method for displaying animated drawing in startup and electronic device
CN104202645A (en) * 2014-08-27 2014-12-10 海信集团有限公司 Method for controlling playing of startup screen and user device
CN104469504A (en) * 2014-12-09 2015-03-25 四川长虹电器股份有限公司 Method for rapidly starting Android smart television
CN108255524A (en) * 2016-12-28 2018-07-06 中科创达软件股份有限公司 A kind of booting Logo display methods, device and embedded device
CN107566902A (en) * 2017-09-19 2018-01-09 青岛海信电器股份有限公司 The method and display device of a kind of display device starting-up
CN107748687A (en) * 2017-10-10 2018-03-02 晶晨半导体(上海)股份有限公司 It is a kind of that method and smart machine are controlled to smart machine start display picture
CN107979774A (en) * 2017-12-12 2018-05-01 深圳创维数字技术有限公司 A kind of starting up of terminal method, terminal and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629249A (en) * 2020-05-15 2020-09-04 海信视像科技股份有限公司 Method for playing startup picture and display device
CN111629249B (en) * 2020-05-15 2022-02-22 海信视像科技股份有限公司 Method for playing startup picture and display device
CN113051001A (en) * 2021-03-17 2021-06-29 海信视像科技股份有限公司 Acceleration method for display of startup user interface and display equipment
CN113051001B (en) * 2021-03-17 2023-04-14 Vidaa(荷兰)国际控股有限公司 Acceleration method for display of startup user interface and display equipment
CN113691871A (en) * 2021-08-19 2021-11-23 杭州国芯科技股份有限公司 Method for optimizing startup picture display of set top box
CN113691871B (en) * 2021-08-19 2023-04-14 杭州国芯科技股份有限公司 Method for optimizing startup picture display of set top box

Also Published As

Publication number Publication date
CN109951732B (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN108628652B (en) User interface rendering method and device and terminal
WO2020038167A1 (en) Video image recognition method and apparatus, terminal and storage medium
CN109460233B (en) Method, device, terminal equipment and medium for updating native interface display of page
CN109542614B (en) Resource allocation method, device, terminal and storage medium
CN109951732A (en) The method that Android intelligent television prevents boot LOGO Yu application switching blank screen
CN109144649A (en) Display methods, device, terminal and the storage medium of icon
CN110955499B (en) Processor core configuration method, device, terminal and storage medium
CN108965471B (en) Method for improving browser memory on smart television
CN109634599B (en) Page view display method, device, equipment and storage medium
CN111767554B (en) Screen sharing method and device, storage medium and electronic equipment
CN113099298A (en) Method and device for changing virtual image and terminal equipment
CN110702346B (en) Vibration testing method and device, storage medium and terminal
CN107077379A (en) A kind of virtual machine creation method and device
CN112698905B (en) Screen saver display method, display device, terminal device and server
CN109725977A (en) A kind of more application display methods and terminal device based on android system
CN111124668A (en) Memory release method and device, storage medium and terminal
CN111381925A (en) GUI (graphical user interface) fragment type rendering method and device based on dirty rectangle mechanism
CN110865863A (en) Interface display method and device for fast application and storage medium
CN110362375A (en) Display methods, device, equipment and the storage medium of desktop data
CN113971048A (en) Application program starting method and device, storage medium and electronic equipment
CN114007145A (en) Subtitle display method and display equipment
CN112256354A (en) Application starting method and device, storage medium and electronic equipment
CN116721007A (en) Task control method, system and device, electronic equipment and storage medium
CN109819329B (en) Window display method and smart television
CN106874010A (en) A kind of method of the quick paging loadings of ListView in android system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant