CN107256179A - Screen saver display method and device and electronic equipment - Google Patents

Screen saver display method and device and electronic equipment Download PDF

Info

Publication number
CN107256179A
CN107256179A CN201710317502.0A CN201710317502A CN107256179A CN 107256179 A CN107256179 A CN 107256179A CN 201710317502 A CN201710317502 A CN 201710317502A CN 107256179 A CN107256179 A CN 107256179A
Authority
CN
China
Prior art keywords
screen protection
screen
terminal
display
time
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
CN201710317502.0A
Other languages
Chinese (zh)
Other versions
CN107256179B (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201710317502.0A priority Critical patent/CN107256179B/en
Publication of CN107256179A publication Critical patent/CN107256179A/en
Application granted granted Critical
Publication of CN107256179B publication Critical patent/CN107256179B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention discloses a display method and device of a screen saver and electronic equipment. The method comprises the following steps: determining a first time to create a first screen saver process, the first screen saver process being a screen saver process of the first screen saver; if a second screen saver process exists in the terminal, acquiring second time for creating the second screen saver process, wherein the second screen saver process is a screen saver process of a second screen saver, and the second screen saver is a screen saver except the first screen saver; if the second time is later than the first time, when the terminal is in a screen-off state, the first screen saver process is recycled, and the first screen saver process is created after the second time; and when a screen lightening instruction aiming at the display screen of the terminal is received, displaying the first screen saver on the display screen of the terminal. By implementing the embodiment of the invention, the screen saver display time of the screen saver can be improved, and the value of the screen saver can be improved.

Description

A kind of display methods of screen protection, device and electronic equipment
Technical field
The present invention relates to field of computer technology, and in particular to a kind of display methods of screen protection, device and electronic equipment.
Background technology
With the development of terminal technology, various screen protections are arisen at the historic moment, and typically have multiple screen protections in terminal.Cause This, how to ensure the preferential display of some screen protection in the terminal is the hot issue of current research.
The content of the invention
The embodiment of the present invention provides a kind of display methods of screen protection, device and electronic equipment, can improve the screen protection of screen protection Display opportunity.
First aspect of the embodiment of the present invention provides a kind of display methods of screen protection, and methods described is applied in terminal, described At least include the first screen protection to be shown in terminal, methods described includes:
It is determined that creating the very first time of the first screen protection process, the first screen protection process is the screen protection of first screen protection Process;
If there is the second screen protection process in the terminal, the second time for creating the second screen protection process is obtained, The second screen protection process is the screen protection process of the second screen protection, and second screen protection is the screen protection in addition to first screen protection;
If second time is later than the very first time, when the terminal is in and goes out screen state, to described the One screen protection process is recycled, and the first screen protection process is created after second time;
When receiving the bright screen instruction for the display screen of the terminal, in the display screen display institute of the terminal State the first screen protection.
Accordingly, second aspect of the embodiment of the present invention also provides a kind of display device of screen protection, the display device of the screen protection It can set in the terminal, the first screen protection to be shown is at least included in the terminal, described device includes:
Determining module, the very first time for determining the first screen protection process of establishment;The first screen protection process is described The screen protection process of one screen protection;
Acquisition module, if there is the second screen protection process in the terminal for detecting, obtains and creates described second Second time of screen protection process;The second screen protection process is the screen protection process of second screen protection;
Creation module, if being later than the very first time for second time, the screen shape that goes out is in the terminal During state, the first screen protection process is recycled, the first screen protection process is created after second time;
Display module, for when receiving the bright screen instruction for the display screen of the terminal, in the aobvious of the terminal Show the first screen protection described in screen display.
The third aspect of the embodiment of the present invention is additionally provided at least to be included waiting to show in a kind of electronic equipment, the electronic equipment The first screen protection shown, the electronic equipment includes:Processor, memory, communication interface and communication bus;
The processor, the memory and the communication interface are connected by the bus and completed mutual lead to Letter;The memory storage executable program code;The processor is by reading the executable journey stored in the memory Sequence code runs program corresponding with the executable program code, for performing a kind of display methods of screen protection;Its In, methods described includes:
It is determined that creating the very first time of the first screen protection process, the first screen protection process is the screen protection of first screen protection Process;
If there is the second screen protection process in the electronic equipment, obtain and create the second of the second screen protection process Time, the second screen protection process is the screen protection process of the second screen protection, and second screen protection is in addition to first screen protection Screen protection;
If second time is later than the very first time, when the electronic equipment is in and goes out screen state, to institute State the first screen protection process to be recycled, the first screen protection process is created after second time;
When receiving the bright screen instruction for the display screen of the electronic equipment, in the display screen of the electronic equipment Upper display first screen protection.
Fourth aspect of the embodiment of the present invention provides a kind of computer program product, wherein, when the computer program product In instruction by computing device when, perform a kind of display methods of screen protection.
The aspect of the embodiment of the present invention the 5th provides a kind of storage medium, wherein, when the instruction in the storage medium is by end During the computing device at end so that the terminal is able to carry out a kind of display methods of screen protection.
In the embodiment of the present invention, the creation time if there is the screen protection process of the second screen protection is later than the screen of the first screen protection The creation time of guarantor's process, when terminal is in and goes out screen state, reclaims the screen protection process of the first screen protection, and create the first screen protection Screen protection process, can improve the success rate of the screen protection process creation of the first screen protection, and on the running memory influence of terminal compared with It is small, when terminal receives the instruction of bright screen, first screen protection is shown, the screen protection that can improve screen protection shows opportunity, it is possible to Improve the value of screen protection.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be in embodiment The required accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are only some realities of the present invention Example is applied, for those of ordinary skill in the art, on the premise of not paying creative work, can also be attached according to these Figure obtains other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the display methods for screen protection that first embodiment of the invention is provided;
Fig. 2 is a kind of schematic flow sheet of the display methods for screen protection that second embodiment of the invention is provided;
Fig. 3 is a kind of structural representation of the display device for screen protection that first embodiment of the invention is provided;
Fig. 4 is a kind of structural representation of the display device for screen protection that second embodiment of the invention is provided;
Fig. 5 is the structural representation for a kind of electronic equipment that third embodiment of the invention is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its His embodiment, belongs to the scope of protection of the invention.
The display methods of screen protection provided in an embodiment of the present invention, device and electronic equipment are described in detail below.
It should be noted that, the screen protection described in the embodiment of the present invention can refer to one kind that control is carried in terminal Prompting interface, for example, when terminal receives the instruction of unblock display screen, receives bright screen instruction or receive prompt message, Creating the screen protection of screen protection process will be shown on the display screen of terminal.In addition, because screen protection is shown in the aobvious of terminal at first In display screen, impression of the user to the screen protection can be deepened, and bring good screen protection to show experience to user, and then can be with body The value of the now screen protection, thus the opportunity that screen protection of the present invention is shown refer to screen protection terminal need display screen protection when, at first It is shown on the display screen of terminal.
Referring to Fig. 1, a kind of schematic flow sheet of the display methods for screen protection that Fig. 1 provides for first embodiment of the invention, The display methods of the screen protection can be performed by the display device of screen protection, and the display device of the screen protection can be set in the terminal, At least include the first screen protection to be shown in the terminal.As shown in figure 1, the display methods of the screen protection may comprise steps of:
S101, the very first time for determining the first screen protection process of establishment, the first screen protection process is the screen of first screen protection Guarantor's process.
In the embodiment of the present invention, terminal can create the first screen protection process for the first screen protection, so that terminal is being received To unlock the terminal display screen instruction, bright screen instruction or receive prompt message etc. need display screen protection when, first Screen protection may be displayed on the display screen of the terminal, and terminal can be by detecting that daily record (log) file, detection timeline enter The modes such as journey determine the very first time of the first screen protection process, and wherein daily record (log) file can be used for sending out in record terminal Raw event (for example, terminal creates the screen protection process of screen protection), timeline processes can be used for record screen protection title, create The temporal information of screen protection process.The very first time can be end time or the establishment first for the first screen protection process that creates Between at the beginning of screen protection process, or other are to creating in the first screen protection process related times, the embodiment of the present invention not Limit.
It should be noted that terminal in the embodiment of the present invention include smart mobile phone (such as Android phone, iOS mobile phones, Windows Phone mobile phones etc.), tablet personal computer, palm PC, notebook computer, mobile internet device (Mobile Internet Devices, MID) or Wearable etc. at least include the equipment of the first screen protection to be shown, above-mentioned terminal is only It is citing, and it is non exhaustive, including but not limited to above-mentioned terminal.
(scored higher screen for example, being marked as user in addition, first screen protection can be the screen protection specified in terminal Guarantor, the less screen protection of power consumption take less screen protection of Installed System Memory etc.), first screen protection can also be in terms of other Consider the screen protection determined, second screen protection can be any screen protection in addition to first screen protection in the terminal, can also be this The screen protection specified in terminal is (for example, being marked as the larger screen protection of the screen protection of malice screen protection, power consumption or taking Installed System Memory Larger screen protection etc.), second screen protection can also be the last screen protection for creating screen protection process in present terminal.
If there is the second screen protection process in S102, the terminal, when obtaining create the second screen protection process second Between, the second screen protection process is the screen protection process of the second screen protection, and second screen protection is the screen protection in addition to first screen protection.
In the embodiment of the present invention, terminal can be by detecting the modes such as daily record (log) file, detection timeline processes Judge to whether there is the second screen protection process in the terminal, there is the second screen protection process in the terminal if detected, obtain wound The second time of the second screen protection process is built, the second screen protection process is the screen protection process of second screen protection.
Wherein, second time can be the end time for the second screen protection process that creates or create the second screen protection Between at the beginning of process, or other times related to creating the second screen protection process.Further, the second time and the There is certain incidence relation in one time, if for example, the very first time is the end time for the first screen protection process that creates, second Time should be the end time for the second screen protection process that creates.
As a kind of optional embodiment, step S101, S102 determines that the mode of the very first time and the second time can lead to Cross following steps realization:The process creation information of the first screen protection and the second screen protection in the terminal is obtained, the process creation packet Include Apply Names, create the temporal information of screen protection process;The time letter of establishment screen protection process in the process creation information Breath, determines the very first time and second time.
In the embodiment of the present invention, terminal can be by detecting the process creation information in terminal, and uses default information Analysis rule determines the process creation information of the first screen protection and the second screen protection from the process creation information, and is entered according to this Journey creates the temporal information of the establishment screen protection process in information, determines the very first time and second time.For example, can lead to The mode for crossing the title that screen protection is searched in process creation information determines the process creation letter of the first screen protection and the second screen protection Breath, can also determine the first screen protection according to modes such as the suffix names of file of process creation information of screen protection pre-set With the screen protection process creation information of the second screen protection, and then can be in the process creation information establishment screen protection process when Between information, determine the very first time and second time.
If S103, second time are later than the very first time, the terminal be in go out screen state when, to this first Screen protection process is recycled, and the first screen protection process is created after second time.
In the embodiment of the present invention, when terminal needs display screen protection, if screen protection can be shown in terminal in the very first time Display screen on, impression of the user to the screen protection can be deepened, and bring good screen protection to show experience, Jin Erke to user To embody the value of the screen protection.It can be seen from the principle of terminal works, screen protection be shown in sequencing on terminal display screen with The time order and function order for the screen protection process that terminal is created for the screen protection is relevant, i.e., terminal is receiving showing for the unblock terminal The instruction of display screen, receive bright screen instruction or receive prompt message etc. need display screen protection when, terminal will first show wound Build the later screen protection of screen protection process.
For example, there is the screen protection process created for screen protection A and screen protection B, screen protection A screen protection process in the terminal Creation time is 8:20:40, screen protection B the screen protection process creation time are 8 on the same day:19:38, the terminal receive it is bright During screen instruction, screen protection A will be shown on the display screen of terminal at first, and the slide of display screen is directed in detection user When, the corresponding screen protections of screen protection B can be just shown on the display screen of terminal.
In the embodiment of the present invention, if the display screen of terminal is in opening, at this moment terminal may perform other Business, creates the first screen protection process, very big burden may be caused to terminal operating internal memory again in this case, and can The success rate for creating the first screen protection process again can be affected, while in order to avoid the first screen protection process Occupy system memory space.If so second time is later than the very first time, and when the terminal is in and goes out screen state, The first screen protection process is recycled, and creates after second time the first screen protection process.
S104, receive for the terminal display screen bright screen instruction when, in the display screen display institute of the terminal State the first screen protection.
In the embodiment of the present invention, because the first screen protection process creation time was later than the creation time of the second screen protection process, because This, can be first described in the display screen display in the terminal when receiving the bright screen instruction for the display screen of the terminal Screen protection so that the first screen protection obtains display opportunity.
As a kind of optional embodiment, when receiving the unlock instruction for the display screen of the terminal, in the terminal Display screen display second screen protection.
In the embodiment of the present invention, because the second screen protection process creation time was later than the creation time of the first screen protection process, because This terminal when receiving the unlock instruction for the display screen of the terminal, can the terminal display screen display this Two screen protections.
In the embodiment of the present invention, the creation time if there is the screen protection process of the second screen protection is later than the screen of the first screen protection The creation time of guarantor's process, when terminal is in and goes out screen state, reclaims the screen protection process of the first screen protection, and create the first screen protection Screen protection process, can improve the success rate of the screen protection process creation of the first screen protection, and on the running memory influence of terminal compared with It is small, when terminal receives the instruction of bright screen, first screen protection is shown, the screen protection that can improve screen protection shows opportunity, it is possible to Improve the value of screen protection.
Referring to Fig. 2, a kind of schematic flow sheet of the display methods for screen protection that Fig. 2 provides for second embodiment of the invention, The display methods of the screen protection can be performed by the display device of screen protection, and the display device of the screen protection can be set in the terminal, At least include the first screen protection to be shown in the terminal.Specifically, the display methods of the screen protection shown in Fig. 2 can also include Following steps:
S201, the very first time for determining the first screen protection process of establishment, the first screen protection process is the screen protection of first screen protection Process.
S202, detect the screen protection that screen protection process has been created in the terminal.
In the embodiment of the present invention, terminal can be by detecting the modes such as daily record (log) file, detection timeline processes To obtain the screen protection that screen protection process has been created in terminal.
S203, determine from the screen protection that this is detected to create the time first object screen protection the latest of screen protection process.
In the embodiment of the present invention, it can be seen from the principle of terminal works, the priority that screen protection is shown on terminal display screen is suitable The time order and function order for the screen protection process that sequence and terminal are created for the screen protection is relevant, i.e., terminal receive bright screen instruct or Person is when receiving prompt message etc. and needing display screen protection, and terminal will first show the later screen protection of establishment screen protection process.So eventually End can determine that the terminal creates the first object screen protection of screen protection process-time the latest from the screen protection that this is detected, so as to Whether may further determine that the first object screen protection is the desired screen protection shown at first of user.
S204, judge whether the first object screen protection is first screen protection, if it is not, terminal can perform step S205, if it is, terminal can not perform following arbitrary steps.
In the embodiment of the present invention, in order that the first screen protection can need to show at first during display screen protection in terminal, terminal can To judge whether the first object screen protection is first screen protection.
If S205, the first object screen protection are not first screen protections, by the first object screen protection be defined as this second Screen protection, and the screen protection process of the first object screen protection is defined as the second screen protection process.
In the embodiment of the present invention, if the first object screen protection is not first screen protection, illustrate to create screen protection process-time Screen protection the latest is not the first screen protection, it is possible to which the first object screen protection is defined as into second screen protection, and by described first The screen protection process of target screen protection is defined as the second screen protection process, and the screen of the first screen protection is caused so as to further processing The creation time of guarantor's process is the latest.
Further, if the first object screen protection is first screen protection, the screen protection process for illustrating the first screen protection is to build the latest Vertical, terminal can show first screen protection at first when needing display screen protection, and then terminal can not perform following any step Suddenly.
As a kind of optional embodiment, step S202~S205 determines that the mode of the second screen protection can be by following step It is rapid to realize:The screen protection process of the second target screen protection is judged whether, the second target screen protection is the screen in preset screen protection list Protect;If there is the screen protection process of the second target screen protection, the second target screen protection is defined as second screen protection, and will The screen protection process of the second target screen protection is defined as the second screen protection process.
In the embodiment of the present invention, usual user is not intended to detect screen protections all in terminal (in addition to the first screen protection ) screen protection process whether is created, e.g., user may only want to screen protection, the power consumption for detecting to be marked as malice screen protection in terminal The larger screen protection of amount takes whether the larger screen protection of Installed System Memory creates screen protection process, and in this case, terminal can be this A little screen protections pre-set screen protection list (for example, terminal can be advance more than the screen protection of predetermined threshold value for that will take Installed System Memory Screen protection list is set), so as to quickly and efficiently detect the screen protection for needing to detect.
Specifically, terminal can decide whether there is the screen that the second target screen protection being directed in preset screen protection list is created Guarantor's process, if exist for the second target screen protection create screen protection process, by the second target screen protection be defined as this second Screen protection.Especially, if it is determined that there is the screen protection process created for multiple screen protections in the preset screen protection list, will can create The screen protection of screen protection process-time the latest is built to be defined as the second screen protection or user's minimum screen protection of scoring is defined as into the second screen Protect, a screen protection can also be randomly choosed from the multiple screen protections for creating screen protection process as the second screen protection, can also be from it A screen protection is selected to be used as the second screen protection, the embodiment of the present invention from the multiple screen protections for creating screen protection process from the aspect of him Do not limit.
In addition, if determining that the screen protection being directed in the preset screen protection list, which is not present, creates screen protection process, the terminal can be with Determine the second screen protection by other means.Wherein, above-mentioned preset screen protection list include can be in addition to the first screen protection it is all Screen protection, can also only include the part screen protection in addition to the first screen protection (for example, being marked as the screen protection of malice screen protection, power consumption Larger screen protection or the larger screen protection of occupancy Installed System Memory etc.).
S206, the second time for obtaining establishment the second screen protection process;The second screen protection process is the screen of second screen protection Guarantor's process.
If S207, second time are later than the very first time, the terminal be in go out screen state when, to this first Screen protection process is recycled, and the first screen protection process is created after second time.
In the embodiment of the present invention, if second time is later than the very first time, illustrate to create screen protection for the second screen protection The time of process is later than the time that screen protection process is created for the first screen protection, and the terminal can be carried out to the first screen protection process Recycling, that is, close the first screen protection process, and deletes the first screen protection process from terminal, to avoid first screen protection from entering Cheng Zhanyou system spaces, and create the first screen protection process again, so that first screen protection can be when needing display screen protection the One time was shown on terminal display screen.
As a kind of optional embodiment, after step S207 is performed, terminal can also carry out following steps:Judge Whether second screen protection is in preset screen protection list;If second screen protection is not in the preset screen protection list, by second screen Guarantor is added in the preset screen protection list.
In the embodiment of the present invention, if the time for creating screen protection process for the second screen protection is later than for the first screen protection wound Build the time of screen protection process, the time that may create screen protection process for the second screen protection next time is still later than for the first screen protection wound The time of screen protection process is built, during for detection next time, can targetedly detect and create screen protection process for second screen protection Time whether be later than the time that screen protection process is created for the first screen protection, the second screen protection can be added to a row by terminal In table, to reduce the scope of detection next time, and detection efficiency is further improved.
Specifically, because second screen protection may be added in preset screen protection list, in order to avoid repetition should Second screen protection is added in preset screen protection list, so terminal may determine that second screen protection whether in preset screen protection list, If second screen protection is added in the preset screen protection list by second screen protection not in the preset screen protection list, if should Second screen protection can not be added in the preset screen protection list by the second screen protection in the preset screen protection list.
S208, receive for the terminal display screen bright screen instruction when, in the display screen display institute of the terminal State the first screen protection.
As a kind of optional embodiment, when the terminal is in and goes out screen state, following steps can be performed:
Obtain the number of times that the first screen protection process is created in preset time period.
When the number of times is less than preset times threshold value, this step recycled to the first screen protection process is performed Suddenly.
In the embodiment of the present invention, it can be seen from the performance of terminal, it is more to create screen protection process number of times, can be to the fortune of terminal Adversely affected in terms of scanning frequency degree and Installed System Memory, so terminal, which can be obtained, creates first screen in preset time period The number of times of guarantor's process, when the number of times is less than preset times threshold value, performs being recycled to the first screen protection process for this The step of.For example, the number of times for creating the first screen protection process within 12 hours again can be arranged on no more than 2 times.
It should be noted that the explanation of the step in the present embodiment may be referred to the corresponding step in first embodiment Illustrate, will not be repeated here.
In the embodiment of the present invention, terminal can obtain terminal and create the screen protection of screen protection process-time the latest, and be created the latest When building the screen protection of screen protection process and being not the first screen protection, the first screen protection process is created again, the first screen protection process be this first The screen protection process of screen protection, can avoid detecting the creation time of screen protection process all in terminal, improve detection speed Degree and efficiency, when terminal receives the instruction of bright screen, show first screen protection, and the screen protection that can improve screen protection shows opportunity, And the value of screen protection can be improved.
Referring to Fig. 3, a kind of structural representation of the display device for screen protection that Fig. 3 provides for first embodiment of the invention, The display device of the screen protection can be set in the terminal, and the terminal can be various intelligent terminals, including but not limited to flat board electricity At least include the first screen protection to be shown in the terminals such as brain, mobile phone, intelligent wearable device, the terminal.As shown in figure 3, the screen The display device of guarantor can include:
Determining module 301, the very first time for determining the first screen protection process of establishment;The first screen protection process is institute State the screen protection process of the first screen protection.
Acquisition module 302, if there is the second screen protection process in the terminal for detecting, obtains and creates described Second time of the second screen protection process;The second screen protection process is the screen protection process of second screen protection.
Creation module 303, if being later than the very first time for second time, is in the terminal and goes out During screen state, the first screen protection process is recycled, first screen protection is created after second time and is entered Journey.
Display module 304, for when receiving the bright screen instruction for the display screen of the terminal, in the terminal Display screen display described in the first screen protection.
In the embodiment of the present invention, the creation time if there is the screen protection process of the second screen protection is later than the screen of the first screen protection The creation time of guarantor's process, when terminal is in and goes out screen state, reclaims the screen protection process of the first screen protection, and create the first screen protection Screen protection process, when receiving the bright screen instruction for the display screen of the terminal, described in the display screen display in the terminal First screen protection, the screen protection that can improve screen protection shows opportunity, it is possible to improve the value of screen protection.
Also referring to Fig. 4, a kind of structure of the display device for screen protection that Fig. 4 provides for second embodiment of the invention is shown It is intended to, the display device of the screen protection can be set in the terminal, the terminal can be various intelligent terminals, include but is not limited to At least include the first screen protection to be shown in the terminals such as tablet personal computer, mobile phone, intelligent wearable device, the terminal, Fig. 4 be Optimization is obtained on the basis of Fig. 3, and the device is except including the determining module 301 in Fig. 3, acquisition module 302, creation module 303 and display module 304, the device also includes detection module 305, judge module 306, wherein:
The display module 304, is additionally operable to when receiving the unlock instruction for the display screen of the terminal, in institute State the second screen protection described in the display screen display of terminal.
Detection module 305, the screen protection of screen protection process has been created for detecting in the terminal;
The determining module 301, is additionally operable to determine the time for creating screen protection process from the screen protection detected the latest First object screen protection;
Judge module 306, for judging whether the first object screen protection is first screen protection;
The determining module 301, will be described if it is not first screen protection to be additionally operable to the first object screen protection First object screen protection is defined as second screen protection, and the screen protection process of the first object screen protection is defined as into described second Screen protection process.
The judge module 306, is additionally operable to judge whether the screen protection process of the second target screen protection, second mesh It is the screen protection in preset screen protection list to mark screen protection;
The determining module 301, if the screen protection process that there is the second target screen protection is additionally operable to, by described second Target screen protection is defined as second screen protection, and the screen protection process of the second target screen protection is defined as into second screen protection Process.
The acquisition module 302, is additionally operable to obtain the number of times that the first screen protection process is created in preset time period;
The creation module 303, is additionally operable to when the number of times is less than preset times threshold value, performs described to described The step of first screen protection process is recycled.
In the embodiment of the present invention, the creation time if there is the screen protection process of the second screen protection is later than the screen of the first screen protection The creation time of guarantor's process, when terminal is in and goes out screen state, reclaims the screen protection process of the first screen protection, and create the first screen protection Screen protection process, when receiving the bright screen instruction for the display screen of the terminal, described in the display screen display in the terminal First screen protection, the screen protection that can improve screen protection shows opportunity, it is possible to improve the value of screen protection.
Referring to Fig. 5, Fig. 5 is the structural representation for a kind of electronic equipment that third embodiment of the invention is provided, such as figure institute Show, the electronic equipment can include:At least one processor 501, such as CPU (Central Processing Unit, center Processor), at least one communication interface 503, memory 504, at least one communication bus 502.Wherein, communication bus 502 is used Connection communication between these components are realized.Wherein, communication interface 503 can include display screen (Display), keyboard (Keyboard), optional communication interface 503 can also include wireline interface, the wave point of standard.Memory 504 can be High-speed RAM memory (Ramdom Access Memory, effumability random access memory) or non-unstable Memory (non-volatile memory), for example, at least one magnetic disk storage.Memory 504 optionally can also be At least one is located remotely from the storage device of aforementioned processor 501.Wherein processor 501 can be with reference to described by Figure 4 and 5 Batch processing code is stored in device, memory 504, and processor 501 calls the program code stored in memory 504, with For performing a kind of display methods of screen protection, i.e., for performing following operation:
It is determined that creating the very first time of the first screen protection process, the first screen protection process is the screen protection of first screen protection Process;
If there is the second screen protection process in the electronic equipment, obtain and create the second of the second screen protection process Time, the second screen protection process is the screen protection process of the second screen protection, and second screen protection is in addition to first screen protection Screen protection;
If second time is later than the very first time, when the electronic equipment is in and goes out screen state, to institute State the first screen protection process to be recycled, the first screen protection process is created after second time;
When receiving the bright screen instruction for the display screen of the electronic equipment, in the display screen of the electronic equipment Upper display first screen protection.
In the embodiment of the present invention, processor 501 calls the program code in memory 504, is additionally operable to perform following behaviour Make:
When receiving the unlock instruction for the display screen of the electronic equipment, in the display screen of the electronic equipment Upper display second screen protection.
In the embodiment of the present invention, processor 501 calls the program code in memory 504, is additionally operable to perform following behaviour Make:
Detect the screen protection that screen protection process has been created in the electronic equipment;
The first object screen protection of the time of establishment screen protection process the latest is determined from the screen protection detected;
Whether judge the first object screen protection is first screen protection;
If the first object screen protection is not first screen protection, the first object screen protection is defined as described Second screen protection, and the screen protection process of the first object screen protection is defined as the second screen protection process.
In the embodiment of the present invention, processor 501 calls the program code in memory 504, is additionally operable to perform following behaviour Make:
The screen protection process of the second target screen protection is judged whether, the second target screen protection is in preset screen protection list Screen protection;
If there is the screen protection process of the second target screen protection, the second target screen protection is defined as described second Screen protection, and the screen protection process of the second target screen protection is defined as the second screen protection process.
In the embodiment of the present invention, processor 501 calls the program code in memory 504, is additionally operable to perform following behaviour Make:
Obtain the number of times that the first screen protection process is created in preset time period;
When the number of times is less than preset times threshold value, execution is described to be carried out at recovery to the first screen protection process The step of reason.
In the embodiment of the present invention, the creation time if there is the screen protection process of the second screen protection is later than the screen of the first screen protection The creation time of guarantor's process, when terminal is in and goes out screen state, reclaims the screen protection process of the first screen protection, and create the first screen protection Screen protection process, when receiving the bright screen instruction for the display screen of the terminal, described in the display screen display in the terminal First screen protection, the screen protection that can improve screen protection shows opportunity, it is possible to improve the value of screen protection.
Wherein, communication bus 502 can be Peripheral Component Interconnect standard (peripheral component Interconnect, abbreviation PCI) bus or EISA (extended industry standard Architecture, abbreviation EISA) bus etc..The communication bus 502 can be divided into address bus, data/address bus, control always Line etc..For ease of representing, only represented in Fig. 5 with a thick line, it is not intended that only one bus or a type of total Line.
Wherein, memory 504 can include volatile memory (English:Volatile memory), for example deposit at random Access to memory (English:Random-access memory, abbreviation:RAM);Memory can also include nonvolatile memory (English:Non-volatile memory), such as flash memory (English:Flash memory), hard disk (English:hard Disk drive, abbreviation:HDD) or solid state hard disc (English:Solid-state drive, abbreviation:SSD);Memory 504 is also The combination of the memory of mentioned kind can be included.
Wherein, processor 501 can be central processing unit (English:Central processing unit, abbreviation: CPU), network processing unit (English:Network processor, abbreviation:NP) or CPU and NP combination.
Wherein, processor 501 can further include hardware chip.Above-mentioned hardware chip can be special integrated electricity Road (English:Application-specific integrated circuit, abbreviation:ASIC), PLD (English Text:Programmable logic device, abbreviation:PLD) or its combination.Above-mentioned PLD can be complicated programmable logic device Part (English:Complex programmable logic device, abbreviation:CPLD), field programmable gate array (English Text:Field-programmable gate array, abbreviation:FPGA), GAL (English:generic array Logic, abbreviation:GAL) or its any combination.
Alternatively, the memory 504 is additionally operable to storage program instruction.The processor 501 can call described program Instruction, realizes the display methods of the screen protection as shown in the application Fig. 1 and 2 embodiments.
The embodiments of the invention provide a kind of computer program product, wherein, the instruction in the computer program product By computing device when, the display methods of the screen protection as shown in the application Fig. 1 and 2 embodiments can be performed.
The embodiment of the present invention additionally provides a kind of storage medium, wherein, when the instruction in the storage medium is by terminal When managing device execution so that the terminal is able to carry out the display methods of the screen protection as shown in the application Fig. 1 and 2 embodiments.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can To instruct the hardware of correlation to complete by computer program, described program can be stored in embodied on computer readable storage In medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can For magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosed is only a kind of preferred embodiment of the invention, can not limit the present invention's with this certainly Interest field, one of ordinary skill in the art will appreciate that all or part of flow of above-described embodiment is realized, and according to the present invention The equivalent variations that claim is made, still fall within and invent covered scope.

Claims (10)

1. a kind of display methods of screen protection, it is characterised in that methods described is applied in terminal, at least includes treating in the terminal First screen protection of display, methods described includes:
It is determined that creating the very first time of the first screen protection process, the first screen protection process is the screen protection process of first screen protection;
If there is the second screen protection process in the terminal, the second time for creating the second screen protection process is obtained, it is described Second screen protection process is the screen protection process of the second screen protection, and second screen protection is the screen protection in addition to first screen protection;
If second time is later than the very first time, when the terminal is in and goes out screen state, to first screen Guarantor's process is recycled, and the first screen protection process is created after second time;
When receiving the bright screen instruction for the display screen of the terminal, first described in the display screen display in the terminal Screen protection.
2. according to the method described in claim 1, it is characterised in that first described in the display screen display in the terminal After screen protection, methods described also includes:
When receiving the unlock instruction for the display screen of the terminal, second described in the display screen display in the terminal Screen protection.
3. method according to claim 1 or 2, it is characterised in that methods described also includes:
Detect the screen protection that screen protection process has been created in the terminal;
The first object screen protection of the time of establishment screen protection process the latest is determined from the screen protection detected;
Whether judge the first object screen protection is first screen protection;
If the first object screen protection is not first screen protection, the first object screen protection is defined as second screen Protect, and the screen protection process of the first object screen protection is defined as the second screen protection process.
4. method according to claim 1 or 2, it is characterised in that methods described also includes:
The screen protection process of the second target screen protection is judged whether, the second target screen protection is the screen in preset screen protection list Protect;
If there is the screen protection process of the second target screen protection, the second target screen protection is defined as second screen protection, And the screen protection process of the second target screen protection is defined as the second screen protection process.
5. method according to claim 1 or 2, it is characterised in that described when the terminal is in and goes out screen state, described Method also includes:
Obtain the number of times that the first screen protection process is created in preset time period;
When the number of times is less than preset times threshold value, the described step recycled to the first screen protection process is performed Suddenly.
6. a kind of display device of screen protection, it is characterised in that the display device of the screen protection is settable in the terminal, the terminal In at least include the first screen protection to be shown, described device includes:
Determining module, the very first time for determining the first screen protection process of establishment;The first screen protection process is first screen The screen protection process of guarantor;
Acquisition module, if there is the second screen protection process in the terminal for detecting, obtains and creates second screen protection Second time of process;The second screen protection process is the screen protection process of second screen protection;
Creation module, if being later than the very first time for second time, when the terminal is in and goes out screen state, The first screen protection process is recycled, the first screen protection process is created after second time;
Display module, for when receiving the bright screen instruction for the display screen of the terminal, in the display screen of the terminal Upper display first screen protection.
7. device according to claim 6, it is characterised in that
The display module, is additionally operable to when receiving the unlock instruction for the display screen of the terminal, in the terminal Show the second screen protection described in screen display.
8. the device according to claim 6 or 7, it is characterised in that
Described device also includes:
Detection module, the screen protection of screen protection process has been created for detecting in the terminal;
The determining module, is additionally operable to determine the first mesh of the time for creating screen protection process the latest from the screen protection detected Mark screen protection;
Described device also includes:
Judge module, for judging whether the first object screen protection is first screen protection;
The determining module, if it is not first screen protection to be additionally operable to the first object screen protection, by the first object Screen protection is defined as second screen protection, and the screen protection process of the first object screen protection is defined as into the second screen protection process.
9. the device according to any one of claim 6 or 7, it is characterised in that
The judge module, is additionally operable to judge whether the screen protection process of the second target screen protection, and the second target screen protection is Screen protection in preset screen protection list;
The determining module, if the screen protection process that there is the second target screen protection is additionally operable to, by the second target screen protection It is defined as second screen protection, and the screen protection process of the second target screen protection is defined as the second screen protection process.
10. a kind of electronic equipment, it is characterised in that at least include the first screen protection to be shown, the electricity in the electronic equipment Sub- equipment includes:Processor, memory, communication interface and communication bus;
The processor, the memory and the communication interface are connected by the bus and complete mutual communication;Institute State memory storage executable program code;The processor is by reading the executable program code stored in the memory To run program corresponding with the executable program code, for performing a kind of display methods of screen protection;Wherein, the side Method includes:
It is determined that creating the very first time of the first screen protection process, the first screen protection process is the screen protection process of first screen protection;
If there is the second screen protection process in the electronic equipment, the second time for creating the second screen protection process is obtained, The second screen protection process is the screen protection process of the second screen protection, and second screen protection is the screen protection in addition to first screen protection;
If second time is later than the very first time, when the electronic equipment is in and goes out screen state, to described the One screen protection process is recycled, and the first screen protection process is created after second time;
When receiving the bright screen instruction for the display screen of the electronic equipment, in the display screen display of the electronic equipment First screen protection.
CN201710317502.0A 2017-05-05 2017-05-05 Screen saver display method and device and electronic equipment Active CN107256179B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710317502.0A CN107256179B (en) 2017-05-05 2017-05-05 Screen saver display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710317502.0A CN107256179B (en) 2017-05-05 2017-05-05 Screen saver display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN107256179A true CN107256179A (en) 2017-10-17
CN107256179B CN107256179B (en) 2021-01-05

Family

ID=60027538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710317502.0A Active CN107256179B (en) 2017-05-05 2017-05-05 Screen saver display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN107256179B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080016438A1 (en) * 2006-07-11 2008-01-17 Lg Electronics Inc. Mobile communication terminal and method for displaying a word or phrase on an idle screen using a mini planar function
CN101287198A (en) * 2007-04-11 2008-10-15 华为技术有限公司 Method, processing device and terminal for determining appearance element in terminal
CN102256008A (en) * 2011-06-17 2011-11-23 中兴通讯股份有限公司 Screensaver customization method, device and system for mobile terminal
CN104123071A (en) * 2013-04-23 2014-10-29 深圳富泰宏精密工业有限公司 Display screen closing prompting system and method and electronic device applying system
CN104767866A (en) * 2014-01-06 2015-07-08 北京汇智无限传媒技术有限公司 Method for automatically replacing wallpaper for mobile terminal and mobile terminal
CN105975267A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 Screen protection method and screen protection system for intelligent terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080016438A1 (en) * 2006-07-11 2008-01-17 Lg Electronics Inc. Mobile communication terminal and method for displaying a word or phrase on an idle screen using a mini planar function
CN101287198A (en) * 2007-04-11 2008-10-15 华为技术有限公司 Method, processing device and terminal for determining appearance element in terminal
CN102256008A (en) * 2011-06-17 2011-11-23 中兴通讯股份有限公司 Screensaver customization method, device and system for mobile terminal
CN104123071A (en) * 2013-04-23 2014-10-29 深圳富泰宏精密工业有限公司 Display screen closing prompting system and method and electronic device applying system
CN104767866A (en) * 2014-01-06 2015-07-08 北京汇智无限传媒技术有限公司 Method for automatically replacing wallpaper for mobile terminal and mobile terminal
CN105975267A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 Screen protection method and screen protection system for intelligent terminal

Also Published As

Publication number Publication date
CN107256179B (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN105159530B (en) A kind of the display object switching method and device of application
US20160004574A1 (en) Method and apparatus for accelerating system running
CN108604152B (en) Unread message prompting method and terminal
CN104426944B (en) Information feedback method, device and terminal
CN105224201A (en) A kind of method of interface display and terminal
CN106096425A (en) System permission starting method, device and equipment
CN104216753A (en) Method for rapidly starting application program for terminal, and terminal
CN104133615A (en) Terminal screen lock interface processing method
CN104636321A (en) Text display method and text display device
CN112286416A (en) Information display method and device and electronic equipment
CN107329659A (en) Permission setting method and device, electronic equipment and storage medium
CN107402804A (en) Background process management-control method, device, storage medium and electronic equipment
CN104898923A (en) Notification content preview control method and device in mobile terminal
CN106372076A (en) Method and device for switching webpages in browsers
CN106126011A (en) The resource occupation method for information display of a kind of application program and mobile terminal
CN106873856B (en) Application icon classification method and device
EP3118731A1 (en) Method and electronic device for inputting character
CN109871685B (en) RTF file analysis method and device
CN104182146A (en) Notification information combination method and device
CN107256179A (en) Screen saver display method and device and electronic equipment
CN111857466A (en) Message display method and device
CN108762996B (en) Touch detection method and device
CN104123066A (en) Terminal
CN105847516A (en) Method and device for managing contact person information
CN110109674A (en) Optimization method, device and the storage medium of time gate

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