CN106445345B - Suspension window display method and device and electronic equipment - Google Patents

Suspension window display method and device and electronic equipment Download PDF

Info

Publication number
CN106445345B
CN106445345B CN201610875571.9A CN201610875571A CN106445345B CN 106445345 B CN106445345 B CN 106445345B CN 201610875571 A CN201610875571 A CN 201610875571A CN 106445345 B CN106445345 B CN 106445345B
Authority
CN
China
Prior art keywords
suspended window
terminal
window
display
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610875571.9A
Other languages
Chinese (zh)
Other versions
CN106445345A (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 CN201610875571.9A priority Critical patent/CN106445345B/en
Publication of CN106445345A publication Critical patent/CN106445345A/en
Application granted granted Critical
Publication of CN106445345B publication Critical patent/CN106445345B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a display method and device for a floating window and electronic equipment, wherein the method comprises the following steps: acquiring the current use state of the terminal; determining a target style of the floating window corresponding to the current use state according to a preset mapping strategy; and displaying the floating window in the form of the target style on a display screen of the terminal. By the floating window display method, the floating window display device and the electronic equipment, the floating window can be displayed on the terminal display screen in different styles according to the use state of the terminal, the flexibility and the diversity of the floating window display are improved, the use of a user is facilitated, the user requirement is met, and the user experience is improved.

Description

A kind of suspension window displaying method, device and electronic equipment
Technical field
The present invention relates to field of communication technology more particularly to a kind of suspension window displaying methods, device and electronic equipment.
Background technique
With communication and the development of computer technology, the application for having various functions is developed and applies in terminal In.Suspended window can be used family and not enter using can be appreciated that relevant information as a kind of display functional entrance at the terminal Or some small function is opened, it is greatly convenient for users to use.
Currently, mainly being joined by setting terminal system when showing the suspended window of related application on terminal display Number, the mode of addition view is realized on terminal desktop.Such as by taking Android system as an example, letter can be managed by calling system Number (WindowManager), then it is equipped with corresponding layer parameter (LayoutParams) attribute, it just can be on terminal desktop Show corresponding suspended window.
Above-mentioned suspension window displaying method, suspended window are only capable of showing in desktop state, and the Show Styles of suspended window is single, gives User's operation is made troubles, poor user experience.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, the first purpose of this invention is to propose a kind of suspension window displaying method, realizing makes according to terminal It is shown on terminal display with state by suspended window with different patterns, improves the flexibility and multiplicity that suspended window is shown Property, it is convenient for users to use, user demand is met, user experience is improved.
Second object of the present invention is to propose a kind of suspended window display device.
Third object of the present invention is to propose a kind of electronic equipment.
In order to achieve the above object, first aspect present invention embodiment proposes a kind of suspension window displaying method, comprising: obtain eventually Hold current use state;According to preset mapping policy, the mesh of suspended window corresponding with the current use state is determined Standard specimen formula;On the display screen of the terminal, suspended window is shown in the form of the target patterns.
It is described on the display screen of the terminal in a kind of possible way of realization of first aspect, with the mesh The form of standard specimen formula is shown before suspended window, further includes:
By prompt window, asks the user whether to open the suspended window under current use state and show permission;
According to the touch control operation of user, determine that the user determines the suspended window display power opened under current use state Limit.
In the alternatively possible way of realization of first aspect, in the target patterns include following information at least One: the display position of suspended window, the size of suspended window, the mark of suspended window, the color of suspended window.
In the alternatively possible way of realization of first aspect, this method, further includes:
Whether the memory usage for detecting the terminal has been more than the first preset value;
If so, updating the pattern of the suspended window shown on the display screen with the first preset pattern.
In the alternatively possible way of realization of first aspect, this method, further includes:
PUSH message is obtained, the PUSH message is sent by any application server;
According to perhaps attribute in the PUSH message, the pattern to be updated of the suspended window is determined;
According to the pattern to be updated, the pattern of the suspended window shown on the display screen is updated.
In the alternatively possible way of realization of first aspect, after the display suspended window with the target patterns, Further include:
User is received to the touch control operation of the suspended window;
According to the pattern that the suspended window is currently shown, the display interface after the suspended window is opened is determined;
Will content corresponding with the suspended window, on the display interface after the opening is shown in the form of preset.
Suspension window displaying method provided in an embodiment of the present invention, the first current use state of acquisition terminal;Then basis Preset mapping policy determines the target patterns of suspended window corresponding with the current use state;Finally in the terminal Display screen on, show suspended window in the form of the target patterns.Hereby it is achieved that according to the use state of terminal, it will Suspended window is shown on terminal display with different patterns, is improved flexibility and diversity that suspended window is shown, is facilitated The use of user, meets user demand, improves user experience.
In order to achieve the above object, second aspect of the present invention embodiment proposes a kind of suspended window display device, comprising: first obtains Modulus block, for obtaining the current use state of terminal;First determining module, for according to preset mapping policy, determine with The target patterns of the corresponding suspended window of the current use state;First display module, for the display screen in the terminal On curtain, suspended window is shown in the form of the target patterns.
In a kind of possible way of realization of second aspect, the device, further includes:
Cue module, it is aobvious for by prompt window, asking the user whether to open the suspended window under current use state Show permission;
Second determining module determines that current use shape is opened in user's determination for the touch control operation according to user Suspended window under state shows permission.
In the alternatively possible way of realization of second aspect, in the target patterns include following information at least One: the display position of suspended window, the size of suspended window, the mark of suspended window, the color of suspended window.
In the alternatively possible way of realization of second aspect, the device, further includes:
Detection module, whether the memory usage for detecting the terminal has been more than the first preset value;
First update module, it is default with first when the memory usage for the terminal has been more than the first preset value Pattern, update the pattern of suspended window shown on the display screen.
In the alternatively possible way of realization of second aspect, the device, further includes:
Second obtains module, and for obtaining PUSH message, the PUSH message is sent by any application server;
Third determining module, for determining the to be updated of the suspended window according to perhaps attribute in the PUSH message Pattern;
Second update module, for updating the suspended window shown on the display screen according to the pattern to be updated Pattern.
In the alternatively possible way of realization of second aspect, the device, further includes:
Receiving module, for receiving user to the touch control operation of the suspended window;
4th determining module, the pattern for currently being shown according to the suspended window, after determining that the suspended window is opened Display interface;
Second display module, for will content corresponding with the suspended window, the opening is shown in the form of preset On display interface afterwards.
Suspended window display device provided in an embodiment of the present invention, the first current use state of acquisition terminal;Then basis Preset mapping policy determines the target patterns of suspended window corresponding with the current use state;Finally in the terminal Display screen on, show suspended window in the form of the target patterns.Hereby it is achieved that according to the use state of terminal, it will Suspended window is shown on terminal display with different patterns, is improved flexibility and diversity that suspended window is shown, is facilitated The use of user, meets user demand, improves user experience.
In order to achieve the above object, third aspect present invention embodiment proposes a kind of electronic equipment, comprising: including with next Or multiple components: circuit board, shell, processor, memory, power circuit, display screen, audio component, input/output (I/O) Interface, sensor module and communication component;Wherein, the circuit board is placed in the space interior that the shell surrounds, institute It states processor and the memory is arranged on the circuit board;The power circuit, for for each of the electronic equipment Circuit or device power supply;The memory is for storing executable program code;The processor is by reading the memory The executable program code of middle storage runs program corresponding with the executable program code, for executing following step It is rapid:
Obtain the current use state of terminal;
According to preset mapping policy, the target patterns of suspended window corresponding with the current use state are determined;
On the display screen of the terminal, suspended window is shown in the form of the target patterns.
Electronic equipment provided by the embodiments of the present application, the first current use state of acquisition terminal;Then according to preset Mapping policy determines the target patterns of suspended window corresponding with the current use state;Finally in the display of the terminal On screen, suspended window is shown in the form of the target patterns.Hereby it is achieved that according to the use state of terminal, by suspended window It with different patterns, is shown on terminal display, improves the flexibility and diversity that suspended window is shown, facilitate user's It uses, meets user demand, improve user experience.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart of the suspension window displaying method of one embodiment of the invention;
Fig. 2 is the schematic diagram that the suspended window of one embodiment of the invention is shown on terminal display;
Fig. 3 is the flow chart of the suspension window displaying method of another embodiment of the present invention;
Fig. 4 is the schematic diagram that the suspended window of another embodiment of the present invention is shown on terminal display;
Fig. 5 is the schematic diagram that the suspended window of another embodiment of the present invention is shown on terminal display;
Fig. 6 is the schematic diagram that the suspended window of another embodiment of the present invention is shown on terminal display;
Fig. 7 is the structure chart of the suspended window display device of one embodiment of the invention;
Fig. 8 is the structure chart of the suspended window display device of another embodiment of the present invention;
Fig. 9 is the structure chart of the electronic equipment of one embodiment of the invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.On the contrary, this The embodiment of invention includes all changes fallen within the scope of the spiritual and intension of attached claims, modification and is equal Object.
Below with reference to the accompanying drawings the suspension window displaying method, device and electronic equipment of the embodiment of the present invention are described.
Fig. 1 is the flow chart of the suspension window displaying method of one embodiment of the invention.
As shown in Figure 1, the suspension window displaying method includes:
Step 101, the current use state of terminal is obtained.
Specifically, suspension window displaying method provided in an embodiment of the present invention, it can be by suspension provided in an embodiment of the present invention Window display device executes.Wherein, suspended window display device can be configured in any terminal device, such as mobile phone, computer Deng.
The embodiment of the present invention is mainly for the existing method for showing suspended window on terminal display, suspended window pattern Single problem proposes a kind of use state according to terminal, determines the Show Styles of suspended window, is shown with to carry out suspended window Method.
Wherein, the use state of terminal, comprising: desktop state, charged state, screen lock state, using open state etc., this Invention is not construed as limiting this.
Specifically, can determine the current use state of terminal according to the content of the current top display interface of terminal. For example, indicating that terminal is in charged state when the top display interface of terminal is charged interface;When the top of terminal is aobvious When showing that interface is locking screen interface, indicate that terminal is in screen lock state;When the top display interface of terminal is application interface, table Show that terminal is in the state, etc. that application is opened.
Step 102, according to preset mapping policy, the target of suspended window corresponding with the current use state is determined Pattern.
Step 103, on the display screen of the terminal, suspended window is shown in the form of the target patterns.
Wherein, the target patterns of suspended window may include at least one of following information: the display position of suspended window, Size, the mark of suspended window, the color of suspended window of suspended window.
Specifically, suspended window display device, can according to need and show suspended window at the top of terminal display, bottom End or other any positions;And the size of suspended window is set as needed into suitably sized;The mark of suspended window refers to The display format of suspended window, for example can be and accelerate ball, memory bar etc.;The color of suspended window also can be set into most pushes up with terminal The easily distinguishable color, etc. of the color of layer display interface.
For example, it is assumed that the target patterns of suspended window include the display position information of suspended window, then the pattern of suspended window can be with Setting are as follows: suspended window is shown in the left side of terminal display upper position;Suspended window is shown in the left side of terminal display In lower position;Suspended window is shown in the right side of terminal display upper position, etc..
Or, it is assumed that the target patterns of suspended window include the display position of suspended window, size, mark, colouring information, then hang The pattern of floating window can be set are as follows: suspended window be it is 0.5 centimetre wide, high 1 centimetre white newspaper pattern, be shown in terminal Show the right side of screen;Suspended window is the green acceleration ball pattern that radius is 0.5 centimetre, is shown in the bottom right of terminal display Angle, etc..
When specific implementation, the mapping relations of the use state of terminal and the target patterns of suspended window can be preset, into And according to current use state and preset mapping policy, that is, it can determine the target patterns of corresponding suspended window, and in terminal Display screen on, suspended window is shown in the form of target patterns.
For example, terminal can be set and be in screen lock state, desktop state, using opening state, corresponding suspended window Pattern is all 0.5 centimetre wide, the newspaper pattern of high 1 centimetre of white, the display position difference on terminal display For upper position in upper position in position lower in the right side of terminal display, right side, right side.To use shape in acquisition terminal After state, however, it is determined that terminal is in screen lock state, then can be according to preset mapping policy, by suspended window with " 1 " institute in Fig. 2 (a) The form shown is shown on terminal display;If terminal is in desktop state, can will be hanged according to preset mapping policy Floating window is shown on terminal display in the form of shown in " 2 " in Fig. 2 (b);It, can be with if terminal, which is in, applies opening state According to preset mapping policy, suspended window is shown on terminal display in the form of shown in " 4 " in Fig. 2 (d).
Alternatively, terminal, which can be set, is in charged state, it include charge mode, charging remaining time etc. in corresponding suspended window Information, and suspended window is shown in the middle position of terminal display, to then may be used when determining that terminal is in charged state Suspended window to be shown on terminal display in the form of shown in " 3 " in Fig. 2 (c).
It is understood that display currently makes in practical application, user may not want that on the display screen of terminal With the suspended window under state, then, in embodiments of the present invention, it can also be chosen whether to show under currently used state by user Suspended window, i.e., before step 103, can also include:
By prompt window, asks the user whether to open the suspended window under current use state and show permission;
According to the touch control operation of user, determine that the user determines the suspended window display power opened under current use state Limit.
Wherein, the touch control operation of user, can be user clicked on prompt window, the operation of long-pressing or sliding etc..
As an example it is assumed that suspended window display device, by the prompt window with "Yes" "No" button, inquiry user is The no suspended window opened under current use state shows permission, if user clicks "Yes", suspended window display device can root Suspended window is shown in the form of target patterns on the display screen of terminal according to the touch control operation of user;If user clicks "No", then suspended window display device can be according to the touch control operation of user, in the display of terminal no longer in the form of target patterns Suspended window is shown on screen.
Suspension window displaying method provided in an embodiment of the present invention, the first current use state of acquisition terminal;Then basis Preset mapping policy determines the target patterns of suspended window corresponding with the current use state;Finally in the terminal Display screen on, show suspended window in the form of the target patterns.Hereby it is achieved that according to the use state of terminal, it will Suspended window is shown on terminal display with different patterns, is improved flexibility and diversity that suspended window is shown, is facilitated The use of user, meets user demand, improves user experience.
By above-mentioned analysis it is found that terminal can be shown in by suspended window with different patterns according to the use state of terminal It shows on screen.In practical applications, the pattern of suspended window, the difference and use of the message that can also be pushed according to application server The operation etc. at family is changed, and below with reference to Fig. 3, above situation is specifically described.
Fig. 3 is the flow chart of the suspension window displaying method of another embodiment of the present invention.
As shown in figure 3, the suspension window displaying method, comprising:
Step 301, the current use state of terminal is obtained.
Step 302, according to preset mapping policy, the target of suspended window corresponding with the current use state is determined Pattern.
Step 303, on the display screen of the terminal, suspended window is shown in the form of the target patterns.
Wherein, the specific implementation process and principle of above-mentioned steps 301- step 303, is referred to step in above-described embodiment The detailed description of 101- step 103, details are not described herein again.
Step 304, whether the memory usage for detecting the terminal has been more than the first preset value.
Step 305, if so, with the first preset pattern, the pattern of the suspended window shown on the display screen is updated.
Specifically, suspended window display device, it can be with the memory service condition of real-time monitoring terminal, and reached in memory usage When to certain value, memory service condition is shown on terminal display in the form of suspended window, so that user be allow to lead to It crosses suspended window and obtains terminal memory service condition in real time, and memory use is adjusted.
Wherein, the first preset value can be arranged according to the memory size of terminal and application operating condition.For example, when eventually When the memory usage at end reaches 50%, terminal will appear the slow phenomenon of card, then the first preset value can be set to 50%.The One preset pattern, when being more than the first preset value for pre-set memory usage, the pattern of corresponding suspended window, such as It can be the form as shown in " 1 " in Fig. 4 (a).
It is understood that the memory usage of terminal is real-time change depending on the user's operation, if user starts New application, then memory usage accordingly becomes larger;If user closes application, memory usage accordingly becomes smaller.In the present invention In embodiment, the service condition of the suspended window display memory of memory bar pattern can use, and different memory usages is set Corresponding different color, as shown in " 1 " in Fig. 4 (a), memory usage changes from small to big, and corresponding memory bar color is from light to dark, interior When depositing utilization rate variation, corresponding variation occurs for the color of memory bar then may remind the user that in cleaning when being more than certain value It deposits.
As an example it is assumed that the first preset value is 50%, the suspended window currently shown on terminal display is Fig. 2 (b) form shown in " 2 " in then can be with then when suspended window display device determines that the memory usage of terminal is more than 50% In the form of shown in " 1 " in Fig. 4 (a), suspended window is shown.Further, if the memory usage of terminal is more than 75%, terminal System operation it is possible that problem, suspended window at this time can also show in the form of shown in " 2 " in Fig. 4 (b), with prompting User's releasing memory promotes the speed of service of terminal.
Further it will be understood that suspended window be various applications functional entrance, can not only display terminal memory use Rate situation can also push other information, such as weather condition, news messages etc. to user.
Correspondingly, can also include: acquisition PUSH message before step 304, the PUSH message is by any application What server was sent;According to perhaps attribute in the PUSH message, the pattern to be updated of the suspended window is determined;According to described Pattern to be updated updates the pattern of the suspended window shown on the display screen.
When specific implementation, the mapping relations of the interior perhaps attribute of PUSH message and the pattern of suspended window can be preset, To update the pattern of suspended window according to perhaps attribute in PUSH message.
For example, can preset PUSH message is the weather condition in preset time range, corresponding suspended window Pattern is mark related with weather.For example, it is assumed that will appear hot weather in week age, the pattern of corresponding suspended window is " sun " picture and relevant text;It will appear thunder and lightning in week age, the pattern of corresponding suspended window is " lightning " picture and phase The text of pass;It will appear the cloudy day in week age, the pattern of corresponding suspended window is " black clouds " picture and relevant text.If obtaining PUSH message be that will appear hot weather in week age, then according to perhaps attribute and suspended window in preset PUSH message Pattern corresponding relationship, the pattern of suspended window can be updated to " sun " picture and relevant text, such as " 1 " in Fig. 5 (a) It is shown.
Alternatively, can preset PUSH message is news messages, the pattern of corresponding suspended window is related with news messages Mark.For example, it is assumed that the content of news messages is national current political news, entertainment news, social news, the sample of corresponding suspended window Formula is picture related to news messages and relevant text.If the PUSH message obtained is national current political news, according to pre- If PUSH message interior perhaps attribute and suspended window pattern corresponding relationship, the pattern of suspended window can be updated to newly The relevant picture of message and relevant text are heard, as shown in " 2 " in Fig. 5 (b).
Further, after suspended window is shown on terminal display, user can also carry out touch-control behaviour to suspended window Make, with movement, suspended window is closed, or open the corresponding content of suspended window, to obtain more information.I.e. in above-mentioned steps After 305, further includes:
Step 306, user is received to the touch control operation of the suspended window.
Step 307, the pattern currently shown according to the suspended window determines the display interface after the suspended window is opened.
Step 308, will content corresponding with the suspended window, display circle after the opening is shown in the form of preset On face.
Wherein, user can be user's click, sliding, operation of long-pressing suspended window etc. to the touch control operation of suspended window, this Place is with no restriction.
When specific implementation, top display interface after the pattern and opening that suspended window is currently shown can be preset The corresponding relationship of corresponding relationship and the corresponding content of suspended window and the form shown on open top display interface, After user is received to the touch control operation of suspended window, the pattern that can be currently shown according to suspended window, after determining that suspended window is opened Top display interface and the corresponding content of suspended window display format, and by the corresponding content of suspended window, with preset shape Formula is shown on top display interface after opening.
As an example it is assumed that the pattern that suspended window is currently shown is pattern shown in " 2 ", corresponding suspended window in Fig. 5 (b) Top display interface after opening is shown in Fig. 6 (a);Assuming that the pattern that suspended window is currently shown is that " 1 " is shown in Fig. 5 (a) Pattern, it is corresponding setting suspended window open after top display interface be Fig. 6 (b) shown in;Assuming that suspended window is currently shown Pattern be pattern shown in " 2 " in Fig. 4 (b), the top display interface after corresponding suspended window is opened is shown in Fig. 6 (c). So when the pattern that suspended window is currently shown is respectively " 2 " in Fig. 5 (b), " 1 " in Fig. 5 (a), pattern shown in " 2 " in Fig. 4 (b) When, if receiving user to the touch control operation of suspended window, suspended window and suspended window can be corresponded to according to preset corresponding relationship Content, shown respectively with pattern shown in fig. 6.
It is worth noting that, step 306- step 308 can also carry out after step 303, with according to user to suspension The touch control operation of window opens corresponding display interface.
Suspension window displaying method provided in an embodiment of the present invention, the first current use state of acquisition terminal;According to default Mapping policy, determine the target patterns of corresponding with current use state suspended window;Then in the aobvious of the terminal On display screen curtain, suspended window is shown in the form of the target patterns;Then detect the terminal memory usage whether be more than The first preset value;If so, updating the pattern of the suspended window shown on the display screen with the first preset pattern; User is received again to the touch control operation of the suspended window;According to the pattern that the suspended window is currently shown, the suspended window is determined Display interface after opening;Finally will content corresponding with the suspended window, after the opening is shown in the form of preset On display interface.Hereby it is achieved that, by suspended window with different patterns, being shown in terminal display screen according to the use state of terminal On curtain, the flexibility and diversity that suspended window is shown are improved, and grasp in application server push different messages and user When making, the pattern of suspended window is updated, it is convenient for users to use, user demand is met, user experience is improved.
Fig. 7 is the structure chart of the suspended window display device of one embodiment of the invention.
As shown in fig. 7, the suspended window display device 70, comprising:
First obtains module 71, for obtaining the current use state of terminal;
First determining module 72, for according to preset mapping policy, determination to be corresponding with the current use state The target patterns of suspended window;
First display module 73 is shown outstanding for the display screen in the terminal in the form of the target patterns Floating window.
Wherein, suspended window display device provided in this embodiment, can be configured in any terminal device, such as hand Mechanical, electrical brain etc..
In a kind of possible way of realization of the present embodiment, the suspended window display device 70, further includes:
Cue module, it is aobvious for by prompt window, asking the user whether to open the suspended window under current use state Show permission;
Second determining module determines that current use shape is opened in user's determination for the touch control operation according to user Suspended window under state shows permission.
In the alternatively possible way of realization of the present embodiment, in the target patterns include following information at least One: the display position of suspended window, the size of suspended window, the mark of suspended window, the color of suspended window.
It should be noted that the above-mentioned explanation to suspension window displaying method embodiment shown in FIG. 1, is also applied for this implementation The suspended window display device that example provides, details are not described herein again.
Suspended window display device provided in this embodiment, the first current use state of acquisition terminal;Then according to default Mapping policy, determine the target patterns of corresponding with current use state suspended window;Finally in the aobvious of the terminal On display screen curtain, suspended window is shown in the form of the target patterns.Hereby it is achieved that will be suspended according to the use state of terminal Window is shown on terminal display with different patterns, is improved flexibility and diversity that suspended window is shown, is facilitated user Use, meet user demand, improve user experience.
Fig. 8 is the structure chart of the suspended window display device of another embodiment of the present invention.
As shown in figure 8, on the basis of shown in Fig. 7, the suspended window display device 70, further includes:
Detection module 74, whether the memory usage for detecting the terminal has been more than the first preset value;
First update module 75, it is pre- with first when the memory usage for the terminal has been more than the first preset value If pattern, update the pattern of suspended window shown on the display screen.
Receiving module 76, for receiving user to the touch control operation of the suspended window;
4th determining module 77, the pattern for currently being shown according to the suspended window, after determining that the suspended window is opened Display interface;
Second display module 78, for will content corresponding with the suspended window, described beat is shown in the form of preset On display interface after opening.
In a kind of possible way of realization of the present embodiment, the suspended window display device, further includes:
Second obtains module, and for obtaining PUSH message, the PUSH message is sent by any application server;
Third determining module, for determining the to be updated of the suspended window according to perhaps attribute in the PUSH message Pattern;
Second update module, for updating the suspended window shown on the display screen according to the pattern to be updated Pattern.
It should be noted that the above-mentioned explanation to suspension window displaying method embodiment shown in Fig. 3, is also applied for this implementation The suspended window display device that example provides, details are not described herein again.
Suspended window display device provided in an embodiment of the present invention, the first current use state of acquisition terminal;According to default Mapping policy, determine the target patterns of corresponding with current use state suspended window;Then in the aobvious of the terminal On display screen curtain, suspended window is shown in the form of the target patterns;Then detect the terminal memory usage whether be more than The first preset value;If so, updating the pattern of the suspended window shown on the display screen with the first preset pattern; User is received again to the touch control operation of the suspended window;According to the pattern that the suspended window is currently shown, the suspended window is determined Display interface after opening;Finally will content corresponding with the suspended window, after the opening is shown in the form of preset On display interface.Hereby it is achieved that, by suspended window with different patterns, being shown in terminal display screen according to the use state of terminal On curtain, the flexibility and diversity that suspended window is shown are improved, and grasp in application server push different messages and user When making, the pattern of suspended window is updated, it is convenient for users to use, user demand is met, user experience is improved.
Fig. 9 is the structural schematic diagram of the electronic equipment of the application one embodiment.Wherein, there are many type of electronic equipment, For example can be mobile phone, palm PC, laptop and wearable device etc., the present embodiment is not construed as limiting this.
As shown in figure 9, the electronic equipment, comprising: include one or more of the following components: circuit board 901, shell 902, place Reason device 903, memory 904, power circuit 905, display screen 906, audio component 907, the interface 908 of input/output (I/O), Sensor module 909 and communication component 910;Wherein, the circuit board 901 is placed in the space that the shell 902 surrounds Portion, the processor 903 and the memory 904 are arranged on the circuit board 901;The power circuit 905 is used for as institute State each circuit or the device power supply of electronic equipment;The memory 904 is for storing executable program code;The processor 903 is corresponding with the executable program code to run by reading the executable program code stored in the memory 904 Program, with for executing following steps:
Obtain the current use state of terminal;
According to preset mapping policy, the target patterns of suspended window corresponding with the current use state are determined;
On the display screen of the terminal, suspended window is shown in the form of the target patterns.
It should be noted that the aforementioned electricity for being also applied for the embodiment to the explanation of suspension window displaying method embodiment Sub- equipment, realization principle is similar, and details are not described herein again.
The electronic equipment of the embodiment of the present application, the first current use state of acquisition terminal;Then according to preset mapping Strategy determines the target patterns of suspended window corresponding with the current use state;Finally in the display screen of the terminal On, suspended window is shown in the form of the target patterns.Hereby it is achieved that according to the use state of terminal, by suspended window with not Same pattern, is shown on terminal display, improves flexibility and diversity that suspended window is shown, facilitates making for user With meeting user demand, improve user experience.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention Type.

Claims (11)

1. a kind of suspension window displaying method, which comprises the following steps:
Obtain the current use state of terminal, wherein the use state includes at least one of following state: desktop shape State, charged state, screen lock state, using open state;
According to preset mapping policy, the target patterns of suspended window corresponding with the current use state are determined, wherein institute State include in target patterns the display position of suspended window, the size of suspended window, the mark of suspended window, in the color of suspended window extremely Few one, preset the display position of the use state and the suspended window, the size of suspended window, the mark of suspended window, The mapping relations of at least one in the color of suspended window;
On the display screen of the terminal, suspended window is shown in the form of the target patterns.
2. the method as described in claim 1, which is characterized in that it is described on the display screen of the terminal, with the target The form of pattern is shown before suspended window, further includes:
By prompt window, asks the user whether to open the suspended window under current use state and show permission;
According to the touch control operation of user, determine that the user determines that the suspended window opened under current use state shows permission.
3. the method as described in claim 1, which is characterized in that further include:
Whether the memory usage for detecting the terminal has been more than the first preset value;
If so, updating the pattern of the suspended window shown on the display screen with the first preset pattern.
4. the method as described in claim 1, which is characterized in that further include:
PUSH message is obtained, the PUSH message is sent by any application server;
According to perhaps attribute in the PUSH message, the pattern to be updated of the suspended window is determined;
According to the pattern to be updated, the pattern of the suspended window shown on the display screen is updated.
5. the method as described in claim 1-4 is any, which is characterized in that it is described with the target patterns show suspended window it Afterwards, further includes:
User is received to the touch control operation of the suspended window;
According to the pattern that the suspended window is currently shown, the display interface after the suspended window is opened is determined;
Will content corresponding with the suspended window, on the display interface after the opening is shown in the form of preset.
6. a kind of suspended window display device characterized by comprising
First obtains module, for obtaining the current use state of terminal, wherein the use state includes in following state It is at least one: desktop state, charged state, screen lock state, using open state;
First determining module, for determining suspended window corresponding with the current use state according to preset mapping policy Target patterns, wherein in the target patterns include the display position of suspended window, the size of suspended window, the mark of suspended window, At least one of color of suspended window presets the display position of the use state and the suspended window, suspended window Size, the mark of suspended window, the mapping relations of at least one in the color of suspended window;
First display module shows suspended window in the form of the target patterns for the display screen in the terminal.
7. device as claimed in claim 6, which is characterized in that further include:
Cue module, for by prompt window, asking the user whether to open the suspended window display power under current use state Limit;
Second determining module determines that the user determines and opens under current use state for the touch control operation according to user Suspended window show permission.
8. device as claimed in claim 6, which is characterized in that the device, further includes:
Detection module, whether the memory usage for detecting the terminal has been more than the first preset value;
First update module, when the memory usage for the terminal has been more than the first preset value, with the first preset sample Formula updates the pattern of the suspended window shown on the display screen.
9. device as claimed in claim 6, which is characterized in that the device, further includes:
Second obtains module, and for obtaining PUSH message, the PUSH message is sent by any application server;
Third determining module, for determining the pattern to be updated of the suspended window according to perhaps attribute in the PUSH message;
Second update module, for updating the pattern of the suspended window shown on the display screen according to the pattern to be updated.
10. the device as described in claim 6-9 is any, which is characterized in that the device, further includes:
Receiving module, for receiving user to the touch control operation of the suspended window;
4th determining module, the pattern for currently being shown according to the suspended window determine the display after the suspended window is opened Interface;
Second display module, for will content corresponding with the suspended window, after the opening is shown in the form of preset On display interface.
11. a kind of electronic equipment characterized by comprising include one or more of the following components: circuit board, shell, processing Device, memory, power circuit, display screen, audio component, the interface of input/output (I/O), sensor module and communication set Part;Wherein, the circuit board is placed in the space interior that the shell surrounds, and the processor and the memory are arranged in institute It states on circuit board;The power circuit, for each circuit or the device power supply for the electronic equipment;The memory is used for Store executable program code;The processor run by reading the executable program code stored in the memory with The corresponding program of the executable program code, for executing following steps:
Obtain the current use state of terminal, wherein the use state includes at least one of following state: desktop shape State, charged state, screen lock state, using open state;
According to preset mapping policy, the target patterns of suspended window corresponding with the current use state are determined, wherein institute State include in target patterns the display position of suspended window, the size of suspended window, the mark of suspended window, in the color of suspended window extremely Few one, preset the display position of the use state and the suspended window, the size of suspended window, the mark of suspended window, The mapping relations of at least one in the color of suspended window;
On the display screen of the terminal, suspended window is shown in the form of the target patterns.
CN201610875571.9A 2016-09-30 2016-09-30 Suspension window display method and device and electronic equipment Active CN106445345B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610875571.9A CN106445345B (en) 2016-09-30 2016-09-30 Suspension window display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610875571.9A CN106445345B (en) 2016-09-30 2016-09-30 Suspension window display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN106445345A CN106445345A (en) 2017-02-22
CN106445345B true CN106445345B (en) 2019-06-28

Family

ID=58172063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610875571.9A Active CN106445345B (en) 2016-09-30 2016-09-30 Suspension window display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106445345B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107748688B (en) * 2017-09-30 2021-05-11 微梦创科网络科技(中国)有限公司 Information display method and device
CN107729115A (en) * 2017-10-31 2018-02-23 努比亚技术有限公司 A kind of display methods, equipment and computer-readable storage medium
CN107885569A (en) * 2017-11-16 2018-04-06 口碑(上海)信息技术有限公司 Based on the PUSH message method of reseptance and device for listening monotype
CN108289233B (en) * 2017-12-12 2021-05-07 海尔优家智能科技(北京)有限公司 Display method, computer-readable storage medium, computer device, and display apparatus
CN108776568B (en) * 2018-06-07 2023-04-14 腾讯科技(深圳)有限公司 Webpage display method, device, terminal and storage medium
CN109407926B (en) * 2018-10-17 2021-09-14 联想(北京)有限公司 Processing method and electronic equipment
WO2020097873A1 (en) * 2018-11-15 2020-05-22 深圳市欢太科技有限公司 Floating window control method and related product
CN109697356B (en) * 2018-12-27 2021-07-23 北京金山安全软件有限公司 Application software permission adaptation method and device
CN109933401B (en) * 2019-03-22 2023-01-24 北京城市网邻信息技术有限公司 Display method and device of suspended window view
CN110333923B (en) * 2019-05-29 2023-06-06 努比亚技术有限公司 Screen recognition implementation method, terminal and computer readable storage medium
CN110515687A (en) * 2019-08-28 2019-11-29 上海掌门科技有限公司 Recommendation information methods of exhibiting, device, electronic equipment and medium
CN111638836B (en) * 2020-04-30 2022-02-22 维沃移动通信有限公司 Information display method and electronic equipment
CN112162870A (en) * 2020-09-25 2021-01-01 深圳传音控股股份有限公司 File processing operation method, mobile terminal and storage medium
CN114327266B (en) * 2021-12-24 2024-04-09 深信服科技股份有限公司 Method, device and medium for slowly identifying card of storage device
WO2023131313A1 (en) * 2022-01-10 2023-07-13 荣耀终端有限公司 Window interaction method and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000065461A1 (en) * 1999-04-22 2000-11-02 Fraunhofer Center For Research In Computer Graphics, Inc. Tools for interacting with virtual environments
CN102156615A (en) * 2011-04-01 2011-08-17 奇智软件(北京)有限公司 Suspension window displaying method and device
CN103440087A (en) * 2013-08-07 2013-12-11 广东欧珀移动通信有限公司 Method and mobile terminal for customizing position of status bar
CN103677527A (en) * 2013-12-24 2014-03-26 北京奇虎科技有限公司 Suspension problem interaction control display method and device suitable for mobile terminal
CN104216752A (en) * 2014-09-30 2014-12-17 珠海市君天电子科技有限公司 Window-based information loading method and device
CN104462237A (en) * 2014-11-14 2015-03-25 华为软件技术有限公司 Method and device for displaying public information
CN105117228A (en) * 2015-08-27 2015-12-02 北京金山安全软件有限公司 Method for loading suspension window, suspension window loading device and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000065461A1 (en) * 1999-04-22 2000-11-02 Fraunhofer Center For Research In Computer Graphics, Inc. Tools for interacting with virtual environments
CN102156615A (en) * 2011-04-01 2011-08-17 奇智软件(北京)有限公司 Suspension window displaying method and device
CN103440087A (en) * 2013-08-07 2013-12-11 广东欧珀移动通信有限公司 Method and mobile terminal for customizing position of status bar
CN103677527A (en) * 2013-12-24 2014-03-26 北京奇虎科技有限公司 Suspension problem interaction control display method and device suitable for mobile terminal
CN104216752A (en) * 2014-09-30 2014-12-17 珠海市君天电子科技有限公司 Window-based information loading method and device
CN104462237A (en) * 2014-11-14 2015-03-25 华为软件技术有限公司 Method and device for displaying public information
CN105117228A (en) * 2015-08-27 2015-12-02 北京金山安全软件有限公司 Method for loading suspension window, suspension window loading device and electronic equipment

Also Published As

Publication number Publication date
CN106445345A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106445345B (en) Suspension window display method and device and electronic equipment
CN104424221B (en) A kind of information processing method and electronic equipment
CN106062706A (en) Device and method for controlling display
CN105353936B (en) A kind of display methods and electronic equipment
CN108205430A (en) Dual-screen mobile terminal, corresponding control method and storage medium
CN105117320B (en) Electric terminal middle pipe ought to method and its electric terminal
EP3187992A1 (en) Intelligent terminal and method for displaying application icons thereof
CN107562322A (en) Switch the method and apparatus of the page
CN105988860A (en) Method for executing application program and mobile device
CN106662969A (en) Method of processing content and electronic device thereof
CN106055190A (en) Apparatus and method for providing information via portion of display
CN105446611B (en) Apparatus for processing touch input and method thereof
CN103873634A (en) Terminal function setting method and terminal function setting system
CN110109598A (en) A kind of animation interaction implementation method, device and electronic equipment
CN103593153A (en) Mobile terminal and page cross-equipment synchronization control method applied to same
CN105631288A (en) Terminal program switching method and system
CN109189295A (en) display control method, device and terminal device
CN102223435A (en) Method for displaying connection state of communication component in electric equipment and electric equipment
CN102693083A (en) Unlocking method for electronic device with touch screen and electronic device
EP3262496A1 (en) Methods for operating a mobile terminal, application for a mobile terminal, and mobile terminal
CN107765555A (en) The smart home product human-computer interaction interface that icon in kind is shown
CN107077310A (en) For controlling the casting of electronic device of display and method for controlling display
CN111796734A (en) Application program management method, management device, electronic device and storage medium
CN107783707A (en) Content display method, content display and Intelligent worn device
CN109144447A (en) Split screen window adjusting method, device, storage medium and electronic equipment

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