CN110262720A - Control method, device, equipment and the storage medium of floating window - Google Patents

Control method, device, equipment and the storage medium of floating window Download PDF

Info

Publication number
CN110262720A
CN110262720A CN201910541347.XA CN201910541347A CN110262720A CN 110262720 A CN110262720 A CN 110262720A CN 201910541347 A CN201910541347 A CN 201910541347A CN 110262720 A CN110262720 A CN 110262720A
Authority
CN
China
Prior art keywords
floating window
floating
terminal
instruction information
edge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910541347.XA
Other languages
Chinese (zh)
Other versions
CN110262720B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910541347.XA priority Critical patent/CN110262720B/en
Publication of CN110262720A publication Critical patent/CN110262720A/en
Application granted granted Critical
Publication of CN110262720B publication Critical patent/CN110262720B/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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Abstract

The present invention provides control method, device, equipment and the storage medium of a kind of floating window.This method comprises: terminal obtains the first storage instruction information of floating window, floating window is accommodated in the edge of terminal display interface according to the first storage instruction information, the pressure value for the pressing operation that the frame of response terminal receives is greater than the first preset pressure, pops up the floating window of storage.Therefore, the present embodiment can click on area regardless of the minimum whether user understands floating window, user triggers the storage to floating window by the frame of pressing terminal, floating window can be incorporated in the edge of display interface, the bottom that floating window after storing no longer occupies display interface edge shows content, to realize that full screen visualizes, the operating experience of user is improved.

Description

