CN106095257A - A kind of method and device realizing application switching - Google Patents

A kind of method and device realizing application switching Download PDF

Info

Publication number
CN106095257A
CN106095257A CN201610380264.3A CN201610380264A CN106095257A CN 106095257 A CN106095257 A CN 106095257A CN 201610380264 A CN201610380264 A CN 201610380264A CN 106095257 A CN106095257 A CN 106095257A
Authority
CN
China
Prior art keywords
described
page turning
application
pinup picture
switching
Prior art date
Application number
CN201610380264.3A
Other languages
Chinese (zh)
Inventor
李风光
Original Assignee
努比亚技术有限公司
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 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Priority to CN201610380264.3A priority Critical patent/CN106095257A/en
Publication of CN106095257A publication Critical patent/CN106095257A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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
    • G06F3/0483Interaction 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 interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object or an image, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders, dials

Abstract

A kind of method and device realizing application switching, comprising: when the application switching signal of generation being detected, intercepts the first pinup picture that current screen display content shows as page turning;Glide direction according to default application switching signal, with front and at the corresponding relation of rear application, determines that application switching signal needs the application of switching;Wherein it is desired to switching application for multitask cache in current application in front or posterior application;Add a page turning window in the current application run, use the first pinup picture of intercepting and corresponding second pinup picture of application of needs switching to carry out page turning and show in the page turning window adding, and synchronous averaging needs the application of switching;Wherein, described second pinup picture is prestore.The embodiment of the present invention, is shown by page turning during application switching, enriches the visual effect of application switching, improve interactive experience during application switching.

Description

A kind of method and device realizing application switching

Technical field

Present document relates to but be not limited to terminal applies technology, espespecially a kind of method and device realizing application switching.

Background technology

With the development of the communication technology, the terminal device of intelligence has become as in people's life most popular auxiliary One of assistant engineer's tool, for example, mobile phone, panel computer etc..

Terminal device, when carrying out application switching, by the switching transition cartoon between application, for example, does one from screen Translation (or scaling, transparency animation) admission.Visual effect during application switching is flat stiff, interaction experience difference.

Content of the invention

The following is the general introduction to the theme describing in detail herein.This general introduction is not the protection model in order to limit claim Enclose.

The embodiment of the present invention provides a kind of method and device realizing application switching, can promote vision during application switching Effect and the Consumer's Experience of interaction.

Embodiments provide a kind of device realizing application switching, comprising:

Interception unit, when being used for application switching signal generation being detected, intercepts current screen display content as page turning First pinup picture of display;

Determining unit, for according to preset application switching signal glide direction with front and rear application corresponding close System, determines that application switching signal needs the application of switching;Wherein it is desired to the application of switching is current application in multitask caching In front or posterior application;

Page turning display unit, for adding a page turning window, at the page turning window adding in the current application run Middle corresponding second pinup picture of application using the first pinup picture intercepting and needs to switch carries out page turning and shows, and synchronous averaging needs The application of switching;Wherein, described second pinup picture is prestore.

Optionally, described application switching signal includes:

When being more than the distance of the first pre-set length threshold according to the first desired guiding trajectory slip in interactive areas, edge, generate described Application switching signal;Or,

When predeterminable area completes the slip of the second pre-set length threshold according to the second desired guiding trajectory, generate described application and cut Change signal.

Optionally, described device also includes animation process unit, when needing the application of switching for synchronous averaging, to described First pinup picture fades away according to transparency animation, gradually shows described second pinup picture according to transparency animation.

Optionally, described device also includes drawing unit, for adding according to described first pinup picture and described second pinup picture The content that described page turning shows drawn by the described page turning window adding;

The content that described page turning shows includes:

When needing the application of switching to be preceding application, using described second pinup picture as page turning display effect figure, with described First pinup picture, as the figure progressively being covered by described second pinup picture, carries out page turning to described page turning display effect figure and shows;

When needing the application of switching to be posterior application, using described first pinup picture as page turning display effect figure, with described The figure that second pinup picture progressively shows during showing as described first pinup picture page turning, turns over to described page turning display effect figure Page display.

Optionally, described drawing unit specifically for,

Draw described page turning according to described first pinup picture and described second pinup picture in the described page turning window adding to show Content;

The content that described page turning shows includes:

When needing the application of switching to be preceding application, using described second pinup picture as page turning display effect figure, with described First pinup picture, as the figure progressively being covered by described second pinup picture, carries out page turning to described page turning display effect figure and shows;

When needing the application of switching to be posterior application, using described first pinup picture as page turning display effect figure, with described The figure that second pinup picture progressively shows during showing as described first pinup picture page turning, turns over to described page turning display effect figure Page display;

Described carry out page turning to page turning display effect figure and show and include:

If page turning display effect figure is described second pinup picture, then described second pinup picture progressively covers described first pinup picture, Do not cover the part of described first pinup picture as turnup region in described second pinup picture, carry out page turning and show;

If described page turning display effect figure is the first pinup picture, the turnup region being incrementally increased by described first pinup picture is entered Row page turning shows, when the increase in the turnup region of described first pinup picture, progressively shows described second pinup picture;

Described turnup region is: after determining the page flanging of described page turning display effect figure, with page turning point and the described page The region that flanging is constituted is as described turnup region;

Determine described page flanging and the intersection point of boost line preset, the initial position of described page turning point and described intersection point When length is more than preset length, completes described page turning and show;

Described page flanging is: after the initial position of page turning point and the current location of page turning point constitute line segment, show in page turning Show the line segment becoming vertical relation in design sketch with the described line segment constituting;

Described page turning point includes: default each interactive areas, described edge and the glide direction in interactive areas, edge correspond to Four summits of display window, show according to detecting that the interactive areas, edge producing described application switching signal and glide direction determine Show the summit of window, using the described summit of determination as page turning point;Or, preset rail according to default predeterminable area every 1 second Mark corresponding corresponding page turning point respectively, according to the second desired guiding trajectory of described application switching signal, determines described page turning point;

Described boost line includes: with the initial position of page turning point as starting point, by starting point at display window according to default side To the line segment extending with length.

Optionally, described drawing unit is specifically for according to described first pinup picture and described second pinup picture at the window adding In Kou, use triangle surface method to calculate and drafting carries out the content that described page turning shows.

On the other hand, the embodiment of the present invention also provides a kind of method realizing application switching, comprising:

When the application switching signal of generation being detected, intercept the first patch that current screen display content shows as page turning Figure;

Glide direction according to default application switching signal, with front and at the corresponding relation of rear application, determines that application is cut Change the application of signal demand switching;Wherein it is desired to the application of switching cache for multitask in current application front or posterior Application;

Add a page turning window in the current application run, use the first of intercepting to paste in the page turning window adding Corresponding second pinup picture of application of figure and needs switching carries out page turning and shows, and synchronous averaging needs the application of switching;Wherein, institute Stating the second pinup picture is prestore.

Optionally, described application switching signal includes:

When being more than the distance of the first pre-set length threshold according to the first desired guiding trajectory slip in interactive areas, edge, generate described Application switching signal;Or,

When predeterminable area completes the slip of the second pre-set length threshold according to the second desired guiding trajectory, generate described application and cut Change signal.

Optionally, when described synchronous averaging needs the application of switching, described method also includes:

Described first pinup picture is faded away according to transparency animation, to described second pinup picture according to transparency animation gradually Display.

Optionally, described carrying out before page turning shows, the method also includes:

Draw described page turning according to described first pinup picture and described second pinup picture in the described page turning window adding to show Content;

The content that described page turning shows includes:

When needing the application of switching to be preceding application, using described second pinup picture as page turning display effect figure, with described First pinup picture, as the figure progressively being covered by described second pinup picture, carries out page turning to described page turning display effect figure and shows;

When needing the application of switching to be posterior application, using described first pinup picture as page turning display effect figure, with described The figure that second pinup picture progressively shows during showing as described first pinup picture page turning, turns over to described page turning display effect figure Page display.

Optionally, described carry out page turning to described page turning display effect figure and show and include:

Described carry out page turning to described page turning display effect figure and show and include:

If page turning display effect figure is described second pinup picture, then described second pinup picture progressively covers described first pinup picture, Do not cover the part of described first pinup picture as turnup region in described second pinup picture, carry out page turning and show;

If described page turning display effect figure is the first pinup picture, the turnup region being incrementally increased by described first pinup picture is entered Row page turning shows, when the increase in the turnup region of described first pinup picture, progressively shows described second pinup picture;

Described turnup region is: after determining the page flanging of described page turning display effect figure, with page turning point and the described page The region that flanging is constituted is as described turnup region;

Determine described page flanging and the intersection point of boost line preset, the initial position of described page turning point and described intersection point When length is more than preset length, completes described page turning and show;

Described page flanging is: after the initial position of page turning point and the current location of page turning point constitute line segment, show in page turning Show the line segment becoming vertical relation in design sketch with the described line segment constituting;

Described page turning point includes: default each interactive areas, described edge and the glide direction in interactive areas, edge correspond to Four summits of display window, show according to detecting that the interactive areas, edge producing described application switching signal and glide direction determine Show the summit of window, using the described summit of determination as page turning point;Or, preset rail according to default predeterminable area every 1 second Mark corresponding corresponding page turning point respectively, according to the second desired guiding trajectory of described application switching signal, determines described page turning point;

Described boost line includes: with the initial position of page turning point as starting point, by starting point at display window according to default side To the line segment extending with length.

Optionally, the content that described drafting page turning shows includes:

Carried out calculating and the drafting of the content that described page turning shows by triangle surface method.

Compared with correlation technique, technical scheme includes: when the application switching signal of generation being detected, intercepts current The first pinup picture that screen display content shows as page turning;Glide direction according to default application switching signal with front and The corresponding relation of rear application, determines that application switching signal needs the application of switching;Delay wherein it is desired to the application of switching is multitask Deposit middle current application in front or posterior application;Add a page turning window in the current application run, turning over of adding Page window uses the first pinup picture of intercepting and corresponding second pinup picture of application of needs switching carry out page turning and show, and synchronize to open The dynamic application needing switching;Wherein, described second pinup picture is prestore.The embodiment of the present invention, when being switched by application Page turning shows, enriches the visual effect of application switching, improves interactive experience during application switching.

After reading and understanding accompanying drawing and describing in detail, it can be appreciated that other aspects.

Brief description

Fig. 1 is the hardware configuration signal of the mobile terminal realizing the embodiment of the present invention;

Fig. 2 is the flow chart of a kind of method realizing application switching of the embodiment of the present invention;

Fig. 3 is the schematic diagram of embodiment of the present invention page flanging;

Fig. 4 is the schematic diagram of embodiment of the present invention boost line;

Fig. 5 is the schematic diagram that embodiment of the present invention page turning shows;

Fig. 6 is the first schematic diagram that embodiment of the present invention triangle surfaceization is processed;

Fig. 7 is the second schematic diagram that embodiment of the present invention triangle surfaceization is processed;

Fig. 8 is the 3rd schematic diagram that embodiment of the present invention triangle surfaceization is processed;

Fig. 9 is the 4th schematic diagram that embodiment of the present invention triangle surfaceization is processed;

Figure 10 is the flow chart of the method that another embodiment of the present invention realizes application switching;

Figure 11 is the structured flowchart of the device that the embodiment of the present invention realizes application switching.

Detailed description of the invention

For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case of not conflicting, in embodiment in the application and embodiment Feature can mutually be combined.

The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use For represent the suffix of such as " module ", " parts " or " unit " of element only for the explanation of the beneficially present invention, itself Not specific meaning.Therefore, " module " and " parts " can mixedly use.

Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. consolidate Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, mobile except being used in particular for Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.

Fig. 1 is the hardware configuration signal of the mobile terminal realizing the embodiment of the present invention.

Mobile terminal 100 can include that the 160th, the 130th, user input unit sense unit the 140th, output unit the 150th, memory Controller 180 and power subsystem 190 etc..Fig. 1 shows the mobile terminal with various assembly, it should be understood that simultaneously Realistic must not execute all assemblies illustrating.Can alternatively implement more or less of assembly.Will be discussed in more detail below movement The element of terminal.

User input unit 130 can generate key input data to control each of mobile terminal according to the order that user inputs Plant operation.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch Plate (for example, detection due to touched and cause resistance, pressure, the sensitive component of change of electric capacity etc.), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.

Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 open or close shape State), the position of mobile terminal 100, user is for the presence or absence of the contact (that is, touch input) of mobile terminal 100, mobile terminal Orientation, the acceleration or deceleration of mobile terminal 100 of 100 move and direction etc., and generate for controlling mobile terminal 100 The order of operation or signal.For example, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing unit 140 can sense This sliding-type phone opens or cuts out.

Output unit 150 can include display unit 151, and display unit 151 may be displayed in mobile terminal 100 and processes Information.For example, when mobile terminal 100 is in telephone calling model, display unit 151 can show and lead to call or other The related user interface (UI) of letter (for example, text messaging, multimedia file download etc.) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can show capture Image and/or the image of reception, UI or GUI illustrating video or image and correlation function etc..

Meanwhile, when display unit 151 and touch pad as a layer superposed on one another with formed touch-screen when, display unit 151 can serve as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least A kind of.Some in these displays may be constructed such that transparence with allow user from outside watch, this is properly termed as transparent Display, typical transparent display can for example, TOLED (transparent organic light emitting diode) display etc..According to specific The embodiment wanted, mobile terminal 100 can include two or more display units (or other display devices), for example, move Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detection and touches Input pressure and touch input position and touch input area.

Memory 160 can store the process being performed by controller 180 and the software program controlling operation etc., or can Temporarily to store oneself through exporting the data (for example, telephone directory, message, still image, video etc.) that or will export.And And, memory 160 can store with regard to when touch be applied to touch-screen when the vibration of various modes of output and audio signal Data.

