CN108874481A - Handle the method and device of suspended window - Google Patents

Handle the method and device of suspended window Download PDF

Info

Publication number
CN108874481A
CN108874481A CN201810542763.7A CN201810542763A CN108874481A CN 108874481 A CN108874481 A CN 108874481A CN 201810542763 A CN201810542763 A CN 201810542763A CN 108874481 A CN108874481 A CN 108874481A
Authority
CN
China
Prior art keywords
suspended window
trigger action
movement
window
suspended
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.)
Pending
Application number
CN201810542763.7A
Other languages
Chinese (zh)
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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810542763.7A priority Critical patent/CN108874481A/en
Publication of CN108874481A publication Critical patent/CN108874481A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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

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 disclosure is directed to a kind of method and devices for handling suspended window, for improving to window processing method caused after suspended window triggering, simply and effectively to show relevant information or function to user.The method includes:Receive the first trigger action for being directed to suspended window;According to first trigger action, the mobile suspended window, and the clear position occurred after the movement suspended window shows the function bar that first trigger action is triggered.

Description

Handle the method and device of suspended window
Technical field
This disclosure relates to communicate and computer disposal field, more particularly to the method and device of processing suspended window.
Background technique
It in browser application on mobile phone, is limited by mobile phone screen size, the displayable content of mobile phone screen is limited. Therefore, more contents are shown for convenience, can use suspension window setting technique, suspended window is popped up on original interface, is passed through Suspended window shows more information.Can suspended window be original interface after all, so trigger other operations based on suspended window, be The problem of thinking deeply always in the industry.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of method and device for handling suspended window.
According to the first aspect of the embodiments of the present disclosure, a kind of method handling suspended window is provided, including:
Receive the first trigger action for being directed to suspended window;
According to first trigger action, the mobile suspended window, and the spare bits occurred after the movement suspended window Set the function bar for showing that first trigger action is triggered.
The technical scheme provided by this disclosed embodiment can include the following benefits:It supports in the present embodiment to suspension The triggering of window.Also, function bar caused by the triggering to suspended window belongs to same figure layer height with suspended window, reduces figure Layer overlapping quantity, reduces the complexity of interface realization.
In one embodiment, the suspended window and the function bar are located at the same page;
It is described according to first trigger action, the mobile suspended window, and the sky occurred after the movement suspended window Not busy position shows the function bar that first trigger action is triggered, including:
According to first trigger action, by the display position of the movement page, the mobile suspended window, and moving It moves the clear position occurred after the suspended window and shows the function bar that first trigger action is triggered.
The technical scheme provided by this disclosed embodiment can include the following benefits:Suspended window and institute in the present embodiment It states function bar and is located at the same page, reduce layer count, simplify realization process, facilitate display control.
In one embodiment, the method also includes:
According to first trigger action, screenshot is carried out to the suspended window, generates suspended window picture;The suspended window figure The position of piece and size are overlapped with the suspended window.
The technical scheme provided by this disclosed embodiment can include the following benefits:Pass through picture in the present embodiment Form shows the content in suspended window, facilitates the processing for realizing display effect, can also reduce the interference of other trigger actions.
In one embodiment, the method also includes:
By updating the transparency of the suspended window picture, the transparency of the suspended window picture is reduced;
By updating the transparency of the suspended window, the transparency of the suspended window is promoted.
The technical scheme provided by this disclosed embodiment can include the following benefits:The present embodiment synchronous adjustment suspends The transparency of window picture and suspended window, to realize that preferable transition shows that user is not noticeable.
In one embodiment, the method also includes:
It is mobile by preset animation form with the movement of the suspended window during movement suspended window The suspended window picture.
The technical scheme provided by this disclosed embodiment can include the following benefits:The present embodiment passes through animation form Abundant display effect.
In one embodiment, the method also includes:
Receive the second trigger action;
According to second trigger action, the mobile suspended window, and hide the function bar.
The technical scheme provided by this disclosed embodiment can include the following benefits:The present embodiment can also support Two trigger actions, to hide the function bar.
In one embodiment, first trigger action received for suspended window, including:
The first trigger action for being directed to suspended window is received by operating system;
It is described according to first trigger action, the mobile suspended window, and the sky occurred after the movement suspended window Not busy position shows the function bar that first trigger action is triggered, including:
By operating system, according to first trigger action, the mobile suspended window, and after the movement suspended window The clear position of appearance shows the function bar that first trigger action is triggered.
The technical scheme provided by this disclosed embodiment can include the following benefits:The present embodiment can be by operation system System is realized, realizes system-level control.
In one embodiment, first trigger action received for suspended window, including:
The first trigger action for being directed to suspended window is received by operating system, and is determined that the suspended window is corresponding and applied mould Block;
It is described according to first trigger action, the mobile suspended window, and the sky occurred after the movement suspended window Not busy position shows the function bar that first trigger action is triggered, including:
By operating system, according to first trigger action, move is sent to the application module;
By the application module, according to the move, the mobile suspended window, and after the movement suspended window The clear position of appearance shows the function bar that first trigger action is triggered.
The technical scheme provided by this disclosed embodiment can include the following benefits:The present embodiment can be by operation system System and application module cooperation are realized, richer function and display effect are helped to realize.
In one embodiment, the function bar is the menu bar including at least sharing function.
The technical scheme provided by this disclosed embodiment can include the following benefits:Function bar in the present embodiment can There are many, it is suitable for plurality of application scenes.
According to the second aspect of an embodiment of the present disclosure, a kind of device handling suspended window is provided, including:
First receiving module, for receiving the first trigger action for being directed to suspended window;
First suspended window module is used for according to first trigger action, the mobile suspended window, and described outstanding in movement The clear position occurred after floating window shows the function bar that first trigger action is triggered.
In one embodiment, the suspended window and the function bar are located at the same page;
The first suspended window module, including:
First suspended window submodule, for according to first trigger action, by the display position of the movement page, The mobile suspended window, and the clear position occurred after the movement suspended window shows what first trigger action was triggered Function bar.
In one embodiment, described device further includes:
Picture module, for carrying out screenshot to the suspended window, generating suspended window figure according to first trigger action Piece;The position of the suspended window picture and size are overlapped with the suspended window.
In one embodiment, device further includes:
First transparency module reduces the suspended window picture for the transparency by updating the suspended window picture Transparency;
Second transparency module promotes the transparency of the suspended window for the transparency by updating the suspended window.
In one embodiment, described device further includes:
Animation display module is used for during the movement suspended window, with the movement of the suspended window, by pre- If the mobile suspended window picture of animation form.
In one embodiment, described device further includes:
Second receiving module, for receiving the second trigger action;
Second suspended window module is used for according to second trigger action, the mobile suspended window, and hides the function It can column.
In one embodiment, first receiving module includes:
First receiving submodule, for receiving the first trigger action for being directed to suspended window by operating system;
The first suspended window module includes:
Second suspended window submodule, for passing through operating system, according to first trigger action, the mobile suspension Window, and the clear position occurred after the movement suspended window shows the function bar that first trigger action is triggered.
In one embodiment, first receiving module includes:
Second receiving submodule for receiving the first trigger action for being directed to suspended window by operating system, and determines institute State the corresponding application module of suspended window;
The first suspended window module includes:
Sending submodule, for sending and moving to the application module according to first trigger action by operating system Dynamic instruction;
Third suspended window submodule, for passing through the application module, according to the move, the mobile suspension Window, and the clear position occurred after the movement suspended window shows the function bar that first trigger action is triggered.
In one embodiment, the function bar is the menu bar including at least sharing function.
According to the third aspect of an embodiment of the present disclosure, a kind of device handling suspended window is provided, including:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the first trigger action for being directed to suspended window;
According to first trigger action, the mobile suspended window, and the spare bits occurred after the movement suspended window Set the function bar for showing that first trigger action is triggered.
According to a fourth aspect of embodiments of the present disclosure, a kind of computer readable storage medium is provided, calculating is stored thereon with Machine instruction, which realizes above-mentioned processing suspended window method when being executed by processor.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of method for handling suspended window shown according to an exemplary embodiment.
Fig. 2 is a kind of schematic diagram of display interface shown according to an exemplary embodiment.
Fig. 3 is a kind of schematic diagram of display interface shown according to an exemplary embodiment.
Fig. 4 is a kind of schematic diagram of display interface shown according to an exemplary embodiment.
Fig. 5 is a kind of schematic diagram of display interface shown according to an exemplary embodiment.
Fig. 6 is a kind of flow chart of method for handling suspended window shown according to an exemplary embodiment.
Fig. 7 is a kind of flow chart of method for handling suspended window shown according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of device for handling suspended window shown according to an exemplary embodiment.
Fig. 9 is a kind of block diagram of first suspended window module shown according to an exemplary embodiment.
Figure 10 is a kind of block diagram of device for handling suspended window shown according to an exemplary embodiment.
Figure 11 is a kind of block diagram of device for handling suspended window shown according to an exemplary embodiment.
Figure 12 is a kind of block diagram of device for handling suspended window shown according to an exemplary embodiment.
Figure 13 A is a kind of block diagram of device for handling suspended window shown according to an exemplary embodiment.
Figure 13 B is a kind of block diagram of first receiving module shown according to an exemplary embodiment.
Figure 13 C is a kind of block diagram of first suspended window module shown according to an exemplary embodiment.
Figure 13 D is a kind of block diagram of first receiving module shown according to an exemplary embodiment.
Figure 13 E is a kind of block diagram of first suspended window module shown according to an exemplary embodiment.
Figure 14 is a kind of block diagram of device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
In the related technology, mobile phone screen has developed increasing, but still limited.When original interface carries out certain touching When hair operation, the search as triggered a content in original interface is not suitable for because search result is a temporary content in original It is shown in beginning interface, so suspension window setting technique can be used, search knot is shown by being suspended in the suspended window on original interface Fruit.Currently, some browsers do not support the trigger action to suspended window, such as the search to the content in suspended window is not supported to touch Hair or sharing triggering etc..To solve this problem, some browsers generate second level suspended window on the basis of suspended window.In this way, just There are original interface, suspended window and second level suspended window three-deckers, and the complexity of browser is larger, and user interface level is more, Visual effect is undesirable.User needs to operate twice if it is desired to return back to original interface from second level suspended window.
To solve this problem, in the present embodiment when user carries out trigger action to suspended window, mobile suspended window, for triggering Function bar caused by operating reserves clear position, and function bar and suspended window will not shade one another, and visual effect is preferable.
Fig. 1 is a kind of flow chart of method for handling suspended window shown according to an exemplary embodiment, as shown in Figure 1, This method can be realized by mobile terminal, be included the following steps:
In a step 101, the first trigger action for being directed to suspended window is received.
In a step 102, according to first trigger action, the suspended window is moved, and after the movement suspended window The clear position of appearance shows the function bar that first trigger action is triggered.
As shown in Fig. 2, for example, original interface 201 is the details page of news item.User searches certain word in news The trigger action of rope, terminal pop up suspended window 202 according to the trigger action, the search result of the word are shown in suspended window.It suspends Window 202 is covered on original interface 201, and original interface 201 can be dimmed at this time, to reduce the display effect to suspended window 202 The vision of fruit is interfered.The size of suspended window 202 is generally less than original interface 201.To indicate suspended window 202 and original interface 201 Layered relationship.
The present embodiment supports the first trigger action to suspended window.First trigger action include share, search, addition and The triggerings such as inquiry show the trigger action of new function bar.The gesture of trigger action can have click, long-pressing, gravity to click and slide It moves.
As shown in figure 3, suspended window 202 moves up, (for the present embodiment for moving up, suspended window 202 can also be to other directions It is mobile), it is that function bar 301 reserves clear position in lower section, is shown for function bar 301.In this way, suspended window 202 and function bar 301 There is identical figure layer height (or interface level), will not block each other.User can see suspended window 202 and function simultaneously Content in column 301, visual effect are more preferable.
In the present embodiment, step 101 and step 102 can be realized by operating system.Operating system is received for suspension First trigger action of window, and the suspended window in application is moved.In this way, modification application module can not had to, operation system The realization of irrespective of size can be adapted for various applications.
Alternatively, step 101 and step 102 are realized with operating system and application module.Operating system is received for outstanding First trigger action of floating window, and determine the corresponding application module of the suspended window.Operating system is grasped according to first triggering Make, sends move to the application module.Application module is being moved according to the move, the mobile suspended window It moves the clear position occurred after the suspended window and shows the function bar that first trigger action is triggered.Wherein, operating system It is known which application current foreground operation is, therefore operating system can determine corresponding application module.The present embodiment The process of middle mobile suspended window is realized that application module is easier to handle the suspended window of therein by application module, Can be there are many implementation, and help to realize more rich mobile effect.
Alternatively, step 101 and step 102 can be realized by application module.Application module receives for suspended window One trigger action, and the suspended window in application is moved.The process of mobile suspended window is by application module reality in the present embodiment Existing, application module is easier to handle the suspended window of therein, can there are many implementations, and facilitate reality Existing more rich mobile effect.
In one embodiment, the suspended window and the function bar are located at the same page.
The step 102 includes:Step A.
In step, mobile described outstanding by the display position of the movement page according to first trigger action Floating window, and the clear position occurred after the movement suspended window shows the function bar that first trigger action is triggered.
Wherein, step A can be realized by application module.The display position of the application module change therein page.
In the present embodiment, it is two parts of the same page that suspended window and the function bar, which are located at the same page,.Such as Fig. 4 institute Show, when showing suspended window 201,201 part of suspended window of the page 401 is located in display screen, and 301 part of function bar is located at aobvious Outside display screen or 301 part of function bar hides.The display initial position of the page 401 is m0.As shown in figure 5, on suspended window 201 After shifting, the display initial position for being equivalent to the page 401 is updated to m1, and function bar 301 is partially moved in display screen, or no longer hidden Hiding.
In the present embodiment, suspended window and the function bar are located at the same page, realize simply, reduce interface level and boundary Surface layer number.Also, by the movement of the page, suspended window and function bar can be moved simultaneously, is realized simple.
In addition, the figure layer of original interface can also darken it is dimmed, to highlight suspended window and function bar.
In one embodiment, the method also includes:Step B.
In stepb, according to first trigger action, screenshot is carried out to the suspended window, generates suspended window picture;Institute The position and size for stating suspended window picture are overlapped with the suspended window.
Wherein, step B can be realized by operating system or application module.Operating system and application module, which can call, to be cut Figure function generates suspended window picture.
The present embodiment carries out screenshot to the suspended window, can be there are many implementation.Such as mode 1, pass through local screenshotss Mode, to the suspended window carry out screenshot.Mode 2, the content of pages of suspended window in intercept page, and according to this partial page Content generates picture, is equivalent to and handles style sheet, the processing of code level.
The present embodiment suspended window picture covers suspended window, maskable to carry out the first trigger action to suspended window, reduces clear Look at the complexity of device.Also, facilitate the processing for carrying out various display effects on suspended window picture.In addition, suspended window picture Content is consistent with suspended window, will not increase vision interference to user substantially.
In one embodiment, the method also includes:Step C1- step C2.
In step C1, by updating the transparency of the suspended window picture, the transparency of the suspended window picture is reduced.
In step C2, by updating the transparency of the suspended window, the transparency of the suspended window is promoted.
Step C1 synchronous can be carried out with step C2, and the transparency of suspended window picture gradually decreases, corresponding suspended window Transparency is gradually promoted.Finally, suspended window picture is completely opaque, and suspended window is fully transparent.Display effect is realized from suspension Window, without trace transition, makes the not noticeable top layer out of user that suspended window picture be shown to suspended window picture, rather than outstanding Floating window.
In one embodiment, the method also includes:Step D.
In step D, during the movement suspended window, with the movement of the suspended window, by preset dynamic The mobile suspended window picture of picture form.
In the present embodiment, suspended window can be moved in a manner of a kind of animation effect, enrich display effect.Also, animation is imitated Fruit can preferably cover up the transition from suspended window to suspended window picture, keep user more not noticeable.
Step D synchronous can be carried out with step C1 and step C2.
In one embodiment, the method also includes:Step E1- step E2.
In step E1, the second trigger action is received.
In step E2, according to second trigger action, the mobile suspended window, and hide the function bar.
In the present embodiment, the display of function bar can be cancelled by the second trigger action, be restored to independent display suspended window State.The effect being equivalent to as shown in Figure 3 is restored to effect shown in Fig. 2.Second trigger action is a kind of cancellation function bar Operation.The gesture of second trigger action, which can have, clicks suspended window or suspended window picture, pulls down suspended window or suspended window picture Deng.Alternatively, the page includes the button for cancelling function bar, the gesture of the second trigger action, which can be, to be clicked the button.
Hiding the function bar can be there are many implementation.Such as mode 1, the display position of the page is lowered, is updated from m1 For m0, function bar is made to remove display screen.The display state of function bar is revised as hiding by mode 2 by showing.
Certainly, user can also carry out trigger action to function bar, carry out corresponding position according to the function that function bar is supported Reason.
In one embodiment, the function bar is the menu bar including at least sharing function.
The present embodiment is suitable for the sharing to suspended window content.Functional button on suspended window, user's click function button Afterwards, function window is popped up.Such as having sharing button in function window, user, which clicks, shares button.Closing function window, mobile suspended window, And the corresponding function bar of display sharing function.Function bar includes the corresponding sharing select button of multiple sharing channels.User can Share select button to click some according to their own needs, to share the content in suspended window by the sharing channel.
Realization process is discussed in detail below by several embodiments.
Fig. 6 is a kind of flow chart of method for handling suspended window shown according to an exemplary embodiment, as shown in fig. 6, This method can be realized by mobile terminal, be included the following steps:
In step 601, the first trigger action for being directed to suspended window is received.
In step 602, according to first trigger action, by the display position of the movement page, it is mobile described in Suspended window, and the clear position occurred after the movement suspended window shows the function bar that first trigger action is triggered.
In step 603, according to first trigger action, screenshot is carried out to the suspended window, generates suspended window picture; The position of the suspended window picture and size are overlapped with the suspended window.
In step 604, by updating the transparency of the suspended window picture, the transparent of the suspended window picture is reduced Degree.
In step 605, by updating the transparency of the suspended window, the transparency of the suspended window is promoted.
In step 606, during the movement suspended window, with the movement of the suspended window, by preset The mobile suspended window picture of animation form.
Wherein, step 602- step 606 can synchronize progress, successive without stringent execution.
Fig. 7 is a kind of flow chart of method for handling suspended window shown according to an exemplary embodiment, as shown in fig. 7, This method can be realized by mobile terminal, be included the following steps:
In step 701, the first trigger action for being directed to suspended window is received.
In a step 702, according to first trigger action, by the display position of the movement page, it is mobile described in Suspended window, and the clear position occurred after the movement suspended window shows the function bar that first trigger action is triggered.
In step 703, the second trigger action is received.
In step 704, according to second trigger action, the mobile suspended window, and the function bar is hidden.
Above-described embodiment can carry out various combinations according to actual needs.
By the realization process described above for having understood processing suspended window, which is realized by equipment such as mobile terminals, under Face is introduced for the internal structure and function of equipment.
Fig. 8 is a kind of schematic device for handling suspended window shown according to an exemplary embodiment.Referring to Fig. 8, the dress Set including:First receiving module 801 and the first suspended window module 802.
First receiving module 801, for receiving the first trigger action for being directed to suspended window.
First suspended window module 802 is used for according to first trigger action, the mobile suspended window, and in mobile institute It states the clear position occurred after suspended window and shows the function bar that first trigger action is triggered.
In one embodiment, the suspended window and the function bar are located at the same page.
As shown in figure 9, the first suspended window module 802 includes:First suspended window submodule 901.
First suspended window submodule 901, for passing through the display position of the movement page according to first trigger action It sets, the mobile suspended window, and the clear position occurred after the movement suspended window shows that first trigger action is touched The function bar of hair.
In one embodiment, as shown in Figure 10, described device further includes:Picture module 1001.
Picture module 1001, for carrying out screenshot to the suspended window, generating suspended window according to first trigger action Picture;The position of the suspended window picture and size are overlapped with the suspended window.
In one embodiment, as shown in figure 11, described device further includes:First transparency module 1101 and second is transparent Spend module 1102.
First transparency module 1101 reduces the suspended window for the transparency by updating the suspended window picture The transparency of picture.
Second transparency module 1102 promotes the saturating of the suspended window for the transparency by updating the suspended window Lightness.
In one embodiment, as shown in figure 12, described device further includes:Animation display module 1201.
Animation display module 1201, for the movement of the suspended window, leading to during the movement suspended window Cross the mobile suspended window picture of preset animation form.
In one embodiment, as shown in FIG. 13A, described device further includes:Second receiving module 1301 and second suspends Window module 1302.
Second receiving module 1301, for receiving the second trigger action.
Second suspended window module 1302, for according to second trigger action, the mobile suspended window and hiding institute State function bar.
In one embodiment, as shown in Figure 13 B, first receiving module 801 includes:First receiving submodule 1311。
First receiving submodule 1311, for receiving the first trigger action for being directed to suspended window by operating system.
As shown in fig. 13 c, the first suspended window module 802 includes:Second suspended window submodule 1312.
Second suspended window submodule 1312, for by operating system, according to first trigger action, movement to be described outstanding Floating window, and the clear position occurred after the movement suspended window shows the function bar that first trigger action is triggered.
In one embodiment, as illustrated in figure 13d, first receiving module 801 includes:Second receiving submodule 1321。
Second receiving submodule 1321, for receiving the first trigger action for being directed to suspended window by operating system, and really Determine the corresponding application module of the suspended window;
As shown in figure 13e, the first suspended window module 802 includes:Sending submodule 1322 and third suspended window submodule Block 1323.
Sending submodule 1322, for being sent out according to first trigger action to the application module by operating system Send move.
Third suspended window submodule 1323, for by the application module, according to the move, movement to be described outstanding Floating window, and the clear position occurred after the movement suspended window shows the function bar that first trigger action is triggered.
In one embodiment, the function bar is the menu bar including at least sharing function.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Figure 14 is shown according to an exemplary embodiment a kind of for handling the block diagram of the device 1400 of suspended window.Example Such as, device 1400 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, and plate is set It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig.1 4, device 1400 may include following one or more components:Processing component 1402, memory 1404, Power supply module 1406, multimedia component 1408, audio component 1410, the interface 1412 of input/output (I/O), sensor module 1414 and communication component 1416.
The integrated operation of the usual control device 1400 of processing component 1402, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1402 may include one or more processors 1420 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1402 may include one or more moulds Block, convenient for the interaction between processing component 1402 and other assemblies.For example, processing component 1402 may include multi-media module, To facilitate the interaction between multimedia component 1408 and processing component 1402.
Memory 1404 is configured as storing various types of data to support the operation in device 1400.These data Example includes the instruction of any application or method for operating on device 1400, contact data, telephone book data, Message, picture, video etc..Memory 1404 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1406 provides power supply for the various assemblies of device 1400.Power supply module 1406 may include power management System, one or more power supplys and other with for device 1400 generate, manage, and distribute the associated component of power supply.
Multimedia component 1408 includes the screen of one output interface of offer between described device 1400 and user.? In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more Media component 1408 includes a front camera and/or rear camera.When device 1400 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1410 is configured as output and/or input audio signal.For example, audio component 1410 includes a wheat Gram wind (MIC), when device 1400 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1404 or via communication Component 1416 is sent.In some embodiments, audio component 1410 further includes a loudspeaker, is used for output audio signal.
I/O interface 1412 provides interface, above-mentioned peripheral interface module between processing component 1402 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to:Home button, volume button, start button and Locking press button.
Sensor module 1414 includes one or more sensors, and the state for providing various aspects for device 1400 is commented Estimate.For example, sensor module 1414 can detecte the state that opens/closes of device 1400, the relative positioning of component, such as institute The display and keypad that component is device 1400 are stated, sensor module 1414 can be with detection device 1400 or device 1400 The position change of one component, the existence or non-existence that user contacts with device 1400,1400 orientation of device or acceleration/deceleration and The temperature change of device 1400.Sensor module 1414 may include proximity sensor, be configured in not any object It is detected the presence of nearby objects when reason contact.Sensor module 1414 can also include optical sensor, as CMOS or ccd image are passed Sensor, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1416 is configured to facilitate the communication of wired or wireless way between device 1400 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1400,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1416 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1416 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1400 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1404 of instruction, above-metioned instruction can be executed by the processor 1420 of device 1400 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of device handling suspended window, including:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the first trigger action for being directed to suspended window;
According to first trigger action, the mobile suspended window, and the spare bits occurred after the movement suspended window Set the function bar for showing that first trigger action is triggered.
The processor can be additionally configured to:
The suspended window and the function bar are located at the same page;
It is described according to first trigger action, the mobile suspended window, and the sky occurred after the movement suspended window Not busy position shows the function bar that first trigger action is triggered, including:
According to first trigger action, by the display position of the movement page, the mobile suspended window, and moving It moves the clear position occurred after the suspended window and shows the function bar that first trigger action is triggered.
The processor can be additionally configured to:
The method also includes:
According to first trigger action, screenshot is carried out to the suspended window, generates suspended window picture;The suspended window figure The position of piece and size are overlapped with the suspended window.
The processor can be additionally configured to:
The method also includes:
By updating the transparency of the suspended window picture, the transparency of the suspended window picture is reduced;
By updating the transparency of the suspended window, the transparency of the suspended window is promoted.
The processor can be additionally configured to:
The method also includes:
It is mobile by preset animation form with the movement of the suspended window during movement suspended window The suspended window picture.
The processor can be additionally configured to:
The method also includes:
Receive the second trigger action;
According to second trigger action, the mobile suspended window, and hide the function bar.
The processor can be additionally configured to:
The function bar is the menu bar including at least sharing function.
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device executes, so that mobile terminal is able to carry out a kind of method for handling suspended window, the method includes:
Receive the first trigger action for being directed to suspended window;
According to first trigger action, the mobile suspended window, and the spare bits occurred after the movement suspended window Set the function bar for showing that first trigger action is triggered.
Instruction in the storage medium can also include:
The suspended window and the function bar are located at the same page;
It is described according to first trigger action, the mobile suspended window, and the sky occurred after the movement suspended window Not busy position shows the function bar that first trigger action is triggered, including:
According to first trigger action, by the display position of the movement page, the mobile suspended window, and moving It moves the clear position occurred after the suspended window and shows the function bar that first trigger action is triggered.
Instruction in the storage medium can also include:
The method also includes:
According to first trigger action, screenshot is carried out to the suspended window, generates suspended window picture;The suspended window figure The position of piece and size are overlapped with the suspended window.
Instruction in the storage medium can also include:
The method also includes:
By updating the transparency of the suspended window picture, the transparency of the suspended window picture is reduced;
By updating the transparency of the suspended window, the transparency of the suspended window is promoted.
Instruction in the storage medium can also include:
The method also includes:
It is mobile by preset animation form with the movement of the suspended window during movement suspended window The suspended window picture.
Instruction in the storage medium can also include:
The method also includes:
Receive the second trigger action;
According to second trigger action, the mobile suspended window, and hide the function bar.
Instruction in the storage medium can also include:
The function bar is the menu bar including at least sharing function.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (20)

1. a kind of method for handling suspended window, which is characterized in that including:
Receive the first trigger action for being directed to suspended window;
According to first trigger action, the mobile suspended window, and the clear position occurred after the movement suspended window is aobvious Show the function bar that first trigger action is triggered.
2. the method for processing suspended window according to claim 1, which is characterized in that the suspended window and the function field In the same page;
It is described according to first trigger action, the mobile suspended window, and the spare bits occurred after the movement suspended window The function bar for showing that first trigger action is triggered is set, including:
According to first trigger action, by the display position of the movement page, the mobile suspended window, and in mobile institute It states the clear position occurred after suspended window and shows the function bar that first trigger action is triggered.
3. the method for processing suspended window according to claim 1, which is characterized in that the method also includes:
According to first trigger action, screenshot is carried out to the suspended window, generates suspended window picture;The suspended window picture Position and size are overlapped with the suspended window.
4. the method for processing suspended window according to claim 3, which is characterized in that the method also includes:
By updating the transparency of the suspended window picture, the transparency of the suspended window picture is reduced;Or
By updating the transparency of the suspended window, the transparency of the suspended window is promoted.
5. the method for processing suspended window according to claim 3, which is characterized in that the method also includes:
During the movement suspended window, with the movement of the suspended window, by described in the movement of preset animation form Suspended window picture.
6. the method for processing suspended window according to claim 1, which is characterized in that the method also includes:
Receive the second trigger action;
According to second trigger action, the mobile suspended window, and hide the function bar.
7. the method for processing suspended window according to claim 1, which is characterized in that described receive is directed to the first of suspended window Trigger action, including:
The first trigger action for being directed to suspended window is received by operating system;
It is described according to first trigger action, the mobile suspended window, and the spare bits occurred after the movement suspended window The function bar for showing that first trigger action is triggered is set, including:
By operating system, according to first trigger action, the mobile suspended window, and occur after the movement suspended window Clear position show the function bar that first trigger action is triggered.
8. the method for processing suspended window according to claim 1, which is characterized in that described receive is directed to the first of suspended window Trigger action, including:
The first trigger action for being directed to suspended window is received by operating system, and determines the corresponding application module of the suspended window;
It is described according to first trigger action, the mobile suspended window, and the spare bits occurred after the movement suspended window The function bar for showing that first trigger action is triggered is set, including:
By operating system, according to first trigger action, move is sent to the application module;
By the application module, according to the move, the mobile suspended window, and occur after the movement suspended window Clear position show the function bar that first trigger action is triggered.
9. the method for processing suspended window according to claim 1, which is characterized in that the function bar is including at least sharing The menu bar of function.
10. a kind of device for handling suspended window, which is characterized in that including:
First receiving module, for receiving the first trigger action for being directed to suspended window;
First suspended window module is used for according to first trigger action, the mobile suspended window, and in the movement suspended window The clear position occurred afterwards shows the function bar that first trigger action is triggered.
11. the device of processing suspended window according to claim 10, which is characterized in that the suspended window and the function bar Positioned at the same page;
The first suspended window module, including:
First suspended window submodule, for passing through the display position of the movement page, movement according to first trigger action The suspended window, and the clear position occurred after the movement suspended window shows the function that first trigger action is triggered Column.
12. the device of processing suspended window according to claim 10, which is characterized in that described device further includes:
Picture module, for carrying out screenshot to the suspended window, generating suspended window picture according to first trigger action;Institute The position and size for stating suspended window picture are overlapped with the suspended window.
13. the device of processing suspended window according to claim 12, which is characterized in that described device further includes:
First transparency module reduces the saturating of the suspended window picture for the transparency by updating the suspended window picture Lightness;
Second transparency module promotes the transparency of the suspended window for the transparency by updating the suspended window.
14. the device of processing suspended window according to claim 12, which is characterized in that described device further includes:
Animation display module is used for during the movement suspended window, with the movement of the suspended window, by preset The mobile suspended window picture of animation form.
15. the device of processing suspended window according to claim 10, which is characterized in that described device further includes:
Second receiving module, for receiving the second trigger action;
Second suspended window module is used for according to second trigger action, the mobile suspended window, and hides the function Column.
16. the device of processing suspended window according to claim 10, which is characterized in that first receiving module includes:
First receiving submodule, for receiving the first trigger action for being directed to suspended window by operating system;
The first suspended window module includes:
Second suspended window submodule, for passing through operating system, according to first trigger action, the mobile suspended window, and The clear position occurred after the movement suspended window shows the function bar that first trigger action is triggered.
17. the device of processing suspended window according to claim 10, which is characterized in that first receiving module includes:
Second receiving submodule for receiving the first trigger action for being directed to suspended window by operating system, and determines described outstanding The corresponding application module of floating window;
The first suspended window module includes:
Sending submodule, for sending movement according to first trigger action by operating system to the application module and referring to It enables;
Third suspended window submodule, for passing through the application module, according to the move, the mobile suspended window, and The clear position occurred after the movement suspended window shows the function bar that first trigger action is triggered.
18. it is according to claim 10 processing suspended window device, which is characterized in that the function bar be including at least point Enjoy the menu bar of function.
19. a kind of device for handling suspended window, which is characterized in that including:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the first trigger action for being directed to suspended window;
According to first trigger action, the mobile suspended window, and the clear position occurred after the movement suspended window is aobvious Show the function bar that first trigger action is triggered.
20. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is by processor The method of the claims 1 to 9 is realized when execution.
CN201810542763.7A 2018-05-30 2018-05-30 Handle the method and device of suspended window Pending CN108874481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810542763.7A CN108874481A (en) 2018-05-30 2018-05-30 Handle the method and device of suspended window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810542763.7A CN108874481A (en) 2018-05-30 2018-05-30 Handle the method and device of suspended window

Publications (1)

Publication Number Publication Date
CN108874481A true CN108874481A (en) 2018-11-23

Family

ID=64335868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810542763.7A Pending CN108874481A (en) 2018-05-30 2018-05-30 Handle the method and device of suspended window

Country Status (1)

Country Link
CN (1) CN108874481A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109977241A (en) * 2019-03-14 2019-07-05 北京达佳互联信息技术有限公司 For the operations of multimedia messages, the methods of exhibiting and device of data manipulation icon
CN110471611A (en) * 2019-08-20 2019-11-19 广州视源电子科技股份有限公司 Method, apparatus, terminal device and the storage medium of keyboard starting
CN111338525A (en) * 2020-02-21 2020-06-26 维沃移动通信有限公司 Control method of electronic equipment and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750363A (en) * 2015-03-23 2015-07-01 广州市久邦数码科技有限公司 Realization method and system for concealed floating window
CN106445278A (en) * 2016-08-31 2017-02-22 冠捷显示科技(厦门)有限公司 Control method of transparent suspension window
CN106598396A (en) * 2016-12-21 2017-04-26 北京金山安全软件有限公司 Display method and device based on floating window and electronic equipment
CN107203472A (en) * 2017-05-24 2017-09-26 广州久邦世纪科技有限公司 A kind of Application testing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750363A (en) * 2015-03-23 2015-07-01 广州市久邦数码科技有限公司 Realization method and system for concealed floating window
CN106445278A (en) * 2016-08-31 2017-02-22 冠捷显示科技(厦门)有限公司 Control method of transparent suspension window
CN106598396A (en) * 2016-12-21 2017-04-26 北京金山安全软件有限公司 Display method and device based on floating window and electronic equipment
CN107203472A (en) * 2017-05-24 2017-09-26 广州久邦世纪科技有限公司 A kind of Application testing system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109977241A (en) * 2019-03-14 2019-07-05 北京达佳互联信息技术有限公司 For the operations of multimedia messages, the methods of exhibiting and device of data manipulation icon
CN110471611A (en) * 2019-08-20 2019-11-19 广州视源电子科技股份有限公司 Method, apparatus, terminal device and the storage medium of keyboard starting
CN111338525A (en) * 2020-02-21 2020-06-26 维沃移动通信有限公司 Control method of electronic equipment and electronic equipment

Similar Documents

Publication Publication Date Title
US11460918B2 (en) Managing and mapping multi-sided touch
CN104598111B (en) Switch the method and device of display pattern
CN103391469B (en) Mobile terminal and controlling method thereof
CN105630411B (en) EMS memory management process and device
CN108762839A (en) The interface display method and device of application program
US20140136213A1 (en) Mobile terminal and control method thereof
CN111680521A (en) Translation processing method and device and translation processing device
CN107357505A (en) The method, apparatus and computer-readable recording medium of screenshot capture
KR20130026892A (en) Mobile terminal and method for providing user interface thereof
KR101952177B1 (en) Mobile terminal and control method thereof
CN104461348B (en) Information choosing method and device
CN111147660B (en) Control operation method and electronic equipment
CN104216973B (en) A kind of method and device of data search
JP2017536783A (en) Video special effect processing method, apparatus, terminal device, program, and recording medium
CN108717344A (en) page navigation method, device, terminal and computer readable storage medium
CN108038102A (en) Recommendation method, apparatus, terminal and the storage medium of facial expression image
CN108874481A (en) Handle the method and device of suspended window
CN106802808A (en) Suspension button control method and device
CN105955808B (en) The task management method and device of instant messaging application
CN112584222A (en) Video processing method and device for video processing
CN111427449A (en) Interface display method, device and storage medium
KR20130038753A (en) Mobile terminal and method for providing user interface thereof
CN109408022A (en) Display methods, device, terminal and storage medium
WO2023226422A1 (en) Content editing control method and apparatus, electronic device, and storage medium
KR101729109B1 (en) Mobile terminal and icon collision controlling method thereof

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