Method, device and storage medium for enabling input mode

By receiving pre-defined operations and detecting interactive behaviors on smart devices, an interface that can simultaneously open different input modes is realized, solving the problem of cumbersome input mode switching in existing technologies and improving the user experience.

CN112860349BActive Publication Date: 2026-05-26BEIJING XIAOMI MOBILE SOFTWARE CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Filing Date
2021-03-10
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Switching between input modes on existing smart devices is cumbersome, resulting in a poor user experience and an inability to enable multiple input modes simultaneously.

Method used

By receiving a predetermined operation in the text input area, the interactive interface of the first input mode is displayed and the second input mode is simultaneously activated. User interaction behavior information is detected to determine the input mode and corresponding text information is generated.

Benefits of technology

It allows users to activate two input modes with a single operation, simplifying the input mode switching process and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112860349B_ABST
    Figure CN112860349B_ABST
Patent Text Reader

Abstract

This disclosure relates to a method, apparatus, and storage medium for activating an input mode. The method includes: receiving a predetermined operation applied to a text input area; displaying a first interactive interface corresponding to a first input mode and simultaneously activating a second input mode, wherein the first input mode and the second input mode are different input methods. In this way, two different input modes can be activated for the user with a single operation, allowing the user to choose input according to their needs, saving them the tedious operation of activating different input modes, and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of electronic information technology, and in particular to a method, apparatus and storage medium for activating an input mode. Background Technology

[0002] Currently, smart devices offer various input modes, such as input via a virtual keyboard on the device interface and input via voice recognition. On existing smart devices, to input text, the user needs to operate the device to activate the input mode. Furthermore, the activation procedure varies depending on the input mode, meaning a single user action can only activate one input mode. This results in very limited input options, and switching between different input modes is cumbersome, leading to a poor user experience. Summary of the Invention

[0003] To overcome the problems existing in related technologies, this disclosure provides a method, apparatus and storage medium for enabling an input mode.

[0004] According to a first aspect of the present disclosure, a method for enabling an input mode is provided, the method comprising:

[0005] Received a pre-defined operation to be performed on the text input area;

[0006] The first interactive interface corresponding to the first input mode is displayed and the second input mode is enabled at the same time, wherein the first input mode and the second input mode are different input methods.

[0007] Optionally, the first input mode is a text input method based on keyboard input, and the second input mode is a text input method based on speech recognition.

[0008] Optionally, after displaying the first interactive interface corresponding to the first input mode and simultaneously enabling the second input mode, the method further includes:

[0009] Detect user interaction behavior information;

[0010] Based on the detected interaction behavior information, an input mode is determined; the input mode includes: the first input mode and the second input mode;

[0011] Generate text information corresponding to the interactive behavior information in the input mode.

[0012] Optionally, determining the input pattern based on the detected interaction behavior information includes:

[0013] If the interactive behavior information includes touch information that touches the first interactive interface, the input mode is determined to be the first input mode.

[0014] If the interaction behavior information includes voice information, the input mode is determined to be the second input mode.

[0015] Optionally, if the detected interaction behavior information includes touch information of touching the first interactive interface, the method further includes:

[0016] Turn off the second input mode.

[0017] Optionally, when the interaction behavior information is detected to include voice information, determining the input mode as the second input mode includes:

[0018] If the interaction behavior information includes voice information but does not include touch information, the input mode is determined to be the second input mode.

[0019] Optionally, the method further includes:

[0020] Even when the input mode is the second input mode, the first interactive interface is still displayed.

[0021] Optionally, the method further includes:

[0022] When the input mode is the second input mode, if the touch information is detected, the input mode is switched from the second input mode to the first input mode.

[0023] According to a second aspect of the present disclosure, an input mode activation device is provided, the device comprising:

[0024] The receiving module is configured to receive a predetermined operation applied to the text input area;

[0025] The display module is configured to display the first interactive interface corresponding to the first input mode and simultaneously enable the second input mode, wherein the first input mode and the second input mode are different input methods.

[0026] Optionally, the first input mode is a text input method based on keyboard input, and the second input mode is a text input method based on speech recognition.

[0027] Optionally, the device further includes:

[0028] The detection module is configured to detect user interaction behavior information after the display module displays the first interactive interface corresponding to the first input mode and simultaneously enables the second input mode;

[0029] The determination module is configured to determine an input mode based on detected interaction behavior information; the input mode includes: a first input mode and a second input mode;

[0030] The generation module is configured to generate text information corresponding to the interactive behavior information in the input mode.

[0031] Optionally, the determining module includes:

[0032] The first determining submodule is configured to determine the input mode as the first input mode when the interaction behavior information includes touch information of touching the first interactive interface.

[0033] The second determining submodule is configured to determine the input mode as the second input mode when the interaction behavior information includes voice information.

[0034] Optionally, if the detected interaction behavior information includes touch information of touching the first interactive interface, the device further includes:

[0035] The first closing module is configured to close the second input mode.

[0036] Optionally, if the interaction behavior information includes voice information, the second determining submodule is configured to determine the input mode as the second input mode if the interaction behavior information includes voice information and does not include the touch information.

[0037] Optionally, the device further includes:

[0038] The display content retention module is configured to still display the first interactive interface when the input mode is the second input mode.

[0039] Optionally, the device further includes:

[0040] The second closing module is configured to switch the input mode from the second input mode to the first input mode if the touch information is detected when the input mode is the second input mode.

[0041] According to a third aspect of the present disclosure, an input mode activation device is provided, comprising:

[0042] processor;

[0043] Memory used to store processor-executable instructions;

[0044] The processor is configured as follows:

[0045] Received a pre-defined operation to be performed on the text input area;

[0046] The first interactive interface corresponding to the first input mode is displayed and the second input mode is enabled at the same time, wherein the first input mode and the second input mode are different input methods.

[0047] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided that stores computer program instructions thereon, which, when executed by a processor, implement the steps of the input mode activation method provided in the first aspect of the present disclosure.

[0048] The technical solution provided by the embodiments of this disclosure can include the following beneficial effects: upon receiving a predetermined operation applied to a text input area, a first interactive interface corresponding to a first input mode is displayed, and a second input mode is simultaneously activated. The first input mode and the second input mode are different input modes. Therefore, upon receiving a predetermined operation applied to the text area, both the first interactive interface corresponding to the first input mode is displayed, and the second input mode is activated, effectively providing the user with both input modes to choose from simultaneously. In this way, two different input modes can be activated for the user with a single operation, allowing the user to select input according to their needs, saving them the tedious operation of activating different input modes, and improving the user experience.

[0049] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0050] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0051] Figure 1 This is an exemplary interface diagram in a text input scenario in the prior art.

[0052] Figure 2 This is another exemplary interface diagram in the context of text input in the prior art.

[0053] Figure 3 This is a flowchart illustrating an input mode activation method according to an exemplary embodiment.

[0054] Figure 4This is a flowchart of an input mode activation method provided according to another embodiment of the present disclosure.

[0055] Figure 5 This is a block diagram illustrating an input mode activation device according to an exemplary embodiment.

[0056] Figure 6 This is a block diagram illustrating an apparatus according to an exemplary embodiment. Detailed Implementation

[0057] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0058] As described in the background section, the process of activating input mode on smart devices is currently cumbersome for users. Taking keyboard input mode and voice input mode as examples, on existing smart devices, clicking the text input area will bring up the keyboard, thus activating keyboard input mode. Simultaneously, to activate voice input mode, the user needs to further enable the voice input function based on the keyboard input mode's interface. The device interface after activating the keyboard can be as follows: Figure 1 As shown, through Figure 1 The interface shown allows users to manually input text using the keyboard, and also... Figure 1 The interface shown also provides an entry point for voice input. Users can activate the voice input function by clicking button B1 or long-pressing button B2. The interface after activating the voice input function is as follows: Figure 2 As shown, to use the voice input function, the keyboard needs to be activated, and then the voice input function needs to be activated from the keyboard interface. In other words, enabling voice input requires at least two steps of interaction from the user, which is a lengthy process and not very convenient for the user. Furthermore, as... Figure 2 As shown, the voice input interface is usually overlaid on the keyboard interface. During voice input, the user cannot know the content of the keyboard interface, nor can they interact with the keyboard interface.

[0059] To address the aforementioned problems, this disclosure provides a method, apparatus, and storage medium for enabling an input mode.

[0060] First, it should be noted that the input mode activation method disclosed herein can be applied to electronic devices that have at least two input modes (e.g., keyboard input mode and voice input mode), such as mobile phones, tablets, and other electronic devices. This disclosure does not limit the scope of the application.

[0061] Figure 3 This is a flowchart illustrating a method for enabling an input mode according to an exemplary embodiment. For example... Figure 3 As shown, the method provided in this disclosure may include S301 and S302.

[0062] In S301, a predetermined operation is received that is applied to the text input area.

[0063] The text input area is used to input text. Users can input text by operating on the text input area, which can be, for example, the area corresponding to the text input box.

[0064] Predefined actions are used to reflect user input needs and can be predefined by the user. Examples of predefined actions include single click, double click, long press, etc. When a user performs a predefined action on the device's text input area, the device receives the predefined action applied to the text input area.

[0065] In S302, the first interactive interface corresponding to the first input mode is displayed and the second input mode is enabled at the same time.

[0066] The first input mode and the second input mode represent different input methods. In the first input mode, the user needs to interact with the device through a first interactive interface to input text. For example, the first input mode can be a keyboard-based text input method. In the second input mode, the user can input text without interacting with the device through an interface. For example, the second input mode can be a speech recognition-based text input method.

[0067] If a predetermined operation is received that is applied to the text input area, the first interactive interface corresponding to the first input mode is displayed, and at the same time, the second input mode is activated.

[0068] For example, if the first input mode is a keyboard-based text input method, the first interactive interface can be displayed as a keyboard input interface, which can provide a series of basic keyboard input functions. This disclosure does not limit the specific presentation of the first interactive interface. For example, the interface layout of the first interactive interface can refer to... Figure 1 The virtual keyboard format in the game.

[0069] For example, if the second input mode is a text input method based on speech recognition, enabling the second input mode can enable the device's speech recognition function. For instance, if the device provides a voice assistant (a type of intelligent application) function, the second input mode can be implemented directly by invoking the device's voice assistant function.

[0070] In one possible embodiment, if a predetermined operation is received that is applied to the text input area, a keyboard input interface can be displayed (first input mode), and at the same time, the device's voice assistant function can be activated (second input mode).

[0071] Optionally, while enabling the second input mode, effects related to the second input mode can also be displayed on the screen to inform the user that the second input mode has been enabled. For example, while enabling the second input mode, dynamic effects representing the ongoing speech recognition can be displayed by snapping to the edge of the device screen (e.g., snapping to the bottom of the screen edge).

[0072] Through the above technical solution, upon receiving a predetermined operation applied to the text input area, a first interactive interface corresponding to the first input mode is displayed, and a second input mode is simultaneously activated. The first and second input modes are different input modes. Therefore, upon receiving a predetermined operation applied to the text area, both the first interactive interface corresponding to the first input mode is displayed, and the second input mode is activated, effectively providing the user with both input modes to choose from simultaneously. In this way, two different input modes can be activated for the user with a single operation, allowing the user to select input according to their needs, saving them the tedious operation of activating different input modes, and improving the user experience.

[0073] For the sake of simplicity, the following text will take the first input mode as a keyboard-based text input method and the second input mode as a speech recognition-based text input method as examples to explain the relevant steps of this disclosure in detail.

[0074] Figure 4 This is a flowchart of an input mode activation method provided according to another embodiment of this disclosure. For example... Figure 4 As shown, after S302, the method provided in this disclosure may further include the following steps.

[0075] In S401, user interaction behavior information is detected.

[0076] User interaction information can reflect user behavior (or actions). This interaction information may include touch information used to instruct the user to touch the first interactive interface and voice information used to represent the user's voice.

[0077] Touch information represents the user's operation of the keyboard to input text. Voice information represents the user's vocal input; therefore, voice information can carry the collected voice information of the user.

[0078] Detecting user interaction behavior information essentially means detecting whether the user interacted with keyboard input (first input mode) or voice input (second input mode). This allows us to further determine the user's desired input mode, facilitating subsequent responses to the user's interactions.

[0079] In S402, the input mode is determined based on the detected interaction behavior information. The input mode includes a first input mode and a second input mode.

[0080] The purpose of this step is to automatically select one of the first and second input modes as the input mode actually used by the user after displaying the first interactive interface corresponding to the first input mode to the user and simultaneously enabling the second input mode, based on the user's interactive behavior.

[0081] In S403, text information corresponding to the interactive behavior information in the input mode is generated.

[0082] This step, after determining the input mode, generates text information based on the user's interaction. For example, if the input mode is determined to be the first input mode, i.e., text input based on keyboard input, then this step generates text information based on the user's touch interaction with the keyboard. As another example, if the input mode is determined to be the second input mode, i.e., text input based on speech recognition, then this step generates text information based on the user's voice.

[0083] In one possible implementation, S402 may include the following steps:

[0084] If the detected interactive behavior information includes touch information of touching the first interactive interface, the input mode is determined to be the first input mode;

[0085] If interactive behavior information, including voice information, is detected, the input mode is determined to be the second input mode.

[0086] In one possible embodiment, if the input mode is determined to be a first input mode, S403 can generate text information corresponding to the touch information in the first input mode.

[0087] If touch information is detected, it indicates that the user has interacted with the first interactive interface, meaning the user has selected keyboard-based text input. In this case, the input mode can be determined as the first input mode. Furthermore, in the first input mode, text information corresponding to the touch information is generated based on the touch behavior contained within the touch information.

[0088] It should be noted that in keyboard input mode, the method of generating text based on the user's keyboard operation behavior is common knowledge in this field and will not be elaborated here.

[0089] In addition, when the detected interaction behavior information includes touch information of touching the first interactive interface, the method provided in this disclosure may further include the following steps:

[0090] Turn off the second input mode.

[0091] In other words, if user interaction with the first interface is detected, it indicates that the user's interaction is an active choice, clearly meaning the user currently only needs to use the keyboard for text input. Therefore, there is no need to provide voice input functionality, and the second input mode is disabled. If the user subsequently needs voice input, they can end the current interaction and restart the input process by triggering a new text input command.

[0092] In this embodiment, since the user's input method is more specific and has higher priority than the user's input method, the user's input method is more specific when using the keyboard and when the user makes a sound. Therefore, if it is determined that the user has interacted with the first interactive page, it means that the input method required by the user is clear. Therefore, there is no need to enable the second input mode for the user, and the second input mode can be directly turned off.

[0093] In one possible embodiment, if the input mode is determined to be the second input mode, S403 can generate text information corresponding to the voice information based on the sound information carried by the voice information in the second input mode.

[0094] If voice information is detected, it means the user has made a sound. At this point, the current input mode can be determined as the second input mode, and the user's voice can be recognized to generate text. In the second input mode, text information corresponding to the voice information can be generated based on the sound information carried by the voice information.

[0095] It should be noted that in voice input mode, the method of generating text based on the user's voice is common knowledge in this field and will not be elaborated here.

[0096] In one possible embodiment, when the detected interaction behavior information includes voice information, the step of determining the input mode as the second input mode may include:

[0097] If the detected interaction behavior information includes voice information but does not include touch information, the input mode is determined to be the second input mode.

[0098] In other words, if the system detects that the user is making a sound but the user is not interacting with the first interface, it will enter the second input mode.

[0099] In the scenario in which this disclosure is applied, since the user's input method is more specific when using the keyboard and when the user makes a sound, it can have a higher priority. Therefore, when the user makes a sound, if the user does not operate the first interactive interface, it means that the user does not need keyboard input, and only then will the input mode be determined as the second input mode.

[0100] In one possible embodiment, the method provided in this disclosure further includes the following steps:

[0101] Even when the input mode is set to the second input mode, the first interactive interface is still displayed.

[0102] As mentioned above, between user keyboard operation and user voice input, the direction of input method is not clear enough when the user speaks, and it is impossible to determine whether the user has decided to select voice input. Therefore, in the second input mode, the first interactive interface of the first input mode will still be displayed so that the user can select keyboard input when needed.