Memory 160 can include the storage medium of at least one type, and described storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected execution memory with by network The network storage device cooperation of the storage function of 160.

Controller 180 generally controls the overall operation of mobile terminal.For example, controller 180 performs and voice call, data The related control of communication, video calling etc. and process.In addition, controller 180 can include for reproducing (or playback) many matchmakers The multi-media module 1810 of volume data, multi-media module 1810 can construct in controller 180, or it is so structured that with control Device 180 processed separates.Controller 180 can perform pattern recognition process, with the handwriting input that will perform on the touchscreen or figure Piece is drawn input and is identified as character or image.

Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Suitable electric power needed for part and assembly.

Various embodiment described herein can be to use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implementing for hardware, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Program gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to perform function described herein At least one in electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. Software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operation Software module is implemented.Software code can be come by the software application (or program) write with any suitable programming language Implementing, software code can be stored in memory 160 and be performed by controller 180.

So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.

Mobile terminal 100 as shown in Figure 1 may be constructed such that utilize via frame or packet transmission data all if any Line and wireless communication system and satellite-based communication system operate.

Based on above-mentioned mobile terminal hardware configuration, each embodiment of the inventive method is proposed.

Fig. 2 is the flow chart of a kind of method realizing application switching of the embodiment of the present invention, as shown in Figure 2, comprising:

Step 200, when the application switching signal of generation being detected, intercept what current screen display content showed as page turning First pinup picture;

It should be noted that the embodiment of the present invention, the method intercepting current screen display content can use correlation technique In screen printing display mode obtain, for example with the screen interception in the SurfaceControl class of Android (ScreenShot) content that interface intercepts current screen shows.

Optionally, the embodiment of the present invention, application switching signal includes:

When being more than the distance of the first pre-set length threshold according to the first desired guiding trajectory slip in interactive areas, edge, generate application Switching signal;Or,

When predeterminable area completes the slip of the second pre-set length threshold according to the second desired guiding trajectory, generate application switching letter Number.

It should be noted that embodiment of the present invention edge exchange area can include the interactive areas, edge based on FIT technology;This Inventive embodiments predeterminable area can include interactive areas, edge, can be the interactive areas, edge of FIT technology, it is also possible to be other skills The interactive areas, edge of art, can also is that other can receive the region of user input signal, for example, terminal back arrange mutual Touch area.

Wherein, FIT technology is a kind of interactive mode done for Rimless screen, can be used for there is frame mobile phone: gripping unblock, Grip screenshotss, backstage cleaning, the equal function of quick startup.The application of FIT technology includes edge gesture, for example, boundary slip, list Hand grips, transverse screen hands grasping;Wherein, be hold by one hand may be used for terminal unlocking, screenshotss etc. operation;Can also be added by gripping The mode clicked on realizes functions such as taking pictures;Boundary slip includes switching background application, starts application etc., arranges according to boundary slip The regulation such as volume, brightness can also be carried out.

Step 201, according to the glide direction of the application switching signal preset and front and at the corresponding relation of rear application, really Surely switching signal is applied to need the application of switching;Wherein it is desired to the application of switching cache for multitask in current application front Or posterior application;

Step 202, one page turning window of interpolation, employing intercepting in the page turning window adding in the current application run The first pinup picture and corresponding second pinup picture of application of needs switching carry out page turning and show, and synchronous averaging need switching should With;Wherein, the second pinup picture is prestore;

It should be noted that in embodiment of the present invention method, determine the application needing to start from multitask caching for working as Before and after front application or posterior application may include that according to glide direction set in advance with front or in rear each application Corresponding relation, it is assumed that when definition glide direction is first direction slip, determines that the application needing to start from multitask caching is Preceding one application of current application, when glide direction is the second direction contrary with first direction, determines and needs from many Posterior one application that the application starting in business caching is current application.First direction can set according to use habit Fixed, it is also possible to be configured by systematic parameter.In addition, the method adding window in the application includes: by operating system The interface providing in application programming interface (API, Application Programming Interface), behaviour here Make system and can include Android system, the technology of window management service (WindowManager) can be used to carry out above-mentioned window Interpolation.In addition, the embodiment of the present invention, application start whether complete can by window monitor service (WMS) realize monitoring and Determine.

Optionally, when synchronous averaging needs the application of switching, embodiment of the present invention method also includes:

First pinup picture is faded away according to transparency animation, the second pinup picture is gradually shown according to transparency animation.

It should be noted that the method that transparency animation shows can include and the application such as lantern slide or e-book reading The method that the transparency of middle realization gradually obscures according to progress or image display method same principle realizes clearly, transparency is moved Draw the process fading away to include: the process that transparency gradually obscures according to progress, the process bag that transparency animation gradually shows Include: the gradually process of clear display.

Optionally, carrying out before page turning shows, embodiment of the present invention method also includes:

Draw the content that page turning shows according to the first pinup picture and the second pinup picture in the page turning window adding;

The content that page turning shows includes: when the application of needs switching is preceding application, show using the second pinup picture as page turning Show design sketch, using the first pinup picture as the figure progressively being covered by the second pinup picture, page turning is carried out to page turning display effect figure and shows;

When needing the application of switching to be posterior application, using the first pinup picture as page turning display effect figure, with the second pinup picture The figure progressively showing during showing as the first pinup picture page turning, carries out page turning to page turning display effect figure and shows.

It should be noted that embodiment of the present invention method, the implementation method that page turning shows can use e-book or magic lantern The page turning display methods using in piece.Can also be passed through by window adds a view, (for example, glSurfaceView) Outward appearance (surface) embedded in view is responsible for open graphic library (OpenGL, Open Graphics Library) wash with watercolours specially Dye, the drafting that page turning shows can be carried out by the rendering order comprising in open graphic library.

Optionally, the embodiment of the present invention, carries out page turning and shows and include to page turning display effect figure:

If page turning display effect figure is the second pinup picture, then the second pinup picture progressively covers the first pinup picture, with in the second pinup picture Do not cover the part of the first pinup picture as turnup region, carry out page turning and show;

If page turning display effect figure is the first pinup picture, carries out page turning by the turnup region that the first pinup picture incrementally increases and show Show, when the increase in the turnup region of the first pinup picture, progressively show the second pinup picture;

Turnup region is: after determining the page flanging of page turning display effect figure, the district being constituted with page turning point and page flanging Territory is as turnup region;

Determine that the intersection point of page flanging and the boost line preset, the initial position of page turning point and the length of intersection point are more than to preset During length, complete page turning and show;

Page flanging is: after the initial position of page turning point and the current location of page turning point constitute line segment, in page turning display effect Figure really becomes the line segment of vertical relation with the line segment constituting;Fig. 3 is the schematic diagram of embodiment of the present invention page flanging, such as Fig. 3 institute Showing, the dotted line in figure is page flanging, the position moving to page flanging from initial position of page turning point.

Page turning point includes: the display window that default interactive areas, each edge and the glide direction in interactive areas, edge correspond to Four summits, produce the application interactive areas, edge of switching signal and glide direction determines the top of display window according to detecting Point, using the summit of determination as page turning point;Or, corresponding corresponding respectively according to default every one second desired guiding trajectory of predeterminable area Page turning point, according to application switching signal the second desired guiding trajectory, determine page turning point;For example, to comprise left side edge mutual for terminal District and right side edge interactive areas, when left side edge interactive areas is moved from top to bottom, on the left of display window, the summit of upper end is page turning Point, left side edge interactive areas from little to upper mobile when, on the left of display window, the summit of lower end is page turning point, right side edge interactive areas When moving from top to bottom, on the right side of display window, the summit of upper end is page turning point, right side edge interactive areas from little to upper mobile when, aobvious The summit showing lower end on the right side of window is page turning point.

Boost line includes: with the initial position of page turning point as starting point, by starting point display window according to default direction and The line segment that length extends.Fig. 4 is the schematic diagram of embodiment of the present invention boost line, as shown in Figure 4, page turning point as original position, Using the direction of the ray at the angle of dividing page turning point place equally as the direction of boost line, the catercorner length of setting terminal display window For boost line length, it is thus achieved that the boost line of the embodiment of the present invention, the direction of boost line and length can be carried out according to actual conditions Arrange and adjust.

Optionally, the embodiment of the present invention, the content that drafting page turning shows may include that to be entered by triangle surface method The calculating of the content that row page turning shows and drafting.Draw the page turning that carries out when current application is switched to the application needing switching to show The content shown includes: carried out calculating and the drafting of the content that page turning shows by triangle surface method.

Fig. 5 is the schematic diagram that embodiment of the present invention page turning shows, as it is shown in figure 5, need the application of switching to be in rear application, In figure current application the first pinup picture numbered 2 and 3 region carry out turnup region, at the second pinup picture of rear application at turnup In the case of region increases, the part viewing area of numbering 4 incrementally increases.In OpenGL, any figure all must be with triangular facet The form of piece shows, i.e. (specifies three summits of triangle, and Atria summit pair by a triangle The texture coordinate answered) draw.In embodiments of the present invention, need four shown in Fig. 5 region is carried out triangular facet respectively Piece;As a example by using the lower right corner of Fig. 5 as page turning point, the region of triangle surface can be entered by the position according to page flanging Row divides, and can comprise following three kinds of situations;

1st, when page flanging did not had position, the page lower left corner, i.e. page turning point and page folding is in the plane of display window One triangle;

2. when page flanging exceed position, the lower left corner also do not reach position, the upper right corner when, i.e. page turning point and page folding is in display It is a quadrangle in the plane of window;

3., when current page flanging exceedes position, the upper right corner, i.e. page turning point and page folding are one in the plane of display window Individual pentagon;

Carry out tri patch according to three cases above to the page:

Situation the 1st, Fig. 6 is the first schematic diagram that embodiment of the present invention triangle surfaceization is processed, as shown in Figure 6, this time zone Territory 1 is a pentagon, and two parallel lines parallel with page flanging, such shape are made respectively with the lower left corner in the upper right corner crossing the page Become a triangle and two quadrangles, then connect the opposite side of quadrangle respectively, material is thus formed five triangles.Fig. 7 The second schematic diagram processing for embodiment of the present invention triangle surfaceization, as it is shown in fig. 7, region 2 is now a face of cylinder, will Region 2 is launched, and according to page flanging, region 2 is made the parallel parallel lines of N bar, forms several quadrangles, connects quadrangle Diagonal, forms 2N triangle.Region 3 itself has been a triangle, it is not necessary to divide.Region 4 is equally also one Triangle, it is not required that divide.

Situation 2: Fig. 8 is the 3rd schematic diagram that embodiment of the present invention triangle surfaceization is processed, as shown in Figure 8,1 stroke of region It is divided into tri patch as depicted;Fig. 9 is the 4th schematic diagram that embodiment of the present invention triangle surfaceization is processed, such as Fig. 9 institute Showing, region 2 is divided into after launching as it can be seen, owing to comprising the page lower left corner in region 2, cross the lower left corner and do parallel lines, by district Territory 2 is divided into two regions, makees equidistant parallel lines respectively to two regions, forms several quadrangles, then connects four limits The diagonal of shape forms triangle.Region 3 and region 4 do not need to subdivide for triangle.

Situation 3: region 1 and region 3 remain as triangle, the region 2 region 2 being similar to the second situation divides, Region 4 is similar to the division in the region 1 of the first situation.

The embodiment of the present invention, is shown by page turning during application switching, enriches the visual effect of application switching, improve Interactive experience during application switching.

Figure 10 is the flow chart of the method that another embodiment of the present invention realizes application switching, as shown in Figure 10, comprising:

Step 1000, when the application switching signal of generation being detected, intercept current screen display content and show as page turning The first pinup picture;

It should be noted that the embodiment of the present invention, the method intercepting current screen display content can use correlation technique In screen printing display mode obtain, for example with the screen interception in the SurfaceControl class of Android (ScreenShot) content that interface intercepts current screen shows.

Optionally, the embodiment of the present invention, application switching signal includes:

When being more than the distance of the first pre-set length threshold according to the first desired guiding trajectory slip in interactive areas, edge, generate application Switching signal;Or,

When predeterminable area completes the slip of the second pre-set length threshold according to the second desired guiding trajectory, generate application switching letter Number.

It should be noted that embodiment of the present invention edge exchange area can include the interactive areas, edge based on FIT technology;This Inventive embodiments predeterminable area can include interactive areas, edge, can be the interactive areas, edge of FIT technology, it is also possible to be other skills The interactive areas, edge of art, can also is that other can receive the region of user input signal, for example, terminal back arrange mutual Touch area.

Step 1001, according to the glide direction of the application switching signal preset and front and at the corresponding relation of rear application, Determine that application switching signal needs the application of switching;Wherein it is desired to switching application for multitask cache in current application Front or posterior application;

Step 1002, in the current application run, add a page turning window, use the first pinup picture and in advance intercepting The determination of storage needs corresponding second pinup picture of application of switching to draw the content that page turning shows in the window adding;

The content that page turning shows includes: when the application of needs switching is preceding application, show using the second pinup picture as page turning Show design sketch, using the first pinup picture as the figure progressively being covered by the second pinup picture, page turning is carried out to page turning display effect figure and shows;

When needing the application of switching to be posterior application, using the first pinup picture as page turning display effect figure, with the second pinup picture The figure progressively showing during showing as the first pinup picture page turning, carries out page turning to page turning display effect figure and shows.

It should be noted that embodiment of the present invention method, the implementation method that page turning shows can use e-book or magic lantern The page turning display methods using in piece.Can also be passed through by window adds a view, (for example, glSurfaceView) Outward appearance (surface) embedded in view is responsible for open graphic library (OpenGL, Open Graphics Library) wash with watercolours specially Dye, the drafting that page turning shows can be carried out by the rendering order comprising in open graphic library.

The content page turning that step 1003, the page turning drawn in the page turning window adding show shows, and synchronizes to open The dynamic application needing switching;

