CN105183310A - Information editing method and terminal - Google Patents

Information editing method and terminal Download PDF

Info

Publication number
CN105183310A
CN105183310A CN201510530285.4A CN201510530285A CN105183310A CN 105183310 A CN105183310 A CN 105183310A CN 201510530285 A CN201510530285 A CN 201510530285A CN 105183310 A CN105183310 A CN 105183310A
Authority
CN
China
Prior art keywords
slide
edit
edit file
terminal
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510530285.4A
Other languages
Chinese (zh)
Inventor
姜冠群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510530285.4A priority Critical patent/CN105183310A/en
Publication of CN105183310A publication Critical patent/CN105183310A/en
Pending legal-status Critical Current

Links

Abstract

An embodiment of the present invention provides an information editing method and a terminal. The method comprises: displaying editable information in an editable interface of the terminal, wherein the editable information includes at least one editable element; and detecting a first slide operation of a user on the editable information, and according to the first slide operation, deleting the at least one editable element of the editable information. Therefor, according to the embodiment of the present invention, the information can be conveniently and rapidly edited.

Description

A kind of information edit method and terminal
Technical field
The present invention relates to human-computer interaction technique field, be specifically related to a kind of information edit method and terminal.
Background technology
At present, the terminals such as smart mobile phone, panel computer and other wearable devices constantly popularize to the many convenience of the life of people, work and amusement band, wherein, the operation that in the user operation of terminal, accounting is more is exactly information editing's operation, such as, send information to friend or when network issued information by terminal, all need the mode first these information editings being become word or voice.In actual applications, user often can revise or delete the content of having edited in editing process, often needs by button or Touch control key operation, thus easily causes complex operation.
Summary of the invention
Embodiments provide a kind of information edit method and terminal, can edit file easily.
Embodiments provide a kind of information edit method, comprising:
Terminal can display can edit file in editing interface, describedly can comprise at least one in edit file and can edit element;
Detect user to described can the first slide of edit file;
According to described first slide, delete described can at least one element edited in edit file.
The embodiment of the present invention additionally provides a kind of terminal, comprising:
Display unit, for terminal can display can edit file in editing interface, describedly can comprise at least one in edit file and can edit element;
Detecting unit, for detect user to described display unit show can the first slide of edit file;
Delete cells, for the first slide detected according to described detecting unit, delete described can at least one element edited in edit file.
The embodiment of the present invention can terminal can display can edit file in editing interface, and this can comprise at least one in edit file can edit element; And detect user can the first slide of edit file to this, according to this first slide, can delete can at least one element edited in edit file.Visible, the embodiment of the present invention can edit file easily.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of information edit method that the embodiment of the present invention provides;
Fig. 2 is that a kind of user that the embodiment of the present invention provides can the schematic diagram of corresponding states of edit file when inputting the first slide;
Fig. 3 is the schematic flow sheet of the another kind of information edit method that the embodiment of the present invention provides;
Fig. 4 is that a kind of recovery that the embodiment of the present invention provides shows the deleted schematic diagram editing element;
Fig. 5 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the another kind of terminal that the embodiment of the present invention provides;
Fig. 7 is the structural representation of another terminal that the embodiment of the present invention provides.
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.
Embodiments provide a kind of information edit method and terminal, can edit file easily.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of information edit method that the embodiment of the present invention provides.As shown in Figure 1, this information edit method can comprise the following steps.
S101, terminal can display can edit file in editing interface, this can comprise at least one in edit file can edit element.
In the embodiment of the present invention, this terminal can be mobile phone, notebook, panel computer, electronic reader or other portable sets etc., and the embodiment of the present invention does not limit.
In the embodiment of the present invention, edit file can can edit element for comprising at least one, and the information of at least one that can increase the new element edited or delete at least one element edited of wherein comprising.Concrete, this edit file can comprise at least one and can edit element, and this can edit element can be word, symbol, picture or voice; This can edit element can be the unit formed in units of single word, symbol, picture or voice, also can by least two words, at least two symbols, at least two pictures or at least two sections of voice and word, symbol, picture or voice be combined as the unit that unit forms.Such as, can be a picture is formed one can edit element, also can be that two pictures composition one of putting together can edit element; A word can be formed one and can edit element, also can be a word of two word compositions is formed one jointly can edit element.
Such as, can edit file can be to carry out increasing or deleting the text message (being presented at the text message in input frame or word document in note, input method) of word.Alternatively, can also comprise picture, annex and sound-content in text information, wherein, the word comprised in text message or picture to edit element.
In the embodiment of the present invention, can editing interface be used to show can the application interface of edit file.Wherein can edit file may be displayed in application interface, also can be presented in the sub-interface of application interface.Such as, whole interface of input method includes the part such as key interface, input frame, can edit file (text message of input) be presented in the sub-interface (input frame) of input method.
S102, detecting user can the first slide of edit file to this.
In the embodiment of the present invention, the slide of user can be detected by terminal Trackpad.Concrete, according to the signal intensity of the Trackpad detected (when user's finger contacts is to Trackpad, corresponding signal intensity can be produced, the change as voltage, resistance or light signal), the operation of user can be determined.When on Trackpad, the position of signal intensity is fixed, what determine to detect is to click or long by operation; When the position continuous moving of signal intensity on Trackpad, what determine to detect is slide.
In the embodiment of the present invention, can judge the slide detected whether meet preset rule (such as slide direction, one or more in distance or position), whether determine that this slide operates is can the first slide of carrying out of edit file for this.
Such as, when detecting that user is when sliding within the scope of editing interface, be defined as can the slide of edit file.When user is not when sliding within the scope of editing interface, be then defined as not being for can the operation carried out of edit file.
S103, according to this first slide, deleting can at least one element edited in edit file.
When the first slide being detected, then can delete can at least one element edited in edit file.Such as, have input in input frame in interface of input method " Hello, Xiao Ming ", detect the slide of user within the scope of input frame, can consider that deleting one or more can edit element, is adjusted to the information in input frame " Hello " this time.As the optional embodiment of one, terminal is before execution step S103, and can also obtain can the position of cursor in edit file; Correspondingly, in step S103, terminal is according to this first slide, and deleting can at least one element edited in edit file, can be: terminal according to the first slide, from can in edit file cursor position delete at least one element edited of cursor assigned direction.
Wherein, cursor for identifying the position at current place, terminal can editing interface input can edit file time, this cursor, for identifying the position of word, picture, symbol or the sound-content that will input, represents this cursor with the vertical line " | " in such as Fig. 2 usually.
As the optional embodiment of another kind, terminal, before execution step S103, can also determine the starting point of the first slide; Correspondingly, in step S103, terminal is according to this first slide, and deleting can at least one element edited in edit file, Ke Yiwei: terminal in edit file, can deleted at least one and can edit element from the starting point place of the first slide.
As the optional embodiment of another kind, terminal, before execution step S103, can also determine at least one in the glide direction of the first slide or sliding distance; Correspondingly, in step S103, terminal is according to the first slide, and deleting can at least one element edited in edit file, can be: according to the glide direction of the first slide or at least one of sliding distance that deletion can at least one can edit element in edit file.
In the embodiment of the present invention, the starting point of the first slide is the position coordinates that slide contacts with touch screen first, such as, and position during finger contact touch screen; The terminal of the first slide is the position coordinates that slide contacts when sliding off touch screen, such as, and the position contacted when leaving touch screen after finger input first slide; The sliding distance of the first slide is the relative distance between the position coordinates of this starting point and the position coordinates of this terminal; Wherein, terminal is when recording the sliding distance of this relative distance as the first slide, also can record starting point and the terminal of this sliding distance simultaneously, correspondingly, terminal is deleted according to this sliding distance can at least one element edited in edit file, can be specially, delete at least one element edited corresponding between this sliding distance starting point and terminal.
In the embodiment of the present invention, this first slide can be user for can the slide of arbitrary region input in editing interface, also can for user is for can at least one editing above element and input slide in edit file.
In the embodiment of the present invention, terminal is when detecting that user inputs for deleting the first slide can editing element, corresponding the to be deleted element edited can be added underscore or change dotted line word or other modes into the to be deleted element edited of reminding user, make user can adjust the glide direction of the first slide, sliding distance or starting point etc. in time, the corresponding element edited can be deleted at the end of user inputs the first slide.
For example, refer to Fig. 2, Fig. 2 is for can the schematic diagram of corresponding states of edit file when a kind of user that the embodiment of the present invention provides inputs the first slide, as shown in Figure 2, when terminal detection user inputs the first slide, acquisition can the position of cursor in edit file, and determine from least one element edited of this cursor assigned direction as unit to be deleted, the to be deleted element edited is adjusted by the first slide of input in time in order to make user, as shown in Figure 2, strikethrough can be added by the unit to be deleted determined, user can adjust the to be deleted element edited by the sliding distance that slide is suitable, when user terminates the first slide, when leaving from touch screen as pointed, the unit to be deleted that terminal deletion is determined.
In the method described by Fig. 1, terminal is can display can edit file in editing interface, and this can comprise at least one in edit file can edit element; And detect user can the first slide of edit file to this, according to this first slide, can delete can at least one element edited in edit file.Visible, the embodiment of the present invention can pass through the first slide edit file easily.
Refer to Fig. 3, Fig. 3 is the schematic flow sheet of the another kind of information edit method that the embodiment of the present invention provides.As shown in Figure 3, this information edit method can comprise the following steps.
S201, terminal are can display can edit file in editing interface, and this can comprise at least one in edit file can edit element;
S202, terminal detect user can the first slide of edit file to this;
S203, terminal are according to this first slide, and deleting this can at least one element edited in edit file;
In the embodiment of the present invention, the related content of step S201 to S203, can with reference to the associated description of the step S101 to S103 in foregoing invention embodiment, and the embodiment of the present invention is no longer set forth.
At least one element edited that this first slide correspondence of S204, terminal storage is deleted;
S205, terminal detect can the second slide of edit file to this;
S206, terminal, according to this second slide, can show at least one element edited of this storage in edit file.
In the embodiment of the present invention, this second slide, for the operation of the element edited undeleted preset, deleted element of editing to be recovered when can input this second slide when user is in edit file, just in situ can recover, namely show this and deletedly edit element.
As the optional embodiment of one, terminal can according to this second slide, the cursor position place of edit file can recover this storage of display or deleted and edit element.
As the optional embodiment of another kind, terminal can according to the second slide can show in edit file that store or deleted before at least one can edit element, export these and can edit default candidate unit corresponding to element, detect user for the replacement unit selected in this default candidate unit, can using this replacement unit as store or deleted at least one can edit element, can show in edit file, such as, that store or deleted at least one can edit element for " you are good ", then when the second slide being detected, can export " Hello ", if user selects this " Hello ", then terminal display can show " Hello " to replace storage or deleted " you are good " in edit file.
In the embodiment of the present invention, second slide can be the operation corresponding with the first slide, two slips that such as direction is contrary, when the slide of user's input accordingly can edit element for deleting when sliding to the right, when the slide that user inputs again slides left, the element edited deleted can be recovered to be presented at again can in edit file.
For example, refer to Fig. 4, Fig. 4 is that a kind of recovery that the embodiment of the present invention provides shows the deleted schematic diagram editing element, shown in Fig. 2 can after " you are good " with strikethrough in edit file delete, terminal storage deleted " you are good ", and when detecting that user inputs the second slide slided left, as shown in Figure 4, can in situ recover to show " you are good ".
In the method described by Fig. 2, terminal is can display can edit file in editing interface, and this can comprise at least one in edit file can edit element; And detect user can the first slide of edit file to this, according to this first slide, can delete can at least one element edited in edit file; Correspondingly, terminal can also store these at least one elements edited deleted, when the second slide being detected, these at least one elements edited deleted of display can be being recovered in edit file, visible, the embodiment of the present invention can pass through the first slide and the second slide edit file easily.
Refer to Fig. 5, Fig. 5 is the structural representation of a kind of terminal that the embodiment of the present invention provides.Wherein, the terminal shown in Fig. 5 can comprise with lower unit:
Display unit 310, for terminal can display can edit file in editing interface, this can comprise at least one in edit file can edit element;
Detecting unit 320, for detect user to display unit 310 show can the first slide of edit file;
Delete cells 330, for according to when detecting unit 320 detects the first slide, deleting can at least one element edited in edit file.
In the embodiment of the present invention, this terminal can be mobile phone, notebook, panel computer, electronic reader or other portable sets etc., and the embodiment of the present invention does not limit.
In the embodiment of the present invention, the information that terminal can input in editing interface is for can edit file, this edit file can can edit element for comprising at least one, and the information of at least one that can increase the new element edited or delete at least one element edited of wherein comprising.Concrete, this edit file can comprise at least one and can edit element, and this can edit element can be word, symbol, picture or voice; This can edit element can be the unit formed in units of single word, symbol, picture or voice, also can by least two words, at least two symbols, at least two pictures or at least two sections of voice and word, symbol, picture or voice be combined as the unit that unit forms.Such as, can be a picture is formed one can edit element, also can be that two pictures composition one of putting together can edit element; A word can be formed one and can edit element, also can be a word of two word compositions is formed one jointly can edit element.
Such as, can edit file can be to carry out increasing or deleting the text message (being presented at the text message in input frame or word document in note, input method) of word.The word comprised in text message or picture to edit element.Alternatively, picture, annex and sound-content etc. can also be comprised in text information.
In the embodiment of the present invention, can editing interface be used to show can the application interface of edit file.Wherein can edit file may be displayed in application interface, also can be presented in the sub-interface of application interface.Such as, whole interface of input method includes the part such as key interface, input frame, can edit file (text message of input) be presented in the sub-interface (input frame) of input method.
In the embodiment of the present invention, the slide of user can be detected by terminal Trackpad.Concrete, according to the signal intensity of the Trackpad detected (when user's finger contacts is to Trackpad, corresponding signal intensity can be produced, the change as voltage, resistance or light signal), the operation of user can be determined.When on Trackpad, the position of signal intensity is fixed, what determine to detect is to click or long by operation; When the position continuous moving of signal intensity on Trackpad, what determine to detect is slide.
In the embodiment of the present invention, can judge the slide detected whether meet preset rule (such as slide direction, one or more in distance or position), whether determine that this slide operates is can the first slide of carrying out of edit file for this.
Such as, when detecting that user is when sliding within the scope of editing interface, be defined as can the slide of edit file.When user is not when sliding within the scope of editing interface, be then defined as not being for can the operation carried out of edit file.
When detecting unit 320 detects the first slide, then can delete can at least one element edited in edit file.Such as, have input in input frame in interface of input method " Hello; Xiao Ming ", when detecting unit 320 detects the slide of user within the scope of input frame, can consider that deleting one or more can edit element, is adjusted to the information in input frame " Hello " this time.
See also Fig. 6, Fig. 6 is the structural representation of the another kind of terminal that the embodiment of the present invention provides.Wherein, the terminal shown in Fig. 6 is that terminal is as shown in Figure 5 optimized and obtains.Compared with the terminal shown in Fig. 5, the terminal shown in Fig. 6 can also comprise:
Acquiring unit 340, can the position of cursor in edit file for obtaining;
First slide of delete cells 330 specifically for detecting according to detecting unit 320, from can in edit file cursor position delete at least one element edited of cursor assigned direction.
Wherein, cursor for identifying the position at current place, terminal can editing interface input can edit file time, this cursor, for identifying the position of word, picture, symbol or the sound-content that will input, represents this cursor with the vertical line " | " in such as Fig. 2 usually.
As the optional embodiment of one, the terminal shown in Fig. 6 can also comprise:
First determining unit 350, for determining the starting point of this first slide;
Delete cells 330 specifically in edit file, can deleting at least one and can edit element at this from the starting point place of the first slide.
As the optional embodiment of another kind, the terminal shown in Fig. 6 can also comprise:
Second determining unit 360, for determining at least one in the glide direction of the first slide or sliding distance;
Delete cells 330 is specifically for according to the glide direction of the first slide or at least one of sliding distance, and deletion can at least one can edit element in edit file.
In the embodiment of the present invention, the starting point of the first slide is the position coordinates that slide contacts with touch screen first, such as, and position during finger contact touch screen; The terminal of the first slide is the position coordinates that slide contacts when sliding off touch screen, such as, and the position contacted when leaving touch screen after finger input first slide; The sliding distance of the first slide is the relative distance between the position coordinates of this starting point and the position coordinates of this terminal; Wherein, terminal is when recording the sliding distance of this relative distance as the first slide, also can record starting point and the terminal of this sliding distance simultaneously, correspondingly, delete cells 330 is deleted according to this sliding distance can at least one element edited in edit file, can be specially, delete at least one element edited corresponding between this sliding distance starting point and terminal.
In the embodiment of the present invention, detecting unit is when detecting that user inputs for deleting the first slide can editing element, can the to be deleted element edited be added underscore by adding device is corresponding or changes dotted line word or other modes into the to be deleted element edited of reminding user, make user can adjust the glide direction of the first slide, sliding distance or starting point etc. in time, the corresponding element edited can be deleted at the end of user inputs the first slide.
For example, refer to Fig. 2, Fig. 2 is for can the schematic diagram of corresponding states of edit file when a kind of user that the embodiment of the present invention provides inputs the first slide, as shown in Figure 2, when detecting unit detection user inputs the first slide, acquisition can the position of cursor in edit file, and determine from least one element edited of this cursor assigned direction as the to be deleted element edited, the to be deleted element edited is adjusted by the first slide of input in time in order to make user, as shown in Figure 2, adding device can add strikethrough by the unit to be deleted determined, user can adjust the to be deleted element edited by the sliding distance that slide is suitable, when user terminates the first slide, when leaving from touch screen as pointed, the unit to be deleted that terminal deletion is determined.
In the embodiment of the present invention, the terminal shown in Fig. 6 can also comprise:
Storage unit 370, for storing at least one element edited that the first slide correspondence is deleted;
Correspondingly, detecting unit 320, also for detecting can the second slide of edit file; Display unit 330, also for according to this second slide, can show at least one in edit file can edit element at this.
In the embodiment of the present invention, the operation that the first slide or the second slide can preset for terminal, such as, be used to indicate with the slide of desired guiding trajectory and other default slide that terminal performs setting procedure.
In the embodiment of the present invention, this second slide, for the operation of the element edited undeleted preset, deleted element of editing to be recovered when can input this second slide when user is in edit file, just in situ can recover, namely show this and deletedly edit element.
As the optional embodiment of one, display unit 310 can according to this second slide, the cursor position place of edit file can recover this storage of display or deleted and edit element.
As the optional embodiment of another kind, display unit 310 can according to the second slide can show in edit file that store or deleted before at least one can edit element, export these and can edit default candidate unit corresponding to element, detecting unit detects user for the replacement unit selected in this default candidate unit, can using this replacement unit as store or deleted at least one can edit element, can shown in edit file by display unit, such as, that storage unit 370 stores or deleted at least one can edit element for " you are good ", then when the second slide being detected, can export " Hello ", if user selects this " Hello ", then terminal display can show " Hello " to replace storage or deleted " you are good " in edit file.
In the embodiment of the present invention, second slide can be the operation corresponding with the first slide, two slips that such as direction is contrary, when the slide of user's input accordingly can edit element for deleting when sliding to the right, when the slide that user inputs again slides left, the element edited deleted can be recovered to be presented at again can in edit file.
For example, refer to Fig. 4, Fig. 4 is that a kind of recovery that the embodiment of the present invention provides shows the deleted schematic diagram editing element, shown in Fig. 2 can after " you are good " with strikethrough in edit file delete, storage unit 370 stores deleted " you are good ", and when detecting unit detects that user inputs the second slide slided left, as shown in Figure 4, display unit can in situ recover to show " you are good ".
In the terminal shown in Fig. 5 and Fig. 6, display unit can terminal can display can edit file in editing interface, and this can comprise at least one in edit file can edit element; Detecting unit can detect user to display unit show can the first slide of edit file, delete cells can according to this first slide, and deleting can at least one element edited in edit file.Visible, the terminal shown in Fig. 5 and Fig. 6 can edit file easily.Further, in terminal shown in Fig. 6, storage unit can also be comprised, for storing at least one element edited that delete cells is deleted according to the first slide correspondence, and detecting unit can detect can the second slide of edit file to this, and according to this second slide, at least one element edited of cell stores can be shown in edit file at this, visible, terminal shown in Fig. 6 can be recovered deleted easily and edit element, further improves the convenience of information editing.
Refer to Fig. 7, Fig. 7 is the structural representation of another terminal that the embodiment of the present invention provides, as shown in Figure 7, this terminal can comprise at least one processor 401, such as CPU, input media 402, storer 403, at least one communication bus 404, output unit 405.Wherein, communication bus 404 is for realizing the communication connection between these assemblies.Wherein, output unit 405 can be display screen, and input media 402 can comprise the first slide or the second slide that detect user's input.Storer 403 can be high-speed RAM storer, also can be non-labile storer (non-volatilememory), such as at least one magnetic disk memory.Storer 403 can also be optionally that at least one is positioned at the memory storage away from aforementioned processor 401.Wherein, processor 401 can composition graphs 5 and the terminal described by Fig. 6, stores batch processing code in storer 403, and processor 401 calls the program code stored in storer 403, for performing following operation:
By output unit 405 terminal can display can edit file in editing interface, this can comprise at least one in edit file can edit element;
Detecting user by input media 402 can the first slide of edit file to this;
According to this first slide, deleting this can at least one element edited in edit file.
In the embodiment of the present invention, the information that terminal can input in editing interface is for can edit file, this edit file can can edit element for comprising at least one, and the information of at least one that can increase the new element edited or delete at least one element edited of wherein comprising.Concrete, this edit file can comprise at least one and can edit element, and this can edit element can be word, symbol, picture or voice; This can edit element can be the unit formed in units of single word, symbol, picture or voice, also can by least two words, at least two symbols, at least two pictures or at least two sections of voice and word, symbol, picture or voice be combined as the unit that unit forms.Such as, can be a picture is formed one can edit element, also can be that two pictures composition one of putting together can edit element; A word can be formed one and can edit element, also can be a word of two word compositions is formed one jointly can edit element.
Such as, can edit file can be to carry out increasing or deleting the text message (being presented at the text message in input frame or word document in note, input method) of word.The word comprised in text message or picture to edit element.Alternatively, picture, annex and sound-content etc. can also be comprised in text information.
In the embodiment of the present invention, can editing interface be used to show can the application interface of edit file.Wherein can edit file may be displayed in application interface, also can be presented in the sub-interface of application interface.Such as, whole interface of input method includes the part such as key interface, input frame, can edit file (text message of input) be presented in the sub-interface (input frame) of input method.In the embodiment of the present invention, the slide of user can be detected by terminal Trackpad.Concrete, according to the signal intensity of the Trackpad detected (when user's finger contacts is to Trackpad, corresponding signal intensity can be produced, the change as voltage, resistance or light signal), the operation of user can be determined.When on Trackpad, the position of signal intensity is fixed, what determine to detect is to click or long by operation; When the position continuous moving of signal intensity on Trackpad, what determine to detect is slide.
In the embodiment of the present invention, can judge the slide detected whether meet preset rule (such as slide direction, one or more in distance or position), whether determine that this slide operates is can the first slide of carrying out of edit file for this.
Such as, when detecting that user is when sliding within the scope of editing interface, be defined as can the slide of edit file.When user is not when sliding within the scope of editing interface, be then defined as not being for can the operation carried out of edit file.
When processor 401 detects the first slide, then can delete can at least one element edited in edit file.Such as, have input in input frame in interface of input method " Hello, Xiao Ming ", detect the slide of user within the scope of input frame, can consider that deleting one or more can edit element, is adjusted to the information in input frame " Hello " this time.
In the embodiment of the present invention, processor 401 calls the program code in storer 403, can also perform following operation:
Obtaining this can the position of cursor in edit file;
Wherein, processor 401 calls the program code in storer 403, according to this first slide, deleting this can at least one element edited in edit file, can be specially: according to this first slide, from this can in edit file cursor position delete at least one element edited of this cursor assigned direction.
Wherein, cursor for identifying the position at current place, terminal can editing interface input can edit file time, this cursor, for identifying the position of word, picture, symbol or the sound-content that will input, represents this cursor with the vertical line " | " in such as Fig. 2 usually.
In the embodiment of the present invention, processor 401 calls the program code in storer 403, can also perform following operation:
Determine the starting point of this first slide;
Wherein, processor 401 calls the program code in storer 403, and according to this first slide, deleting this can at least one element edited in edit file, can be specially: in edit file, can be deleted at least one can edit element from the starting point place of this first slide at this.
In the embodiment of the present invention, processor 401 calls the program code in storer 403, can also perform following operation:
Determine at least one in the glide direction of this first slide or sliding distance;
Wherein, processor 401 calls the program code in storer 403, according to this first slide, deleting this can at least one element edited in edit file, can be specially: according to the glide direction of this first slide or at least one of sliding distance, delete that this can at least one can edit element in edit file.
In the embodiment of the present invention, the starting point of the first slide is the position coordinates that slide contacts with touch screen first, such as, and position during finger contact touch screen; The terminal of the first slide is the position coordinates that slide contacts when sliding off touch screen, such as, and the position contacted when leaving touch screen after finger input first slide; The sliding distance of the first slide is the relative distance between the position coordinates of this starting point and the position coordinates of this terminal; Wherein, terminal is when recording the sliding distance of this relative distance as the first slide, also can record starting point and the terminal of this sliding distance simultaneously, correspondingly, processor 401 is deleted according to this sliding distance can at least one element edited in edit file, can be specially, delete at least one element edited corresponding between this sliding distance starting point and terminal.
For example, refer to Fig. 2, Fig. 2 is for can the schematic diagram of corresponding states of edit file when a kind of user that the embodiment of the present invention provides inputs the first slide, as shown in Figure 2, processor 401 detects user when inputting the first slide, acquisition can the position of cursor in edit file, and determine from least one element edited of this cursor assigned direction as unit to be deleted, the to be deleted element edited is adjusted by the first slide of input in time in order to make user, as shown in Figure 2, strikethrough can be added by the unit to be deleted determined, user can adjust the to be deleted element edited by the sliding distance that slide is suitable, when user terminates the first slide, when leaving from touch screen as pointed, the unit to be deleted that terminal deletion is determined.
In the embodiment of the present invention, processor 401 is when detecting that user inputs for deleting the first slide can editing element, corresponding the to be deleted element edited can be added underscore or change dotted line word or other modes into the to be deleted element edited of reminding user, make user can adjust the glide direction of the first slide, sliding distance or starting point etc. in time, the corresponding element edited can be deleted at the end of user inputs the first slide.
In the embodiment of the present invention, processor 401 calls the program code in storer 403, can also perform following operation:
Store that this first slide correspondence deletes described at least one can edit element;
Detecting can the second slide of edit file to this;
According to this second slide, at least one can edit element can to show this in edit file at this.
In the embodiment of the present invention, the operation that the first slide or the second slide can preset for terminal, such as, be used to indicate with the slide of desired guiding trajectory and other default slide that terminal performs setting procedure.
In the embodiment of the present invention, this second slide, for the operation of the element edited undeleted preset, deleted element of editing to be recovered when can input this second slide when user is in edit file, just in situ can recover, namely show this and deletedly edit element.
As the optional embodiment of one, processor 401 can according to this second slide, the cursor position place of edit file can recover this storage of display or deleted and edit element.
As the optional embodiment of another kind, processor 401 can according to the second slide can show in edit file that store or deleted before at least one can edit element, export these and can edit default candidate unit corresponding to element, detect user for the replacement unit selected in this default candidate unit, can using this replacement unit as store or deleted at least one can edit element, can show in edit file, such as, that processor 401 stores or deleted at least one can edit element for " you are good ", then when the second slide being detected, can export " Hello ", if user selects this " Hello ", then terminal display can show " Hello " to replace storage or deleted " you are good " in edit file.
In the embodiment of the present invention, second slide can be the operation corresponding with the first slide, two slips that such as direction is contrary, when the slide of user's input accordingly can edit element for deleting when sliding to the right, when the slide that user inputs again slides left, the element edited deleted can be recovered to be presented at again can in edit file.
For example, refer to Fig. 4, Fig. 4 is that a kind of recovery that the embodiment of the present invention provides shows the deleted schematic diagram editing element, shown in Fig. 2 can after " you are good " with strikethrough in edit file delete, terminal storage deleted " you are good ", and when detecting that user inputs the second slide slided left, as shown in Figure 4, can in situ recover to show " you are good ".
Concrete, the terminal introduced in the present embodiment can implement the part or all of flow process in the information edit method embodiment of composition graphs 1 to Fig. 4 of the present invention introduction.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention terminal or equipment or subelement can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can carry out the device-dependent hardware of command terminal by program to have come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, ROM (read-only memory) (Read-OnlyMemory, ROM), random access device (RandomAccessMemory, RAM), disk or CD etc.
Above to embodiments providing a kind of information edit method and terminal is described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. an information edit method, is characterized in that, comprising:
Terminal can display can edit file in editing interface, describedly can comprise at least one in edit file and can edit element;
Detect user to described can the first slide of edit file;
According to described first slide, delete described can at least one element edited in edit file.
2. method according to claim 1, is characterized in that, described method also comprises:
Obtain described can the position of cursor in edit file;
Described according to described first slide, delete described can comprising by least one element edited in edit file:
According to described first slide, from described at least one element edited can deleting described cursor assigned direction the position of cursor described in edit file.
3. method according to claim 1, is characterized in that, described method also comprises:
Determine the starting point of described first slide;
Described according to described first slide, delete described can comprising by least one element edited in edit file:
In edit file, can be deleted at least one and can edit element from the starting point place of described first slide described.
4. method according to claim 1, is characterized in that, described method also comprises:
Determine at least one in the glide direction of described first slide or sliding distance;
Described according to described first slide, delete described can comprising by least one element edited in edit file:
According to the described glide direction of the first slide or at least one of sliding distance, delete described can at least one can edit element in edit file.
5. the method according to any one of Claims 1-4, is characterized in that, described method also comprises:
Store described first slide correspondence delete described at least one can edit element;
Detect to described can the second slide of edit file;
According to described second slide, described can in edit file display described at least one can edit element.
6. a terminal, is characterized in that, comprising:
Display unit, for terminal can display can edit file in editing interface, describedly can comprise at least one in edit file and can edit element;
Detecting unit, for detect user to described display unit show can the first slide of edit file;
Delete cells, for the first slide detected according to described detecting unit, delete described can at least one element edited in edit file.
7. terminal according to claim 1, is characterized in that, described terminal also comprises:
Acquiring unit, for obtain described can the position of cursor in edit file;
First slide of described delete cells specifically for detecting according to described detecting unit, from described at least one element edited can deleting described cursor assigned direction the position of cursor described in edit file.
8. terminal according to claim 1, is characterized in that, described terminal also comprises:
First determining unit, for determining the starting point of described first slide;
Described delete cells specifically in edit file, can deleting at least one and can edit element described from the starting point place of described first slide.
9. terminal according to claim 1, is characterized in that, described terminal also comprises:
Second determining unit, for determining at least one in the glide direction of described first slide or sliding distance;
Described delete cells specifically for according to the described glide direction of the first slide or at least one of sliding distance, delete described can at least one can edit element in edit file.
10. the terminal according to any one of claim 6 to 9, is characterized in that, described terminal also comprises:
Storage unit, for storing described in described first slide correspondence deletion, at least one can edit element;
Described detecting unit, also for detect to described can the second slide of edit file;
Described display unit, also for according to described second slide, described can in edit file display described at least one can edit element.
CN201510530285.4A 2015-08-26 2015-08-26 Information editing method and terminal Pending CN105183310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510530285.4A CN105183310A (en) 2015-08-26 2015-08-26 Information editing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510530285.4A CN105183310A (en) 2015-08-26 2015-08-26 Information editing method and terminal

Publications (1)

Publication Number Publication Date
CN105183310A true CN105183310A (en) 2015-12-23

Family

ID=54905421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510530285.4A Pending CN105183310A (en) 2015-08-26 2015-08-26 Information editing method and terminal

Country Status (1)

Country Link
CN (1) CN105183310A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506130A (en) * 2017-07-17 2017-12-22 维沃移动通信有限公司 A kind of word delet method and mobile terminal
CN107943388A (en) * 2017-11-14 2018-04-20 口碑(上海)信息技术有限公司 Information deletion method and device
WO2019120192A1 (en) * 2017-12-21 2019-06-27 维沃移动通信有限公司 Method for editing text, and mobile device
CN112612400A (en) * 2020-12-28 2021-04-06 维沃移动通信有限公司 Text content processing method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929485A (en) * 2012-10-30 2013-02-13 广东欧珀移动通信有限公司 Character input method and device
CN102981765A (en) * 2012-11-26 2013-03-20 中兴通讯股份有限公司 Text processing method and terminal
WO2013134995A1 (en) * 2012-03-15 2013-09-19 中兴通讯股份有限公司 Method and device for deleting area display contents and input words
CN104169862A (en) * 2014-02-19 2014-11-26 华为技术有限公司 Information processing method and terminal equipment
CN104778006A (en) * 2015-03-31 2015-07-15 深圳市万普拉斯科技有限公司 Information editing method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013134995A1 (en) * 2012-03-15 2013-09-19 中兴通讯股份有限公司 Method and device for deleting area display contents and input words
CN102929485A (en) * 2012-10-30 2013-02-13 广东欧珀移动通信有限公司 Character input method and device
CN102981765A (en) * 2012-11-26 2013-03-20 中兴通讯股份有限公司 Text processing method and terminal
WO2014079263A1 (en) * 2012-11-26 2014-05-30 中兴通讯股份有限公司 Method and terminal for text processing
CN104169862A (en) * 2014-02-19 2014-11-26 华为技术有限公司 Information processing method and terminal equipment
CN104778006A (en) * 2015-03-31 2015-07-15 深圳市万普拉斯科技有限公司 Information editing method and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506130A (en) * 2017-07-17 2017-12-22 维沃移动通信有限公司 A kind of word delet method and mobile terminal
WO2019015581A1 (en) * 2017-07-17 2019-01-24 维沃移动通信有限公司 Text deletion method and mobile terminal
CN107506130B (en) * 2017-07-17 2022-03-04 维沃移动通信有限公司 Character deleting method and mobile terminal
CN107943388A (en) * 2017-11-14 2018-04-20 口碑(上海)信息技术有限公司 Information deletion method and device
WO2019120192A1 (en) * 2017-12-21 2019-06-27 维沃移动通信有限公司 Method for editing text, and mobile device
US11340777B2 (en) 2017-12-21 2022-05-24 Vivo Mobile Communication Co., Ltd. Method for editing text and mobile terminal
CN112612400A (en) * 2020-12-28 2021-04-06 维沃移动通信有限公司 Text content processing method and electronic equipment
CN112612400B (en) * 2020-12-28 2022-05-24 维沃移动通信有限公司 Text content processing method and electronic equipment

Similar Documents

Publication Publication Date Title
CN105511784B (en) A kind of data inputting method based on pressure detecting, device and mobile terminal
WO2017054623A1 (en) Method and device for starting application program, and electronic device
EP3002664A1 (en) Text processing method and touchscreen device
WO2012151934A1 (en) Method, device and terminal for deleting a character on terminal with touch screen
CN102981765A (en) Text processing method and terminal
CN102520821B (en) Content editing device and method for touch screen
CN102591919B (en) A kind of two-dimentional retrieving contacts method and equipment thereof
CN107861932B (en) Text editing method, device and system and terminal equipment
CN105183310A (en) Information editing method and terminal
US20160092421A1 (en) Text Editing Method and Apparatus, and Server
CN105302458A (en) Message display method and apparatus
EP2650797A2 (en) Electronic device and method for annotating data
CN104572348A (en) Terminal
CN103164162A (en) Text application method and device of hand inputting
CN104794412A (en) Information input method and device and mobile terminal
CN105468133B (en) Touch processing method and device
WO2022156668A1 (en) Information processing method and electronic device
CN105739781A (en) Method and system for quickly and accurately positioning character cursor through pressure touch technology
CN105589570B (en) A kind of method and apparatus handling input error
CN107395487A (en) Message updating method and system
CN113253883A (en) Application interface display method and device and electronic equipment
CN104182479A (en) Method and device for processing information
CN105183707A (en) Content editing method and terminal
CN112558853B (en) Session message processing method and device, electronic device and storage medium
CN104808895A (en) Icon arranging method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151223