CN110806834A - Information processing method and device based on input method, electronic equipment and medium - Google Patents
Information processing method and device based on input method, electronic equipment and medium Download PDFInfo
- Publication number
- CN110806834A CN110806834A CN201911046206.7A CN201911046206A CN110806834A CN 110806834 A CN110806834 A CN 110806834A CN 201911046206 A CN201911046206 A CN 201911046206A CN 110806834 A CN110806834 A CN 110806834A
- Authority
- CN
- China
- Prior art keywords
- information
- area
- determining
- processed
- processing mode
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04886—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the disclosure provides an information processing method and device based on an input method, electronic equipment and a medium. The method comprises the following steps: determining information to be processed in the input area, determining a processing mode of the information to be processed based on the dragging operation aiming at the information to be processed, and executing corresponding operation on the information to be processed based on the determined processing mode. The embodiment of the disclosure can execute some operations on the information input in the input area according to the dragging operation of the user, and is not limited only in the input area, but also only in the input area, the information can be input through the input method keyboard, thereby satisfying the diversified requirements of information interaction and further improving the user experience.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an information processing method and apparatus, an electronic device, and a medium based on an input method.
Background
With the development of information technology, more and more users interact information with electronic devices or interact information with other users through electronic devices. Whether the user interacts information with the electronic device or interacts information with other users through the electronic device, the interaction needs to be realized through an input method, for example, the user inputs information into a search box through the input method to search information.
In the prior art, a user inputs information into an electronic device through an input method keyboard and displays the information input by the user in an input area, but in the prior art, the user can only input the information in the input area through the input method keyboard and cannot perform operation on the information input in the input area, but in some cases, in order to meet the requirement of diversification of information interaction, the user needs to perform some operation on the information input in the input area, so that how to perform operation on the information input in the input area becomes a key problem.
Disclosure of Invention
The present disclosure provides an information processing method, apparatus, electronic device, and medium based on an input method, which may solve at least one of the above technical problems.
In a first aspect, an information processing method based on an input method is provided, and the method includes:
determining information to be processed in an input area;
determining a processing mode of the information to be processed based on the dragging operation aiming at the information to be processed;
and executing corresponding operation on the information to be processed based on the determined processing mode.
In a second aspect, an information processing apparatus based on an input method is provided, the apparatus including:
the first determining module is used for determining information to be processed in the input area;
the second determining module is used for determining the processing mode of the information to be processed based on the dragging operation aiming at the information to be processed;
and the execution module is used for executing corresponding operation on the information to be processed based on the determined processing mode.
In a third aspect, an electronic device is provided, which includes:
one or more processors;
a memory;
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: and executing the operation corresponding to the information processing method based on the input method shown in the first aspect.
In a fourth aspect, there is provided a computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the input method-based information processing method shown in the first aspect.
The technical scheme provided by the disclosure has the following beneficial effects:
compared with the prior art, the information processing method, the information processing device, the electronic equipment and the medium based on the input method have the advantages that the information to be processed is determined in the input area, the processing mode of the information to be processed is determined based on the dragging operation aiming at the information to be processed, and the corresponding operation is executed on the information to be processed based on the determined processing mode, namely the information processing method can execute certain operation on the information input in the input area according to the dragging operation of a user, is limited only in the input area and can only input the information through the keyboard of the input method, so that the diversified requirements of information interaction are met, and the user experience is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings used in the description of the embodiments of the present disclosure will be briefly described below.
Fig. 1 is a schematic flowchart of an information processing method based on an input method according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an information processing apparatus based on an input method according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 4 is a schematic view of a display interface of an input method provided in an embodiment of the present disclosure;
FIG. 5 is a schematic view of a display interface of another input method provided by the embodiments of the present disclosure;
FIG. 6 is a schematic view of a display interface of another input method provided by the embodiments of the present disclosure;
FIG. 7 is a schematic view of a display interface of another input method provided by the embodiments of the present disclosure;
FIG. 8 is a schematic diagram of a display interface of a shortcut phrase panel provided in an embodiment of the present disclosure;
FIG. 9 is a schematic view of a display interface of another input method provided by the embodiments of the present disclosure;
FIG. 10 is a schematic view of a display interface of another input method provided by an embodiment of the present disclosure;
FIG. 11 is a schematic view of a display interface of another input method provided by the embodiments of the present disclosure;
fig. 12 is a schematic display interface diagram of another input method provided in the embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing the devices, modules or units, and are not used for limiting the devices, modules or units to be different devices, modules or units, and also for limiting the sequence or interdependence relationship of the functions executed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The following describes the technical solutions of the present disclosure and how to solve the above technical problems in specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present disclosure will be described below with reference to the accompanying drawings.
The embodiment of the present disclosure provides an information processing method based on an input method, which may be executed by a terminal device, as shown in fig. 1, the method includes:
step S101, determining information to be processed in an input area.
The information to be processed may be text information, picture information, or even video information.
For the embodiment of the present disclosure, the determining the to-be-processed information in the input area includes: and aiming at the preset information in the input area, selecting the information in the preset information through selection operation, and determining the selected information as the information to be processed. As shown in fig. 4, 5, and 6, where the region pointed by the reference sign a in fig. 4 represents an input region, the region pointed by the reference sign B represents an input method keyboard region, and for preset information in the input region, such as the preset information "watermelon in summer" in fig. 4, the information in the preset information is selected by a selection operation, such as "watermelon in summer" in fig. 5, and the selected information is determined as information to be processed, such as "watermelon in summer" selected in fig. 5 is determined as information to be processed, i.e., "watermelon in summer" in fig. 6.
Step S102, based on the dragging operation aiming at the information to be processed, the processing mode of the information to be processed is determined.
For the embodiment of the present disclosure, the drag operation for the information to be processed may be implemented by using a mouse, or the drag operation for the information to be processed may be implemented by detecting a touch movement of a finger of a user on a display screen, which is not limited in the embodiment of the present disclosure.
For the embodiment of the present disclosure, the dragging operation for the information to be processed may specifically include dragging the information to be processed in the input area to the input area, or dragging the information to be processed in the input area to the input method keyboard area, as shown in fig. 6 and 7, and dragging "watermelon in summer" in the input area in fig. 6 to the input method keyboard area, as shown in fig. 7.
And step S103, executing corresponding operation on the information to be processed based on the determined processing mode.
For the embodiment of the present disclosure, corresponding operations are performed on the information to be processed determined in step S101 based on the processing manner determined in step S102.
Compared with the prior art, the information to be processed is determined in the input area, the processing mode of the information to be processed is determined based on the dragging operation aiming at the information to be processed, and the corresponding operation is executed on the information to be processed based on the determined processing mode.
In another possible implementation manner of the embodiment of the present disclosure, step S102 may include: determining a dragging termination area of the dragging operation, and determining a processing mode of the information to be processed based on the dragging termination area; or, determining dragging track information of the dragging operation, and determining the processing mode of the information to be processed based on the dragging track information.
For the embodiment of the present disclosure, the processing manner of the information to be processed may be determined based on the dragging termination area or the dragging trace information, wherein the information to be processed may be determined by using a scheme in the prior art before the processing manner of the information to be processed is determined, or the information to be processed may be determined by using a scheme shown in step S101; after determining the processing mode of the information to be processed, a scheme in the prior art may be adopted to perform a corresponding operation on the information to be processed, or a scheme shown in step S103 may also be adopted to perform a corresponding operation on the information to be processed, which is not limited in the embodiment of the present disclosure.
The determining, based on the dragging trajectory information, a processing manner of the information to be processed may specifically include: and determining a processing mode of the information to be processed corresponding to the dragging track information based on the dragging track information and the corresponding relation between the pre-configured dragging track information and the processing mode. In the embodiment of the present disclosure, multiple pieces of dragging trace information may be preconfigured, a processing manner corresponding to any one of the preconfigured dragging trace information may be a processing manner of converting text into expressions, or a processing manner of adding information to an expression panel, or a processing manner of adding information to a shortcut phrase panel, or word segmentation, or text format adjustment, or text-to-speech processing, or language conversion processing, and the processing manner is not limited to the listed items, and is not limited in the embodiment of the present disclosure.
Specifically, the drag trajectory information of the drag operation for the information to be processed may be determined, and if the drag trajectory information is consistent with the preconfigured drag trajectory information, the processing mode of the information to be processed is determined based on the drag trajectory information and the processing mode corresponding to the preconfigured drag trajectory information.
For example, if the dragging trace information is a circle and is consistent with the preconfigured circle dragging trace information, and the processing mode corresponding to the preconfigured circle dragging trace information is "the processing mode of adding information to the shortcut phrase panel", it is determined that the processing mode of the information to be processed is "the processing mode of adding information to the shortcut phrase panel" based on the dragging trace information; and if the dragging track information is in a U shape and is consistent with the pre-configured U-shaped dragging track information, and the processing mode corresponding to the pre-configured U-shaped dragging track information is a processing mode of adding information to the expression panel, determining the processing mode of the information to be processed to be a processing mode of adding information to the expression panel based on the dragging track information.
The processing method for determining the information to be processed according to the dragging track is described in the above embodiments, but of course, in addition to determining the processing method for determining the information to be processed based on the dragging track, the processing method may also be determined based on a dragging ending area corresponding to a dragging operation, which is specifically described in the following embodiments:
another possible implementation manner of the embodiment of the present disclosure is to determine a dragging termination area of the dragging operation, and determine a processing manner of the information to be processed based on the dragging termination area, where the determining manner may include: and when the triggering operation aiming at any processing mode is detected, determining the processing mode of the information to be processed as the processing mode corresponding to the triggering operation.
For the embodiment of the disclosure, a first preset area and at least one corresponding processing mode are preconfigured, when it is determined that the dragging termination area is the first preset area, the last at least one processing mode corresponding to the first preset area is displayed in a preset display area based on the preconfigured first preset area and the at least one corresponding processing mode, and when it is detected that a user clicks a trigger operation of any processing mode, it is determined that the processing mode of the information to be processed is the processing mode corresponding to the trigger operation. The first preset area can be located in the input area, can also be located in the input method keyboard area, can also be partially located in the input area, and can also be partially located in the input method keyboard area; the predetermined display area may be located in the input area, may also be located in the input method keyboard area, and may also be partially located in the input area, and partially located in the input method keyboard area, which is not limited in the embodiment of the present disclosure.
As shown in fig. 9, the first preset area is an input method keyboard area, and the preset input method keyboard area corresponds to three processing modes, which are "translation", "editing", and "voice conversion", respectively. In the embodiment of the disclosure, when it is determined that the dragging termination area is the input method keyboard area, three processing modes of "translation", "editing", and "voice conversion" are displayed in the predetermined display area, wherein the predetermined display area is the input area, and when a trigger operation of clicking the "translation" by the user is detected, it is determined that the processing mode of the information to be processed is to perform the language conversion processing on "watermelon in summer".
Further, at least one first preset region may be set on the display screen, and the number of the processing modes corresponding to each first preset region may be the same or different. For example, two first preset regions may be preset, where when the first preset region is an input region, the first preset region corresponds to two processing modes; when the first preset area is an input method keyboard area, the first preset area corresponds to three processing modes. As shown in fig. 9, when the first preset area is the input method keyboard area, the three processing modes corresponding to the first preset area are "translation", "editing", and "voice conversion", respectively.
For the embodiment of the present disclosure, the processing manner corresponding to the first preset area may include: at least one of a text-to-expression processing manner, a processing manner of adding information to an expression panel, a processing manner of adding information to a shortcut phrase panel, word segmentation, text formatting, text-to-speech processing, and language conversion processing, and the processing manner is not limited to the above-listed items.
Another possible implementation manner of the embodiment of the present disclosure is that determining a processing manner of information to be processed based on the drag termination area includes: and determining the processing mode of the information to be processed based on the corresponding relation between the area and the processing mode and the dragging termination area.
For the embodiment of the present disclosure, at least one area and a processing mode corresponding to each area are preconfigured, where any area may be an expression area, a phrase area, an editing area, a text-to-speech area, or a translation area, and any area may be located in an input area, or may be located in an input method keyboard area, or may be partially located in the input method area. The following embodiments are described in detail with reference to the related descriptions of the expression area, the phrase area, the editing area, the text-to-speech area, and the translation area, and are not described herein again. Further, when the drag termination area is determined, the area of the drag termination area may be determined, and based on the pre-configured processing manner corresponding to the area, the processing manner of the information to be processed is determined as the processing manner corresponding to the area.
As shown in fig. 10, an area C in the preset input method keyboard area is an area, and a processing mode corresponding to the preset area C is "text-to-speech processing", and when it is determined that the drag termination area is the area C, it is determined that the processing mode of the information to be processed is "text-to-speech processing".
Another possible processing manner of the embodiment of the present disclosure is to determine a drag termination area of a drag operation, and determine a processing manner of information to be processed based on the drag termination area, where the processing manner may include: when the dragging suspension operation aiming at the information to be processed is detected, determining a dragging suspension area, when the dragging suspension area is a second preset area, determining and displaying a first trigger area of each processing mode corresponding to the second preset area, when the dragging suspension area is detected to continue dragging the information to be processed to a first trigger area of any processing mode and stopping the dragging operation, determining the first trigger area as the dragging termination area, and determining the processing mode of the information to be processed as the processing mode corresponding to the first trigger area.
For the embodiment of the disclosure, a second preset area and at least one processing mode corresponding to the second preset area are preset, a first trigger area corresponding to each processing mode is preset, when a dragging suspension operation for information to be processed is detected, the dragging suspension area is determined, if the dragging suspension area is the second preset area, the first trigger area of each processing mode corresponding to the second preset area is determined and displayed based on the preset second preset area and at least one processing mode corresponding to the second preset area and the preset first trigger area corresponding to each processing mode, when the information to be processed is detected to be continuously dragged to the first trigger area of any processing mode and the dragging operation is terminated, the first trigger area is determined to be a dragging termination area, based on the preset first trigger area corresponding to each processing mode, and determining the processing mode of the information to be processed as the processing mode corresponding to the first trigger area.
As shown in fig. 11, the preset region D corresponds to two processing manners "translation" and "edit", and a first trigger region corresponding to each processing manner is preset, when a drag suspension operation for the information to be processed is detected, the drag suspension region is determined to be the region D, the first trigger region corresponding to the "translation" of the region D and the first trigger region corresponding to the "edit" of the region D are determined and displayed, when it is detected that the information to be processed is continuously dragged to the first trigger region corresponding to the "edit" and the drag operation is terminated, the first trigger region corresponding to the "edit" is determined to be the drag termination region, and the processing manner of the information to be processed is determined to be the "edit".
The second preset area can be located in the input area, can also be located in the input method keyboard area, can also be partially located in the input area, and can also be partially located in the input method keyboard area; any first trigger area may be located in the input area, may also be located in the input method keyboard area, and may also be partially located in the input area, and partially located in the input method keyboard area, which is not limited in the embodiment of the present disclosure. As shown in fig. 11, the second preset area is an area D, and the area D is located in the input method keyboard area, and both the first trigger area corresponding to "translate" and the first trigger area corresponding to "edit" are located in the input area.
For the embodiment of the present disclosure, at least one second preset region may be preset, and the number of the first trigger regions corresponding to each second preset region may be the same or different. For example, the preset second preset area in the input area corresponds to three first trigger areas, and the preset second preset area in the input method keyboard area corresponds to two first trigger areas, as shown in fig. 11, the second preset area in the input method keyboard area corresponds to two first trigger areas, which are respectively a first trigger area corresponding to "translation" and a first trigger area corresponding to "edit".
Any first trigger area may be an expression area, a phrase area, an editing area, a text-to-speech area, or a translation area, and the first trigger area is not limited to the above listed items. The following embodiments are described in detail with reference to the related descriptions of the expression area, the phrase area, the editing area, the text-to-speech area, and the translation area, and are not described herein again.
Another possible implementation manner of the embodiment of the present disclosure, determining a drag termination area of the drag operation may further include: identifying information to be processed to obtain an identification result of the information to be processed; and displaying a second trigger area of each processing mode in the at least one processing mode based on the identification result.
Wherein, determining the drag termination area of the drag operation may include: and when the information to be processed is detected to be dragged to a second trigger area of any processing mode and the dragging operation is terminated, determining the second trigger area as a dragging termination area.
For the embodiment of the present disclosure, information to be processed may be identified, an identification result of the information to be processed is obtained, and based on the identification result, a second trigger area of each processing manner in at least one processing manner is displayed in a preset third preset area, where the preset third preset area may be located in an input area, may also be located in an input method keyboard area, may also be partially located in the input area, and is partially located in the input method keyboard area, which is not limited in the embodiment of the present disclosure.
As shown in fig. 12, the information to be processed is "laugh haha", the "laugh haha" is recognized, the recognition result of the "laugh haha" is obtained, based on the recognition result of the "laugh haha", a second trigger area corresponding to "translation", a second trigger area corresponding to "expression", and a second trigger area corresponding to "edit" are displayed in the input area, when dragging the "laugh haha" to the second trigger area corresponding to "expression" is detected and the dragging operation is terminated, the second trigger area corresponding to "expression" is determined to be the dragging termination area, and the "laugh haha" can be converted into the expression information of the "laugh haha".
For the embodiment of the present disclosure, any second trigger area may be any one of an expression area, a phrase area, an editing area, a text-to-speech area, and a translation area, and the second trigger area is not limited to the above listed items. The following embodiments are described in detail with reference to the related descriptions of the expression area, the phrase area, the editing area, the text-to-speech area, and the translation area, and are not described herein again.
Another possible implementation manner of the embodiment of the present disclosure, determining a processing manner of information to be processed based on the dragging termination area may include:
if the dragging termination area is an expression area, determining a processing mode of the information to be processed comprises the following steps: at least one of a processing mode of converting text into expressions and a processing mode of adding information to an expression panel; or, if the drag termination area is a phrase area, determining a processing mode of the to-be-processed information includes: adding information to a shortcut phrase panel; or, if the drag termination area is the edit area, determining a processing mode of the to-be-processed information includes: at least one of word segmentation and text format adjustment; or, if the dragging termination area is a text-to-speech area, determining a processing mode of the information to be processed includes: text-to-speech processing; or, if the dragging termination area is a translation area, determining a processing mode of the information to be processed includes: and (5) language conversion processing.
For the embodiment of the present disclosure, the processing manner that the expression areas can be preconfigured to correspond to includes: and at least one of a processing mode of converting the text into the expression and a processing mode of adding the information to the expression panel. The processing mode of text-to-expression conversion is to convert the information to be processed in the text form into a corresponding expression, for example, converting the character "laugh with haha" into a "laugh with haha" expression; the information is added to the expression panel in a processing mode, that is, the expression information is added to the expression panel, for example, the expression of 'laugh with haha' is added to the expression panel.
For the embodiment of the present disclosure, the processing manner corresponding to the phrase area may be preconfigured to include a processing manner in which information is added to the shortcut phrase panel. In the processing manner of adding information to the shortcut phrase panel, that is, adding information to be processed in text form to the shortcut phrase panel, as shown in fig. 8, information to be processed "beijing city township road of beijing towards sunny district", "watermelon in summer" and "80% of work arrangement to be completed before friday" may be added to the shortcut phrase panel.
For the embodiment of the present disclosure, the processing manner that the editing area can be preconfigured to correspond to includes: at least one of word segmentation and text formatting. The word segmentation is to perform word segmentation on the information to be processed to obtain at least two pieces of text information, for example, to perform word segmentation on the information to be processed, namely, to obtain three pieces of text information, namely, the information to be processed; the text format adjustment is to adjust the word size, font, inclination and other information of the information to be processed. In the embodiment of the disclosure, a word segmentation operation is performed on information to be processed to obtain at least two pieces of text information, when it is detected that a user clicks at least two pieces of text information, a click order corresponding to each piece of text information is determined, target information is generated based on the clicked at least two pieces of text information and the click order corresponding to each piece of text information, for example, three pieces of text information "facing the sun", "north road" and "supermarket" are obtained after word segmentation is performed on the information "facing the sun and north road" to be processed, and when it is detected that the user clicks the "supermarket" and the "north road" in sequence, the target information "supermarket north road" is generated.
For the embodiment of the present disclosure, the processing mode corresponding to the text-to-speech area may be preconfigured to include text-to-speech processing. The text-to-speech processing is to convert the text-form information to be processed into speech-form information to be processed, for example, to convert the text "north-facing supermarket" into machine-sound speech information of "north-facing supermarket". In the embodiment of the disclosure, when it is determined that the processing mode of the information to be processed is text-to-speech processing, a target speech type may be determined, and the information to be processed is converted into speech information corresponding to the target speech type. The method for determining the target voice type comprises the steps of determining the target voice type by a user in advance; or determining a target voice type according to the use frequency of each voice type; or, determining the target voice type according to the selection operation of the user aiming at the voice type. For example, for the information to be processed, "north-south-oriented supermarket", the determined target voice type is machine voice, and then the "north-south-oriented supermarket" is converted into the machine voice information of the "north-south-oriented supermarket".
For the embodiment of the present disclosure, the processing mode corresponding to the text-to-speech region may be preconfigured to include language conversion processing, where the language conversion processing is to convert information to be processed in one language form into information in another language form, for example, convert "summer" in a chinese form into "summer" in an english form. In the embodiment of the present disclosure, when it is determined that the processing mode of the information to be processed is the language conversion processing, the target language type may be determined, and the information to be processed is converted into the information corresponding to the target language type. The mode for determining the target language type comprises the target language type preset by a user; or, determining the target language type according to the use frequency of each language type; or, determining the target language type according to the selection operation of the user aiming at the language type. For example, for the information to be processed in the form of chinese "summer", the determined target language type is english, and then the chinese "summer" is converted into english "summer".
In another possible implementation manner of the embodiment of the present disclosure, step S103 may further include: and displaying the processing information corresponding to the determined processing mode.
Wherein, step S103 may include: and when the confirmation operation aiming at the processing information is detected, executing corresponding operation on the information to be processed based on the determined processing mode.
For the embodiment of the disclosure, the processing mode of the information to be processed can be determined based on the dragging operation of the user for the information to be processed, and the processing information corresponding to the determined processing mode is displayed, so that the user can know the dragging operation and the processing mode corresponding to the dragging operation, thereby effectively preventing the misoperation of the user.
The information processing method based on the input method is specifically described from the perspective of the method steps, and the following introduces an information processing apparatus based on the input method from the perspective of the virtual module or the virtual unit, specifically as follows:
the embodiment of the present disclosure provides an information processing apparatus based on an input method, and as shown in fig. 2, the information processing apparatus 20 based on an input method may include: a first determining module 201, a second determining module 202, and an executing module 203, wherein,
a first determining module 201, configured to determine information to be processed in the input area.
A second determining module 202, configured to determine a processing manner of the information to be processed based on the dragging operation for the information to be processed.
And the execution module 203 is configured to execute corresponding operations on the information to be processed based on the determined processing manner.
In another possible implementation manner of the embodiment of the present disclosure, the second determining module 202 may include any one of a first determining unit and a second determining unit, wherein,
the first determining unit is used for determining a dragging termination area of the dragging operation and determining the processing mode of the information to be processed based on the dragging termination area.
And the second determining unit is used for determining the dragging track information of the dragging operation and determining the processing mode of the information to be processed based on the dragging track information.
In another possible implementation manner of the embodiment of the present disclosure, the first determining unit includes a first determining subunit, a displaying subunit, and a second determining subunit, wherein,
and the first determining subunit is used for determining that the dragging termination area of the dragging operation is a first preset area.
And the display subunit is used for displaying at least one processing mode corresponding to the first preset area.
And the second determining subunit is used for determining the processing mode of the information to be processed as the processing mode corresponding to the triggering operation when the triggering operation aiming at any processing mode is detected.
In another possible implementation manner of the embodiment of the present disclosure, the first determining unit includes a third determining subunit, wherein,
and the third determining subunit is used for determining the processing mode of the information to be processed based on the corresponding relation between the area and the processing mode and the dragging termination area.
In another possible implementation manner of the embodiment of the present disclosure, the first determining unit includes a fourth determining subunit, a fifth determining subunit, a sixth determining subunit, and a seventh determining subunit, wherein,
a fourth determining subunit, configured to determine the drag termination area when a drag termination operation for the information to be processed is detected.
And the fifth determining subunit is configured to determine and display the first trigger area of each processing manner corresponding to the second preset area when the dragging suspension area is the second preset area.
And the sixth determining subunit is configured to determine that the first trigger area is a dragging termination area when it is detected that the to-be-processed information is continuously dragged to the first trigger area of any processing manner and the dragging operation is terminated.
And the seventh determining subunit is used for determining that the processing mode of the information to be processed is the processing mode corresponding to the first trigger area.
In another possible implementation manner of the embodiment of the present disclosure, the information processing apparatus 20 based on an input method further includes an identification module and a first display module, wherein,
and the identification module is used for identifying the information to be processed to obtain an identification result of the information to be processed.
And the first display module is used for displaying the second trigger area of each processing mode in the at least one processing mode based on the identification result.
The first determination unit includes an eighth determination subunit, wherein,
and the eighth determining subunit is configured to determine that the second trigger area is a dragging termination area when the information to be processed is detected to be dragged to the second trigger area of any processing mode and the dragging operation is terminated.
In another possible implementation manner of the embodiment of the present disclosure, the first determining unit is specifically configured to:
when the dragging termination area is an expression area, determining a processing mode of the information to be processed comprises the following steps: and at least one of a processing mode of converting the text into the expression and a processing mode of adding the information to the expression panel.
Or, when the drag termination area is a phrase area, determining a processing mode of the information to be processed includes: and adding the information to a shortcut phrase panel.
Or, when the drag termination area is the edit area, determining a processing mode of the information to be processed includes: at least one of word segmentation and text formatting.
Or, when the dragging termination area is a text-to-speech area, determining a processing mode of the information to be processed includes: and (5) text-to-speech processing.
Or, when the drag termination area is a translation area, determining a processing mode of the information to be processed includes: and (5) language conversion processing.
In another possible implementation manner of the embodiment of the present disclosure, the information processing apparatus 20 based on an input method further includes a second display module, wherein,
and the second display module is used for displaying the processing information corresponding to the determined processing mode.
The executing module 203 is specifically configured to, when a confirmation operation for the processing information is detected, execute a corresponding operation on the information to be processed based on the determined processing manner.
For the embodiment of the present disclosure, the first determining module 201 and the second determining module 202 may be the same determining module or two different determining modules, the first displaying module and the second displaying module may be the same displaying module or two different displaying modules, and the first determining unit and the second determining unit may be the same determining unit or two different determining units; the first determining subunit, the second determining subunit, the third determining subunit, the fourth determining subunit, the fifth determining subunit, the sixth determining subunit, the seventh determining subunit, and the eighth determining subunit may be the same determining subunit, may also be different determining subunits, may also be combined into the same subunit at will, and are not limited in the embodiment of the present disclosure.
The input method based information processing apparatus 20 of the present embodiment can execute the input method based information processing method shown in the above method embodiments of the present disclosure, and the implementation principles thereof are similar, and are not described herein again.
Compared with the prior art, the information processing device based on the input method determines the information to be processed in the input area, determines the processing mode of the information to be processed based on the dragging operation aiming at the information to be processed, and executes corresponding operation on the information to be processed based on the determined processing mode, namely the information processing device can execute certain operation on the information input in the input area according to the dragging operation of a user, and is only limited to input the information only through the input method keyboard in the input area, so that the diversified requirements of information interaction are met, and the user experience is further improved.
The input method-based information processing apparatus of the present disclosure is described above from the perspective of a virtual module or a virtual unit, and the electronic device of the present disclosure is described below from the perspective of a physical apparatus.
Referring now to FIG. 3, a block diagram of an electronic device (e.g., a terminal device) 300 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device 300 may include:
one or more processors;
a memory;
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: and executing the operation corresponding to the information processing method based on the input method shown in the embodiment of the method.
The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
The electronic device includes: a memory and a processor, wherein the processor may be referred to as a processing device 301 described below, and the memory may include at least one of a Read Only Memory (ROM)302, a Random Access Memory (RAM)303, and a storage device 308, which are described below:
as shown in fig. 3, the electronic device 300 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Generally, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 308 including, for example, magnetic tape, hard disk, etc.; and a communication device 309. The communication means 309 may allow the electronic device 300 to communicate wirelessly or by wire with other devices to exchange data. While fig. 3 illustrates an electronic device 300 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 309, or installed from the storage means 308, or installed from the ROM 302. The computer program, when executed by the processing device 301, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText transfer protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: determining information to be processed in the input area, determining a processing mode of the information to be processed based on the dragging operation aiming at the information to be processed, and executing corresponding operation on the information to be processed based on the determined processing mode.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules or units described in the embodiments of the present disclosure may be implemented by software or hardware. Here, the name of the module or the unit does not constitute a limitation of the unit itself in some cases, and for example, the first determination module may also be described as a "module that determines information to be processed within the input area".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The disclosed embodiment provides an electronic device, and the electronic device in the disclosed embodiment includes: a memory and a processor; at least one program stored in the memory for execution by the processor, which when executed by the processor, implements: according to the dragging operation of the user, certain operation is executed on the information input in the input area, and the information is only limited to be input in the input area only through an input method keyboard, so that the diversified requirements of information interaction are met, and the user experience is further improved.
The electronic device of the present disclosure is described above from the perspective of a physical apparatus, and the computer readable medium of the present disclosure is described below from the perspective of a readable medium.
The embodiment of the present disclosure provides a computer-readable medium, on which a computer program is stored, which, when running on a computer, enables the computer to execute the corresponding content in the foregoing method embodiments. Compared with the prior art, the embodiment of the disclosure can execute some operations on the information input in the input area according to the dragging operation of the user, and is not limited only to input the information only through the input method keyboard in the input area, thereby satisfying the diversified requirements of information interaction and further improving the user experience.
According to one or more embodiments of the present disclosure, there is provided an information processing method based on an input method, including:
determining information to be processed in an input area;
determining a processing mode of the information to be processed based on the dragging operation aiming at the information to be processed;
and executing corresponding operation on the information to be processed based on the determined processing mode.
According to one or more embodiments of the present disclosure, determining a processing manner of information to be processed based on a drag operation for the information to be processed includes any one of:
determining a dragging termination area of the dragging operation, and determining a processing mode of the information to be processed based on the dragging termination area;
and determining dragging track information of the dragging operation, and determining the processing mode of the information to be processed based on the dragging track information.
According to one or more embodiments of the present disclosure, determining a drag termination area of a drag operation, and determining a processing manner of information to be processed based on the drag termination area, includes:
determining a dragging termination area of dragging operation as a first preset area;
displaying at least one processing mode corresponding to the first preset area;
and when the trigger operation aiming at any processing mode is detected, determining the processing mode of the information to be processed as the processing mode corresponding to the trigger operation.
According to one or more embodiments of the present disclosure, determining a processing manner of information to be processed based on a drag termination area includes:
and determining the processing mode of the information to be processed based on the corresponding relation between the area and the processing mode and the dragging termination area.
According to one or more embodiments of the present disclosure, determining a drag termination area of a drag operation, and determining a processing manner of information to be processed based on the drag termination area, includes:
when the dragging suspension operation aiming at the information to be processed is detected, determining a dragging suspension area;
when the dragging suspension area is a second preset area, determining and displaying a first trigger area of each processing mode corresponding to the second preset area;
when the condition that the information to be processed is continuously dragged to a first trigger area of any processing mode is detected and the dragging operation is terminated, determining the first trigger area as a dragging termination area;
and determining the processing mode of the information to be processed as the processing mode corresponding to the first trigger area.
According to one or more embodiments of the present disclosure, determining a drag termination area of a drag operation further includes:
identifying information to be processed to obtain an identification result of the information to be processed;
displaying a second trigger area of each processing mode in the at least one processing mode based on the identification result;
wherein, determining a drag termination area of the drag operation comprises:
and when the information to be processed is detected to be dragged to a second trigger area of any processing mode and the dragging operation is terminated, determining the second trigger area as a dragging termination area.
According to one or more embodiments of the present disclosure, determining a processing manner of information to be processed based on a drag termination area includes any one of:
if the dragging termination area is an expression area, determining a processing mode of the information to be processed comprises the following steps: at least one of a processing mode of converting text into expressions and a processing mode of adding information to an expression panel;
if the dragging termination area is a phrase area, determining a processing mode of the information to be processed includes: adding information to a shortcut phrase panel;
if the dragging termination area is an editing area, determining a processing mode of the information to be processed comprises: at least one of word segmentation and text format adjustment;
if the dragging termination area is a text-to-speech area, determining a processing mode of the information to be processed comprises: text-to-speech processing;
if the dragging termination area is a translation area, determining a processing mode of the information to be processed includes: and (5) language conversion processing.
According to one or more embodiments of the present disclosure, based on the determined processing manner, the method for performing corresponding operations on information to be processed further includes:
displaying processing information corresponding to the determined processing mode;
based on the determined processing mode, executing corresponding operation on the information to be processed, including:
and when the confirmation operation aiming at the processing information is detected, executing corresponding operation on the information to be processed based on the determined processing mode.
According to one or more embodiments of the present disclosure, there is provided an information processing apparatus based on an input method, including:
the first determining module is used for determining information to be processed in the input area;
the second determining module is used for determining the processing mode of the information to be processed based on the dragging operation aiming at the information to be processed;
and the execution module is used for executing corresponding operation on the information to be processed based on the determined processing mode.
According to one or more embodiments of the present disclosure, the second determining module includes any one of a first determining unit and a second determining unit, wherein,
a first determination unit configured to determine a drag termination area of the drag operation, and determine a processing manner of the information to be processed based on the drag termination area;
and the second determining unit is used for determining the dragging track information of the dragging operation and determining the processing mode of the information to be processed based on the dragging track information.
According to one or more embodiments of the present disclosure, the first determination unit includes a first determination subunit, a display subunit, and a second determination subunit, wherein,
a first determining subunit, configured to determine that a drag termination area of the drag operation is a first preset area;
the display subunit is used for displaying at least one processing mode corresponding to the first preset area;
and the second determining subunit is used for determining the processing mode of the information to be processed as the processing mode corresponding to the triggering operation when the triggering operation aiming at any processing mode is detected.
According to one or more embodiments of the present disclosure, the first determination unit includes a third determination subunit, wherein,
and the third determining subunit is used for determining the processing mode of the information to be processed based on the corresponding relation between the area and the processing mode and the dragging termination area.
According to one or more embodiments of the present disclosure, the first determination unit includes a fourth determination subunit, a fifth determination subunit, a sixth determination subunit, and a seventh determination subunit, wherein,
a fourth determining subunit, configured to determine, when a drag termination operation for the information to be processed is detected, a drag termination area;
a fifth determining subunit, configured to determine and display a first trigger area of each processing manner corresponding to the second preset area when the dragging suspension area is the second preset area;
a sixth determining subunit, configured to determine that the first trigger area is a dragging termination area when it is detected that the to-be-processed information is continuously dragged to the first trigger area of any processing manner and the dragging operation is terminated;
and the seventh determining subunit is used for determining that the processing mode of the information to be processed is the processing mode corresponding to the first trigger area.
According to one or more embodiments of the present disclosure, the input method-based information processing apparatus further includes an identification module and a first display module, wherein,
the identification module is used for identifying the information to be processed to obtain an identification result of the information to be processed;
the first display module is used for displaying a second trigger area of each processing mode in at least one processing mode based on the identification result;
the first determination unit includes an eighth determination subunit, wherein,
and the eighth determining subunit is configured to determine that the second trigger area is a dragging termination area when the information to be processed is detected to be dragged to the second trigger area of any processing mode and the dragging operation is terminated.
According to one or more embodiments of the present disclosure, the first determining unit is specifically configured to:
when the dragging termination area is an expression area, determining a processing mode of the information to be processed comprises the following steps: at least one of a processing mode of converting text into expressions and a processing mode of adding information to an expression panel;
or, when the drag termination area is a phrase area, determining a processing mode of the information to be processed includes: adding information to a shortcut phrase panel;
or, when the drag termination area is the edit area, determining a processing mode of the information to be processed includes: at least one of word segmentation and text format adjustment;
or, when the dragging termination area is a text-to-speech area, determining a processing mode of the information to be processed includes: text-to-speech processing;
or, when the drag termination area is a translation area, determining a processing mode of the information to be processed includes: and (5) language conversion processing.
According to one or more embodiments of the present disclosure, the input method-based information processing apparatus further includes a second display module, wherein,
the second display module is used for displaying the processing information corresponding to the determined processing mode;
and the execution module is specifically configured to, when a confirmation operation for the processing information is detected, execute a corresponding operation on the information to be processed based on the determined processing manner.
According to one or more embodiments of the present disclosure, there is provided an electronic device including:
one or more processors;
a memory;
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: and executing the operation corresponding to the information processing method based on the input method shown in the embodiment of the method.
According to one or more embodiments of the present disclosure, there is provided a computer-readable medium on which a computer program is stored, the program, when executed by a processor, implementing an input method-based information processing method shown in method embodiments.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Claims (11)
1. An information processing method based on an input method, comprising:
determining information to be processed in an input area;
determining a processing mode of the information to be processed based on the dragging operation aiming at the information to be processed;
and executing corresponding operation on the information to be processed based on the determined processing mode.
2. The method according to claim 1, wherein the determining the processing mode of the information to be processed based on the dragging operation on the information to be processed comprises any one of the following steps:
determining a dragging termination area of the dragging operation, and determining a processing mode of the information to be processed based on the dragging termination area;
and determining dragging track information of the dragging operation, and determining a processing mode of the information to be processed based on the dragging track information.
3. The method according to claim 2, wherein the determining of the drag termination area of the drag operation and the determining of the processing manner of the information to be processed based on the drag termination area comprise:
determining a dragging termination area of the dragging operation as a first preset area;
displaying at least one processing mode corresponding to the first preset area;
when the trigger operation aiming at any processing mode is detected, determining the processing mode of the information to be processed as the processing mode corresponding to the trigger operation.
4. The method according to claim 2, wherein the determining the processing manner of the information to be processed based on the drag termination area comprises:
and determining the processing mode of the information to be processed based on the corresponding relation between the area and the processing mode and the dragging termination area.
5. The method according to claim 2, wherein the determining of the drag termination area of the drag operation and the determining of the processing manner of the information to be processed based on the drag termination area comprise:
when the dragging suspension operation aiming at the information to be processed is detected, determining a dragging suspension area;
when the dragging suspension area is a second preset area, determining and displaying a first trigger area of each processing mode corresponding to the second preset area;
when the information to be processed is detected to be continuously dragged to a first trigger area of any processing mode and the dragging operation is terminated, determining the first trigger area as the dragging termination area;
and determining that the processing mode of the information to be processed is the processing mode corresponding to the first trigger area.
6. The method of claim 2, wherein the determining a drag termination area for the drag operation further comprises:
identifying the information to be processed to obtain an identification result of the information to be processed;
displaying a second trigger area of each processing mode in at least one processing mode based on the identification result;
wherein the determining of the drag termination area of the drag operation includes:
and when the information to be processed is detected to be dragged to a second trigger area of any processing mode and the dragging operation is terminated, determining the second trigger area as the dragging termination area.
7. The method according to any one of claims 2 and 4 to 6, wherein determining the processing mode of the information to be processed based on the drag termination area comprises any one of:
if the drag termination area is an expression area, determining a processing mode of the information to be processed includes: at least one of a processing mode of converting text into expressions and a processing mode of adding information to an expression panel;
if the dragging termination area is a phrase area, determining a processing mode of the information to be processed includes: adding information to a shortcut phrase panel;
if the dragging termination area is an editing area, determining a processing mode of the information to be processed includes: at least one of word segmentation and text format adjustment;
if the dragging termination area is a text-to-speech area, determining a processing mode of the information to be processed comprises: text-to-speech processing;
if the dragging termination area is a translation area, determining a processing mode of the information to be processed includes: and (5) language conversion processing.
8. The method according to claim 1, wherein the performing corresponding operations on the information to be processed based on the determined processing manner further includes:
displaying processing information corresponding to the determined processing mode;
based on the determined processing mode, the corresponding operation is executed on the information to be processed, and the operation comprises the following steps:
and when the confirmation operation aiming at the processing information is detected, executing corresponding operation on the information to be processed based on the determined processing mode.
9. An information processing apparatus based on an input method, comprising:
the first determining module is used for determining information to be processed in the input area;
the second determining module is used for determining the processing mode of the information to be processed based on the dragging operation aiming at the information to be processed;
and the execution module is used for executing corresponding operation on the information to be processed based on the determined processing mode.
10. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: performing the input method based information processing method according to any one of claims 1-8.
11. A computer-readable medium on which a computer program is stored, characterized in that the program, when executed by a processor, implements the input method-based information processing method of any one of claims 1 to 8.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911046206.7A CN110806834A (en) | 2019-10-30 | 2019-10-30 | Information processing method and device based on input method, electronic equipment and medium |
PCT/CN2020/111785 WO2021082694A1 (en) | 2019-10-30 | 2020-08-27 | Information processing method and apparatus, electronic device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911046206.7A CN110806834A (en) | 2019-10-30 | 2019-10-30 | Information processing method and device based on input method, electronic equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110806834A true CN110806834A (en) | 2020-02-18 |
Family
ID=69489602
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911046206.7A Pending CN110806834A (en) | 2019-10-30 | 2019-10-30 | Information processing method and device based on input method, electronic equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110806834A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111625168A (en) * | 2020-06-15 | 2020-09-04 | 北京搜狗科技发展有限公司 | Information display method and device and electronic equipment |
CN111736743A (en) * | 2020-06-17 | 2020-10-02 | Oppo广东移动通信有限公司 | Reading interaction method and device and computer readable storage medium |
WO2021082694A1 (en) * | 2019-10-30 | 2021-05-06 | 北京字节跳动网络技术有限公司 | Information processing method and apparatus, electronic device and medium |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110099506A1 (en) * | 2009-10-26 | 2011-04-28 | Google Inc. | Predictive Text Entry for Input Devices |
CN102203711A (en) * | 2008-11-13 | 2011-09-28 | 高通股份有限公司 | Method and system for context dependent pop-up menus |
US20120278734A1 (en) * | 2011-04-26 | 2012-11-01 | Kyocera Corporation | Electronic device, screen control method, and storage medium storing screen control program |
CN103941999A (en) * | 2014-04-14 | 2014-07-23 | 联想(北京)有限公司 | Information processing method and electronic device |
CN104112019A (en) * | 2014-07-23 | 2014-10-22 | 广州三星通信技术研究有限公司 | Message sending method, message sending device and terminal |
CN104410561A (en) * | 2013-10-29 | 2015-03-11 | 贵阳朗玛信息技术股份有限公司 | Method and device for sending chat emoticon |
CN105094671A (en) * | 2015-07-17 | 2015-11-25 | 百度在线网络技术(北京)有限公司 | Method and device used for editing content of input region |
US20150378552A1 (en) * | 2014-06-30 | 2015-12-31 | Blackberry Limited | Electronic device and method for rendering secondary characters |
CN106254676A (en) * | 2016-09-13 | 2016-12-21 | 努比亚技术有限公司 | A kind of mobile terminal and the method controlling numeral input |
CN107765980A (en) * | 2017-09-29 | 2018-03-06 | 珠海市魅族科技有限公司 | Input method and device, terminal device and computer-readable recording medium |
CN107885443A (en) * | 2017-09-22 | 2018-04-06 | 阿里巴巴集团控股有限公司 | A kind of method and device of information processing |
CN108182016A (en) * | 2016-12-08 | 2018-06-19 | Lg电子株式会社 | Mobile terminal and its control method |
CN109782976A (en) * | 2019-01-15 | 2019-05-21 | Oppo广东移动通信有限公司 | Document handling method, device, terminal and storage medium |
-
2019
- 2019-10-30 CN CN201911046206.7A patent/CN110806834A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102203711A (en) * | 2008-11-13 | 2011-09-28 | 高通股份有限公司 | Method and system for context dependent pop-up menus |
US20110099506A1 (en) * | 2009-10-26 | 2011-04-28 | Google Inc. | Predictive Text Entry for Input Devices |
US20120278734A1 (en) * | 2011-04-26 | 2012-11-01 | Kyocera Corporation | Electronic device, screen control method, and storage medium storing screen control program |
CN104410561A (en) * | 2013-10-29 | 2015-03-11 | 贵阳朗玛信息技术股份有限公司 | Method and device for sending chat emoticon |
CN103941999A (en) * | 2014-04-14 | 2014-07-23 | 联想(北京)有限公司 | Information processing method and electronic device |
US20150378552A1 (en) * | 2014-06-30 | 2015-12-31 | Blackberry Limited | Electronic device and method for rendering secondary characters |
CN104112019A (en) * | 2014-07-23 | 2014-10-22 | 广州三星通信技术研究有限公司 | Message sending method, message sending device and terminal |
CN105094671A (en) * | 2015-07-17 | 2015-11-25 | 百度在线网络技术(北京)有限公司 | Method and device used for editing content of input region |
CN106254676A (en) * | 2016-09-13 | 2016-12-21 | 努比亚技术有限公司 | A kind of mobile terminal and the method controlling numeral input |
CN108182016A (en) * | 2016-12-08 | 2018-06-19 | Lg电子株式会社 | Mobile terminal and its control method |
CN107885443A (en) * | 2017-09-22 | 2018-04-06 | 阿里巴巴集团控股有限公司 | A kind of method and device of information processing |
CN107765980A (en) * | 2017-09-29 | 2018-03-06 | 珠海市魅族科技有限公司 | Input method and device, terminal device and computer-readable recording medium |
CN109782976A (en) * | 2019-01-15 | 2019-05-21 | Oppo广东移动通信有限公司 | Document handling method, device, terminal and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021082694A1 (en) * | 2019-10-30 | 2021-05-06 | 北京字节跳动网络技术有限公司 | Information processing method and apparatus, electronic device and medium |
CN111625168A (en) * | 2020-06-15 | 2020-09-04 | 北京搜狗科技发展有限公司 | Information display method and device and electronic equipment |
CN111736743A (en) * | 2020-06-17 | 2020-10-02 | Oppo广东移动通信有限公司 | Reading interaction method and device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112015314B (en) | Information display method and device, electronic equipment and medium | |
CN110389807B (en) | Interface translation method and device, electronic equipment and storage medium | |
CN111597467A (en) | Display method and device and electronic equipment | |
WO2022002066A1 (en) | Method and apparatus for browsing table in document, and electronic device and storage medium | |
CN110806834A (en) | Information processing method and device based on input method, electronic equipment and medium | |
CN110516159B (en) | Information recommendation method and device, electronic equipment and storage medium | |
CN111190520A (en) | Menu item selection method and device, readable medium and electronic equipment | |
CN110658960A (en) | Message processing method and device and electronic equipment | |
CN111596991A (en) | Interactive operation execution method and device and electronic equipment | |
CN112287206A (en) | Information processing method and device and electronic equipment | |
CN114565476A (en) | Information processing method, device, terminal and storage medium | |
CN111597466A (en) | Display method and device and electronic equipment | |
CN114997114A (en) | Document updating method, device, equipment and medium | |
CN114363686B (en) | Method, device, equipment and medium for publishing multimedia content | |
CN111694629A (en) | Information display method and device and electronic equipment | |
WO2019000881A1 (en) | Method, apparatus and device for navigation, and computer-readable storage medium | |
CN114417782A (en) | Display method and device and electronic equipment | |
CN111723309A (en) | Method and device for searching web page | |
US20230409813A1 (en) | Document processing method, apparatus and device, and medium | |
CN110519373B (en) | Method and device for pushing information | |
CN110069186B (en) | Method and equipment for displaying operation interface of application | |
CN111273847A (en) | Page processing method and device, electronic equipment and storage medium | |
CN112307393A (en) | Information issuing method and device and electronic equipment | |
CN115688750A (en) | Text processing method and device, readable medium and electronic equipment | |
EP4113320A1 (en) | Method and device for information interaction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200218 |