It should be noted that in embodiment of the present invention method, determine the application needing to start from multitask caching for working as Before and after front application or posterior application may include that according to glide direction set in advance with front or in rear each application Corresponding relation, it is assumed that when definition glide direction is first direction slip, determines that the application needing to start from multitask caching is Preceding one application of current application, when glide direction is the second direction contrary with first direction, determines and needs from many Posterior one application that the application starting in business caching is current application.First direction can set according to use habit Fixed, it is also possible to be configured by systematic parameter.In addition, the method adding window in the application includes: by operating system The interface providing in application programming interface (API, Application Programming Interface), behaviour here Make system and can include Android system, the technology of window management service (WindowManager) can be used to carry out above-mentioned window Interpolation.In addition, the embodiment of the present invention, application start whether complete can by window monitor service (WMS) realize monitoring and Determine.

When step 1004, synchronous averaging need the application of switching, the first pinup picture is faded away according to transparency animation, right Second pinup picture gradually shows according to transparency animation.

It should be noted that the method that transparency animation shows can include and the application such as lantern slide or e-book reading The method that the transparency of middle realization gradually obscures according to progress or image display method same principle realizes clearly, transparency is moved Draw the process fading away to include: the process that transparency gradually obscures according to progress, the process bag that transparency animation gradually shows Include: the gradually process of clear display.

Optionally, the embodiment of the present invention, carries out page turning and shows and include to page turning display effect figure:

If page turning display effect figure is the second pinup picture, then the second pinup picture progressively covers the first pinup picture, with in the second pinup picture Do not cover the part of the first pinup picture as turnup region, carry out page turning and show;

If page turning display effect figure is the first pinup picture, carries out page turning by the turnup region that the first pinup picture incrementally increases and show Show, when the increase in the turnup region of the first pinup picture, progressively show the second pinup picture;

Turnup region is: after determining the page flanging of page turning display effect figure, the district being constituted with page turning point and page flanging Territory is as turnup region;

Determine that the intersection point of page flanging and the boost line preset, the initial position of page turning point and the length of intersection point are more than to preset During length, complete page turning and show;

Page flanging is: after the initial position of page turning point and the current location of page turning point constitute line segment, in page turning display effect Figure really becomes the line segment of vertical relation with the line segment constituting;

Page turning point includes: the display window that default interactive areas, each edge and the glide direction in interactive areas, edge correspond to Four summits, produce the application interactive areas, edge of switching signal and glide direction determines the top of display window according to detecting Point, using the summit of determination as page turning point;Or, corresponding corresponding respectively according to default every one second desired guiding trajectory of predeterminable area Page turning point, according to application switching signal the second desired guiding trajectory, determine page turning point;For example, to comprise left side edge mutual for terminal District and right side edge interactive areas, when left side edge interactive areas is moved from top to bottom, on the left of display window, the summit of upper end is page turning Point, left side edge interactive areas from little to upper mobile when, on the left of display window, the summit of lower end is page turning point, right side edge interactive areas When moving from top to bottom, on the right side of display window, the summit of upper end is page turning point, right side edge interactive areas from little to upper mobile when, aobvious The summit showing lower end on the right side of window is page turning point.

Boost line includes: with the initial position of page turning point as starting point, by starting point display window according to default direction and The line segment that length extends.

Optionally, the embodiment of the present invention, draws the page turning that carries out when current application is switched to the application needing switching and shows The content shown includes: carried out calculating and the drafting of the content that page turning shows by triangle surface method.

The embodiment of the present invention, is shown by page turning during application switching, enriches the visual effect of application switching, improve Interactive experience during application switching.

Figure 11 is the structured flowchart of the device that the embodiment of the present invention realizes application switching, as shown in figure 11, comprising:

Interception unit, when being used for application switching signal generation being detected, intercepts current screen display content as page turning First pinup picture of display;

Determining unit, for according to preset application switching signal glide direction with front and rear application corresponding close System, determines that application switching signal needs the application of switching;Wherein it is desired to the application of switching is current application in multitask caching In front or posterior application;

Page turning display unit, for adding a page turning window, at the page turning window adding in the current application run Middle corresponding second pinup picture of application using the first pinup picture intercepting and needs to switch carries out page turning and shows, and synchronous averaging needs The application of switching;Wherein, the second pinup picture is prestore.

It should be noted that in embodiment of the present invention method, determine the application needing to start from multitask caching for working as Before and after front application or posterior application may include that according to glide direction set in advance with front or in rear each application Corresponding relation, it is assumed that when definition glide direction is first direction slip, determines that the application needing to start from multitask caching is Preceding one application of current application, when glide direction is the second direction contrary with first direction, determines and needs from many Posterior one application that in business caching, the application of switching is current application.First direction can set according to use habit Fixed, it is also possible to be configured by systematic parameter.In addition, the method adding window in the application includes: by operating system The interface providing in application programming interface (API, Application Programming Interface), behaviour here Make system and can include Android system, the technology of window management service (WindowManager) can be used to carry out above-mentioned window Interpolation.In addition, the embodiment of the present invention, application start whether complete can by window monitor service (WMS) realize monitoring and Determine.

Optionally, switching signal is applied to include:

When being more than the distance of the first pre-set length threshold according to the first desired guiding trajectory slip in interactive areas, edge, generate application Switching signal;Or,

When predeterminable area completes the slip of the second pre-set length threshold according to the second desired guiding trajectory, generate application switching letter Number.

It should be noted that embodiment of the present invention edge exchange area can include the interactive areas, edge based on FIT technology;This Inventive embodiments predeterminable area can include interactive areas, edge, can be the interactive areas, edge of FIT technology, it is also possible to be other skills The interactive areas, edge of art, can also is that other can receive the region of user input signal, for example, terminal back arrange mutual Touch area.

Optionally, embodiment of the present invention device also includes animation process unit, needs the application of switching for synchronous averaging When, the first pinup picture is faded away according to transparency animation, the second pinup picture is gradually shown according to transparency animation.

It should be noted that the method that transparency animation shows can include and the application such as lantern slide or e-book reading The method that the transparency of middle realization gradually obscures according to progress or image display method same principle realizes clearly, transparency is moved Draw the process fading away to include: the process that transparency gradually obscures according to progress, the process bag that transparency animation gradually shows Include: the gradually process of clear display.

Optionally, embodiment of the present invention device also includes drawing unit, for adding according to the first pinup picture and the second pinup picture The page turning window adding is drawn the content that page turning shows;

The content that page turning shows includes:

When needing the application of switching to be preceding application, using the second pinup picture as page turning display effect figure, with the first pinup picture As the figure progressively being covered by the second pinup picture, page turning is carried out to page turning display effect figure and shows;

When needing the application of switching to be posterior application, using the first pinup picture as page turning display effect figure, with the second pinup picture The figure progressively showing during showing as the first pinup picture page turning, carries out page turning to page turning display effect figure and shows.