Control method, device, equipment and the storage medium of floating window
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of control method of floating window, device, equipment and storages Medium.
Background technique
With the continuous development of electronic technology, various intelligent terminals, such as smart phone, PC (Personal Computer, hereinafter referred to as: PC) and portable game machine (Play Station Portable, hereinafter referred to as: PSP) etc. Through being widely used by people.Many floating windows, such as text conversation frame, video pair can be placed on the display interface of every kind of terminal Frame etc. is talked about, consequently facilitating user inquires the related content of each floating window in current display interface, such as inquires the dialogue in certain floating window Content.
In the prior art, user can arbitrarily drag floating window on the screen and rest on certain position.Under normal conditions, by The display content of bottom is temporarily blocked in floating window, user implements dragging, and dragging to screen edge just has absolute visual field, but past Toward edge is dragged to, if residual margin is too small, just without enough click on area, floating window can not be moved again.Fig. 1 is The storage schematic diagram for the floating window that the prior art of the present invention provides, as shown in Figure 1, settling mode traditional at present is that control floating window is dragged The range of dynamic screen edge out, i.e., reserve certain region in screen edge, guarantees that user can click floating window, floating window is only propped up The freely dragging in reserved area is held, that is, the distance of floating window at least one side to screen edge is greater than reserved width.
However above scheme a degree of can block interface content, cannot reach the bottom visual range of full screen, use Family is inconvenient.
Summary of the invention
The present invention provides control method, device, equipment and the storage medium of a kind of mobile terminal floating window.Since floating window is received It is contained in the edge of display interface, to realize that full screen visualizes, improves the operating experience of user.
First aspect present invention provides a kind of control method of floating window, applied to the terminal that graphic user interface can be presented, Include:
Obtain the first storage instruction information of the floating window;
The floating window is accommodated in the edge of terminal display interface according to the first storage instruction information;
The pressure value for responding the pressing operation that the frame of the terminal receives is greater than the first preset pressure, pops up described floating Window.
In one possible implementation, the first storage instruction information includes floating window moving direction information;It is described The floating window is accommodated in the edge of terminal display interface according to the first storage instruction information, comprising:
According to the floating window moving direction information in the first storage instruction information, the floating window is accommodated in the floating window The edge of terminal display interface pointed by moving direction.
In one possible implementation, the first storage instruction information includes side pressing information;The basis The floating window is accommodated in the edge of terminal display interface by the first storage instruction information, comprising:
Information is pressed according to the side in the first storage instruction information, the floating window is accommodated in preset terminal and is shown Show the edge at interface.
In one possible implementation, after the pop-up floating window, the method also includes:
The pressure value for responding the pressing operation that the frame of the terminal receives is greater than the second preset pressure, stores described floating Window.
In one possible implementation, when the quantity of the floating window is one, the pop-up floating window, comprising:
The all or part of interface of the floating window is popped up, or
The interface of the floating window is gradually popped up according to pressing duration.
In one possible implementation, when the quantity of the floating window is multiple, the pop-up floating window, comprising:
Multiple floating windows are popped up in a manner of tiling arrangement or arrangement of gradients.
In one possible implementation, it is described popped up in a manner of tiling arrangement or arrangement of gradients it is multiple described floating Window, comprising:
According to the pre-set priority of floating window, multiple floating windows are popped up in a manner of tiling arrangement or arrangement of gradients.
In one possible implementation, it is described popped up in a manner of tiling arrangement or arrangement of gradients it is multiple described floating Window, comprising:
The tiling spacing or gradient difference of multiple floating windows of pop-up are gradually increased according to pressing duration.
In one possible implementation, after the pop-up floating window, the method also includes:
The default gesture operation that the user interface of the terminal receives is responded, the floating window that user is chosen is in the user It is displayed in full screen on interface;The default gesture operation includes clicking, double-clicking, pulling.
Second aspect of the present invention provides a kind of control device of floating window, comprising:
Module is obtained, for obtaining the first storage instruction information of the floating window;
Processing module, for the floating window to be accommodated in the side of terminal display interface according to the first storage instruction information Edge;
The processing module, the pressure value for being also used to respond the pressing operation that the frame of the terminal receives are greater than first Preset pressure pops up the floating window.
Third aspect present invention provides a kind of electronic equipment, comprising: touch screen, lateral pressure sensor and such as present invention The control device of floating window described in second aspect.
Fourth aspect present invention provides a kind of computer readable storage medium, is stored thereon with computer program, the meter First aspect present invention described in any item methods are realized when calculation machine program is executed by processor.
The embodiment of the present invention provides control method, device, equipment and the storage medium of a kind of floating window.This method comprises: eventually End obtains the first storage instruction information of floating window, and floating window is accommodated in the side of terminal display interface according to the first storage instruction information Edge, the pressure value for responding the pressing operation that the frame of terminal receives are greater than the first preset pressure, pop up the floating window of storage.Cause This, the present embodiment regardless of user whether understand floating window minimum can click on area, user by pressing terminal frame triggering pair The storage of floating window, floating window can be incorporated in the edge of display interface, that is, the floating window after storing no longer occupies display interface edge Bottom shows content, to realize that full screen visualizes, improves the operating experience of user.
Detailed description of the invention
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 technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the storage schematic diagram for the floating window that the prior art of the present invention provides;
Fig. 2 is the flow chart of the control method embodiment one of floating window of the present invention;
Fig. 3 is the schematic diagram that tiling arrangement mode provided by the invention pops up floating window;
Fig. 4 is the schematic diagram that arrangement of gradients mode provided by the invention pops up floating window;
Fig. 5 is the flow chart of the control method embodiment two of floating window of the present invention;
Fig. 6 is the flow chart of the control method embodiment three of floating window of the present invention;
Fig. 7 is the first position view of pressure sensor provided by the invention at the terminal;
Fig. 8 is second of the position view of pressure sensor provided by the invention at the terminal;
Fig. 9 is the structural schematic diagram of the control device of floating window provided in an embodiment of the present invention;
Figure 10 is the hardware structural diagram of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Similar object, without being used to describe a particular order or precedence order.It should be understood that the data used in this way are in appropriate feelings It can be interchanged under condition, so that the embodiment of the present invention described herein can be other than those of illustrating or describing herein Sequence implement.
It should be appreciated that term " includes " used herein and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Current mobile terminal, it is most of all to have the function of floating window, when than if any short message, instant messaging information, shielding It will appear a floating window on curtain, be used directly for return information or read information etc., user uses mobile terminal for another example When playing game, for reading teammate's information, equipment information etc., user can drag floating window on the screen and rest on any floating window Position.Bottom has temporarily been blocked due to floating window and has shown content, user can drag floating window to screen edge, so just according to demand There is the absolute visual field of current interface.But existing user in general and do not know about floating window minimum can click on area, Moreover, being influenced by operating habit, user is not aware that the bounds for implementing dragging to floating window.Moreover, even if user knows The road bounds, when floating window is moved to the boundary of screen by user if necessary, floating window still a degree of can block bottom Layer display content, cannot reach the bottom visual range of full screen.
To solve the above-mentioned problems, the embodiment of the present invention provides a kind of control method of floating window, and this method may include: to obtain The first of floating window is taken to store instruction information;Floating window is accommodated in the side of terminal display interface according to the first storage instruction information Edge is greater than the first preset pressure in response to the pressure value for the pressing operation that the frame of terminal receives, pops up the floating window of storage.
In the embodiment of the present invention, when user needs to carry out floating window storage processing, in receiving state on screen All or part of floating window will be uniformly accommodated in the edge of terminal display interface, and user can pass through the marginal position of display interface Know whether current display interface has floating window to be contained.Therefore, the present embodiment can point regardless of whether user understands the minimum of floating window Region is hit, floating window can be incorporated in the edge of display interface, that is, the floating window after storing no longer occupies the bottom at display interface edge It shows content, to realize that full screen visualizes, improves the operating experience of user.The program can be applicable to each class of electronic devices In, including the terminals such as tablet computer, smart phone, intelligent game computer, this this programme is not specifically limited.
The technical solution of the above embodiment of the present invention is described in detail using several specific embodiments below.It needs It is bright, below several specific embodiments can be combined with each other, for the same or similar content, in various embodiments not Repeated explanation is carried out again.
Embodiment one
Fig. 2 is the flow chart of the control method embodiment one of floating window of the present invention, and Fig. 3 is tiling arrangement side provided by the invention Formula pops up the schematic diagram of floating window, and Fig. 4 is the schematic diagram that arrangement of gradients mode provided by the invention pops up floating window.
As shown in Fig. 2, control method provided in this embodiment may include:
S101, the first storage instruction information for obtaining floating window;
For example, in the present embodiment, the first storage instruction information can be a certain floating window or certain floating windows are in To the instruction information of receiving state, alternatively, the instruction information etc. triggered after a certain key of user's click terminal, art technology Personnel can realize that terminal obtains floating window in the first storage instruction information to receiving state, herein no longer in any manner It repeats.
When need by terminal display interface a floating window or several floating windows store when, user can be floating by this The state triggering of window perhaps several floating windows is can store mode so that this floating window or several floating windows are in wait store State.In the present embodiment, user can using any mode in the prior art trigger floating window be in can store mode, example Such as, if terminal is mobile terminal, user can choose floating window by the way of dragging using clicking, to trigger the floating window in can Storage mode;If terminal is desktop computer, user can click floating window by mouse, be in and can store to trigger the floating window Mode.Certainly, in embodiments of the present invention including but not limited to aforesaid way come trigger floating window be in can store mode.
When user completes aforesaid operations, terminal can obtain some or certain several floating windows and be in receiving state First storage instruction information.
In the present embodiment, floating window can be multiple and different application floating windows, the multiple windows being also possible in an application Mouth interface, is not specifically limited this present embodiment.
S102, the edge that floating window is accommodated in terminal display interface according to the first storage instruction information.
Wherein, the marginal position of display interface has prompt facility.
After terminal obtains the first storage instruction information, that is, know user need to store some or certain it is several floating Some or certain several floating windows can be accommodated in the edge of terminal display interface by window, therefore, terminal.The edge can be aobvious Show the left side at interface, right side, upside, lower edge it is any, the present embodiment is not especially limited.In embodiment, root By the edge that floating window is accommodated in terminal display interface include following two situation according to the first storage instruction information: in a kind of situation, Indicate information by floating window Hide All according to the first storage;In another case, according to first storage instruction information by floating window with The form slightly to contract is accommodated in the visible area at the edge of terminal display interface, and the visible area is for showing the figure for being contained floating window Mark or title etc., are not take up too many user interface.
After floating window is accommodated in the edge of display interface by terminal, has in the marginal position of the display interface of storage floating window and mention Show function, such as retains certain prompt light efficiency or prompt text in the marginal position of display interface.
The pressure value for the pressing operation that S103, the frame for responding terminal receive is greater than the first preset pressure, pops up floating window.
In the present embodiment, the quantity for the floating window being contained is one or more.
When the quantity of floating window is one, pop-up floating window includes the following three types implementation: in a kind of possible implementation In, pop up whole interfaces of the floating window;In one possible implementation, popping up the part interface of the floating window, (such as this is floating The title division of window);In one possible implementation, the interface that floating window is gradually popped up according to pressing duration, presses duration Longer, the size at the floating window interface of pop-up is bigger, until whole interfaces of floating window are ejected.If it is shorter to press duration, pop up The part interface of floating window.
When the quantity of floating window is multiple, pop-up floating window is specifically included: being popped up in a manner of tiling arrangement or arrangement of gradients more A floating window.
Tiling arrangement refers to multiple floating windows according to default spacing from left to right, alternatively, from right to left, alternatively, from up to Under, alternatively, sequence pop-up from bottom to up.(a) in Fig. 3 shows multiple floating windows according to preset level spacing from left to right Sequence pops up, and (b) in Fig. 3 shows multiple floating windows and pop up according to the sequence of preset vertical spacing from top to bottom.
Arrangement of gradients and the difference of tiling arrangement are: after the first floating window moves down preset vertical spacing, then moving right Dynamic preset level spacing, obtains the position of the second floating window, subsequent floating window determines position according to same rule.Can certainly first to It moves down and moves to left backward, alternatively, first moved to right backward to moving up, alternatively, elder generation is moved to left backward to moving up, this present embodiment is not made specifically It limits.Fig. 4 shows multiple floating windows and pops up according to preset vertical spacing and preset level spacing point gradient.
Optionally, it according to the pre-set priority of multiple floating windows, is popped up in a manner of tiling arrangement or arrangement of gradients multiple floating Window.
As shown in figure 4, multiple floating windows are according to pre-set priority and predetermined gradient distance (preset vertical spacing and preset level Spacing) a point gradient pops up, the priority orders of floating window are as follows: 2 > floating window of floating window 4 > floating window, 3 > floating window 1.User can pass through gradient bullet The heading message of multiple floating windows out knows the particular content of each floating window, and easily selection needs the floating window being displayed in full screen.
It should be pointed out that predetermined gradient distance be greater than terminal minimum can click distance, facilitate user from gradient pop up Multiple floating windows in choose and haul out floating window to be shown.
In a kind of possible situation, the storage of pre-set priority and floating window is order dependent.For example, for multiple floating Window, user successively choose floating window, each floating window is successively accommodated in the edge of display interface, the floating window priority stored at first Low, the floating window priority finally stored is high.
In the case where alternatively possible, pre-set priority is related to the opening sequence of floating window.For example, for multiple floating Window, user once store multiple floating windows, and multiple floating windows are uniformly accommodated in the edge of display interface, are opened according to floating window suitable Sequence, the floating window priority opened at first is low, and the floating window priority finally opened is high.
It should be noted that the quantity of the floating window of gradient pop-up has the upper limit because display interface size is limited, that is, It says, if the quantity of floating window is more than preset threshold, after multiple floating window pop-ups, it is possible to overlapping cases occur, i.e. priority is lower Multiple floating windows will overlap.
Optionally, the tiling spacing or gradient difference of multiple floating windows of pop-up are gradually increased according to pressing duration.Namely It says, pressing duration is longer, and the preset level spacing and/or preset vertical spacing between multiple floating windows are bigger, and user passes through control Pressing duration adjusts the preset level spacing and/or preset vertical spacing of multiple floating windows, and user flexibility is facilitated to control multiple floating windows Distance, enrich user-interaction experience.
Optionally, the ejected position of one or more floating windows can be the left side, right side, upside, lower side of display interface Edge it is any, the present embodiment is not especially limited.
Optionally, the ejected position of one or more floating windows can be different from reception position.For example, user is whole by pressing One or more floating windows are accommodated in the upper edge of display interface by frame on the upside of the display interface of end, and subsequent user is whole by pressing Frame on the downside of display interface is held, one or more floating windows pop up (ejected position and reception position from the lower edge of display interface It is different), alternatively, popping up (ejected position is identical with reception position) from the upper edge of display interface.
In the present embodiment, user can trigger the one or more being contained by pressing the frame of any side of terminal The pop-up of floating window does not limit the reception position for the one or more floating windows being contained.Optionally, user can also be by pressing eventually The frame of different sides is held, pop-up is accommodated in the floating window at respective side edge.By taking terminal transverse screen state as an example, user presses terminal The side frame of upside is accommodated in the floating window pop-up at the edge on the upside of display interface;User presses the side frame on the downside of terminal, It is accommodated in the floating window pop-up at the edge on the downside of display interface.
Certainly, it other than triggering the pop-up of floating window according to the pressing operation of terminal frame, can also be shown according to terminal The touch control operation at interface pops up floating window.Specifically, the touch control operation includes but is not limited to slide, for example, receive user from The operation of the upper edge slide downward of display interface is slided alternatively, receiving user from the right side edge of display interface to the left Operation.
It should be noted that in the present embodiment, terminal can be the existing arbitrary equipment shown with screen, such as PC, Smart phone, PSP, MP4 etc., floating window can be existing any moveable display object, such as text conversation frame, video conversation Frame, the display window etc. of other applications.Certainly, terminal includes but is not limited to above equipment in embodiments of the present invention, is floated Window includes but is not limited to above-mentioned display object.
The control method of floating window provided in this embodiment, when user is triggered to the storage of floating window, terminal obtains the of floating window Floating window is accommodated in the edge of terminal display interface according to the first storage instruction information, responds terminal by one storage instruction information The pressure value for the pressing operation that frame receives is greater than the first preset pressure, pops up the floating window of storage.Therefore, the present embodiment regardless of User whether understand floating window minimum can click on area, floating window can be incorporated in the edge of display interface, that is, the floating window after storing The bottom for no longer occupying display interface edge shows content, to realize that full screen visualizes, improves the operating experience of user.
Optionally, on the basis of the above embodiments, after S103, the control method further include:
The default gesture operation that the user interface of response terminal receives, the floating window that user is chosen are complete on a user interface Screen display.
Wherein, presetting gesture operation includes clicking, double-clicking, pulling.
In one possible implementation, the floating window that terminal chooses user is displayed in full screen it in terminal display interface Afterwards, the floating window automatic accomodation that terminal pops up other can be original edge.Aforesaid way reduces other not selected floating windows The space for occupying display interface bottom content, keeps display interface salubriouser.
Embodiment two
Fig. 5 is the flow chart of the control method embodiment two of floating window of the present invention, as shown in figure 5, control provided in this embodiment Method processed is mainly illustrated the accommodation method of floating window, may include steps of:
S201, the first storage instruction information for obtaining floating window;
It include floating window moving direction information in the first storage instruction information.For example, user is by clicking dragging side Formula triggering the first storage instruction information.It is mobile selected by clicking driving style after selecting multiple floating windows when floating window is multiple Multiple floating windows.
If terminal is mobile terminal, user can be clicked by finger or writing pencil and drag mobile floating window.If terminal is PC, User can be clicked by mouse and drag mobile floating window.
S202, the floating window moving direction information in information is indicated according to the first storage, floating window is accommodated in floating window movement side To the edge of pointed terminal display interface.
It in the present embodiment, may include floating window moving direction information in the first storage instruction information that terminal obtains, it should Floating window moving direction information can be the trend direction of the mobile floating window of user.
For example, if the floating window moving direction for including in the first storage instruction information that terminal obtains is the upper of screen Side, then floating window is accommodated in the edge on the upside of terminal display interface by terminal, and the upper edge position of terminal display interface, which has, to be mentioned Show function, to prompt user's floating window to be incorporated in the edge on the upside of display interface.If the first storage instruction information that terminal obtains In include floating window moving direction be screen right side, then floating window is accommodated in the edge on the right side of terminal display interface by terminal, eventually Holding the right side edge position of display interface has prompt facility, to prompt user's floating window to be incorporated in the side on the right side of display interface Edge.
The control method of floating window provided in this embodiment, user is by clicking storage of the driving style triggering to floating window, eventually End obtains the first storage instruction information of floating window, which includes floating window moving direction information, according to floating window Floating window is accommodated in the edge of display interface pointed by floating window moving direction by moving direction information.Therefore, the present embodiment regardless of User whether understand floating window minimum can click on area, floating window can be incorporated in display interface pointed by floating window moving direction Edge, that is, the bottom that the floating window after storing no longer occupies display interface edge show content, to realize that full screen visualizes, mention The operating experience of user is risen.
Embodiment three
Fig. 6 is the flow chart of the control method embodiment three of floating window of the present invention, and Fig. 7 is pressure sensor provided by the invention The first position view at the terminal, Fig. 8 are that second of the position of pressure sensor provided by the invention at the terminal shows It is intended to.
As shown in fig. 6, control method provided in this embodiment is mainly illustrated the accommodation method of floating window, can wrap Include following steps:
S301, the first storage instruction information for obtaining floating window;
It include the side pressing information of terminal in the first storage instruction information.
It should be noted that the terminal of the present embodiment includes the pressure sensor that terminal side is arranged in.Terminal is in cross Under screen state, the pressure sensor can be set at the terminal, lower two sides.Corresponding, terminal is under vertical screen state, should Pressure sensor can be set in left and right two sides of terminal, as shown in Figure 5.
Optionally, no matter terminal is under transverse screen state or vertical screen state, pressure sensor is separately positioned on terminal Four, upper and lower, left and right side, for example, for following folding cell phone, the shape of mobile phone screen may be square, that Above-mentioned pressure sensor can be set on four sides, as shown in Figure 6.User can be triggered by the side of pressing terminal Storage to floating window.
S302, information is pressed according to the side in the first storage instruction information, floating window is accommodated in preset terminal and is shown The edge at interface.
It in the present embodiment, may include terminal side pressing information in the first storage instruction information that terminal obtains, it should Side pressing information can be pressing of the user to a side of terminal, be also possible to user to two sides of terminal by Pressure, such as pressing of the user to two sides above and below terminal.Optionally, pressing can be short-press, is also possible to long-pressing, can also make two Secondary continuous pressing, for specifically pressing mode, the present embodiment is not especially limited.
User presses terminal side according to default pressing mode, and terminal will acquire the first receipts including side pressing information Nasdaq index shows information, and floating window is accommodated in the edge of preset terminal display interface according to the first storage instruction information.Wherein, in advance If terminal display interface edge can be display interface upside, downside, left side, right side edge it is any, to this The present embodiment is not especially limited.That is, floating window can be accommodated on display interface by terminal according to default storage rule State any edge.
Optionally, when floating window is multiple, whole floating windows are accommodated in same side edge.
Optionally, the pressing of different sides can correspond to not ipsilateral edge.By taking terminal is in transverse screen state as an example, user Press the side on the upside of terminal, the corresponding edge being accommodated on the upside of display interface of selected floating window;User presses on the downside of terminal Side, the corresponding edge being accommodated on the downside of display interface of selected floating window.
The control method of floating window provided in this embodiment, user trigger the storage to floating window by pressing terminal side, eventually End obtains the first storage instruction information of floating window, which includes terminal side side pressing information, according to terminal Floating window is accommodated in the edge of preset terminal display interface by side pressing information.Therefore, the present embodiment regardless of user whether Solve floating window minimum can click on area, floating window can be incorporated in the edge that side presses preset display interface, that is, after storing The bottom that floating window no longer occupies display interface edge shows content, to realize that full screen visualizes, improves the operation of user Experience.
The embodiment of the present invention also provides a kind of control device of floating window.Fig. 9 is the control of floating window provided in an embodiment of the present invention The structural schematic diagram of device processed.As shown in figure 9, control device provided in this embodiment includes: to obtain module 41 and processing module 42, wherein
The acquisition module 41, for obtaining the first storage instruction information of the floating window;
The processing module 42 shows boundary for the floating window to be accommodated in terminal according to the first storage instruction information The edge in face;
The processing module 42, the pressure value for being also used to respond the pressing operation that the frame of the terminal receives are greater than the One preset pressure pops up the floating window.
Optionally, the first storage instruction information includes floating window moving direction information;The processing module 72 is specific to use In:
According to the floating window moving direction information in the first storage instruction information, the floating window is accommodated in the floating window The edge of terminal display interface pointed by moving direction.
Optionally, the first storage instruction information includes side pressing information;It is described to be indicated according to first storage The floating window is accommodated in the edge of terminal display interface by information, comprising:
Information is pressed according to the side in the first storage instruction information, the floating window is accommodated in preset terminal and is shown Show the edge at interface.
Optionally, after the pop-up floating window, the processing module 42 is also used to:
The pressure value for responding the pressing operation that the frame of the terminal receives is greater than the second preset pressure, stores described floating Window.
Optionally, when the quantity of the floating window is one, the processing module 42 is specifically used for:
The all or part of interface of the floating window is popped up, or
The interface of the floating window is gradually popped up according to pressing duration.
Optionally, when the quantity of the floating window is multiple, the processing module 42 is specifically used for:
Multiple floating windows are popped up in a manner of tiling arrangement or arrangement of gradients.
Optionally, the processing module 42, is specifically used for:
Pre-set priority and default spacing according to floating window are popped up multiple described in a manner of tiling arrangement or arrangement of gradients Floating window.
Optionally, the processing module 42, is specifically used for:
The tiling spacing or gradient difference of multiple floating windows of pop-up are gradually increased according to pressing duration.
Optionally, after the pop-up floating window, the processing module 42 is also used to:
The default gesture operation that the user interface of the terminal receives is responded, the floating window that user is chosen is in the user It is displayed in full screen on interface;The default gesture operation includes clicking, double-clicking, pulling.
The control device of floating window provided in this embodiment can execute the corresponding method and step of above-described embodiment, realize Principle is similar with technical effect, and details are not described herein again.
The embodiment of the present invention also provides a kind of electronic equipment.Figure 10 is the hardware of electronic equipment provided in an embodiment of the present invention Structural schematic diagram.As shown in Figure 10, which includes:
The control device 53 of floating window described in touch screen 51, lateral pressure sensor 52 and any of the above-described embodiment.Its In,
Lateral pressure sensor 52 can be set at least one side of the electronic equipment, and user passes through pressing electronics The side triggering storage of equipment or the function of pop-up floating window.
The control device 53 of floating window is for executing the corresponding method and step of any of the above-described embodiment.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, the meter The method that any implementation provides in preceding method embodiment is realized when calculation machine program is executed by processor.
It should be understood that above-mentioned processor can be central processing unit (English: Central Processing Unit, letter Claim: CPU), can also be other general processors, digital signal processor (English: Digital Signal Processor, Referred to as: DSP), specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with hair The step of bright disclosed method, can be embodied directly in hardware processor and execute completion, or with hardware in processor and soft Part block combiner executes completion.
Memory may include high speed RAM memory, it is also possible to and it further include non-volatile memories NVM, for example, at least one Magnetic disk storage can also be USB flash disk, mobile hard disk, read-only memory, disk or CD etc..
Above-mentioned storage medium can be by any kind of volatibility or non-volatile memory device or their combination It realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable Read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, Disk or CD.Storage medium can be any usable medium that general or specialized computer can access.
A kind of illustrative storage medium is coupled to processor, believes to enable a processor to read from the storage medium Breath, and information can be written to the storage medium.Certainly, storage medium is also possible to the component part of processor.It processor and deposits Storage media can be located at specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC in).Certainly, pocessor and storage media can also be used as discrete assembly and be present in electronic equipment.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (12)

