Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, for the editing operation that solves prior art electronic equipment and provide for input content, has unhandy technical matters, improves the efficiency of editor's input content.
The embodiment of the present application provides a kind of information processing method, is applied to an electronic equipment, and described electronic equipment comprises a touch-display unit, and described method comprises:
In described touch-display unit, show at least one input content;
Obtain the slide of operating body in described touch-display unit;
The initial touch point that judges described slide whether in the first viewing area corresponding to described at least one input content and the termination touch point of described slide whether in second viewing area different from described the first viewing area, obtain the first judged result;
Described first, judgment result is that while being, generate and carry out the first edit instruction, to edit described at least one input content.
Optionally, described generation is also carried out the first edit instruction, is specifically as follows:
Generate and carry out for deleting the first edit instruction of described at least one input content, to delete described at least one input content; Or
Generate and carry out for shearing the first edit instruction of described at least one input content, to shear and to remember described at least one input content.
Optionally, described input content comprises: character and/or picture.
Optionally, before the described slide obtaining in described touch-display unit, described method also comprises: response is for choosing the selection operation of described at least one input content, on described the first viewing area, show the mapping icon corresponding with described at least one input content, make described operating body to operate described at least one input content by operating described mapping icon.
Optionally, described first, when the determination result is NO, described method also comprises:
Judge described initial touch point whether in described the second viewing area and described termination touch point whether in described the first viewing area, obtain the second judged result;
Described second, judgment result is that while being, generate and carry out the second edit instruction, described at least one input content is replaced with to content to be pasted.
The embodiment of the present application also provides a kind of electronic equipment, and described electronic equipment comprises with touch-display unit, and described electronic equipment also comprises:
Output unit, for showing at least one input content in described touch-display unit;
Acquiring unit, for obtaining the slide of operating body in described touch-display unit;
Judging unit, for the initial touch point that judges described slide whether at the termination touch point of the first viewing area corresponding to described at least one input content and described slide whether in second viewing area different from described the first viewing area, obtain the first judged result;
Performance element, for judgment result is that while being described first, generates and carries out the first edit instruction, to edit described at least one input content.
Optionally, described performance element specifically for:
Generate and carry out for deleting the first edit instruction of described at least one input content, to delete described at least one input content; Or
Generate and carry out for shearing the first edit instruction of described at least one input content, to shear and to remember described at least one input content.
Optionally, described input content comprises: character and/or picture.
Optionally, described electronic equipment also comprises: map unit, for before the described slide obtaining in described touch-display unit, response is for choosing the selection operation of described at least one input content, on described the first viewing area, show the mapping icon corresponding with described at least one input content, make described operating body to operate described at least one input content by operating described mapping icon.
Optionally, described judging unit also for: described first when the determination result is NO, judge described initial touch point whether in described the second viewing area and described termination touch point whether in described the first viewing area, obtain the second judged result;
Described performance element also, for judgment result is that while being described second, generates and carries out the second edit instruction, and described at least one input content is replaced with to content to be pasted.
Above-mentioned one or more technical schemes in the embodiment of the present application, at least have following one or more technique effects:
1, by showing the slide that obtains operating body in the touch-display unit of at least one input content, and the initial touch point that judges slide whether in the first viewing area of correspondence and the termination touch point of slide whether be in the second different viewing area of the first viewing area, generate and carry out the first edit instruction while being judgment result is that, to edit this at least one input content, make user can choose after input content, continuous the first viewing area from input content place slides into the second viewing area and edits fast input content, thereby solved the editing operation that in prior art, electronic equipment provides for input content and had unhandy technical matters, improve the efficiency of editor's input content.
2, when user chooses at least one input content, on the first viewing area corresponding at least one input content, show the mapping icon corresponding with this input content, make user to operate described at least one input content by operating described mapping icon, avoided operating in the very little input content in gap, reduced operation easier and promoted user's experience.
3, the initial touch point that electronic equipment also judges slide whether in the second viewing area and the termination touch point of slide whether in the first viewing area, generate and carry out the second edit instruction while being judgment result is that, at least one input content is replaced with to content to be pasted, make the user can at least one input content of fast replacing, further improved the editorial efficiency to input content, there is better user and experience.
Embodiment
In the technical scheme providing in the embodiment of the present application, by showing the slide that obtains operating body in the touch-display unit of at least one input content, and the initial touch point that judges slide whether in the first viewing area of correspondence and the termination touch point of slide whether be in the second different viewing area of the first viewing area, generate and carry out the first edit instruction while being judgment result is that, to edit this at least one input content, make user can choose after input content, continuous the first viewing area from input content place slides into the second viewing area and edits fast input content, thereby solved the editing operation that in prior art, electronic equipment provides for input content and had unhandy technical matters, improve the efficiency of editor's input content.
Below in conjunction with accompanying drawing, the embodiment of the present application technical scheme main realized to principle, embodiment and the beneficial effect that should be able to reach is explained in detail.
Embodiment mono-
Please refer to Fig. 1, the embodiment of the present application provides a kind of information processing method, is applied to an electronic equipment, and described electronic equipment comprises a touch-display unit, and described method comprises:
S101: show at least one input content in described touch-display unit;
S102: obtain the slide of operating body in described touch-display unit;
S103: the initial touch point that judges described slide whether in the first viewing area corresponding to described at least one input content and the termination touch point of described slide whether in second viewing area different from described the first viewing area, obtain the first judged result;
S104: judgment result is that while being described first, generate and carry out the first edit instruction, to edit described at least one input content.
In specific implementation process, the information processing method that the application provides specifically can be applied to mobile phone, pad, touch notes computer etc. and comprise the electronic equipment that touch-display unit is touch screen.User can be by contents such as touch-display unit input character and/or pictures, and corresponding electronic equipment is carried out S101 and in touch-display unit, shown at least one input content that user inputs.At least one input content specifically can comprise character, as: letter, numeral, word and symbol; Also picture can be comprised, character and picture can also be comprised.
For the less touch screen of size, at least one input content of its demonstration is less, as: the character duration showing on smart mobile phone is less than the width of a finger conventionally, and touch control operation difficulty is larger and inconvenient, especially between character, moves tiny cursor.In order to reduce the difficulty of touch control operation, when the information processing method that the embodiment of the present application provides shows at least one input content on touch-control demonstration is existing, detect in touch-display unit for showing the touch control operation of the input frame of input content, response is for choosing the selection operation of described at least one input content, on the first viewing area corresponding at least one input content of choosing with user, show the mapping icon corresponding with described at least one input content, making user is that operating body can operate at least one input content by operation map icon.
Please refer to Fig. 2, for example: in the input frame of touch-display unit, show the content " I plain Chinese " that user inputs, user detected subsequently selects operation to choose " element " in " I plain Chinese " on input frame, electronic equipment shows that a mapping icon is as " bubble " accordingly on the first viewing area corresponding to " element " word so, make user should " bubble " operate at least one input content " element " that it is chosen by direct control, as: will drag " bubble " and arrive " people " below, " element " also will drag to " people " below accordingly.Certainly, the embodiment of the present application also can not show that this mapping icon directly carries out S102.
Electronic equipment obtains after the slide of operating body in touch-display unit at execution S102, initial touch point that continue to carry out the slide that S103 judgement gets whether in the first viewing area corresponding at least one input content and the termination touch point of described slide whether in second viewing area different from the first viewing area, obtain the first judged result.Concrete, first viewing area corresponding with at least one input content can comprise the viewing area at least one input content place, and corresponding the second viewing area does not comprise the viewing area at least one input content place.When user is not the first viewing area of comprising at least one input content place when starting to slide and sliding in the second viewing area, S103 obtain first the determination result is NO; When the first viewing area that user is comprising at least one input content place starts to slide and slide in the second viewing area, first of S103 acquisition judgment result is that and is.
In specific implementation process, the embodiment of the present application is carried out different subsequent operations for the first different judged results.When first judgment result is that while being that S103 obtains, carry out S104 and generate and carry out the first edit instruction, at least one input content to edit.Concrete, electronic equipment can generate and carry out for deleting the first edit instruction of described at least one input content, to delete described at least one input content; Or generate and carry out for shearing the first edit instruction of described at least one input content, to shear and to remember described at least one input content.
Please refer to Fig. 3, for example: while showing the content " I plain Chinese " of user's input in the input frame of touch-display unit, the slide that electronic equipment detects is as shown in Figure 3: initial touch point is at A point corresponding to " element ", stop the B point of touch point beyond input frame, electronic equipment is further judged the initial touch point of this slide in the first viewing area, and the termination touch point of this slide is in the second viewing area, now electronic equipment generates and carries out delete instruction and deletes " element " or generates and carries out shearing instruction and shear and remember " element " and be about to " element " and from input content, delete and " element " write in shear plate and kept in.It should be noted that, the first edit instruction that the embodiment of the present application generates and carries out is not limited to " deletion " and " shearing " instruction, can also be the instructions such as " search ", " sharing ".
When S103 is when the determination result is NO, the embodiment of the present application further judge described initial touch point whether in described the second viewing area and described termination touch point whether in described the first viewing area, obtain the second judged result; And judgment result is that while being described second, generate and carry out the second edit instruction, described at least one input content is replaced with to content to be pasted.For example: while showing the content " I plain Chinese " of user's input in the input frame of touch-display unit, the slide that electronic equipment detects is as shown in Figure 4: stop touch point at A point corresponding to " element ", the B point of initial touch point beyond input frame, electronic equipment is further judged the initial touch point of this slide in the second viewing area, and the termination touch point of this slide is in the first viewing area, and now electronic equipment replaces with content "Yes" to be pasted by least one input content " element ".
In the above-described embodiments, by showing the slide that obtains operating body in the touch-display unit of at least one input content, and the initial touch point that judges slide whether in the first viewing area of correspondence and the termination touch point of slide whether be in the second different viewing area of the first viewing area, generate and carry out the first edit instruction while being judgment result is that, to edit this at least one input content, make user can choose after input content, continuous the first viewing area from input content place slides into the second viewing area and edits fast input content, thereby solved the editing operation that in prior art, electronic equipment provides for input content and had unhandy technical matters, improve the efficiency of editor's input content.
Further, when user chooses at least one input content, on the first viewing area corresponding at least one input content, show the mapping icon corresponding with this input content, make user to operate described at least one input content by operating described mapping icon, avoided operating in the very little input content in gap, reduced operation easier and promoted user's experience.
Further, the initial touch point that electronic equipment also judges slide whether in the second viewing area and the termination touch point of slide whether in the first viewing area, generate and carry out the second edit instruction while being judgment result is that, at least one input content is replaced with to content to be pasted, make the user can at least one input content of fast replacing, further improved the editorial efficiency to input content, there is better user and experience.
Embodiment bis-
Please refer to Fig. 5, the embodiment of the present application provides a kind of electronic equipment, and described electronic equipment comprises with touch-display unit, and described electronic equipment also comprises:
Output unit 501, for showing at least one input content in described touch-display unit;
Acquiring unit 502, for obtaining the slide of operating body in described touch-display unit;
Judging unit 503, for the initial touch point that judges described slide whether at the termination touch point of the first viewing area corresponding to described at least one input content and described slide whether in second viewing area different from described the first viewing area, obtain the first judged result;
Performance element 504, for judgment result is that while being described first, generates and carries out the first edit instruction, to edit described at least one input content.
In specific implementation process, described performance element 504 specifically for: generate and carry out for deleting the first edit instruction of described at least one input content, to delete described at least one input content; Or, generate and carry out for shearing the first edit instruction of described at least one input content, to shear and to remember described at least one input content.Optionally, described input content comprises: character and/or picture.
In specific implementation process, described electronic equipment also comprises: map unit 505, for before the described slide obtaining in described touch-display unit, response is for choosing the selection operation of described at least one input content, on described the first viewing area, show the mapping icon corresponding with described at least one input content, make described operating body to operate described at least one input content by operating described mapping icon.
In specific implementation process, described judging unit 503 also for: described first when the determination result is NO, judge described initial touch point whether in described the second viewing area and described termination touch point whether in described the first viewing area, obtain the second judged result; Described performance element also, for judgment result is that while being described second, generates and carries out the second edit instruction, and described at least one input content is replaced with to content to be pasted.
One or more technical schemes by the embodiment of the present application, can be achieved as follows one or more technique effects:
1, by showing the slide that obtains operating body in the touch-display unit of at least one input content, and the initial touch point that judges slide whether in the first viewing area of correspondence and the termination touch point of slide whether be in the second different viewing area of the first viewing area, generate and carry out the first edit instruction while being judgment result is that, to edit this at least one input content, make user can choose after input content, continuous the first viewing area from input content place slides into the second viewing area and edits fast input content, thereby solved the editing operation that in prior art, electronic equipment provides for input content and had unhandy technical matters, improve the efficiency of editor's input content.
2, when user chooses at least one input content, on the first viewing area corresponding at least one input content, show the mapping icon corresponding with this input content, make user to operate described at least one input content by operating described mapping icon, avoided operating in the very little input content in gap, reduced operation easier and promoted user's experience.
3, the initial touch point that electronic equipment also judges slide whether in the second viewing area and the termination touch point of slide whether in the first viewing area, generate and carry out the second edit instruction while being judgment result is that, at least one input content is replaced with to content to be pasted, make the user can at least one input content of fast replacing, further improved the editorial efficiency to input content, there is better user and experience.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect completely.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code one or more.
The present invention is with reference to describing according to process flow diagram and/or the block scheme of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block scheme each flow process and/or the flow process in square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computing machine or other programmable data processing device is produced for realizing the device in the function of flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame on computing machine or other programmable devices.
Specifically, computer program instructions corresponding to information processing method in the embodiment of the present application can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions corresponding with information processing method in storage medium read or be performed by an electronic equipment, comprise the steps:
In described touch-display unit, show at least one input content;
Obtain the slide of operating body in described touch-display unit;
The initial touch point that judges described slide whether in the first viewing area corresponding to described at least one input content and the termination touch point of described slide whether in second viewing area different from described the first viewing area, obtain the first judged result;
Described first, judgment result is that while being, generate and carry out the first edit instruction, to edit described at least one input content.
Optionally, described generation is also carried out the first edit instruction, is specifically as follows: generate and carry out for deleting the first edit instruction of described at least one input content, to delete described at least one input content; Or, generate and carry out for shearing the first edit instruction of described at least one input content, to shear and to remember described at least one input content.
Optionally, described input content comprises: character and/or picture.
Optionally, before the described slide obtaining in described touch-display unit, described method also comprises: response is for choosing the selection operation of described at least one input content, on described the first viewing area, show the mapping icon corresponding with described at least one input content, make described operating body to operate described at least one input content by operating described mapping icon.
Optionally, described first, when the determination result is NO, described method also comprises: judge described initial touch point whether in described the second viewing area and described termination touch point whether in described the first viewing area, obtain the second judged result; Described second, judgment result is that while being, generate and carry out the second edit instruction, described at least one input content is replaced with to content to be pasted.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.