Summary of the invention
For solving above-mentioned technical problem, the embodiment of the present invention provides method of adjustment and the electronic equipment of a kind of screen touch point position of picture-in-picture interface, and to realize improving the purpose of the success rate of contact action under picture-in-picture interface, technical scheme is as follows:
A kind of method of adjustment of screen touch point position of picture-in-picture interface, it is applied in an electronic equipment, described electronic equipment includes a touch screen, include under described touch screen picture-in-picture interface: the first display interface and the second display interface, wherein, described second display interface is window display pattern and has touch-screen input function, and described method includes:
Obtain in described second display interface the current display position of the first icon corresponding to the first instruction;
The current display position of the first icon corresponding to described first instruction, adjusts the touch points position corresponding to the first instruction, makes position, described touch point consistent with the current display position of the first icon corresponding to described first instruction.
Preferably, it is thus achieved that the current display position of the first icon corresponding to the first instruction in described second display interface, including:
Obtain the coordinate at least two summit in described second display interface;
The relative position of coordinate according to described summit and described first icon and described second display interface, it is thus achieved that the current display position of described first icon.
Preferably, the current display position of described first icon is in multiple display position set in advance.
Preferably, it is characterised in that described first display interface is television interfaces, described second display interface is computer interface.
Preferably, described first display interface is full-screen display mode.
Present invention also offers a kind of electronic equipment, including a touch screen, include under described touch screen picture-in-picture interface: the first display interface and the second display interface, wherein, described second display interface is window display pattern and has touch-screen input function, and described electronic equipment also includes:
Display position obtains module, for obtaining in described second display interface the current display position of the first icon corresponding to the first instruction;
Touch points position adjusting type modules, for the current display position of the first icon corresponding to described first instruction, adjusts the touch points position corresponding to the first instruction so that it is consistent with the current display position of the first icon corresponding to described first instruction.
Preferably, described display position obtains module, including:
Vertex position obtains submodule, for obtaining the coordinate at least two summit in described second display interface;
Picture mark position obtains submodule, for the relative position of the coordinate according to described summit and described first icon and described second display interface, it is thus achieved that the current display position of described first icon.
Preferably, the current display position of the first icon is in multiple display position set in advance.
Preferably, described first display interface is television interfaces, and described second display interface is computer interface.
Preferably, described first display interface is full-screen display mode.
By applying above technical scheme, the method of adjustment of a kind of screen touch point position of picture-in-picture interface that the embodiment of the present invention provides and electronic equipment, can in obtaining the display interface with touch-screen input function behind the display position of icon, automatically the touch points position corresponding to this icon is adjusted, with the display position consistency with this icon.Therefore, the present invention can be consistent by touch points position adjustment corresponding to the display position of icon corresponding for certain instruction and this instruction, user has only to click the display position of this icon just can start the instruction corresponding to this icon, improve the success rate of contact action under picture-in-picture interface, the use sense also improving user is subject to.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the technical scheme in the present invention, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, all should belong to the scope of protection of the invention.
First the application scenarios of the present invention is illustrated: as shown in Figure 1, certain electronic equipment includes a touch screen 100, including under described touch screen 100 picture-in-picture interface: the first display interface 110 and the second display interface 120, wherein, described second display interface 120 shows pattern for window.
The method of adjustment of a kind of screen touch point position of picture-in-picture interface that the embodiment of the present invention provides, it is applied in an electronic equipment, described electronic equipment includes a touch screen, include under described touch screen picture-in-picture interface: the first display interface and the second display interface, wherein, described second display interface is window display pattern and has touch-screen input function, as in figure 2 it is shown, described method includes:
S101, obtain in described second display interface the current display position of the first icon corresponding to the first instruction;
Picture-in-picture is to utilize digital technology, shows multiple picture on the screen at the same, namely on the key frame of normal viewing, is inserted simultaneously into one or more sprite through overcompression.
It is easily understood that the first display interface can be full-screen display mode.So, the second display interface of window display pattern will take a part for the first display interface of full-screen display mode.Certainly, in order to complete sees the first display interface and the second display interface, it is possible to the first display interface to be also provided with window display pattern.So, after the size and location suitably adjusting the first display interface and the second display interface, they will not block mutually.Certainly, when display interface more than two in screen, it would however also be possible to employ identical method is adjusted, and is not repeated.
Wherein, described first display interface can be television interfaces, and described second display interface can be computer interface.Generally, the touch-screen input function of touch screen only can in corresponding multiple display interfaces one because when the corresponding multiple display interface of a touch screen, will result in electronic equipment after clicking certain icon and perform the instruction of multiple different display interfaces.And generally, the click of certain icon is only needed electronic equipment to perform the instruction corresponding to this icon by user.When touch screen includes television interfaces and computer interface under picture-in-picture interface, it is preferred that touch-screen input function only gives computer interface, because computer belongs to bi-directional device.Certainly, only give television interfaces by touch-screen input function it is also possible that, along with the development of intelligent television, occurred can the TV programme of program request, therefore such television interfaces can also make it have touch-screen input function.It addition, when multiple display interface non-overlapping copies in touch screen time, it is also possible to touch-screen input function is given simultaneously the arbitrarily interface in multiple display interface.
It should be noted is that, for having the display interface of touch-screen input function, by corresponding multiple instructions in this display interface, as when this display interface be computer interface and during for screen mode toggle, the lower left corner of touch screen is by the instruction of corresponding one " startup start menu ".When the user point touching screen lower left corner, " startup start menu " this instruction just starts to perform.When change occurs in content shown in display interface, the multiple instructions corresponding to this display interface can also be changed according to shown content.
It is easily understood that in order to allow display interface more hommization and intellectuality, present display interface can include multiple icon, and each icon has implication corresponding thereto and function.For example: icon " my computer " is exactly the icon that people know very much, in time clicking this icon, computer carries out the instruction of " opening my computer ".Therefore, the icon in display interface is all corresponding with instruction, concrete, and icon can a corresponding instruction, it is also possible to corresponding multiple instructions.In order to facilitate user to identify, the icon in display interface generally all occupies a certain size region in display interface, and therefore, each icon has its current display position.Wherein, well known to those skilled in the art, the method for expressing of icon current display position can have multiple, as adopt coordinate display position expression (as: point (x, y);1 < x < 2 and 1 < y < 2) etc..
Wherein, the specific implementation process of step S101 may include that
Obtain the coordinate at least two summit in described second display interface;
The relative position of coordinate according to described summit and described first icon and described second display interface, it is thus achieved that the current display position of described first icon.
Owing to the second display interface is window scheme, it is thus desirable to first obtain the display position of the second display interface, it is understandable that, second display interface is rectangular window, therefore has only to obtain the coordinate being in same cornerwise two summits in four summits of this rectangle and is obtained with the display position of the second display interface.It is understood that when the size of display interface changes, the icon in display interface is also followed display interface and is changed, and the ratio of change is identical.That is, icon and display interface in display interface have a fixing relative position, as: as shown in Figure 3, certain icon 001 occupies the region of the second display interface 1% in the second display interface 120, it for the relative position of the second display interface is: 10% to the 20% of width range, 10% to the 20% of length range.In this manner it is possible to displaing coordinate and the first icon according to the second display interface obtain the current display position of the first icon relative to the relative position of the second display interface.
Owing to needing to display according to position to display when the first icon displays, therefore in other embodiments of the present invention, it is also possible to directly obtain the display position of the first icon.
S102, the first icon corresponding to described first instruction current display position, adjust the touch points position corresponding to the first instruction, make position, described touch point consistent with the current display position of the first icon corresponding to described first instruction.
Wherein, touch screen is made up of touch sensing layer and display layer, and display layer carries out the display of image, namely general screen, and touch sensing layer is arranged on outside display layer, for detecting the touch position of user.Therefore, the current display position of the first icon is for display layer, and touch points position is for touch sensing layer.Certainly, owing to touch sensing layer and display layer size, shape are the same, therefore touch points position and icon are shown position, it is also possible to only for touch screen, and do not carry out the differentiation of touch sensing layer and display layer.
Wherein, adjusting the touch points position corresponding to the first instruction, the concrete scheme making position, described touch point consistent with the current display position of the first icon corresponding to described first instruction can be:
The coordinates regional of touch points position corresponding for described first instruction is updated to the coordinates regional of the current display position of the first icon corresponding to the first instruction.
So, user has only to the first icon on point touching screen, and electronic equipment just can perform the first instruction corresponding to the first icon, the click location of user and the display position consistency of icon.Certainly, the coordinates regional at the place, touch points position corresponding to the first instruction can also more than the coordinates regional of the current display position of the first icon corresponding to the first instruction.Owing to a lot of icons are irregular shape or the shape not easily represented, the coordinates regional at place, touch points position is so brought to express also troublesome.Therefore, the coordinates regional at place, position, touch point is suitably expanded, it is also possible to simplify whole touching detection process.Such as: for the icon of a five-pointed star, user is likely difficult to the region clicked accurately within five-pointed star, therefore the coordinates regional at place, touch points position corresponding for this five-pointed star is expanded, such as, after expanding as the coordinates regional at circumscribed circle place of this five-pointed star, user just can more click easily.In actual applications, for the simple type of area coordinate expression, it is possible to rectangular area is all expanded as in the touch points region corresponding to the icon not easily expressed.
The method of adjustment of a kind of screen touch point position of picture-in-picture interface that the embodiment of the present invention provides, can in obtaining the display interface with touch-screen input function behind the display position of icon, automatically the touch points position corresponding to this icon is adjusted, with the display position consistency with this icon.Therefore, the present invention can be consistent by touch points position adjustment corresponding to the display position of icon corresponding for certain instruction and this instruction, user has only to click the display position of this icon just can start the instruction corresponding to this icon, improve the success rate of contact action under picture-in-picture interface, the use sense also improving user is subject to.
The method of adjustment of a kind of screen touch point position of picture-in-picture interface that above example provides, it is possible to the real-time change according to the second display interface adjusts the position of the touch points corresponding to the second display interface.Certainly, in actual applications, it is possible to the size and location of the second display interface need not be carried out random adjustment by user, so, we just can specify that the size and location of multiple second display interface, carries out selecting for user.So, the display position of the icon in the second display interface also just includes multiple display position set in advance equally, it may be assumed that the current display position of described first icon can be in multiple display position set in advance.
Corresponding to above method embodiment, the present invention also provides for a kind of electronic equipment.
A kind of electronic equipment, including a touch screen, includes under described touch screen picture-in-picture interface: the first display interface and the second display interface, wherein, described second display interface is window display pattern and has touch-screen input function, and as shown in Figure 4, described electronic equipment also includes:
Display position obtains module 200, for obtaining in described second display interface the current display position of the first icon corresponding to the first instruction;
It is easily understood that the first display interface can be full-screen display mode.So, the second display interface of window display pattern will take a part for the first display interface of full-screen display mode.Certainly, in order to complete sees the first display interface and the second display interface, it is possible to the first display interface to be also provided with window display pattern.So, after the size and location suitably adjusting the first display interface and the second display interface, they will not block mutually.Certainly, when display interface more than two in screen, it would however also be possible to employ identical method is adjusted, and is not repeated.
Wherein, described first display interface can be television interfaces, and described second display interface can be computer interface.Generally, the touch-screen input function of touch screen only can in corresponding multiple display interfaces one because when the corresponding multiple display interface of a touch screen, will result in electronic equipment after clicking certain icon and perform the instruction of multiple different display interfaces.And generally, the click of certain icon is only needed electronic equipment to perform the instruction corresponding to this icon by user.When touch screen includes television interfaces and computer interface under picture-in-picture interface, it is preferred that touch-screen input function only gives computer interface, because computer belongs to bi-directional device.Certainly, only give television interfaces by touch-screen input function it is also possible that, along with the development of intelligent television, occurred can the TV programme of program request, therefore such television interfaces can also make it have touch-screen input function.It addition, when multiple display interface non-overlapping copies in touch screen time, it is also possible to touch-screen input function is given simultaneously the arbitrarily interface in multiple display interface.
It should be noted is that, for having the display interface of touch-screen input function, by corresponding multiple instructions in this display interface, as when this display interface be computer interface and during for screen mode toggle, the lower left corner of touch screen is by the instruction of corresponding one " startup start menu ".When the user point touching screen lower left corner, " startup start menu " this instruction just starts to perform.When change occurs in content shown in display interface, the multiple instructions corresponding to this display interface can also be changed according to shown content.
Touch points position adjusting type modules 300, for the current display position of the first icon corresponding to described first instruction, adjusts the touch points position corresponding to the first instruction so that it is consistent with the current display position of the first icon corresponding to described first instruction.
Wherein, touch screen is made up of touch sensing layer and display layer, and display layer carries out the display of image, namely general screen, and touch sensing layer is arranged on outside display layer, for detecting the touch position of user.Therefore, the current display position of the first icon is for display layer, and touch points position is for touch sensing layer.Certainly, owing to touch sensing layer and display layer size, shape are the same, therefore touch points position and icon are shown position, it is also possible to only for touch screen, and do not carry out the differentiation of touch sensing layer and display layer.
Wherein, adjusting the touch points position corresponding to the first instruction, the concrete scheme making position, described touch point consistent with the current display position of the first icon corresponding to described first instruction can be:
The coordinates regional of touch points position corresponding for described first instruction is updated to the coordinates regional of the current display position of the first icon corresponding to the first instruction.
So, user has only to the first icon on point touching screen, and electronic equipment just can perform the first instruction corresponding to the first icon, the click location of user and the display position consistency of icon.Certainly, the coordinates regional at the place, touch points position corresponding to the first instruction can also more than the coordinates regional of the current display position of the first icon corresponding to the first instruction.Owing to a lot of icons are irregular shape or the shape not easily represented, the coordinates regional at place, touch points position is so brought to express also troublesome.Therefore, the coordinates regional at place, position, touch point is suitably expanded, it is also possible to simplify whole touching detection process.Such as: for the icon of a five-pointed star, user is likely difficult to the region clicked accurately within five-pointed star, therefore the coordinates regional at place, touch points position corresponding for this five-pointed star is expanded, such as, after expanding as the coordinates regional at circumscribed circle place of this five-pointed star, user just can more click easily.In actual applications, for the simple type of area coordinate expression, it is possible to rectangular area is all expanded as in the touch points region corresponding to the icon not easily expressed.
A kind of electronic equipment that the embodiment of the present invention provides, it is possible in obtaining the display interface with touch-screen input function behind the display position of icon, automatically adjust the touch points position corresponding to this icon, with the display position consistency with this icon.Therefore, the present invention can be consistent by touch points position adjustment corresponding to the display position of icon corresponding for certain instruction and this instruction, user has only to click the display position of this icon just can start the instruction corresponding to this icon, improve the success rate of contact action under picture-in-picture interface, the use sense also improving user is subject to.
A kind of electronic equipment that above example provides, it is possible to the real-time change according to the second display interface adjusts the position of the touch points corresponding to the second display interface.Certainly, in actual applications, it is possible to the size and location of the second display interface need not be carried out random adjustment by user, so, we just can specify that the size and location of multiple second display interface, carries out selecting for user.So, the display position of the icon in the second display interface also just includes multiple display position set in advance equally, it may be assumed that the current display position of described first icon can be in multiple display position set in advance.
As it is shown in figure 5, display position obtains module 200, it is possible to including:
Vertex position obtains submodule 210, for obtaining the coordinate at least two summit in described second display interface;
Picture mark position obtains submodule 220, for the relative position of the coordinate according to described summit and described first icon and described second display interface, it is thus achieved that the current display position of described first icon.
Owing to the second display interface is window scheme, it is thus desirable to first obtain the display position of the second display interface, it is understandable that, second display interface is rectangular window, therefore has only to obtain the coordinate being in same cornerwise two summits in four summits of this rectangle and is obtained with the display position of the second display interface.It is understood that when the size of display interface changes, the icon in display interface is also followed display interface and is changed, and the ratio of change is identical.It is to say, icon and display interface in display interface have a fixing relative position.In this manner it is possible to displaing coordinate and the first icon according to the second display interface obtain the current display position of the first icon relative to the relative position of the second display interface.
Owing to needing to display according to position to display when the first icon displays, therefore in other embodiments of the present invention, it is also possible to directly obtain the display position of the first icon.
For convenience of description, it is divided into various unit to be respectively described with function when describing apparatus above.Certainly, the function of each unit can be realized in same or multiple softwares and/or hardware when implementing the present invention.
As seen through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to the present invention and realize.Based on such understanding, the part that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
Each embodiment in this specification all adopts the mode gone forward one by one to describe, between each embodiment identical similar part mutually referring to, what each embodiment stressed is the difference with other embodiments.Especially for device embodiment, owing to it is substantially similar to embodiment of the method, so describing fairly simple, relevant part illustrates referring to the part of embodiment of the method.Device embodiment described above is merely schematic, the wherein said unit illustrated as separating component can be or may not be physically separate, the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of module therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The present invention can described in the general context of computer executable instructions, for instance program module.Usually, program module includes performing particular task or realizing the routine of particular abstract data type, program, object, assembly, data structure etc..The present invention can also be put into practice in a distributed computing environment, in these distributed computing environment, the remote processing devices connected by communication network perform task.In a distributed computing environment, program module may be located in the local and remote computer-readable storage medium including storage device.
It should be noted that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.
The above is only the specific embodiment of the present invention; it should be pointed out that, for those skilled in the art, under the premise without departing from the principles of the invention; can also making some improvements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention.