CN117854494A - Information input method and device, electronic equipment and vehicle - Google Patents

Information input method and device, electronic equipment and vehicle Download PDF

Info

Publication number
CN117854494A
CN117854494A CN202211206506.9A CN202211206506A CN117854494A CN 117854494 A CN117854494 A CN 117854494A CN 202211206506 A CN202211206506 A CN 202211206506A CN 117854494 A CN117854494 A CN 117854494A
Authority
CN
China
Prior art keywords
voice
input mode
input
soft keyboard
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211206506.9A
Other languages
Chinese (zh)
Inventor
陈灏
勾晓菲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Rockwell Technology Co Ltd
Original Assignee
Beijing Rockwell Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Rockwell Technology Co Ltd filed Critical Beijing Rockwell Technology Co Ltd
Priority to CN202211206506.9A priority Critical patent/CN117854494A/en
Publication of CN117854494A publication Critical patent/CN117854494A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application relates to an information input method, an information input device, electronic equipment and a vehicle, and relates to the technical field of information processing, wherein the method comprises the following steps: when a focus is acquired in the input box, displaying a soft keyboard and starting a voice input mode; in the voice input mode, if an instruction for clicking the soft keyboard is received, switching the voice input mode into the soft keyboard input mode; if receiving an instruction for selecting voice input in the soft keyboard input mode, switching the soft keyboard input mode back to the voice input mode; the voice input mode is a mode of inputting text by voice in an input box, and the soft keyboard input mode is a mode of inputting text by soft keyboard in the input box. By applying the technical scheme, in the process of inputting text in the input box, the voice input and the soft keyboard input can be combined, the mode switching can be timely and accurately input under different operation conditions of a user, and the use experience of the user can be improved.

Description

