Summary of the invention
The object of the embodiment of the present invention is to provide a kind of content of pages choosing method and system, to realize the fast selecting of content of pages.
For achieving the above object, the embodiment of the invention discloses a kind of content of pages choosing method, be applied in touch panel device, described method comprises:
Receive user first touches instruction, and touch according to described first starting position and the end position that selected content of pages is determined in instruction, wherein, described end position is presented at the first screen position on screen area;
Receive user to the length of described end position by instruction, using described end position as end position to be adjusted;
During described length presses order persistence, receive user second touches instruction, touches instruction switch the content of pages shown in described screen area according to described second;
Described end position is updated to the content of pages position described in the content of pages after switching corresponding to the first screen position;
Selected content of pages is determined according to current start position and current end position.
Preferably, touch instruction receive user first, after touching the instruction starting position of determining selected content of pages and end position according to described first, described method also comprises:
Receive user and drag instruction to first of described starting position, drag instruction according to described first and upgrade starting position.
Preferably, after determining selected content of pages according to current start position and current end position, described method also comprises:
Receive user and drag instruction to second of current end position, drag instruction according to described second and upgrade current end position;
Selected content of pages is determined according to current start position and current end position.
Preferably, touch instruction receive user first, after touching the instruction starting position of determining selected content of pages and end position according to described first, described method also comprises:
In described starting position, place arranges the first mark, arranges the second mark at described end position place.
Preferably, described first is designated the mark of falling water-drop-shaped, and described second is designated water-drop-shaped mark.
Preferably, described second touch instruction is slip instruction.
A kind of content of pages selecting system, be applied in touch panel device, described system comprises: position determination module, module to be adjusted, page layout switch module, end position update module and selected content determination module,
Described position determination module, for receiving user first touches instruction, and touch according to described first starting position and the end position that selected content of pages is determined in instruction, wherein, described end position is presented at the first screen position on screen area;
Described module to be adjusted, for receiving the length of user to described end position by instruction, using described end position as end position to be adjusted;
Described page layout switch module, during pressing order persistence in described length, receive user second touches instruction, touches instruction switch the content of pages shown in described screen area according to described second;
Described end position update module, for being updated to the content of pages position described in the content of pages after switching corresponding to the first screen position by described end position;
Described selected content determination module, for determining selected content of pages according to current start position and current end position.
Preferably, described system also comprises: starting position update module, instruction is touched for receiving user's first in described position determination module, after touching the instruction starting position of determining selected content of pages and end position according to described first, receive user and drag instruction to first of described starting position, drag instruction according to described first and upgrade starting position.
Preferably, described system also comprises: end position fine setting module, for after described selected content determination module determines selected content of pages according to current start position and current end position, receive user and drag instruction to second of current end position, drag instruction according to described second and upgrade current end position, determine selected content of pages according to current start position and current end position.
Preferably, described system also comprises: mark arranges module, instruction is touched for receiving user's first in described position determination module, after touching the instruction starting position of determining selected content of pages and end position according to described first, in described starting position, place arranges the first mark, arranges the second mark at described end position place.
A kind of content of pages choosing method that the embodiment of the present invention provides and system, user can be made to use two fingers to operate simultaneously, after user pins end position by a finger, another finger is used to switch content of pages, end position is then updated in the page after switching automatically, achieve the fast selecting of content of pages, user's use sense is by good.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, a kind of content of pages choosing method that the embodiment of the present invention provides, be applied in touch panel device, the method can comprise:
The first touch instruction of S100, reception user, touch according to described first starting position and the end position that selected content of pages is determined in instruction, wherein, described end position is presented at the first screen position on screen area;
Optionally, the first touch instruction for double-clicking instruction or single key command, also for double-click or can click the rear selection instruction to option in popup menu.Wherein, the starting position of instruction determined selected content of pages is touched according to first and end position can be called as initial starting position and initial end position.Initial starting position and initial end position can lay respectively at front and the rear that user's first touches the touch location of instruction.As initial position, content of pages between initial starting position and initial end position can be less, such as, before touching the touch location of instruction by first, the position of ten characters is defined as initial starting position, after touching the touch location of instruction by first, the position of ten characters is defined as initial end position, like this, between initial starting position and initial end position, there are 20 characters.In order to allow, user is convenient identifies selected content of pages, can add special-effect to distinguish with other partial contents to selected content of pages, as changed font, changing color, adding background colour etc.
Concrete, the selected page can be the text editing page, the form document page etc. of webpage, office software.When the selected page is the form document page, initial starting position and initial end position can lay respectively at user first touch instruction the cell corresponding to touch location limit, left side on and right edge on, the upper left corner as shown in Figure 8 and the lower right corner.
In a kind of specific implementation of the present invention, after step S100, can also comprise:
First mark is set at starting position place, the second mark is set at end position place.
Wherein, described first mark can drip shape mark for pouring, and described second mark can identify for water-drop-shaped, as shown in Figure 2.Described first mark and the second mark also can be other shapes, black round dot as shown in Figure 8.
S200, reception user press instruction, using described end position as end position to be adjusted to the length of described end position;
When user sends length by instruction, finger and the described end position of user keep in touch state, as shown in Figure 3.
S300, during described length presses order persistence, receive user second touch instruction, according to described second touch instruction switch the content of pages shown in described screen area;
Wherein, the second touch instruction can be slip instruction.Be understandable that, user carries out contact slip on the touchscreen by finger, can send slip instruction, content of pages is slided, thus the content of pages shown by toggle screen region.Slip instruction can be the slip instruction to any direction, as shown in Figure 4 slip instruction up or down.
S400, described end position is updated to content of pages position described in the content of pages after switching corresponding to the first screen position;
Due to user send long by instruction time, the finger that user pins end position does not leave or moves, therefore when content of pages changes, the screen position that user pins by the new position of in corresponding content of pages, using this position as upgrade after end position.Incorporated by reference to Fig. 4 and Fig. 5, after user sends slide downward instruction, the content of pages of below starts to move in screen and shows, so end position is also along with moving in the content of pages of below.
S500, determine selected content of pages according to current start position and current end position.
Because end position there occurs change, therefore again can determine that the content between end position and starting position is selected content of pages according to the end position after renewal and starting position, as shown in Figure 5.
When the page is the form document page, after user sends slide downward instruction, end position also along with moving in the content of pages (form) of below, thus determines selected content of pages as shown in Figure 9.
In another kind of implementation of the present invention, starting position also can adjust, and after step S100, method shown in Fig. 1 can also comprise:
Receive user and drag instruction to first of described starting position, drag instruction according to described first and upgrade starting position.
User can pin starting position and be dragged to another location, then this position using as upgrade after starting position.
Optionally, in another kind of implementation of the present invention, also can drag end position: after step S500, as shown in Figure 6, method shown in Fig. 1 can also comprise:
S600, reception user drag instruction to second of current end position, drag instruction upgrade current end position according to described second;
S700, determine selected content of pages according to current start position and current end position.
After starting position or end position are adjusted by user, just need again according to the selected content of pages that current start position and end position are determined therebetween.
A kind of content of pages choosing method that the embodiment of the present invention provides, user can be made to use two fingers to operate simultaneously, after user pins end position by a finger, another finger is used to switch content of pages, end position is then updated in the page after switching automatically, achieve the fast selecting of content of pages, user's use sense is by good.
Corresponding with the embodiment of the method shown in Fig. 1, present invention also offers a kind of content of pages selecting system, be applied in touch panel device, as shown in Figure 7, this system can comprise: position determination module 100, module to be adjusted 200, page layout switch module 300, end position update module 400 and selected content determination module 500
Described position determination module 100, for receiving user first touches instruction, and touch according to described first starting position and the end position that selected content of pages is determined in instruction, wherein, described end position is presented at the first screen position on screen area;
Optionally, the first touch instruction for double-clicking instruction or single key command, also for double-click or can click the rear selection instruction to option in popup menu.Wherein, the starting position of instruction determined selected content of pages is touched according to first and end position can be called as initial starting position and initial end position.Initial starting position and initial end position can lay respectively at front and the rear that user's first touches the touch location of instruction.As initial position, content of pages between initial starting position and initial end position can be less, such as, before touching the touch location of instruction by first, the position of ten characters is defined as initial starting position, after touching the touch location of instruction by first, the position of ten characters is defined as initial end position, like this, between initial starting position and initial end position, there are 20 characters.In order to allow, user is convenient identifies selected content of pages, can add special-effect to distinguish with other partial contents to selected content of pages, as changed font, changing color, adding background colour etc.
Concrete, the selected page can be the text editing page etc. of webpage, office software.
In a kind of specific implementation of the present invention, system shown in Figure 7 can also comprise: mark arranges module, for receiving user in described position determination module 100 first touches instruction, after touching the instruction starting position of determining selected content of pages and end position according to described first, first mark is set at starting position place, the second mark is set at end position place.
Wherein, described first mark can drip shape mark for pouring, and described second mark can identify for water-drop-shaped, as shown in Figure 2.
Described module to be adjusted 200, for receiving the length of user to described end position by instruction, using described end position as end position to be adjusted;
When user sends length by instruction, finger and the described end position of user keep in touch state, as shown in Figure 3.
Described page layout switch module 300, during pressing order persistence in described length, receive user second touches instruction, touches instruction switch the content of pages shown in described screen area according to described second;
Wherein, the second touch instruction can be slip instruction.Be understandable that, user carries out contact slip on the touchscreen by finger, can send slip instruction, content of pages is slided, thus the content of pages shown by toggle screen region.Slip instruction can be the slip instruction to any direction, as shown in Figure 4 slip instruction up or down.
Described end position update module 400, for being updated to the content of pages position described in the content of pages after switching corresponding to the first screen position by described end position;
Due to user send long by instruction time, the finger that user pins end position does not leave or moves, therefore when content of pages changes, the screen position that user pins by the new position of in corresponding content of pages, using this position as upgrade after end position.Incorporated by reference to Fig. 4 and Fig. 5, after user sends slide downward instruction, the content of pages of below starts to move in screen and shows, so end position is also along with moving in the content of pages of below.
Described selected content determination module 500, for determining selected content of pages according to current start position and current end position.
Because end position there occurs change, therefore again can determine that the content between end position and starting position is selected content of pages according to the end position after renewal and starting position.
In another kind of implementation of the present invention, starting position also can adjust, system shown in Figure 7 can also comprise: starting position update module, for receiving user in described position determination module 100 first touches instruction, after touching the instruction starting position of determining selected content of pages and end position according to described first, receive user and drag instruction to first of described starting position, drag instruction according to described first and upgrade starting position.
User can pin starting position and be dragged to another location, then this position using as upgrade after starting position.
Optionally, in another kind of implementation of the present invention, also can drag end position, system shown in Figure 7 can also comprise: end position fine setting module, for after described selected content determination module 500 determines selected content of pages according to current start position and current end position, receive user and drag instruction to second of current end position, drag instruction according to described second and upgrade current end position, determine selected content of pages according to current start position and current end position.
After starting position or end position are adjusted by user, just need again according to the selected content of pages that current start position and end position are determined therebetween.
A kind of content of pages selecting system that the embodiment of the present invention provides, user can be made to use two fingers to operate simultaneously, after user pins end position by a finger, another finger is used to switch content of pages, end position is then updated in the page after switching automatically, achieve the fast selecting of content of pages, user's use sense is by good.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Each embodiment in this instructions all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.