It should be noted that embodiment of the present invention method, the implementation method that page turning shows can use e-book or magic lantern The page turning display methods using in piece.Can also be passed through by window adds a view, (for example, glSurfaceView) Outward appearance (surface) embedded in view is responsible for open graphic library (OpenGL, Open Graphics Library) wash with watercolours specially Dye, the drafting that page turning shows can be carried out by the rendering order comprising in open graphic library.

Optionally, the embodiment of the present invention, drawing unit specifically for,

Draw the content that page turning shows according to the first pinup picture and the second pinup picture in the page turning window adding;

The content that page turning shows includes:

When needing the application of switching to be preceding application, using the second pinup picture as page turning display effect figure, with the first pinup picture As the figure progressively being covered by the second pinup picture, page turning is carried out to page turning display effect figure and shows;

When needing the application of switching to be posterior application, using the first pinup picture as page turning display effect figure, with the second pinup picture The figure progressively showing during showing as the first pinup picture page turning, carries out page turning to page turning display effect figure and shows;

Carry out page turning to show include to page turning display effect figure:

If page turning display effect figure is the second pinup picture, then the second pinup picture progressively covers the first pinup picture, with in the second pinup picture Do not cover the part of the first pinup picture as turnup region, carry out page turning and show;

If page turning display effect figure is the first pinup picture, carries out page turning by the turnup region that the first pinup picture incrementally increases and show Show, when the increase in the turnup region of the first pinup picture, progressively show the second pinup picture;

Turnup region is: after determining the page flanging of page turning display effect figure, the district being constituted with page turning point and page flanging Territory is as turnup region;

Determine that the intersection point of page flanging and the boost line preset, the initial position of page turning point and the length of intersection point are more than to preset During length, complete page turning and show;

Page flanging is: after the initial position of page turning point and the current location of page turning point constitute line segment, in page turning display effect Figure really becomes the line segment of vertical relation with the line segment constituting;

Page turning point includes: the display window that default interactive areas, each edge and the glide direction in interactive areas, edge correspond to Four summits, produce the application interactive areas, edge of switching signal and glide direction determines the top of display window according to detecting Point, using the summit of determination as page turning point;Or, corresponding corresponding respectively according to default every one second desired guiding trajectory of predeterminable area Page turning point, according to application switching signal the second desired guiding trajectory, determine page turning point;

Boost line includes: with the initial position of page turning point as starting point, by starting point display window according to default direction and The line segment that length extends.

Optionally, drawing unit is specifically for, according to the first pinup picture and the second pinup picture in the window adding, using triangle Shape tiled method calculates and draws and carries out the content that page turning shows.

The embodiment of the present invention, is shown by page turning during application switching, enriches the visual effect of application switching, improve Interactive experience during application switching.

The embodiment of the present invention additionally provides a kind of device realizing application switching and includes: interception unit, determining unit, drafting Unit, page turning display unit and animation process unit;Wherein,

Interception unit, when being used for application switching signal generation being detected, intercepts current screen display content as page turning First pinup picture of display;

It should be noted that the embodiment of the present invention, the method intercepting current screen display content can use correlation technique In screen printing display mode obtain, for example with the screen interception in the SurfaceControl class of Android (ScreenShot) content that interface intercepts current screen shows.

Determining unit, for the glide direction according to the application switching signal preset with front and corresponding in rear application Relation, determines that application switching signal needs the application of switching;Wherein it is desired to the application of switching is current application in multitask caching In front or posterior application;

Drawing unit, for drawing in page turning shows according to the first pinup picture and the second pinup picture in the page turning window adding Hold;

The content that page turning shows includes:

When needing the application of switching to be preceding application, using the second pinup picture as page turning display effect figure, with the first pinup picture As the figure progressively being covered by the second pinup picture, page turning is carried out to page turning display effect figure and shows;

When needing the application of switching to be posterior application, using the first pinup picture as page turning display effect figure, with the second pinup picture The figure progressively showing during showing as the first pinup picture page turning, carries out page turning to page turning display effect figure and shows.

It should be noted that embodiment of the present invention method, the implementation method that page turning shows can use e-book or magic lantern The page turning display methods using in piece.Can also be passed through by window adds a view, (for example, glSurfaceView) Outward appearance (surface) embedded in view is responsible for open graphic library (OpenGL, Open Graphics Library) wash with watercolours specially Dye, the drafting that page turning shows can be carried out by the rendering order comprising in open graphic library.

Page turning display unit, page turning display unit, for adding a page turning window in the current application run, adding The page turning window adding use the first pinup picture of intercepting and corresponding second pinup picture of application of needs switching carry out page turning and show, and Synchronous averaging needs the application of switching;Wherein, the second pinup picture is prestore.

It should be noted that in embodiment of the present invention method, determine the application needing to start from multitask caching for working as Before and after front application or posterior application may include that according to glide direction set in advance with front or in rear each application Corresponding relation, it is assumed that when definition glide direction is first direction slip, determines that the application needing to start from multitask caching is Preceding one application of current application, when glide direction is the second direction contrary with first direction, determines and needs from many Posterior one application that the application starting in business caching is current application.First direction can set according to use habit Fixed, it is also possible to be configured by systematic parameter.In addition, the method adding window in the application includes: by operating system The interface providing in application programming interface (API, Application Programming Interface), behaviour here Make system and can include Android system, the technology of window management service (WindowManager) can be used to carry out above-mentioned window Interpolation.In addition, the embodiment of the present invention, application start whether complete can by window monitor service (WMS) realize monitoring and Determine.

Animation process unit, for synchronous averaging need switching application when, to the first pinup picture according to transparency animation by Fade mistake, gradually shows the second pinup picture according to transparency animation.

It should be noted that the method that transparency animation shows can include and the application such as lantern slide or e-book reading The method that the transparency of middle realization gradually obscures according to progress or image display method same principle realizes clearly, transparency is moved Draw the process fading away to include: the process that transparency gradually obscures according to progress, the process bag that transparency animation gradually shows Include: the gradually process of clear display.

Optionally, the embodiment of the present invention, drawing unit specifically for,

Draw the content that page turning shows according to the first pinup picture and the second pinup picture in the page turning window adding;

The content that page turning shows includes:

When needing the application of switching to be preceding application, using the second pinup picture as page turning display effect figure, with the first pinup picture As the figure progressively being covered by the second pinup picture, page turning is carried out to page turning display effect figure and shows;

When needing the application of switching to be posterior application, using the first pinup picture as page turning display effect figure, with the second pinup picture The figure progressively showing during showing as the first pinup picture page turning, carries out page turning to page turning display effect figure and shows;

Carry out page turning to show include to page turning display effect figure:

If page turning display effect figure is the second pinup picture, then the second pinup picture progressively covers the first pinup picture, with in the second pinup picture Do not cover the part of the first pinup picture as turnup region, carry out page turning and show;

If page turning display effect figure is the first pinup picture, carries out page turning by the turnup region that the first pinup picture incrementally increases and show Show, when the increase in the turnup region of the first pinup picture, progressively show the second pinup picture;