[0103] In this way, the first interactive interface of the first input mode will also be displayed simultaneously in the second input mode. In other words, the keyboard input interface will not be obscured in the voice input mode and will still be available. Users can switch back to the keyboard input mode at any time, which can improve the user's input experience.

[0104] Optionally, while still displaying the first interactive interface when the input mode is the second input mode, the method provided in this disclosure may further include the following steps:

[0105] If touch information is detected when the input mode is the second input mode, the second input mode is turned off.

[0106] In other words, if user interaction with the first interface is detected in the second input mode, the second input mode can be directly closed.

[0107] As mentioned above, between user keyboard operation and user voice input, user keyboard operation has a clear indication of the input method. Therefore, if user keyboard operation is detected (i.e., touch information used to instruct the user to interact with the first interactive interface is detected), it means that the user has actively selected manual input during the current input process. Therefore, the voice input function can be turned off.

[0108] In other words, in the solution provided in this disclosure, once touch information is detected, the input mode will be directly determined as the first input mode and the second input mode will be turned off. The input process will use keyboard input as the text input method.

[0109] Optionally, after the second input mode is turned off, the input mode will be switched to the first input mode. In order to ensure the accuracy of the text and avoid the historical text generated in the second input mode from affecting the text in the first input mode, the text information generated in the second input mode can be further deleted.

[0110] The above solution shortens the interaction path for voice input, allowing users to directly select voice input for text input without additional steps, thus improving efficiency. Furthermore, presenting both keyboard and voice input interfaces simultaneously allows users to choose the appropriate input method based on their needs, enhancing the user experience.

[0111] Figure 5 This is a block diagram illustrating an input mode activation device according to an exemplary embodiment. Figure 5 As shown, the device 500 includes:

[0112] The receiving module 501 is configured to receive a predetermined operation applied to the text input area;

[0113] The display module 502 is configured to display a first interactive interface corresponding to a first input mode and simultaneously enable a second input mode, wherein the first input mode and the second input mode are different input methods.

[0114] Optionally, the first input mode is a text input method based on keyboard input, and the second input mode is a text input method based on speech recognition.

[0115] Optionally, the device 500 further includes:

[0116] The detection module is configured to detect user interaction behavior information after the display module displays the first interactive interface corresponding to the first input mode and simultaneously enables the second input mode;

[0117] The determination module is configured to determine an input mode based on detected interaction behavior information; the input mode includes: a first input mode and a second input mode;

[0118] The generation module is configured to generate text information corresponding to the interactive behavior information in the input mode.

[0119] Optionally, the determining module includes:

[0120] The first determining submodule is configured to determine the input mode as the first input mode when the interaction behavior information includes touch information of touching the first interactive interface.

[0121] The second determining submodule is configured to determine the input mode as the second input mode when the interaction behavior information includes voice information.

[0122] Optionally, if the detected interaction behavior information includes touch information of touching the first interactive interface, the device 500 further includes:

[0123] The first closing module is configured to close the second input mode.

[0124] Optionally, if the interaction behavior information includes voice information, the second determining submodule is configured to determine the input mode as the second input mode if the interaction behavior information includes voice information and does not include the touch information.

[0125] Optionally, the device 500 further includes:

[0126] The display content retention module is configured to still display the first interactive interface when the input mode is the second input mode.

[0127] Optionally, the device 500 further includes:

[0128] The second closing module is configured to switch the input mode from the second input mode to the first input mode if the touch information is detected when the input mode is the second input mode.

[0129] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0130] This disclosure also provides an input mode activation device, comprising:

[0131] processor;

[0132] Memory used to store processor-executable instructions;

[0133] The processor is configured as follows:

[0134] Received a pre-defined operation to be performed on the text input area;

[0135] The first interactive interface corresponding to the first input mode is displayed and the second input mode is enabled at the same time, wherein the first input mode and the second input mode are different input methods.

[0136] This disclosure also provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the steps of the input mode enabling method provided in this disclosure.

[0137] Figure 6 This is a block diagram illustrating an apparatus 600 according to an exemplary embodiment. For example, apparatus 600 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0138] Reference Figure 6 The device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input / output (I / O) interface 612, a sensor component 614, and a communication component 616.

