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 embodiment party of the present inventionFormula is described in further detail.
Fig. 1 is the flow chart of a kind of method for displaying image that the embodiment of the present invention provides, and the method can apply to multi-screenIn terminal, this multi-screen terminal includes the first display screen and second display screen, as it is shown in figure 1, the method may include that
Step 101, first show screen display pre-set image.
Step 102, receive in this pre-set image target subimage pass through instruction.
Step 103, pass through instruction according to this, this second display screen shows this target subimage.
In sum, a kind of method for displaying image is embodiments provided, when the first display screen of this multi-screen terminalUpper display pre-set image, and this multi-screen terminal receives for when passing through instruction of target subimage in this pre-set image, permissibleShowing this target subimage on this second display screen, therefore this multi-screen terminal can pass through instruction according to this, adjusts two and showsImage shown in display screen, improves motility during this multi-screen terminal demonstration image.
Fig. 2-1 is the flow chart of the another kind of method for displaying image that the embodiment of the present invention provides, and the method can apply toIn multi-screen terminal, this multi-screen terminal includes the first display screen and second display screen, and as shown in Fig. 2-1, the method may include that
Step 201, first show screen display pre-set image.
In embodiments of the present invention, the pre-set image of this first display screen display can be the desk-top picture of this multi-screen terminalPicture, or can also be the surface chart of certain application program, the scene of game image of such as game application.Such as Fig. 2-2 instituteShow, it is assumed that this multi-screen terminal is double screen terminal, and this double screen terminal is currently running game application: labyrinth, this double screen terminalThe first display screen 210 on the pre-set image of display can be then the scene of game image of this maze game.
Step 202, receive in this pre-set image target subimage pass through instruction.
In embodiments of the present invention, passing through instruction and can be generated by two ways received by multi-screen terminal.One sideFace, with reference to Fig. 2-3, the generation of this multi-screen terminal is passed through the method flow of instruction and be may include that
Each subimage displaing coordinate on the first display screen in step 2021, acquisition pre-set image.
In embodiments of the present invention, this pre-set image can be divided into multiple according to default partitioning algorithm by multi-screen terminalSubimage, for example, it is possible to divide according to the pixel in this pre-set image, then each pixel in this pre-set image can beOne subimage;Or, can divide according to control element included in this pre-set image, such as, when this presets figureDuring the desktop picture that picture is multi-screen terminal, the wallpaper pattern in this desktop picture can be a subimage, on this wallpaper patternThe icon of shown each application program can be a subimage;When display circle that this pre-set image is certain application programDuring the figure of face, in this display interface, shown each button and each game object can be all a subimage.
In embodiments of the present invention, after this multi-screen terminal determines each subimage in pre-set image, it is also possible to examine in real timeSurveying and obtain the displaing coordinate of each subimage, this displaing coordinate can be the set of the coordinate on each each summit of subimage,Or, it is also possible to for the coordinate of each subimage central point.Example, in the interface shown in Fig. 2-2, can in this pre-set imageTo include multiple subimages such as button 10, labyrinth retaining wall 11, game object 12 and passage 13, this multi-screen terminal can obtain respectivelyThe displaing coordinate of the central point of each subimage in the plurality of subimage.
Step 2022, displaing coordinate is positioned at the default subimage passing through region it is defined as target subimage.
In embodiments of the present invention, can be preset with and pass through region in this first display screen, this multi-screen terminal gets oftenAfter the displaing coordinate of individual subimage, can judge respectively the displaing coordinate of each subimage whether be positioned at this preset pass through regionIn, and this displaing coordinate can be will be located in be positioned at the default subimage passing through region and be defined as target subimage.
Example, it is assumed that as shown in Fig. 2-2, the region of passing through preset in this pre-set image is passage 13 in this interfaceRegion, then when user is by the button of multi-screen terminal this game object 12 mobile on this first display screen, this multi-screenThe displaing coordinate of this game object 12 can be detected by terminal in real time, when this multi-screen terminal judges goes out this game object 12When displaing coordinate is located therein arbitrary passage region, this game object 12 can be defined as target subimage.
Step 2023, generate and pass through instruction for this target subimage.
This passes through instruction and shows this target subimage on a second display for instruction.Example, when this multi-screen terminalAfter game object 12 is defined as target subimage, can generate and pass through instruction for this game object 12, this passes through instructionThis game object 12 is shown on a second display for instruction.
On the other hand, instruction is passed through received by this multi-screen terminal, it is also possible to be by button operation, touch operation, cunningAny one operation triggering in dynamic operation and voice operating generates.Example, it is assumed that this passes through instruction is to be touched by double click operationBecome, then in the interface shown in Fig. 2-2, the display at game object 12 place in user double-clicks the first display screen 210During region, this multi-screen terminal can generate passes through instruction for this game object 12.Or, when this pre-set image is desk-top pictureDuring picture, when user double-clicks the icon of certain application program on the first display screen, this multi-screen terminal can generate for this applicationThe icon of program pass through instruction, this passes through to instruct and shows the icon of this application program on a second display for instruction.
Step 203, pass through instruction according to this, obtain the first display on this first display screen of this target subimage and sitMark.
In embodiments of the present invention, this first display screen and this second display screen can lay respectively at described multi-screen terminalTow sides, then after this multi-screen terminal determines target subimage, in order to correspondence position on a second display showsThis target subimage, this multi-screen terminal can also obtain this target subimage the first displaing coordinate on this first display screen.For example, it is possible to obtain this game object 12 first displaing coordinate { X1, Y1} on this first display screen 210.
This target subimage, this first displaing coordinate is shown in step 204, the second displaing coordinate on a second displayCan orthographic projection on this second displaing coordinate.
When showing this target subimage in multi-screen terminal the second displaing coordinate on a second display, can this secondSuspending display in the second displaing coordinate on background image (such as desktop picture or interface image) on display screen shouldTarget subimage, or, it is also possible to replace, with this target subimage, the subgraph that this background image is in this second displaing coordinatePicture.Due to this target subimage the first displaing coordinate on the first display screen can orthographic projection on this second displaing coordinate,Therefore can ensure that this target subimage display orientation on a second display and its display orientation on the first display screenCentered by the first plane, face is symmetrical, and wherein this first plane is the middle section of this multi-screen terminal, and this first plane is put downRow is in the first display screen and second display screen.
Example, it is assumed that in the scene of game shown by the first display screen 210, move when user controls game object 12During to passage 13 region, the most as in Figure 2-4, this multi-screen terminal can pass through instruction according to receive, shows secondSecond displaing coordinate of display screen 220 { shows this game object 12, and this game object 12 is at the first display screen 210 in X2, Y2}In the first displaing coordinate X1, Y1} can orthographic projection to this second displaing coordinate, { on X2, Y2}, that is to say, this game is rightWhen showing on a second display as 12, this game object 12 orthographic projection on the first display screen can be with this game object 12Viewing area on the first display screen is overlapping.
It should be noted that in actual applications, this target subimage display orientation on a second display can alsoNot symmetrical with its display orientation on the first display screen, example, as shown in Figure 2-5, it is assumed that this multi-screen terminal includes firstDisplay screen 210 and second display screen 220, wherein on the first display screen 210, the scene of game of display includes two passage 131 Hes132, and the viewing area of these two passages is and default passes through region, this scene of game shown by second display screen 220In also include two passages 141 and 142, the viewing area of these two passages also for preset pass through region, and wherein passage 141Symmetrical with the display orientation of passage 131 face centered by the first plane, the display orientation of passage 132 and passage 142 is with theCentered by one plane, face is symmetrical.On the first display screen 210, passage 131 place is moved to when user controls game object 12Region after, this multi-screen terminal can generate the instruction of passing through for this game object 12, and can be at second display screen 220The region at upper channel 142 place shows this game object 12.
Step 205, cancel the display on this first display screen of this target subimage.
After multi-screen terminal shows this target subimage on a second display, this multi-screen terminal can also cancel this targetImage display on this first display screen.Thus realize this target subimage from the first display screen " wearing to second display screenMore ".Example, multi-screen terminal can cancel the game object 12 display on this first display screen 210, in order to user can turn overTurn terminal, and control this game object 12 and continue to move in the scene of game shown by second display screen 220, and as Fig. 2-Shown in 4 and Fig. 2-5, scene of game shown on this second display screen 220 can be with the trip shown by this first display screen 210Play scene is different, to increase the interest of this maze game.Additionally, as shown in Figure 2-5, can also be in advance on this second display screenIt is provided with and passes through region, pass through region when what arbitrary subimage displaing coordinate on this second display screen was positioned at that this pre-setsTime interior, this multi-screen terminal can also generate passes through instruction, and again at this first display this target subimage of screen display.ThusRealize the adjustment to image shown on each display screen in this multi-screen terminal, improve the flexible of multi-screen terminal demonstration imageProperty.
It should be noted that the method for displaying image that the present invention provides preferably can apply in game application,Such as maze game, push box game or Snake game, multiple display screens of this multi-screen terminal all can show gameScene image, and the scene of game image of each display screen display can be different, this multi-screen terminal can be according to receivingPass through instruction, make the mobile object (i.e. target subimage) in scene of game show in different display screens.
Such as, at maze game or push box in game, game object shown on the first display screen can be in advanceIf pass through and " pass through " at region on second display screen, to walk around some barrier shown on the first display screen, roundaboutAdvancing to walk out labyrinth or chest passage in ground, this game object mobile route from starting point to destination can be to wriggle to shuttle back and forthBetween two display screens, therefore user is during passing through labyrinth or pushing box, and needs often to overturn terminal, and of short durationRemember the local map of another display screen, enhance interest and the sense of urgency of game application.
Or, in Snake is played, interface shown on each display screen can include multiple pass through logicalRoad (i.e. passes through region), and food shows in multiple display screens on any one display screen the most randomly, and user can control to covetEat Serpentis (i.e. game object) drill-through passage lanes and arrive another display screen to swallow display food on this display screen, when gluttonousWhen the health of Serpentis is long, then the health of this Snake can show on each display screen with segmentation, when Snake body lengthWhen reaching the limit of, this passage lanes preset almost is occupied full, and user needs to control Snake and detours sufficiently long pathA passage lanes can be vacateed so that Snake bores back in the first display screen head again, therefore substantially increase answering of gamePolygamy and interest.
It should be noted that in actual applications, when each subimage (such as game object) moves on a display screen, itsMobile logic follows the plane motion game logic of respective place display screen, and this is not repeated by the embodiment of the present invention.
Also, it should be noted the sequencing of the step of the method for displaying image of embodiment of the present invention offer can be carried outSuitably adjusting, step can also increase and decrease the most accordingly.Example, step 205 can according to circumstances be deleted, or stepRapid 205 can also perform before the step 204, or execution Tong Bu with step 204.Any technology people being familiar with the artMember in the technical scope that the invention discloses, the method that change can be readily occurred in, all should contain protection scope of the present invention itIn, therefore repeat no more.
In sum, a kind of method for displaying image is embodiments provided, when the first display screen of this multi-screen terminalUpper display pre-set image, and this multi-screen terminal receives for when passing through instruction of target subimage in this pre-set image, permissibleShowing this target subimage on this second display screen, therefore this multi-screen terminal can pass through instruction according to this, adjusts two and showsImage shown in display screen, improves motility during this multi-screen terminal demonstration image.
Fig. 3-1 is the structural representation of a kind of image display device that the embodiment of the present invention provides, and this device can be appliedIn multi-screen terminal, this multi-screen terminal includes the first display screen and second display screen, and with reference to Fig. 3-1, this device may include that
First display unit 301, at this first display screen display pre-set image.
Receive unit 302, for receive in this pre-set image target subimage pass through instruction.
Second display unit 303, for passing through instruction according to this, shows this target subimage on this second display screen.
In sum, a kind of image display device is embodiments provided, when the first display screen of this multi-screen terminalUpper display pre-set image, and this multi-screen terminal receives for when passing through instruction of target subimage in this pre-set image, permissibleShowing this target subimage on this second display screen, therefore this multi-screen terminal can pass through instruction according to this, adjusts two and showsImage shown in display screen, improves motility during this multi-screen terminal demonstration image.
Fig. 3-2 is the structural representation of the another kind of image display device that the embodiment of the present invention provides, and this device can be answeredIn multi-screen terminal, this multi-screen terminal includes the first display screen and second display screen, and with reference to Fig. 3-2, this device may include that
First display unit 301, at this first display screen display pre-set image.
Receive unit 302, for receive in this pre-set image target subimage pass through instruction.
Second display unit 303, for passing through instruction according to this, shows this target subimage on this second display screen.
Cancel display unit 304, for cancelling the display on this first display screen of this target subimage.
Optionally, this reception unit 302, it is additionally operable to:
Obtain each subimage displaing coordinate on this first display screen in this pre-set image;
Displaing coordinate is positioned at the default subimage passing through region and is defined as target subimage;
Generate and pass through instruction for this target subimage.
Optionally, this reception unit 302, it is additionally operable to: receive and grasped by button operation, touch operation, slide and voiceWhat any one the operation triggering in work generated passes through instruction.
Optionally, this first display screen and this second display screen lay respectively at the tow sides of this multi-screen terminal, and this is second years oldDisplay unit 303, is additionally operable to: obtain this target subimage the first displaing coordinate on this first display screen;
Showing this target subimage in the second displaing coordinate on this second display screen, this first displaing coordinate can be justProject on this second displaing coordinate.
In sum, a kind of image display device is embodiments provided, when the first display screen of this multi-screen terminalUpper display pre-set image, and this multi-screen terminal receives for when passing through instruction of target subimage in this pre-set image, permissibleShowing this target subimage on this second display screen, therefore this multi-screen terminal can pass through instruction according to this, adjusts two and showsImage shown in display screen, improves motility during this multi-screen terminal demonstration image.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and the device of foregoing descriptionWith the specific works process of unit, it is referred to the corresponding process in preceding method embodiment, does not repeats them here.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention andWithin principle, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.