Turnup region is: after determining the page flanging of page turning display effect figure, the district being constituted with page turning point and page flanging Territory is as turnup region;

Determine that the intersection point of page flanging and the boost line preset, the initial position of page turning point and the length of intersection point are more than to preset During length, complete page turning and show;

Page flanging is: after the initial position of page turning point and the current location of page turning point constitute line segment, in page turning display effect Figure really becomes the line segment of vertical relation with the described line segment constituting;

Page turning point includes: the display window that default interactive areas, each edge and the glide direction in interactive areas, edge correspond to Four summits, produce the described application interactive areas, edge of switching signal and glide direction determines display window according to detecting Summit, using the described summit of determination as page turning point;Or, right respectively according to default every one second desired guiding trajectory of predeterminable area Should the point of page turning accordingly, according to described application switching signal the second desired guiding trajectory, determine described page turning point;

Boost line includes: with the initial position of page turning point as starting point, by starting point display window according to default direction and The line segment that length extends.

Optionally, drawing unit is specifically for drawing unit is specifically for adding according to the first pinup picture and the second pinup picture Window in, use triangle surface method calculate and draw carry out the content that page turning shows.

The embodiment of the present invention, is shown by page turning during application switching, enriches the visual effect of application switching, improve Interactive experience during application switching.

One of ordinary skill in the art will appreciate that all or part of step in said method can be instructed by program Related hardware (such as processor) completes, and described program can be stored in computer-readable recording medium, as read-only storage, Disk or CD etc..Alternatively, all or part of step of above-described embodiment also can use one or more integrated circuit Realize.Correspondingly, each the module/unit in above-described embodiment can use the form of hardware to realize, for example, pass through integrated electricity Road realizes its corresponding function, it would however also be possible to employ the form of software function module realizes, for example, perform to be stored in by processor Program/instruction in memory realizes its corresponding function.The present invention is not restricted to the hardware and software of any particular form In conjunction with.

Although the embodiment that disclosed herein is as above, but described content only readily appreciates that the present invention uses Embodiment, is not limited to the present invention.Technical staff in any art of the present invention, is being taken off without departing from the present invention On the premise of the spirit and scope of dew, any modification and change can be carried out in the form implemented and details, but the present invention Scope of patent protection, still must be defined in the range of standard with appending claims.

Claims (12)

1. the device realizing application switching, it is characterised in that include:
Interception unit, when being used for application switching signal generation being detected, intercepts current screen display content and shows as page turning The first pinup picture;
Determining unit, for the glide direction according to the application switching signal preset and front and at the corresponding relation of rear application, Determine that application switching signal needs the application of switching;Wherein it is desired to switching application for multitask cache in current application Front or posterior application;
Page turning display unit, for adding a page turning window in the current application run, adopts in the page turning window adding Carry out page turning with corresponding second pinup picture of application of the first pinup picture intercepting and needs switching to show, and synchronous averaging needs switching Application;Wherein, described second pinup picture is prestore.
2. device according to claim 1, it is characterised in that described application switching signal includes:
When being more than the distance of the first pre-set length threshold according to the first desired guiding trajectory slip in interactive areas, edge, generate described application Switching signal;Or,
When predeterminable area completes the slip of the second pre-set length threshold according to the second desired guiding trajectory, generate described application switching letter Number.
3. device according to claim 1, it is characterised in that described device also includes animation process unit, is used for synchronizing Start need switching application when, described first pinup picture is faded away according to transparency animation, to described second pinup picture according to Transparency animation gradually shows.
4. the device according to any one of claims 1 to 3, it is characterised in that described device also includes drawing unit, is used for Draw, in the described page turning window adding, the content that described page turning shows according to described first pinup picture and described second pinup picture;
The content that described page turning shows includes:
When needing the application of switching to be preceding application, using described second pinup picture as page turning display effect figure, with described first Pinup picture, as the figure progressively being covered by described second pinup picture, carries out page turning to described page turning display effect figure and shows;
When needing the application of switching to be posterior application, using described first pinup picture as page turning display effect figure, with described second The figure that pinup picture progressively shows during showing as described first pinup picture page turning, carries out page turning and shows to described page turning display effect figure Show.
5. device according to claim 4, it is characterised in that described drawing unit specifically for,
Draw in described page turning shows in the described page turning window adding according to described first pinup picture and described second pinup picture Hold;
The content that described page turning shows includes:
When needing the application of switching to be preceding application, using described second pinup picture as page turning display effect figure, with described first Pinup picture, as the figure progressively being covered by described second pinup picture, carries out page turning to described page turning display effect figure and shows;
When needing the application of switching to be posterior application, using described first pinup picture as page turning display effect figure, with described second The figure that pinup picture progressively shows during showing as described first pinup picture page turning, carries out page turning and shows to described page turning display effect figure Show;
Described carry out page turning to page turning display effect figure and show and include:
If page turning display effect figure is described second pinup picture, then described second pinup picture progressively covers described first pinup picture, with institute State the part not covering described first pinup picture in the second pinup picture as turnup region, carry out page turning and show;
If described page turning display effect figure is the first pinup picture, the turnup region being incrementally increased by described first pinup picture is turned over Page display, when the increase in the turnup region of described first pinup picture, progressively shows described second pinup picture;
Described turnup region is: after determining the page flanging of described page turning display effect figure, with page turning point and described page flanging The region constituting is as described turnup region;
Determine intersection point, the initial position of described page turning point and the length of described intersection point of described page flanging and the boost line preset During more than preset length, complete described page turning and show;
Described page flanging is: after the initial position of page turning point and the current location of page turning point constitute line segment, in page turning display effect Figure really becomes the line segment of vertical relation with the described line segment constituting;
Described page turning point includes: the display that default each interactive areas, described edge and the glide direction in interactive areas, edge correspond to Four summits of window, produce the described application interactive areas, edge of switching signal and glide direction determines display window according to detecting The summit of mouth, using the described summit of determination as page turning point;Or, divide according to default every one second desired guiding trajectory of predeterminable area Not corresponding corresponding page turning point, according to the second desired guiding trajectory of described application switching signal, determines described page turning point;
Described boost line includes: with the initial position of page turning point as starting point, by starting point display window according to default direction and The line segment that length extends.
6. the device according to any one of claims 1 to 3, it is characterised in that described drawing unit is specifically for according to institute State the first pinup picture and described second pinup picture in the window adding, use triangle surface method to calculate and draw carry out described The content that page turning shows.
7. the method realizing application switching, it is characterised in that include:
When the application switching signal of generation being detected, intercept the first pinup picture that current screen display content shows as page turning;
Glide direction according to default application switching signal, with front and at the corresponding relation of rear application, determines application switching letter Number need switching application;Wherein it is desired to switching application for multitask cache in current application in front or posterior application;
Run current application in add a page turning window, add page turning window in use intercepting the first pinup picture and Corresponding second pinup picture of application needing switching carries out page turning and shows, and synchronous averaging needs the application of switching;Wherein, described Two pinup pictures are prestore.
8. method according to claim 7, it is characterised in that described application switching signal includes:
When being more than the distance of the first pre-set length threshold according to the first desired guiding trajectory slip in interactive areas, edge, generate described application Switching signal;Or,
When predeterminable area completes the slip of the second pre-set length threshold according to the second desired guiding trajectory, generate described application switching letter Number.
9. method according to claim 7, it is characterised in that when described synchronous averaging needs the application of switching, described side Method also includes:
Described first pinup picture is faded away according to transparency animation, described second pinup picture is gradually shown according to transparency animation Show.
10. the method according to any one of claim 7~9, it is characterised in that described carry out before page turning shows, the party Method also includes:
Draw in described page turning shows in the described page turning window adding according to described first pinup picture and described second pinup picture Hold;
The content that described page turning shows includes:
When needing the application of switching to be preceding application, using described second pinup picture as page turning display effect figure, with described first Pinup picture, as the figure progressively being covered by described second pinup picture, carries out page turning to described page turning display effect figure and shows;
When needing the application of switching to be posterior application, using described first pinup picture as page turning display effect figure, with described second The figure that pinup picture progressively shows during showing as described first pinup picture page turning, carries out page turning and shows to described page turning display effect figure Show.
11. methods according to claim 10, it is characterised in that described described page turning display effect figure is carried out page turning show Show and include:
If page turning display effect figure is described second pinup picture, then described second pinup picture progressively covers described first pinup picture, with institute State the part not covering described first pinup picture in the second pinup picture as turnup region, carry out page turning and show;
If described page turning display effect figure is the first pinup picture, the turnup region being incrementally increased by described first pinup picture is turned over Page display, when the increase in the turnup region of described first pinup picture, progressively shows described second pinup picture;
Described turnup region is: after determining the page flanging of described page turning display effect figure, with page turning point and described page flanging The region constituting is as described turnup region;
Determine intersection point, the initial position of described page turning point and the length of described intersection point of described page flanging and the boost line preset During more than preset length, complete described page turning and show;
Described page flanging is: after the initial position of page turning point and the current location of page turning point constitute line segment, in page turning display effect Figure really becomes the line segment of vertical relation with the described line segment constituting;
Described page turning point includes: the display that default each interactive areas, described edge and the glide direction in interactive areas, edge correspond to Four summits of window, produce the described application interactive areas, edge of switching signal and glide direction determines display window according to detecting The summit of mouth, using the described summit of determination as page turning point;Or, divide according to default every one second desired guiding trajectory of predeterminable area Not corresponding corresponding page turning point, according to the second desired guiding trajectory of described application switching signal, determines described page turning point;
Described boost line includes: with the initial position of page turning point as starting point, by starting point display window according to default direction and The line segment that length extends.
12. methods according to any one of claim 7~9, it is characterised in that the content bag that described drafting page turning shows Include:
Carried out calculating and the drafting of the content that described page turning shows by triangle surface method.
CN201610380264.3A 2016-05-31 2016-05-31 A kind of method and device realizing application switching CN106095257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610380264.3A CN106095257A (en) 2016-05-31 2016-05-31 A kind of method and device realizing application switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610380264.3A CN106095257A (en) 2016-05-31 2016-05-31 A kind of method and device realizing application switching