[0139] Processing component 602 typically controls the overall operation of device 600, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-described input mode activation method. Furthermore, processing component 602 may include one or more modules to facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.

[0140] Memory 604 is configured to store various types of data to support the operation of device 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, etc. Memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0141] The power supply component 606 provides power to the various components of the device 600. The power supply component 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 600.

[0142] Multimedia component 608 includes a screen that provides an output interface between the device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 608 includes a front-facing camera and / or a rear-facing camera. When the device 600 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0143] Audio component 610 is configured to output and / or input audio signals. For example, audio component 610 includes a microphone (MIC) configured to receive external audio signals when device 600 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 604 or transmitted via communication component 616. In some embodiments, audio component 610 also includes a speaker for outputting audio signals.

[0144] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0145] Sensor assembly 614 includes one or more sensors for providing status assessments of various aspects of device 600. For example, sensor assembly 614 may detect the on / off state of device 600, the relative positioning of components such as the display and keypad of device 600, changes in the position of device 600 or a component of device 600, the presence or absence of user contact with device 600, the orientation or acceleration / deceleration of device 600, and temperature changes of device 600. Sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 614 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0146] Communication component 616 is configured to facilitate wired or wireless communication between device 600 and other devices. Device 600 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 616 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0147] In an exemplary embodiment, the device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described input mode activation method.

[0148] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, which can be executed by a processor 620 of the device 600 to complete the above-described input mode activation method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0149] In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable device, the computer program having a code portion for performing the above-described input mode activation method when executed by the programmable device.

[0150] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of this disclosure. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0151] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A method for enabling an input mode, characterized in that, The method includes: Receiving a predetermined operation acting on the text input area; Displaying a first interaction interface corresponding to a first input mode and simultaneously enabling a second input mode, where the first input mode and the second input mode are different input methods; The first input mode is a text input method based on keyboard input, and the second input mode is a text input method based on speech recognition.

2. The method according to claim 1, wherein After displaying the first interaction interface corresponding to the first input mode and simultaneously enabling the second input mode, the method further includes: Detecting the interaction behavior information of the user; Determining an input mode according to the detected interaction behavior information; the input mode includes: the first input mode, the second input mode; Generating text information corresponding to the interaction behavior information in the input mode.

3. The method according to claim 2, wherein The determining the input mode according to the detected interaction behavior information includes: When it is detected that the interaction behavior information includes touch information of touching the first interaction interface, determining that the input mode is the first input mode; When it is detected that the interaction behavior information includes speech information, determining that the input mode is the second input mode.

4. The method according to claim 3, wherein When it is detected that the interaction behavior information includes touch information of touching the first interaction interface, the method further includes: Closing the second input mode.

5. The method according to claim 3, wherein When it is detected that the interaction behavior information includes speech information, the determining that the input mode is the second input mode includes: When it is detected that the interaction behavior information includes speech information and the interaction behavior information does not include the touch information, determining that the input mode is the second input mode.

6. The method according to any one of claims 3 to 5, characterized in that The method further includes: When the input mode is the second input mode, still displaying the first interaction interface.

7. The method according to claim 6, wherein The method further includes: When the input mode is the second input mode, if the touch information is detected, switching the input mode from the second input mode to the first input mode.

8. An opening device for an input mode, characterized in that, The device includes: A receiving module, configured to receive a predetermined operation acting on the text input area; A display module, configured to display a first interaction interface corresponding to a first input mode and simultaneously enable a second input mode, where the first input mode and the second input mode are different input methods; The first input mode is a text input method based on keyboard input, and the second input mode is a text input method based on speech recognition.

9. An opening device for an input mode, characterized in that, Includes: A processor; A memory for storing processor-executable instructions; Wherein, the processor is configured to: Receive a predetermined operation acting on the text input area; Display a first interaction interface corresponding to a first input mode and simultaneously enable a second input mode, where the first input mode and the second input mode are different input methods; The first input mode is a text input method based on keyboard input, and the second input mode is a text input method based on speech recognition.

10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the program instruction is executed by the processor, it implements the steps of the method according to any one of claims 1-7.