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 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.
Terminal in the present embodiment can comprise smart mobile phone, panel computer, notebook computer, palm PC and mobile internet device (MobileInternetDevice, MID) etc.
Please refer to Fig. 1, the schematic flow sheet of the method for a kind of information displaying provided for the embodiment of the present invention, said method comprising the steps of S101-S104.
S101, receives the pressing operation on touch-screen, and obtains the contact area of described pressing operation and described touch-screen.
In specific implementation, terminal receives the pressing operation on touch-screen, and obtains the contact area of described pressing operation and described touch-screen.Touch screen technology is as a kind of novel man-machine interaction mode, its alternative traditional keyboard and mouse perform input operation, it has simply, facilitate, natural feature, is therefore widely used at present in the fields such as information inquiry, working and studying, Industry Control, Entertainment.User can be edited information such as the word in terminal, form, pictures by touch-screen, as the copying of word, shear or stickup etc., in the present embodiment, user can obtain displaying contents by the pressing operation of touch-screen, and moves displaying contents.When user needs to obtain specific displaying contents, the relevant position that finger can be positioned over touch-screen presses, described terminal receives the pressing operation on touch-screen, the region that pressing operation described in identifiable design is corresponding, obtain the contact area of described pressing operation and described touch-screen, such as: on the screen of terminal, displaying contents is " along with cell-phone function is increasingly powerful ", when obtaining " mobile phone " word for needs, then finger can be positioned over the position that can cover mobile phone, described terminal is made described action to be detected by pressing operation, and get the contact area of described pressing operation and described touch-screen, namely overlay area is pointed.
S102, according to the described contact area obtained, obtains the displaying contents matched with described contact area.
In specific implementation, described terminal, according to the described contact area obtained, obtains the displaying contents matched with described contact area.In the present embodiment, described contact area can comprise finger overlay area, terminal gets described contact area, the displaying contents matched with described contact area can be obtained further, such as point the word of overlay area for " mobile phone ", then the displaying contents that described contact area matches is " mobile phone ".Fail complete phrase to obtain in order to avoid the maloperation pointed because of user, the displaying contents that described contact area matches also can be by Intelligent Matching after displaying contents, such as user is " energy mobile phone " by the word of finger overlay area, after Intelligent Matching, displaying contents can be adjusted to " smart mobile phone " automatically.
S103, receives the slide on described touch-screen, and obtains the position at the end of described slide.
In specific implementation, described terminal receives the slide on described touch-screen, and obtains the position at the end of described slide.When described terminal gets the displaying contents matched with described contact area, user wishes to operate described displaying contents, such as, displaying contents is moved to assigned address by current location.In the present embodiment, finger after getting displaying contents, can be slid into default insertion position from current location, the position at the end of getting slide by described terminal by user.In the present embodiment, also can be for finger being left current touch screen, and determine insertion position, then again finger is placed on insertion position and carry out pressing or tapping operation, when described terminal detects described pressing or taps operation, the position at the end of this position is defined as slide.
S104, moves to the position at the end of described slide by described displaying contents.
In specific implementation, described displaying contents is moved to the position at the end of described slide by terminal.When described terminal gets the position at the end of described slide, described displaying contents is moved to the position at the end of described slide, wherein, described displaying contents can get at execution step S102, and described displaying contents can be carried out buffer memory, during position at the end of described terminal gets described slide, described displaying contents can be read from buffer memory, and described displaying contents is moved to the position at the end of described slide.
Adopt the embodiment of the present invention, can by receiving the pressing operation on touch-screen, and obtain the contact area of described pressing operation and described touch-screen, then according to the described contact area obtained, obtain the displaying contents matched with described contact area, simplify the process that displaying contents obtains, by the slide on described touch-screen, and the position obtained at the end of described slide, then described displaying contents is moved to the position at the end of described slide, by pressing and slide, described displaying contents is moved, improve the convenience of information displaying.
Please refer to Fig. 2, the schematic flow sheet of the method for the another kind of information displaying provided for the embodiment of the present invention, said method comprising the steps of S201-S210.
S201, receives the pressing operation on touch-screen, and obtains the contact area of described pressing operation and described touch-screen.
In specific implementation, terminal receives the pressing operation on touch-screen, and obtains the contact area of described pressing operation and described touch-screen.Touch screen technology is as a kind of novel man-machine interaction mode, its alternative traditional keyboard and mouse perform input operation, it has simply, facilitate, natural feature, is therefore widely used at present in the fields such as information inquiry, working and studying, Industry Control, Entertainment.User can be edited information such as the word in terminal, form, pictures by touch-screen, as the copying of word, shear or stickup etc., in the present embodiment, user can obtain displaying contents by the pressing operation of touch-screen, and moves displaying contents.When user needs to obtain specific displaying contents, the relevant position that finger can be positioned over touch-screen presses, described terminal receives the pressing operation on touch-screen, the region that pressing operation described in identifiable design is corresponding, obtain the contact area of described pressing operation and described touch-screen, such as: on the screen of terminal, displaying contents is " along with cell-phone function is increasingly powerful ", when obtaining " mobile phone " word for needs, then finger can be positioned over the position that can cover mobile phone, described terminal is made described action to be detected by pressing operation, and get the contact area of described pressing operation and described touch-screen, namely overlay area is pointed.
S202, according to the described contact area obtained, obtains the full content shown in described contact area.
In specific implementation, described terminal, according to the described contact area obtained, obtains the full content shown in described contact area.When getting described contact area, terminal can detect described contact area, and obtains the full content shown in described contact area, in the present embodiment, described displaying contents can comprise content of text, also can be other the content that can be used for editing, such as figure or form etc.In the present embodiment, according to described contact area, the full content of described contact area correspondence display can be got.
S203, identifies the content of text in described full content.
In specific implementation, the content of text in full content described in described terminal recognition.When described terminal gets the full content shown in described contact area, described content of text can be identified in the full content of display, infull situation is covered owing to there is the contents such as text in engagement edge region, therefore in the present embodiment, before identifying the content of text in described full content, can preset exposure area ratio threshold value, when edge contact area reaches described threshold value, obtain the content of text of edge display in described region, otherwise, the content of text of edge display in described region is omitted, such as: preset exposure area ratio threshold value is 75%, for the contact area that fringe region A is as corresponding in "Yes" word relative to complete content of text, its actual contact area rate example is 32%, be less than preset exposure area ratio threshold value, therefore "Yes" word can be cast out, not as the displaying contents in contact area, if for the contact area that fringe region B is as corresponding in "ON" word relative to content of text, its actual contact area rate example is 90%, meet preset exposure area ratio threshold requirement, then "ON" can be retained, as the content of text shown in contact area.Content of text described in the present embodiment also can be the contents such as other such as form.
S204, the content of text recognized described in extraction.
In specific implementation, the content of text recognized described in described terminal extraction.In the present embodiment, fail complete phrase to obtain in order to avoid the maloperation pointed because of user, described terminal can be extracted by the content of text to described full content according to conventional dictionary or common dictionary, to receive comparatively complete content of text, such as user is " energy mobile phone " by the word of finger overlay area, after Intelligent Matching, displaying contents can be adjusted to " smart mobile phone " automatically.
S205, receives the slide on described touch-screen, and obtains the position at the end of described slide.
In specific implementation, described terminal receives the slide on described touch-screen, and obtains the position at the end of described slide.When described terminal gets the displaying contents matched with described contact area, user wishes to operate described displaying contents, such as, displaying contents is moved to assigned address by current location.In the present embodiment, finger after getting displaying contents, can be slid into default insertion position from current location, the position at the end of getting slide by described terminal by user.In the present embodiment, also can be for finger being left current touch screen, and determine insertion position, then again finger is placed on insertion position and carry out pressing or tapping operation, when described terminal detects described pressing or taps operation, the position at the end of this position is defined as slide.
S206, judge described slide whether with the coordinate points of described pressing operation for starting point.
In specific implementation, slide described in described terminal judges whether with the coordinate points of described pressing operation for starting point.In actual mechanical process, described terminal may detect a variety of slide, sliding action such as when playing, the sliding action etc. of unblock, in order to be different from above-mentioned cited sliding action, in the present embodiment, when described sliding action being detected, can by judge described slide whether with the coordinate points of described pressing operation for starting point, thus determine that whether described sliding action is the slide of required acquisition in the present embodiment.
S207, if so, judges whether the position at the end of described slide exists original display content.
In specific implementation, whether the position if so, at the end of slide described in described terminal judges exists original display content.Position at the end of described slide can be white space, namely without any displaying contents, also original display content can be there is, if described slide be with the coordinate points of described pressing operation for starting point time, then can judging whether the position at the end of described slide exists original display content, if do not existed, then performing step S208, otherwise, then step S209 is performed.
S208, as described in position at the end of slide there is not original display content, the displaying contents after described adjustment is moved to the position at the end of described slide.
In specific implementation, as described in position at the end of slide there is not original display content, the displaying contents after described adjustment is moved to the position at the end of described slide by described terminal.In the present embodiment, as as described in position at the end of slide there is not original display content, displaying contents after described adjustment is moved to the position at the end of described slide by described terminal, can complete and the position of displaying contents is moved to from start position the position that slide terminates.
S209, as described in position at the end of slide there is original display content, export the confirmation whether described displaying contents being covered described original display content to user.
In specific implementation, as described in position at the end of slide there is original display content, described terminal exports the confirmation whether described displaying contents being covered described original display content to user.As described in position at the end of slide there is original display content, then described displaying contents is covered described original display content.In the present embodiment, as as described in position at the end of slide there is original display content, then may occur that the position at the end of mobile rear slide exists the displaying contents repeated, therefore need to export to user the confirmation whether described displaying contents being covered described original display content, as ejected dialog box and showing the information of " whether covering Current Content ", select as required for user.
S210, receives user to the confirmation instruction of described confirmation, and performs the step described displaying contents being covered described original display content according to described confirmation instruction.
In specific implementation, described terminal receives user to the confirmation instruction of described confirmation, and performs the step described displaying contents being covered described original display content according to described confirmation instruction.When user selects to cover Current Content, described terminal can receive the confirmation instruction of user to described confirmation, and determines described displaying contents to cover described original display content according to described confirmation instruction.If it is then can directly be inserted before or after described original display content by described displaying contents that user selects not cover Current Content.In the present embodiment, step S209 and S210 is optional step.
Adopt the embodiment of the present invention, by receiving the pressing operation on touch-screen, and obtain the contact area of described pressing operation and described touch-screen, then according to the described contact area obtained, obtain the full content shown in described contact area, and identify the content of text in described full content, to get the content of text of needs, by while the content of text that recognizes described in extracting, process is optimized to the content of text getting needs, improve the integrality of described content of text, by receiving the slide on described touch-screen, and the position obtained at the end of described slide, judge described slide whether with the coordinate points of described pressing operation for starting point, thus determine whether current slide is the control action carrying out displaying contents movement, the judgement whether existed by original display content determines whether to cover original display content, improve the intelligent of described terminal.
Below in conjunction with Fig. 3-Fig. 6, the terminal that the embodiment of the present invention provides is described in detail.It should be noted that, the terminal shown in Fig. 3-Fig. 6, for performing Fig. 1 of the present invention and method embodiment illustrated in fig. 2, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment shown in Fig. 1 and Fig. 2 of the present invention.
Please refer to Fig. 3, be the structural representation of a kind of terminal that the embodiment of the present invention provides, described terminal comprises as lower unit: area acquisition unit 11, contents acquiring unit 12, position acquisition unit 13 and mobile unit 14.
Area acquisition unit 11, for receiving the pressing operation on touch-screen, and obtains the contact area of described pressing operation and described touch-screen.
In specific implementation, area acquisition unit 11 receives the pressing operation on touch-screen, and obtains the contact area of described pressing operation and described touch-screen.Touch screen technology is as a kind of novel man-machine interaction mode, its alternative traditional keyboard and mouse perform input operation, it has simply, facilitate, natural feature, is therefore widely used at present in the fields such as information inquiry, working and studying, Industry Control, Entertainment.User can be edited information such as the word in terminal, form, pictures by touch-screen, as the copying of word, shear or stickup etc., in the present embodiment, user can obtain displaying contents by the pressing operation of touch-screen, and moves displaying contents.When user needs to obtain specific displaying contents, the relevant position that finger can be positioned over touch-screen presses, described terminal receives the pressing operation on touch-screen, the region that pressing operation described in identifiable design is corresponding, obtain the contact area of described pressing operation and described touch-screen, such as: on the screen of terminal, displaying contents is " along with cell-phone function is increasingly powerful ", when obtaining " mobile phone " word for needs, then finger can be positioned over the position that can cover mobile phone, described terminal is made described action to be detected by pressing operation, and get the contact area of described pressing operation and described touch-screen, namely overlay area is pointed.
Contents acquiring unit 12, for according to the described contact area obtained, obtains the displaying contents matched with described contact area.
In specific implementation, contents acquiring unit 12, according to the described contact area obtained, obtains the displaying contents matched with described contact area.In the present embodiment, described contact area can comprise finger overlay area, terminal gets described contact area, the displaying contents matched with described contact area can be obtained further, such as point the word of overlay area for " mobile phone ", then the displaying contents that described contact area matches is " mobile phone ".Fail complete phrase to obtain in order to avoid the maloperation pointed because of user, the displaying contents that described contact area matches also can be by Intelligent Matching after displaying contents, such as user is " energy mobile phone " by the word of finger overlay area, after Intelligent Matching, displaying contents can be adjusted to " smart mobile phone " automatically.
Position acquisition unit 13, for receiving the slide on described touch-screen, and obtains the position at the end of described slide.
In specific implementation, position acquisition unit 13 receives the slide on described touch-screen, and obtains the position at the end of described slide.When described terminal gets the displaying contents matched with described contact area, user wishes to operate described displaying contents, such as, displaying contents is moved to assigned address by current location.In the present embodiment, finger after getting displaying contents, can be slid into default insertion position from current location, the position at the end of getting slide by described terminal by user.In the present embodiment, also can be for finger being left current touch screen, and determine insertion position, then again finger is placed on insertion position and carry out pressing or tapping operation, when described terminal detects described pressing or taps operation, the position at the end of this position is defined as slide.
Mobile unit 14, for moving to the position at the end of described slide by described displaying contents.
In specific implementation, described displaying contents is moved to the position at the end of described slide by mobile unit 14.When described terminal gets the position at the end of described slide, described displaying contents is moved to the position at the end of described slide, wherein, described displaying contents can be got by contents acquiring unit 12, and described displaying contents can be carried out buffer memory, during position at the end of described terminal gets described slide, described displaying contents can be read from buffer memory, and described displaying contents is moved to the position at the end of described slide.
Adopt the embodiment of the present invention, can by receiving the pressing operation on touch-screen, and obtain the contact area of described pressing operation and described touch-screen, then according to the described contact area obtained, obtain the displaying contents matched with described contact area, simplify the process that displaying contents obtains, by the slide on described touch-screen, and the position obtained at the end of described slide, then described displaying contents is moved to the position at the end of described slide, by pressing and slide, described displaying contents is moved, improve the convenience of information displaying.
Please refer to Fig. 4, be the structural representation of the another kind of terminal that the embodiment of the present invention provides, described terminal comprises as lower unit: area acquisition unit 21, contents acquiring unit 22, position acquisition unit 23, mobile unit 24 and judging unit 25.
Area acquisition unit 21, for receiving the pressing operation on touch-screen, and obtains the contact area of described pressing operation and described touch-screen.
In specific implementation, area acquisition unit 21 receives the pressing operation on touch-screen, and obtains the contact area of described pressing operation and described touch-screen.Touch screen technology is as a kind of novel man-machine interaction mode, its alternative traditional keyboard and mouse perform input operation, it has simply, facilitate, natural feature, is therefore widely used at present in the fields such as information inquiry, working and studying, Industry Control, Entertainment.User can be edited information such as the word in terminal, form, pictures by touch-screen, as the copying of word, shear or stickup etc., in the present embodiment, user can obtain displaying contents by the pressing operation of touch-screen, and moves displaying contents.When user needs to obtain specific displaying contents, the relevant position that finger can be positioned over touch-screen presses, described terminal receives the pressing operation on touch-screen, the region that pressing operation described in identifiable design is corresponding, obtain the contact area of described pressing operation and described touch-screen, such as: on the screen of terminal, displaying contents is " along with cell-phone function is increasingly powerful ", when obtaining " mobile phone " word for needs, then finger can be positioned over the position that can cover mobile phone, described terminal is made described action to be detected by pressing operation, and get the contact area of described pressing operation and described touch-screen, namely overlay area is pointed.
Contents acquiring unit 22, for according to the described contact area obtained, obtains the displaying contents matched with described contact area.
Concrete, please with reference to Fig. 5, for embodiments providing the structural representation of contents acquiring unit.As shown in Figure 5, described contents acquiring unit 22 can comprise: content obtaining subelement 221, content recognition subelement 222 and contents extraction subelement 223.
Content obtaining subelement 221, for according to the described contact area obtained, obtains the full content shown in described contact area.
In specific implementation, content obtaining subelement 221, according to the described contact area obtained, obtains the full content shown in described contact area.When getting described contact area, terminal can detect described contact area, and obtains the full content shown in described contact area, in the present embodiment, described displaying contents can comprise content of text, also can be other the content that can be used for editing, such as figure or form etc.In the present embodiment, according to described contact area, the full content of described contact area correspondence display can be got.
Content recognition subelement 222, for identifying the content of text in described full content.
In specific implementation, content recognition subelement 222 identifies the content of text in described full content.When described terminal gets the full content shown in described contact area, described content of text can be identified in the full content of display, infull situation is covered owing to there is the contents such as text in engagement edge region, therefore in the present embodiment, before identifying the content of text in described full content, can preset exposure area ratio threshold value, when edge contact area reaches described threshold value, obtain the content of text of edge display in described region, otherwise, the content of text of edge display in described region is omitted, such as: preset exposure area ratio threshold value is 75%, for the contact area that fringe region A is as corresponding in "Yes" word relative to complete content of text, its actual contact area rate example is 32%, be less than preset exposure area ratio threshold value, therefore "Yes" word can be cast out, not as the displaying contents in contact area, if for the contact area that fringe region B is as corresponding in "ON" word relative to content of text, its actual contact area rate example is 90%, meet preset exposure area ratio threshold requirement, then "ON" can be retained, as the content of text shown in contact area.Content of text described in the present embodiment also can be the contents such as other such as form.
Contents extraction subelement 223, for the content of text recognized described in extracting.
In specific implementation, the content of text recognized described in contents extraction subelement 223 extracts.In the present embodiment, fail complete phrase to obtain in order to avoid the maloperation pointed because of user, described terminal can be extracted by the content of text to described full content according to conventional dictionary or common dictionary, to receive comparatively complete content of text, such as user is " energy mobile phone " by the word of finger overlay area, after Intelligent Matching, displaying contents can be adjusted to " smart mobile phone " automatically.
Position acquisition unit 23, for receiving the slide on described touch-screen, and obtains the position at the end of described slide.
In specific implementation, position acquisition unit 23 receives the slide on described touch-screen, and obtains the position at the end of described slide.When described terminal gets the displaying contents matched with described contact area, user wishes to operate described displaying contents, such as, displaying contents is moved to assigned address by current location.In the present embodiment, finger after getting displaying contents, can be slid into default insertion position from current location, the position at the end of getting slide by described terminal by user.In the present embodiment, also can be for finger being left current touch screen, and determine insertion position, then again finger is placed on insertion position and carry out pressing or tapping operation, when described terminal detects described pressing or taps operation, the position at the end of this position is defined as slide.
Judging unit 25, for judge described slide whether with the coordinate points of described pressing operation for starting point.
In specific implementation, judging unit 25 judge described slide whether with the coordinate points of described pressing operation for starting point.In actual mechanical process, described terminal may detect a variety of slide, sliding action such as when playing, the sliding action etc. of unblock, in order to be different from above-mentioned cited sliding action, in the present embodiment, when described sliding action being detected, can by judge described slide whether with the coordinate points of described pressing operation for starting point, thus determine that whether described sliding action is the slide of required acquisition in the present embodiment.
Mobile unit 24, specifically for when described slide be with the coordinate points of described pressing operation for starting point time, described displaying contents is moved to the position at the end of described slide.
Concrete, please with reference to Fig. 6, for embodiments providing the structural representation of mobile unit.As shown in Figure 6, described mobile unit 24 can comprise: judgment sub-unit 241, mover unit 242, output subelement 243 and covering subelement 244.
If so, judgment sub-unit 241, for judging whether the position at the end of described slide exists original display content.
In specific implementation, if so, judgment sub-unit 241 judges whether the position at the end of described slide exists original display content.Position at the end of described slide can be white space, namely without any displaying contents, also original display content can be there is, if described slide be with the coordinate points of described pressing operation for starting point time, then can judge whether the position at the end of described slide exists original display content, if do not existed, then call mover unit 242 and process, otherwise, then call output subelement 243 and process.
Mover unit 242, for as described in position at the end of slide there is not original display content, the displaying contents after described adjustment is moved to the position at the end of described slide.
In specific implementation, as described in position at the end of slide there is not original display content, the displaying contents after described adjustment is moved to the position at the end of described slide by mover unit 242.In the present embodiment, as as described in position at the end of slide there is not original display content, displaying contents after described adjustment is moved to the position at the end of described slide by described terminal, can complete and the position of displaying contents is moved to from start position the position that slide terminates.
Export subelement 243, for as described in position at the end of slide there is original display content, export the confirmation whether described displaying contents being covered described original display content to user.
In specific implementation, as described in position at the end of slide there is original display content, export subelement 243 and export the confirmation whether described displaying contents being covered described original display content to user.In the present embodiment, as as described in position at the end of slide there is original display content, then may occur that the position at the end of mobile rear slide exists the displaying contents repeated, therefore need to export to user the confirmation whether described displaying contents being covered described original display content, as ejected dialog box and showing the information of " whether covering Current Content ", select as required for user.Wherein, described output subelement 243 is optional subelement.
Cover subelement 244, for as described in position at the end of slide there is original display content, then described displaying contents is covered described original display content.
In specific implementation, cover subelement 244 for as described in position at the end of slide there is original display content, then described displaying contents is covered described original display content.As described in position at the end of slide there is original display content, in order to avoid repeating, described displaying contents can be covered described original display content.Optionally, the present embodiment also can receive user to the confirmation instruction of described confirmation by described terminal, and according to described confirmation instruction execution, described displaying contents is covered described original display content.When user selects to cover Current Content, described terminal can receive the confirmation instruction of user to described confirmation, and determines described displaying contents to cover described original display content according to described confirmation instruction.If it is then can directly be inserted before or after described original display content by described displaying contents that user selects not cover Current Content.
Adopt the embodiment of the present invention, by receiving the pressing operation on touch-screen, and obtain the contact area of described pressing operation and described touch-screen, then according to the described contact area obtained, obtain the full content shown in described contact area, and identify the content of text in described full content, to get the content of text of needs, by while the content of text that recognizes described in extracting, process is optimized to the content of text getting needs, improve the integrality of described content of text, by receiving the slide on described touch-screen, and the position obtained at the end of described slide, judge described slide whether with the coordinate points of described pressing operation for starting point, thus determine whether current slide is the control action carrying out displaying contents movement, the judgement whether existed by original display content determines whether to cover original display content, improve the intelligent of described terminal.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, described program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.