A kind of information processing method and electronic equipmentTechnical field
The present invention relates to electronic technology field, in particular to a kind of information processing method and electronic equipment.
Background technique
With the continuous development of science and technology, electronic equipment makes rapid progress, and provides keyboard, voice, touch-control etc. for userVarious input modes, to realize the human-computer interaction of user and electronic equipment.Especially present touch control e equipment, touch-control are defeatedEnter to have become the core input mode of electronic equipment.
Nowadays, user can input the contents such as character, picture by the touch screen of electronic equipment, and by defeatedThe input content entered is edited, such as: dummy keyboard is shown on the touch screen of smart phone, user can pass through touch-controlDummy keyboard inputs " I plain Chinese ", and to " element " in deletion " my plain Chinese ".
However, present inventor during technical solution, it is found that the prior art is deposited in realizing the embodiment of the present applicationIn following technical problem: show the input frame of input content from dummy keyboard in different touch display areas, user is editingWhen input content on electronic equipment, the cursor on first touch-control input frame is needed, is moved the cursor in the input for needing to editThen Rong Hou returns the corresponding edit key of touch-control on dummy keyboard, the discontinuous and rate of operation is low, such as: user wants" element " deleted in " my plain Chinese " then touches then user needs first touch-control input frame to position a cursor over after " element "Delete button on control dummy keyboard could delete " element ".As it can be seen that electronic equipment is for input content offer in the prior artThere are inconvenient technical problems for edit operation.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, for solving electronic equipment in the prior artThere are inconvenient technical problems for the edit operation provided for input content, improve 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 the electronic equipment includes oneTouch-display unit, which comprises
At least one input content is shown in the touch-display unit;
Obtain slide of the operating body in the touch-display unit;
Judge the starting touch point of the slide whether in corresponding first display of at least one described input contentIn region and whether the termination touch point of the slide is in second display area different from first display area,Obtain the first judging result;
When first judging result, which is, is, the first edit instruction is generated and executes, described at least one is defeated to editEnter content.
Optionally, described to generate and execute the first edit instruction, it is specifically as follows:
The first edit instruction for deleting at least one input content is generated and executes, to delete described at least oneA input content;Or
The first edit instruction for shearing at least one input content is generated and executes, it is described to shear and rememberAt least one input content.
Optionally, the input content includes: character and/or picture.
Optionally, before the slide obtained in the touch-display unit, the method also includes: responseFor choosing the selection operation of at least one input content, on first display area display with it is described at least oneThe corresponding mapping icon of input content allows the operating body to operate described at least one by operating the mapping iconA input content.
Optionally, when first judging result is no, the method also includes:
Judge the starting touch point whether in second display area and whether the termination touch point is describedIn first display area, the second judging result is obtained;
When second judging result, which is, is, the second edit instruction is generated and executes, it will an at least input contentReplace with content to be pasted.
The embodiment of the present application also provides a kind of electronic equipment, and the electronic equipment includes the electricity with touch-display unitSub- equipment further include:
Output unit, for showing at least one input content in the touch-display unit;
Acquiring unit, for obtaining slide of the operating body in the touch-display unit;
Judging unit, for judging the starting touch point of the slide whether at least one described input content pairIn the first display area answered and whether the slide terminates touch point different from first display area theIn two display areas, the first judging result is obtained;
Execution unit, for the first edit instruction being generated and executing, with editor institute when first judging result, which is, isState at least one input content.
Optionally, the execution unit is specifically used for:
The first edit instruction for deleting at least one input content is generated and executes, to delete described at least oneA input content;Or
The first edit instruction for shearing at least one input content is generated and executes, it is described to shear and rememberAt least one input content.
Optionally, the input content includes: character and/or picture.
Optionally, the electronic equipment further include: map unit, for being obtained in the touch-display unit describedBefore slide, the selection operation for choosing at least one input content is responded, on first display areaIt shows mapping icon corresponding at least one described input content, allows the operating body by operating the mapping graphIt marks to operate at least one described input content.
Optionally, the judging unit is also used to: when first judging result is no, judging the starting touch pointWhether in second display area and the termination touch point is whether in first display area, the second judgement is obtainedAs a result;
The execution unit is also used to generate and execute the second edit instruction when second judging result, which is, is, willAn at least input content replaces with content to be pasted.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effectsFruit:
1, by obtaining the slide of operating body in the touch-display unit for show at least one input content, andJudge slide starting touch point whether in corresponding first display area and the termination touch point of slide whetherIt is in the second different display area of the first display area, generates and execute the first edit instruction when the judgment result is yes,To edit at least one input content, after allowing user to choose input content, continuously from where input contentOne display area slides into the second display area quickly to edit input content, to solve electronic equipment in the prior artThere are inconvenient technical problems for the edit operation provided for input content, improve the efficiency of editor's input content.
2, when user chooses at least one input content, on corresponding first display area of at least one input contentShow corresponding with input content mapping icon, allow user to pass through the operation mapping icon come described in operating at leastOne input content, avoids and operates in the input content of gap very little, and reducing operation difficulty, the user experience is improved.
3, whether electronic equipment also judges the starting touch point of slide in the second display area and slideTouch point is terminated whether in the first display area, generates and execute the second edit instruction when the judgment result is yes, it will at leastOne input content replaces with content to be pasted, allows users to a quick replacement at least input content, further improves pairThe editorial efficiency of input content has more preferably user experience.
Detailed description of the invention
Fig. 1 is a kind of flow diagram for information processing method that the embodiment of the present application one provides;
Fig. 2 is the mapping graph target display schematic diagram that the embodiment of the present application one provides;
Fig. 3 is the process schematic for the first editor's input content that the embodiment of the present application one provides;
Fig. 4 is the process schematic for second of editor's input content that the embodiment of the present application one provides;
Fig. 5 is the structural block diagram for a kind of electronic equipment that the embodiment of the present application two provides.
Specific embodiment
In technical solution provided by the embodiments of the present application, by being shown in the touch-control for showing at least one input contentThe slide of operating body is obtained on unit, and judges the starting touch point of slide whether in corresponding first display areaIn and the termination touch point of slide whether be in the second different display area of the first display area, be in judging resultThe first edit instruction is generated and executed when being, to edit at least one input content, user is allowed to choose input contentAfterwards, it continuously slides into the second display area quickly to edit input content from the first display area where input content,The edit operation provided to solve electronic equipment in the prior art for input content there are inconvenient technical problem,Improve the efficiency of editor's input content.
With reference to the accompanying drawing to main realization principle, specific embodiment and its correspondence of the embodiment of the present application technical solutionThe beneficial effect that can reach is explained in detail.
Embodiment one
Referring to FIG. 1, the embodiment of the present application provides a kind of information processing method, it is applied to an electronic equipment, the electronicsEquipment includes a touch-display unit, which comprises
S101: at least one input content is shown in the touch-display unit;
S102: slide of the operating body in the touch-display unit is obtained;
S103: judge the starting touch point of the slide whether in described at least one input content corresponding firstIn display area and whether the termination touch point of the slide is in second viewing area different from first display areaIn domain, the first judging result is obtained;
S104: when first judging result, which is, is, generating and execute the first edit instruction, to edit described at least oneA input content.
In the specific implementation process, information processing method provided by the present application specifically can be applied to mobile phone, pad, touchNotebook computer etc. includes touch-display unit, that is, touch screen electronic equipment.User can input character by touch-display unitAnd/or the contents such as picture, corresponding electronic equipment execution S101 show at least one of user's input in touch-display unitInput content.At least one input content specifically may include character, such as: letter, number, word and symbol;Also it may include figurePiece can also include character and picture.
It is smaller at least one input content of the lesser touch screen of size, display, as: being shown on smart phoneCharacter width is usually less than the width of a finger, and touch control operation difficulty is larger and inconvenient, especially moves between charactersTiny cursor.In order to reduce the difficulty of touch control operation, information processing method provided by the embodiments of the present application shows existing in touch-controlWhen showing at least one input content on having, detect in touch-display unit for showing the touching in the input frame of input contentControl operation, responds the selection operation for choosing at least one input content, at least one of is selecting input with userMapping icon corresponding at least one described input content is shown on corresponding first display area of content, so that user graspsAt least one input content can be operated by operation mapping icon by making body.
Referring to FIG. 2, for example: shown in the input frame of touch-display unit user input content " I element ChinaPeople " subsequently detects user and carries out selection operation on input frame and choose " element " in " me plain Chinese ", then electronic equipmentThen one mapping icon of display such as " bubble ", grasps user directly on corresponding first display area of " element " word accordinglyMake to be somebody's turn to do " bubble " to operate at least one input content " element " in its choosing, such as: dragging " bubble " being arrived into " people " below, accordingly" element " will also drag to " people " below.Certainly, the embodiment of the present application can not also show that the mapping icon directly executes S102.
Electronic equipment continues to execute S103 after executing S102 and obtaining slide of the operating body in touch-display unitJudge the starting touch point of slide got whether in corresponding first display area of at least one input content andThe termination touch point of the slide obtains the first judgement whether in second display area different from the first display areaAs a result.Specifically, the first display area corresponding at least one input content may include at least one input content placeDisplay area, corresponding second display area does not include the display area where at least one input content then.When user notBe when starting to slide and slide into the second display area comprising the first display area where at least one input content,The first judging result that S103 is obtained is no;When user starts comprising the first display area where at least one input contentWhen sliding and sliding into the second display area, the first judging result that S103 is obtained is yes.
In the specific implementation process, the embodiment of the present application executes different subsequent behaviour for the first different judging resultsMake.It when the first judging result that S103 is obtained, which is, is, executes S104 and generates and execute the first edit instruction, at least with editor instituteOne input content.Specifically, electronic equipment can be generated and execute for deleting at least one input content firstEdit instruction, to delete at least one described input content;Or it generates and executes for shearing at least one described inputThe first edit instruction held, to shear and remember at least one described input content.
Referring to FIG. 3, for example: the content that user inputs is shown in the input frame of touch-display unit, and " my element is ChineseWhen people ", the slide that electronic equipment detects is as shown in Figure 3: starting touch point is in " element " corresponding A point, termination touch pointB point other than input frame, electronic equipment further judge the starting touch point of the slide in the first display area,And the termination touch point of the slide, in the second display area, electronic equipment generates and executes deletion instruction and deletes at this time" element " or generate and execute shearing instruction shear and remember " element " will " element " from input content delete and will " element " write-inIt is kept in shear plate.It should be noted that the embodiment of the present application generates and the first edit instruction executed is not limited to " delete "" shearing " instruction can also be that " search ", " sharing " etc. instruct.
When the judging result of S103 is no, whether the embodiment of the present application further judges the starting touch point describedIn second display area and whether the termination touch point is in first display area, obtains the second judging result;AndSecond judging result is when being, to generate and execute the second edit instruction, and an at least input content is replaced with to viscousPaste content.Such as: when showing content " my the plain Chinese " of user's input in the input frame of touch-display unit, electronics is setThe standby slide detected is as shown in Figure 4: termination touch point is in " element " corresponding A point, starting touch point other than input frameB point, electronic equipment further judge the starting touch point of the slide in the second display area, and the sliding graspThe termination touch point of work in the first display area, at this time electronic equipment then will an at least input content " element " replace with it is to be pastedContent "Yes".
In the above-described embodiments, by obtaining operating body in the touch-display unit for show at least one input contentSlide, and judge the starting touch point of slide whether in corresponding first display area and the end of slideOnly whether touch point is in the second different display area of the first display area, generates when the judgment result is yes and executesOne edit instruction, to edit at least one input content, after allowing user to choose input content, continuously out of inputThe first display area where holding slides into the second display area quickly to edit input content, to solve the prior artThere are inconvenient technical problems for the edit operation that input content provides for middle electronic equipment, improve editor's input contentEfficiency.
Further, it when user chooses at least one input content, is shown at least one input content corresponding firstShow and show mapping icon corresponding with the input content on region, user is operated by operating the mapping iconAt least one described input content, avoids and operates in the input content of gap very little, reduces operation difficulty and improves useFamily experience.
Further, electronic equipment also judges whether the starting touch point of slide in the second display area and slidesThe termination touch point of operation generates when the judgment result is yes and executes the second edit instruction whether in the first display area,An at least input content is replaced with into content to be pasted, a quick replacement at least input content is allowed users to, further mentionsThe high editorial efficiency to input content, has more preferably user experience.
Embodiment two
Referring to FIG. 5, the embodiment of the present application provides a kind of electronic equipment, the electronic equipment includes showing list with touch-controlMember, the electronic equipment further include:
Output unit 501, for showing at least one input content in the touch-display unit;
Acquiring unit 502, for obtaining slide of the operating body in the touch-display unit;
Judging unit 503, for judging the starting touch point of the slide whether at least one described inputHold in corresponding first display area and whether the termination touch point of the slide is different from first display areaThe second display area in, obtain the first judging result;
Execution unit 504, for generating and executing the first edit instruction when first judging result, which is, is, to compileAt least one input content described in volume.
In the specific implementation process, the execution unit 504 is specifically used for: generating and executes for deleting described at least oneFirst edit instruction of a input content, to delete at least one described input content;Alternatively, generating and executing for shearingThe first edit instruction of at least one input content is stated, to shear and remember at least one described input content.Optionally, describedInput content includes: character and/or picture.
In the specific implementation process, the electronic equipment further include: map unit 505, for obtaining the touching describedBefore controlling the slide on display unit, the selection operation for choosing at least one input content is responded, describedMapping icon corresponding at least one described input content is shown on first display area, and the operating body is passed throughThe mapping icon is operated to operate at least one described input content.
In the specific implementation process, the judging unit 503 is also used to: when first judging result is no, judgementWhether the starting touch point is in second display area and whether the termination touch point is in first display areaIn, obtain the second judging result;The execution unit is also used to generate when second judging result, which is, is and execute secondAn at least input content is replaced with content to be pasted by edit instruction.
By one or more technical solutions in the embodiment of the present application, following one or more technology effects may be implementedFruit:
1, by obtaining the slide of operating body in the touch-display unit for show at least one input content, andJudge slide starting touch point whether in corresponding first display area and the termination touch point of slide whetherIt is in the second different display area of the first display area, generates and execute the first edit instruction when the judgment result is yes,To edit at least one input content, after allowing user to choose input content, continuously from where input contentOne display area slides into the second display area quickly to edit input content, to solve electronic equipment in the prior artThere are inconvenient technical problems for the edit operation provided for input content, improve the efficiency of editor's input content.
2, when user chooses at least one input content, on corresponding first display area of at least one input contentShow corresponding with input content mapping icon, allow user to pass through the operation mapping icon come described in operating at leastOne input content, avoids and operates in the input content of gap very little, and reducing operation difficulty, the user experience is improved.
3, whether electronic equipment also judges the starting touch point of slide in the second display area and slideTouch point is terminated whether in the first display area, generates and execute the second edit instruction when the judgment result is yes, it will at leastOne input content replaces with content to be pasted, allows users to a quick replacement at least input content, further improves pairThe editorial efficiency of input content has more preferably user experience.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer programProduct.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present inventionApply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) producesThe form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program productFigure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructionsThe combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programsInstruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produceA raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for realThe device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spyDetermine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram orThe function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that countingSeries of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer orThe instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram oneThe step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program instructions of information processing method in the embodiment of the present application can be stored inCD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions quilt corresponding with information processing method in storage mediumOne electronic equipment reads or is performed, and includes the following steps:
At least one input content is shown in the touch-display unit;
Obtain slide of the operating body in the touch-display unit;
Judge the starting touch point of the slide whether in corresponding first display of at least one described input contentIn region and whether the termination touch point of the slide is in second display area different from first display area,Obtain the first judging result;
When first judging result, which is, is, the first edit instruction is generated and executes, described at least one is defeated to editEnter content.
Optionally, the generation and execute the first edit instruction, be specifically as follows: generating and execute for delete it is described extremelyFirst edit instruction of a few input content, to delete at least one described input content;Alternatively, generating and executing for cuttingThe first edit instruction of at least one input content is cut, to shear and remember at least one described input content.
Optionally, the input content includes: character and/or picture.
Optionally, before the slide obtained in the touch-display unit, the method also includes: responseFor choosing the selection operation of at least one input content, on first display area display with it is described at least oneThe corresponding mapping icon of input content allows the operating body to operate described at least one by operating the mapping iconA input content.
Optionally, when first judging result is no, the method also includes: whether judge the starting touch pointIn second display area and whether the termination touch point is in first display area, obtains the second judgement knotFruit;When second judging result, which is, is, the second edit instruction is generated and executed, an at least input content is replaced withContent to be pasted.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basicProperty concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted asIt selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the artMind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologiesWithin, then the present invention is also intended to include these modifications and variations.