Publications (1)

Publication Number Publication Date
CN106095257A true CN106095257A (en) 2016-11-09

Family

ID=57230863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610380264.3A CN106095257A (en) 2016-05-31 2016-05-31 A kind of method and device realizing application switching

Country Status (1)

Country Link
CN (1) CN106095257A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655766A (en) * 2008-08-22 2010-02-24 鸿富锦精密工业(深圳)有限公司 Electronic device capable of realizing effect of page turning of electronic document and method thereof
CN101923435A (en) * 2010-08-24 2010-12-22 福州瑞芯微电子有限公司 Method for simulating real page turning effect for electronic book
US20130081133A1 (en) * 2011-09-23 2013-03-28 Barnesandnoble.Com Llc System and method for unlocking an electronic device
CN104731507A (en) * 2015-03-31 2015-06-24 努比亚技术有限公司 Application switching method of mobile terminal and mobile terminal
CN104750417A (en) * 2015-03-30 2015-07-01 努比亚技术有限公司 Frameless terminal application switching method and frameless terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655766A (en) * 2008-08-22 2010-02-24 鸿富锦精密工业(深圳)有限公司 Electronic device capable of realizing effect of page turning of electronic document and method thereof
CN101923435A (en) * 2010-08-24 2010-12-22 福州瑞芯微电子有限公司 Method for simulating real page turning effect for electronic book
US20130081133A1 (en) * 2011-09-23 2013-03-28 Barnesandnoble.Com Llc System and method for unlocking an electronic device
CN104750417A (en) * 2015-03-30 2015-07-01 努比亚技术有限公司 Frameless terminal application switching method and frameless terminal
CN104731507A (en) * 2015-03-31 2015-06-24 努比亚技术有限公司 Application switching method of mobile terminal and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JIANCHIBUXIE5: "在Android手机上实现阅读器的翻页效果", 《LINUX公社HTTPS://WWW.LINUXIDC.COM/LINUX/2011-09/43439.HTM》 *

Similar Documents

Publication Publication Date Title
US10740058B2 (en) Smartpad window management
US10222894B1 (en) System, method, and computer program product for a multi-pressure selection touch screen
US10175871B2 (en) Device, method, and graphical user interface for adjusting the appearance of a control
US20160378331A1 (en) Copy and Staple Gestures
US20160342326A1 (en) Brush, Carbon-Copy, and Fill Gestures
AU2017272222B2 (en) Device, method, and graphical user interface for moving user interface objects
US10379618B2 (en) Systems and methods for using textures in graphical user interface widgets
KR101769397B1 (en) User termincal device for displaying contents and methods thereof
AU2019200030B2 (en) Devices and methods for manipulating user interfaces with a stylus
US20200073443A1 (en) Flexible display apparatus and operating method thereof
JP6591939B2 (en) Incremental page transition on electronic paper screen
EP3091426B1 (en) User terminal device providing user interaction and method therefor
CN106227344B (en) Electronic device and control method thereof
US9952745B2 (en) Method of modifying rendered attributes of list elements in a user interface
CN104205098B (en) It navigates using between the content item of array pattern in a browser
CN103729159B (en) Multi-display apparatus and method of controlling display operation
CN103729157B (en) Multi-display equipment and its control method
US10470538B2 (en) Portable terminal and display method thereof
CN104011639B (en) Method, equipment and graphic user interface for providing visual effect on touch-screen display
US9865224B2 (en) Transparent display apparatus and display method thereof
US10353661B2 (en) Method for sharing screen between devices and device using the same
TWI653545B (en) Now a method for handwriting recognition, the system, and non-transitory computer-readable medium
US9996212B2 (en) User terminal apparatus and controlling method thereof
US20190243517A1 (en) User terminal device with pen and controlling method thereof
US20170285906A1 (en) Multi display apparatus and multi display method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161109