1. a kind of control method of floating window, applied to the terminal that graphic user interface can be presented characterized by comprising
Obtain the first storage instruction information of the floating window;
The floating window is accommodated in the edge of terminal display interface according to the first storage instruction information;
The pressure value for responding the pressing operation that the frame of the terminal receives is greater than the first preset pressure, pops up the floating window.
2. the method according to claim 1, wherein the first storage instruction information includes floating window moving direction Information;The edge that the floating window is accommodated in terminal display interface according to the first storage instruction information, comprising:
According to the floating window moving direction information in the first storage instruction information, it is mobile that the floating window is accommodated in the floating window The edge of terminal display interface pointed by direction.
3. the method according to claim 1, wherein the first storage instruction information includes side pressing letter Breath;The edge that the floating window is accommodated in terminal display interface according to the first storage instruction information, comprising:
Information is pressed according to the side in the first storage instruction information, the floating window is accommodated in preset terminal and shows boundary The edge in face.
4. the method according to claim 1, wherein the method is also wrapped after the pop-up floating window It includes:
The pressure value for responding the pressing operation that the frame of the terminal receives is greater than the second preset pressure, stores the floating window.
5. the method according to claim 1, wherein when the quantity of the floating window is one, described in the pop-up Floating window, comprising:
The all or part of interface of the floating window is popped up, or
The interface of the floating window is gradually popped up according to pressing duration.
6. the method according to claim 1, wherein when the quantity of the floating window is multiple, described in the pop-up Floating window, comprising:
Multiple floating windows are popped up in a manner of tiling arrangement or arrangement of gradients.
7. according to the method described in claim 6, it is characterized in that, it is described by tiling arrangement or arrangement of gradients in a manner of pop up it is more A floating window, comprising:
According to the pre-set priority of floating window, multiple floating windows are popped up in a manner of tiling arrangement or arrangement of gradients.
8. according to the method described in claim 6, it is characterized in that, it is described by tiling arrangement or arrangement of gradients in a manner of pop up it is more A floating window, comprising:
The tiling spacing or gradient difference of multiple floating windows of pop-up are gradually increased according to pressing duration.
9. the method according to claim 1, wherein the method is also wrapped after the pop-up floating window It includes:
The default gesture operation that the user interface of the terminal receives is responded, the floating window that user is chosen is in the user interface Upper full screen display;The default gesture operation includes clicking, double-clicking, pulling.
10. a kind of control device of floating window characterized by comprising
Module is obtained, for obtaining the first storage instruction information of the floating window;
Processing module, for the floating window to be accommodated in the edge of terminal display interface according to the first storage instruction information;
The processing module, being also used to respond the pressure value of the pressing operation that the frame of the terminal receives, to be greater than first default Pressure pops up the floating window.
11. a kind of electronic equipment characterized by comprising touch screen, lateral pressure sensor and as claimed in claim 10 Floating window control device.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Claim 1 to 9 described in any item methods are realized when being executed by processor.
CN201910541347.XA 2019-06-21 2019-06-21 Floating window control method, device, equipment and storage medium Active CN110262720B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910541347.XA CN110262720B (en) 2019-06-21 2019-06-21 Floating window control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910541347.XA CN110262720B (en) 2019-06-21 2019-06-21 Floating window control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110262720A true CN110262720A (en) 2019-09-20
CN110262720B CN110262720B (en) 2021-06-08

Family

ID=67920275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910541347.XA Active CN110262720B (en) 2019-06-21 2019-06-21 Floating window control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110262720B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111142729A (en) * 2019-12-26 2020-05-12 支付宝(杭州)信息技术有限公司 Target object recommendation method and device
CN111273829A (en) * 2020-02-07 2020-06-12 北京嘀嘀无限科技发展有限公司 Information processing method based on interactive interface and electronic equipment
CN111773672A (en) * 2020-07-13 2020-10-16 网易(杭州)网络有限公司 Information display method and device and electronic equipment
CN113970990A (en) * 2021-10-21 2022-01-25 网易(杭州)网络有限公司 Display method and device of floating window, storage medium and electronic equipment
CN114047867A (en) * 2021-09-22 2022-02-15 荣耀终端有限公司 Suspended window display method and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101038546A (en) * 2006-03-15 2007-09-19 三星电子株式会社 User interface method of multi-tasking and computer readable recording medium storing program for executing the method
US20090138819A1 (en) * 2007-11-26 2009-05-28 A Foundry Technology Co., Ltd. Window switch system
CN102460370A (en) * 2009-06-08 2012-05-16 苹果公司 User interface for multiple display regions
US20140195962A1 (en) * 2004-12-08 2014-07-10 Microsoft Corporation Method and system of taskbar button interfaces
CN104808919A (en) * 2015-04-29 2015-07-29 努比亚技术有限公司 Interface display control method and device
CN106354414A (en) * 2016-09-09 2017-01-25 惠州Tcl移动通信有限公司 Webpage browsing method and system based on mobile terminal side edge pressure induction
CN106843640A (en) * 2016-12-26 2017-06-13 珠海市魅族科技有限公司 A kind of control method and handheld terminal for showing the page
US20170322818A1 (en) * 2005-04-22 2017-11-09 Microsoft Technology Licensing, Llc Dynamic thumbnails for applications
CN108415752A (en) * 2018-03-12 2018-08-17 广东欧珀移动通信有限公司 Method for displaying user interface, device, equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140195962A1 (en) * 2004-12-08 2014-07-10 Microsoft Corporation Method and system of taskbar button interfaces
US20170322818A1 (en) * 2005-04-22 2017-11-09 Microsoft Technology Licensing, Llc Dynamic thumbnails for applications
CN101038546A (en) * 2006-03-15 2007-09-19 三星电子株式会社 User interface method of multi-tasking and computer readable recording medium storing program for executing the method
US20090138819A1 (en) * 2007-11-26 2009-05-28 A Foundry Technology Co., Ltd. Window switch system
CN102460370A (en) * 2009-06-08 2012-05-16 苹果公司 User interface for multiple display regions
CN105718139A (en) * 2009-06-08 2016-06-29 苹果公司 User Interface For Multiple Display Regions
CN104808919A (en) * 2015-04-29 2015-07-29 努比亚技术有限公司 Interface display control method and device
CN106354414A (en) * 2016-09-09 2017-01-25 惠州Tcl移动通信有限公司 Webpage browsing method and system based on mobile terminal side edge pressure induction
CN106843640A (en) * 2016-12-26 2017-06-13 珠海市魅族科技有限公司 A kind of control method and handheld terminal for showing the page
CN108415752A (en) * 2018-03-12 2018-08-17 广东欧珀移动通信有限公司 Method for displaying user interface, device, equipment and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111142729A (en) * 2019-12-26 2020-05-12 支付宝(杭州)信息技术有限公司 Target object recommendation method and device
CN111142729B (en) * 2019-12-26 2021-07-02 支付宝(杭州)信息技术有限公司 Target object recommendation method and device
CN111273829A (en) * 2020-02-07 2020-06-12 北京嘀嘀无限科技发展有限公司 Information processing method based on interactive interface and electronic equipment
CN111773672A (en) * 2020-07-13 2020-10-16 网易(杭州)网络有限公司 Information display method and device and electronic equipment
CN111773672B (en) * 2020-07-13 2024-02-09 网易(杭州)网络有限公司 Information display method and device and electronic equipment
CN114047867A (en) * 2021-09-22 2022-02-15 荣耀终端有限公司 Suspended window display method and electronic equipment
CN114047867B (en) * 2021-09-22 2023-06-13 荣耀终端有限公司 Suspended window display method and electronic equipment
CN113970990A (en) * 2021-10-21 2022-01-25 网易(杭州)网络有限公司 Display method and device of floating window, storage medium and electronic equipment
CN113970990B (en) * 2021-10-21 2024-02-23 网易(杭州)网络有限公司 Suspension window display method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN110262720B (en) 2021-06-08