Information input method and device, electronic equipment and vehicle
Technical Field
The present disclosure relates to the field of information processing technologies, and in particular, to an information input method, an information input device, an electronic device, and a vehicle.
Background
The vehicle (HU) refers to the abbreviation of in-vehicle infotainment mounted in a car. The car machine can provide functions such as music playing and car navigation. While experiencing these functions, the user may enter keywords to search, such as entering song names to search for songs to play, or entering names of destinations to navigate routes, etc.
Currently, in a car system, the existing information (such as keywords) input mode is that a user manually opens a voice input function, and inputs through voice, or the user inputs text in an input box through a soft keyboard. However, these two input modes are independent of each other and cannot be used in combination, which affects the user experience.
Disclosure of Invention
In view of this, the present application provides an information input method, an apparatus, an electronic device, and a vehicle, and aims to solve the technical problem that the current information input method cannot combine the voice input and the soft keyboard input, which affects the user experience.
In a first aspect, the present application provides an information input method, including:
when a focus is acquired in the input box, displaying a soft keyboard and starting a voice input mode;
in the voice input mode, if an instruction of clicking the soft keyboard is received, switching the voice input mode into a soft keyboard input mode;
in the soft keyboard input mode, if an instruction for selecting voice input is received, switching the soft keyboard input mode back to the voice input mode;
the voice input mode is a mode of inputting text through voice in the input box, and the soft keyboard input mode is a mode of inputting text through soft keyboard in the input box.
In a second aspect, the present application provides an information input device, comprising:
the triggering module is configured to display a soft keyboard and start a voice input mode when a focus is acquired in the input box;
the switching module is configured to switch the voice input mode into a soft keyboard input mode if an instruction of clicking the soft keyboard is received in the voice input mode;
the switching module is further configured to switch the soft keyboard input mode back to the voice input mode if an instruction for selecting voice input is received in the soft keyboard input mode;
the voice input mode is a mode of inputting text through voice in the input box, and the soft keyboard input mode is a mode of inputting text through soft keyboard in the input box.
In a third aspect, the present application provides a computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the information input method according to the first aspect.
In a fourth aspect, the present application provides an electronic device, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, where the processor implements the information input method according to the first aspect when executing the computer program.
In a fifth aspect, the present application provides a vehicle comprising: the apparatus as claimed in the second aspect or the electronic device as claimed in the fourth aspect.
By means of the technical scheme, the information input method, the information input device, the electronic equipment and the vehicle are compared with the prior art, and the method and the device can integrate voice input and soft keyboard input and provide novel input experience. Specifically, when a focus is acquired in an input box, displaying a soft keyboard and starting a voice input mode; in the voice input mode, if an instruction for clicking the soft keyboard is received, switching the voice input mode into the soft keyboard input mode; in the soft keyboard input mode, if an instruction for selecting voice input is received, switching the soft keyboard input mode back to the voice input mode; the voice input mode is a mode of inputting text by voice in an input box, and the soft keyboard input mode is a mode of inputting text by soft keyboard in the input box. By applying the technical scheme, in the process of inputting text in the input box, the voice input and the soft keyboard input can be combined, the mode switching can be timely and accurately input under different operation conditions of a user, and the use experience of the user can be improved.
The foregoing description is only an overview of the technical solutions of the present application, and may be implemented according to the content of the specification in order to make the technical means of the present application more clearly understood, and in order to make the above-mentioned and other objects, features and advantages of the present application more clearly understood, the following detailed description of the present application will be given.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic flow chart of an information input method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of another information input method according to an embodiment of the present application;
FIG. 3 shows a schematic flow chart of an example provided by an embodiment of the present application;
fig. 4 shows a schematic structural diagram of an information input device according to an embodiment of the present application.
Detailed Description
In order that the above objects, features and advantages of the present application may be more clearly understood, a further description of the aspects of the present application will be provided below. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments may be combined with each other.
In order to solve the technical problem that the current information input mode cannot combine the voice input and the soft keyboard input, and influences the use experience of users. The present embodiment provides an information input method, and for the execution subject of the present embodiment, the information input device or apparatus may be specifically configured on a vehicle machine side or other client sides. As shown in fig. 1, the method includes:
and 101, displaying a soft keyboard and starting a voice input mode when a focus is acquired in an input box.
The input box (or text box, etc.) can be a text input control of an operating system (such as an Android operating system, etc.), and can support text input from a soft keyboard to be displayed on a screen.
When the input box is clicked by the user operation, a focus, namely, a focus of a cursor, is acquired in the input box. For example, when a user needs to enter a keyword in an input box, the input box may be clicked, and a cursor may be displayed in the input box (e.g., a blinking display to prompt the user for text input). In addition, the embodiment also opens the voice input mode, which can be a mode of inputting text by voice in the input box, without the need of manual operation of the user to open the voice input function.
In the prior art, in the car machine system, text can only be input in an input box through a soft keyboard, and after confirming text content in the input box, a user clicks and searches the text content. Text input through the voice recognition function is not input into the input box, and then the user confirms click search, but text content obtained through voice recognition is directly utilized to search related content. Compared with the prior art, the embodiment is equivalent to providing the input box capable of fusing soft keyboard input and voice input services together, wherein the input box can be used for inputting soft keyboard and voice, so that different requirements of users can be met, and the use experience of the users is enhanced.
With the present embodiment, in the voice input mode, the process of voice acquisition is performed first, and in practice, environmental sounds, such as sounds of the vehicle itself running in a scene where the vehicle is driving, environmental sounds of the surrounding environment in the vehicle, etc. are likely to be acquired. Therefore, in order to ensure that voice information sent by a user is accurately converted into corresponding text, voice screening can be performed in the voice acquisition process, such as voice screening according to the voice frequency range of human speaking, voice recognition is performed on voice information containing human voice, and text content obtained by voice recognition is displayed in an input box.
Step 102, in the voice input mode, if an instruction of clicking the soft keyboard is received, the voice input mode is switched to the soft keyboard input mode.
The soft keyboard input mode is a mode of inputting text by the soft keyboard in an input box. For example, in the voice input mode, if the user needs to use the soft keyboard for input, typing can be directly performed on the displayed soft keyboard, at this time, an instruction of clicking the soft keyboard by the user is received for the first time, the voice input mode is switched to the soft keyboard input mode, in the soft keyboard input mode, text input by the user using the soft keyboard is directly displayed in the input box, and at this time, if the user sends out voice, voice collection is not performed for recognition. On the user side, the user can select voice input or soft keyboard input in the input box according to the user's own needs without perception. On the device side, the voice input and the soft keyboard input can be combined for use, and the mode switching can be timely and accurately input under different operation conditions of a user.
In practical application, if text has been input in the input box in the voice input mode, when the user clicks the soft keyboard, the text input in the input box can be edited again, such as modifying text content, or new text content is added on the basis of original text, and when the user confirms that the text content in the input box is a keyword to be searched, the user can click a search button further, and further search for service content related to the text in the input box, such as related songs, related places, related contacts, and the like.
Step 103, in the soft keyboard input mode, if receiving the instruction for selecting the voice input, switching the soft keyboard input mode back to the voice input mode.
For example, in order to quickly switch from the soft keyboard input mode to the voice input mode in this embodiment, a microphone button may be provided on the user interface, and when the user clicks the microphone button, the soft keyboard input mode may be switched back to the voice input mode, where text input by the user voice may be displayed in an inserted manner at the current focus position in the input box.
Compared with the prior art, the embodiment can integrate the voice input and the soft keyboard input and provide a novel input experience. Specifically, when a focus is acquired in an input box, displaying a soft keyboard and starting a voice input mode; in the voice input mode, if an instruction for clicking the soft keyboard is received, switching the voice input mode into the soft keyboard input mode; in the soft keyboard input mode, if an instruction for selecting voice input is received, switching the soft keyboard input mode back to the voice input mode; the voice input mode is a mode of inputting text by voice in an input box, and the soft keyboard input mode is a mode of inputting text by soft keyboard in the input box. By applying the technical scheme of the embodiment, in the process of inputting text in an input box, voice input and soft keyboard input can be combined, and timely and accurate input mode switching can be realized under different operation conditions of a user, so that the use experience of the user can be improved.
Further, as a refinement and extension of the foregoing embodiment, in order to fully describe a specific implementation procedure of the method of the present embodiment, the present embodiment provides a specific method as shown in fig. 2, where the method includes:
step 201, initializing a voice processing module.
The voice processing module can be used for collecting voice in a voice input mode to perform voice recognition so as to obtain text content. The voice processing module may specifically include a voice acquisition module and a voice recognition module, such as a voice acquisition module of a vehicle-mounted system and an automatic voice recognition technology (Automatic Speech Recognition, ASR) module, where the voice acquisition module is a functional module that acquires sound through a Microphone (Mic) device and stores corresponding audio data. ASR is a technology capable of recognizing speech data into text.
In the prior art, if a user selects a voice input function, when the function is started, the initialization of the voice input service responsible for the function takes a long time, so that the user waits for a long time to experience the voice input service, and the user experience is poor. In order to solve the technical problem, the voice processing module is initialized in advance before the voice input mode is started, so that voice can be collected by the voice processing module to carry out voice recognition when the voice input mode is started, waiting time of a user is effectively reduced, and use experience of the user is improved.
For example, an application service of voice input is newly built in the vehicle system, and then a system signature is used for the system service to enable the system service to enter the vehicle system service (namely, the system service application has higher authority) and support startup self-starting. And accessing an ASR module and a voice acquisition module, and initializing the voice acquisition module and the ASR module in advance after the process of the voice input service is started. Thus, when the focus is acquired in the input box and the voice input mode is started, the initialized voice acquisition module and the initialized ASR module are timely used for voice acquisition and voice recognition.
By the mode, the technical problems that the voice processing module is time-consuming to initialize and is slower to initialize are solved. The voice input service can be activated quickly, the voice input can be supported with low delay, and even the 0-delay voice input service can be used.
Step 202, when the focus is acquired in the input box, displaying a soft keyboard and starting a voice input mode.
For example, taking an Android operating system as an example, the embodiment may provide a monavoiceedit text Interface, and a microphone button (through which a User can control on and off of a voice input mode), a clear button (through which a User can control clear text content in an input box), an input box, and the like may be provided on a User Interface (UI) Interface. And the interface is consistent with the native EditText control of the Android operating system, so that the access cost of the fusion input box is reduced. When the input box acquires a focus, a soft keyboard is popped up, meanwhile, a voice input service (built-in system service) is bound across processes through an android base mechanism, a voice input mode is started, a voice acquisition module is called for voice acquisition, an interface of an ASR module is called for voice recognition conversion, and recognized texts are displayed on a screen in real time in the input box.
In this embodiment, in order to ensure that voice information sent by a user is accurately converted into corresponding text, a voice acquisition module may be used to perform voice detection, so that audio information with voice characteristics may be acquired for audio recognition based on the voice characteristics of the voice. Specifically, a deep learning model can be obtained in advance through voice feature training of voice, then voice detection is carried out by using the deep learning model, the voice features of the collected voice information are input into the deep learning model for calculation, and if the collected voice information contains the voice according to the calculation result, voice recognition can be carried out on the collected voice information. If the voice acquisition module is called to detect the voice, the interface of the ASR module is called to perform conversion when the voice data of the person are received, and the recognized characters are displayed on the screen in real time.
In a scenario where a user drives an automobile, in order to further ensure that a collected voice is a user in an in-car environment or is a sound made by a designated user (such as a driver) in the in-car environment, the embodiment may take a face image of the in-car user through a camera (arranged in the automobile in advance), then identify a mouth shape of the user, determine whether the user is speaking according to a change of the mouth shape of the user, and if the user is speaking and the speaking start time is matched with the time of voice collection, determine that the user is a speaking user corresponding to the collected voice. Here, based on this discrimination result, it may be determined whether to perform voice recognition on the collected voice, specifically, there may be the following several optional ways:
alternatively, if a voice is collected, but the image captured by the camera does not identify that the time when the user in the vehicle is speaking or speaking is not matched with the time when the voice is collected, it is indicated that the collected voice is likely to be sent by the user outside the vehicle, and voice recognition may not be performed.
Alternatively, if a voice is collected, the user a in the vehicle is recognized to speak through the image shot by the camera, and the time of starting speaking is matched with the time of collecting the voice, which indicates that the collected voice is sent by the user a, if the system is set to be that the voice of the user in the vehicle needs to be recognized, the voice recognition can be performed on the audio data of the voice, and then the recognition result is displayed in the input box.
As still another alternative, if a voice is collected, an image photographed by a camera recognizes that the user B in the vehicle is speaking, and the start time of this speaking matches the time when the voice is collected, which means that the collected voice is emitted by the user B, and it is determined from the photographed image that the user B is seated in the rear seat and is not the driver's seat, and if the system is set so that only the voice emitted by the user of the driver's seat can be recognized, the voice data of the voice may not be recognized.
Through the above-mentioned several optional modes, can satisfy different actual demands, in the environment that actual is comparatively complicated, guarantee to carry out speech recognition accurately with the speech information that the user who has the speech input authority in the car sent, then the recognition result shows in the input frame, reduces the condition that appears erroneous judgement.
In order to help the user quickly understand the available voice input after clicking the input box, optionally, the embodiment opens the voice input mode and includes: guide information that can be voice-input in the input box is displayed. Such as a text prompt or an animated prompt that can be displayed for voice input.
The present embodiment may fuse the soft keyboard input and the voice input together in the input box, and illustratively, in the voice input mode, the recognition result of the collected voice is inserted and displayed from the focus position of the input box. For example, if the focus position is at the end of the existing text in the input box, the text recognized by the voice can be inserted at the end of the existing text for display; if the focus position is the start position in the input box, inserting the text recognized by voice into the start position for display, and if the text in the input box is already inserted before insertion, displaying the text after inserting the displayed voice text; if the focus position is in the middle of the existing text in the input box, such as between two words, the text recognized by the voice can be inserted into the middle of the existing text for display.
By the method, text input can be carried out on the input box by using the soft keyboard input and the voice input together, and more operation requirements of users are met.
In practical application, in the voice input mode, if an edit instruction (such as deleting a part of text, changing text content, removing all text, etc.) is received for the text in the input box, the voice input mode can be switched to the soft keyboard input mode, so that the user can edit the text in the input box better through the soft keyboard, and the editing efficiency and accuracy of the text in the input box can be improved.
After the voice input mode is turned on, the voice acquisition module and the voice recognition module continuously perform power-on operation, and if the user does not send out voice, or does not send out voice after sending out voice, or sends out voice again after a long time interval, the two modules continuously performing power-on operation consume a considerable amount of resources, so as an alternative way, after step 202, if no voice is detected within a first target duration (such as 4 seconds or 5 seconds) after the voice input mode is turned on, the voice input mode is turned off. Alternatively, after step 202, if no human voice is detected within a second target duration (e.g., 5 seconds or 6 seconds, etc.) after the voice recognition result is displayed in the input box, the voice input mode is turned off. After the voice input mode is closed, the voice acquisition module and the voice recognition module can be powered on temporarily, so that the consumption of resources can be effectively saved.
Step 203, in the voice input mode, if an instruction to click the soft keyboard is received, the voice input mode is switched to the soft keyboard input mode.
For example, in the voice input mode, if the user automatically stops voice input when inputting from the soft keyboard, the mode is switched to the soft keyboard input mode.
Step 204, in the soft keyboard input mode, if an instruction for selecting the voice input is received, the soft keyboard input mode is switched back to the voice input mode.
By the mode, under the soft keyboard input mode, the efficiency of switching back to the voice input mode by the user can be improved, better mode switching is achieved, and the user can select the input mode according to the actual requirement.
Further optionally, the method of this embodiment may further include: if the input box loses focus, the current voice input mode or soft keyboard input mode is closed. For example, if the input box loses focus, meaning that text is not currently being entered in the input box, to save resources, the current speech input mode or soft keyboard input mode may be turned off, such as not displaying a soft keyboard, and collecting speech is stopped for speech recognition, etc.
Further, in order to illustrate the specific implementation process of the above embodiments, the following application scenario is given, but not limited thereto:
currently, in a car system, if a user needs to listen to songs, the user can input song names and then search, and the existing song names are input by manually opening a voice input function through voice input or by typing in an input box through a soft keyboard. However, these two input modes are independent of each other and cannot be used in combination, which affects the user experience.
In order to solve the above problems, the present embodiment uses a speech acquisition module and an ASR module of a car machine system, and provides a new input box solution that fuses soft keyboard input and speech input services. As shown in fig. 3, when the input box acquires focus, the voice input mode is turned on and the soft keyboard is popped up. The system service using voice input starts to collect audio and detects whether there is a voice. If a voice is detected, the audio data of the voice is subjected to speech recognition by an ASR technology, and if text recognition is successful, text can be displayed in an input box. If the text is not successfully recognized or no voice is acquired within 5 seconds after the voice acquisition mode is started, the voice acquisition can be ended, and the voice input mode is closed. In addition, the user may control the on and off of the voice input mode through a microphone button of the user interface. And if the input box loses focus, or the user clicks the clear button, or the user manually enters text through the soft keyboard, the voice input mode may be turned off.
By applying the scheme, the voice input and the soft keyboard input can be fused, and a novel input experience is provided. In the process of inputting text in an input box, voice input and soft keyboard input can be combined, and timely and accurate input mode switching can be achieved under different operation conditions of a user, so that the use experience of the user can be improved.
Further, as a specific implementation of the method shown in fig. 1 and fig. 2, the present embodiment provides an information input device, as shown in fig. 4, including: a triggering module 31 and a switching module 32.
A triggering module 31 configured to display a soft keyboard and to turn on a voice input mode when a focus is acquired in an input box;
a switching module 32 configured to switch the voice input mode to a soft keyboard input mode if an instruction to click the soft keyboard is received in the voice input mode;
the switching module 32 is further configured to switch the soft keyboard input mode back to the voice input mode if an instruction for selecting voice input is received in the soft keyboard input mode;
the voice input mode is a mode of inputting text through voice in the input box, and the soft keyboard input mode is a mode of inputting text through soft keyboard in the input box.
In a specific application scenario, the triggering module 31 is further configured to initialize a voice processing module before the soft keyboard is displayed and the voice input mode is started when the focus is acquired in the input box, where the voice processing module is used for acquiring voice in the voice input mode to perform voice recognition.
In a specific application scenario, the triggering module 31 is further configured to insert and display, in the voice input mode, a recognition result of the collected voice from the focal position of the input box after the soft keyboard is displayed and the voice input mode is started.
In a specific application scenario, the switching module 32 is further configured to switch, in the voice input mode after the soft keyboard is displayed and the voice input mode is started, the voice input mode to the soft keyboard input mode if an edit instruction for the text in the input box is received.
In a specific application scenario, the switching module 32 is further configured to, after the soft keyboard is displayed and the voice input mode is turned on, turn off the voice input mode if no voice is detected within a first target duration after the voice input mode is turned on.
In a specific application scenario, the switching module 32 is further configured to close the voice input mode if no voice is detected within a second target duration after the voice recognition result is displayed in the input box after the soft keyboard is displayed and the voice input mode is opened.
In a specific application scenario, the switching module 32 is further configured to close the current voice input mode or the soft keyboard input mode if the input box loses focus.
In a specific application scenario, the triggering module 31 is further configured to display guiding information that can be input by voice in the input box while the voice input mode is started.
In a specific application scenario, the switching module 32 is further configured to switch the soft keyboard input mode back to the voice input mode if an instruction for selecting voice input is received in the soft keyboard input mode after the switching of the voice input mode to the soft keyboard input mode.
It should be noted that, for other corresponding descriptions of each functional unit related to the information input device provided in this embodiment, reference may be made to corresponding descriptions in fig. 1 and fig. 2, and detailed descriptions thereof are omitted herein.
Based on the above-described methods shown in fig. 1 and 2, correspondingly, the present embodiment further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the above-described methods shown in fig. 1 and 2.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.), and includes several instructions for causing a computer device (may be a personal computer, a server, or a network device, etc.) to perform the method of each implementation scenario of the present application.
Based on the method shown in fig. 1 and fig. 2 and the virtual device embodiment shown in fig. 4, in order to achieve the above object, the embodiment of the present application further provides an electronic device, which may be configured on an end side of a vehicle (such as a new energy automobile or a conventional automobile), where the device includes a storage medium and a processor; a storage medium storing a computer program; a processor for executing a computer program to implement the method as shown in fig. 1 and 2 described above.
Optionally, the entity device may further include a user interface, a network interface, a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, and so on. The user interface may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), etc.
It will be appreciated by those skilled in the art that the above-described physical device structure provided in this embodiment is not limited to this physical device, and may include more or fewer components, or may combine certain components, or may be a different arrangement of components.
The storage medium may also include an operating system, a network communication module. The operating system is a program that manages the physical device hardware and software resources described above, supporting the execution of information handling programs and other software and/or programs. The network communication module is used for realizing communication among all components in the storage medium and communication with other hardware and software in the information processing entity equipment.
Based on the above electronic device, the embodiment of the application further provides a vehicle, which may specifically include: an information input device as shown in fig. 4, or the above-described electronic apparatus. The vehicle can be a new energy automobile, a traditional automobile or the like.
From the above description of the embodiments, it will be apparent to those skilled in the art that the present application may be implemented by means of software plus necessary general hardware platforms, or may be implemented by hardware. By applying the scheme of the embodiment, compared with the prior art, the embodiment can integrate the voice input and the soft keyboard input, and provides a novel input experience. In the process of inputting text in an input box, voice input and soft keyboard input can be combined, and timely and accurate input mode switching can be achieved under different operation conditions of a user, so that the use experience of the user can be improved. The method solves the technical problems that the voice processing module is time-consuming to initialize and is slower to initialize. The voice input service can be activated quickly, the voice input can be supported with low delay, and even the 0-delay voice input service can be used.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is merely a specific embodiment of the application to enable one skilled in the art to understand or practice the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown and described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (12)

