WO2021082694A1 - Information processing method and apparatus, electronic device and medium - Google Patents

Information processing method and apparatus, electronic device and medium Download PDF

Info

Publication number
WO2021082694A1
WO2021082694A1 PCT/CN2020/111785 CN2020111785W WO2021082694A1 WO 2021082694 A1 WO2021082694 A1 WO 2021082694A1 CN 2020111785 W CN2020111785 W CN 2020111785W WO 2021082694 A1 WO2021082694 A1 WO 2021082694A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
area
stored
drag
processed
Prior art date
Application number
PCT/CN2020/111785
Other languages
French (fr)
Chinese (zh)
Inventor
邢增兴
Original Assignee
北京字节跳动网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201911046169.XA external-priority patent/CN110806827A/en
Priority claimed from CN201911046206.7A external-priority patent/CN110806834A/en
Application filed by 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2021082694A1 publication Critical patent/WO2021082694A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction 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

Definitions

  • the present disclosure relates to computer technology. Specifically, the present disclosure relates to an information processing method, device, electronic device, and medium.
  • the present disclosure provides an information processing method, including: determining information to be processed; and performing a corresponding operation on the information to be processed based on a drag operation for the information to be processed.
  • the present disclosure provides an information processing method, including:
  • an information processing method including:
  • the information to be stored is stored.
  • an information processing device including:
  • the determination module is used to determine the information to be processed
  • the processing module is configured to perform corresponding operations on the to-be-processed information based on the drag operation for the to-be-processed information.
  • an information processing device including:
  • the first determining module is used to determine the information to be processed in the input area
  • the second determining module is configured to determine the processing mode of the information to be processed based on the drag operation for the information to be processed;
  • the execution module is used to execute corresponding operations on the information to be processed based on the determined processing mode.
  • an information processing device including:
  • the third determining module is used to determine the information to be stored based on the user's trigger operation
  • the storage module is configured to store the information to be stored when it is detected that the user drags the information to be stored to the preset storage area.
  • an electronic device including:
  • One or more processors are One or more processors;
  • One or more application programs where one or more application programs are stored in a memory and configured to be executed by one or more processors, and one or more programs are configured to execute the method shown in the first aspect Operation.
  • the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method shown in the first aspect is implemented.
  • the present disclosure provides an information processing method, device, electronic equipment, and medium.
  • the present disclosure determines information to be processed, and performs operations on the information to be processed based on a drag operation for the information to be processed, thereby improving user experience.
  • the present disclosure can perform certain operations on the input information in the input area according to the user's drag operation, and is not limited to only inputting information through the input method keyboard in the input area, thereby meeting the diversified requirements of information interaction. Improved user experience.
  • the method of storing the determined information to be stored in the present disclosure is to directly drag the information to be stored to a preset storage area to achieve storage, and neither requires the user to manually input the information to be stored nor perform a copy operation or Paste operation and switch to the corresponding operation interface, thereby reducing the complexity of information storage, saving time for information storage, and improving user experience.
  • FIG. 1 is a schematic flowchart of an information processing method based on an input method provided by an embodiment of the disclosure
  • FIG. 2 is a schematic structural diagram of an information processing device based on an input method provided by an embodiment of the disclosure
  • FIG. 3 is a schematic structural diagram of an electronic device provided by an embodiment of the disclosure.
  • FIG. 4 is a schematic diagram of a display interface of an input method provided by an embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram of a display interface of another input method provided by an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of a display interface of another input method provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of a display interface of another input method provided by an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of a display interface of a shortcut phrase panel provided by an embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of a display interface of another input method provided by an embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram of a display interface of another input method provided by an embodiment of the present disclosure.
  • FIG. 11 is a schematic diagram of a display interface of another input method provided by an embodiment of the present disclosure.
  • FIG. 12 is a schematic diagram of a display interface of another input method provided by an embodiment of the disclosure.
  • FIG. 13 is a schematic flowchart of an information processing method provided by an embodiment of the disclosure.
  • FIG. 14 is a schematic structural diagram of an information processing device provided by an embodiment of the disclosure.
  • FIG. 15 is a schematic diagram of displaying a preset storage area provided by an embodiment of the present disclosure.
  • FIG. 16 is a schematic diagram showing another preset storage area provided by an embodiment of the present disclosure.
  • FIG. 17 is a schematic diagram of a sliding operation provided by an embodiment of the disclosure.
  • FIG. 18 is a schematic diagram of a selection operation provided by an embodiment of the disclosure.
  • the embodiments of the present disclosure provide an information processing method, including:
  • Step S1 Determine the information to be processed.
  • determining the information to be processed may include determining the information to be processed in the input area.
  • determining the information to be processed may include determining the information to be stored based on a user's trigger operation.
  • Step S2 based on the drag operation for the to-be-processed information, perform an operation on the to-be-processed information.
  • performing the operation on the information to be processed may include: determining the processing method for the information to be processed based on the drag operation for the information to be processed; performing the processing on the information to be processed based on the determined processing method The corresponding operation.
  • performing an operation on the information to be processed may include: storing the information to be stored when it is detected that the user drags the information to be stored to the preset storage area.
  • the embodiment of the present disclosure provides an information processing device including: a determination module and a processing module.
  • the determining module is used to determine the information to be processed.
  • the processing module is used to perform corresponding operations on the information to be processed based on the drag operation for the information to be processed.
  • the determination module may include a first determination module 201
  • the processing module may include a second determination module 202 and an execution module 203.
  • the first determining module 201 is configured to determine the information to be processed in the input area.
  • the second determining module 202 is configured to determine the processing mode of the information to be processed based on the drag operation for the information to be processed.
  • the determination module may include a third determination module 1401, and the processing module may include a storage module 1402.
  • the third determining module 1401 is configured to determine the information to be stored based on a user's trigger operation when the information to be processed is stored information.
  • the storage module 1402 is configured to store the information to be stored when it is detected that the user drags the information to be stored to the preset storage area.
  • the embodiments of the present disclosure provide an information processing method based on an input method, which can be executed by a terminal device. As shown in FIG. 1, the method includes:
  • Step S101 Determine the to-be-processed information in the input area.
  • the information to be processed may be text information, picture information, or video information.
  • the method for determining the information to be processed in the input area includes: for the preset information in the input area, selecting the information in the preset information through a selection operation, and determining the selected information as the information to be processed.
  • the area pointed to by the label A in Figure 4 represents the input area
  • the area pointed to by the label B represents the keyboard area of the input method.
  • the preset information "Watermelon in summer” in 4 select the information in the preset information through the selection operation, select “Watermelon in summer” in Figure 5, and determine the selected information as the information to be processed, as shown in Figure 5.
  • the "watermelon in summer” selected in is determined as the information to be processed, that is, the "watermelon in summer” in Figure 6.
  • Step S102 Determine a processing method of the information to be processed based on the drag operation for the information to be processed.
  • the mouse can be used to implement the drag operation on the information to be processed, or the touch movement of the user's finger on the display screen can be detected to implement the drag operation on the information to be processed. There is no limit in it.
  • the drag 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 Figure 6 and Figure 7, drag the "Watermelon in Summer" in the input area in Figure 6 to the input method keyboard area, as shown in Figure 7.
  • Step S103 based on the determined processing mode, perform a corresponding operation on the information to be processed.
  • a corresponding operation is performed on the to-be-processed information determined in step S101 based on the processing mode determined in step S102.
  • the embodiments of the present disclosure can perform certain operations on the input information in the input area according to the user's drag operation, and are not limited to only inputting information through the input method keyboard in the input area, thereby satisfying the diversity of information interaction. Requirements to further enhance the user experience.
  • step S102 may include: determining the drag termination area of the drag operation, and determining the processing mode of the information to be processed based on the drag termination area; or, determining the drag operation The drag trajectory information is determined, and the processing mode of the information to be processed is determined based on the drag trajectory information.
  • the processing mode of the information to be processed can be determined based on the drag termination area or the drag trajectory information.
  • the solution in the prior art can be used to determine the information to be processed.
  • the solution shown in step S101 can also be used to determine the information to be processed; after determining the processing method of the information to be processed, the solution in the prior art can be used to perform corresponding operations on the information to be processed, or the solution shown in step S103 can be used Performing corresponding operations on the information to be processed is not limited in the embodiment of the present disclosure.
  • determining the processing mode of the information to be processed based on the drag trajectory information may specifically include: determining the corresponding drag trajectory information based on the corresponding relationship between the drag trajectory information, the pre-configured drag trajectory information, and the processing mode How to handle the information to be processed.
  • a variety of drag trajectory information can be pre-configured, and the processing method corresponding to any one of the pre-configured drag trajectory information can be a text-to-expression processing method, or a processing method in which information is added to an expression panel.
  • the drag trajectory information of the drag operation for the information to be processed can be determined. If the drag trajectory information is consistent with the pre-configured drag trajectory information, then based on the drag trajectory information, the pre-configured drag trajectory information corresponds to Processing method, determine the processing method of the information to be processed.
  • the drag trajectory information is a circle and is consistent with the pre-configured circular drag trajectory information
  • the processing method corresponding to the pre-configured circular drag trajectory information is "the processing method of adding information to the shortcut phrase panel”
  • the processing method corresponding to the U-shaped drag trajectory information is "the processing method of adding information to the expression panel”
  • the processing method of determining the information to be processed based on the drag trajectory information is "the processing method of adding information to the expression panel”.
  • the above embodiment introduces the processing method of determining the information to be processed based on the drag trajectory.
  • it can also be determined based on the drag termination area corresponding to the drag operation. See the following examples:
  • determining the drag termination area of the drag operation, and determining the processing manner of the information to be processed based on the drag termination area may include: determining that the drag termination area of the drag operation is the first The preset area displays at least one processing method corresponding to the first preset area. When a trigger operation for any processing method is detected, it is determined that the processing method of the information to be processed is the processing method corresponding to the trigger operation.
  • the first preset area and its corresponding at least one processing method are pre-configured.
  • the drag end area is the first preset area
  • the latter at least one processing method corresponding to the first preset area is displayed in the predetermined display area, and when a trigger operation by the user by clicking any processing method is detected, it is determined that the processing method of the information to be processed is trigger The processing method corresponding to the operation.
  • the first preset area may be located in the input area or the input method keyboard area, and may also be partly located in the input area and partly located in the input method keyboard area; the predetermined display area may be located in the input area or the input method keyboard The area may also be partly located in the input area and partly located in the input method keyboard area, which is not limited in the embodiment of the present disclosure.
  • the first preset area is the input method keyboard area
  • the pre-configured input method keyboard area corresponds to three processing methods.
  • the three processing methods are “translation”, “editing” and “voice conversion”.
  • three processing methods of "translation”, “editing” and “voice conversion” are displayed in a predetermined display area, where the predetermined display area is In the input area, when the trigger operation of the user clicking "translate” is detected, the processing method of the information to be processed is determined to be the language conversion processing of the "watermelon in summer".
  • At least one first preset area may be set on the display screen, and the number of processing methods corresponding to each first preset area may be the same or different.
  • two first preset areas can be preset, where when the first preset area is an input area, the first preset area corresponds to two processing methods; when the first preset area is an input method keyboard area, The first preset area corresponds to three processing methods. As shown in FIG. 9, when the first preset area is an input method keyboard area, the three processing methods corresponding to the first preset area are "translation", "editing", and "voice conversion".
  • the processing method corresponding to the first preset area may include: the processing method of converting text to expression, the processing method of adding information to the expression panel, the processing method of adding information to the shortcut phrase panel, word segmentation, and text format. At least one of adjustment, text-to-speech processing, and language conversion processing, and the processing method is not limited to the items listed above.
  • determining the processing method of the information to be processed based on the drag termination area includes: determining the processing method of the information to be processed based on the correspondence between the area and the processing method and the drag termination area .
  • At least one area is pre-configured, and the processing method corresponding to each area is pre-configured, wherein any area can be an expression area, or a phrase area, or an editing area, or a text-to-speech area, or a translation area, and any area
  • An area can be located in the input area, can also be located in the input method keyboard area, and can also be partly located in the input area and partly located in the input method area.
  • the relevant descriptions of the expression area, phrase area, editing area, text-to-speech area, and translation area are detailed in the following embodiments, and will not be repeated here.
  • the drag end area is determined, the area of the drag end area can be determined, and based on the pre-configured processing mode corresponding to the area, it is determined that the processing mode of the information to be processed is the processing mode corresponding to the area.
  • the area C in the pre-configured input method keyboard area is an area
  • the processing mode corresponding to the pre-configured area C is "text-to-speech processing"
  • the processing method of the information to be processed is "text-to-speech processing”.
  • determining the drag termination area of the drag operation, and determining the processing method of the information to be processed based on the drag termination area may include: when a drag termination operation for the information to be processed is detected When the dragging suspension area is determined, when the dragging suspension area is the second preset area, the first trigger area of each processing method corresponding to the second preset area is determined and displayed. When it is detected that the dragging information to be processed continues to The first trigger area of any processing method and the drag operation is terminated, the first trigger area is determined to be the drag termination area, and the processing method of the information to be processed is determined to be the processing method corresponding to the first trigger area.
  • the second preset area and at least one processing method corresponding to the second preset area are preset, and the first trigger area corresponding to each processing method is preset.
  • the drag suspension area is determined. If the drag suspension area is the second preset area, based on the preset second preset area and at least one processing method corresponding to the second preset area, and each preset
  • the first trigger area corresponding to the processing method determines and displays the first trigger area of each processing method corresponding to the second preset area.
  • the first trigger area is determined to be the drag termination area
  • the processing method of the information to be processed is determined to be the processing method corresponding to the first trigger area based on the first trigger area corresponding to each preset processing method.
  • the preset area D corresponds to the two processing methods "translation” and "edit”, and the first trigger area corresponding to each processing method is preset.
  • the second preset area can be located in the input area or the input method keyboard area, and can also be partially located in the input area and partially located in the input method keyboard area; any first trigger area can be located in the input area or the input method
  • the keyboard area may also be partly located in the input area and partly located in the input method keyboard area, which is not limited in the embodiments of the present disclosure.
  • the second preset area is area D, and area D is located in the input method keyboard area.
  • the first trigger area corresponding to "translation" and the first trigger area corresponding to "edit” are both located in the input area.
  • At least one second preset area may be preset, and the number of first trigger areas corresponding to each second preset area may be the same or different.
  • the second preset area preset in the input area corresponds to three first trigger areas
  • the second preset area preset in the input method keyboard area corresponds to two first trigger areas, as shown in FIG. 11,
  • the second preset area located in the input method keyboard area corresponds to two first trigger areas, which are respectively the first trigger area corresponding to "translation" and the first trigger area corresponding to "edit”.
  • any first trigger area may be an expression area, or a phrase area, or an editing area, or a text-to-speech area, or a translation area, and the first trigger area is not limited to the items listed above. Among them, the relevant descriptions of the expression area, phrase area, editing area, text-to-speech area, and translation area are detailed in the following embodiments, and will not be repeated here.
  • Another possible implementation manner of the embodiment of the present disclosure is to determine the drag termination area of the drag operation. Before that, it may also include: recognizing the information to be processed, and obtaining the recognition result of the information to be processed; based on the recognition result, displaying at least one processing method The second trigger area of each processing method in the.
  • determining the drag termination area of the drag operation may include: when it is detected that the information to be processed is dragged to the second trigger area of any processing method and the drag operation is terminated, determining the second trigger area as the drag termination area.
  • the information to be processed can be identified, and the recognition result of the information to be processed can be obtained. Based on the recognition result, in the preset third preset area, the second trigger of each of the at least one processing method is displayed
  • the third preset area may be preset to be located in the input area, or in the input method keyboard area, and may also be partly located in the input area and partly located in the input method keyboard area. In the embodiment of the present disclosure, the third preset area is not located in the input area. Make a limit.
  • the information to be processed is "laugh”, recognize “laugh” and get the recognition result of "laugh”, based on the recognition result of "laugh", display "Translation” in the input area
  • the second trigger area corresponding to "" the second trigger area corresponding to "Expression”
  • the second trigger area corresponding to "Edit” when it is detected that dragging "Laugh” to the second trigger area corresponding to "Expression” is terminated
  • the second trigger area corresponding to the "emoji” is determined as the drag termination area, which can realize the expression information of "laughing" into “laughing”.
  • 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 items listed above.
  • the relevant descriptions of the expression area, phrase area, editing area, text-to-speech area, and translation area are detailed in the following embodiments, and will not be repeated here.
  • determining the processing manner of the information to be processed based on the drag termination area may include:
  • the processing method for determining the information to be processed includes at least one of the processing method of converting text to expression and the processing method of adding information to the expression panel; or, if the dragging termination area is a phrase Area, the processing method of determining the information to be processed includes: adding the information to the processing method of the shortcut phrase panel; or, if the drag termination area is an editing area, the processing method of determining the information to be processed includes: word segmentation and text format adjustment Or, if the dragging termination area is a text-to-speech area, the processing method for determining the information to be processed includes: text-to-speech processing; or, if the dragging termination area is a translation area, determining the content of the information to be processed Processing methods include: language conversion processing.
  • the processing mode corresponding to the expression area may be pre-configured to include at least one of the processing mode of converting text to expression and the processing mode of adding information to the expression panel.
  • the processing method of text-to-emoji conversion is to convert the information to be processed in the form of text into corresponding emoticons, such as converting the text "laughing" into “laughing” emoticons; adding information to the emoticon panel processing method , Is to add the emoticon information to the emoticon panel, such as adding the "laughing" emoticon to the emoticon panel.
  • the processing method corresponding to the phrase area may be pre-configured, including the processing method of adding information to the shortcut phrase panel.
  • the processing method of adding information to the shortcut phrase panel is to add the to-be-processed information in text form to the shortcut phrase panel.
  • the to-be-processed information "Wangjing North Road, Chaoyang District, Beijing”, “ “Watermelon in summer” and "80% of the work schedule to be completed by Friday" are added to the quick phrase panel.
  • the processing mode corresponding to the editing area may be pre-configured to include at least one of word segmentation and text format adjustment.
  • word segmentation is to perform word segmentation operations on the information to be processed to obtain at least two text messages. For example, perform word segmentation operations on the information to be processed "Chaoyang North Road Supermarket” to obtain three text information “Chaoyang", “North Road” and “Supermarket”.
  • Text format adjustment is to adjust the font size, font, and tilt of the information to be processed.
  • the word segmentation operation is performed on the information to be processed to obtain at least two pieces of text information.
  • the click sequence corresponding to each piece of text information is determined, based on the clicked at least two pieces of text information. And the click sequence corresponding to each text message to generate target information. For example, after word segmentation of the processed information "Chaoyang North Road Supermarket”, three text messages “Chaoyang”, “North Road” and “Supermarket” are obtained. When it is detected that the user clicks in turn After “supermarket” and “north road”, the target information "supermarket north road” is generated.
  • the processing mode corresponding to the text-to-speech area may be pre-configured to include text-to-speech processing.
  • text-to-speech processing refers to the conversion of information to be processed in text form into information to be processed in speech form, such as converting the text "Chaoyang North Road Supermarket” into "Chaoyang North Road Supermarket” machine-voice voice information.
  • the target voice type can be determined, and the information to be processed can be converted into voice information corresponding to the target voice type.
  • the method for determining the target voice type includes the target voice type preset by the user; or, the target voice type is determined according to the frequency of use of each voice type; or, the target voice type is determined according to the user's selection operation of the voice type. For example, for the to-be-processed information "Chaoyang North Road Supermarket", the determined target voice type is machine sound, then the “Chaoyang North Road Supermarket” is converted into the machine sound voice information of the "Chaoyang North Road Supermarket”.
  • the processing mode corresponding to the text-to-speech area can be pre-configured to include language conversion processing, where the language conversion processing is the conversion of to-be-processed information in one language form into information in another language form, such as The Chinese form of "summer" is converted to the English form of "summer".
  • the target language type can be determined, and the information to be processed can be converted into information corresponding to the target language type.
  • the method of determining the target language type includes the target language type preset by the user; or, the target language type is determined according to the frequency of use of each language type; or, the target language type is determined according to the user's selection operation for the language type. For example, for the to-be-processed information "summer" in Chinese, and the determined target language type is English, the Chinese “summer” is converted into English “summer”.
  • the method may further include: displaying processing information corresponding to the determined processing manner.
  • step S103 may include: when a confirmation operation for the processing information is detected, performing a corresponding operation on the to-be-processed information based on the determined processing mode.
  • the processing method of the information to be processed can be determined based on the user's drag operation on the information to be processed, and the processing information corresponding to the determined processing method can be displayed, so that the user can understand the drag operation and its corresponding processing method , It can effectively prevent the user's misoperation.
  • the corresponding operation is performed on the processing information based on the determined processing method. Because the user is required to perform further confirmation operations on the displayed processing information, It can further prevent user's misoperation.
  • the input method-based information processing device 20 may include: a first determination module 201, a second determination module 202, and an execution module 203, among them,
  • the first determining module 201 is configured to determine the information to be processed in the input area.
  • the second determining module 202 is configured to determine the processing mode of the information to be processed based on the drag operation for the information to be processed.
  • the execution module 203 is configured to execute corresponding operations on the information to be processed based on the determined processing mode.
  • the second determining module 202 may include any one of the first determining unit and the second determining unit, where:
  • the first determining unit is used to determine the drag termination area of the drag operation, and determine the processing mode of the information to be processed based on the drag termination area.
  • the second determining unit is used to determine the drag trajectory information of the drag operation, and determine the processing mode of the information to be processed based on the drag trajectory information.
  • the first determining unit includes a first determining subunit, a display subunit, and a second determining subunit, where:
  • the first determining subunit is used to determine that the drag termination area of the drag operation is the first preset area.
  • the display subunit is configured to display at least one processing method corresponding to the first preset area.
  • the second determining subunit is configured to determine that the processing method of the information to be processed is the processing method corresponding to the trigger operation when a trigger operation for any processing method is detected.
  • the first determining unit includes a third determining subunit, where:
  • the third determining subunit is used to determine the processing method of the information to be processed based on the correspondence between the area and the processing method and the drag termination area.
  • the first determining unit includes a fourth determining subunit, a fifth determining subunit, a sixth determining subunit, and a seventh determining subunit, where:
  • the fourth determining subunit is used to determine the drag suspension area when the drag suspension operation for the to-be-processed information is detected.
  • the fifth determining subunit is configured to determine and display the first trigger area of each processing method corresponding to the second preset area when the dragging suspension area is the second preset area.
  • the sixth determining subunit is used to determine that the first trigger area is the drag termination area when it is detected that the information to be processed is continued to be dragged to the first trigger area of any processing method and the drag operation is terminated.
  • the seventh determining subunit is used to determine that the processing mode of the information to be processed is the processing mode corresponding to the first trigger area.
  • the input method-based information processing device 20 further includes an identification module and a first display module, where:
  • the identification module is used to identify the information to be processed and obtain the identification result of the information to be processed.
  • the first display module is configured to display the second trigger area of each of the at least one processing method based on the recognition result.
  • the first determining unit includes an eighth determining subunit, wherein:
  • the eighth determining subunit is configured to determine that the second trigger area is the drag termination area when it is detected that the information to be processed is dragged to the second trigger area of any processing method and the drag operation is terminated.
  • the first determining unit is specifically configured to:
  • the processing method for determining the information to be processed includes at least one of: a processing method of converting text to an expression and a processing method of adding information to an expression panel.
  • determining the processing method of the information to be processed includes: adding the information to the processing method of the shortcut phrase panel.
  • the processing method for determining the to-be-processed information includes at least one of word segmentation and text format adjustment.
  • the processing method for determining the information to be processed includes: text-to-speech processing.
  • the processing method for determining the information to be processed includes: language conversion processing.
  • the input method-based information processing device 20 further includes a second display module, where:
  • the second display module is used to display processing information corresponding to the determined processing mode.
  • the execution module 203 is specifically configured to perform a corresponding operation on the to-be-processed information based on the determined processing mode when the confirmation operation for the processed information is detected.
  • the first determining module 201 and the second determining module 202 may be the same type of determining module, or may be two different determining modules, the first display module and the second display module may be the same type of display module, It may also be two different display modules.
  • the first determining unit and the second determining unit may be the same type of determining unit, or two different determining units; the first determining sub-unit, the second determining sub-unit, and the third determining unit.
  • the 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 type of determining subunit, or may be different determining subunits, It can also be arbitrarily combined into the same subunit, which is not limited in the embodiment of the present disclosure.
  • the input method-based information processing device 20 of the embodiment of the present disclosure can execute the input method-based information processing method shown in the foregoing method embodiment of the present disclosure, and the implementation principles are similar, and will not be repeated here.
  • the embodiments of the present disclosure provide an information processing method, which can be executed by a terminal device. As shown in FIG. 13, the method includes:
  • Step S1301 Determine the information to be stored based on the trigger operation of the user.
  • the user's trigger operation is the user's selection operation for the information to be stored
  • the user's selection operation for the information to be stored may include the user's click operation on the information to be stored and the user's long press operation on the information to be stored
  • At least one of, for example, when it is detected that the user long presses the text information "watermelon in summer", the "watermelon in summer” is determined as the information to be stored.
  • Step S1302 When it is detected that the user drags the information to be stored to the preset storage area, the information to be stored is stored.
  • the information to be stored is stored in the storage location corresponding to the preset storage area, where the preset storage area may be for storing text information or expressions.
  • An area of at least one of information, link information, audio information, and video information may also include at least one of a clipboard area, an expression area, a shortcut phrase area, a link area, an audio area, a video area, and an encryption area ,
  • the storage location corresponding to the preset storage area may be located in the memory.
  • the expression area is an area for storing expression information
  • the shortcut phrase area is an area for storing text information that is not private to the user
  • the link area is an area for storing link information
  • the video area is an area for storing video information
  • the encryption area is for storing user privacy.
  • Information area For example, when it is detected that the user drags the information to be stored "watermelon in summer” to the shortcut phrase area, the "watermelon in summer” is stored in the storage location corresponding to the shortcut phrase area.
  • the data corresponding to the information to be stored is dumped to the preset system memory; when it is detected that the user has dragged the information to be stored to the preset
  • the storage area is set, the data corresponding to the information to be stored that has been transferred to the preset system memory is transferred to the storage location corresponding to the preset storage area.
  • the method of storing the determined information to be stored is to directly drag the information to be stored to the preset storage area to realize storage. It does not require the user to manually input the information to be stored or perform copying. Operate or paste operation, and switch to the corresponding operation interface, thereby reducing the complexity of information storage, saving information storage time, and improving user experience.
  • step S1301 includes determining the information to be stored based on the user's trigger operation in the editable area, and determining the information to be stored based on the trigger operation in the non-editable area At least one item of information to be stored.
  • the information to be stored is determined, and/or when a user is detected in a non-editable area, such as a chat box area, triggering Operate to determine the information to be stored.
  • a non-editable area such as a chat box area
  • triggering Operate to determine the information to be stored.
  • the chat box area the area where the message has been sent between the user A and the user B is the chat box area.
  • Step S1302 can be further performed, that is, when it is detected that the user drags the information to be stored to the preset storage area, the information to be stored is stored. Further, the information to be stored can be stored in the preset storage area. The information to be stored after storage is displayed in the area to facilitate the user to find the information to be stored, as follows:
  • the method may further include: determining the display position of the stored information in the preset storage area, and the stored information is the information after the information to be stored is stored; The storage information is displayed at the display position of.
  • determining the display position of the stored information in the preset storage area may include at least one of the following steps A1, A2, and A3.
  • step A1 may include: when it is detected that the user drags the information to be stored to the preset storage area, determining the drag end position of the information to be stored, and determining the storage based on the drag end position of the information to be stored The display position of the information in the preset storage area.
  • step A1 the embodiment of the present disclosure provides an example.
  • the drag end position in the preset storage area is between the display position of "Wangjing North Road, Chaoyang District, Beijing” and the display position of "80% of the work schedule to be completed by Friday", and the drag end position is determined to be stored based on the drag end position
  • the display position of the message "watermelon in summer” in the preset storage area is the display position of "80% of the work schedule to be completed by Friday”
  • the stored message "watermelon in summer” is displayed at the determined display position, such as As shown in Figure 8, the display position of "Watermelon in Summer” is between the display position of "Wangjing North Road, Chaoyang District, Beijing” and the display position of "80% of the work schedule to be completed by Friday”.
  • step A2 may include: determining the display position of the stored information in the preset storage area based on the storage time of the stored information.
  • step A2 the embodiment of the present disclosure provides an example. Specifically, the storage time of "Wangjing North Road, Chaoyang District, Beijing” is 12:00 on October 11, 2019, and the storage time of "Watermelon in Summer” is At 12:00 on October 12, 2019, the storage time of "80% of the work schedule to be completed by Friday" is 13:11 on October 12, 2019. Based on the storage time of each stored information, determine the storage time of each stored information The display position in the preset storage area, as shown in Figure 8, the order of the display position of each stored information in the preset storage area is "Wangjing North Road, Chaoyang District, Beijing", “Watermelon in Summer” and "Zhou 80% of the work schedule must be completed before five.”
  • step A3 may include: based on the information type of the stored information, determining the display area corresponding to the information type in the preset storage area, and determining the display position of the stored information in the determined display area.
  • the preset storage area includes at least one of a clipboard area, an expression area, a shortcut phrase area, a link area, an audio area, a video area, and an encryption area, that is, the display area may be a clipboard area, Any one of expression area, shortcut phrase area, link area, audio area, video area, and encryption area.
  • the embodiments of the present disclosure provide the following examples.
  • the stored information is ordinary text information "watermelon in summer”, based on the information type of the stored information "watermelon in summer”, it is stored in the preset storage area Determine the display area corresponding to the information type as the shortcut phrase area, determine the display position of the stored information "Watermelon in summer” in the shortcut phrase area, and display the stored information "Watermelon in summer” at the display position in the shortcut phrase area .
  • the stored information is the special text information "login password XXXXX"
  • the display area corresponding to the information type is determined to be an encrypted area in the preset storage area, and the stored information is determined.”
  • the display position of the login password XXXXX” in the encrypted area, and the storage information "Login password XXXXX" is displayed in the display position in the encrypted area.
  • the above details the method of displaying the stored information in the preset storage area.
  • the following describes the method of adjusting the display position of the information in the preset storage area, so that the user can find the information in the preset storage area more conveniently and improve the user experience.
  • the information processing method may further include: when a preset condition is met, adjusting the display positions of at least two pieces of information displayed in the preset storage area.
  • satisfying the preset condition includes: detecting that the preset time is reached, detecting the preset operation instruction triggered by the user, and detecting the user's drag operation for any information displayed in the preset storage area.
  • the display positions of at least two pieces of information displayed in the preset storage area can be adjusted, which is not limited to adjustment before step S1301, nor is it limited to adjustment after step S1302.
  • the display positions of at least two pieces of information displayed in the preset storage area are adjusted; it can also be when the preset time triggered by the user is detected Operation instructions, such as a preset operation instruction triggered by a user by triggering an adjustment control in the preset storage area to adjust the display position of at least two pieces of information displayed in the preset storage area, wherein the preset operation instruction is used to control the adjustment
  • Operation instructions such as a preset operation instruction triggered by a user by triggering an adjustment control in the preset storage area to adjust the display position of at least two pieces of information displayed in the preset storage area, wherein the preset operation instruction is used to control the adjustment
  • the display position of at least two pieces of information displayed in the preset storage area it can also be detected when a user drags any information displayed in the preset storage area, such as the user’s response to the “Summer in the summer” displayed in the preset storage area. "Watermelon" drag operation to adjust the display position of at least two messages displayed in the preset storage area.
  • adjusting the display positions of the at least two pieces of information displayed in the preset storage area may specifically include at least one of the following steps B1 and B2.
  • step B1 may include: when it is detected that the preset time is reached or the preset operation instruction triggered by the user is detected, adjusting the display in the preset storage area according to at least one of the frequency of information use and the information storage time The display position of at least two messages.
  • the information displayed in the preset storage area can be sorted according to the order of information use frequency or according to the order of information storage time, and at least the information displayed in the preset storage area can be adjusted according to the sorted information.
  • the display position of the two messages can be sorted according to the order of information use frequency or according to the order of information storage time, and at least the information displayed in the preset storage area can be adjusted according to the sorted information.
  • the order of its original display position is "Wangjing North Road, Chaoyang District, Beijing", “Watermelon in Summer” and "80% of the work schedule to be completed by Friday".
  • the storage time of "Wangjing North Road, Chaoyang District, Beijing” is 12:00, October 10, 2019, and the storage time of "Watermelon in summer” is 17:35, October 12, 2019.
  • the storage time of "80% of the work schedule to be completed by Friday" is at 13:00 on October 11, 2019.
  • the order of the information storage time is to sort the information, that is, the order of the information is "Wangjing North Road, Chaoyang District, Beijing", “80% of the work schedule to be completed by Friday” and “Watermelon in summer”
  • the display position of “Watermelon in summer” and the display position of "80% of the work schedule to be completed by Friday that is, as shown in Figure 16, the order of the adjusted display positions is "Beijing "Wangjing North Road, Chaoyang District", "80% of the work arrangements to be completed by Friday” and “Watermelon in summer”.
  • step B2 may include: when a user's drag operation for any information displayed in the preset storage area is detected, adjusting the value of at least two pieces of information displayed in the preset storage area based on the drag termination position Show location.
  • the drag end position can be determined, and the location of any information in the preset storage area can be determined based on the drag end position. Insert the position, and insert any information at the insertion position, and adjust the display position of at least one information except any information in the preset storage area. For example, for the information displayed in the preset storage area, the order of its original display position is "Wangjing North Road, Chaoyang District, Beijing", “Watermelon in Summer” and "80% of the work schedule to be completed by Friday".
  • the drag end position can be determined, and the to-be-adjusted display in the preset storage area can be determined based on the drag end position. And adjust the display position of the determined two information in the preset storage area. For example, for the information displayed in the preset storage area, the order of its original display position is "Wangjing North Road, Chaoyang District, Beijing", “Watermelon in Summer” and "80% of the work schedule to be completed by Friday".
  • the information processing method may further include: when it is detected that the user drags the information displayed in the preset storage area to the editing area, dragging the dragged information Insert to the corresponding position in the editing area.
  • inserting the dragging information into the corresponding position of the editing area can include determining the dragging end position of the dragging information in the editing area, inserting the dragging information in the editing area according to the dragging end position, and dragging The information is inserted into at least one item of the cursor position in the editing area.
  • the dragged information can be inserted into the corresponding position of the editing area, which is not limited to before step S1301, nor is it limited to After step S1302.
  • the drag information when it is detected that the user drags the information displayed in the preset storage area to the editing area, the drag information is determined to be at the drag end position of the edit area, and the drag information is determined according to the drag end position At the insertion position of the editing area, insert the dragged information to the insertion position of the editing area.
  • the cursor position of the cursor in the editing area is determined, and the dragged information is inserted into the cursor position of the editing area. For example, when it is detected that the user drags the information "Watermelon in summer” displayed in the preset storage area to the editing area, and after determining that the cursor position in the editing area is “Watermelon” is inserted after "Little Bear loves to eat", that is, the information displayed in the editing area is "Little Bear loves to eat watermelon in summer”.
  • the information processing method may further include: when it is detected that the user triggers at least one of the following operation mode C1, operation mode C2, operation mode C3, and operation mode C4 When the item is operated, the preset storage area is loaded and displayed.
  • the step of loading and displaying the preset storage area may be before step S1302, or when it is detected that the user drags the information displayed in the preset storage area to the editing area, the dragged information Before the step of inserting into the corresponding position of the editing area, it is not limited in the embodiment of the present disclosure.
  • the operation mode C1 specifically includes: a drag operation for the information to be stored, and the drag end position belongs to the first preset area.
  • the information to be stored when it is detected that the user triggers the information to be stored for a time greater than the preset time threshold, the information to be stored is floated so that the user can select the information to be stored and perform a move operation; when it is detected that the user selects and moves the information to be stored after floating, It is determined that the user's operation on the information to be stored is a drag operation on the information to be stored.
  • the operation mode C2 specifically includes: a click operation on the second preset area.
  • the second preset area is the identification area corresponding to the preset storage area
  • the preset storage area is loaded and displayed.
  • the operation mode C3 specifically includes: a sliding operation, and the sliding trajectory information of the sliding operation matches the preset trajectory information, or the starting position of the sliding operation belongs to the third preset area, and the sliding direction is the preset sliding direction.
  • the embodiment of the present disclosure provides an example. Specifically, when a user triggers a sliding operation is detected, the sliding trajectory information of the sliding operation is circular trajectory information, and the circular trajectory information matches the preset circular trajectory information, Load and display the preset storage area; or, when it is detected that the user triggers a sliding operation, and the starting position of the sliding operation belongs to the third preset area, and the sliding direction is the preset sliding direction, load and display the preset storage area, such as As shown in FIG. 17, when it is detected that a user triggers a sliding operation, and the starting position of the sliding operation is the third preset area, and the sliding direction is the preset sliding direction pointed by the arrow, the preset storage area is loaded and displayed.
  • the operation mode C4 specifically includes: a selection operation for the information to be stored.
  • a selection operation for the information to be stored As shown in Figure 18, when it is detected that the user triggers the selection operation for the information to be stored "watermelon in summer", the preset storage area is loaded and displayed, which can facilitate the user to drag the information to be stored to the preset storage area, and speed up The speed of information storage.
  • step S1302 may specifically include any one of the following steps D1 and D2, and the following will specifically introduce step D1 and step D2.
  • Step D1 may include: when it is detected that the user drags the information to be stored from one application to a preset storage area in another application, storing the information to be stored.
  • the data corresponding to the information to be stored is divided into one The storage location corresponding to the application is transferred to the preset system memory; when it is detected that the user drags the information to be stored from one application to the preset storage area in another application, the data corresponding to the information to be stored is transferred from The preset system memory is transferred to the storage location corresponding to another application.
  • Step D2 may include: when it is detected that the user drags the information to be stored from the first functional area to the preset storage area located in the second functional area, storing the information to be stored.
  • first functional area and the second functional area correspond to the same application.
  • the data corresponding to the information to be stored is replaced by The storage location corresponding to the first functional area is transferred to the preset system memory; when it is detected that the user drags the information to be stored from the first functional area to the preset storage area in the second functional area, the information to be stored is corresponding The data of is transferred from the preset system memory to the storage location corresponding to the second functional area.
  • the storage location corresponding to the first functional area may be the same as or different from the storage location corresponding to the second functional area, which is not limited in the embodiment of the present disclosure.
  • step S1302 may specifically include: when it is detected that the user drags the information to be stored from the dialog box area of the instant messaging to the preset storage area, storing the information to be stored.
  • the dialog box area and the preset storage area of the instant messaging are located in different applications, or located in different functional areas of the same application.
  • the preset storage area includes a shortcut phrase area
  • the shortcut phrase area and the instant messaging dialog box area can be located in different applications.
  • the instant messaging dialog box area refers to the area where the user instantly sends and receives Internet messages, and the shortcut phrase area is located in the system that can be used by the system. In the application that can be called at any time, for example, the shortcut phrase area can be located in the input method application that comes with the system.
  • the shortcut phrase area when it is detected that the user triggers at least one of the operation mode C1, the operation mode C2, the operation mode C3, and the operation mode C4, the shortcut phrase area is loaded and displayed so that the user can drag the information to be stored into Shortcut phrase area.
  • the data corresponding to "watermelon in summer” is stored in the storage location corresponding to the shortcut phrase area Place.
  • the dialog box area and the preset storage area of instant messaging can be located in different functional areas of the same application.
  • the preset storage area can be located in the favorite area of instant messaging.
  • the method may further include: when it is detected that the user drags the information in the dialog box area of the instant messaging to the information input area of the instant messaging, and when it is detected When the user sends the information in the information input area, the information in the information input area is sent.
  • the display position of the dragging information is displayed to realize the rapid input of information. Further, when the user's sending operation of the information in the information input area is detected, the information in the information input area is sent.
  • the information processing method is described in detail from the perspective of method steps above, and the information processing device is introduced from the perspective of a virtual module or a virtual unit as follows.
  • the information processing device 140 may include: a third determining module 1401 and a storage module 1402.
  • the third determining module 1401 is configured to determine the information to be stored based on the trigger operation of the user.
  • the storage module 1402 is configured to store the information to be stored when it is detected that the user drags the information to be stored to the preset storage area.
  • the information processing device 140 further includes a fourth determining module and a display module.
  • the fourth determining module is used to determine the display position of the stored information in the preset storage area.
  • the storage information is the information after the information to be stored is stored.
  • the display module is used to display the storage information at the determined display position.
  • the fourth determining module includes at least one of a third determining unit, a fourth determining unit, and a fifth determining unit.
  • the third determining unit is used to determine the drag end position of the information to be stored when it is detected that the user drags the information to be stored to the preset storage area, and determine that the stored information is in the preset based on the drag end position of the information to be stored The display position in the storage area.
  • the fourth determining unit is configured to determine the display position of the stored information in the preset storage area based on the storage time of the stored information.
  • the fifth determining unit is configured to determine the display area corresponding to the information type in the preset storage area based on the information type of the stored information, and determine the display position of the stored information in the determined display area.
  • the information processing device 140 further includes an adjustment module.
  • the adjustment module is used to adjust the display positions of at least two pieces of information displayed in the preset storage area when the preset conditions are met.
  • satisfying the preset condition includes detecting that the preset time is reached, detecting a preset operation instruction triggered by the user, and detecting at least one of the user's drag operation for any information displayed in the preset storage area.
  • the adjustment module includes at least one of a first adjustment unit and a second adjustment unit.
  • the first adjustment unit is configured to adjust at least two items displayed in the preset storage area according to at least one of the frequency of information use and the information storage time when it is detected that the preset time is reached or the preset operation instruction triggered by the user is detected.
  • the display position of the information is configured to adjust at least two items displayed in the preset storage area according to at least one of the frequency of information use and the information storage time when it is detected that the preset time is reached or the preset operation instruction triggered by the user is detected.
  • the second adjustment unit is configured to adjust the display positions of at least two pieces of information displayed in the preset storage area based on the drag termination position when a drag operation of the user for any information displayed in the preset storage area is detected.
  • the information processing device 140 further includes an insertion module.
  • the inserting module is used to insert the dragged information into the corresponding position of the editing area when it is detected that the user drags the information displayed in the preset storage area to the editing area.
  • the plug-in module includes at least one of a first plug-in unit and a second plug-in unit.
  • the first insertion unit is used to determine the drag end position of the drag information in the edit area, and insert the drag information in the edit area according to the drag end position.
  • the second inserting unit is used to insert the dragged information to the cursor position in the editing area.
  • the information processing device 140 further includes a loading display module.
  • the loading display module is used to load and display the preset storage area when it is detected that the user triggers at least one of the following operation modes 1-4.
  • Operation mode 1 may include: a drag operation for the information to be stored, and the drag end position belongs to the first preset area;
  • operation mode 2 may include: a click operation for the second preset area;
  • operation mode 3 may include: sliding Operation, and the sliding trajectory information of the sliding operation matches the preset trajectory information, or the starting position of the sliding operation belongs to the third preset area, and the sliding direction is the preset sliding direction;
  • operation mode 4 may include: for the information to be stored Select the operation.
  • the third determining module 1401 is specifically configured to determine the information to be stored based on the user's trigger operation in the editable area, and based on the trigger operation in the non-editable area, Determine at least one item of the information to be stored.
  • the storage module 1402 may specifically include any one of a first storage unit and a second storage unit.
  • the first storage unit is configured to store the information to be stored when it is detected that the user drags the information to be stored from one application to a preset storage area in another application;
  • the second storage unit is used to store the information to be stored when it is detected that the user drags the information to be stored from the first functional area to the preset storage area located in the second functional area, the first functional area and the second functional area Corresponds to the same application.
  • the storage module 1402 is specifically used to store the information to be stored when it is detected that the user drags the information to be stored from the dialog box area of the instant messaging to the preset storage area;
  • the communication dialog box area and the preset storage area are located in different applications, or located in different functional areas of the same application.
  • the storage module 1402 detects that the user will The information to be stored is dragged from the dialog box area of instant messaging to the preset storage area.
  • the information to be stored it is specifically used when it is detected that the user drags the information to be stored from the dialog box area of instant messaging to the shortcut phrase area to store Information to be stored.
  • the device 140 may further include a sending module.
  • the sending module is used for when it is detected that the user drags the information in the dialog box area of the instant messaging to the information input area of the instant messaging, and when the user’s sending operation for the information in the information input area is detected, send the information in the information input area information.
  • the third determining module 1401 and the fourth determining module may be the same determining module or two different determining modules; the third determining unit, the fourth determining unit, and the fifth determining unit may be the same.
  • One determination unit can also be three different determination units, or can be arbitrarily combined into the same determination unit; the first adjustment unit and the second adjustment unit can be two identical adjustment units or two different adjustment units Unit; the first plug-in unit and the second plug-in unit can be two identical plug-in units, or two different plug-in units, the first storage unit and the second storage unit can be the same storage unit, or two The different storage units are not limited in the embodiment of the present disclosure.
  • the information processing device 140 of the embodiment of the present disclosure can execute an information processing method provided by the method embodiment of the present disclosure, and its implementation principles are similar, and will not be repeated here.
  • the foregoing describes the input method-based information processing device of the present disclosure from the perspective of a virtual module or a virtual unit, and the following describes the electronic device of the present disclosure from the perspective of a physical device.
  • the electronic device 300 may include: one or more processors; a memory; one or more application programs, wherein one or more application programs are stored in the memory and configured to be executed by one or more processors, one or more Each program is configured to perform operations corresponding to the methods shown in the above-mentioned embodiments.
  • Terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (e.g. Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
  • PDAs personal digital assistants
  • PADs tablets
  • PMPs portable multimedia players
  • vehicle-mounted terminals e.g. Mobile terminals such as car navigation terminals
  • fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 3 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the electronic device includes a memory and a processor, where the processor here may be referred to as the processing device 301 described below, and the memory may include a read-only memory (ROM) 302, a random access memory (RAM) 303, and a storage device below. At least one of 308, as follows:
  • the electronic device 300 may include a processing device (such as a central processing unit, a graphics processor, etc.) 301, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 302 or from a storage device 308
  • the program in the memory (RAM) 303 executes various appropriate actions and processing.
  • various programs and data required for the operation of the electronic device 300 are also stored.
  • the processing device 301, the ROM 302, and the RAM 303 are connected to each other through a bus 304.
  • An input/output (I/O) interface 305 is also connected to the bus 304.
  • the following devices can be connected to the I/O interface 305: including input devices 306 such as touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; including, for example, liquid crystal displays (LCD), speakers, vibrations
  • input devices 306 such as touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.
  • LCD liquid crystal displays
  • An output device 307 such as a device
  • a storage device 308 such as a magnetic tape, a hard disk, etc.
  • the communication device 309 may allow the electronic device 300 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 3 shows an electronic device 300 having various devices, it should be understood that it is not required to implement or have all of the illustrated devices. It may alternatively be implemented or provided with more or fewer devices.
  • the process described above with reference to the flowchart can be implemented as a computer software program.
  • the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302.
  • the processing device 301 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the aforementioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable signal medium may send, propagate or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
  • the client and server can communicate with any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium.
  • Communication e.g., communication network
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (for example, the Internet), and end-to-end networks (for example, ad hoc end-to-end networks), as well as any currently known or future research and development network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
  • the aforementioned computer-readable medium carries one or more programs, and when the aforementioned one or more programs are executed by the electronic device, the electronic device is caused to perform corresponding operations of the method according to the embodiment of the present disclosure.
  • the computer program code used to perform the operations of the present disclosure can be written in one or more programming languages or a combination thereof.
  • the above-mentioned programming languages include but are not limited to object-oriented programming languages such as Java, Smalltalk, C++, and Including conventional procedural programming languages-such as "C" language or similar programming languages.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network (including a local area network (LAN) or a wide area network (WAN)), or it can be connected to an external computer (for example, using an Internet service provider to connect to the user's computer). connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagram may represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the modules or units involved in the embodiments described in the present disclosure can be implemented in software or hardware. Wherein, the name of the module or unit does not constitute a limitation on the unit itself under certain circumstances.
  • the first determining module can also be described as "a module that determines the information to be processed in the input area".
  • exemplary types of hardware logic components include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logical device (CPLD) and so on.
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Product
  • SOC System on Chip
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium, which may contain or store a program for use by the instruction execution system, apparatus, or device or in combination with the instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • the machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing.
  • machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM compact disk read only memory
  • magnetic storage device or any suitable combination of the foregoing.
  • the embodiments of the present disclosure provide a computer-readable medium with a computer program stored on the computer-readable medium, and when it runs on a computer, the computer can execute the corresponding content in the foregoing method embodiment.
  • an information processing method including:
  • an information processing device including:
  • the determination module is used to determine the information to be processed
  • the processing module is configured to perform corresponding operations on the to-be-processed information based on the drag operation for the to-be-processed information.
  • an information processing method based on an input method including:
  • determining the processing mode of the to-be-processed information includes any one of the following:
  • determining the drag termination area of a drag operation, and determining the processing method of the information to be processed based on the drag termination area includes:
  • determining the processing method of the information to be processed based on the drag termination area includes:
  • the processing method of the information to be processed is determined.
  • determining the drag termination area of a drag operation, and determining the processing method of the information to be processed based on the drag termination area includes:
  • the drag suspension area is determined
  • the first trigger area is the drag termination area
  • the processing method of the information to be processed is the processing method corresponding to the first trigger area.
  • determining the drag termination area of the drag operation previously further includes:
  • determine the drag termination area of the drag operation including:
  • the second trigger area is the drag termination area.
  • determining the processing method of the information to be processed based on the drag termination area includes any one of:
  • determining the processing method of the information to be processed includes at least one of: a processing method of converting text to an expression and a processing method of adding information to the expression panel;
  • the processing method for determining the information to be processed includes: adding information to the processing method of the shortcut phrase panel;
  • the processing method for determining the information to be processed includes at least one of word segmentation and text format adjustment;
  • the processing method for determining the information to be processed includes: text-to-speech processing;
  • the processing method for determining the information to be processed includes: language conversion processing.
  • performing corresponding operations on the information to be processed includes:
  • an information processing device based on an input method, including: a first determining module, configured to determine information to be processed in an input area;
  • the second determining module is configured to determine the processing mode of the information to be processed based on the drag operation for the information to be processed;
  • the execution module is used to execute corresponding operations on the information to be processed based on the determined processing mode.
  • the second determining module includes any one of a first determining unit and a second determining unit, wherein,
  • the first determining unit is configured to determine the drag termination area of the drag operation, and determine the processing mode of the information to be processed based on the drag termination area;
  • the second determining unit is used to determine the drag trajectory information of the drag operation, and determine the processing mode of the information to be processed based on the drag trajectory information.
  • the first determination unit includes a first determination subunit, a display subunit, and a second determination subunit, wherein:
  • the first determining subunit is used to determine that the drag termination area of the drag operation is the first preset area
  • a display subunit for displaying at least one processing method corresponding to the first preset area
  • the second determining subunit is configured to determine that the processing method of the information to be processed is the processing method corresponding to the trigger operation when a trigger operation for any processing method is detected.
  • the first determining unit includes a third determining subunit, wherein
  • the third determining subunit is used to determine the processing method of the information to be processed based on the correspondence between the area and the processing method and the drag termination area.
  • the first determining unit includes a fourth determining subunit, a fifth determining subunit, a sixth determining subunit, and a seventh determining subunit, wherein,
  • the fourth determining subunit is used to determine the drag suspension area when the drag suspension operation for the to-be-processed information is detected;
  • the fifth determining subunit is used to determine and display the first trigger area of each processing method corresponding to the second preset area when the drag suspension area is the second preset area;
  • the sixth determining subunit is used to determine that the first trigger area is the drag termination area when it is detected that the information to be processed is continued to be dragged to the first trigger area of any processing method and the drag operation is terminated;
  • the seventh determining subunit is used to determine that the processing mode of the information to be processed is the processing mode corresponding to the first trigger area.
  • the information processing device based on the input method further includes an identification module and a first display module, wherein,
  • the identification module is used to identify the information to be processed and obtain the identification result of the information to be processed;
  • the first display module is configured to display the second trigger area of each of the at least one processing method based on the recognition result
  • the first determining unit includes an eighth determining subunit, wherein:
  • the eighth determining subunit is configured to determine that the second trigger area is the drag termination area when it is detected that the information to be processed is dragged to the second trigger area of any processing method and the drag operation is terminated.
  • the first determining unit is specifically configured to:
  • the processing method for determining the information to be processed includes at least one of: a processing method of converting text to an expression and a processing method of adding information to the expression panel;
  • determining the processing method of the information to be processed includes: adding information to the processing method of the shortcut phrase panel;
  • the processing method for determining the information to be processed includes at least one of word segmentation and text format adjustment;
  • the processing method of the information to be processed includes: text-to-speech processing;
  • the processing method for determining the information to be processed includes: language conversion processing.
  • the information processing device based on the input method further includes a second display module, wherein:
  • the second display module is used to display processing information corresponding to the determined processing method
  • the execution module is specifically configured to perform a corresponding operation on the information to be processed based on the determined processing mode when the confirmation operation for the processed information is detected.
  • an information processing method including:
  • the information to be stored is stored.
  • storing the to-be-stored information further includes:
  • the storage information is displayed at the determined display position.
  • determining the display position of the stored information in the preset storage area includes at least one of the following:
  • the display area corresponding to the information type is determined in the preset storage area, and the display position of the stored information in the determined display area is determined.
  • the information processing method further includes:
  • Satisfying the preset conditions includes at least one of the following:
  • the preset operation instruction triggered by the user is detected
  • a user's drag operation on any information displayed in the preset storage area is detected.
  • adjusting the display positions of at least two pieces of information displayed in the preset storage area includes at least one of the following:
  • the display positions of at least two pieces of information displayed in the preset storage area are adjusted based on the drag termination position.
  • the information processing method further includes:
  • the dragged information is inserted into the corresponding position of the editing area.
  • inserting the dragged information into the corresponding position of the editing area includes at least one of the following:
  • the information processing method further includes:
  • the selected operation for the information to be stored is the selected operation for the information to be stored.
  • determining the information to be stored based on a user's trigger operation includes at least one of the following:
  • the information to be stored is determined.
  • storing the information to be stored includes any one of the following:
  • the information to be stored is stored.
  • the first functional area and the second functional area correspond to the same application.
  • storing the information to be stored includes:
  • the dialog box area and the preset storage area of the instant messaging are located in different applications, or located in different functional areas of the same application.
  • the preset storage area includes a shortcut phrase area
  • the dialog box area of the instant messaging and the preset storage area are located in different applications
  • storing the information to be stored includes:
  • the information to be stored is stored.
  • the method further includes:
  • an information processing device including a third determining module, configured to determine information to be stored based on a user's trigger operation;
  • the storage module is used to store the information to be stored when it is detected that the user drags the information to be stored to the preset storage area.
  • the information processing device further includes a fourth determining module and a display module, wherein:
  • the fourth determining module is used to determine the display position of the stored information in the preset storage area, and the stored information is the information after storage of the to-be-stored information;
  • the display module is used to display the storage information at the determined display position.
  • the fourth determining module includes at least one of a third determining unit, a fourth determining unit, and a fifth determining unit.
  • the third determining unit is used to determine the drag end position of the information to be stored when it is detected that the user drags the information to be stored to the preset storage area, and determine that the stored information is in the preset based on the drag end position of the information to be stored The display position in the storage area;
  • the fourth determining unit is configured to determine the display position of the stored information in the preset storage area based on the storage time of the stored information
  • the fifth determining unit is configured to determine the display area corresponding to the information type in the preset storage area based on the information type of the stored information, and determine the display position of the stored information in the determined display area.
  • the information processing device further includes an adjustment module.
  • the adjustment module is used to adjust the display positions of at least two pieces of information displayed in the preset storage area when the preset conditions are met;
  • Satisfying the preset conditions includes at least one of the following:
  • the preset operation instruction triggered by the user is detected
  • a user's drag operation on any information displayed in the preset storage area is detected.
  • the adjustment module includes at least one of a first adjustment unit and a second adjustment unit.
  • the first adjustment unit is configured to adjust at least two items displayed in the preset storage area according to at least one of the frequency of information use and the information storage time when it is detected that the preset time is reached or the preset operation instruction triggered by the user is detected.
  • the second adjustment unit is configured to adjust the display positions of at least two pieces of information displayed in the preset storage area based on the drag termination position when a drag operation of the user for any information displayed in the preset storage area is detected.
  • the information processing apparatus further includes a plug-in module.
  • the inserting module is used to insert the dragged information into the corresponding position of the editing area when it is detected that the user drags the information displayed in the preset storage area to the editing area.
  • the plug-in module includes at least one of a first plug-in unit and a second plug-in unit.
  • the first insertion unit is used to determine the drag end position of the drag information in the edit area, and insert the drag information in the edit area according to the drag end position;
  • the second inserting unit is used to insert the dragged information into the cursor position in the editing area.
  • the information processing device further includes a loading display module.
  • the loading display module is used to load and display the preset storage area when it is detected that the user triggers at least one of the following operations:
  • the selected operation for the information to be stored is the selected operation for the information to be stored.
  • the third determining module is specifically configured to determine the information to be stored based on the user's trigger operation in the editable area, and to determine the information to be stored based on the trigger operation in the non-editable area. Store at least one item of information.
  • the storage module may specifically include any one of a first storage unit and a second storage unit, wherein:
  • the first storage unit is configured to store the information to be stored when it is detected that the user drags the information to be stored from one application to a preset storage area in another application;
  • the second storage unit is used to store the information to be stored when it is detected that the user drags the information to be stored from the first functional area to the preset storage area located in the second functional area, the first functional area and the second functional area Corresponds to the same application.
  • the storage module is specifically configured to store the information to be stored when it is detected that the user drags the information to be stored from the dialog box area of the instant messaging to the preset storage area;
  • the dialog box area and the preset storage area of the instant messaging are located in different applications, or located in different functional areas of the same application.
  • the storage module detects that the user will be stored Information is dragged from the dialog box area of instant messaging to the preset storage area to store the information to be stored, specifically used when it is detected that the user drags the information to be stored from the dialog box area of instant messaging to the shortcut phrase area to store the information to be stored information.
  • the device further includes a sending module.
  • the sending module is used for when it is detected that the user drags the information in the dialog box area of the instant messaging to the information input area of the instant messaging, and when the user’s sending operation for the information in the information input area is detected, send the information in the information input area information.
  • an electronic device including: one or more processors; a memory; one or more application programs, wherein one or more application programs are stored in the memory and It is configured to be executed by one or more processors, and one or more programs are configured to perform operations corresponding to the method according to the embodiments of the present disclosure.
  • a computer-readable medium having a computer program stored thereon, and when the program is executed by a processor, the method according to the embodiment of the present disclosure is implemented.

Abstract

The present disclosure provides an information processing method and apparatus, an electronic device, and a medium. The method comprises: determining information to be processed; and performing a corresponding operation on said information on the basis of a drag operation for the said information.

Description

信息处理方法、装置、电子设备及介质Information processing method, device, electronic equipment and medium
相关申请的交叉引用Cross-references to related applications
本申请要求于2019年10月30日在中国国家知识产权局提交的中国专利申请No.2019110462067和于2019年10月30日中国国家知识产权局提交的中国专利申请No.201911046169X的优先权,其公开内容通过引用整体并入本文。This application claims the priority of the Chinese patent application No. 2019110462067 filed with the State Intellectual Property Office of China on October 30, 2019 and the Chinese patent application No. 201911046169X filed on October 30, 2019 with the State Intellectual Property Office of China, which The disclosure is incorporated herein by reference in its entirety.
技术领域Technical field
本公开涉及计算机技术,具体地,本公开涉及一种信息处理方法、装置、电子设备及介质。The present disclosure relates to computer technology. Specifically, the present disclosure relates to an information processing method, device, electronic device, and medium.
背景技术Background technique
随着信息技术的发展,越来越多的用户与电子设备进行信息交互,或者通过电子设备与其它用户进行信息交互。无论是用户与电子设备进行信息交互还是通过电子设备与其它用户进行信息交互,均需要借助输入法来实现,例如,用户借助输入法将信息输入至搜索框内进行信息搜索。某些时候,用户为了满足信息交互的多样化的要求,需要对输入区域内已输入的信息执行某些操作,因此如何对输入区域内已输入的信息执行操作成为一个关键问题。With the development of information technology, more and more users interact with electronic devices or interact with other users through electronic devices. Whether a user interacts information with an electronic device or interacts with other users through an electronic device, it needs to be realized by an input method. For example, the user inputs information into a search box to perform an information search by using an input method. Sometimes, in order to meet the diversified requirements of information interaction, users need to perform certain operations on the information entered in the input area. Therefore, how to perform operations on the information entered in the input area becomes a key issue.
此外,日常生活或者工作中,用户需要处理大量的信息,为方便信息管理以及快速准确的检索信息,绝大多数电子设备都具有信息存储的功能。因此,有必要提供一种快速存储信息的方式。In addition, in daily life or work, users need to process a large amount of information. In order to facilitate information management and retrieve information quickly and accurately, most electronic devices have an information storage function. Therefore, it is necessary to provide a way to store information quickly.
发明内容Summary of the invention
第一方面,本公开提供了一种信息处理方法,包括:确定待处理信息;基于针对所述待处理信息的拖动操作,对所述待处理信息执行相应的操 作。In a first aspect, the present disclosure provides an information processing method, including: determining information to be processed; and performing a corresponding operation on the information to be processed based on a drag operation for the information to be processed.
在第一方面的第一实施例中,本公开提供了一种信息处理方法,包括:In a first embodiment of the first aspect, the present disclosure provides an information processing method, including:
在输入区域内确定待处理信息;Confirm the information to be processed in the input area;
基于针对待处理信息的拖动操作,确定待处理信息的处理方式;Determine the processing method of the information to be processed based on the drag operation for the information to be processed;
基于确定出的处理方式,对待处理信息执行相应的操作。Based on the determined processing method, perform corresponding operations on the information to be processed.
在第一方面的第二实施例中,提供了一种信息处理方法,包括:In a second embodiment of the first aspect, an information processing method is provided, including:
基于用户的触发操作,确定待存储信息;Determine the information to be stored based on the user's trigger operation;
当检测到用户将所述待存储信息拖动至预设存储区域时,存储所述待存储信息。When it is detected that the user drags the information to be stored to the preset storage area, the information to be stored is stored.
第二方面,本公开提供了一种信息处理装置,包括:In a second aspect, the present disclosure provides an information processing device, including:
确定模块,用于确定待处理信息;The determination module is used to determine the information to be processed;
处理模块,用于基于针对所述待处理信息的拖动操作,对所述待处理信息执行相应的操作。The processing module is configured to perform corresponding operations on the to-be-processed information based on the drag operation for the to-be-processed information.
在第二方面的第一实施例中,本公开提供了一种信息处理装置,包括:In the first embodiment of the second aspect, the present disclosure provides an information processing device including:
第一确定模块,用于在输入区域内确定待处理信息;The first determining module is used to determine the information to be processed in the input area;
第二确定模块,用于基于针对待处理信息的拖动操作,确定待处理信息的处理方式;The second determining module is configured to determine the processing mode of the information to be processed based on the drag operation for the information to be processed;
执行模块,用于基于确定出的处理方式,对待处理信息执行相应的操作。The execution module is used to execute corresponding operations on the information to be processed based on the determined processing mode.
在第二方面的第二实施例中,本公开提供了一种信息处理装置,包括:In a second embodiment of the second aspect, the present disclosure provides an information processing device including:
第三确定模块,用于基于用户的触发操作,确定待存储信息;The third determining module is used to determine the information to be stored based on the user's trigger operation;
存储模块,用于当检测到用户将所述待存储信息拖动至预设存储区域时,存储所述待存储信息。The storage module is configured to store the information to be stored when it is detected that the user drags the information to be stored to the preset storage area.
第三方面,本公开提供了一种电子设备,包括:In a third aspect, the present disclosure provides an electronic device, including:
一个或多个处理器;One or more processors;
存储器;Memory
一个或多个应用程序,其中一个或多个应用程序被存储在存储器中并 被配置为由一个或多个处理器执行,一个或多个程序被配置为执行根据第一方面所示的方法对应的操作。One or more application programs, where one or more application programs are stored in a memory and configured to be executed by one or more processors, and one or more programs are configured to execute the method shown in the first aspect Operation.
第四方面,本公开提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现第一方面所示的方法。In a fourth aspect, the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method shown in the first aspect is implemented.
本公开提供了一种信息处理方法、装置、电子设备及介质,本公开通过确定待处理信息,并基于针对待处理信息的拖动操作,对待处理信息执行操作,提升了用户体验。The present disclosure provides an information processing method, device, electronic equipment, and medium. The present disclosure determines information to be processed, and performs operations on the information to be processed based on a drag operation for the information to be processed, thereby improving user experience.
本公开可以根据用户的拖动操作对输入区域内已输入的信息执行某些操作,而不仅仅限定于在输入区域内仅能通过输入法键盘输入信息,从而满足了信息交互的多样化要求,提升了用户体验。此外,本公开中存储确定出的待存储信息的方式为直接将待存储的信息拖动至预设存储区域,以实现存储,既不需要用户手动输入待存储信息,也不需要执行复制操作或者粘贴操作,并切换至对应的操作界面,从而降低了信息存储的复杂度,节省了信息存储的时间,进而提高用户体验。The present disclosure can perform certain operations on the input information in the input area according to the user's drag operation, and is not limited to only inputting information through the input method keyboard in the input area, thereby meeting the diversified requirements of information interaction. Improved user experience. In addition, the method of storing the determined information to be stored in the present disclosure is to directly drag the information to be stored to a preset storage area to achieve storage, and neither requires the user to manually input the information to be stored nor perform a copy operation or Paste operation and switch to the corresponding operation interface, thereby reducing the complexity of information storage, saving time for information storage, and improving user experience.
附图说明Description of the drawings
为了更清楚地说明本公开实施例中的技术方案,下面将对本公开实施例描述中所需要使用的附图作简单地介绍。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following will briefly introduce the drawings that need to be used in the description of the embodiments of the present disclosure.
图1为本公开实施例提供的一种基于输入法的信息处理方法的流程示意图;FIG. 1 is a schematic flowchart of an information processing method based on an input method provided by an embodiment of the disclosure;
图2为本公开实施例提供的一种基于输入法的信息处理装置的结构示意图;2 is a schematic structural diagram of an information processing device based on an input method provided by an embodiment of the disclosure;
图3为本公开实施例提供的一种电子设备的结构示意图;FIG. 3 is a schematic structural diagram of an electronic device provided by an embodiment of the disclosure;
图4为本公开实施例提供的一种输入法的显示界面示意图;4 is a schematic diagram of a display interface of an input method provided by an embodiment of the present disclosure;
图5为本公开实施例提供的另一种输入法的显示界面示意图;5 is a schematic diagram of a display interface of another input method provided by an embodiment of the present disclosure;
图6为本公开实施例提供的另一种输入法的显示界面示意图;6 is a schematic diagram of a display interface of another input method provided by an embodiment of the present disclosure;
图7为本公开实施例提供的另一种输入法的显示界面示意图;FIG. 7 is a schematic diagram of a display interface of another input method provided by an embodiment of the present disclosure;
图8为本公开实施例提供的一种快捷短语面板的显示界面示意图;FIG. 8 is a schematic diagram of a display interface of a shortcut phrase panel provided by an embodiment of the present disclosure;
图9为本公开实施例提供的另一种输入法的显示界面示意图;9 is a schematic diagram of a display interface of another input method provided by an embodiment of the present disclosure;
图10为本公开实施例提供的另一种输入法的显示界面示意图;10 is a schematic diagram of a display interface of another input method provided by an embodiment of the present disclosure;
图11为本公开实施例提供的另一种输入法的显示界面示意图;11 is a schematic diagram of a display interface of another input method provided by an embodiment of the present disclosure;
图12为本公开实施例提供的另一种输入法的显示界面示意图。FIG. 12 is a schematic diagram of a display interface of another input method provided by an embodiment of the disclosure.
图13为本公开实施例提供的一种信息处理方法的流程示意图;FIG. 13 is a schematic flowchart of an information processing method provided by an embodiment of the disclosure;
图14为本公开实施例提供的一种信息处理装置的结构示意图;FIG. 14 is a schematic structural diagram of an information processing device provided by an embodiment of the disclosure;
图15为本公开实施例提供的一种预设存储区域的显示示意图;FIG. 15 is a schematic diagram of displaying a preset storage area provided by an embodiment of the present disclosure;
图16为本公开实施例提供的另一种预设存储区域的显示示意图;FIG. 16 is a schematic diagram showing another preset storage area provided by an embodiment of the present disclosure;
图17为本公开实施例提供的一种滑动操作的示意图;FIG. 17 is a schematic diagram of a sliding operation provided by an embodiment of the disclosure;
图18为本公开实施例提供的一种选中操作的示意图。FIG. 18 is a schematic diagram of a selection operation provided by an embodiment of the disclosure.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Hereinafter, the embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided for Have a more thorough and complete understanding of this disclosure. It should be understood that the drawings and embodiments of the present disclosure are only used for exemplary purposes, and are not used to limit the protection scope of the present disclosure.
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that the steps recorded in the method embodiments of the present disclosure may be executed in a different order, and/or executed in parallel. In addition, method implementations may include additional steps and/or omit to perform the illustrated steps. The scope of the present disclosure is not limited in this respect.
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。The term "including" and its variations as used herein are open-ended includes, that is, "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." Related definitions of other terms will be given in the following description.
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对装置、模块或单元进行区分,并非用于限定这些装置、模块或单元一定为不同的装置、模块或单元,也并非用于限定这些装置、模块或单元所执行的功能 的顺序或者相互依存关系。It should be noted that the concepts of “first” and “second” mentioned in this disclosure are only used to distinguish devices, modules or units, and are not used to limit these devices, modules or units to be different devices, modules or units. Units are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of “a” and “a plurality of” mentioned in the present disclosure are illustrative and not restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as “one or Multiple".
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes, and are not used to limit the scope of these messages or information.
下面以具体地实施例对本公开的技术方案以及本公开的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本公开实施例进行描述。The technical solutions of the present disclosure and how the technical solutions of the present disclosure solve the above-mentioned technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present disclosure will be described below in conjunction with the accompanying drawings.
本公开的实施例提供了一种信息处理方法,包括:The embodiments of the present disclosure provide an information processing method, including:
步骤S1,确定待处理信息。Step S1: Determine the information to be processed.
具体地,确定待处理信息可以包括在输入区域内确定待处理信息。Specifically, determining the information to be processed may include determining the information to be processed in the input area.
可替代地,当待处理信息为存储信息时,确定待处理信息可以包括基于用户的触发操作,确定待存储信息。Alternatively, when the information to be processed is stored information, determining the information to be processed may include determining the information to be stored based on a user's trigger operation.
步骤S2,基于针对待处理信息的拖动操作,对待处理信息执行操作。Step S2, based on the drag operation for the to-be-processed information, perform an operation on the to-be-processed information.
具体地,基于针对待处理信息的拖动操作,对待处理信息执行操作可以包括:基于针对待处理信息的拖动操作,确定待处理信息的处理方式;基于确定出的处理方式,对待处理信息执行相应的操作。Specifically, based on the drag operation for the information to be processed, performing the operation on the information to be processed may include: determining the processing method for the information to be processed based on the drag operation for the information to be processed; performing the processing on the information to be processed based on the determined processing method The corresponding operation.
可替代地,基于针对待处理信息的拖动操作,对待处理信息执行操作可以包括:当检测到用户将待存储信息拖动至预设存储区域时,存储待存储信息。Alternatively, based on a drag operation for the information to be processed, performing an operation on the information to be processed may include: storing the information to be stored when it is detected that the user drags the information to be stored to the preset storage area.
本公开的实施例提供了一种信息处理装置,包括:确定模块和处理模块。确定模块用于确定待处理信息。处理模块用于基于针对待处理信息的拖动操作,对待处理信息执行相应的操作。The embodiment of the present disclosure provides an information processing device including: a determination module and a processing module. The determining module is used to determine the information to be processed. The processing module is used to perform corresponding operations on the information to be processed based on the drag operation for the information to be processed.
具体地,如图2所示,确定模块可以包括第一确定模块201,处理模块可以包括第二确定模块202以及执行模块203。Specifically, as shown in FIG. 2, the determination module may include a first determination module 201, and the processing module may include a second determination module 202 and an execution module 203.
第一确定模块201,用于在输入区域内确定待处理信息。The first determining module 201 is configured to determine the information to be processed in the input area.
第二确定模块202,用于基于针对待处理信息的拖动操作,确定待处 理信息的处理方式。The second determining module 202 is configured to determine the processing mode of the information to be processed based on the drag operation for the information to be processed.
可替代地,如图14所示,确定模块可以包括第三确定模块1401,处理模块可以包括存储模块1402。Alternatively, as shown in FIG. 14, the determination module may include a third determination module 1401, and the processing module may include a storage module 1402.
第三确定模块1401,用于当待处理信息为存储信息时,基于用户的触发操作,确定待存储信息。The third determining module 1401 is configured to determine the information to be stored based on a user's trigger operation when the information to be processed is stored information.
存储模块1402,用于当检测到用户将待存储信息拖动至预设存储区域时,存储待存储信息。The storage module 1402 is configured to store the information to be stored when it is detected that the user drags the information to be stored to the preset storage area.
具体地,本公开的实施例提供了一种基于输入法的信息处理方法,可以由终端设备执行,如图1所示,该方法包括:Specifically, the embodiments of the present disclosure provide an information processing method based on an input method, which can be executed by a terminal device. As shown in FIG. 1, the method includes:
步骤S101,在输入区域内确定待处理信息。Step S101: Determine the to-be-processed information in the input area.
其中,待处理信息可以为文本信息,也可以为图片信息,还可以为视频信息。Among them, the information to be processed may be text information, picture information, or video information.
对于本公开的实施例,在输入区域内确定待处理信息的方式包括:针对输入区域中的预设信息,通过选中操作选取预设信息中的信息,将选取的信息确定为待处理信息。如图4、图5以及图6所示,其中,图4中标号A所指向的区域表示输入区域,标号B所指向的区域表示输入法键盘区域,针对输入区域中的预设信息,如图4中的预设信息“夏天里的西瓜”,通过选中操作选取预设信息中的信息,如图5中选取“夏天里的西瓜”,将选取的信息确定为待处理信息,如将图5中选取的“夏天里的西瓜”确定为待处理信息,即图6中的“夏天里的西瓜”。For the embodiment of the present disclosure, the method for determining the information to be processed in the input area includes: for the preset information in the input area, selecting the information in the preset information through a selection operation, and determining the selected information as the information to be processed. As shown in Figure 4, Figure 5 and Figure 6, the area pointed to by the label A in Figure 4 represents the input area, and the area pointed to by the label B represents the keyboard area of the input method. For the preset information in the input area, as shown in the figure The preset information "Watermelon in summer" in 4, select the information in the preset information through the selection operation, select "Watermelon in summer" in Figure 5, and determine the selected information as the information to be processed, as shown in Figure 5. The "watermelon in summer" selected in is determined as the information to be processed, that is, the "watermelon in summer" in Figure 6.
步骤S102,基于针对待处理信息的拖动操作,确定待处理信息的处理方式。Step S102: Determine a processing method of the information to be processed based on the drag operation for the information to be processed.
对于本公开的实施例,可以利用鼠标实现针对待处理信息的拖动操作,也可以通过检测用户手指在显示屏幕上的触摸移动来实现针对待处理信息的拖动操作,在本公开的实施例中不做限定。For the embodiments of the present disclosure, the mouse can be used to implement the drag operation on the information to be processed, or the touch movement of the user's finger on the display screen can be detected to implement the drag operation on the information to be processed. There is no limit in it.
对于本公开的实施例,针对待处理信息的拖动操作,具体可以包括将输入区域内的待处理信息拖动至输入区域,或者将输入区域内的待处理信息拖动至输入法键盘区域,如图6与图7所示,将图6中输入区域内的“夏天里的西瓜”拖动至输入法键盘区域,如图7所示。For the embodiments of the present disclosure, the drag 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 Figure 6 and Figure 7, drag the "Watermelon in Summer" in the input area in Figure 6 to the input method keyboard area, as shown in Figure 7.
步骤S103,基于确定出的处理方式,对待处理信息执行相应的操作。Step S103, based on the determined processing mode, perform a corresponding operation on the information to be processed.
对于本公开实施例,基于步骤S102确定出的处理方式对步骤S101当中确定出的待处理信息执行相应的操作。For the embodiment of the present disclosure, a corresponding operation is performed on the to-be-processed information determined in step S101 based on the processing mode determined in step S102.
本公开的实施例可以根据用户的拖动操作对输入区域内已输入的信息执行某些操作,而不仅仅限定于在输入区域内仅能通过输入法键盘输入信息,从而满足了信息交互的多样化要求,进一步提升了用户体验。The embodiments of the present disclosure can perform certain operations on the input information in the input area according to the user's drag operation, and are not limited to only inputting information through the input method keyboard in the input area, thereby satisfying the diversity of information interaction. Requirements to further enhance the user experience.
在本公开的实施例的另一种可能实现方式中,步骤S102可以包括:确定拖动操作的拖动终止区域,并基于拖动终止区域确定待处理信息的处理方式;或者,确定拖动操作的拖动轨迹信息,并基于拖动轨迹信息确定待处理信息的处理方式。In another possible implementation manner of the embodiment of the present disclosure, step S102 may include: determining the drag termination area of the drag operation, and determining the processing mode of the information to be processed based on the drag termination area; or, determining the drag operation The drag trajectory information is determined, and the processing mode of the information to be processed is determined based on the drag trajectory information.
对于本公开的实施例,可以基于拖动终止区域或者拖动轨迹信息确定待处理信息的处理方式,其中,在确定待处理信息的处理方式之前可以采用现有技术中的方案确定待处理信息,也可以采用如步骤S101所示的方案确定待处理信息;在确定待处理信息的处理方式之后可以采用现有技术中的方案对待处理信息执行相应的操作,也可以采用如步骤S103所示的方案对待处理信息执行相应的操作,在本公开实施例中不做限定。For the embodiments of the present disclosure, the processing mode of the information to be processed can be determined based on the drag termination area or the drag trajectory information. Before the processing mode of the information to be processed is determined, the solution in the prior art can be used to determine the information to be processed. The solution shown in step S101 can also be used to determine the information to be processed; after determining the processing method of the information to be processed, the solution in the prior art can be used to perform corresponding operations on the information to be processed, or the solution shown in step S103 can be used Performing corresponding operations on the information to be processed is not limited in the embodiment of the present disclosure.
其中,基于拖动轨迹信息确定待处理信息的处理方式,具体可以包括:基于拖动轨迹信息、预配置的拖动轨迹信息与处理方式之间的对应关系,确定出该拖动轨迹信息对应的待处理信息的处理方式。在本公开实施例中,可以预配置多种拖动轨迹信息,预配置的任一种拖动轨迹信息对应的处理方式可以为文本转表情的处理方式,或者将信息添加至表情面板的处理方式,或者将信息添加至快捷短语面板的处理方式,或者分词,或者文本格式调整,或者文本转语音处理,或者语言转换处理,且处理方式不限于上述所列举项,在本公开实施例中不做限定。Wherein, determining the processing mode of the information to be processed based on the drag trajectory information may specifically include: determining the corresponding drag trajectory information based on the corresponding relationship between the drag trajectory information, the pre-configured drag trajectory information, and the processing mode How to handle the information to be processed. In the embodiments of the present disclosure, a variety of drag trajectory information can be pre-configured, and the processing method corresponding to any one of the pre-configured drag trajectory information can be a text-to-expression processing method, or a processing method in which information is added to an expression panel. , Or add information to the processing method of the shortcut phrase panel, or word segmentation, or text format adjustment, or text-to-speech processing, or language conversion processing, and the processing method is not limited to the above-listed items, which is not done in the embodiments of the present disclosure limited.
具体地,可以确定针对待处理信息的拖动操作的拖动轨迹信息,若拖动轨迹信息与预配置的拖动轨迹信息一致,则基于拖动轨迹信息、预配置的拖动轨迹信息对应的处理方式,确定待处理信息的处理方式。Specifically, the drag trajectory information of the drag operation for the information to be processed can be determined. If the drag trajectory information is consistent with the pre-configured drag trajectory information, then based on the drag trajectory information, the pre-configured drag trajectory information corresponds to Processing method, determine the processing method of the information to be processed.
例如,若拖动轨迹信息为圆且与预配置的圆拖动轨迹信息一致,且预配置的圆拖动轨迹信息对应的处理方式为“将信息添加至快捷短语面板的 处理方式”,则基于拖动轨迹信息确定待处理信息的处理方式为“将信息添加至快捷短语面板的处理方式”;若拖动轨迹信息为U形且与预配置的U形拖动轨迹信息一致,且预配置的U形拖动轨迹信息对应的处理方式为“将信息添加至表情面板的处理方式”,则基于拖动轨迹信息确定待处理信息的处理方式为“将信息添加至表情面板的处理方式”。For example, if the drag trajectory information is a circle and is consistent with the pre-configured circular drag trajectory information, and the processing method corresponding to the pre-configured circular drag trajectory information is "the processing method of adding information to the shortcut phrase panel", it is based on The drag trajectory information determines that the processing method of the information to be processed is "the processing method of adding information to the shortcut phrase panel"; if the drag trajectory information is U-shaped and consistent with the pre-configured U-shaped drag trajectory information, and the pre-configured The processing method corresponding to the U-shaped drag trajectory information is "the processing method of adding information to the expression panel", and the processing method of determining the information to be processed based on the drag trajectory information is "the processing method of adding information to the expression panel".
上述实施例中介绍了根据拖动轨迹确定待处理信息的处理方式,当然除了基于拖动轨迹来确定待处理信息的处理方式,还可以基于拖动操作对应的拖动终止区域来确定,具体详见下述实施例:The above embodiment introduces the processing method of determining the information to be processed based on the drag trajectory. Of course, in addition to determining the processing method of the information to be processed based on the drag trajectory, it can also be determined based on the drag termination area corresponding to the drag operation. See the following examples:
本公开实施例的另一种可能实现方式,确定拖动操作的拖动终止区域,基于拖动终止区域确定待处理信息的处理方式,可以包括:确定拖动操作的拖动终止区域为第一预设区域,显示第一预设区域对应的至少一种处理方式,当检测到针对任一处理方式的触发操作,确定待处理信息的处理方式为触发操作对应的处理方式。Another possible implementation manner of the embodiments of the present disclosure, determining the drag termination area of the drag operation, and determining the processing manner of the information to be processed based on the drag termination area may include: determining that the drag termination area of the drag operation is the first The preset area displays at least one processing method corresponding to the first preset area. When a trigger operation for any processing method is detected, it is determined that the processing method of the information to be processed is the processing method corresponding to the trigger operation.
对于本公开实施例,预配置第一预设区域及其对应的至少一种处理方式,当确定拖动终止区域为第一预设区域时,基于预配置的第一预设区域及其对应的至少一种处理方式,在预定显示区域中显示第一预设区域对应的后至少一种处理方式,当检测到用户通过点击任一处理方式的触发操作时,确定待处理信息的处理方式为触发操作对应的处理方式。其中,第一预设区域可以位于输入区域中,也可以位于输入法键盘区域中,还可以部分位于输入区域,部分位于输入法键盘区域;预定显示区域可以位于输入区域,也可以位于输入法键盘区域,还可以部分位于输入区域,部分位于输入法键盘区域,在本公开实施例中不做限定。For the embodiment of the present disclosure, the first preset area and its corresponding at least one processing method are pre-configured. When it is determined that the drag end area is the first preset area, it is based on the pre-configured first preset area and its corresponding At least one processing method, the latter at least one processing method corresponding to the first preset area is displayed in the predetermined display area, and when a trigger operation by the user by clicking any processing method is detected, it is determined that the processing method of the information to be processed is trigger The processing method corresponding to the operation. Among them, the first preset area may be located in the input area or the input method keyboard area, and may also be partly located in the input area and partly located in the input method keyboard area; the predetermined display area may be located in the input area or the input method keyboard The area may also be partly located in the input area and partly located in the input method keyboard area, which is not limited in the embodiment of the present disclosure.
如图9所示,第一预设区域为输入法键盘区域中,且预配置输入法键盘区域对应三种处理方式,其三种处理方式分别为“翻译”、“编辑”和“语音转换”。在本公开实施例中,当确定拖动终止区域为输入法键盘区域时,在预定显示区域中显示“翻译”、“编辑”和“语音转换”这三种处理方式,其中,预定显示区域为输入区域,当检测到用户点击“翻译”的触发操作,确定待处理信息的处理方式为对“夏天里的西瓜”进行语言转换处理。As shown in Figure 9, the first preset area is the input method keyboard area, and the pre-configured input method keyboard area corresponds to three processing methods. The three processing methods are "translation", "editing" and "voice conversion". . In the embodiment of the present disclosure, when it is determined that the drag termination area is the input method keyboard area, three processing methods of "translation", "editing" and "voice conversion" are displayed in a predetermined display area, where the predetermined display area is In the input area, when the trigger operation of the user clicking "translate" is detected, the processing method of the information to be processed is determined to be the language conversion processing of the "watermelon in summer".
进一步地,显示屏幕上可以设置至少一个第一预设区域,且每个第一预设区域对应的处理方式的个数可以相同,也可以不同。如,可以预设置两个第一预设区域,其中,当第一预设区域为输入区域时,第一预设区域对应两种处理方式;当第一预设区域为输入法键盘区域时,第一预设区域对应三种处理方式。如图9所示,第一预设区域为输入法键盘区域时,第一预设区域对应的三种处理方式分别为“翻译”、“编辑”以及“语音转换”。Further, at least one first preset area may be set on the display screen, and the number of processing methods corresponding to each first preset area may be the same or different. For example, two first preset areas can be preset, where when the first preset area is an input area, the first preset area corresponds to two processing methods; when the first preset area is an input method keyboard area, The first preset area corresponds to three processing methods. As shown in FIG. 9, when the first preset area is an input method keyboard area, the three processing methods corresponding to the first preset area are "translation", "editing", and "voice conversion".
对于本公开实施例,第一预设区域对应的处理方式可以包括:文本转表情的处理方式、将信息添加至表情面板的处理方式、将信息添加至快捷短语面板的处理方式、分词、文本格式调整、文本转语音处理以及语言转换处理中的至少一项,且处理方式不限于上述所列举项。For the embodiment of the present disclosure, the processing method corresponding to the first preset area may include: the processing method of converting text to expression, the processing method of adding information to the expression panel, the processing method of adding information to the shortcut phrase panel, word segmentation, and text format. At least one of adjustment, text-to-speech processing, and language conversion processing, and the processing method is not limited to the items listed above.
本公开实施例的另一种可能实现方式,基于拖动终止区域确定待处理信息的处理方式,包括:基于区域与处理方式之间的对应关系以及拖动终止区域,确定待处理信息的处理方式。Another possible implementation of the embodiment of the present disclosure, determining the processing method of the information to be processed based on the drag termination area, includes: determining the processing method of the information to be processed based on the correspondence between the area and the processing method and the drag termination area .
对于本公开实施例,预配置至少一个区域,以及各个区域对应的处理方式,其中,任一区域可以为表情区域,或者短语区域,或者编辑区域,或者文本转语音区域,或者翻译区域,且任一区域可以位于输入区域内,也可以位于输入法键盘区域内,还可以部分位于输入区域内,部分位于输入法区域内。其中,有关表情区域、短语区域、编辑区域、文本转语音区域以及翻译区域的相关说明,详见下述实施例,在此不再赘述。进一步地,当确定拖动终止区域时,可以确定拖动终止区域的区域,并基于预配置的该区域对应的处理方式,确定待处理信息的处理方式为该区域对应的处理方式。For the embodiments of the present disclosure, at least one area is pre-configured, and the processing method corresponding to each area is pre-configured, wherein any area can be an expression area, or a phrase area, or an editing area, or a text-to-speech area, or a translation area, and any area An area can be located in the input area, can also be located in the input method keyboard area, and can also be partly located in the input area and partly located in the input method area. Among them, the relevant descriptions of the expression area, phrase area, editing area, text-to-speech area, and translation area are detailed in the following embodiments, and will not be repeated here. Further, when the drag end area is determined, the area of the drag end area can be determined, and based on the pre-configured processing mode corresponding to the area, it is determined that the processing mode of the information to be processed is the processing mode corresponding to the area.
如图10所示,预配置输入法键盘区域中的区域C为一个区域,且预配置区域C对应的处理方式为“文本转语音处理”,则当确定拖动终止区域为区域C时,确定待处理信息的处理方式为“文本转语音处理”。As shown in Figure 10, the area C in the pre-configured input method keyboard area is an area, and the processing mode corresponding to the pre-configured area C is "text-to-speech processing", when it is determined that the drag end area is area C, confirm The processing method of the information to be processed is "text-to-speech processing".
本公开实施例的另一种可能处理方式,确定拖动操作的拖动终止区域,基于拖动终止区域确定待处理信息的处理方式,可以包括:当检测到针对待处理信息的拖动中止操作时,确定拖动中止区域,当拖动中止区域为第二预设区域,确定并显示第二预设区域对应的每种处理方式的第一触 发区域,当检测到继续拖动待处理信息至任一处理方式的第一触发区域且终止拖动操作,确定第一触发区域为拖动终止区域,确定待处理信息的处理方式为第一触发区域对应的处理方式。Another possible processing method of the embodiment of the present disclosure, determining the drag termination area of the drag operation, and determining the processing method of the information to be processed based on the drag termination area, may include: when a drag termination operation for the information to be processed is detected When the dragging suspension area is determined, when the dragging suspension area is the second preset area, the first trigger area of each processing method corresponding to the second preset area is determined and displayed. When it is detected that the dragging information to be processed continues to The first trigger area of any processing method and the drag operation is terminated, the first trigger area is determined to be the drag termination area, and the processing method of the information to be processed is determined to be the processing method corresponding to the first trigger area.
对于本公开实施例,预设置第二预设区域以及第二预设区域对应的至少一种处理方式,并预设置各个处理方式对应的第一触发区域,当检测到针对待处理信息的拖动中止操作时,确定拖动中止区域,若拖动中止区域为第二预设区域,基于预设置的第二预设区域以及第二预设区域对应的至少一种处理方式,以及预设置的各个处理方式对应的第一触发区域,确定并显示第二预设区域对应的每种处理方式的第一触发区域,当检测到继续拖动待处理信息至任一处理方式的第一触发区域且终止拖动操作,确定第一触发区域为拖动终止区域,基于预设置的各个处理方式对应的第一触发区域,确定待处理信息的处理方式为第一触发区域对应的处理方式。For the embodiment of the present disclosure, the second preset area and at least one processing method corresponding to the second preset area are preset, and the first trigger area corresponding to each processing method is preset. When a drag for the information to be processed is detected When the operation is suspended, the drag suspension area is determined. If the drag suspension area is the second preset area, based on the preset second preset area and at least one processing method corresponding to the second preset area, and each preset The first trigger area corresponding to the processing method determines and displays the first trigger area of each processing method corresponding to the second preset area. When it is detected that the information to be processed continues to be dragged to the first trigger area of any processing method and terminates In the drag operation, the first trigger area is determined to be the drag termination area, and the processing method of the information to be processed is determined to be the processing method corresponding to the first trigger area based on the first trigger area corresponding to each preset processing method.
如图11所示,预设置区域D对应两种处理方式“翻译”和“编辑”,并预设置每种处理方式对应的第一触发区域,当检测到针对待处理信息的拖动中止操作时,确定拖动中止区域为区域D,确定并显示区域D的“翻译”对应的第一触发区域,以及区域D的“编辑”对应的第一触发区域,当检测到继续拖动待处理信息至“编辑”对应的第一触发区域且终止拖动操作,确定“编辑”对应的第一触发区域为拖动终止区域,确定待处理信息的处理方式为“编辑”。As shown in Figure 11, the preset area D corresponds to the two processing methods "translation" and "edit", and the first trigger area corresponding to each processing method is preset. When the dragging abort operation for the information to be processed is detected , Determine that the dragging suspension area is area D, determine and display the first trigger area corresponding to the "translation" of area D, and the first trigger area corresponding to the "edit" of area D, when it is detected to continue dragging the pending information to The first trigger area corresponding to "Edit" and the drag operation is terminated, the first trigger area corresponding to "Edit" is determined to be the drag termination area, and the processing mode of the information to be processed is determined to be "Edit".
其中,第二预设区域可以位于输入区域,也可以位于输入法键盘区域,还可以部分位于输入区域,部分位于输入法键盘区域;任一第一触发区域可以位于输入区域,也可以位于输入法键盘区域,还可以部分位于输入区域,部分位于输入法键盘区域,在本公开实施例中不做限定。如图11所示,第二预设区域为区域D,且区域D位于输入法键盘区域,“翻译”对应的第一触发区域以及“编辑”对应的第一触发区域均位于输入区域。Among them, the second preset area can be located in the input area or the input method keyboard area, and can also be partially located in the input area and partially located in the input method keyboard area; any first trigger area can be located in the input area or the input method The keyboard area may also be partly located in the input area and partly located in the input method keyboard area, which is not limited in the embodiments of the present disclosure. As shown in FIG. 11, the second preset area is area D, and area D is located in the input method keyboard area. The first trigger area corresponding to "translation" and the first trigger area corresponding to "edit" are both located in the input area.
对于本公开实施例,可以预设置至少一个第二预设区域,且每个第二预设区域对应的第一触发区域的个数可以相同,也可以不同。如,预设置位于输入区域中的第二预设区域对应三个第一触发区域,预设置位于输入法键盘区域中的第二预设区域对应两个第一触发区域,如图11所示,位 于输入法键盘区域中的第二预设区域对应有两个第一触发区域,分别为“翻译”对应的第一触发区域,以及“编辑”对应的第一触发区域。For the embodiments of the present disclosure, at least one second preset area may be preset, and the number of first trigger areas corresponding to each second preset area may be the same or different. For example, the second preset area preset in the input area corresponds to three first trigger areas, and the second preset area preset in the input method keyboard area corresponds to two first trigger areas, as shown in FIG. 11, The second preset area located in the input method keyboard area corresponds to two first trigger areas, which are respectively the first trigger area corresponding to "translation" and the first trigger area corresponding to "edit".
其中,任一第一触发区域可以为表情区域,或者短语区域,或者编辑区域,或者文本转语音区域,或者翻译区域,且第一触发区域不限于上述所列举项。其中,有关表情区域、短语区域、编辑区域、文本转语音区域以及翻译区域的相关说明,详见下述实施例,在此不再赘述。Wherein, any first trigger area may be an expression area, or a phrase area, or an editing area, or a text-to-speech area, or a translation area, and the first trigger area is not limited to the items listed above. Among them, the relevant descriptions of the expression area, phrase area, editing area, text-to-speech area, and translation area are detailed in the following embodiments, and will not be repeated here.
本公开实施例的另一种可能实现方式,确定拖动操作的拖动终止区域,之前还可以包括:识别待处理信息,得到待处理信息的识别结果;基于识别结果,显示至少一种处理方式中每个处理方式的第二触发区域。Another possible implementation manner of the embodiment of the present disclosure is to determine the drag termination area of the drag operation. Before that, it may also include: recognizing the information to be processed, and obtaining the recognition result of the information to be processed; based on the recognition result, displaying at least one processing method The second trigger area of each processing method in the.
其中,确定拖动操作的拖动终止区域,可以包括:当检测到拖动待处理信息至任一处理方式的第二触发区域且终止拖动操作,确定第二触发区域为拖动终止区域。Wherein, determining the drag termination area of the drag operation may include: when it is detected that the information to be processed is dragged to the second trigger area of any processing method and the drag operation is terminated, determining the second trigger area as the drag termination area.
对于本公开实施例,可以识别待处理信息,得到待处理信息的识别结果,基于识别结果,在预设置的第三预设区域内,显示至少一种处理方式中每个处理方式的第二触发区域,其中,可以预设置第三预设区域位于位于输入区域内,也可以位于输入法键盘区域内,还可以部分位于输入区域内,部分位于输入法键盘区域内,在本公开实施例中不做限定。For the embodiment of the present disclosure, the information to be processed can be identified, and the recognition result of the information to be processed can be obtained. Based on the recognition result, in the preset third preset area, the second trigger of each of the at least one processing method is displayed The third preset area may be preset to be located in the input area, or in the input method keyboard area, and may also be partly located in the input area and partly located in the input method keyboard area. In the embodiment of the present disclosure, the third preset area is not located in the input area. Make a limit.
如图12所示,待处理信息为“哈哈大笑”,识别“哈哈大笑”,得到“哈哈大笑”的识别结果,基于“哈哈大笑”的识别结果,在输入区域内显示“翻译”对应的第二触发区域、“表情”对应的第二触发区域以及“编辑”对应的第二触发区域,当检测到拖动“哈哈大笑”至“表情”对应的第二触发区域且终止拖动操作,确定“表情”对应的第二触发区域为拖动终止区域,可以实现将“哈哈大笑”转化为“哈哈大笑”的表情信息。As shown in Figure 12, the information to be processed is "laugh", recognize "laugh" and get the recognition result of "laugh", based on the recognition result of "laugh", display "Translation" in the input area The second trigger area corresponding to "", the second trigger area corresponding to "Expression", and the second trigger area corresponding to "Edit", when it is detected that dragging "Laugh" to the second trigger area corresponding to "Expression" is terminated In the drag operation, the second trigger area corresponding to the "emoji" is determined as the drag termination area, which can realize the expression information of "laughing" into "laughing".
对于本公开实施例,任一第二触发区域可以为表情区域、短语区域、编辑区域、文本转语音区域以及翻译区域中的任一项,且,第二触发区域不限于上述所列举项。其中,有关表情区域、短语区域、编辑区域、文本转语音区域以及翻译区域的相关说明,详见下述实施例,在此不再赘述。For the embodiments 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 items listed above. Among them, the relevant descriptions of the expression area, phrase area, editing area, text-to-speech area, and translation area are detailed in the following embodiments, and will not be repeated here.
本公开实施例的另一种可能实现方式,基于拖动终止区域确定待处理信息的处理方式,可以包括:Another possible implementation manner of the embodiments of the present disclosure, determining the processing manner of the information to be processed based on the drag termination area, may include:
若拖动终止区域为表情区域,则确定待处理信息的处理方式包括:文本转表情的处理方式以及将信息添加至表情面板的处理方式中的至少一项;或者,若拖动终止区域为短语区域,则确定待处理信息的处理方式包括:将信息添加至快捷短语面板的处理方式;或者,若拖动终止区域为编辑区域,则确定待处理信息的处理方式包括:分词以及文本格式调整中的至少一项;或者,若拖动终止区域为文本转语音区域,则确定待处理信息的处理方式包括:文本转语音处理;或者,若拖动终止区域为翻译区域,则确定待处理信息的处理方式包括:语言转换处理。If the drag termination area is an expression area, the processing method for determining the information to be processed includes at least one of the processing method of converting text to expression and the processing method of adding information to the expression panel; or, if the dragging termination area is a phrase Area, the processing method of determining the information to be processed includes: adding the information to the processing method of the shortcut phrase panel; or, if the drag termination area is an editing area, the processing method of determining the information to be processed includes: word segmentation and text format adjustment Or, if the dragging termination area is a text-to-speech area, the processing method for determining the information to be processed includes: text-to-speech processing; or, if the dragging termination area is a translation area, determining the content of the information to be processed Processing methods include: language conversion processing.
对于本公开实施例,可以预配置表情区域对应的处理方式包括:文本转表情的处理方式和将信息添加至表情面板的处理方式中的至少一项。其中,文本转表情的处理方式,即为将文本形式的待处理信息转换为对应的表情,如将文字“哈哈大笑”转换为“哈哈大笑”表情;将信息添加至表情面板的处理方式,即为将表情信息添加至表情面板,如将“哈哈大笑”表情添加至表情面板。For the embodiment of the present disclosure, the processing mode corresponding to the expression area may be pre-configured to include at least one of the processing mode of converting text to expression and the processing mode of adding information to the expression panel. Among them, the processing method of text-to-emoji conversion is to convert the information to be processed in the form of text into corresponding emoticons, such as converting the text "laughing" into "laughing" emoticons; adding information to the emoticon panel processing method , Is to add the emoticon information to the emoticon panel, such as adding the "laughing" emoticon to the emoticon panel.
对于本公开实施例,可以预配置短语区域对应的处理方式包括将信息添加至快捷短语面板的处理方式。其中,将信息添加至快捷短语面板的处理方式,即为将文本形式的待处理信息添加至快捷短语面板,如图8所示,可将待处理信息“北京市朝阳区望京北路”、“夏天里的西瓜”以及“周五前要完成工作安排的80%”添加至快捷短语面板。For the embodiment of the present disclosure, the processing method corresponding to the phrase area may be pre-configured, including the processing method of adding information to the shortcut phrase panel. Among them, the processing method of adding information to the shortcut phrase panel is to add the to-be-processed information in text form to the shortcut phrase panel. As shown in Figure 8, the to-be-processed information "Wangjing North Road, Chaoyang District, Beijing", " "Watermelon in summer" and "80% of the work schedule to be completed by Friday" are added to the quick phrase panel.
对于本公开实施例,可以预配置编辑区域对应的处理方式包括:分词以及文本格式调整中的至少一项。其中,分词即为对待处理信息进行分词操作,得到至少两个文本信息,如对待处理信息“朝阳北路超市”进行分词操作,得到三个文本信息“朝阳”、“北路”以及“超市”;文本格式调整即为调整待处理信息的字号、字体以及倾斜度等信息。在本公开实施例中,对待处理信息进行分词操作,得到至少两个文本信息,当检测到用户点击至少两个文本信息时,确定各个文本信息对应的点击顺序,基于点击的至少两个文本信息以及各个文本信息对应的点击顺序,生成目标信息,如对待处理信息“朝阳北路超市”进行分词后得到三个文本信息“朝阳”、“北路”以及“超市”,当检测到用户依次点击“超市”和“北路” 后,生成目标信息“超市北路”。For the embodiment of the present disclosure, the processing mode corresponding to the editing area may be pre-configured to include at least one of word segmentation and text format adjustment. Among them, word segmentation is to perform word segmentation operations on the information to be processed to obtain at least two text messages. For example, perform word segmentation operations on the information to be processed "Chaoyang North Road Supermarket" to obtain three text information "Chaoyang", "North Road" and "Supermarket". ; Text format adjustment is to adjust the font size, font, and tilt of the information to be processed. In the embodiment of the present disclosure, the word segmentation operation is performed on the information to be processed to obtain at least two pieces of text information. When it is detected that the user clicks on at least two pieces of text information, the click sequence corresponding to each piece of text information is determined, based on the clicked at least two pieces of text information. And the click sequence corresponding to each text message to generate target information. For example, after word segmentation of the processed information "Chaoyang North Road Supermarket", three text messages "Chaoyang", "North Road" and "Supermarket" are obtained. When it is detected that the user clicks in turn After "supermarket" and "north road", the target information "supermarket north road" is generated.
对于本公开实施例,可以预配置文本转语音区域对应的处理方式包括文本转语音处理。其中,文本转语音处理即为将文本形式的待处理信息转换为语音形式的待处理信息,如将文字“朝阳北路超市”转化为“朝阳北路超市”的机器音语音信息。在本公开实施例中,当确定待处理信息的处理方式为文本转语音处理时,可以确定目标语音类型,并将待处理信息转化为目标语音类型对应的语音信息。其中,确定目标语音类型的方式包括用户预先设定的目标语音类型;或者,根据各个语音类型的使用频率,确定目标语音类型;或者,根据用户针对语音类型的选择操作,确定目标语音类型。例如,针对待处理信息“朝阳北路超市”,确定的目标语音类型为机器音,则将“朝阳北路超市”转化为“朝阳北路超市”的机器音语音信息。For the embodiments of the present disclosure, the processing mode corresponding to the text-to-speech area may be pre-configured to include text-to-speech processing. Among them, text-to-speech processing refers to the conversion of information to be processed in text form into information to be processed in speech form, such as converting the text "Chaoyang North Road Supermarket" into "Chaoyang North Road Supermarket" machine-voice voice information. In the embodiment of the present disclosure, when it is determined that the processing mode of the information to be processed is text-to-speech processing, the target voice type can be determined, and the information to be processed can be converted into voice information corresponding to the target voice type. The method for determining the target voice type includes the target voice type preset by the user; or, the target voice type is determined according to the frequency of use of each voice type; or, the target voice type is determined according to the user's selection operation of the voice type. For example, for the to-be-processed information "Chaoyang North Road Supermarket", the determined target voice type is machine sound, then the "Chaoyang North Road Supermarket" is converted into the machine sound voice information of the "Chaoyang North Road Supermarket".
对于本公开实施例,可以预配置文本转语音区域对应的处理方式包括语言转换处理,其中,语言转换处理即为将一种语言形式的待处理信息转换为另一种语言形式的信息,如将中文形式的“夏天”转换为英文形式的“summer”。在本公开实施例中,当确定待处理信息的处理方式为语言转换处理时,可以确定目标语言类型,并将待处理信息转化为目标语言类型对应的信息。其中,确定目标语言类型的方式包括用户预先设定的目标语言类型;或者,根据各个语言类型的使用频率,确定目标语言类型;或者,根据用户针对语言类型的选择操作,确定目标语言类型。例如,针对中文形式的待处理信息“夏天”,确定的目标语言类型为英语,则将中文“夏天”转化为英文“summer”。For the embodiments of the present disclosure, the processing mode corresponding to the text-to-speech area can be pre-configured to include language conversion processing, where the language conversion processing is the conversion of to-be-processed information in one language form into information in another language form, such as The Chinese form of "summer" is converted to the English form of "summer". In the embodiment of the present disclosure, when it is determined that the processing mode of the information to be processed is language conversion processing, the target language type can be determined, and the information to be processed can be converted into information corresponding to the target language type. Wherein, the method of determining the target language type includes the target language type preset by the user; or, the target language type is determined according to the frequency of use of each language type; or, the target language type is determined according to the user's selection operation for the language type. For example, for the to-be-processed information "summer" in Chinese, and the determined target language type is English, the Chinese "summer" is converted into English "summer".
本公开实施例的另一种可能实现方式,步骤S103之前还可以包括:显示确定出的处理方式对应的处理信息。In another possible implementation manner of the embodiment of the present disclosure, before step S103, the method may further include: displaying processing information corresponding to the determined processing manner.
其中,步骤S103可以包括:当检测到针对处理信息的确认操作时,基于确定出的处理方式对待处理信息执行相应的操作。Wherein, step S103 may include: when a confirmation operation for the processing information is detected, performing a corresponding operation on the to-be-processed information based on the determined processing mode.
对于本公开实施例,可以基于用户针对待处理信息的拖动操作,确定待处理信息的处理方式,并显示确定出的处理方式对应的处理信息,以便用户了解拖动操作及其对应的处理方式,能有效的防止用户的误操作,当 检测到用户针对处理信息的确认操作时,基于确定出的处理方式对待处理信息执行相应的操作,由于需要用户对显示的处理信息做进一步的确认操作,能进一步防止用户的误操作。For the embodiments of the present disclosure, the processing method of the information to be processed can be determined based on the user's drag operation on the information to be processed, and the processing information corresponding to the determined processing method can be displayed, so that the user can understand the drag operation and its corresponding processing method , It can effectively prevent the user's misoperation. When the user's confirmation operation for the processing information is detected, the corresponding operation is performed on the processing information based on the determined processing method. Because the user is required to perform further confirmation operations on the displayed processing information, It can further prevent user's misoperation.
上述从方法步骤的角度具体阐述了基于输入法的信息处理方法,下面从虚拟模块或者虚拟单元的角度介绍基于输入法的信息处理装置,具体如下所示。The above specifically explained the information processing method based on the input method from the perspective of the method steps. The following describes the information processing device based on the input method from the perspective of a virtual module or a virtual unit, and the details are as follows.
本公开实施例提供了一种基于输入法的信息处理装置,如图2所示,该基于输入法的信息处理装置20可以包括:第一确定模块201、第二确定模块202以及执行模块203,其中,The embodiment of the present disclosure provides an input method-based information processing device. As shown in FIG. 2, the input method-based information processing device 20 may include: a first determination module 201, a second determination module 202, and an execution module 203, among them,
第一确定模块201,用于在输入区域内确定待处理信息。The first determining module 201 is configured to determine the information to be processed in the input area.
第二确定模块202,用于基于针对待处理信息的拖动操作,确定待处理信息的处理方式。The second determining module 202 is configured to determine the processing mode of the information to be processed based on the drag operation for the information to be processed.
执行模块203,用于基于确定出的处理方式,对待处理信息执行相应的操作。The execution module 203 is configured to execute corresponding operations on the information to be processed based on the determined processing mode.
本公开实施例的另一种可能实现方式,第二确定模块202可以包括第一确定单元以及第二确定单元中的任一项,其中,In another possible implementation manner of the embodiment of the present disclosure, the second determining module 202 may include any one of the first determining unit and the second determining unit, where:
第一确定单元,用于确定拖动操作的拖动终止区域,并基于拖动终止区域确定待处理信息的处理方式。The first determining unit is used to determine the drag termination area of the drag operation, and determine the processing mode of the information to be processed based on the drag termination area.
第二确定单元,用于确定拖动操作的拖动轨迹信息,并基于拖动轨迹信息确定待处理信息的处理方式。The second determining unit is used to determine the drag trajectory information of the drag operation, and determine the processing mode of the information to be processed based on the drag trajectory information.
本公开实施例的另一种可能实现方式,第一确定单元包括第一确定子单元、显示子单元以及第二确定子单元,其中,In another possible implementation manner of the embodiment of the present disclosure, the first determining unit includes a first determining subunit, a display subunit, and a second determining subunit, where:
第一确定子单元,用于确定拖动操作的拖动终止区域为第一预设区域。The first determining subunit is used to determine that the drag termination area of the drag operation is the first preset area.
显示子单元,用于显示第一预设区域对应的至少一种处理方式。The display subunit is configured to display at least one processing method corresponding to the first preset area.
第二确定子单元,用于当检测到针对任一处理方式的触发操作,确定待处理信息的处理方式为触发操作对应的处理方式。The second determining subunit is configured to determine that the processing method of the information to be processed is the processing method corresponding to the trigger operation when a trigger operation for any processing method is detected.
本公开实施例的另一种可能实现方式,第一确定单元包括第三确定子单元,其中,In another possible implementation manner of the embodiment of the present disclosure, the first determining unit includes a third determining subunit, where:
第三确定子单元,用于基于区域与处理方式之间的对应关系以及拖动终止区域,确定待处理信息的处理方式。The third determining subunit is used to determine the processing method of the information to be processed based on the correspondence between the area and the processing method and the drag 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, where:
第四确定子单元,用于当检测到针对待处理信息的拖动中止操作时,确定拖动中止区域。The fourth determining subunit is used to determine the drag suspension area when the drag suspension operation for the to-be-processed information is detected.
第五确定子单元,用于当拖动中止区域为第二预设区域,确定并显示第二预设区域对应的每种处理方式的第一触发区域。The fifth determining subunit is configured to determine and display the first trigger area of each processing method corresponding to the second preset area when the dragging suspension area is the second preset area.
第六确定子单元,用于当检测到继续拖动待处理信息至任一处理方式的第一触发区域且终止拖动操作,确定第一触发区域为拖动终止区域。The sixth determining subunit is used to determine that the first trigger area is the drag termination area when it is detected that the information to be processed is continued to be dragged to the first trigger area of any processing method and the drag operation is terminated.
第七确定子单元,用于确定待处理信息的处理方式为第一触发区域对应的处理方式。The seventh determining subunit is used to determine that the processing mode of the information to be processed is the processing mode corresponding to the first trigger area.
本公开实施例的另一种可能实现方式,基于输入法的信息处理装置20还包括识别模块和第一显示模块,其中,In another possible implementation manner of the embodiments of the present disclosure, the input method-based information processing device 20 further includes an identification module and a first display module, where:
识别模块,用于识别待处理信息,得到待处理信息的识别结果。The identification module is used to identify the information to be processed and obtain the identification result of the information to be processed.
第一显示模块,用于基于识别结果,显示至少一种处理方式中每个处理方式的第二触发区域。The first display module is configured to display the second trigger area of each of the at least one processing method based on the recognition result.
第一确定单元包括第八确定子单元,其中,The first determining unit includes an eighth determining subunit, wherein:
第八确定子单元,用于当检测到拖动待处理信息至任一处理方式的第二触发区域且终止拖动操作,确定第二触发区域为拖动终止区域。The eighth determining subunit is configured to determine that the second trigger area is the drag termination area when it is detected that the information to be processed is dragged to the second trigger area of any processing method and the drag operation is terminated.
本公开实施例的另一种可能实现方式,第一确定单元具体用于:In another possible implementation manner of the embodiments of the present disclosure, the first determining unit is specifically configured to:
当拖动终止区域为表情区域,则确定待处理信息的处理方式包括:文本转表情的处理方式以及将信息添加至表情面板的处理方式中的至少一项。When the drag termination area is an expression area, the processing method for determining the information to be processed includes at least one of: a processing method of converting text to an expression and a processing method of adding information to an expression panel.
或者,当拖动终止区域为短语区域,则确定待处理信息的处理方式包括:将信息添加至快捷短语面板的处理方式。Or, when the drag termination area is a phrase area, determining the processing method of the information to be processed includes: adding the information to the processing method of the shortcut phrase panel.
或者,当拖动终止区域为编辑区域,则确定待处理信息的处理方式包括:分词以及文本格式调整中的至少一项。Or, when the drag termination area is an editing area, the processing method for determining the to-be-processed information includes at least one of word segmentation and text format adjustment.
或者,当拖动终止区域为文本转语音区域,则确定待处理信息的处理 方式包括:文本转语音处理。Or, when the dragging termination area is a text-to-speech area, the processing method for determining the information to be processed includes: text-to-speech processing.
或者,当拖动终止区域为翻译区域,则确定待处理信息的处理方式包括:语言转换处理。Or, when the drag termination area is a translation area, the processing method for determining the information to be processed includes: language conversion processing.
本公开实施例的另一种可能实现方式,基于输入法的信息处理装置20还包括第二显示模块,其中,In another possible implementation manner of the embodiments of the present disclosure, the input method-based information processing device 20 further includes a second display module, where:
第二显示模块,用于显示确定出的处理方式对应的处理信息。The second display module is used to display processing information corresponding to the determined processing mode.
执行模块203,具体用于当检测到针对处理信息的确认操作时,基于确定出的处理方式对待处理信息执行相应的操作。The execution module 203 is specifically configured to perform a corresponding operation on the to-be-processed information based on the determined processing mode when the confirmation operation for the processed information is detected.
对于本公开实施例,第一确定模块201和第二确定模块202可以为同一种确定模块,也可以为两种不同的确定模块,第一显示模块和第二显示模块可以为同一种显示模块,也可以为两种不同的显示模块,第一确定单元和第二确定单元可以为同一种确定单元,也可以为两种不同的确定单元;第一确定子单元、第二确定子单元、第三确定子单元、第四确定子单元、第五确定子单元、第六确定子单元、第七确定子单元以及第八确定子单元可以为同一种确定子单元,也可以为不同的确定子单元,也可以任意组合为相同的子单元,在本公开实施例中不做限定。For the embodiment of the present disclosure, the first determining module 201 and the second determining module 202 may be the same type of determining module, or may be two different determining modules, the first display module and the second display module may be the same type of display module, It may also be two different display modules. The first determining unit and the second determining unit may be the same type of determining unit, or two different determining units; the first determining sub-unit, the second determining sub-unit, and the third determining unit. The 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 type of determining subunit, or may be different determining subunits, It can also be arbitrarily combined into the same subunit, which is not limited in the embodiment of the present disclosure.
本公开实施例的基于输入法的信息处理装置20可执行本公开上述方法实施例所示的基于输入法的信息处理方法,其实现原理相类似,此处不再赘述。The input method-based information processing device 20 of the embodiment of the present disclosure can execute the input method-based information processing method shown in the foregoing method embodiment of the present disclosure, and the implementation principles are similar, and will not be repeated here.
可替代地,本公开实施例提供了一种信息处理方法,可以由终端设备执行,如图13所示,该方法包括:Alternatively, the embodiments of the present disclosure provide an information processing method, which can be executed by a terminal device. As shown in FIG. 13, the method includes:
步骤S1301,基于用户的触发操作,确定待存储信息。Step S1301: Determine the information to be stored based on the trigger operation of the user.
对于本公开实施例,用户的触发操作为用户针对待存储信息的选中操作,其中,用户针对待存储信息的选中操作可以包括用户针对待存储信息的点击操作以及用户针对待存储信息的长按操作中的至少一种,例如,当检测到用户长按文本信息“夏天里的西瓜”时,将“夏天里的西瓜”确定为待存储信息。For the embodiments of the present disclosure, the user's trigger operation is the user's selection operation for the information to be stored, where the user's selection operation for the information to be stored may include the user's click operation on the information to be stored and the user's long press operation on the information to be stored At least one of, for example, when it is detected that the user long presses the text information "watermelon in summer", the "watermelon in summer" is determined as the information to be stored.
步骤S1302,当检测到用户将待存储信息拖动至预设存储区域时,存储待存储信息。Step S1302: When it is detected that the user drags the information to be stored to the preset storage area, the information to be stored is stored.
对于本公开实施例,当检测到用户将待存储信息拖动预设存储区域时,在预设存储区域对应的存储位置处存储待存储信息,其中,预设存储区域可以为存储文本信息、表情信息、链接信息、音频信息以及视频信息中的至少一项的一个区域,也可以包括剪切板区域、表情区域、快捷短语区域、链接区域、音频区域、视频区域以及加密区域中的至少一项,预设存储区域对应的存储位置可以位于存储器内。具体地,表情区域为存储表情信息的区域,快捷短语区域为存储非用户隐私的文本信息的区域,链接区域为存储链接信息的区域,视频区域为存储视频信息的区域,加密区域为存储用户隐私信息的区域。例如,当检测到用户将待存储信息“夏天里的西瓜”拖动至快捷短语区域时,将“夏天里的西瓜”存储至快捷短语区域对应的存储位置处。For the embodiments of the present disclosure, when it is detected that the user drags the information to be stored into the preset storage area, the information to be stored is stored in the storage location corresponding to the preset storage area, where the preset storage area may be for storing text information or expressions. An area of at least one of information, link information, audio information, and video information may also include at least one of a clipboard area, an expression area, a shortcut phrase area, a link area, an audio area, a video area, and an encryption area , The storage location corresponding to the preset storage area may be located in the memory. Specifically, the expression area is an area for storing expression information, the shortcut phrase area is an area for storing text information that is not private to the user, the link area is an area for storing link information, the video area is an area for storing video information, and the encryption area is for storing user privacy. Information area. For example, when it is detected that the user drags the information to be stored "watermelon in summer" to the shortcut phrase area, the "watermelon in summer" is stored in the storage location corresponding to the shortcut phrase area.
对于本公开实施例,当检测到用户触发待存储信息且开始拖动待存储信息时,将待存储信息对应的数据转存至预设系统内存;当检测到用户将待存储信息拖动至预设存储区域时,将已转存至预设系统内存中的待存储信息对应的数据转存至预设存储区域对应的存储位置处。For the embodiment of the present disclosure, when it is detected that the user triggers the information to be stored and starts to drag the information to be stored, the data corresponding to the information to be stored is dumped to the preset system memory; when it is detected that the user has dragged the information to be stored to the preset When the storage area is set, the data corresponding to the information to be stored that has been transferred to the preset system memory is transferred to the storage location corresponding to the preset storage area.
在本公开实施例中,存储确定出的待存储信息的方式为直接将待存储的信息拖动至预设存储区域,以实现存储,既不需要用户手动输入待存储信息,也不需要执行复制操作或者粘贴操作,并切换至对应的操作界面,从而降低了信息存储的复杂度,节省了信息存储的时间,进而提高用户体验。In the embodiment of the present disclosure, the method of storing the determined information to be stored is to directly drag the information to be stored to the preset storage area to realize storage. It does not require the user to manually input the information to be stored or perform copying. Operate or paste operation, and switch to the corresponding operation interface, thereby reducing the complexity of information storage, saving information storage time, and improving user experience.
上面介绍了确定待存储信息并存储待存储信息的方式,下面将详细介绍确定待存储信息的方式,具体如下所示:The method of determining the information to be stored and storing the information to be stored is described above. The method of determining the information to be stored is described in detail below, as follows:
根据本公开实施例的信息处理方法的另一种可能实现方式,步骤S1301包括基于用户在可编辑区域内的触发操作,确定待存储信息,以及基于用于在非编辑区域内的触发操作,确定待存储信息中的至少一项。According to another possible implementation of the information processing method of the embodiment of the present disclosure, step S1301 includes determining the information to be stored based on the user's trigger operation in the editable area, and determining the information to be stored based on the trigger operation in the non-editable area At least one item of information to be stored.
对于本公开实施例,当检测到用户在可编辑区域内如输入法输入区域内的触发操作,确定待存储信息,和/或,当检测到用户在非编辑区域内如聊天框区域内的触发操作,确定待存储信息,具体地,当用户A与用户B利用聊天应用程序进行信息交流时,用户A与用户B之间已发送消息所 在的区域为聊天框区域。其中,有关用户的触发操作详见上述实施例的相关说明,在本公开实施例中不再赘述。For the embodiments of the present disclosure, when a user's trigger operation in an editable area, such as an input method input area, is detected, the information to be stored is determined, and/or when a user is detected in a non-editable area, such as a chat box area, triggering Operate to determine the information to be stored. Specifically, when the user A and the user B use a chat application to communicate information, the area where the message has been sent between the user A and the user B is the chat box area. For details about the user's triggering operation, please refer to the relevant description of the above-mentioned embodiment, which will not be repeated in the embodiment of the present disclosure.
上述详细介绍了本公开确定待存储信息的方式,进一步可以执行步骤S1302,即当检测到用户将待存储信息拖动至预设存储区域时,存储待存储信息,进一步地,可以在预设存储区域内显示存储后的待存储信息,以便于用户查找待存储信息,具体如下所示:The foregoing details the method for determining the information to be stored in the present disclosure. Step S1302 can be further performed, that is, when it is detected that the user drags the information to be stored to the preset storage area, the information to be stored is stored. Further, the information to be stored can be stored in the preset storage area. The information to be stored after storage is displayed in the area to facilitate the user to find the information to be stored, as follows:
根据本公开实施例的信息处理方法的另一种可能实现方式,步骤S1302之后还可以包括:确定存储信息在预设存储区域内的显示位置,存储信息为待存储信息存储后的信息;在确定的显示位置处显示存储信息。According to another possible implementation of the information processing method of the embodiment of the present disclosure, after step S1302, the method may further include: determining the display position of the stored information in the preset storage area, and the stored information is the information after the information to be stored is stored; The storage information is displayed at the display position of.
其中,确定存储信息在预设存储区域内的显示位置,可以包括以下步骤A1、步骤A2以及步骤A3中的至少一项。Wherein, determining the display position of the stored information in the preset storage area may include at least one of the following steps A1, A2, and A3.
对于本公开实施例,步骤A1可以包括:当检测到用户将待存储信息拖动至预设存储区域时,确定待存储信息的拖动终止位置,并基于待存储信息的拖动终止位置确定存储信息在预设存储区域内的显示位置。For the embodiment of the present disclosure, step A1 may include: when it is detected that the user drags the information to be stored to the preset storage area, determining the drag end position of the information to be stored, and determining the storage based on the drag end position of the information to be stored The display position of the information in the preset storage area.
针对步骤A1,本公开实施例提供了一种实例,如图15所示,当检测到用户将待存储信息“夏天里的西瓜”拖动至预设存储区域时,确定“夏天里的西瓜”在预设存储区域的拖动终止位置为“北京市朝阳区望京北路”的显示位置和“周五前要完成工作安排的80%”的显示位置之间,基于拖动终止位置确定待存储信息“夏天里的西瓜”在预设存储区域的显示位置为“周五前要完成工作安排的80%”的显示位置,并在确定的显示位置处显示存储信息“夏天里的西瓜”,如图8所示,“夏天里的西瓜”的显示位置介于“北京市朝阳区望京北路”的显示位置和“周五前要完成工作安排的80%”的显示位置之间。For step A1, the embodiment of the present disclosure provides an example. As shown in FIG. 15, when it is detected that the user drags the information to be stored "watermelon in summer" to the preset storage area, it is determined that "watermelon in summer" The drag end position in the preset storage area is between the display position of "Wangjing North Road, Chaoyang District, Beijing" and the display position of "80% of the work schedule to be completed by Friday", and the drag end position is determined to be stored based on the drag end position The display position of the message "watermelon in summer" in the preset storage area is the display position of "80% of the work schedule to be completed by Friday", and the stored message "watermelon in summer" is displayed at the determined display position, such as As shown in Figure 8, the display position of "Watermelon in Summer" is between the display position of "Wangjing North Road, Chaoyang District, Beijing" and the display position of "80% of the work schedule to be completed by Friday".
对于本公开实施例,步骤A2可以包括:基于存储信息的存储时间确定存储信息在预设存储区域内的显示位置。For the embodiment of the present disclosure, step A2 may include: determining the display position of the stored information in the preset storage area based on the storage time of the stored information.
针对步骤A2,本公开实施例提供了一种实例,具体地,“北京市朝阳区望京北路”的存储时间为2019年10月11日12:00,“夏天里的西瓜”的存储时间为2019年10月12日12:00,“周五前要完成工作安排的80%”的存储时间为2019年10月12日13:11,则依据各存储信息的 存储时间,确定各存储信息在预设存储区域内的显示位置,如图8所示,各存储信息在预设存储区域内的显示位置的顺序依次为“北京市朝阳区望京北路”、“夏天里的西瓜”和“周五前要完成工作安排的80%”。For step A2, the embodiment of the present disclosure provides an example. Specifically, the storage time of "Wangjing North Road, Chaoyang District, Beijing" is 12:00 on October 11, 2019, and the storage time of "Watermelon in Summer" is At 12:00 on October 12, 2019, the storage time of "80% of the work schedule to be completed by Friday" is 13:11 on October 12, 2019. Based on the storage time of each stored information, determine the storage time of each stored information The display position in the preset storage area, as shown in Figure 8, the order of the display position of each stored information in the preset storage area is "Wangjing North Road, Chaoyang District, Beijing", "Watermelon in Summer" and "Zhou 80% of the work schedule must be completed before five."
对于本公开实施例,步骤A3可以包括:基于存储信息的信息类型,在预设存储区域内确定信息类型对应的显示区域,并确定存储信息在确定出的显示区域内的显示位置。For the embodiment of the present disclosure, step A3 may include: based on the information type of the stored information, determining the display area corresponding to the information type in the preset storage area, and determining the display position of the stored information in the determined display area.
对于本公开实施例,预设存储区域包括剪切板区域、表情区域、快捷短语区域、链接区域、音频区域、视频区域以及加密区域中的至少一项,即显示区域可以为剪切板区域、表情区域、快捷短语区域、链接区域、音频区域、视频区域以及加密区域中的任一项。针对步骤A3,本公开实施例提供了以下实例,具体地,若存储信息为普通文本信息“夏天里的西瓜”,则基于存储信息“夏天里的西瓜”的信息类型,在预设存储区域内确定该信息类型对应的显示区域为快捷短语区域,确定存储信息“夏天里的西瓜”在快捷短语区域内的显示位置,并在快捷短语区域内的显示位置处显示存储信息“夏天里的西瓜”。又如,若存储信息为特殊文本信息“登录密码XXXXX”,基于存储信息“登录密码XXXXX”的信息类型,在预设存储区域内确定该信息类型对应的显示区域为加密区域,确定存储信息“登录密码XXXXX”在加密区域内的显示位置,并在加密区域内的显示位置处显示存储信息“登录密码XXXXX”。For the embodiment of the present disclosure, the preset storage area includes at least one of a clipboard area, an expression area, a shortcut phrase area, a link area, an audio area, a video area, and an encryption area, that is, the display area may be a clipboard area, Any one of expression area, shortcut phrase area, link area, audio area, video area, and encryption area. For step A3, the embodiments of the present disclosure provide the following examples. Specifically, if the stored information is ordinary text information "watermelon in summer", based on the information type of the stored information "watermelon in summer", it is stored in the preset storage area Determine the display area corresponding to the information type as the shortcut phrase area, determine the display position of the stored information "Watermelon in summer" in the shortcut phrase area, and display the stored information "Watermelon in summer" at the display position in the shortcut phrase area . For another example, if the stored information is the special text information "login password XXXXX", based on the information type of the stored information "login password XXXXX", the display area corresponding to the information type is determined to be an encrypted area in the preset storage area, and the stored information is determined." The display position of the login password XXXXX" in the encrypted area, and the storage information "Login password XXXXX" is displayed in the display position in the encrypted area.
上述详细介绍了在预设存储区域内显示存储信息的方式,下面介绍调整预设存储区域内信息的显示位置的方式,使得用户更便捷的查找到预设存储区域内的信息,提高用户体验。The above details the method of displaying the stored information in the preset storage area. The following describes the method of adjusting the display position of the information in the preset storage area, so that the user can find the information in the preset storage area more conveniently and improve the user experience.
根据本公开实施例的信息处理方法的另一种可能实现方式,该信息处理方法还可以包括:当满足预设条件时,调整预设存储区域内显示的至少两个信息的显示位置。According to another possible implementation of the information processing method of the embodiment of the present disclosure, the information processing method may further include: when a preset condition is met, adjusting the display positions of at least two pieces of information displayed in the preset storage area.
其中,满足预设条件包括:检测到达到预设时间、检测到用户触发的预设操作指令以及检测到用户针对预设存储区域内显示的任一信息的拖动操作中的至少一项。Wherein, satisfying the preset condition includes: detecting that the preset time is reached, detecting the preset operation instruction triggered by the user, and detecting the user's drag operation for any information displayed in the preset storage area.
对于本公开实施例,只要满足预设条件,即可调整预设存储区域内显 示的至少两个信息的显示位置,不限于在步骤S1301之前进行调整,也不限于在步骤S1302之后进行调整。For the embodiments of the present disclosure, as long as the preset conditions are met, the display positions of at least two pieces of information displayed in the preset storage area can be adjusted, which is not limited to adjustment before step S1301, nor is it limited to adjustment after step S1302.
对于本公开实施例,当检测到达到预设时间,如当检测到达到0:00时,调整预设存储区域内显示的至少两个信息的显示位置;还可以当检测到用户触发的预设操作指令,如用户通过触发预设存储区域内的调整控件而触发的预设操作指令,调整预设存储区域内显示的至少两个信息的显示位置,其中,该预设操作指令用于控制调整预设存储区域内显示的至少两个信息的显示位置;还可以当检测到用户针对预设存储区域内显示的任一信息的拖动操作,如用户针对预设存储区域内显示的“夏天里的西瓜”的拖动操作,调整预设存储区域内显示的至少两个信息的显示位置。For the embodiments of the present disclosure, when it is detected that the preset time is reached, such as when it is detected that it reaches 0:00, the display positions of at least two pieces of information displayed in the preset storage area are adjusted; it can also be when the preset time triggered by the user is detected Operation instructions, such as a preset operation instruction triggered by a user by triggering an adjustment control in the preset storage area to adjust the display position of at least two pieces of information displayed in the preset storage area, wherein the preset operation instruction is used to control the adjustment The display position of at least two pieces of information displayed in the preset storage area; it can also be detected when a user drags any information displayed in the preset storage area, such as the user’s response to the “Summer in the summer” displayed in the preset storage area. "Watermelon" drag operation to adjust the display position of at least two messages displayed in the preset storage area.
具体地,当检测到满足预设条件时,调整预设存储区域内显示的至少两个信息的显示位置,具体可以包括以下步骤B1以及步骤B2中的至少一项。Specifically, when it is detected that the preset condition is met, adjusting the display positions of the at least two pieces of information displayed in the preset storage area may specifically include at least one of the following steps B1 and B2.
对于本公开实施例,步骤B1可以包括:当检测到达到预设时间或者检测到用户触发的预设操作指令,按照信息使用频率以及信息存储时间中的至少一项,调整预设存储区域内显示的至少两个信息的显示位置。For the embodiment of the present disclosure, step B1 may include: when it is detected that the preset time is reached or the preset operation instruction triggered by the user is detected, adjusting the display in the preset storage area according to at least one of the frequency of information use and the information storage time The display position of at least two messages.
对于本公开实施例,可以按照信息使用频率的大小顺序或者按照信息存储时间的先后顺序,对预设存储区域内显示的信息进行排序,并依据排序后的信息调整预设存储区域内显示的至少两个信息的显示位置。For the embodiments of the present disclosure, the information displayed in the preset storage area can be sorted according to the order of information use frequency or according to the order of information storage time, and at least the information displayed in the preset storage area can be adjusted according to the sorted information. The display position of the two messages.
例如,针对预设存储区域内显示的信息,其原始显示位置的顺序依次为“北京市朝阳区望京北路”、“夏天里的西瓜”和“周五前要完成工作安排的80%”,如图8所示,其中,“北京市朝阳区望京北路”的存储时间为2019年10月10日12:00,“夏天里的西瓜”的存储时间为2019年10月12日17:35,“周五前要完成工作安排的80%”的存储时间为2019年10月11日13:00,则当检测到达到预设时间或者当检测到用户触发的预设操作指令时,按照各信息存储时间的先后顺序,对各信息进行排序,即各信息的先后顺序依次为“北京市朝阳区望京北路”、“周五前要完成工作安排的80%”和“夏天里的西瓜”,根据排序后的信息调整“夏天里的西瓜”的显示位置和“周五前要完成工作安排的80%”的显示位置, 即如图16所示,调整后显示位置的顺序依次为“北京市朝阳区望京北路”、“周五前要完成工作安排的80%”和“夏天里的西瓜”。For example, for the information displayed in the preset storage area, the order of its original display position is "Wangjing North Road, Chaoyang District, Beijing", "Watermelon in Summer" and "80% of the work schedule to be completed by Friday". As shown in Figure 8, the storage time of "Wangjing North Road, Chaoyang District, Beijing" is 12:00, October 10, 2019, and the storage time of "Watermelon in summer" is 17:35, October 12, 2019. , The storage time of "80% of the work schedule to be completed by Friday" is at 13:00 on October 11, 2019. When the preset time is detected or the preset operation command triggered by the user is detected, follow each The order of the information storage time is to sort the information, that is, the order of the information is "Wangjing North Road, Chaoyang District, Beijing", "80% of the work schedule to be completed by Friday" and "Watermelon in summer" According to the sorted information, adjust the display position of "Watermelon in summer" and the display position of "80% of the work schedule to be completed by Friday", that is, as shown in Figure 16, the order of the adjusted display positions is "Beijing "Wangjing North Road, Chaoyang District", "80% of the work arrangements to be completed by Friday" and "Watermelon in summer".
对于本公开实施例,步骤B2可以包括:当检测到用户针对预设存储区域内显示的任一信息的拖动操作时,基于拖动终止位置调整预设存储区域内显示的至少两个信息的显示位置。For the embodiment of the present disclosure, step B2 may include: when a user's drag operation for any information displayed in the preset storage area is detected, adjusting the value of at least two pieces of information displayed in the preset storage area based on the drag termination position Show location.
对于本公开实施例,可以当检测到用户针对预设存储区域内显示的任一信息的拖动操作时,确定拖动终止位置,基于拖动终止位置确定任一信息在预设存储区域内的插入位置,并将任一信息插入至插入位置处,并调整除任一信息之外的至少一个信息在预设存储区域内的显示位置。例如,针对预设存储区域内显示的信息,其原始显示位置的顺序依次为“北京市朝阳区望京北路”、“夏天里的西瓜”和“周五前要完成工作安排的80%”,如图8所示,当检测到用户针对“周五前要完成工作安排的80%”的拖动操作,且拖动终止位置位于“北京市朝阳区望京北路”的显示位置和“夏天里的西瓜”的显示位置之间,则基于拖动终止位置确定“周五前要完成工作安排的80%”的插入位置位于“夏天里的西瓜”的显示位置处,将“周五前要完成工作安排的80%”插入至插入位置处,并调整“夏天里的西瓜”的显示位置,如图16所示,调整后显示位置的顺序依次为“北京市朝阳区望京北路”、“周五前要完成工作安排的80%”和“夏天里的西瓜”。For the embodiments of the present disclosure, when a user's drag operation on any information displayed in the preset storage area is detected, the drag end position can be determined, and the location of any information in the preset storage area can be determined based on the drag end position. Insert the position, and insert any information at the insertion position, and adjust the display position of at least one information except any information in the preset storage area. For example, for the information displayed in the preset storage area, the order of its original display position is "Wangjing North Road, Chaoyang District, Beijing", "Watermelon in Summer" and "80% of the work schedule to be completed by Friday". As shown in Figure 8, when a user’s drag operation for "80% of the work schedule to be completed by Friday" is detected, and the drag end position is located at the display position of "Wangjing North Road, Chaoyang District, Beijing" and "Summer. Between the display positions of "Watermelon", the insertion position of "80% of the work schedule to be completed by Friday" is determined based on the drag end position at the display position of "Watermelon in summer", and the "To be completed by Friday" 80% of the work schedule" is inserted into the insertion position, and the display position of "Watermelon in Summer" is adjusted. As shown in Figure 16, the display position after adjustment is in order of "Wangjing North Road, Chaoyang District, Beijing" and "Zhou To complete 80% of the work schedule before five" and "watermelon in summer".
对于本公开实施例,还可以当检测到用户针对预设存储区域内显示的任一信息的拖动操作时,确定拖动终止位置,基于拖动终止位置确定预设存储区域内显示的待调整的两个信息,并对确定出的两个信息在预设存储区域内的显示位置进行交换调整。例如,针对预设存储区域内显示的信息,其原始显示位置的顺序依次为“北京市朝阳区望京北路”、“夏天里的西瓜”和“周五前要完成工作安排的80%”,如图8所示,当检测到用户针对“周五前要完成工作安排的80%”的拖动操作,且拖动终止位置位于“夏天里的西瓜”的显示位置处,则基于拖动终止位置确定预设存储区域内显示的待调整的两个信息分别为“周五前要完成工作安排的80%”和“夏天里的西瓜”,并对“周五前要完成工作安排的80%”和“夏天里的西瓜”的显示位置进行交换调整,如图16所示,调整后显示位置的顺序依次为 “北京市朝阳区望京北路”、“周五前要完成工作安排的80%”和“夏天里的西瓜”。For the embodiments of the present disclosure, when a user's drag operation on any information displayed in the preset storage area is detected, the drag end position can be determined, and the to-be-adjusted display in the preset storage area can be determined based on the drag end position. And adjust the display position of the determined two information in the preset storage area. For example, for the information displayed in the preset storage area, the order of its original display position is "Wangjing North Road, Chaoyang District, Beijing", "Watermelon in Summer" and "80% of the work schedule to be completed by Friday". As shown in Figure 8, when the user's drag operation for "80% of the work schedule to be completed by Friday" is detected, and the drag end position is at the display position of "Watermelon in summer", it is based on the end of the drag operation. The two pieces of information to be adjusted displayed in the preset storage area for location determination are "80% of the work schedule to be completed by Friday" and "Watermelon in summer", and a response to "80% of the work schedule to be completed by Friday" The display positions of "" and "Watermelon in summer" are exchanged and adjusted, as shown in Figure 16, the order of display positions after adjustment is "Wangjing North Road, Chaoyang District, Beijing", and "80% of the work schedule will be completed by Friday." "And "Watermelon in summer".
上述详细介绍了调整预设存储区域内信息的显示位置的方式,下面将详细介绍将预设存储区域内信息插入至编辑区域的方式,以便用户快速的将信息输入至编辑区域,增加信息输入的速率。The above details the method of adjusting the display position of the information in the preset storage area. The following will describe in detail the method of inserting the information in the preset storage area into the editing area, so that users can quickly input information into the editing area and increase the number of information input. rate.
根据本公开实施例的信息处理方法的另一种可能实现方式,该信息处理方法还可以包括:当检测到用户将预设存储区域内显示的信息拖动至编辑区域时,将拖动的信息插入至编辑区域的对应位置。According to another possible implementation of the information processing method of the embodiment of the present disclosure, the information processing method may further include: when it is detected that the user drags the information displayed in the preset storage area to the editing area, dragging the dragged information Insert to the corresponding position in the editing area.
其中,将拖动的信息插入至编辑区域的对应位置,可以包括确定拖动的信息在编辑区域的拖动终止位置,根据拖动终止位置,在编辑区域插入拖动的信息,以及将拖动的信息插入至编辑区域的光标位置中的至少一项。Among them, inserting the dragging information into the corresponding position of the editing area can include determining the dragging end position of the dragging information in the editing area, inserting the dragging information in the editing area according to the dragging end position, and dragging The information is inserted into at least one item of the cursor position in the editing area.
对于本公开实施例,只要检测到用户将预设存储区域内显示的信息拖动至编辑区域,即可将拖动的信息插入至编辑区域的对应位置,不限于在步骤S1301之前,也不限于在步骤S1302之后。For the embodiments of the present disclosure, as long as it is detected that the user drags the information displayed in the preset storage area to the editing area, the dragged information can be inserted into the corresponding position of the editing area, which is not limited to before step S1301, nor is it limited to After step S1302.
对于本公开实施例,当检测到用户将预设存储区域内显示的信息拖动至编辑区域时,确定拖动的信息在编辑区域的拖动终止位置,根据拖动终止位置确定拖动的信息在编辑区域的插入位置,将拖动的信息插入至编辑区域的插入位置处。例如,当检测到用户将预设存储区域内显示的信息“夏天里的西瓜”拖动至编辑区域时,确定拖动的信息在编辑区域的拖动终止位置,根据拖动终止位置确定拖动的信息在编辑区域的插入位置为“小熊爱吃”之后,则将“夏天里的西瓜”插入至“小熊爱吃”之后,即编辑区域内显示的信息为“小熊爱吃夏天里的西瓜”。For the embodiments of the present disclosure, when it is detected that the user drags the information displayed in the preset storage area to the editing area, the drag information is determined to be at the drag end position of the edit area, and the drag information is determined according to the drag end position At the insertion position of the editing area, insert the dragged information to the insertion position of the editing area. For example, when it is detected that the user drags the information "watermelon in summer" displayed in the preset storage area to the editing area, it is determined that the dragged information is at the drag end position of the edit area, and the dragging is determined according to the drag end position After the insertion position of the edit area is "Little Bear Loves To Eat", insert "Watermelon in Summer" after "Little Bear Loves to Eat", that is, the information displayed in the edit area is "Little Bear Loves to Eat Watermelon in Summer" .
对于本公开实施例,当检测到用户将预设存储区域内显示的信息拖动至编辑区域时,确定光标在编辑区域内的光标位置,将拖动的信息插入至编辑区域的光标位置。例如,当检测到用户将预设存储区域内显示的信息“夏天里的西瓜”拖动至编辑区域时,确定光标在编辑区域内的光标位置为“小熊爱吃”之后,则将“夏天里的西瓜”插入至“小熊爱吃”之后,即编辑区域内显示的信息为“小熊爱吃夏天里的西瓜”。For the embodiment of the present disclosure, when it is detected that the user drags the information displayed in the preset storage area to the editing area, the cursor position of the cursor in the editing area is determined, and the dragged information is inserted into the cursor position of the editing area. For example, when it is detected that the user drags the information "Watermelon in summer" displayed in the preset storage area to the editing area, and after determining that the cursor position in the editing area is "Watermelon" is inserted after "Little Bear loves to eat", that is, the information displayed in the editing area is "Little Bear loves to eat watermelon in summer".
上述详细介绍了将预设存储区域内信息插入至编辑区域的方式,为了将预设存储区域内信息插入至编辑区域,需要打开预设存储区域并显示预设存储区域内的信息,因此,如何打开并显示预设存储区域详见下述实施例。The above details the method of inserting the information in the preset storage area into the editing area. In order to insert the information in the preset storage area into the editing area, you need to open the preset storage area and display the information in the preset storage area. Therefore, how to To open and display the preset storage area, please refer to the following example for details.
根据本公开实施例的信息处理方法的另一种可能实现方式,该信息处理方法还可以包括:当检测到用户触发以下操作方式C1、操作方式C2、操作方式C3以及操作方式C4中的至少一项操作时,加载并显示预设存储区域。According to another possible implementation of the information processing method of the embodiment of the present disclosure, the information processing method may further include: when it is detected that the user triggers at least one of the following operation mode C1, operation mode C2, operation mode C3, and operation mode C4 When the item is operated, the preset storage area is loaded and displayed.
对于本公开实施例,加载并显示预设存储区域的步骤,可以在步骤S1302之前,也可以在当检测到用户将预设存储区域内显示的信息拖动至编辑区域时,将拖动的信息插入至编辑区域的对应位置的步骤之前,在本公开实施例中不做限定。For the embodiment of the present disclosure, the step of loading and displaying the preset storage area may be before step S1302, or when it is detected that the user drags the information displayed in the preset storage area to the editing area, the dragged information Before the step of inserting into the corresponding position of the editing area, it is not limited in the embodiment of the present disclosure.
对于本公开实施例,操作方式C1具体包括:针对待存储信息的拖动操作,且拖动终止位置属于第一预设区域。其中,当检测到用户触发待存储信息的时长大于预设时长阈值时,浮动待存储信息,以便用户选中待存储信息并执行移动操作;当检测到用户选中浮动后的待存储信息并移动时,确定用户针对待存储信息的操作为针对待存储信息的拖动操作。如图7所示,当检测到用户针对待存储信息“夏天里的西瓜”的拖动操作,且拖动终止位置属于输入法面板区域,即拖动终止位置属于第一预设区域时,加载并显示预设存储区域。For the embodiment of the present disclosure, the operation mode C1 specifically includes: a drag operation for the information to be stored, and the drag end position belongs to the first preset area. Among them, when it is detected that the user triggers the information to be stored for a time greater than the preset time threshold, the information to be stored is floated so that the user can select the information to be stored and perform a move operation; when it is detected that the user selects and moves the information to be stored after floating, It is determined that the user's operation on the information to be stored is a drag operation on the information to be stored. As shown in Figure 7, when the user's drag operation for the information to be stored "watermelon in summer" is detected, and the drag end position belongs to the input method panel area, that is, the drag end position belongs to the first preset area, load And display the preset storage area.
对于本公开实施例,操作方式C2具体包括:针对第二预设区域的点击操作。例如,若第二预设区域为预设存储区域对应的标识区域,则当检测到用户点击预设存储区域对应的标识区域时,加载并显示预设存储区域。For the embodiment of the present disclosure, the operation mode C2 specifically includes: a click operation on the second preset area. For example, if the second preset area is the identification area corresponding to the preset storage area, when it is detected that the user clicks on the identification area corresponding to the preset storage area, the preset storage area is loaded and displayed.
对于本公开实施例,操作方式C3具体包括:滑动操作,且滑动操作的滑动轨迹信息与预设轨迹信息相匹配,或者滑动操作的起始位置属于第三预设区域,滑动方向为预设滑动方向。其中,当检测到用户触发任意位置的时间不大于预设时长阈值且执行移动操作时,确定用户的操作为滑动操作。For the embodiment of the present disclosure, the operation mode C3 specifically includes: a sliding operation, and the sliding trajectory information of the sliding operation matches the preset trajectory information, or the starting position of the sliding operation belongs to the third preset area, and the sliding direction is the preset sliding direction. Wherein, when it is detected that the time during which the user triggers any position is not greater than the preset duration threshold and the movement operation is performed, it is determined that the user's operation is a sliding operation.
针对操作方式C3,本公开实施例提供了一个实例,具体地,当检测到用户触发滑动操作,滑动操作的滑动轨迹信息为圆轨迹信息,且圆轨迹信息与预设圆轨迹信息相匹配时,加载并显示预设存储区域;或者,当检测到用户触发滑动操作,且滑动操作的起始位置属于第三预设区域,滑动方向为预设滑动方向时,加载并显示预设存储区域,如图17所示,当检测到用户触发滑动操作,且滑动操作的起始位置为第三预设区域,滑动方向为箭头所指向的预设滑动方向时,加载并显示预设存储区域。For operation mode C3, the embodiment of the present disclosure provides an example. Specifically, when a user triggers a sliding operation is detected, the sliding trajectory information of the sliding operation is circular trajectory information, and the circular trajectory information matches the preset circular trajectory information, Load and display the preset storage area; or, when it is detected that the user triggers a sliding operation, and the starting position of the sliding operation belongs to the third preset area, and the sliding direction is the preset sliding direction, load and display the preset storage area, such as As shown in FIG. 17, when it is detected that a user triggers a sliding operation, and the starting position of the sliding operation is the third preset area, and the sliding direction is the preset sliding direction pointed by the arrow, the preset storage area is loaded and displayed.
对于本公开实施例,操作方式C4具体包括:针对待存储信息的选中操作。如图18所示,当检测到用户触发针对待存储信息“夏天里的西瓜”的选中操作时,加载并显示预设存储区域,能便于用户将待存储信息拖动至预设存储区域,加快信息存储的速度。For the embodiment of the present disclosure, the operation mode C4 specifically includes: a selection operation for the information to be stored. As shown in Figure 18, when it is detected that the user triggers the selection operation for the information to be stored "watermelon in summer", the preset storage area is loaded and displayed, which can facilitate the user to drag the information to be stored to the preset storage area, and speed up The speed of information storage.
上述详细介绍了如何打开预设存储区域并显示预设存储区域内的信息,其中,显示预设存储区域后,可以将待存储信息拖动至预设存储区域,以存储待存储信息,具体地:The above details how to open the preset storage area and display the information in the preset storage area. After the preset storage area is displayed, the information to be stored can be dragged to the preset storage area to store the information to be stored, specifically :
根据本公开实施例的信息处理方法的另一种可能实现方式,步骤S1302具体可以包括以下步骤D1和步骤D2中的任一项,下面将具体介绍步骤D1与步骤D2。According to another possible implementation of the information processing method of the embodiment of the present disclosure, step S1302 may specifically include any one of the following steps D1 and D2, and the following will specifically introduce step D1 and step D2.
步骤D1可以包括:当检测到用户将待存储信息由一个应用程序拖动至另一个应用程序中的预设存储区域时,存储待存储信息。Step D1 may include: when it is detected that the user drags the information to be stored from one application to a preset storage area in another application, storing the information to be stored.
对于本公开实施例,针对两个应用程序,当检测到用户触发一个应用程序内的待存储信息,且开始拖动该一个应用程序内的待存储信息时,将待存储信息对应的数据由一个应用程序对应的存储位置转存至预设系统内存中;当检测到用户将待存储信息由一个应用程序拖动至另一个应用程序中的预设存储区域时,将待存储信息对应的数据由预设系统内存转移至另一个应用程序对应的存储位置中。For the embodiments of the present disclosure, for two applications, when it is detected that the user triggers the information to be stored in one application and starts to drag the information to be stored in the one application, the data corresponding to the information to be stored is divided into one The storage location corresponding to the application is transferred to the preset system memory; when it is detected that the user drags the information to be stored from one application to the preset storage area in another application, the data corresponding to the information to be stored is transferred from The preset system memory is transferred to the storage location corresponding to another application.
例如,若用户将“夏天里的西瓜”由应用程序1拖动至应用程序2,且应用程序1对应存储位置1,应用程序2对应存储位置2,则当检测到用户触发应用程序1中的“夏天里的西瓜”,且开始拖动应用程序1中的“夏天里的西瓜”时,将“夏天里的西瓜”对应的数据由存储位置1转存 至预设系统内存中;当检测到用户将“夏天里的西瓜”由应用程序1拖动至应用程序2中的预设存储区域时,将“夏天里的西瓜”对应的数据由预设系统内存转存至存储位置2。For example, if the user drags "Watermelon in the summer" from application 1 to application 2, and application 1 corresponds to storage location 1, application 2 corresponds to storage location 2, then when it is detected that the user triggers the "Watermelon in summer" and start dragging "Watermelon in summer" in Application 1, transfer the data corresponding to "Watermelon in summer" from storage location 1 to the preset system memory; when detected When the user drags "Watermelon in Summer" from Application 1 to the preset storage area in Application 2, the data corresponding to "Watermelon in Summer" is transferred from the preset system memory to storage location 2.
步骤D2可以包括:当检测到用户将待存储信息由第一功能区域拖动至位于第二功能区域内的预设存储区域时,存储待存储信息。Step D2 may include: when it is detected that the user drags the information to be stored from the first functional area to the preset storage area located in the second functional area, storing the information to be stored.
其中,第一功能区域与第二功能区域对应于同一个应用程序。Wherein, the first functional area and the second functional area correspond to the same application.
对于本公开实施例,针对一个应用程序,当检测到用户触发第一功能区域内的待存储信息,且开始拖动该第一功能区域内的待存储信息时,将待存储信息对应的数据由第一功能区域对应的存储位置转存至预设系统内存中;当检测到用户将待存储信息由第一功能区域拖动至第二功能区域中的预设存储区域时,将待存储信息对应的数据由预设系统内存转移至第二功能区域对应的存储位置中。其中,第一功能区域对应的存储位置可以与第二功能区域对应的存储位置相同,也可以不同,在本公开实施例中不做限定。For the embodiments of the present disclosure, for an application, when it is detected that the user triggers the information to be stored in the first functional area and starts to drag the information to be stored in the first functional area, the data corresponding to the information to be stored is replaced by The storage location corresponding to the first functional area is transferred to the preset system memory; when it is detected that the user drags the information to be stored from the first functional area to the preset storage area in the second functional area, the information to be stored is corresponding The data of is transferred from the preset system memory to the storage location corresponding to the second functional area. The storage location corresponding to the first functional area may be the same as or different from the storage location corresponding to the second functional area, which is not limited in the embodiment of the present disclosure.
根据本公开实施例的信息处理方法的另一个可能实现方式,步骤S1302具体可以包括:当检测到用户将待存储信息由即时通信的对话框区域拖动至预设存储区域,存储待存储信息。According to another possible implementation of the information processing method of the embodiment of the present disclosure, step S1302 may specifically include: when it is detected that the user drags the information to be stored from the dialog box area of the instant messaging to the preset storage area, storing the information to be stored.
其中,即时通信的对话框区域与预设存储区域位于不同的应用程序,或者位于同一个应用程序的不同功能区域。Among them, the dialog box area and the preset storage area of the instant messaging are located in different applications, or located in different functional areas of the same application.
具体地,若预设存储区域包括快捷短语区域,且即时通信的对话框区域与预设存储区域位于不同的应用程序;则当检测到用户将待存储信息由即时通信的对话框区域拖动至预设存储区域,存储待存储信息,具体可以包括:当检测到用户将待存储信息由即时通信的对话框区域拖动至快捷短语区域,存储待存储信息。Specifically, if the preset storage area includes a shortcut phrase area, and the dialog box area of instant messaging and the preset storage area are located in different applications; then when it is detected that the user drags the information to be stored from the dialog box area of instant messaging to Presetting the storage area to store the information to be stored may specifically include: when it is detected that the user drags the information to be stored from the dialog box area of the instant messaging to the shortcut phrase area, storing the information to be stored.
对于本公开实施例,快捷短语区域与即时通信的对话框区域可以分别位于不同的应用程序,其中,即时通信的对话框区域指用户即时发送和接收互联网消息的区域,快捷短语区域位于可以被系统随时调用的应用程序内,例如,快捷短语区域可以位于系统自带的输入法应用程序内。在本公开实施例中,当检测到用户触发操作方式C1、操作方式C2、操作方式C3 以及操作方式C4中的至少一项操作,加载并显示快捷短语区域,以便用户将待存储信息拖入至快捷短语区域。For the embodiments of the present disclosure, the shortcut phrase area and the instant messaging dialog box area can be located in different applications. The instant messaging dialog box area refers to the area where the user instantly sends and receives Internet messages, and the shortcut phrase area is located in the system that can be used by the system. In the application that can be called at any time, for example, the shortcut phrase area can be located in the input method application that comes with the system. In the embodiment of the present disclosure, when it is detected that the user triggers at least one of the operation mode C1, the operation mode C2, the operation mode C3, and the operation mode C4, the shortcut phrase area is loaded and displayed so that the user can drag the information to be stored into Shortcut phrase area.
例如,当检测到用户将“夏天里的西瓜”由即时通信的对话框区域拖动至输入法的快捷短语区域时,将“夏天里的西瓜”对应的数据存储至快捷短语区域对应的存储位置处。For example, when it is detected that the user drags "watermelon in summer" from the dialog box area of instant messaging to the shortcut phrase area of the input method, the data corresponding to "watermelon in summer" is stored in the storage location corresponding to the shortcut phrase area Place.
对于本公开实施例,即时通信的对话框区域与预设存储区域可以位于同一个应用程序的不同功能区域,例如预设存储区域可以位于即时通信中的收藏区域,当检测到用户将将“夏天里的西瓜”由即时通信的对话框区域拖动至即时通信中的收藏区域时,将“夏天里的西瓜”对应的数据存储至收藏区域对应的存储位置处。For the embodiments of the present disclosure, the dialog box area and the preset storage area of instant messaging can be located in different functional areas of the same application. For example, the preset storage area can be located in the favorite area of instant messaging. When the "Watermelon in" is dragged from the dialog box area of instant messaging to the favorite area in instant messaging, the data corresponding to "Watermelon in summer" is stored to the storage location corresponding to the favorite area.
根据本公开实施例的信息处理方法的另一种可能实现方式,该方法还可以包括:当检测到用户将即时通信的对话框区域内的信息拖动至即时通信的信息输入区域,且当检测到用户针对信息输入区域内信息的发送操作,发送信息输入区域内的信息。According to another possible implementation of the information processing method of the embodiment of the present disclosure, the method may further include: when it is detected that the user drags the information in the dialog box area of the instant messaging to the information input area of the instant messaging, and when it is detected When the user sends the information in the information input area, the information in the information input area is sent.
对于本公开实施例,当检测到用户将即时通信的对话框区域内的信息拖动至即时通信的信息输入区域时,基于拖动终止位置确定拖动的信息在在即时通信的信息输入区域内的显示位置,并显示拖动的信息,实现信息的快速输入,进一步地,当检测到用户针对信息输入区域内信息的发送操作,发送信息输入区域内的信息。For the embodiments of the present disclosure, when it is detected that the user drags the information in the dialog box area of the instant messaging to the information input area of the instant messaging, it is determined based on the drag end position that the dragged information is in the information input area of the instant messaging The display position of the dragging information is displayed to realize the rapid input of information. Further, when the user's sending operation of the information in the information input area is detected, the information in the information input area is sent.
例如,若即时通信的信息输入区域存在“小熊爱吃”,当检测到用户将即时通信的对话框区域内的信息“夏天里的西瓜”拖动至“小熊爱吃”之后时,在即时通信的信息输入区域显示“小熊爱吃夏天里的西瓜”,当检测到用户针对“小熊爱吃夏天里的西瓜”的发送操作,发送“小熊爱吃夏天里的西瓜”。For example, if "Little Bear Loves" exists in the information input area of instant messaging, when it is detected that the user drags the message "Watermelon in Summer" in the dialog area of instant messaging to behind "Little Bear Loves", the The information input area of "Bear loves to eat watermelon in summer" is displayed. When the user's sending operation for "Bear loves to eat watermelon in summer" is detected, send "Bear loves to eat watermelon in summer".
上述从方法步骤的角度具体阐述了信息处理方法,下面从虚拟模块或者虚拟单元的角度介绍信息处理装置,具体如下所示。The information processing method is described in detail from the perspective of method steps above, and the information processing device is introduced from the perspective of a virtual module or a virtual unit as follows.
本公开实施例提供了一种信息处理装置,如图14所示,该信息处理装置140可以包括:第三确定模块1401和存储模块1402。The embodiment of the present disclosure provides an information processing device. As shown in FIG. 14, the information processing device 140 may include: a third determining module 1401 and a storage module 1402.
第三确定模块1401,用于基于用户的触发操作,确定待存储信息。The third determining module 1401 is configured to determine the information to be stored based on the trigger operation of the user.
存储模块1402,用于当检测到用户将待存储信息拖动至预设存储区域时,存储待存储信息。The storage module 1402 is configured to store the information to be stored when it is detected that the user drags the information to be stored to the preset storage area.
本公开实施例的另一种可能实现方式,信息处理装置140还包括第四确定模块和显示模块。In another possible implementation manner of the embodiment of the present disclosure, the information processing device 140 further includes a fourth determining module and a display module.
第四确定模块,用于确定存储信息在预设存储区域内的显示位置。The fourth determining module is used to determine the display position of the stored information in the preset storage area.
其中,存储信息为待存储信息存储后的信息。Among them, the storage information is the information after the information to be stored is stored.
显示模块,用于在确定的显示位置处显示存储信息。The display module is used to display the storage information at the determined display position.
本公开实施例的另一种可能实现方式,第四确定模块包括第三确定单元、第四确定单元以及第五确定单元中的至少一项。In another possible implementation manner of the embodiment of the present disclosure, the fourth determining module includes at least one of a third determining unit, a fourth determining unit, and a fifth determining unit.
第三确定单元,用于当检测到用户将待存储信息拖动至预设存储区域时,确定待存储信息的拖动终止位置,并基于待存储信息的拖动终止位置确定存储信息在预设存储区域内的显示位置。The third determining unit is used to determine the drag end position of the information to be stored when it is detected that the user drags the information to be stored to the preset storage area, and determine that the stored information is in the preset based on the drag end position of the information to be stored The display position in the storage area.
第四确定单元,用于基于存储信息的存储时间确定存储信息在预设存储区域内的显示位置。The fourth determining unit is configured to determine the display position of the stored information in the preset storage area based on the storage time of the stored information.
第五确定单元,用于基于存储信息的信息类型,在预设存储区域内确定信息类型对应的显示区域,并确定存储信息在确定出的显示区域内的显示位置。The fifth determining unit is configured to determine the display area corresponding to the information type in the preset storage area based on the information type of the stored information, and determine the display position of the stored information in the determined display area.
本公开实施例的另一种可能实现方式,信息处理装置140还包括调整模块。In another possible implementation manner of the embodiment of the present disclosure, the information processing device 140 further includes an adjustment module.
调整模块,用于当满足预设条件时,调整预设存储区域内显示的至少两个信息的显示位置。The adjustment module is used to adjust the display positions of at least two pieces of information displayed in the preset storage area when the preset conditions are met.
其中,满足预设条件包括检测到达到预设时间、检测到用户触发的预设操作指令,以及检测到用户针对预设存储区域内显示的任一信息的拖动操作中的至少一项。Wherein, satisfying the preset condition includes detecting that the preset time is reached, detecting a preset operation instruction triggered by the user, and detecting at least one of the user's drag operation for any information displayed in the preset storage area.
本公开实施例的另一种可能实现方式,调整模块包括第一调整单元以及第二调整单元中的至少一项。In another possible implementation manner of the embodiment of the present disclosure, the adjustment module includes at least one of a first adjustment unit and a second adjustment unit.
第一调整单元,用于当检测到达到预设时间或者检测到用户触发的预设操作指令,按照信息使用频率以及信息存储时间中的至少一项,调整预设存储区域内显示的至少两个信息的显示位置。The first adjustment unit is configured to adjust at least two items displayed in the preset storage area according to at least one of the frequency of information use and the information storage time when it is detected that the preset time is reached or the preset operation instruction triggered by the user is detected. The display position of the information.
第二调整单元,用于当检测到用户针对预设存储区域内显示的任一信息的拖动操作时,基于拖动终止位置调整预设存储区域内显示的至少两个信息的显示位置。The second adjustment unit is configured to adjust the display positions of at least two pieces of information displayed in the preset storage area based on the drag termination position when a drag operation of the user for any information displayed in the preset storage area is detected.
本公开实施例的另一种可能实现方式,信息处理装置140还包括插入模块。In another possible implementation manner of the embodiment of the present disclosure, the information processing device 140 further includes an insertion module.
插入模块,用于当检测到用户将预设存储区域内显示的信息拖动至编辑区域时,将拖动的信息插入至编辑区域的对应位置。The inserting module is used to insert the dragged information into the corresponding position of the editing area when it is detected that the user drags the information displayed in the preset storage area to the editing area.
本公开实施例的另一种可能实现方式,插入模块包括第一插入单元以及第二插入单元中至少一项。In another possible implementation manner of the embodiments of the present disclosure, the plug-in module includes at least one of a first plug-in unit and a second plug-in unit.
第一插入单元,用于确定拖动的信息在编辑区域的拖动终止位置,根据拖动终止位置,在编辑区域插入所述拖动的信息。The first insertion unit is used to determine the drag end position of the drag information in the edit area, and insert the drag information in the edit area according to the drag end position.
第二插入单元,用于将拖动的信息插入至编辑区域的光标位置。The second inserting unit is used to insert the dragged information to the cursor position in the editing area.
本公开实施例的另一种可能实现方式,信息处理装置140还包括加载显示模块。In another possible implementation manner of the embodiment of the present disclosure, the information processing device 140 further includes a loading display module.
加载显示模块,用于当检测到用户触发以下操作方式1-4中至少一项操作,加载并显示预设存储区域。The loading display module is used to load and display the preset storage area when it is detected that the user triggers at least one of the following operation modes 1-4.
操作方式1可以包括:针对待存储信息的拖动操作,且拖动终止位置属于第一预设区域;操作方式2可以包括:针对第二预设区域的点击操作;操作方式3可以包括:滑动操作,且滑动操作的滑动轨迹信息与预设轨迹信息相匹配,或者滑动操作的起始位置属于第三预设区域,滑动方向为预设滑动方向;操作方式4可以包括:针对待存储信息的选中操作。 Operation mode 1 may include: a drag operation for the information to be stored, and the drag end position belongs to the first preset area; operation mode 2 may include: a click operation for the second preset area; operation mode 3 may include: sliding Operation, and the sliding trajectory information of the sliding operation matches the preset trajectory information, or the starting position of the sliding operation belongs to the third preset area, and the sliding direction is the preset sliding direction; operation mode 4 may include: for the information to be stored Select the operation.
本公开实施例的另一种可能实现方式,第三确定模块1401,具体用于基于用户在可编辑区域内的触发操作,确定待存储信息,以及基于用于在非编辑区域内的触发操作,确定待存储信息中的至少一项。In another possible implementation of the embodiments of the present disclosure, the third determining module 1401 is specifically configured to determine the information to be stored based on the user's trigger operation in the editable area, and based on the trigger operation in the non-editable area, Determine at least one item of the information to be stored.
本公开实施例的另一种可能实现方式,存储模块1402具体可以包括第一存储单元以及第二存储单元中的任一项。In another possible implementation manner of the embodiment of the present disclosure, the storage module 1402 may specifically include any one of a first storage unit and a second storage unit.
第一存储单元,用于当检测到用户将待存储信息由一个应用程序拖动至另一个应用程序中的预设存储区域时,存储待存储信息;The first storage unit is configured to store the information to be stored when it is detected that the user drags the information to be stored from one application to a preset storage area in another application;
第二存储单元,用于当检测到用户将待存储信息由第一功能区域拖动 至位于第二功能区域内的预设存储区域时,存储待存储信息,第一功能区域与第二功能区域对应于同一个应用程序。The second storage unit is used to store the information to be stored when it is detected that the user drags the information to be stored from the first functional area to the preset storage area located in the second functional area, the first functional area and the second functional area Corresponds to the same application.
本公开实施例的另一种可能实现方式,存储模块1402,具体用于当检测到用户将待存储信息由即时通信的对话框区域拖动至预设存储区域,存储待存储信息;其中,即时通信的对话框区域与预设存储区域位于不同的应用程序,或者位于同一个应用程序的不同功能区域。Another possible implementation of the embodiment of the present disclosure, the storage module 1402, is specifically used to store the information to be stored when it is detected that the user drags the information to be stored from the dialog box area of the instant messaging to the preset storage area; The communication dialog box area and the preset storage area are located in different applications, or located in different functional areas of the same application.
本公开实施例的另一种可能实现方式,当预设存储区域包括快捷短语区域,且即时通信的对话框区域与预设存储区域位于不同的应用程序,则存储模块1402在当检测到用户将待存储信息由即时通信的对话框区域拖动至预设存储区域,存储待存储信息时,具体用于当检测到用户将待存储信息由即时通信的对话框区域拖动至快捷短语区域,存储待存储信息。In another possible implementation of the embodiments of the present disclosure, when the preset storage area includes a shortcut phrase area, and the dialog box area of instant messaging and the preset storage area are located in different applications, the storage module 1402 detects that the user will The information to be stored is dragged from the dialog box area of instant messaging to the preset storage area. When the information to be stored is stored, it is specifically used when it is detected that the user drags the information to be stored from the dialog box area of instant messaging to the shortcut phrase area to store Information to be stored.
本公开实施例的另一种可能实现方式,该装置140还可以包括发送模块。In another possible implementation manner of the embodiment of the present disclosure, the device 140 may further include a sending module.
发送模块,用于当检测到用户将即时通信的对话框区域内的信息拖动至即时通信的信息输入区域,且当检测到用户针对信息输入区域内信息的发送操作,发送信息输入区域内的信息。The sending module is used for when it is detected that the user drags the information in the dialog box area of the instant messaging to the information input area of the instant messaging, and when the user’s sending operation for the information in the information input area is detected, send the information in the information input area information.
对于本公开实施例,第三确定模块1401和第四确定模块可以为同一个确定模块,也可以为两个不同的确定模块;第三确定单元、第四确定单元以及第五确定单元可以为同一个确定单元,也可以为三个不同的确定单元,还可以任意组合为相同的确定单元;第一调整单元与第二调整单元可以为两个相同的调整单元,也可以为两个不同的调整单元;第一插入单元与第二插入单元可以为两个相同的插入单元,也可以为两个不同的插入单元,第一存储单元和第二存储单元可以为同一个存储单元,也可以为两个不同的存储单元,在本公开实施例中不做限定。For the embodiment of the present disclosure, the third determining module 1401 and the fourth determining module may be the same determining module or two different determining modules; the third determining unit, the fourth determining unit, and the fifth determining unit may be the same. One determination unit can also be three different determination units, or can be arbitrarily combined into the same determination unit; the first adjustment unit and the second adjustment unit can be two identical adjustment units or two different adjustment units Unit; the first plug-in unit and the second plug-in unit can be two identical plug-in units, or two different plug-in units, the first storage unit and the second storage unit can be the same storage unit, or two The different storage units are not limited in the embodiment of the present disclosure.
本公开实施例的信息处理装置140可执行本公开方法实施例提供的一种信息处理方法,其实现原理相类似,此处不再赘述。The information processing device 140 of the embodiment of the present disclosure can execute an information processing method provided by the method embodiment of the present disclosure, and its implementation principles are similar, and will not be repeated here.
上述从虚拟模块或者虚拟单元的角度介绍本公开的基于输入法的信息处理装置,下面从实体装置的角度介绍本公开的电子设备。The foregoing describes the input method-based information processing device of the present disclosure from the perspective of a virtual module or a virtual unit, and the following describes the electronic device of the present disclosure from the perspective of a physical device.
下面参考图3,其示出了适于用来实现本公开实施例的电子设备(例 如终端设备)300的结构示意图。电子设备300可以包括:一个或多个处理器;存储器;一个或多个应用程序,其中一个或多个应用程序被存储在存储器中并被配置为由一个或多个处理器执行,一个或多个程序被配置为执行根据上述实施例所示的方法对应的操作。3, which shows a schematic structural diagram of an electronic device (e.g., terminal device) 300 suitable for implementing the embodiments of the present disclosure. The electronic device 300 may include: one or more processors; a memory; one or more application programs, wherein one or more application programs are stored in the memory and configured to be executed by one or more processors, one or more Each program is configured to perform operations corresponding to the methods shown in the above-mentioned embodiments.
本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图3示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (e.g. Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in FIG. 3 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
电子设备包括:存储器以及处理器,其中,这里的处理器可以称为下文所述的处理装置301,存储器可以包括下文中的只读存储器(ROM)302、随机访问存储器(RAM)303以及存储装置308中的至少一项,具体如下所示:The electronic device includes a memory and a processor, where the processor here may be referred to as the processing device 301 described below, and the memory may include a read-only memory (ROM) 302, a random access memory (RAM) 303, and a storage device below. At least one of 308, as follows:
如图3所示,电子设备300可以包括处理装置(例如中央处理器、图形处理器等)301,其可以根据存储在只读存储器(ROM)302中的程序或者从存储装置308加载到随机访问存储器(RAM)303中的程序而执行各种适当的动作和处理。在RAM 303中,还存储有电子设备300操作所需的各种程序和数据。处理装置301、ROM 302以及RAM 303通过总线304彼此相连。输入/输出(I/O)接口305也连接至总线304。As shown in FIG. 3, the electronic device 300 may include a processing device (such as a central processing unit, a graphics processor, etc.) 301, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 302 or from a storage device 308 The program in the memory (RAM) 303 executes various appropriate actions and processing. In the RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other through a bus 304. An input/output (I/O) interface 305 is also connected to the bus 304.
通常,以下装置可以连接至I/O接口305:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置306;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置307;包括例如磁带、硬盘等的存储装置308;以及通信装置309。通信装置309可以允许电子设备300与其他设备进行无线或有线通信以交换数据。虽然图3示出了具有各种装置的电子设备300,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Generally, the following devices can be connected to the I/O interface 305: including input devices 306 such as touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; including, for example, liquid crystal displays (LCD), speakers, vibrations An output device 307 such as a device; a storage device 308 such as a magnetic tape, a hard disk, etc.; and a communication device 309. The communication device 309 may allow the electronic device 300 to perform wireless or wired communication with other devices to exchange data. Although FIG. 3 shows an electronic device 300 having various devices, it should be understood that it is not required to implement or have all of the illustrated devices. It may alternatively be implemented or provided with more or fewer devices.
特别地,根据本公开实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于 执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置309从网络上被下载和安装,或者从存储装置308被安装,或者从ROM 302被安装。在该计算机程序被处理装置301执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the aforementioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium. The computer-readable signal medium may send, propagate or transmit the program for use by or in combination with the instruction execution system, apparatus, or device . The program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and server can communicate with any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium. Communication (e.g., communication network) interconnects. Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet (for example, the Internet), and end-to-end networks (for example, ad hoc end-to-end networks), as well as any currently known or future research and development network of.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独 存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行根据本公开实施例的方法的相应操作。The aforementioned computer-readable medium carries one or more programs, and when the aforementioned one or more programs are executed by the electronic device, the electronic device is caused to perform corresponding operations of the method according to the embodiment of the present disclosure.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络(包括局域网(LAN)或广域网(WAN))连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。The computer program code used to perform the operations of the present disclosure can be written in one or more programming languages or a combination thereof. The above-mentioned programming languages include but are not limited to object-oriented programming languages such as Java, Smalltalk, C++, and Including conventional procedural programming languages-such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network (including a local area network (LAN) or a wide area network (WAN)), or it can be connected to an external computer (for example, using an Internet service provider to connect to the user's computer). connection).
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions, and operations of the system, method, and computer program product according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions. It should also be noted that, in some alternative implementations, the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的模块或单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块或单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一确定模块还可以被描述为“在输入区域内确定待处理信息的模块”。The modules or units involved in the embodiments described in the present disclosure can be implemented in software or hardware. Wherein, the name of the module or unit does not constitute a limitation on the unit itself under certain circumstances. For example, the first determining module can also be described as "a module that determines the information to be processed in the input area".
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件 来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that can be used include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logical device (CPLD) and so on.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium, which may contain or store a program for use by the instruction execution system, apparatus, or device or in combination with the instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
上述从实体装置的角度介绍本公开的电子设备,下面从可读介质的角度介绍本公开的计算机可读介质。The above describes the electronic device of the present disclosure from the perspective of a physical device, and the following describes the computer-readable medium of the present disclosure from the perspective of a readable medium.
本公开实施例提供了一种计算机可读介质,该计算机可读介质上存储有计算机程序,当其在计算机上运行时,使得计算机可以执行前述方法实施例中相应内容。The embodiments of the present disclosure provide a computer-readable medium with a computer program stored on the computer-readable medium, and when it runs on a computer, the computer can execute the corresponding content in the foregoing method embodiment.
根据本公开的一个或多个实施例,提供了一种信息处理方法,包括:According to one or more embodiments of the present disclosure, there is provided an information processing method, including:
确定待处理信息;Determine the information to be processed;
基于针对所述待处理信息的拖动操作,对所述待处理信息执行操作。Based on the drag operation for the to-be-processed information, an operation is performed on the to-be-processed information.
根据本公开的一个或多个实施例,提供了一种信息处理装置,包括:According to one or more embodiments of the present disclosure, there is provided an information processing device including:
确定模块,用于确定待处理信息;The determination module is used to determine the information to be processed;
处理模块,用于基于针对所述待处理信息的拖动操作,对所述待处理信息执行相应的操作。The processing module is configured to perform corresponding operations on the to-be-processed information based on the drag operation for the to-be-processed information.
根据本公开的一个或多个实施例,提供了一种基于输入法的信息处理方法,包括:According to one or more embodiments of the present disclosure, there is provided an information processing method based on an input method, including:
在输入区域内确定待处理信息;Confirm the information to be processed in the input area;
基于针对待处理信息的拖动操作,确定待处理信息的处理方式;Determine the processing method of the information to be processed based on the drag operation for the information to be processed;
基于确定出的处理方式,对待处理信息执行相应的操作。Based on the determined processing method, perform corresponding operations on the information to be processed.
根据本公开的一个或多个实施例,基于针对待处理信息的拖动操作,确定待处理信息的处理方式,包括以下任一项:According to one or more embodiments of the present disclosure, based on the drag operation for the to-be-processed information, determining the processing mode of the to-be-processed information includes any one of the following:
确定拖动操作的拖动终止区域,并基于拖动终止区域确定待处理信息的处理方式;Determine the drag termination area of the drag operation, and determine the processing method of the information to be processed based on the drag termination area;
确定拖动操作的拖动轨迹信息,并基于拖动轨迹信息确定待处理信息的处理方式。Determine the drag trajectory information of the drag operation, and determine the processing mode of the information to be processed based on the drag trajectory information.
根据本公开的一个或多个实施例,确定拖动操作的拖动终止区域,基于拖动终止区域确定待处理信息的处理方式,包括:According to one or more embodiments of the present disclosure, determining the drag termination area of a drag operation, and determining the processing method of the information to be processed based on the drag termination area includes:
确定拖动操作的拖动终止区域为第一预设区域;Determining that the drag termination area of the drag operation is the first preset area;
显示第一预设区域对应的至少一种处理方式;Displaying at least one processing method corresponding to the first preset area;
当检测到针对任一处理方式的触发操作,确定待处理信息的处理方式为触发操作对应的处理方式。When a trigger operation for any processing method is detected, it is determined that the processing method of the information to be processed is the processing method corresponding to the trigger operation.
根据本公开的一个或多个实施例,基于拖动终止区域确定待处理信息的处理方式,包括:According to one or more embodiments of the present disclosure, determining the processing method of the information to be processed based on the drag termination area includes:
基于区域与处理方式之间的对应关系以及拖动终止区域,确定待处理信息的处理方式。Based on the corresponding relationship between the area and the processing method and the drag termination area, the processing method of the information to be processed is determined.
根据本公开的一个或多个实施例,确定拖动操作的拖动终止区域,基于拖动终止区域确定待处理信息的处理方式,包括:According to one or more embodiments of the present disclosure, determining the drag termination area of a drag operation, and determining the processing method of the information to be processed based on the drag termination area includes:
当检测到针对待处理信息的拖动中止操作时,确定拖动中止区域;When the drag suspension operation for the information to be processed is detected, the drag suspension area is determined;
当拖动中止区域为第二预设区域,确定并显示第二预设区域对应的每种处理方式的第一触发区域;When the drag suspension area is the second preset area, determine and display the first trigger area of each processing method corresponding to the second preset area;
当检测到继续拖动待处理信息至任一处理方式的第一触发区域且终止拖动操作,确定第一触发区域为拖动终止区域;When it is detected that the information to be processed continues to be dragged to the first trigger area of any processing method and the drag operation is terminated, it is determined that the first trigger area is the drag termination area;
确定待处理信息的处理方式为第一触发区域对应的处理方式。It is determined that the processing method of the information to be processed is the processing method corresponding to the first trigger area.
根据本公开的一个或多个实施例,确定拖动操作的拖动终止区域,之前还包括:According to one or more embodiments of the present disclosure, determining the drag termination area of the drag operation previously further includes:
识别待处理信息,得到待处理信息的识别结果;Identify the information to be processed and obtain the identification result of the information to be processed;
基于识别结果,显示至少一种处理方式中每个处理方式的第二触发区 域;Based on the recognition result, display the second trigger area of each of the at least one processing method;
其中,确定拖动操作的拖动终止区域,包括:Among them, determine the drag termination area of the drag operation, including:
当检测到拖动待处理信息至任一处理方式的第二触发区域且终止拖动操作,确定第二触发区域为拖动终止区域。When it is detected that the information to be processed is dragged to the second trigger area of any processing method and the drag operation is terminated, it is determined that the second trigger area is the drag termination area.
根据本公开的一个或多个实施例,基于拖动终止区域确定待处理信息的处理方式,包括任一项:According to one or more embodiments of the present disclosure, determining the processing method of the information to be processed based on the drag termination area includes any one of:
若拖动终止区域为表情区域,则确定待处理信息的处理方式包括:文本转表情的处理方式以及将信息添加至表情面板的处理方式中的至少一项;If the drag termination area is an expression area, determining the processing method of the information to be processed includes at least one of: a processing method of converting text to an expression and a processing method of adding information to the expression panel;
若拖动终止区域为短语区域,则确定待处理信息的处理方式包括:将信息添加至快捷短语面板的处理方式;If the drag termination area is a phrase area, the processing method for determining the information to be processed includes: adding information to the processing method of the shortcut phrase panel;
若拖动终止区域为编辑区域,则确定待处理信息的处理方式包括:分词以及文本格式调整中的至少一项;If the drag termination area is an editing area, the processing method for determining the information to be processed includes at least one of word segmentation and text format adjustment;
若拖动终止区域为文本转语音区域,则确定待处理信息的处理方式包括:文本转语音处理;If the drag termination area is a text-to-speech area, the processing method for determining the information to be processed includes: text-to-speech processing;
若拖动终止区域为翻译区域,则确定待处理信息的处理方式包括:语言转换处理。If the drag termination area is a translation area, the processing method for determining the information to be processed includes: language conversion processing.
根据本公开的一个或多个实施例,基于确定出的处理方式,对待处理信息执行相应的操作,之前还包括:According to one or more embodiments of the present disclosure, based on the determined processing mode, performing corresponding operations on the information to be processed includes:
显示确定出的处理方式对应的处理信息;Display the processing information corresponding to the determined processing method;
其中,基于确定出的处理方式,对待处理信息执行相应的操作,包括:Among them, based on the determined processing method, perform corresponding operations on the information to be processed, including:
当检测到针对处理信息的确认操作时,基于确定出的处理方式对待处理信息执行相应的操作。When a confirmation operation for processing information is detected, corresponding operations are performed 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 device based on an input method, including: a first determining module, configured to determine information to be processed in an input area;
第二确定模块,用于基于针对待处理信息的拖动操作,确定待处理信息的处理方式;The second determining module is configured to determine the processing mode of the information to be processed based on the drag operation for the information to be processed;
执行模块,用于基于确定出的处理方式,对待处理信息执行相应的操作。The execution module is used to execute corresponding operations 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,
第一确定单元,用于确定拖动操作的拖动终止区域,并基于拖动终止区域确定待处理信息的处理方式;The first determining unit is configured to determine the drag termination area of the drag operation, and determine the processing mode of the information to be processed based on the drag termination area;
第二确定单元,用于确定拖动操作的拖动轨迹信息,并基于拖动轨迹信息确定待处理信息的处理方式。The second determining unit is used to determine the drag trajectory information of the drag operation, and determine the processing mode of the information to be processed based on the drag trajectory 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:
第一确定子单元,用于确定拖动操作的拖动终止区域为第一预设区域;The first determining subunit is used to determine that the drag termination area of the drag operation is the first preset area;
显示子单元,用于显示第一预设区域对应的至少一种处理方式;A display subunit for displaying at least one processing method corresponding to the first preset area;
第二确定子单元,用于当检测到针对任一处理方式的触发操作,确定待处理信息的处理方式为触发操作对应的处理方式。The second determining subunit is configured to determine that the processing method of the information to be processed is the processing method corresponding to the trigger operation when a trigger operation for any processing method is detected.
根据本公开的一个或多个实施例,第一确定单元包括第三确定子单元,其中,According to one or more embodiments of the present disclosure, the first determining unit includes a third determining subunit, wherein
第三确定子单元,用于基于区域与处理方式之间的对应关系以及拖动终止区域,确定待处理信息的处理方式。The third determining subunit is used to determine the processing method of the information to be processed based on the correspondence between the area and the processing method and the drag termination area.
根据本公开的一个或多个实施例,第一确定单元包括第四确定子单元、第五确定子单元、第六确定子单元以及第七确定子单元,其中,According to one or more embodiments 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,
第四确定子单元,用于当检测到针对待处理信息的拖动中止操作时,确定拖动中止区域;The fourth determining subunit is used to determine the drag suspension area when the drag suspension operation for the to-be-processed information is detected;
第五确定子单元,用于当拖动中止区域为第二预设区域,确定并显示第二预设区域对应的每种处理方式的第一触发区域;The fifth determining subunit is used to determine and display the first trigger area of each processing method corresponding to the second preset area when the drag suspension area is the second preset area;
第六确定子单元,用于当检测到继续拖动待处理信息至任一处理方式的第一触发区域且终止拖动操作,确定第一触发区域为拖动终止区域;The sixth determining subunit is used to determine that the first trigger area is the drag termination area when it is detected that the information to be processed is continued to be dragged to the first trigger area of any processing method and the drag operation is terminated;
第七确定子单元,用于确定待处理信息的处理方式为第一触发区域对应的处理方式。The seventh determining subunit is used to determine 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 information processing device based on the input method further includes an identification module and a first display module, wherein,
识别模块,用于识别待处理信息,得到待处理信息的识别结果;The identification module is used to identify the information to be processed and obtain the identification result of the information to be processed;
第一显示模块,用于基于识别结果,显示至少一种处理方式中每个处理方式的第二触发区域;The first display module is configured to display the second trigger area of each of the at least one processing method based on the recognition result;
第一确定单元包括第八确定子单元,其中,The first determining unit includes an eighth determining subunit, wherein:
第八确定子单元,用于当检测到拖动待处理信息至任一处理方式的第二触发区域且终止拖动操作,确定第二触发区域为拖动终止区域。The eighth determining subunit is configured to determine that the second trigger area is the drag termination area when it is detected that the information to be processed is dragged to the second trigger area of any processing method and the drag operation is terminated.
根据本公开的一个或多个实施例,第一确定单元具体用于:According to one or more embodiments of the present disclosure, the first determining unit is specifically configured to:
当拖动终止区域为表情区域,则确定待处理信息的处理方式包括:文本转表情的处理方式以及将信息添加至表情面板的处理方式中的至少一项;When the drag termination area is an expression area, the processing method for determining the information to be processed includes at least one of: a processing method of converting text to an expression and a processing method of adding information to the expression panel;
或者,当拖动终止区域为短语区域,则确定待处理信息的处理方式包括:将信息添加至快捷短语面板的处理方式;Or, when the drag termination area is a phrase area, determining the processing method of the information to be processed includes: adding information to the processing method of the shortcut phrase panel;
或者,当拖动终止区域为编辑区域,则确定待处理信息的处理方式包括:分词以及文本格式调整中的至少一项;Or, when the dragging termination area is an editing area, the processing method for determining 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, it is determined that the processing method of the information to be processed includes: text-to-speech processing;
或者,当拖动终止区域为翻译区域,则确定待处理信息的处理方式包括:语言转换处理。Or, when the drag termination area is a translation area, the processing method for determining the information to be processed includes: language conversion processing.
根据本公开的一个或多个实施例,基于输入法的信息处理装置还包括第二显示模块,其中,According to one or more embodiments of the present disclosure, the information processing device based on the input method further includes a second display module, wherein:
第二显示模块,用于显示确定出的处理方式对应的处理信息;The second display module is used to display processing information corresponding to the determined processing method;
执行模块,具体用于当检测到针对处理信息的确认操作时,基于确定出的处理方式对待处理信息执行相应的操作。The execution module is specifically configured to perform a corresponding operation on the information to be processed based on the determined processing mode when the confirmation operation for the processed information is detected.
根据本公开的一个或多个实施例,提供了一种信息处理方法,包括:According to one or more embodiments of the present disclosure, there is provided an information processing method, including:
基于用户的触发操作,确定待存储信息;Determine the information to be stored based on the user's trigger operation;
当检测到用户将待存储信息拖动至预设存储区域时,存储待存储信息。When it is detected that the user drags the information to be stored to the preset storage area, the information to be stored is stored.
根据本公开的一个或多个实施例,存储待存储信息,之后还包括:According to one or more embodiments of the present disclosure, storing the to-be-stored information further includes:
确定存储信息在预设存储区域内的显示位置,存储信息为待存储信息 存储后的信息;Determine the display position of the stored information in the preset storage area, and the stored information is the information after the information to be stored is stored;
在确定的显示位置处显示存储信息。The storage information is displayed at the determined display position.
根据本公开的一个或多个实施例,确定存储信息在预设存储区域内的显示位置,包括以下至少一项:According to one or more embodiments of the present disclosure, determining the display position of the stored information in the preset storage area includes at least one of the following:
当检测到用户将待存储信息拖动至预设存储区域时,确定待存储信息的拖动终止位置,并基于待存储信息的拖动终止位置确定存储信息在预设存储区域内的显示位置;When it is detected that the user drags the information to be stored to the preset storage area, determine the drag end position of the information to be stored, and determine the display position of the stored information in the preset storage area based on the drag end position of the information to be stored;
基于存储信息的存储时间确定存储信息在预设存储区域内的显示位置;Determine the display position of the stored information in the preset storage area based on the storage time of the stored information;
基于存储信息的信息类型,在预设存储区域内确定信息类型对应的显示区域,并确定存储信息在确定出的显示区域内的显示位置。Based on the information type of the stored information, the display area corresponding to the information type is determined in the preset storage area, and the display position of the stored information in the determined display area is determined.
根据本公开的一个或多个实施例,信息处理方法还包括:According to one or more embodiments of the present disclosure, the information processing method further includes:
当满足预设条件时,调整预设存储区域内显示的至少两个信息的显示位置;When the preset conditions are met, adjust the display positions of at least two pieces of information displayed in the preset storage area;
满足预设条件包括以下至少一项:Satisfying the preset conditions includes at least one of the following:
检测到达到预设时间;It is detected that the preset time is reached;
检测到用户触发的预设操作指令;The preset operation instruction triggered by the user is detected;
检测到用户针对预设存储区域内显示的任一信息的拖动操作。A user's drag operation on any information displayed in the preset storage area is detected.
根据本公开的一个或多个实施例,当检测到满足预设条件时,调整预设存储区域内显示的至少两个信息的显示位置,包括以下至少一项:According to one or more embodiments of the present disclosure, when it is detected that a preset condition is met, adjusting the display positions of at least two pieces of information displayed in the preset storage area includes at least one of the following:
当检测到达到预设时间或者检测到用户触发的预设操作指令,按照信息使用频率以及信息存储时间中的至少一项,调整预设存储区域内显示的至少两个信息的显示位置;When it is detected that the preset time is reached or the preset operation instruction triggered by the user is detected, adjust the display positions of at least two pieces of information displayed in the preset storage area according to at least one of information use frequency and information storage time;
当检测到用户针对预设存储区域内显示的任一信息的拖动操作时,基于拖动终止位置调整预设存储区域内显示的至少两个信息的显示位置。When a user's drag operation for any information displayed in the preset storage area is detected, the display positions of at least two pieces of information displayed in the preset storage area are adjusted based on the drag termination position.
根据本公开的一个或多个实施例,信息处理方法还包括:According to one or more embodiments of the present disclosure, the information processing method further includes:
当检测到用户将预设存储区域内显示的信息拖动至编辑区域时,将拖动的信息插入至编辑区域的对应位置。When it is detected that the user drags the information displayed in the preset storage area to the editing area, the dragged information is inserted into the corresponding position of the editing area.
根据本公开的一个或多个实施例,将拖动的信息插入至编辑区域的对 应位置,包括以下至少一项:According to one or more embodiments of the present disclosure, inserting the dragged information into the corresponding position of the editing area includes at least one of the following:
确定拖动的信息在编辑区域的拖动终止位置,根据拖动终止位置,在编辑区域插入拖动的信息;Determine the drag end position of the drag information in the edit area, and insert the drag information in the edit area according to the end position of the drag;
将拖动的信息插入至编辑区域的光标位置。Insert the dragged information to the cursor position in the editing area.
根据本公开的一个或多个实施例,信息处理方法还包括:According to one or more embodiments of the present disclosure, the information processing method further includes:
当检测到用户触发以下至少一项操作,加载并显示预设存储区域:When it is detected that the user triggers at least one of the following operations, load and display the preset storage area:
针对待存储信息的拖动操作,且拖动终止位置属于第一预设区域;For the drag operation of the information to be stored, and the drag end position belongs to the first preset area;
针对第二预设区域的点击操作;Clicking on the second preset area;
滑动操作,且滑动操作的滑动轨迹信息与预设轨迹信息相匹配,或者滑动操作的起始位置属于第三预设区域,滑动方向为预设滑动方向;Sliding operation, and the sliding track information of the sliding operation matches the preset track information, or the starting position of the sliding operation belongs to the third preset area, and the sliding direction is the preset sliding direction;
针对待存储信息的选中操作。The selected operation for the information to be stored.
根据本公开的一个或多个实施例,基于用户的触发操作,确定待存储信息,包括以下至少一项:According to one or more embodiments of the present disclosure, determining the information to be stored based on a user's trigger operation includes at least one of the following:
基于用户在可编辑区域内的触发操作,确定待存储信息;Determine the information to be stored based on the user's trigger operation in the editable area;
基于用于在非编辑区域内的触发操作,确定待存储信息。Based on the trigger operation used in the non-editing area, the information to be stored is determined.
根据本公开的一个或多个实施例,当检测到用户将待存储信息拖动至预设存储区域时,存储待存储信息,包括以下任一项:According to one or more embodiments of the present disclosure, when it is detected that the user drags the information to be stored to the preset storage area, storing the information to be stored includes any one of the following:
当检测到用户将待存储信息由一个应用程序拖动至另一个应用程序中的预设存储区域时,存储待存储信息;When it is detected that the user drags the information to be stored from one application to a preset storage area in another application, store the information to be stored;
当检测到用户将待存储信息由第一功能区域拖动至位于第二功能区域内的预设存储区域时,存储待存储信息,第一功能区域与第二功能区域对应于同一个应用程序。When it is detected that the user drags the information to be stored from the first functional area to the preset storage area located in the second functional area, the information to be stored is stored. The first functional area and the second functional area correspond to the same application.
根据本公开的一个或多个实施例,当检测到用户将待存储信息拖动至预设存储区域时,存储待存储信息,包括:According to one or more embodiments of the present disclosure, when it is detected that the user drags the information to be stored to the preset storage area, storing the information to be stored includes:
当检测到用户将待存储信息由即时通信的对话框区域拖动至预设存储区域,存储待存储信息;When it is detected that the user drags the information to be stored from the dialog box area of the instant messaging to the preset storage area, the information to be stored is stored;
其中,即时通信的对话框区域与预设存储区域位于不同的应用程序,或者位于同一个应用程序的不同功能区域。Among them, the dialog box area and the preset storage area of the instant messaging are located in different applications, or located in different functional areas of the same application.
根据本公开的一个或多个实施例,若预设存储区域包括快捷短语区 域,且即时通信的对话框区域与预设存储区域位于不同的应用程序;According to one or more embodiments of the present disclosure, if the preset storage area includes a shortcut phrase area, and the dialog box area of the instant messaging and the preset storage area are located in different applications;
则当检测到用户将待存储信息由即时通信的对话框区域拖动至预设存储区域,存储待存储信息,包括:Then when it is detected that the user drags the information to be stored from the dialog box area of the instant messaging to the preset storage area, storing the information to be stored includes:
当检测到用户将待存储信息由即时通信的对话框区域拖动至快捷短语区域,存储待存储信息。When it is detected that the user drags the information to be stored from the dialog box area of the instant messaging to the shortcut phrase area, the information to be stored is stored.
根据本公开的一个或多个实施例,该方法还包括:According to one or more embodiments of the present disclosure, the method further includes:
当检测到用户将即时通信的对话框区域内的信息拖动至即时通信的信息输入区域,且当检测到用户针对信息输入区域内信息的发送操作,发送信息输入区域内的信息。When it is detected that the user drags the information in the dialog box area of the instant messaging to the information input area of the instant messaging, and when the user's sending operation for the information in the information input area is detected, the information in the information input area is sent.
根据本公开的一个或多个实施例,提供了一种信息处理装置,包括第三确定模块,用于基于用户的触发操作,确定待存储信息;According to one or more embodiments of the present disclosure, there is provided an information processing device, including a third determining module, configured to determine information to be stored based on a user's trigger operation;
存储模块,用于当检测到用户将待存储信息拖动至预设存储区域时,存储待存储信息。The storage module is used to store the information to be stored when it is detected that the user drags the information to be stored to the preset storage area.
根据本公开的一个或多个实施例,信息处理装置还包括第四确定模块和显示模块,其中,According to one or more embodiments of the present disclosure, the information processing device further includes a fourth determining module and a display module, wherein:
第四确定模块,用于确定存储信息在预设存储区域内的显示位置,存储信息为待存储信息存储后的信息;The fourth determining module is used to determine the display position of the stored information in the preset storage area, and the stored information is the information after storage of the to-be-stored information;
显示模块,用于在确定的显示位置处显示存储信息。The display module is used to display the storage information at the determined display position.
根据本公开的一个或多个实施例,第四确定模块包括第三确定单元、第四确定单元以及第五确定单元中的至少一项。According to one or more embodiments of the present disclosure, the fourth determining module includes at least one of a third determining unit, a fourth determining unit, and a fifth determining unit.
第三确定单元,用于当检测到用户将待存储信息拖动至预设存储区域时,确定待存储信息的拖动终止位置,并基于待存储信息的拖动终止位置确定存储信息在预设存储区域内的显示位置;The third determining unit is used to determine the drag end position of the information to be stored when it is detected that the user drags the information to be stored to the preset storage area, and determine that the stored information is in the preset based on the drag end position of the information to be stored The display position in the storage area;
第四确定单元,用于基于存储信息的存储时间确定存储信息在预设存储区域内的显示位置;The fourth determining unit is configured to determine the display position of the stored information in the preset storage area based on the storage time of the stored information;
第五确定单元,用于基于存储信息的信息类型,在预设存储区域内确定信息类型对应的显示区域,并确定存储信息在确定出的显示区域内的显示位置。The fifth determining unit is configured to determine the display area corresponding to the information type in the preset storage area based on the information type of the stored information, and determine the display position of the stored information in the determined display area.
根据本公开的一个或多个实施例,信息处理装置还包括调整模块。According to one or more embodiments of the present disclosure, the information processing device further includes an adjustment module.
调整模块,用于当满足预设条件时,调整预设存储区域内显示的至少两个信息的显示位置;The adjustment module is used to adjust the display positions of at least two pieces of information displayed in the preset storage area when the preset conditions are met;
满足预设条件包括以下至少一项:Satisfying the preset conditions includes at least one of the following:
检测到达到预设时间;It is detected that the preset time is reached;
检测到用户触发的预设操作指令;The preset operation instruction triggered by the user is detected;
检测到用户针对预设存储区域内显示的任一信息的拖动操作。A user's drag operation on any information displayed in the preset storage area is detected.
根据本公开的一个或多个实施例,调整模块包括第一调整单元以及第二调整单元中的至少一项。According to one or more embodiments of the present disclosure, the adjustment module includes at least one of a first adjustment unit and a second adjustment unit.
第一调整单元,用于当检测到达到预设时间或者检测到用户触发的预设操作指令,按照信息使用频率以及信息存储时间中的至少一项,调整预设存储区域内显示的至少两个信息的显示位置;The first adjustment unit is configured to adjust at least two items displayed in the preset storage area according to at least one of the frequency of information use and the information storage time when it is detected that the preset time is reached or the preset operation instruction triggered by the user is detected. The display position of the information;
第二调整单元,用于当检测到用户针对预设存储区域内显示的任一信息的拖动操作时,基于拖动终止位置调整预设存储区域内显示的至少两个信息的显示位置。The second adjustment unit is configured to adjust the display positions of at least two pieces of information displayed in the preset storage area based on the drag termination position when a drag operation of the user for any information displayed in the preset storage area is detected.
根据本公开的一个或多个实施例,信息处理装置还包括插入模块。According to one or more embodiments of the present disclosure, the information processing apparatus further includes a plug-in module.
插入模块,用于当检测到用户将预设存储区域内显示的信息拖动至编辑区域时,将拖动的信息插入至编辑区域的对应位置。The inserting module is used to insert the dragged information into the corresponding position of the editing area when it is detected that the user drags the information displayed in the preset storage area to the editing area.
根据本公开的一个或多个实施例,插入模块包括第一插入单元以及第二插入单元中至少一项。According to one or more embodiments of the present disclosure, the plug-in module includes at least one of a first plug-in unit and a second plug-in unit.
第一插入单元,用于确定拖动的信息在编辑区域的拖动终止位置,根据拖动终止位置,在编辑区域插入拖动的信息;The first insertion unit is used to determine the drag end position of the drag information in the edit area, and insert the drag information in the edit area according to the drag end position;
第二插入单元,用于将拖动的信息插入编辑区域的光标位置。The second inserting unit is used to insert the dragged information into the cursor position in the editing area.
根据本公开的一个或多个实施例,信息处理装置还包括加载显示模块。According to one or more embodiments of the present disclosure, the information processing device further includes a loading display module.
加载显示模块,用于当检测到用户触发以下至少一项操作,加载并显示预设存储区域:The loading display module is used to load and display the preset storage area when it is detected that the user triggers at least one of the following operations:
针对待存储信息的拖动操作,且拖动终止位置属于第一预设区域;For the drag operation of the information to be stored, and the drag end position belongs to the first preset area;
针对第二预设区域的点击操作;Clicking on the second preset area;
滑动操作,且滑动操作的滑动轨迹信息与预设轨迹信息相匹配,或者 滑动操作的起始位置属于第三预设区域,滑动方向为预设滑动方向;Sliding operation, and the sliding track information of the sliding operation matches the preset track information, or the starting position of the sliding operation belongs to the third preset area, and the sliding direction is the preset sliding direction;
针对待存储信息的选中操作。The selected operation for the information to be stored.
根据本公开的一个或多个实施例,第三确定模块,具体用于基于用户在可编辑区域内的触发操作,确定待存储信息,以及基于用于在非编辑区域内的触发操作,确定待存储信息中的至少一项。According to one or more embodiments of the present disclosure, the third determining module is specifically configured to determine the information to be stored based on the user's trigger operation in the editable area, and to determine the information to be stored based on the trigger operation in the non-editable area. Store at least one item of information.
根据本公开的一个或多个实施例,存储模块具体可以包括第一存储单元以及第二存储单元中的任一项,其中,According to one or more embodiments of the present disclosure, the storage module may specifically include any one of a first storage unit and a second storage unit, wherein:
第一存储单元,用于当检测到用户将待存储信息由一个应用程序拖动至另一个应用程序中的预设存储区域时,存储待存储信息;The first storage unit is configured to store the information to be stored when it is detected that the user drags the information to be stored from one application to a preset storage area in another application;
第二存储单元,用于当检测到用户将待存储信息由第一功能区域拖动至位于第二功能区域内的预设存储区域时,存储待存储信息,第一功能区域与第二功能区域对应于同一个应用程序。The second storage unit is used to store the information to be stored when it is detected that the user drags the information to be stored from the first functional area to the preset storage area located in the second functional area, the first functional area and the second functional area Corresponds to the same application.
根据本公开的一个或多个实施例,存储模块,具体用于当检测到用户将待存储信息由即时通信的对话框区域拖动至预设存储区域,存储待存储信息;According to one or more embodiments of the present disclosure, the storage module is specifically configured to store the information to be stored when it is detected that the user drags the information to be stored from the dialog box area of the instant messaging to the preset storage area;
其中,即时通信的对话框区域与预设存储区域位于不同的应用程序,或者位于同一个应用程序的不同功能区域。Among them, the dialog box area and the preset storage area of the instant messaging are located in different applications, or located in different functional areas of the same application.
根据本公开的一个或多个实施例,当预设存储区域包括快捷短语区域,且即时通信的对话框区域与预设存储区域位于不同的应用程序,则存储模块在当检测到用户将待存储信息由即时通信的对话框区域拖动至预设存储区域,存储待存储信息时,具体用于当检测到用户将待存储信息由即时通信的对话框区域拖动至快捷短语区域,存储待存储信息。According to one or more embodiments of the present disclosure, when the preset storage area includes a shortcut phrase area, and the dialog box area of instant messaging and the preset storage area are located in different applications, the storage module detects that the user will be stored Information is dragged from the dialog box area of instant messaging to the preset storage area to store the information to be stored, specifically used when it is detected that the user drags the information to be stored from the dialog box area of instant messaging to the shortcut phrase area to store the information to be stored information.
根据本公开的一个或多个实施例,该装置还包括发送模块。According to one or more embodiments of the present disclosure, the device further includes a sending module.
发送模块,用于当检测到用户将即时通信的对话框区域内的信息拖动至即时通信的信息输入区域,且当检测到用户针对信息输入区域内信息的发送操作,发送信息输入区域内的信息。The sending module is used for when it is detected that the user drags the information in the dialog box area of the instant messaging to the information input area of the instant messaging, and when the user’s sending operation for the information in the information input area is detected, send the information in the information input area information.
根据本公开的一个或多个实施例,提供了一种电子设备,其包括:一个或多个处理器;存储器;一个或多个应用程序,其中一个或多个应用程序被存储在存储器中并被配置为由一个或多个处理器执行,一个或多个程 序被配置为执行根据本公开实施例的方法对应的操作。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 one or more application programs are stored in the memory and It is configured to be executed by one or more processors, and one or more programs are configured to perform operations corresponding to the method according to the embodiments of the present disclosure.
根据本公开的一个或多个实施例,提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现根据本公开实施例的方法。According to one or more embodiments of the present disclosure, there is provided a computer-readable medium having a computer program stored thereon, and when the program is executed by a processor, the method according to the embodiment of the present disclosure is implemented.
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of disclosure involved in this disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover the above technical features or technical solutions without departing from the above disclosed concept. Other technical solutions formed by arbitrarily combining the equivalent features. For example, the above-mentioned features and the technical features disclosed in the present disclosure (but not limited to) having similar functions are replaced with each other to form a technical solution.
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。In addition, although the operations are depicted in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or performed in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present 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 described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable subcombination.
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to structural features and/or logical actions of the method, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely exemplary forms of implementing the claims.

Claims (27)

  1. 一种信息处理方法,包括:An information processing method, including:
    确定待处理信息;Determine the information to be processed;
    基于针对所述待处理信息的拖动操作,对所述待处理信息执行操作。Based on the drag operation for the to-be-processed information, an operation is performed on the to-be-processed information.
  2. 根据权利要求1所述的方法,其中,确定待处理信息包括:The method according to claim 1, wherein determining the information to be processed comprises:
    在输入区域内确定待处理信息;Confirm the information to be processed in the input area;
    其中,基于针对所述待处理信息的拖动操作,对所述待处理信息执行相应的操作包括:Wherein, based on the drag operation for the to-be-processed information, performing a corresponding operation on the to-be-processed information includes:
    基于针对所述待处理信息的拖动操作,确定所述待处理信息的处理方式;Determine the processing mode of the information to be processed based on the drag operation for the information to be processed;
    基于确定出的处理方式,对所述待处理信息执行相应的操作Based on the determined processing method, perform corresponding operations on the to-be-processed information
  3. 根据权利要求2所述的方法,其中,确定所述待处理信息的处理方式,包括以下任一项:The method according to claim 2, wherein determining the processing mode of the to-be-processed information includes any one of the following:
    确定所述拖动操作的拖动终止区域,并基于所述拖动终止区域确定所述待处理信息的处理方式;Determine the drag termination area of the drag operation, and determine the processing mode of the to-be-processed information based on the drag termination area;
    确定所述拖动操作的拖动轨迹信息,并基于所述拖动轨迹信息确定所述待处理信息的处理方式。Determine the drag trajectory information of the drag operation, and determine the processing mode of the to-be-processed information based on the drag trajectory information.
  4. 根据权利要求3所述的方法,其中,所述确定所述拖动操作的拖动终止区域,基于所述拖动终止区域确定所述待处理信息的处理方式,包括:The method according to claim 3, wherein the determining the drag termination area of the drag operation and determining the processing manner of the to-be-processed information based on the drag termination area comprises:
    确定所述拖动操作的拖动终止区域为第一预设区域;Determining that the drag termination area of the drag operation is the first preset area;
    显示所述第一预设区域对应的至少一种处理方式;Displaying at least one processing method corresponding to the first preset area;
    当检测到针对任一处理方式的触发操作,确定所述待处理信息的处理方式为所述触发操作对应的处理方式。When a trigger operation for any processing method is detected, it is determined that the processing method of the information to be processed is the processing method corresponding to the trigger operation.
  5. 根据权利要求3所述的方法,其中,所述基于所述拖动终止区域确定所述待处理信息的处理方式,包括:The method according to claim 3, wherein the determining the processing mode of the to-be-processed information based on the drag termination area comprises:
    基于区域与处理方式之间的对应关系以及所述拖动终止区域,确定所述待处理信息的处理方式。Based on the corresponding relationship between the area and the processing method and the drag termination area, the processing method of the to-be-processed information is determined.
  6. 根据权利要求3所述的方法,其中,所述确定所述拖动操作的拖动终止区域,基于所述拖动终止区域确定所述待处理信息的处理方式,包括:The method according to claim 3, wherein the determining the drag termination area of the drag operation and determining the processing manner of the to-be-processed information based on the drag termination area comprises:
    当检测到针对所述待处理信息的拖动中止操作时,确定拖动中止区域;When a drag suspension operation for the to-be-processed information is detected, determine the drag suspension area;
    当所述拖动中止区域为第二预设区域,确定并显示所述第二预设区域对应的每种处理方式的第一触发区域;When the drag suspension area is the second preset area, determine and display the first trigger area of each processing method corresponding to the second preset area;
    当检测到继续拖动所述待处理信息至任一处理方式的第一触发区域且终止所述拖动操作,确定所述第一触发区域为所述拖动终止区域;When it is detected that dragging the to-be-processed information to the first trigger area of any processing method is continued and the drag operation is terminated, determining that the first trigger area is the drag termination area;
    确定所述待处理信息的处理方式为所述第一触发区域对应的处理方式。It is determined that the processing method of the to-be-processed information is the processing method corresponding to the first trigger area.
  7. 根据权利要求3所述的方法,其中,所述确定所述拖动操作的拖动终止区域,之前还包括:The method according to claim 3, wherein said determining the drag termination area of the drag operation before further comprises:
    识别所述待处理信息,得到所述待处理信息的识别结果;Identifying the information to be processed, and obtaining an identification result of the information to be processed;
    基于所述识别结果,显示至少一种处理方式中每个处理方式的第二触发区域;Based on the recognition result, display the second trigger area of each of the at least one processing method;
    其中,所述确定所述拖动操作的拖动终止区域,包括:Wherein, the determining the drag termination area of the drag operation includes:
    当检测到拖动所述待处理信息至任一处理方式的第二触发区域且终止所述拖动操作,确定所述第二触发区域为所述拖动终止区域。When it is detected that the information to be processed is dragged to the second trigger area of any processing method and the drag operation is terminated, it is determined that the second trigger area is the drag termination area.
  8. 根据权利要3、5-7任一项所述的方法,其中,基于所述拖动终止区域确定所述待处理信息的处理方式,包括任一项:7. The method according to any one of claims 3 and 5-7, wherein determining the processing mode of the to-be-processed information based on the drag termination area includes any one of:
    若所述拖动终止区域为表情区域,则确定待处理信息的处理方式包括:文本转表情的处理方式以及将信息添加至表情面板的处理方式中的至少一项;If the drag termination area is an expression area, determining the processing method of the information to be processed includes: at least one of a processing method of converting text to an expression and a processing method of adding information to an expression panel;
    若所述拖动终止区域为短语区域,则确定待处理信息的处理方式包括:将信息添加至快捷短语面板的处理方式;If the drag termination area is a phrase area, determining the processing method of the information to be processed includes: adding the information to the processing method of the shortcut phrase panel;
    若所述拖动终止区域为编辑区域,则确定待处理信息的处理方式包括:分词以及文本格式调整中的至少一项;If the drag termination area is an editing area, the processing method for determining the to-be-processed information includes at least one of word segmentation and text format adjustment;
    若所述拖动终止区域为文本转语音区域,则确定待处理信息的处理方式包括:文本转语音处理;If the drag termination area is a text-to-speech area, determining the processing method of the information to be processed includes: text-to-speech processing;
    若所述拖动终止区域为翻译区域,则确定待处理信息的处理方式包括:语言转换处理。If the drag termination area is a translation area, the processing method for determining the to-be-processed information includes: language conversion processing.
  9. 根据权利要求2所述的方法,其中,所述基于确定出的处理方式,对所述待处理信息执行相应的操作,之前还包括:3. The method according to claim 2, wherein the step of performing a corresponding operation on the to-be-processed information based on the determined processing method further comprises:
    显示确定出的处理方式对应的处理信息;Display the processing information corresponding to the determined processing method;
    其中,所述基于确定出的处理方式,对所述待处理信息执行相应的操作,包括:Wherein, the performing a corresponding operation on the to-be-processed information based on the determined processing mode includes:
    当检测到针对所述处理信息的确认操作时,基于确定出的处理方式对所述待处理信息执行相应的操作。When a confirmation operation for the processed information is detected, a corresponding operation is performed on the to-be-processed information based on the determined processing mode.
  10. 根据权利要求1所述的方法,其中,所述待处理信息为待存储信息,The method according to claim 1, wherein the information to be processed is information to be stored,
    其中,所述确定待处理信息包括:Wherein, the determining to-be-processed information includes:
    基于用户的触发操作,确定待存储信息;Determine the information to be stored based on the user's trigger operation;
    其中,基于针对所述待处理信息的拖动操作,对所述待处理信息执行相应的操作包括:当检测到用户将所述待存储信息拖动至预设存储区域时,存储所述待存储信息。Wherein, based on the drag operation for the to-be-processed information, performing a corresponding operation on the to-be-processed information includes: when it is detected that the user has dragged the to-be-stored information to a preset storage area, storing the to-be-stored information information.
  11. 根据权利要求10所述的方法,其中,在存储所述待存储信息之 后还包括:The method according to claim 10, wherein, after storing the information to be stored, the method further comprises:
    确定存储信息在所述预设存储区域内的显示位置,所述存储信息为所述待存储信息存储后的信息;Determining a display position of stored information in the preset storage area, where the stored information is information after the information to be stored is stored;
    在确定的显示位置处显示所述存储信息。The storage information is displayed at the determined display position.
  12. 根据权利要求11所述的方法,其中,所述确定存储信息在所述预设存储区域内的显示位置,包括以下至少一项:The method according to claim 11, wherein the determining the display position of the stored information in the preset storage area includes at least one of the following:
    当检测到用户将所述待存储信息拖动至预设存储区域时,确定所述待存储信息的拖动终止位置,并基于所述待存储信息的拖动终止位置确定所述存储信息在所述预设存储区域内的显示位置;When it is detected that the user drags the information to be stored to the preset storage area, the drag end position of the information to be stored is determined, and based on the drag end position of the information to be stored, it is determined that the stored information is in the stored information. The display position in the preset storage area;
    基于所述存储信息的存储时间确定所述存储信息在所述预设存储区域内的显示位置;Determining the display position of the stored information in the preset storage area based on the storage time of the stored information;
    基于所述存储信息的信息类型,在所述预设存储区域内确定所述信息类型对应的显示区域,并确定所述存储信息在确定出的显示区域内的显示位置。Based on the information type of the stored information, the display area corresponding to the information type is determined in the preset storage area, and the display position of the stored information in the determined display area is determined.
  13. 根据权利要求11或12所述的方法,还包括:The method according to claim 11 or 12, further comprising:
    当满足预设条件时,调整所述预设存储区域内显示的至少两个信息的显示位置;When the preset condition is met, adjusting the display positions of at least two pieces of information displayed in the preset storage area;
    所述满足预设条件包括以下至少一项:The meeting the preset conditions includes at least one of the following:
    检测到达到预设时间;It is detected that the preset time is reached;
    检测到用户触发的预设操作指令;The preset operation instruction triggered by the user is detected;
    检测到用户针对所述预设存储区域内显示的任一信息的拖动操作。A user's drag operation on any information displayed in the preset storage area is detected.
  14. 根据权利要求13所述的方法,其中,所述当检测到满足预设条件时,调整所述预设存储区域内显示的至少两个信息的显示位置,包括以下至少一项:The method according to claim 13, wherein said adjusting the display positions of at least two pieces of information displayed in the preset storage area when it is detected that a preset condition is met includes at least one of the following:
    当检测到达到预设时间或者检测到用户触发的预设操作指令,按照信息使用频率以及信息存储时间中的至少一项,调整所述预设存储区域内显 示的至少两个信息的显示位置;When it is detected that the preset time is reached or the preset operation instruction triggered by the user is detected, adjust the display positions of at least two pieces of information displayed in the preset storage area according to at least one of information use frequency and information storage time;
    当检测到用户针对所述预设存储区域内显示的任一信息的拖动操作时,基于拖动终止位置调整所述预设存储区域内显示的至少两个信息的显示位置。When a user's drag operation for any information displayed in the preset storage area is detected, the display positions of at least two pieces of information displayed in the preset storage area are adjusted based on the drag termination position.
  15. 根据权利要求10所述的方法,还包括:The method according to claim 10, further comprising:
    当检测到用户将所述预设存储区域内显示的信息拖动至编辑区域时,将拖动的信息插入至所述编辑区域的对应位置。When it is detected that the user drags the information displayed in the preset storage area to the editing area, insert the dragged information into the corresponding position of the editing area.
  16. 根据权利要求15所述的方法,其中,所述将拖动的信息插入至所述编辑区域的对应位置,包括以下至少一项:The method according to claim 15, wherein the inserting the dragged information into the corresponding position of the editing area includes at least one of the following:
    确定所述拖动的信息在所述编辑区域的拖动终止位置,根据拖动终止位置,在所述编辑区域插入所述拖动的信息;Determine the drag end position of the drag information in the edit area, and insert the drag information in the edit area according to the drag end position;
    将所述拖动的信息插入至所述编辑区域的光标位置。Insert the dragged information into the cursor position of the editing area.
  17. 根据权利要求10-12任一项所述的方法,还包括:The method according to any one of claims 10-12, further comprising:
    当检测到用户触发以下至少一项操作,加载并显示所述预设存储区域:When it is detected that the user triggers at least one of the following operations, load and display the preset storage area:
    针对所述待存储信息的拖动操作,且拖动终止位置属于第一预设区域;For the drag operation of the information to be stored, and the drag end position belongs to the first preset area;
    针对第二预设区域的点击操作;Clicking on the second preset area;
    滑动操作,且所述滑动操作的滑动轨迹信息与预设轨迹信息相匹配,或者所述滑动操作的起始位置属于第三预设区域,滑动方向为预设滑动方向;A sliding operation, and the sliding trajectory information of the sliding operation matches the preset trajectory information, or the starting position of the sliding operation belongs to the third preset area, and the sliding direction is the preset sliding direction;
    针对所述待存储信息的选中操作。The selection operation for the information to be stored.
  18. 根据权利要求10所述的方法,其中,所述基于用户的触发操作,确定待存储信息,包括以下至少一项:The method according to claim 10, wherein the determining the information to be stored based on a user's trigger operation includes at least one of the following:
    基于用户在可编辑区域内的触发操作,确定所述待存储信息;Determine the information to be stored based on the user's trigger operation in the editable area;
    基于用于在非编辑区域内的触发操作,确定所述待存储信息。The information to be stored is determined based on the trigger operation used in the non-editing area.
  19. 根据权利要求10所述的方法,其中,所述当检测到用户将所述待存储信息拖动至预设存储区域时,存储所述待存储信息,包括以下任一项:The method according to claim 10, wherein the storing the information to be stored when it is detected that the user drags the information to be stored to the preset storage area includes any one of the following:
    当检测到用户将所述待存储信息由一个应用程序拖动至另一个应用程序中的预设存储区域时,存储所述待存储信息;When it is detected that the user drags the to-be-stored information from one application to a preset storage area in another application, storing the to-be-stored information;
    当检测到用户将所述待存储信息由第一功能区域拖动至位于第二功能区域内的预设存储区域时,存储所述待存储信息,所述第一功能区域与所述第二功能区域对应于同一个应用程序。When it is detected that the user drags the information to be stored from the first functional area to the preset storage area located in the second functional area, the information to be stored is stored, and the first functional area and the second function The regions correspond to the same application.
  20. 根据权利要求10所述的方法,其中,所述当检测到用户将所述待存储信息拖动至预设存储区域时,存储所述待存储信息,包括:The method according to claim 10, wherein said storing the information to be stored when it is detected that the user drags the information to be stored to a preset storage area comprises:
    当检测到用户将所述待存储信息由即时通信的对话框区域拖动至预设存储区域,存储所述待存储信息;When it is detected that the user drags the information to be stored from the dialog box area of the instant messaging to the preset storage area, store the information to be stored;
    其中,所述即时通信的对话框区域与所述预设存储区域位于不同的应用程序,或者位于同一个应用程序的不同功能区域。Wherein, the dialog box area of the instant messaging and the preset storage area are located in different application programs, or located in different functional areas of the same application program.
  21. 根据权利要求20所述的方法,其中,若所述预设存储区域包括快捷短语区域,且所述即时通信的对话框区域与所述预设存储区域位于不同的应用程序,22. The method of claim 20, wherein if the preset storage area includes a shortcut phrase area, and the dialog box area of the instant messaging and the preset storage area are located in different applications,
    则所述当检测到用户将所述待存储信息由即时通信的对话框区域拖动至预设存储区域,存储所述待存储信息,包括:Then, when it is detected that the user drags the information to be stored from the dialog box area of the instant messaging to the preset storage area, storing the information to be stored includes:
    当检测到用户将所述待存储信息由即时通信的对话框区域拖动至所述快捷短语区域,存储所述待存储信息。When it is detected that the user drags the information to be stored from the dialog box area of the instant messaging to the shortcut phrase area, the information to be stored is stored.
  22. 根据权利要求20所述的方法,还包括:The method of claim 20, further comprising:
    当检测到用户将即时通信的对话框区域内的信息拖动至即时通信的信息输入区域,且当检测到用户针对所述信息输入区域内的信息的发送操 作,发送所述信息输入区域内的信息。When it is detected that the user drags the information in the dialog box area of instant messaging to the information input area of instant messaging, and when the user’s sending operation for the information in the information input area is detected, the information in the information input area is sent information.
  23. 一种信息处理装置,包括:An information processing device includes:
    确定模块,用于确定待处理信息;The determination module is used to determine the information to be processed;
    处理模块,用于基于针对所述待处理信息的拖动操作,对所述待处理信息执行相应的操作。The processing module is configured to perform corresponding operations on the to-be-processed information based on the drag operation for the to-be-processed information.
  24. 根据权利要求23所述的信息处理装置,所述确定模块包括第一确定模块,所述第一确定模块用于在输入区域内确定待处理信息;The information processing device according to claim 23, wherein the determining module comprises a first determining module, and the first determining module is configured to determine the information to be processed in the input area;
    所述处理模块包括:The processing module includes:
    第二确定模块,用于基于针对所述待处理信息的拖动操作,确定所述待处理信息的处理方式;以及The second determining module is configured to determine the processing mode of the information to be processed based on the drag operation for the information to be processed; and
    执行模块,用于基于确定出的处理方式,对所述待处理信息执行相应的操作。The execution module is configured to execute corresponding operations on the to-be-processed information based on the determined processing mode.
  25. 根据权利要求23所述的信息处理装置,其中,所述待处理信息为待存储信息,The information processing device according to claim 23, wherein the information to be processed is information to be stored,
    所述确定模块包括:The determining module includes:
    第三确定模块,所述第三确定模块用于基于用户的触发操作,确定待存储信息;A third determining module, the third determining module is configured to determine the information to be stored based on a user's trigger operation;
    所述处理模块包括:The processing module includes:
    存储模块,用于当检测到用户将所述待存储信息拖动至预设存储区域时,存储所述待存储信息。The storage module is configured to store the information to be stored when it is detected that the user drags the information to be stored to the preset storage area.
  26. 一种电子设备,包括:An electronic device including:
    一个或多个处理器;One or more processors;
    存储器;Memory
    一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配 置为执行根据权利要求1-22中的任一项所述的方法。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, and the one or more programs are configured to execute according to the right The method of any one of 1-22 is required.
  27. 一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求1-22中的任一项所述的方法。A computer-readable medium with a computer program stored thereon, which, when executed by a processor, implements the method described in any one of claims 1-22.
PCT/CN2020/111785 2019-10-30 2020-08-27 Information processing method and apparatus, electronic device and medium WO2021082694A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201911046206.7 2019-10-30
CN201911046169.XA CN110806827A (en) 2019-10-30 2019-10-30 Information processing method, information processing apparatus, electronic device, and medium
CN201911046169.X 2019-10-30
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
WO2021082694A1 true WO2021082694A1 (en) 2021-05-06

Family

ID=75715749

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/111785 WO2021082694A1 (en) 2019-10-30 2020-08-27 Information processing method and apparatus, electronic device and medium

Country Status (1)

Country Link
WO (1) WO2021082694A1 (en)

Citations (11)

* Cited by examiner, † Cited by third party
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
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
US20140351725A1 (en) * 2013-05-27 2014-11-27 Samsung Electronics Co., Ltd Method and electronic device for operating object
CN106020622A (en) * 2016-07-12 2016-10-12 百度在线网络技术(北京)有限公司 Method and device for collecting emoticons
CN106126089A (en) * 2016-06-17 2016-11-16 腾讯科技(深圳)有限公司 A kind of method realizing in the terminal replicating and pasting and mobile terminal
CN107885443A (en) * 2017-09-22 2018-04-06 阿里巴巴集团控股有限公司 A kind of method and device of information processing
CN109462692A (en) * 2018-10-29 2019-03-12 努比亚技术有限公司 Split screen display available operating method, mobile terminal and computer readable storage medium
CN110147197A (en) * 2019-04-08 2019-08-20 努比亚技术有限公司 A kind of operation recognition methods, device and computer readable storage medium
CN110806834A (en) * 2019-10-30 2020-02-18 北京字节跳动网络技术有限公司 Information processing method and device based on input method, electronic equipment and medium
CN110806827A (en) * 2019-10-30 2020-02-18 北京字节跳动网络技术有限公司 Information processing method, information processing apparatus, electronic device, and medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
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
US20140351725A1 (en) * 2013-05-27 2014-11-27 Samsung Electronics Co., Ltd Method and electronic device for operating object
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
CN106126089A (en) * 2016-06-17 2016-11-16 腾讯科技(深圳)有限公司 A kind of method realizing in the terminal replicating and pasting and mobile terminal
CN106020622A (en) * 2016-07-12 2016-10-12 百度在线网络技术(北京)有限公司 Method and device for collecting emoticons
CN107885443A (en) * 2017-09-22 2018-04-06 阿里巴巴集团控股有限公司 A kind of method and device of information processing
CN109462692A (en) * 2018-10-29 2019-03-12 努比亚技术有限公司 Split screen display available operating method, mobile terminal and computer readable storage medium
CN110147197A (en) * 2019-04-08 2019-08-20 努比亚技术有限公司 A kind of operation recognition methods, device and computer readable storage medium
CN110806834A (en) * 2019-10-30 2020-02-18 北京字节跳动网络技术有限公司 Information processing method and device based on input method, electronic equipment and medium
CN110806827A (en) * 2019-10-30 2020-02-18 北京字节跳动网络技术有限公司 Information processing method, information processing apparatus, electronic device, and medium

Similar Documents

Publication Publication Date Title
WO2020238815A1 (en) Display control method and device, electronic device and storage medium
WO2021077883A1 (en) Method and apparatus for displaying online document, electronic device, and storage medium
US10863338B2 (en) Copy and paste between devices
WO2022002066A1 (en) Method and apparatus for browsing table in document, and electronic device and storage medium
WO2020200173A1 (en) Document input content processing method and apparatus, electronic device, and storage medium
JP2006338667A (en) User-machine communication method, device, interface processor and program
TW201621706A (en) Sharing content with permission control using near field communication
JP6434640B2 (en) Message display method, message display device, and message display device
US9270738B2 (en) Processor sharing between in-range devices
WO2015176352A1 (en) Android system-based method and device for information exchange between applications
US20160070455A1 (en) Toggle graphic object
WO2022218251A1 (en) Electronic document processing method and apparatus, terminal and storage medium
JP2020161135A (en) Method and system for displaying chat thread
US11809690B2 (en) Human-computer interaction method and apparatus, and electronic device
WO2020119409A1 (en) List positioning method and apparatus, and device and storage medium
WO2023185817A1 (en) Multi-device cooperation method and apparatus, and electronic device and medium
WO2019105391A1 (en) Connection method and device for wireless local area network and computer-readable storage medium
WO2019072213A1 (en) Wireless access point information processing method, device and computer readable storage medium
CN110806834A (en) Information processing method and device based on input method, electronic equipment and medium
US10942622B2 (en) Splitting and merging files via a motion input on a graphical user interface
US20190369827A1 (en) Remote data input framework
WO2023160578A1 (en) Information processing method and apparatus, and terminal and storage medium
WO2021082694A1 (en) Information processing method and apparatus, electronic device and medium
WO2022184012A1 (en) Document creation method and apparatus, and device and storage medium
CN110806827A (en) Information processing method, information processing apparatus, electronic device, and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20882674

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20882674

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 01.09.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20882674

Country of ref document: EP

Kind code of ref document: A1