Similar Documents

Publication Publication Date Title
CN110262720A (en) Control method, device, equipment and the storage medium of floating window
CN109085965B (en) Take down notes generation method, electronic equipment and computer storage medium
US11200072B2 (en) User interface adaptations based on inferred content occlusion and user intent
US11561807B2 (en) Desktop launcher
EP2487578B1 (en) Method and system for controlling screen of mobile terminal
CN108089786A (en) Method for displaying user interface, device, equipment and storage medium
CA2944499C (en) Gallery application for content viewing
US8952912B1 (en) Selection of elements on paginated touch sensitive display
US20120064946A1 (en) Resizable filmstrip view of images
DE112011101209T5 (en) Alert Display on a portable electronic device
WO2008058042A1 (en) Enhanced windows management feature
US20190317658A1 (en) Interaction method and device for a flexible display screen
EP3454226B1 (en) Method and apparatus for displaying a user interface
CN112905093B (en) Content display method, content display device, storage medium and electronic equipment
EP4294025A1 (en) Screen recording method and apparatus, electronic device, and storage medium
CN107766108A (en) A kind of method of interception image, terminal and computer-readable medium
CN110971953B (en) Video playing method, device, terminal and storage medium
US20160154545A1 (en) Electronic device and method for managing and displaying application icons
CN107291339A (en) A kind of display control method, computer-readable medium and electronic equipment
CN111897607A (en) Application interface loading and interaction method, device and storage medium
CN111724455A (en) Image processing method and electronic device
US9658734B2 (en) Information processing method and electronic device
CN113436297A (en) Picture processing method and electronic equipment
CN111338520B (en) Label display method, device and computer readable medium
CN113342222A (en) Application classification method and device and electronic equipment

Legal Events

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