1. An information input method, characterized by comprising:
when a focus is acquired in the input box, displaying a soft keyboard and starting a voice input mode;
in the voice input mode, if an instruction of clicking the soft keyboard is received, switching the voice input mode into a soft keyboard input mode;
in the soft keyboard input mode, if an instruction for selecting voice input is received, switching the soft keyboard input mode back to the voice input mode;
the voice input mode is a mode of inputting text through voice in the input box, and the soft keyboard input mode is a mode of inputting text through soft keyboard in the input box.
2. The method of claim 1, wherein prior to displaying the soft keyboard and turning on the voice input mode when focus is acquired in the input box, the method further comprises:
initializing a voice processing module, wherein the voice processing module is used for collecting voice in the voice input mode to perform voice recognition.
3. The method of claim 1, wherein after the displaying the soft keyboard and turning on the voice input mode, the method further comprises:
in the voice input mode, the recognition result of the collected voice is inserted and displayed from the focus position of the input box.
4. The method of claim 1, wherein after the displaying the soft keyboard and turning on the voice input mode, the method further comprises:
and in the voice input mode, if an editing instruction for the text in the input box is received, switching the voice input mode into a soft keyboard input mode.
5. The method of claim 1, wherein after the displaying the soft keyboard and turning on the voice input mode, the method further comprises:
and if no voice is detected in the first target time after the voice input mode is started, the voice input mode is closed.
6. The method of claim 1, wherein after the displaying the soft keyboard and turning on the voice input mode, the method further comprises:
and if no voice is detected in the second target duration after the voice recognition result is displayed in the input box, closing the voice input mode.
7. The method according to claim 1, wherein the method further comprises:
and if the input box loses focus, closing the current voice input mode or the soft keyboard input mode.
8. The method of claim 1, wherein while the voice input mode is on, the method further comprises:
guiding information which can be input by voice in the input box is displayed.
9. An information input device, comprising:
the triggering module is configured to display a soft keyboard and start a voice input mode when a focus is acquired in the input box;
the switching module is configured to switch the voice input mode into a soft keyboard input mode if an instruction of clicking the soft keyboard is received in the voice input mode;
the switching module is further configured to switch the soft keyboard input mode back to the voice input mode if an instruction for selecting voice input is received in the soft keyboard input mode;
the voice input mode is a mode of inputting text through voice in the input box, and the soft keyboard input mode is a mode of inputting text through soft keyboard in the input box.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method of any one of claims 1 to 8.
11. An electronic device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, characterized in that the processor implements the method of any one of claims 1 to 8 when executing the computer program.
12. A vehicle, characterized by comprising: the apparatus of claim 9, or the electronic device of claim 11.
CN202211206506.9A 2022-09-30 2022-09-30 Information input method and device, electronic equipment and vehicle Pending CN117854494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211206506.9A CN117854494A (en) 2022-09-30 2022-09-30 Information input method and device, electronic equipment and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211206506.9A CN117854494A (en) 2022-09-30 2022-09-30 Information input method and device, electronic equipment and vehicle

