CN105117228B - Method for loading suspension window, suspension window loading device and electronic equipment - Google Patents

Method for loading suspension window, suspension window loading device and electronic equipment Download PDF

Info

Publication number
CN105117228B
CN105117228B CN201510535931.6A CN201510535931A CN105117228B CN 105117228 B CN105117228 B CN 105117228B CN 201510535931 A CN201510535931 A CN 201510535931A CN 105117228 B CN105117228 B CN 105117228B
Authority
CN
China
Prior art keywords
suspended window
business
interface
activating business
window
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.)
Expired - Fee Related
Application number
CN201510535931.6A
Other languages
Chinese (zh)
Other versions
CN105117228A (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 CN201510535931.6A priority Critical patent/CN105117228B/en
Publication of CN105117228A publication Critical patent/CN105117228A/en
Application granted granted Critical
Publication of CN105117228B publication Critical patent/CN105117228B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a method for loading a floating window, a floating window loading device and electronic equipment. The method for loading the floating window comprises the following steps: storing a received extended service floating window in the electronic equipment, wherein the extended service floating window comprises a push type floating window and a local type floating window; after the electronic equipment is unlocked, judging whether an interface presented by the electronic equipment after unlocking is a preset interface or not; if so, selecting the extended service floating window from the stored push type floating window and the local type floating window, and loading the selected extended service floating window on the unlocked interface according to a preset floating window loading strategy. By applying the invention, the time required by the user to execute the application program can be reduced, and the harassment of the loaded floating window to the user can be reduced.

Description

A kind of method, suspended window loading device and the electronic equipment of load suspended window
Technical field
The present invention relates to computer viewing window technology more particularly to a kind of method of load suspended window, suspended window loading devices And electronic equipment.
Background technology
With the communication technology, 3G (Third Generation) Moblie (3G, 3rd Generation), the 4G communication technologys are especially moved Development, electronic equipment, for example, that is installed in intelligent mobile phone, personal digital assistant, palm PC and desktop computer answers It is also more and more with program, for the application function of extension application, the business experience of user is promoted, some application programs Operator provides a user activating business for application program in real time by way of pushing suspended window, so that user understands in time What operator was recommended activates business, to meet the applied business demand of user individual.
Suspended window is a kind of form (window) form of expression common in existing electronic equipment, by with transparent or semitransparent Mode be suspended on browser display interface, provide a user some functions of activating business of application program.For example, by outstanding Floating window mode, pushes Domestic News, weather information, game are reached the standard grade information, travel information and bargain goods information etc. to user, Allow user according to the individual demand of itself, is perhaps clicked in suspended window in relevent information by browsing in suspended window Related link information accesses corresponding webpage, to quickly and easily obtain activating business for each operator's push, which Also become a kind of more and more important tactful and promoting service method of each Operator Specific Service marketing.
The method of above-mentioned push suspended window, efficiently activates business although providing users with the convenient to a certain extent, side User, bring preferable business experience to user.But then, the suspended window frequently pushed is also brought to user Inconvenience, or even the harassing and wrecking to user are caused, for example, if user is carrying out normal application in application, if pop-up Suspended window will interrupt the application to application program currently in use, for example, when user is inputted in word using Pinyin method When Chinese character, if inputting longer pinyin character, it is also not converted into Chinese character input, at this time if pop-up suspended window, exports Longer pinyin character is interrupted, and after closing or removing suspended window and re-enter into word, needs to be inputted again in preceding input Pinyin character, lead to repeatedly inputting for user, cause the harassing and wrecking to user, cause needed for user's executing application when Between extend, greatly reduce the business experience of user;Further, activating business only according to operation in the suspended window of push Activating business for quotient pushes, and does not account for the individual demand of user, and user only passively receives so that push The probability that is browsed by user of suspended window it is relatively low.
Invention content
In view of this, the embodiment of the present invention provide it is a kind of load suspended window method, suspended window loading device and electronics set It is standby, it reduces the time needed for user's executing application, reduce harassing and wrecking of the suspended window of load to user.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that:
On the one hand, the embodiment of the present invention provides a kind of method of load suspended window, including:
The suspended window of activating business received is stored in the electronic device, and the suspended window of activating business includes that push class is outstanding Floating window and local class suspended window;
The interface of electronic equipment of screen locking is unlocked;
Judge whether the interface of unlock is default interface, if so, outstanding from the push class suspended window of storage and local class Suspended window of activating business is chosen in floating window, and loads choosing at the interface of the unlock according to pre-set suspended window load strategy The suspended window of activating business taken.
Preferably, before the suspended window of activating business that storage receives described in the electronic device, the method is further Including:
Judge whether the suspended window of activating business received carries real-time extension business, if so, it is real-time to load the carrying The suspended window of activating business activated business, if it is not, executing, described to store activating business of receiving in the electronic device outstanding The flow of floating window.
Preferably, it is described if it is the suspended window of activating business for later, loading the carrying real-time extension business before, institute The method of stating further comprises:
Judge whether the application program run in current interface is application program that pre-set application program is concentrated, such as Fruit is the flow for the suspended window of activating business that storage receives in the electronic device described in execution, and otherwise, executing the load should Carry the flow of the suspended window of activating business of real-time extension business.
Preferably, after the flow for the suspended window of activating business that storage receives in the electronic device described in the execution, The method further includes:
The application program for monitoring the operation executes described load carrying after the operation of the application program of the operation The flow of the suspended window of activating business of real-time extension business.
Preferably, the default interface includes:Desk interface, it is described tactful in institute according to the load of pre-set suspended window State unlock interface load choose suspended window include:
Counter is set, to carry out stored count to the number of unlock interface in predetermined time period, and based on predetermined Period, be arranged accumulative unlock interface number and activate business suspended window mark mapping table;
After desk interface is in the interface for judging unlock, flip-flop number adds 1, obtains the count value of counter, and inquiry is reflected Relation table is penetrated, the suspended window of activating business of the count value mapping obtained, in the extension industry that the desk interface loads Business suspended window.
Preferably, the mapping table packet of the accumulative unlock interface number and suspended window mark of activating business of the setting It includes:
The static mappings relationship of each number of accumulative unlock interface and corresponding suspended window mark of activating business is respectively set Table.
Preferably, the mapping table packet of the accumulative unlock interface number and suspended window mark of activating business of the setting It includes:
The suspended window of activating business stored when the current unlock of statistics is removed from it activating business of having loaded before current unlock Suspended window obtains suspended window collection to be loaded of activating business;
Suspended window collection to be loaded of activating business is ranked up according to pre-set priority policy, by priority ranking The suspended window of activating business that highest suspended window of activating business is mapped as current unlock interface number.
Preferably, the priority policy includes:Time priority, classification priority and click frequency priority, institute State according to pre-set priority policy to suspended window collection to be loaded of activating business be ranked up including:
Time priority sequence, classification priority sequence and click frequency priority sequence are respectively set in advance;
Normalized Time priority coefficient, classification priority factor and click frequency priority factor is respectively set;
The suspended window to be loaded of activating business for extracting suspended window concentration to be loaded of activating business, is looked into according to timestamp information Time priority sequence is ask, the corresponding Time priority of timestamp information is obtained, according to affiliated classified inquiry classification priority Sequence obtains corresponding classification priority, obtains the click frequency of the suspended window to be loaded of activating business, and inquiry click frequency is excellent First grade sequence, the corresponding click frequency priority of click frequency obtained;
It is preferential to calculate separately the Time priority of acquisition and the time priority product of Time priority coefficient, the classification of acquisition Grade and the preferential product of classification of classification priority factor, the point of the click frequency priority of acquisition and click frequency priority factor Hit the preferential product of frequency;
Calculate time priority product, the preferential product of classification and the preferential product of click frequency and, obtain the extension to be loaded The preferential integral of business suspended window;
The corresponding preferential integral of each suspended window to be loaded of activating business that will be calculated, according to from high to low sequence It is ranked up.
Preferably, the method further includes:
Judge that the interface of unlock not to preset interface, judges whether the application program run in current interface is to pre-set The application program concentrated of application program, if so, do not deal with, otherwise, execute the push class suspended window from storage with And suspended window of activating business is chosen in local class suspended window, and according to pre-set suspended window load strategy in the unlock The flow for the suspended window of activating business that interface load is chosen.
Preferably, expanding from being chosen in the push class suspended window and local class suspended window of storage if it is later described Exhibition industry business suspended window, and activating business what the load of the interface of the unlock was chosen according to pre-set suspended window load strategy Before suspended window, the method further includes:
Judge whether electronic equipment current operating conditions meet pre-set suspended window load trigger condition, if so, It executes and chooses suspended window of activating business in the push class suspended window from storage and local class suspended window, and according to setting in advance The flow for the suspended window of activating business that the suspended window load strategy set is chosen in the load of the interface of the unlock, if it is not, then after It is continuous to wait for, until electronic equipment operating status meets pre-set suspended window load trigger condition, execute described from storage Suspended window of activating business is chosen in push class suspended window and local class suspended window, and loads plan according to pre-set suspended window The flow for the suspended window of activating business that slightly load is chosen at the interface of the unlock.
Preferably, the suspended window load trigger condition includes:Electronic equipment EMS memory occupation is less than pre-set memory Occupy threshold value, and/or, CPU does not occur exception.
Preferably, the method further includes:
Locking interface operation instruction is received, discharges tactful releasing memory resource according to pre-set memory.
Preferably, the push class suspended window includes:Weather information suspended window, travel information suspended window, Domestic News are outstanding Floating window, second kill commodity information suspended window, application software upgrade information suspended window;It is described local class suspended window include:Virus The excessively high suspended window of monitoring, alarming suspended window, memory usage, CPU abnormal alarms suspended window, cleaning garbage files suspended window, application Accelerate prompt suspended window, the too low alarm suspended window of battery capacity.
Preferably, the real-time extension business includes:Breaking news event, commodity flash sale, bargain goods second It kills, instant messaging.
On the other hand, the embodiment of the present invention provides a kind of suspended window loading device, including:Memory module, unlocked state with And load-on module, wherein
Memory module, for storing the suspended window of activating business received, the suspension of activating business in the electronic device Window includes push class suspended window and local class suspended window;
Unlocked state is unlocked for the interface of electronic equipment to screen locking;
Load-on module, for judging whether the interface of unlocked state unlock is default interface, if so, being deposited from memory module Suspended window of activating business is chosen in the push class suspended window of storage and local class suspended window, and is added according to pre-set suspended window Carry the suspended window of activating business that strategy is chosen in the load of the interface of the unlock.
Preferably, the push class suspended window includes:Weather information suspended window, travel information suspended window, Domestic News are outstanding Floating window, second kill commodity information suspended window, application software upgrade information suspended window;It is described local class suspended window include:Virus The excessively high suspended window of monitoring, alarming suspended window, memory usage, CPU abnormal alarms suspended window, cleaning garbage files suspended window, application Accelerate prompt suspended window, the too low alarm suspended window of battery capacity.
Preferably, the load-on module includes:Unlock interface judging unit, selection unit and suspended window loading unit, Wherein,
Unlock interface judging unit, for judging whether the interface of unlocked state unlock is default interface, if so, notice Selection unit;
Selection unit, for choosing extension industry from the push class suspended window that memory module stores and local class suspended window Business suspended window;
Suspended window loading unit, for loading choosing at the interface of the unlock according to pre-set suspended window load strategy The suspended window of activating business taken.
Preferably, the suspended window loading unit includes:Mapping table builds subelement and mapping relations inquiry Unit, wherein
Mapping table builds subelement, for counter to be arranged, to time to unlock interface in predetermined time period Number carries out stored count, and is based on predetermined time period, accumulative unlock interface number is arranged and suspended window mark of activating business Mapping table;
Mapping relations inquire subelement, and after at the interface for judging unlock for desk interface, flip-flop number adds 1, obtains The count value of counter is taken, mapping table is inquired, the suspended window of activating business of the count value mapping obtained, in the table What face interface loaded activate business suspended window.
Preferably, the load-on module further comprises:
Default application program judging unit, for judging that the interface of unlock interface judging unit unlock is not default interface, Judge whether the application program run in current interface is application program that pre-set application program is concentrated, if so, not It deals with, otherwise, notifies selection unit.
Preferably, the load-on module further comprises:
Trigger condition judging unit exports to the notice of selection unit for intercepting and capturing unlock interface judging unit, judges electricity Whether sub- equipment current operating conditions meet pre-set suspended window load trigger condition, if so, notice selection unit;Such as Fruit is no, then continues waiting for, until electronic equipment operating status meets pre-set suspended window load trigger condition, notice is chosen Unit.
Preferably, described device further comprises:
Judgment module is received, for judging whether the suspended window of activating business received carries real-time extension business, if It is the suspended window of activating business for loading the carrying real-time extension business, if it is not, by the suspended window output of activating business of reception To memory module.
Preferably, the reception judgment module includes:Receiving unit, the first judging unit, second judgment unit and add Carrier unit, wherein
Receiving unit, for receiving suspended window of activating business, output to the first judging unit;
First judging unit, for judging whether the suspended window of activating business received carries real-time extension business, if It is output to second judgment unit;If it is not, exporting the suspended window of activating business of reception to memory module;
Second judgment unit, for judging whether the application program run in current interface is pre-set application program The application program of concentration, if so, the suspended window of activating business of reception is exported to memory module, otherwise, by the extension of reception Business suspended window is exported to loading unit;
Loading unit, the suspended window of activating business for loading the carrying real-time extension business received.
Preferably, the reception judgment module further comprises:
Operational monitoring unit has been run for monitoring the application program run in current interface in the application program of operation Bi Hou, notice loading unit load the suspended window of activating business for carrying real-time extension business from memory module.
Preferably, described device further comprises:
Locking module discharges tactful releasing memory for receiving locking interface operation instruction according to pre-set memory Resource.
In another aspect, the embodiment of the present invention provides a kind of electronic device, including:Shell, processor, memory, circuit board And power circuit, wherein circuit board is placed in the space interior that shell surrounds, and processor and memory setting are on circuit boards; Power circuit, for being each circuit or the device power supply of above-mentioned electronic equipment;Memory is for storing executable program code; Processor runs program corresponding with executable program code by reading the executable program code stored in memory, uses In execution following steps:
The suspended window of activating business received is stored in the electronic device, and the suspended window of activating business includes that push class is outstanding Floating window and local class suspended window;
After being unlocked operation to the electronic equipment, judge the electronic equipment is presented after unlock interface whether be Default interface;
If it is, suspended window of activating business is chosen from the push class suspended window and local class suspended window of storage, and The suspended window of activating business chosen in the load of the interface of the unlock according to pre-set suspended window load strategy.
Method, suspended window loading device and the electronic equipment of load suspended window provided in an embodiment of the present invention, memory module After receiving and activating business suspended window, first stored, unlocked state is unlocked electronic curtain, and load-on module is monitoring To after the interface of electronic equipment unlock of screen locking, if the interface of unlock is default interface, from the push class suspended window of storage with And suspended window of activating business is chosen in local class suspended window, and according to pre-set suspended window load strategy in the unlock The suspended window of activating business that interface load is chosen.In this way, the operation in conjunction with user to electronic equipment, after unlock and unlock interface Suspended window of activating business is loaded in the case of for default interface, to carry out normal application in application, will not bullet in user Go out suspended window, avoids and the application of application program currently in use is interrupted, effectively reduce needed for user's executing application Time, reduce and user bothered.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the method flow schematic diagram that the embodiment of the present invention loads suspended window;
Fig. 2 is that the embodiment of the present invention carries out suspended window collection to be loaded of activating business according to pre-set priority policy The flow diagram of sequence;
Fig. 3 is the suspended window loading device structural schematic diagram of the embodiment of the present invention;
Fig. 4 is the load-on module structural schematic diagram of the present embodiment;
Fig. 5 is the reception judgment module structural schematic diagram of the present embodiment;
Fig. 6 is the structural schematic diagram of electronic equipment one embodiment of the present invention.
Specific implementation mode
The embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained without creative efforts it is all its Its embodiment, shall fall within the protection scope of the present invention.
Fig. 1 is the method flow schematic diagram that the embodiment of the present invention loads suspended window.Referring to Fig. 1, this method is applied to electronics Equipment, including:
Step 101, the suspended window of activating business received is stored in the electronic device, and the suspended window of activating business includes Push class suspended window and local class suspended window;
In this step, push class suspended window includes:Weather information suspended window, travel information suspended window, Domestic News suspend Window, second kill the suspended window that commodity information suspended window, application software upgrade information suspended window etc. are pushed by network server.Example Such as, for weather information suspended window, including content may include:Temperature information, weather state information, humidity information, wind-force Information, air quality information, following three days temperature informations etc..
Local class suspended window includes:Virus monitor alarm suspended window, the excessively high suspended window of memory usage, CPU abnormal alarms Suspended window, cleaning garbage files suspended window, application acceleration prompt suspended window, the too low alarm suspended window of battery capacity etc. are set by electronics The suspended window that the local application of standby middle installation is monitored and to notify user when generates.In the embodiment of the present invention, It detects in electronic equipment and is abnormal, for example, detecting virus applications, it is found that current memory usage rate is excessively high, deposit from the background Application cause CPU occur abnormal, local garbage files are excessive, there is the game that can accelerate when, difference can be popped up The suspended window of pattern, guiding user enter using corresponding function, rather than only activating business of issuing of pop-up network server is outstanding Floating window, to more preferably promote user experience.At the same time it can also recommend other application to user by suspended window mode, for example, working as When monitoring that electric quantity for electronic equipment is too low, prompt user installation battery class software to save electric quantity for electronic equipment.Certainly, it actually answers In, local class suspended window can also be extended, for example, local class suspended window can also include:Network connection diagnosis is outstanding Floating window, i.e., during electronic equipment connects network, connection error type, reason, the prompt message of solving error of appearance Deng can be shown to user in network connection diagnoses suspended window.
In the embodiment of the present invention, electronic equipment is receiving suspended window of activating business (the push class of network server push The local class suspended window that suspended window and electronic equipment locally generate) after, it is not the suspension of activating business that load receives immediately Window, but the suspended window of activating business of reception is stored, in subsequent applications, according to user to current interface state It operates to determine whether the suspended window of activating business of load store.In this way, it is possible to prevente effectively from the suspended window of activating business received Harassing and wrecking to user, reduce user's executing application interrupt probability, to reduce needed for user's executing application when Between, promote the business experience of user.
In practical application, have for some and activate business in real time, needs the expansion of such carrying real-time extension business Exhibition industry is engaged in suspended window to user's displaying, to avoid the failure for the suspended window of activating business for carrying real-time extension business.Thus, as Alternative embodiment, in the embodiment of the present invention, before the suspended window of activating business that storage receives in the electronic device, this method can To further comprise:
Judge whether the suspended window of activating business received carries real-time extension business, if so, it is real-time to load the carrying The suspended window of activating business activated business, if it is not, executing, described to store activating business of receiving in the electronic device outstanding The flow of floating window.
In this step, real-time extension business includes:Breaking news event, commodity flash sale, bargain goods second kill, immediately The business with the extremely short entry-into-force time such as communication, the suspended window for carrying real-time extension business mainly push class suspended window.About Judge whether carry real-time extension business in the suspended window of activating business received, is known technology, detailed description is omitted here.Example Such as, when there is breaking news event, suspended window is popped up immediately, and guiding user clicks and checks details in suspended window news template.
It, can also be according to user couple for carrying the suspended window of activating business of real-time extension business in the embodiment of the present invention The mode of operation of current interface determines whether to load.Thus, it as an alternative embodiment, is taking if it is later, loading this Before suspended window of activating business with real-time extension business, this method further comprises:
Judge whether the application program run in current interface is application program that pre-set application program is concentrated, such as Fruit is the flow for the suspended window of activating business that storage receives in the electronic device described in execution, and otherwise, executing the load should Carry the flow of the suspended window of activating business of real-time extension business.
In this step, current interface can be word interface screens, browser screen etc..The application journey that application program is concentrated Sequence includes:Office application programs, shear plate application program, notepad application, graphics process application program, inquiry class net Page application program etc. needs the application program of user's progress text entry operation.In this way, running these in current interface applies journey When sequence, due to needing user to carry out text input, in order to avoid harassing user, the ongoing text input of user, example are interrupted Such as, it when inputting Chinese character using Pinyin method in word as user, is also being not converted into order to avoid inputting longer pinyin character In the case that Chinese character inputs, pop-up suspended window of activating business makes character input interrupt, and needs to repeatedly input again and has inputted Pinyin character, in the embodiment of the present invention, setting stores the suspended window of activating business of reception without popping up, with reduce to The influence at family.
Certainly, in practical application, the stream for the suspended window of activating business that storage receives in the electronic device described in executing Cheng Hou, this method can further include:
The application program for monitoring the operation executes described load carrying after the operation of the application program of the operation The flow of the suspended window of activating business of real-time extension business.
Step 102, after being unlocked operation to the electronic equipment, judge the boundary of the electronic equipment presentation after unlock Whether face is default interface;
Step 103, if it is, activating business from selection in the push class suspended window and local class suspended window of storage outstanding Floating window, and the suspended window of activating business chosen in the load of the interface of the unlock according to pre-set suspended window load strategy.
In step 102 and step 103, user is in scheduled time threshold value without operation interface of electronic equipment or user's active The screen locking of electronic equipment is triggered, then screen enters screen lock state.When user needs again to operate screen, pass through unlock Interface operation sends out unlock interface operational order to electronic equipment, and electronic equipment receives unlock interface operational order, to screen into Row unlock is so that user operates.
In this step, as alternative embodiment, default interface includes:Desk interface and without user carry out text input Other screens of operation, for example, audio and video playing screen and explorer screen etc..
By taking default interface is desk interface as an example, after being unlocked to screen, if the interface of unlock is desk interface, Show that user has dropped out application program before screen locking and executes operation, thus, load at this moment is activated business suspended window, will not to It causes to harass and influence user version input operation in family.
Suspended window of activating business is loaded in the embodiment of the present invention, when preferably, being unlocked again after choosing user's progress screen locking, is In view of user is after unlock interface, carry out user's operation is generally required, it is outstanding to avoid in user's operation load from activating business Floating window causes user's operation to be interrupted, and after unlock, the load expansion when screen is desk interface and user does not carry out user's operation Exhibition industry business suspended window, can reduce the influence to user to greatest extent, to promote customer service experience.
As an alternative embodiment, it is desk interface to preset interface, according to pre-set suspended window load strategy in institute State unlock interface load choose suspended window include:
Counter is arranged in A11, to carry out stored count to the number of unlock interface in predetermined time period, and is based on Accumulative unlock interface number is arranged and the mapping table for suspended window mark of activating business in predetermined time period;
In this step, predetermined time period can be set according to actual needs, for example, can be that is, predetermined as unit of day Period when being set as 0~24;Multiple predetermined time periods can also be divided by one day, for example, when 0~8,8~10 when, When 10~18,18~24 when, and choose one or more period as predetermined time period.For example, it is arranged Predetermined time period when can be 8~10, can only be executed at 8~10 among indicating one day and load suspended window of activating business Operation, when can also be 8~10 and when 10~18, among indicating one day can the two periods (8 merged~ When 18) execute the operation that floating window of activating business is hanged in load.
For including the situation of multiple predetermined time periods, time segment identification is set for each predetermined time period, is reflected Relation table is penetrated to distinguish with time segment identification.In the embodiment of the present invention, each predetermined time period is correspondingly arranged a counter. Certainly, in practical application, or a counter is arranged in multiple predetermined time periods, and counter is in a predetermined time section The counting how many times of unlock interface finish, into after next predetermined time period, count value is reset.
In practical application, for same suspended window of activating business, since the content in suspended window of activating business is with each The difference of suspended window of activating business that receives and it is different, thus, in the embodiment of the present invention, identified and indicated with suspended window of activating business The same class successively received is activated business suspended window.
For when predetermined time period is 8~10, the corresponding mapping table of the predetermined time period of setting can be with It is:For the first time when unlock interface, i.e., mapping weather information suspended window mark when unlock interface number is 1, when unlock interface number is 2 Travel information suspended window mark is mapped, mapping Domestic News suspended window mark etc. when unlock interface number is 3.In this way, subsequently answering It in, can be identified according to the weather information suspended window in the suspended window of activating business of storage, find weather information suspension The weather information suspended window of window identity map, to be loaded.
It can also be arranged in order to avoid user bothering the frequent of user in unlock interface as an alternative embodiment The suspended window of activating business of mapping is arranged in preset unlock interface threshold value in unlock interface threshold value, and in unlock circle of user Its mapped extension business suspended window is no longer arranged more than after preset unlock interface threshold value in face number, i.e., is no longer popped up to user Any suspended window of activating business.The suspended window threshold value of activating business loaded in one day can also be set, activated business loading this It after the suspended window of activating business of suspended window threshold value, is no longer loaded, to reduce the harassing and wrecking to user.
Certainly, in practical application, can also be arranged unlock interface number be 1 when mapping weather information suspended window mark and Multiple other information suspended windows marks.
In the embodiment of the present invention, as alternative embodiment, accumulative unlock interface number is set and suspended window of activating business The mapping table of mark includes:
The static mappings relationship of each number of accumulative unlock interface and corresponding suspended window mark of activating business is respectively set Table.
In this step, the static mappings relation table predetermined time periods being arranged as unit of day all to user are all suitable for. That is, if in static mappings relation table, mapping weather information suspended window identifies when setting unlock interface number is 1, then In subsequent applications, it is assumed that in the suspended window of activating business of same day storage, without corresponding weather information suspended window, then foundation should Weather information suspended window identifies, and inquires the weather information suspended window less than the weather information suspended window identity map, does not then appoint Where is managed, the next unlock interface for waiting for user to execute.
As another alternative embodiment, accumulative unlock interface number is set and the mapping for suspended window mark of activating business is closed It is that table includes:
A111 counts the suspended window of activating business stored when current unlock, is removed from it the expansion loaded before current unlock Exhibition industry business suspended window, obtains suspended window collection to be loaded of activating business;
In this step, for the suspended window of activating business loaded in presently described predetermined time period, then no longer need to Consider.
In the embodiment of the present invention, as an alternative embodiment, suspended window is activated business in storage can be with predetermined time period It is stored for unit, i.e., after current time enters the predetermined time period, empties the suspended window of activating business of storage, then It is stored in the suspended window of activating business received in the predetermined time period again.In this way, deleting the extension loaded before current unlock Business suspended window deletes the suspended window of activating business loaded before current unlock that is, in the predetermined time period.
As another alternative embodiment, storage activate business suspended window can also multiple predetermined time periods be unit (example Such as, one day or one week of multiple predetermined time periods compositions) it is stored, that is, the multiple predetermined time periods for storing setting are inscribed The suspended window of activating business received.In this way, deleting the suspended window of activating business loaded before current unlock, i.e., in the multiple of the setting In predetermined time period, the suspended window of activating business loaded in each predetermined time period before current unlock is deleted.
A112 is ranked up suspended window collection to be loaded of activating business according to pre-set priority policy, will be preferential The suspended window of activating business that the highest suspended window of activating business of grade sequence is mapped as current unlock interface number.
In this step, as an alternative embodiment, priority policy can be the Time priority of storage, for example, storage Time it is more early, priority is lower, and the time of storage is more late, and priority is higher.Carried out according to the sequencing of storage time Sequence.
As another alternative embodiment, priority policy can be pre-set classification priority, for example, setting push The priority of class suspended window is higher than the priority of local class suspended window.It is, of course, also possible in push class suspended window and local class In suspended window, corresponding suspended window priority of activating business is respectively set, i.e., is in advance each extension industry in pushing class suspended window Business suspended window carries out priority ranking.
As yet another alternative embodiment, priority policy is also conceivable to number of clicks of the user to suspended window of activating business Priority, and/or, click frequency priority.I.e.:
Counting user for several times to the click of the suspended window of activating business of load, treat by the height of the number of clicks according to statistics The suspended window of respectively activating business for loading suspended window concentration of activating business carries out priority ranking;And/or
Counting user within the unit interval to the click of the suspended window of activating business of load for several times, obtain click frequency, according to The height of click frequency according to statistics carries out priority to the suspended window of respectively activating business of suspended window concentration to be loaded of activating business Sequence.
As yet another alternative embodiment, priority policy can also consider above-mentioned strategy, i.e. priority policy includes: Time priority, classification priority and click frequency priority, then according to pre-set priority policy to expansion to be loaded Exhibition industry business suspended window collection is ranked up, and referring to Fig. 2, Fig. 2 is that the embodiment of the present invention is treated according to pre-set priority policy The flow diagram that suspended window collection of activating business is ranked up is loaded, which includes:
Time priority sequence, classification priority sequence and click frequency priority sequence is respectively set in A121 in advance;
In this step, for the timestamp information of each suspended window to be loaded of activating business, timestamp information can be carried out Segmentation, each time slice are correspondingly arranged a Time priority, according to multiple Time priorities structure in predetermined time period Time priority sequence.For example, the timestamp information of current time stamp information and suspended window to be loaded of activating business can be arranged For difference within 5 minutes, it is 5 (i.e. highest priorities), current time stamp information and expansion to be loaded that its Time priority, which is arranged, The timestamp information of exhibition industry business suspended window differs by more than 5 minutes within ten minutes, its Time priority, which is arranged, is 4 ..., current time stamp information differed within 50 minutes with the timestamp information of suspended window to be loaded of activating business, be arranged Its Time priority is 1, and current time stamp information is differed with the timestamp information of suspended window to be loaded of activating business at 50 minutes On, it is 0 that its Time priority, which is arranged,.
In the embodiment of the present invention, the setting of click frequency priority sequence is similar with the setting of Time priority sequence, Detailed description is omitted here.
For priority sequence of classifying, including:Push class suspended window priority sequence and local class suspended window priority Sequence can be respectively each sequence setting highest priority, for example, for pushing class suspended window priority sequence, it is corresponding Highest priority could be provided as 5, and for local class suspended window priority sequence, corresponding highest priority is set as 3, and Can be that identical or different priority is arranged in different suspended windows of activating business in each sequence.
Normalized Time priority coefficient, classification priority factor and click frequency priority is respectively set in A122 Coefficient;
It is Time priority sequence, classification priority sequence and the setting pair of click frequency priority sequence in this step The priority factor answered, to indicate its importance in follow-up calculate.For example, the priority system of setting Time priority sequence Number is 0.4, and the priority factor of click frequency priority sequence is 0.35, and the priority factor for priority sequence of classifying is 0.25, indicate that the priority weight highest of Time priority sequence, the priority weight of click frequency priority sequence are taken second place, classification is excellent The priority weight of first grade sequence is minimum.
A123, a suspended window to be loaded of activating business of extraction suspended window concentration to be loaded of activating business, according to timestamp Information inquiry Time priority sequence obtains the corresponding Time priority of timestamp information, classifies according to affiliated classified inquiry Priority sequence obtains corresponding classification priority, obtains the click frequency of the suspended window to be loaded of activating business, and inquiry is clicked Frequency priority sequence, the corresponding click frequency priority of click frequency obtained;
In this step, as previously mentioned, if current time stamp information and the suspended window to be loaded of activating business of extraction when Between stamp information difference at 5 to 10 minutes, then the corresponding Time priority of timestamp information that obtains is 4.
A124 calculates separately point of the Time priority of acquisition and the time priority product of Time priority coefficient, acquisition The preferential product of classification, the click frequency priority of acquisition and the click frequency priority system of class priority and classification priority factor The preferential product of several click frequencies;
A125, calculate time priority product, the preferential product of classification and the preferential product of click frequency and, it is to be loaded to obtain this It activates business the preferential integral of suspended window;
In this step, the preferential integral formulas of suspended window to be loaded of activating business is:
In formula,
ψiFor the preferential integral of i-th of suspended window of activating business, i is natural number;
αtiFor the Time priority of i-th of suspended window of activating business;
ξ is Time priority coefficient;
αliFor the classification priority of i-th of suspended window of activating business;
For priority factor of classifying;
αfiFor the click frequency priority of i-th of suspended window of activating business;
ζ is click frequency priority factor.
Preferably,
A126, the corresponding preferential integral of each suspended window to be loaded of activating business that will be calculated, according to from high to low Sequence be ranked up.
A12, after desk interface is in the interface for judging unlock, flip-flop number adds 1, obtains the count value of counter, looks into Mapping table is ask, the suspended window of activating business of the count value mapping obtained, in the expansion that the desk interface loads Exhibition industry business suspended window.
In this step, as previously mentioned, for the user for having been switched on suspension window function of activating business, when 8 points are arrived between morning 10 points, when monitoring user the interface of unlock interface and unlock being desk interface for the first time, according to the period corresponding mapping pass It is table, corresponding load weather information suspended window;If section between at the same time, the count value of current unlock interface is the boundary of 3 and unlock When face is desk interface, corresponding load Domestic News suspended window.
As an alternative embodiment, this method may further include:
Judge that the interface of unlock not to preset interface, judges whether the application program run in current interface is to pre-set The application program concentrated of application program, if so, do not deal with, otherwise, execute the push class suspended window from storage with And suspended window of activating business is chosen in local class suspended window, and according to pre-set suspended window load strategy in the unlock The flow for the suspended window of activating business that interface load is chosen.
In this step, as previously mentioned, the application program that application program is concentrated includes:Office application programs, shear plate are answered User is needed to carry out text with program, notepad application, graphics process application program, inquiry class Web page application program etc. defeated Enter the application program of operation.In order to avoid bothering user, the application program run in current interface is above application journey When sequence, then suspended window of activating business is not popped up.
It is hanged from the push class suspended window of storage and local class described if it is later as another alternative embodiment Suspended window of activating business is chosen in floating window, and loads choosing at the interface of the unlock according to pre-set suspended window load strategy Before the suspended window of activating business taken, this method can further include:
Judge whether electronic equipment current operating conditions meet pre-set suspended window load trigger condition, if so, It executes and chooses suspended window of activating business in the push class suspended window from storage and local class suspended window, and according to setting in advance The flow for the suspended window of activating business that the suspended window load strategy set is chosen in the load of the interface of the unlock, if it is not, then after It is continuous to wait for, until electronic equipment operating status meets pre-set suspended window load trigger condition, execute described from storage Suspended window of activating business is chosen in push class suspended window and local class suspended window, and loads plan according to pre-set suspended window The flow for the suspended window of activating business that slightly load is chosen at the interface of the unlock.
In this step, as alternative embodiment, it can be that electronic equipment EMS memory occupation is less than that suspended window, which loads trigger condition, Pre-set EMS memory occupation threshold value, and/or, CPU does not occur abnormal etc..If current memory usage rate (EMS memory occupation, example Such as, more than 85%) it is excessively high, cause CPU to occur abnormal in the presence of application from the background when, the suspended window pop-up that can delay to activate business (adds Carry) opportunity.For example, after waiting for EMS memory occupation to decline or CPU restore normal after pop up (load) again and activate business suspended window.
Certainly, in practical application, can also continue waiting for be more than the pre-set time after, if electronic equipment run State does not meet pre-set suspended window load trigger condition also, then can determine the expansion for executing or abandoning to execute load store The flow of exhibition industry business suspended window.
As yet another alternative embodiment, this method still further comprises:
Suspended window of activating business in the interface load store of the unlock is set for translucent.
In this step, the suspended window by the way that push is arranged is translucent so that the suspended window of pop-up can not cover Application icon, convenient for user's viewer applications icon without removing suspended window, to reduce the harassing and wrecking to user.
As yet another alternative embodiment, this method still further comprises:
According to the suspended window of activating business of pre-set animation strategy load store.
It, can be on pre-set animation time pattern plate, in the first key frame as an alternative embodiment in this step It is upper to place a picture in suspended window of activating business, picture all in suspended window of activating business is placed on third key frame, and On the second key frame, using with the first key frame and the relevant interpolation frame algorithm of third key frame, change the first key frame in Quantity, size, color, position, the transparency of picture sequentially obtain multiple animations between the first key frame and third key frame Frame;Then, the key frame on playing animation time frame panel is to load suspended window of activating business.Alternatively, as another optional reality Example is applied, it can also:
The Background From Layer for including suspended window of activating business is set;The foreground figure layer for including suspended window of activating business is set, and Setting foreground figure layer is hollow out or transparent;The multiple intermediate figure layers for including animation are set, are used for animation in the intermediate figure layer The region that mode is shown is consistent with the region of foreground figure layer;Each intermediate figure layer comprising animation and foreground picture stacking are added in On Background From Layer, multiple current extensions business suspended window figure layers are generated, sequentially show the current extensions business suspended window figure of generation Layer.
As yet another alternative embodiment, this method still further comprises:
Locking interface operation instruction is received, discharges tactful releasing memory resource according to pre-set memory.
In this step, since the application program installed in electronic equipment is more, and when electronic equipment operation application program, need Certain memory source is occupied, after user executes screen locking operation, the application program in operation before screen locking can still be in fortune Row state, operating system will not discharge the memory source occupied, be easy to cause user after unlock interface, if necessary to start The larger application program of memory source demand will lead to the situation of memory source deficiency so that startup speed is slow, even results in The phenomenon that operating system is collapsed.Thus, in the embodiment of the present invention, strategy is discharged by the way that memory is arranged in unlock interface, to keep away Exempt from such phenomenon.
In the embodiment of the present invention, as alternative embodiment, memory release strategy can be:Current residual memory size is less than Pre-set first memory source threshold value.
As another alternative embodiment, memory release strategy can be:Current residual memory size is less than pre-set Second memory source threshold value, and currently have in the application program for exiting state still committed memory resource in electronic equipment.
Preferably, including according to the tactful releasing memory resource of pre-set memory release:
Monitor that current residual memory size is less than pre-set first memory source threshold value, after preferentially release is exited not The occupied memory of process for the application program that can be restarted by operating system.
From the foregoing, it can be seen that the method for load suspended window of the embodiment of the present invention, advanced after receiving and activating business suspended window Row storage, after the interface of electronic equipment unlock for monitoring screen locking, if the interface of unlock is default interface, from pushing away for storage It send and chooses suspended window of activating business in class suspended window and local class suspended window, and strategy is loaded according to pre-set suspended window The suspended window of activating business that load is chosen at the interface of the unlock.In this way, in conjunction with the actual conditions of user's operation electronic equipment, Suspended window is activated business to carry out information and function prompt, to carry out normal application in user in the load of suitable opportunity In application, suspended window will not be popped up, avoid and the application of application program currently in use is interrupted, effectively reduces user's execution Time needed for application program, reduce and user is bothered, to improve the business experience of user;Further, it loads Local class suspended window can be also used for pull cleaning electronic equipment memory source, it is contemplated that the individual demand of user and behaviour Make demand, extends suspended window application function.
Fig. 3 is the suspended window loading device structural schematic diagram of the embodiment of the present invention.Referring to Fig. 3, which includes:Store mould Block 301, unlocked state 302 and load-on module 303, wherein
Memory module 301, for storing the suspended window of activating business received in the electronic device, it is described activate business it is outstanding Floating window includes push class suspended window and local class suspended window;
In the embodiment of the present invention, push class suspended window includes:Weather information suspended window, travel information suspended window, news money News suspended window, second kill commodity information suspended window, application software upgrade information suspended window etc. and are hanged by what network server pushed Floating window.
Local class suspended window includes:Virus monitor alarm suspended window, the excessively high suspended window of memory usage, CPU abnormal alarms Suspended window, cleaning garbage files suspended window, application acceleration prompt suspended window, the too low alarm suspended window of battery capacity etc. are set by electronics The suspended window that the local application of standby middle installation is monitored and to notify user when generates.
Unlocked state 302 is unlocked for the interface of electronic equipment to screen locking;
Load-on module 303, for judging whether the interface that unlocked state 302 unlocks is default interface, if so, from storage Choose suspended window of activating business in push class suspended window and local class suspended window that module 301 stores, and according to pre-setting Suspended window load strategy the unlock interface load choose suspended window of activating business.
In the embodiment of the present invention, default interface includes:Desk interface and without user carry out text entry operation its His screen.
As alternative embodiment, load-on module 303 includes:Unlock interface judging unit 41, selection unit 42 and suspension Window loading unit 43 is the load-on module structural schematic diagram of the present embodiment referring to Fig. 4, Fig. 4, wherein
Unlock interface judging unit 41, for judging whether the interface that unlocked state 302 unlocks is default interface, if It is to notify selection unit;
Selection unit 42, for being chosen from the push class suspended window that memory module 301 stores and local class suspended window It activates business suspended window;
Suspended window loading unit 43, for being loaded at the interface of the unlock according to pre-set suspended window load strategy The suspended window of activating business chosen.
In the embodiment of the present invention, suspended window loading unit 43 includes:Mapping table builds subelement and mapping relations Inquire subelement, wherein
Mapping table builds subelement, for counter to be arranged, to time to unlock interface in predetermined time period Number carries out stored count, and is based on predetermined time period, accumulative unlock interface number is arranged and suspended window mark of activating business Mapping table;
In the embodiment of the present invention, each number of accumulative unlock interface and corresponding suspended window of activating business can be respectively set The static mappings relation table of mark.
As another alternative embodiment, accumulative unlock interface number is set and the mapping for suspended window mark of activating business is closed It is that table includes:
The suspended window of activating business stored when the current unlock of statistics is removed from it activating business of having loaded before current unlock Suspended window obtains suspended window collection to be loaded of activating business;
Suspended window collection to be loaded of activating business is ranked up according to pre-set priority policy, by priority ranking The suspended window of activating business that highest suspended window of activating business is mapped as current unlock interface number.
In the embodiment of the present invention, as alternative embodiment, according to pre-set priority policy to extension industry to be loaded Business suspended window collection be ranked up including:
Time priority sequence, classification priority sequence and click frequency priority sequence are respectively set in advance;
Normalized Time priority coefficient, classification priority factor and click frequency priority factor is respectively set;
The suspended window to be loaded of activating business for extracting suspended window concentration to be loaded of activating business, is looked into according to timestamp information Time priority sequence is ask, the corresponding Time priority of timestamp information is obtained, according to affiliated classified inquiry classification priority Sequence obtains corresponding classification priority, obtains the click frequency of the suspended window to be loaded of activating business, and inquiry click frequency is excellent First grade sequence, the corresponding click frequency priority of click frequency obtained;
It is preferential to calculate separately the Time priority of acquisition and the time priority product of Time priority coefficient, the classification of acquisition Grade and the preferential product of classification of classification priority factor, the point of the click frequency priority of acquisition and click frequency priority factor Hit the preferential product of frequency;
Calculate time priority product, the preferential product of classification and the preferential product of click frequency and, obtain the extension to be loaded The preferential integral of business suspended window;
The corresponding preferential integral of each suspended window to be loaded of activating business that will be calculated, according to from high to low sequence It is ranked up.
Mapping relations inquire subelement, and after at the interface for judging unlock for desk interface, flip-flop number adds 1, obtains The count value of counter is taken, mapping table is inquired, the suspended window of activating business of the count value mapping obtained, in the table What face interface loaded activate business suspended window.
As alternative embodiment, suspended window loading unit 43 can also be further used for that activating business for load store is arranged Suspended window is translucent.
As another alternative embodiment, suspended window loading unit 43 can also be further used for according to pre-set animation The suspended window of activating business of tactful load store.
As another alternative embodiment, load-on module 303 can further include:
Default application program judging unit (not shown), for judging the interface of unlock interface judging unit unlock not To preset interface, judge whether the application program run in current interface is application journey that pre-set application program is concentrated Otherwise sequence, notifies selection unit if so, not dealing with.
As yet another alternative embodiment, load-on module 303 can further include:
Trigger condition judging unit (not shown) is exported for intercepting and capturing unlock interface judging unit to selection unit Notice, judges whether electronic equipment current operating conditions meet pre-set suspended window load trigger condition, if so, notice Selection unit;If it is not, then continuing waiting for, until electronic equipment operating status meets pre-set suspended window load triggering item Part notifies selection unit.
As alternative embodiment, which can further include:
Judgment module 304 is received, for judging whether the suspended window of activating business received carries real-time extension business, such as Fruit is the suspended window of activating business for loading the carrying real-time extension business, if it is not, the suspended window of activating business by reception is defeated Go out to memory module 301.
In the embodiment of the present invention, real-time extension business includes:Breaking news event, commodity flash sale, bargain goods second It kills, the business with the extremely short entry-into-force time such as instant messaging, the suspended window for carrying real-time extension business mainly pushes class and suspends Window.Certainly, can also be local class suspended window in practical application.
As alternative embodiment, receiving judgment module 304 includes:Receiving unit 51, the first judging unit 52, second judge Unit 53 and loading unit 54 are the reception judgment module structural schematic diagram of the present embodiment referring to Fig. 5, Fig. 5, wherein
Receiving unit 51, for receiving suspended window of activating business, output to the first judging unit 52;
First judging unit 52, for judging whether the suspended window of activating business received carries real-time extension business, such as Fruit is output to second judgment unit 53;If it is not, exporting the suspended window of activating business of reception to memory module 301;
Second judgment unit 53, for judge the application program run in current interface whether be it is pre-set apply journey The application program that sequence is concentrated, if so, the suspended window of activating business of reception is exported to memory module 301, otherwise, by reception Suspended window of activating business is exported to loading unit 54;
In the embodiment of the present invention, current interface can be word interface screens, browser screen etc..What application program was concentrated Application program includes:Office application programs, notepad application, graphics process application program, are looked into shear plate application program Ask the application program that class Web page application program etc. needs user to carry out text entry operation.
Loading unit 54, the suspended window of activating business for loading the carrying real-time extension business received.
It can further include preferably, receiving judgment module 304:
Operational monitoring unit 55 is run for monitoring the application program run in current interface in the application program of operation After, notice loading unit loads the suspended window of activating business for carrying real-time extension business from memory module 301.
As yet another alternative embodiment, which can further include:
Locking module (not shown) is discharged for receiving locking interface operation instruction according to pre-set memory Tactful releasing memory resource.
In the embodiment of the present invention, discharging tactful releasing memory resource according to pre-set memory includes:
Monitor that current residual memory size is less than pre-set first memory source threshold value, after preferentially release is exited not The occupied memory of process for the application program that can be restarted by operating system.
The embodiment of the present invention also provides a kind of electronic equipment, and the electronic equipment includes the dress described in aforementioned any embodiment It sets.
Fig. 6 is the structural schematic diagram of electronic equipment one embodiment of the present invention, may be implemented to implement shown in Fig. 1-5 of the present invention The flow of example, as shown in fig. 6, above-mentioned electronic equipment may include:Shell 61, processor 62, memory 63, circuit board 64 and electricity Source circuit 65, wherein circuit board 64 is placed in the space interior that shell 61 surrounds, and processor 62 and memory 63 are arranged in circuit On plate 64;Power circuit 65, for being each circuit or the device power supply of above-mentioned electronic equipment;Memory 63 is for storing and can hold Line program code;Processor 62 is run and executable program generation by reading the executable program code stored in memory 63 The corresponding program of code, for executing following steps:
The suspended window of activating business received is stored in the electronic device, and the suspended window of activating business includes that push class is outstanding Floating window and local class suspended window;
After being unlocked operation to the electronic equipment, judge the electronic equipment is presented after unlock interface whether be Default interface;
If it is, suspended window of activating business is chosen from the push class suspended window and local class suspended window of storage, and The suspended window of activating business chosen in the load of the interface of the unlock according to pre-set suspended window load strategy.
Processor 62 to the specific implementation procedures of above-mentioned steps and processor 62 by run executable program code come The step of further executing may refer to the description of Fig. 1-5 illustrated embodiments of the present invention, and details are not described herein.
The electronic equipment exists in a variety of forms, including but not limited to:
(1) mobile communication equipment:The characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data Communication is main target.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, functional mobile phone and low Hold mobile phone etc..
(2) super mobile personal computer equipment:This kind of equipment belongs to the scope of personal computer, there is calculating and processing work( Can, generally also have mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind of equipment can show and play multimedia content.Such equipment includes:Audio, Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) server:The equipment for providing the service of calculating, the composition of server include that processor, hard disk, memory, system are total Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy Power, stability, reliability, safety, scalability, manageability etc. are more demanding.
(5) other electronic devices with data interaction function.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, all answer by the change or replacement that can be readily occurred in It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (25)

1. a kind of method of load suspended window, which is characterized in that this method includes:
The suspended window of activating business received is stored in the electronic device, and the suspended window of activating business includes push class suspended window And local class suspended window;
After being unlocked operation to the electronic equipment, judge whether the interface that the electronic equipment is presented after unlocking is default Interface;
If it is, suspended window of activating business is chosen from the push class suspended window and local class suspended window of storage, and according to The suspended window of activating business that interface load of the pre-set suspended window load strategy after unlock is chosen.
2. according to the method described in claim 1, it is characterized in that, it is described in the electronic device storage receive activate business Before suspended window, the method further includes:
Judge whether the suspended window of activating business received carries real-time extension business, if so, loading the carrying real-time extension The suspended window of activating business of business, if it is not, storing the suspended window of activating business received described in executing in the electronic device Flow.
3. according to the method described in claim 2, it is characterized in that, described if it is later, loading the carrying real-time extension Before the suspended window of activating business of business, the method further includes:
Judge whether the application program run in current interface is application program that pre-set application program is concentrated, if It is that the flow for the suspended window of activating business that storage receives in the electronic device described in execution, otherwise, executing the load, this is taken The flow of suspended window of activating business with real-time extension business.
4. according to the method described in claim 3, it is characterized in that, storage receives in the electronic device described in the execution Suspended window of activating business flow after, the method further includes:
It is real-time to execute described load carrying after the operation of the application program of the operation for the application program for monitoring the operation The flow for the suspended window of activating business activated business.
5. according to the method described in claim 1, it is characterized in that, the default interface includes:Desk interface, it is described according to pre- Interface of the suspended window load strategy being first arranged after unlock loads the suspended window chosen and includes:
Be arranged counter, to in predetermined time period unlock interface number carry out stored count, and based on it is scheduled when Between section, be arranged accumulative unlock interface number and activate business suspended window mark mapping table;
After desk interface is in the interface after judging unlock, flip-flop number adds 1, obtains the count value of counter, inquiry mapping Relation table, the suspended window of activating business of the count value mapping obtained, activates business what the desk interface loaded Suspended window.
6. according to the method described in claim 5, it is characterized in that, described be arranged accumulative unlock interface number and activate business Suspended window mark mapping table include:
The static mappings relation table of each number of accumulative unlock interface and corresponding suspended window mark of activating business is respectively set.
7. according to the method described in claim 5, it is characterized in that, described be arranged accumulative unlock interface number and activate business Suspended window mark mapping table include:
The suspended window of activating business stored when statistics currently unlock, is removed from it the suspension of activating business loaded before current unlock Window obtains suspended window collection to be loaded of activating business;
Suspended window collection to be loaded of activating business is ranked up according to pre-set priority policy, by priority ranking highest The suspended window of activating business that is mapped as current unlock interface number of suspended window of activating business.
8. the method according to the description of claim 7 is characterized in that the priority policy includes:Time priority, classification are excellent First grade and click frequency priority, it is described according to pre-set priority policy to it is to be loaded activate business suspended window collection into Row sorts:
Time priority sequence, classification priority sequence and click frequency priority sequence are respectively set in advance;
Normalized Time priority coefficient, classification priority factor and click frequency priority factor is respectively set;
The suspended window to be loaded of activating business for extracting suspended window concentration to be loaded of activating business, when according to timestamp information inquiry Between priority sequence, obtain the corresponding Time priority of timestamp information, classify priority sequence according to affiliated classified inquiry, Corresponding classification priority is obtained, the click frequency of the suspended window to be loaded of activating business is obtained, frequency priority is clicked in inquiry Sequence, the corresponding click frequency priority of click frequency obtained;
Calculate separately the Time priority of acquisition and the time priority product of Time priority coefficient, the classification priority of acquisition with The preferential product of classification of classification priority factor, the click frequency of the click frequency priority of acquisition and click frequency priority factor The preferential product of rate;
Calculate time priority product, the preferential product of classification and the preferential product of click frequency and, obtain this and to be loaded activate business The preferential integral of suspended window;
The corresponding preferential integral of each suspended window to be loaded of activating business that will be calculated, according to from high to low sequence progress Sequence.
9. according to the method described in claim 5, it is characterized in that, the method further includes:
Judge that the interface after unlock not to preset interface, judges whether the application program run in current interface is pre-set The application program that application program is concentrated, if so, do not deal with, otherwise, execute the push class suspended window from storage and Suspended window of activating business, and the interface according to pre-set suspended window load strategy after unlock are chosen in local class suspended window Load the flow for the suspended window of activating business chosen.
10. according to claim 1 to 9 any one of them method, which is characterized in that described if it is later, from storage Suspended window of activating business is chosen in push class suspended window and local class suspended window, and loads plan according to pre-set suspended window Before the suspended window of activating business that interface load slightly after unlock is chosen, the method further includes:
Judge whether electronic equipment current operating conditions meet pre-set suspended window load trigger condition, if so, executing It is described to choose suspended window of activating business from the push class suspended window and local class suspended window of storage, and according to pre-set The flow for the suspended window of activating business that interface load of the suspended window load strategy after unlock is chosen, if it is not, then continue waiting for, Until electronic equipment operating status meets pre-set suspended window load trigger condition, execute described outstanding from the push class of storage Suspended window of activating business is chosen in floating window and local class suspended window, and is being unlocked according to pre-set suspended window load strategy The flow for the suspended window of activating business that interface load afterwards is chosen.
11. according to the method described in claim 10, it is characterized in that, suspended window load trigger condition includes:Electronics is set Standby EMS memory occupation be less than pre-set EMS memory occupation threshold value, and/or, CPU does not occur exception.
12. according to claim 1 to 9 any one of them method, which is characterized in that the method further includes:
Locking interface operation instruction is received, discharges tactful releasing memory resource according to pre-set memory.
13. according to claim 1 to 9 any one of them method, which is characterized in that the push class suspended window includes:Weather Information suspended window, travel information suspended window, Domestic News suspended window, second kill commodity information suspended window, application software upgrading Information suspended window;It is described local class suspended window include:Virus monitor alarm suspended window, the excessively high suspended window of memory usage, CPU are different Often alarm suspended window, cleaning garbage files suspended window, application acceleration prompt suspended window, the too low alarm suspended window of battery capacity.
14. according to the method described in claim 2, it is characterized in that, the real-time extension business includes:Breaking news event, Commodity flash sale, bargain goods second kill, instant messaging.
15. a kind of suspended window loading device, which is characterized in that the device includes:Memory module, unlocked state and load mould Block, wherein
Memory module, for storing the suspended window of activating business received, the suspended window packet of activating business in the electronic device Include push class suspended window and local class suspended window;
Unlocked state is unlocked for the interface of electronic equipment to screen locking;
Load-on module, for judging whether the interface after unlocked state unlock is default interface, if it is, being deposited from memory module Suspended window of activating business is chosen in the push class suspended window of storage and local class suspended window, and is added according to pre-set suspended window Carry the suspended window of activating business that interface load of the strategy after unlock is chosen.
16. device according to claim 15, which is characterized in that the push class suspended window includes:Weather information suspends Window, travel information suspended window, Domestic News suspended window, the second kills commodity information suspended window, application software upgrade information suspends Window;It is described local class suspended window include:Virus monitor alarm suspended window, the excessively high suspended window of memory usage, CPU abnormal alarms are outstanding Floating window, cleaning garbage files suspended window, application acceleration prompt suspended window, the too low alarm suspended window of battery capacity.
17. device according to claim 15, which is characterized in that the load-on module includes:Unlock interface judging unit, Selection unit and suspended window loading unit, wherein
Unlock interface judging unit, for judging whether the interface after unlocked state unlock is default interface, if so, notice choosing Take unit;
Chosen in selection unit, push class suspended window for being stored from memory module and local class suspended window activate business it is outstanding Floating window;
Suspended window loading unit, the expansion for being chosen according to interface load of the pre-set suspended window load strategy after unlock Exhibition industry business suspended window.
18. device according to claim 17, which is characterized in that the suspended window loading unit includes:Mapping table It builds subelement and mapping relations inquires subelement, wherein
Mapping table build subelement, for counter to be arranged, to the number to unlock interface in predetermined time period into Row stored count, and it is based on predetermined time period, accumulative unlock interface number is set and is reflected with what suspended window of activating business identified Penetrate relation table;
Mapping relations inquire subelement, are used for after desk interface is in the interface after judging unlock, and flip-flop number adds 1, obtains The count value of counter inquires mapping table, the suspended window of activating business of the count value mapping obtained, in the desktop What interface loaded activate business suspended window.
19. device according to claim 17, which is characterized in that the load-on module further comprises:
Default application program judging unit, for judging that the interface after unlock interface judging unit unlocks to preset interface, is not sentenced Whether the application program run in disconnected current interface is application program that pre-set application program is concentrated, if so, not making Otherwise processing notifies selection unit.
20. device according to claim 17, which is characterized in that the load-on module further comprises:
Trigger condition judging unit exports to the notice of selection unit for intercepting and capturing unlock interface judging unit, judges that electronics is set Whether standby current operating conditions meet pre-set suspended window load trigger condition, if so, notice selection unit;If It is no, then it continues waiting for, until electronic equipment operating status meets pre-set suspended window load trigger condition, notice is chosen single Member.
21. according to claim 15 to 20 any one of them device, which is characterized in that described device further comprises:
Judgment module is received, for judging whether the suspended window of activating business received carries real-time extension business, if so, plus The suspended window of activating business of the carrying real-time extension business is carried, if it is not, exporting the suspended window of activating business of reception to depositing Store up module.
22. device according to claim 21, which is characterized in that the reception judgment module includes:Receiving unit, first Judging unit, second judgment unit and loading unit, wherein
Receiving unit, for receiving suspended window of activating business, output to the first judging unit;
First judging unit, for judging whether the suspended window of activating business received carries real-time extension business, if so, defeated Go out to second judgment unit;If it is not, exporting the suspended window of activating business of reception to memory module;
Second judgment unit, for judging whether the application program run in current interface is that pre-set application program is concentrated Application program, if so, the suspended window of activating business of reception is exported to memory module, otherwise, by activating business for reception Suspended window is exported to loading unit;
Loading unit, the suspended window of activating business for loading the carrying real-time extension business received.
23. device according to claim 22, which is characterized in that the reception judgment module further comprises:
Operational monitoring unit, for monitoring the application program run in current interface, after the operation of the application program of operation, Notice loading unit loads the suspended window of activating business for carrying real-time extension business from memory module.
24. according to claim 15 to 20 any one of them device, which is characterized in that described device further comprises:
Locking module discharges tactful releasing memory resource for receiving locking interface operation instruction according to pre-set memory.
25. a kind of electronic device, which is characterized in that the electronic device includes:Shell, processor, memory, circuit board and electricity Source circuit, wherein circuit board is placed in the space interior that shell surrounds, and processor and memory setting are on circuit boards;Power supply Circuit, for powering for the processor and the memory;Memory is for storing executable program code;Processor passes through The executable program code that stores is read in memory to run program corresponding with executable program code, it is following for executing Step:
The suspended window of activating business received is stored in the electronic device, and the suspended window of activating business includes push class suspended window And local class suspended window;
After being unlocked operation to the electronic equipment, judge whether the interface that the electronic equipment is presented after unlocking is default Interface;
If it is, suspended window of activating business is chosen from the push class suspended window and local class suspended window of storage, and according to The suspended window of activating business that interface load of the pre-set suspended window load strategy after unlock is chosen.
CN201510535931.6A 2015-08-27 2015-08-27 Method for loading suspension window, suspension window loading device and electronic equipment Expired - Fee Related CN105117228B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510535931.6A CN105117228B (en) 2015-08-27 2015-08-27 Method for loading suspension window, suspension window loading device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510535931.6A CN105117228B (en) 2015-08-27 2015-08-27 Method for loading suspension window, suspension window loading device and electronic equipment

Publications (2)

Publication Number Publication Date
CN105117228A CN105117228A (en) 2015-12-02
CN105117228B true CN105117228B (en) 2018-09-25

Family

ID=54665230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510535931.6A Expired - Fee Related CN105117228B (en) 2015-08-27 2015-08-27 Method for loading suspension window, suspension window loading device and electronic equipment

Country Status (1)

Country Link
CN (1) CN105117228B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427488A (en) * 2015-12-18 2020-07-17 阿里巴巴集团控股有限公司 Message display method and device
CN107104874B (en) * 2016-02-19 2020-04-03 腾讯科技(深圳)有限公司 Resource sharing method, device, terminal and computer readable storage medium
CN106020601A (en) * 2016-05-16 2016-10-12 乐视控股(北京)有限公司 Interface display management method and device
CN106445345B (en) * 2016-09-30 2019-06-28 北京金山安全软件有限公司 Suspension window display method and device and electronic equipment
CN106569812A (en) * 2016-11-02 2017-04-19 惠州Tcl移动通信有限公司 Application program notification processing method and system of mobile terminal
CN106648641A (en) * 2016-12-09 2017-05-10 武汉斗鱼网络科技有限公司 Automatic management method and system for multi-level pop-up boxes on iOS system device
CN106598396A (en) * 2016-12-21 2017-04-26 北京金山安全软件有限公司 Display method and device based on floating window and electronic equipment
CN107153545A (en) * 2017-05-09 2017-09-12 北京酷我科技有限公司 A kind of method that pop-up is managed collectively in iOS system
CN108958856A (en) * 2017-05-26 2018-12-07 武汉斗鱼网络科技有限公司 Control management method, storage medium, electronic equipment and the system of mobile terminal
CN108683801B (en) * 2018-04-24 2020-10-20 Oppo广东移动通信有限公司 Method, device and terminal for controlling audio playing and computer readable storage medium
CN108664308A (en) * 2018-05-15 2018-10-16 北京五八信息技术有限公司 A kind of management method, device, storage medium and the terminal of pop-up task
CN110275753B (en) * 2019-06-27 2022-07-29 北京金山安全软件有限公司 Value added service acquisition method, device and equipment of application program
CN112750016A (en) * 2021-01-26 2021-05-04 拉扎斯网络科技(上海)有限公司 Information display method and device and electronic equipment
CN114995701B (en) * 2022-07-19 2024-04-02 荣耀终端有限公司 Suspended window control method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7389309B2 (en) * 2003-02-28 2008-06-17 Microsoft Corporation Method for managing file replication in applications
CN104133616A (en) * 2014-07-30 2014-11-05 北京金山安全软件有限公司 Information display method and device and terminal
CN104216752A (en) * 2014-09-30 2014-12-17 珠海市君天电子科技有限公司 Window-based information loading method and device
CN104714725A (en) * 2011-12-31 2015-06-17 北京奇虎科技有限公司 Display method and device of floating window

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7389309B2 (en) * 2003-02-28 2008-06-17 Microsoft Corporation Method for managing file replication in applications
CN104714725A (en) * 2011-12-31 2015-06-17 北京奇虎科技有限公司 Display method and device of floating window
CN104133616A (en) * 2014-07-30 2014-11-05 北京金山安全软件有限公司 Information display method and device and terminal
CN104216752A (en) * 2014-09-30 2014-12-17 珠海市君天电子科技有限公司 Window-based information loading method and device

Also Published As

Publication number Publication date
CN105117228A (en) 2015-12-02

Similar Documents

Publication Publication Date Title
CN105117228B (en) Method for loading suspension window, suspension window loading device and electronic equipment
CN105701025B (en) A kind of method for recovering internal storage and device
US11258810B2 (en) Identity authentication method, apparatus, and system
CN107766128A (en) A kind of method and device for starting application
US20160004574A1 (en) Method and apparatus for accelerating system running
CN106406966A (en) Preloading method for application and mobile terminal
WO2018045934A1 (en) Application process management method and terminal device
CN107656671A (en) Suspend small window control method and device, terminal installation and computer-readable recording medium
US20150040017A1 (en) Generating a visual representation
CN107203324A (en) Method, system and the electronic equipment of control electronics
CN107402804B (en) background process control method and device, storage medium and electronic equipment
CN110083450A (en) Method for recovering internal storage, device, electronic equipment and storage medium
WO2014194654A1 (en) Method and apparatus for page view switching
US8880792B2 (en) Memory watch
CN113934615A (en) Data monitoring method, device and equipment
WO2014090080A1 (en) Method and apparatus for restricting network applications
CN107704317A (en) Smart machine and its application management method and the device with store function
CN106775544A (en) The double of application program open display methods and device
CN106293327A (en) End application fast operating method and system
CN112261595B (en) Event reminding method and device, storage medium and mobile terminal
CN114490089A (en) Cloud computing resource automatic adjusting method and device, computer equipment and storage medium
CN113360047B (en) Information card display method, device, equipment and storage medium
CN109800124A (en) CPU usage monitoring method, device, electronic equipment and storage medium
CN106897113A (en) The method and device of a kind of virtualized host operation conditions prediction
CN108228126A (en) Throw screen control method, device, electric terminal and readable storage medium storing program for executing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180925