Publications (1)

Publication Number Publication Date
CN117854494A true CN117854494A (en) 2024-04-09

Family

ID=90533100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211206506.9A Pending CN117854494A (en) 2022-09-30 2022-09-30 Information input method and device, electronic equipment and vehicle

Country Status (1)

Country Link
CN (1) CN117854494A (en)

Similar Documents

Publication Publication Date Title
CN110634483B (en) Man-machine interaction method and device, electronic equipment and storage medium
WO2022001013A1 (en) Voice interaction method, vehicle, server, system, and storage medium
CN109309751B (en) Voice recording method, electronic device and storage medium
CN110914828B (en) Speech translation method and device
US20150039316A1 (en) Systems and methods for managing dialog context in speech systems
CN109360563B (en) Voice control method and device, storage medium and air conditioner
CN110544473B (en) Voice interaction method and device
CN111949240A (en) Interaction method, storage medium, service program, and device
CN109165052B (en) Interactive processing method and device of application scene, terminal, system and storage medium
CN109165292A (en) Data processing method, device and mobile terminal
CN109817203B (en) Voice interaction method and system
CN110225202A (en) Processing method, device, mobile terminal and the storage medium of audio stream
CN111813301B (en) Content playing method and device, electronic equipment and readable storage medium
AU2006325555A1 (en) A method and apparatus for accessing a digital file from a collection of digital files
CN108287900A (en) A kind of hand-held photographing device searches topic method, system and hand-held photographing device
CN110767219A (en) Semantic updating method, device, server and storage medium
CN112732379B (en) Method for running application program on intelligent terminal, terminal and storage medium
CN110310648A (en) Control method, device, mobile terminal and the readable storage medium storing program for executing of mobile terminal
CN111639158B (en) Learning content display method and electronic equipment
CN117854494A (en) Information input method and device, electronic equipment and vehicle
CN111814492A (en) Translation method, terminal and computer storage medium
CN114005447A (en) Voice conversation interaction method, device, vehicle and medium
CN113779300B (en) Voice input guiding method, device and car machine
CN109255131B (en) Translation method, translation device, translation terminal and storage medium
CN116680033A (en) Prompting method, prompting device and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination