CN112491690A - Method for transmitting voice information, mobile terminal, computer storage medium and system - Google Patents
Method for transmitting voice information, mobile terminal, computer storage medium and system Download PDFInfo
- Publication number
- CN112491690A CN112491690A CN201910779043.7A CN201910779043A CN112491690A CN 112491690 A CN112491690 A CN 112491690A CN 201910779043 A CN201910779043 A CN 201910779043A CN 112491690 A CN112491690 A CN 112491690A
- Authority
- CN
- China
- Prior art keywords
- voice
- user
- information
- mobile terminal
- voice information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000015654 memory Effects 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 11
- 230000001960 triggered effect Effects 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 2
- 230000006870 function Effects 0.000 description 36
- 238000010586 diagram Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000013507 mapping Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000002035 prolonged effect Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/10—Multimedia information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computing Systems (AREA)
- Computational Linguistics (AREA)
- Acoustics & Sound (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method for sending voice information, a mobile terminal, a computer storage medium and a system, comprising the following steps: the mobile terminal acquires a request instruction of a user request sent by a vehicle machine for sending voice information through an instant messaging application; responding to the request instruction, controlling the instant messaging application to automatically enter a voice recording state, and acquiring voice information input by a user; and sending the voice information. According to the voice information sending method, the mobile terminal, the computer storage medium and the system, after the mobile terminal obtains the request instruction that the user request sent by the vehicle machine sends the voice information through the instant messaging application, the instant messaging application is controlled to automatically enter the voice recording state, the instant messaging application is automatically controlled to send the voice information, the accuracy of the transmitted information is guaranteed, and the user experience is improved.
Description
Technical Field
The present invention relates to the field of terminals, and in particular, to a method, a mobile terminal, a computer storage medium, and a system for transmitting voice information.
Background
With the rapid development of the car networking technology, more and more scenes are available for users to chat in the car through instant messaging applications such as WeChat installed in the car. In the related art, when a user inputs voice information to a car machine to send the voice information through a WeChat, the car machine needs to convert the input voice information into text information and send the text information. However, the process of converting voice information into text information may have a distortion problem, which affects the accuracy of information and reduces the user experience.
Disclosure of Invention
The invention aims to provide a voice information sending method, a mobile terminal, a computer storage medium and a system, which can ensure the accuracy of information and effectively improve the use experience of a user.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for sending voice information, which is applied to a mobile terminal, and the method includes:
acquiring a request instruction of a user request sent by a vehicle machine for sending voice information through an instant messaging application;
responding to the voice request instruction, controlling the instant messaging application to automatically enter a voice recording state, and acquiring voice information input by a user;
and sending the voice information.
As one embodiment, the step of obtaining a request instruction for a user request sent by a car machine to send voice information through an instant messaging application includes:
receiving a voice request message sent by a vehicle machine and input to the vehicle machine by a user;
carrying out voice recognition on the voice request message, and acquiring the request instruction according to the obtained voice recognition result;
the step of acquiring the voice information input by the user comprises the following steps:
and receiving voice information input by a user and sent by the vehicle machine.
As one embodiment, the instant messaging application includes a wechat application, and the step of controlling the instant messaging application to automatically enter a voice recording state includes:
virtually clicking a microphone icon key on a chat interface in the WeChat application;
continuously and virtually clicking and pressing a speaking key;
and stopping virtually clicking the held speaking key after detecting that a preset stopping condition is triggered.
As an embodiment, the detecting that the preset stop condition is triggered includes: and detecting that the input voice information is not received within the preset time length.
As an implementation manner, after the virtual clicking of the microphone icon button on the chat interface in the WeChat application, the method further includes:
and sending out a voice prompt message or a text prompt message for prompting the user to start inputting voice.
As an embodiment, the requesting instruction includes chat object information, and before the virtual click of a microphone button on a chat interface in the WeChat application, the method further includes:
and opening and displaying a chat interface of the chat object corresponding to the chat object information in the WeChat application.
As an implementation manner, the step of opening and presenting the chat interface of the chat object corresponding to the chat object information in the wechat application includes:
opening a WeChat application;
searching the chat object in the WeChat application according to the chat object information;
and opening and displaying the chat interface of the searched chat object corresponding to the chat object information.
In a second aspect, an embodiment of the present invention provides a mobile terminal, including: a processor and a memory storing a computer program which, when executed by the processor, implements the method of transmitting speech information according to the first aspect.
In a third aspect, an embodiment of the present invention provides a computer storage medium, where a computer program is stored, and when executed by a processor, the computer program implements the method for sending voice information according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a system for sending voice information, where the system for sending voice information includes a mobile terminal and a car machine; wherein,
the car machine is used for receiving a voice request message which is input by a user and used for requesting to send voice information through an instant messaging application, and sending the voice request message to the mobile terminal; and sending voice information input by a user to the mobile terminal;
the mobile terminal is used for responding to the voice request message and controlling the instant messaging application to automatically enter a voice recording state; and receiving voice information input by a user and sent by the vehicle machine, and sending the voice information.
The method, the mobile terminal, the computer storage medium and the system for sending the voice information provided by the embodiment of the invention comprise the following steps: after acquiring a request instruction of sending voice information by a user request sent by a vehicle machine through an instant messaging application, a mobile terminal responds to the request instruction, controls the instant messaging application to automatically enter a voice recording state, acquires voice information input by the user and sends the voice information. Therefore, after receiving a request instruction of sending voice information by a user request sent by a vehicle machine through the instant messaging application, the mobile terminal controls the instant messaging application to automatically enter a voice recording state, automatically controls the instant messaging application to send the voice information, does not need to convert input voice information into text information and then sends the text information, ensures the accuracy of transmitted information, does not need manual operation of the user, is high in processing speed, and improves the use experience of the user.
Drawings
Fig. 1 is a schematic application environment diagram of a method for sending voice information according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for sending voice information according to an embodiment of the present invention;
fig. 3 is an interaction diagram of a method for sending voice information according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a system for sending voice information according to an embodiment of the present invention.
Detailed Description
The technical scheme of the invention is further elaborated by combining the drawings and the specific embodiments in the specification. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
Fig. 1 is a schematic view of an application environment of a method for sending voice information according to an embodiment of the present invention, where a car machine 10 and a mobile terminal 11 may perform data interaction in a short-distance wireless communication mode or a wired mode, where the short-distance wireless communication mode includes, but is not limited to, bluetooth, near field communication, WIFI, and the wired mode may be USB and the like. After receiving a voice request message input by a user and requesting to send voice information through an instant messaging application, the car machine 10 sends the voice request message to the mobile terminal 11; the mobile terminal 11 responds to the voice request message and controls the instant messaging application to automatically enter a voice recording state; the car machine 10 receives the voice information input by the user and sends the voice information input by the user to the mobile terminal 11; the mobile terminal 11 receives the voice information input by the user and sent by the car machine 10, and sends the voice information. Therefore, after receiving a voice request message of a user request sent by the car machine 10 and sending voice information through the instant messaging application, the mobile terminal 11 controls the instant messaging application to automatically enter a voice recording state, automatically controls the instant messaging application to send the voice information, does not need to convert the input voice information into text information and then sends the text information, ensures the accuracy of transmitted information, does not need manual operation of the user, is high in processing speed, and improves the user experience.
Referring to fig. 2, a method for sending voice information provided in an embodiment of the present invention is applied to a mobile terminal, and the method includes the following steps:
step S101: acquiring a request instruction of a user request sent by a vehicle machine for sending voice information through an instant messaging application;
here, an instant messaging application is installed in the mobile terminal, and in this embodiment, taking the instant messaging application as a wechat application as an example, a user may control a wechat application in a mobile phone to log in by inputting an account password. On one hand, the car machine can be preset with a key or an icon for triggering the sending of the request instruction to the mobile terminal, and when the key or the icon is triggered, the car machine is equivalent to the sending of the request instruction to the mobile terminal. On the other hand, a voice awakening instruction for triggering to receive voice information can be preset in the vehicle machine, when the vehicle machine receives the voice awakening instruction input by the user, the vehicle machine starts to receive the voice message input by the user to the vehicle machine and sends the voice message to the mobile terminal, so that the mobile terminal judges whether the voice message contains the request instruction. In an embodiment, the step of obtaining a request instruction for a user request sent by a car machine to send voice information through an instant messaging application includes: receiving a voice request message sent by a vehicle machine and input to the vehicle machine by a user; and carrying out voice recognition on the voice request message, and acquiring the request instruction according to the obtained voice recognition result. Here, when the mobile terminal determines that the user requests to send the voice message through the instant messaging application according to the obtained voice recognition result, it is described that a request instruction that the user requests to send the voice message through the instant messaging application is received. It can be understood that, the user may specify information such as a name and a corresponding function of the instant messaging application that the user wants to use in the voice request message input to the car machine, and when the user specifies the instant messaging application that the user wants to use and a function that needs to be implemented by the instant messaging application in the input voice request message, the mobile terminal may obtain corresponding information from a voice recognition result of the voice request message input by the user to the car machine. Here, when the user does not specify the instant messaging application to be used in the voice request message input to the car machine and only specifies the function to be used, the mobile terminal may determine the function to be used by the user according to the voice recognition result of the voice request message, and then determine the instant messaging application according to the function to be used by the user and the application installed in the mobile terminal. For example, according to the voice recognition result of the voice request message input by the user, the function to be used by the user is determined, and the application program having the mapping relation with the function to be used by the user is used as the corresponding instant messaging application. Here, the function keyword in the speech recognition result may be extracted, and the application program having a mapping relationship with the function keyword may be used as the corresponding instant messaging application. If the user says that the user wants to send the voice information, the function keyword can be determined to be the voice information sending, and the WeChat application corresponding to the preset function keyword, namely the voice information sending, is used as the corresponding instant messaging application. Therefore, the request for sending the voice information through the instant messaging application is directly initiated in a voice mode, manual operation of a user is not needed, and operation efficiency is improved.
Here, a keyword library may be preset in the mobile terminal, and the keyword library includes names of the instant messaging applications, names of functions that can be implemented by the instant messaging applications, and the like. In an embodiment, the step of performing voice recognition on the voice request message and acquiring the request instruction according to the obtained voice recognition result includes: performing keyword recognition on the voice request message based on a preset keyword library to obtain a keyword recognition result; determining a function to be used by a user and an instant messaging application for realizing the function according to the keyword recognition result; and determining the request instruction according to the function to be used by the user and the instant messaging application for realizing the function. Here, the performing of the keyword recognition on the voice request message based on the preset keyword library may be performing character recognition on the voice request message, and then matching characters recognized in a character recognition result based on the preset keyword library, so as to obtain a keyword recognition result. Taking the instant messaging application as an example of a wechat application, assuming that the car machine receives a voice request message input by a user as 'i need to send wechat voice information to the first', the car machine can recognize a keyword 'to, first, send, wechat, voice information', so that the function to be used by the user can be determined to be sending the voice information to the first, and the application realizing the function is the wechat application. Therefore, the received voice request message is subjected to keyword recognition, so that the corresponding request instruction is determined according to the keyword recognition result, the user does not need to manually initiate an operation request, and the operation efficiency is improved.
Step S102: responding to the request instruction, controlling the instant messaging application to automatically enter a voice recording state, and acquiring voice information input by a user;
specifically, the mobile terminal responds to a received request instruction of a user requesting to send voice information through the instant messaging application, controls the instant messaging application to automatically enter a voice recording state, and obtains the voice information input by the user, so that the voice information of the instant messaging application is generated.
It should be noted that the mobile terminal acquires the voice information input by the user, and the mobile terminal may acquire the voice information input by the user through a microphone of the mobile terminal, or the mobile terminal may receive the voice information input by the user to the car machine, where the voice information is sent by the car machine. In practical application, voice information input by a user and collected by a vehicle machine through a microphone and other sound collection devices in a vehicle is clearer than voice information input by the user and directly collected by a mobile terminal, so that the accuracy of transmitted information is higher.
Here, the mobile terminal controls the instant messaging application to automatically enter a voice recording state based on an existing virtual click technology. In practical applications, the mobile terminal may implement the above operations through a virtual click application such as a voice assistant. It should be noted that, before controlling the instant messaging application to automatically enter the voice recording state, the mobile terminal needs to first obtain the screen reading permission and the virtual click permission of the mobile terminal, so as to ensure that the instant messaging application can be automatically controlled. In one embodiment, the step of controlling, by the mobile terminal, the instant messaging application to automatically enter the voice recording state includes: virtually clicking a microphone icon key on a chat interface in the WeChat application; continuously and virtually clicking and pressing a speaking key; and stopping virtually clicking the held speaking key after detecting that a preset stopping condition is triggered. After the microphone icon key on the chat interface in the WeChat application is virtually clicked, the speaking key is continuously and virtually clicked, the WeChat application enters a voice obtaining state at the moment, namely, the automatic voice information obtaining operation is realized, the obtained voice can be directly sent through the WeChat application in a voice mode, and the accuracy of the information is ensured.
Here, after the virtual clicking of the microphone icon button on the chat interface in the WeChat application, the method may further include: and sending out a voice prompt message or a text prompt message for prompting the user to start inputting voice. It should be noted that the mobile terminal sends a voice prompt message or a text prompt message for prompting the user to start inputting voice, the voice prompt message or the text prompt message is played by a self voice device such as a loudspeaker, or the text prompt message is displayed by a display screen, or the mobile terminal sends the voice prompt message or the text prompt message for prompting the user to start inputting voice to a vehicle machine, so that the vehicle machine correspondingly plays the voice prompt message or the text prompt message through the voice device in the vehicle. The voice prompt message or the text prompt message may be set according to the actual situation, for example, the setting may be "please input voice message" or the like. Therefore, the user experience is further improved by reminding the user of voice input in time. It should be noted that, after the mobile terminal detects that the preset stop condition is triggered, which indicates that the user may not continue to input voice or the current voice information is input completely, the mobile terminal stops virtually clicking the hold-down speaking key, so that the wechat application ends the voice recording state. The detecting that the preset stop condition is triggered includes receiving an instruction to stop voice input, or detecting that no input voice information is received within a preset time length, and the preset time length may be set according to actual needs, for example, may be set to 3 seconds, 5 seconds, and the like. Therefore, the virtual click of the speaking key is stopped in time to finish the input of the voice information, so that the resource consumption can be effectively saved, and the service life of the mobile terminal is prolonged.
In one embodiment, the request instruction includes chat object information, and before the virtual click of a microphone button on a chat interface in the WeChat application, the method further includes: and opening and displaying a chat interface of the chat object corresponding to the chat object information in the WeChat application. It can be understood that, since the user may not be currently open or in the chat interface with a certain chat object when the user needs to send voice information to the chat object through the wechat application, the user may input the chat object information in a voice manner, that is, the input voice request message includes the chat object information, that is, the request instruction includes the chat object information. The chat object information may include information such as a name or a nickname of the chat object, a group in which the chat object is located, and the like, for example, the chat object information may be zhang san, or the chat object information may be zhang san located in a classmate group. And after the mobile terminal opens and displays the chat interface of the chat object corresponding to the chat object information in the WeChat application according to the chat object information, the mobile terminal can control the WeChat application to record voice in a virtual click mode.
In an embodiment, the step of the mobile terminal opening and displaying the chat interface of the chat object corresponding to the chat object information in the wechat application includes: opening a WeChat application; searching the chat object in the WeChat application according to the chat object information; and opening and displaying the chat interface of the searched chat object corresponding to the chat object information. Specifically, when the mobile terminal detects that the wechat application is not started, the wechat application is started, namely, the display interface of the wechat application is skipped; then, according to the chat object information, performing a chat object search operation in the WeChat application to obtain information such as a location of the chat object corresponding to the chat object information, for example, a location of the chat object in an address book, personal information of the chat object, and the like; and finally, opening and displaying the searched chat interface of the chat object corresponding to the chat object information so as to perform virtual clicking on the chat interface and control the WeChat application to perform voice recording. Taking the example of sending the WeChat voice information to Zhang III, the mobile terminal searches in the address book after starting the WeChat application, so that Zhang III is found in the interface of the address book, and then opens and displays the chat interface with Zhang III. Here, the opening of the WeChat application may include: the mobile terminal acquires a preset opening instruction of the WeChat application; and opening the WeChat application according to the opening instruction. That is to say, a start instruction of the wechat application may be preset and stored, and when the mobile terminal detects that the wechat application needs to be started, the start instruction of the wechat application is acquired to start the wechat application. Therefore, the chat interface of the chat object corresponding to the chat object information is displayed to the user, so that the user can conveniently check the operation process, and the problems can be found and solved in time. It should be noted that, if there are objects with the same or similar names in the address book of the WeChat, there may be a plurality of chat objects obtained by searching according to the chat object information, and in order to facilitate the user to determine the actually required chat object, the mobile terminal may further include, before the opening and displaying the chat interface of the searched chat object corresponding to the chat object information: displaying a plurality of searched candidate chat objects corresponding to the chat object information; and when a voice selection instruction is received, determining the candidate chat object corresponding to the voice selection instruction as the chat object corresponding to the chat object information. Here, the displaying, by the mobile terminal, the searched candidate chat objects corresponding to the chat object information may be sending the searched candidate chat objects corresponding to the chat object information to the car machine for displaying by the car machine, and correspondingly, the receiving, by the mobile terminal, the voice selection instruction may be receiving a voice selection instruction sent by the car machine, where the voice selection instruction is input by the user to the car machine.
Step S103: and sending the voice information.
Taking the instant messaging application as the wechat application as an example, the sending of the voice message by the mobile terminal may be that the mobile terminal sends the voice message acquired by the wechat application to a chat object.
In summary, in the sending method of voice information provided in the above embodiment, after receiving a request instruction that a user requests to send voice information through an instant messaging application from a vehicle, a mobile terminal controls the instant messaging application to automatically enter a voice recording state, and automatically controls the instant messaging application to send voice information, and the input voice information does not need to be converted into text information and then sent, so that accuracy of transmitted information is ensured, manual operation by the user is not needed, processing speed is high, and user experience is improved.
Based on the same inventive concept of the foregoing embodiment, this embodiment describes in detail the technical solutions of the foregoing embodiments by specific examples, and takes the instant messaging application as the wechat application and the mobile terminal as the mobile phone as examples. Referring to fig. 3, which is an interaction diagram of a method for sending voice information according to an embodiment of the present invention, a user may wake up a wechat in a mobile phone in a manual manner or a voice manner, so that the wechat runs in a foreground at a mobile phone end. If a user wants to send the WeChat voice information to a friend at the moment, a voice request message for requesting to send the WeChat voice information can be sent to the vehicle machine. The vehicle machine collects the voice request message and sends the voice request message to the mobile phone, and the mobile phone records the WeChat voice message through virtual clicking when judging that the received voice request message is a request instruction for requesting to send the WeChat voice message, and the specific steps are as follows: firstly, virtually clicking a 'microphone icon' button in a WeChat chat interface; then, virtually clicking a 'press and talk' button, and prompting a user 'please start speaking' by voice; then, after judging that the user starts to input voice, keeping virtual clicking of a 'press and talk' key; and finally, stopping virtual clicking of the 'press and talk' key when no voice input is detected, and sending the recorded WeChat voice information to the friend. Therefore, the problem of information distortion possibly existing in the process that when a user sends WeChat voice information through a vehicle machine in a vehicle in the prior art, the vehicle machine needs to convert input voice information into text information firstly and then sends the text information in a text information mode is solved, the information can be transmitted without errors, the accuracy of the information is guaranteed, and the user experience is improved.
Based on the same inventive concept of the foregoing embodiments, an embodiment of the present invention provides a mobile terminal, referring to fig. 4, including: a processor 110 and a memory 111 storing computer programs; the processor 110 illustrated in fig. 4 is not used to refer to the number of the processors 110 as one, but is only used to refer to the position relationship of the processor 110 relative to other devices, and in practical applications, the number of the processors 110 may be one or more; similarly, the memory 111 illustrated in fig. 4 is also used in the same sense, that is, it is only used to refer to the position relationship of the memory 111 relative to other devices, and in practical applications, the number of the memory 111 may be one or more. When the processor 110 runs the computer program, the above-mentioned voice message transmission method is implemented.
The mobile terminal may further include: at least one network interface 112. The various components in the mobile terminal are coupled together by a bus system 113. It will be appreciated that the bus system 113 is used to enable communications among the components. The bus system 113 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are labeled as bus system 113 in FIG. 4.
The memory 111 in the embodiments of the present invention is used to store various types of data to support the operation of the mobile terminal. Examples of such data include: any computer program for operation on the mobile terminal, such as operating systems and application programs; contact data; telephone book data; a message; a picture; video, etc. The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application programs may include various application programs such as a Media Player (Media Player), a Browser (Browser), etc. for implementing various application services. Here, the program that implements the method of the embodiment of the present invention may be included in an application program.
Based on the same inventive concept of the foregoing embodiments, this embodiment further provides a computer storage medium, where a computer program is stored in the computer storage medium, where the computer storage medium may be a Memory such as a magnetic random access Memory (FRAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read Only Memory (CD-ROM), and the like; or may be a variety of devices including one or any combination of the above memories, such as a mobile phone, computer, tablet device, personal digital assistant, etc. When the computer program stored in the computer storage medium is run by a processor, the method for transmitting the voice message is realized. Please refer to the description of the embodiment shown in fig. 2 for a specific step flow realized when the computer program is executed by the processor, which is not described herein again.
Referring to fig. 5, a system for sending voice information provided in the embodiment of the present invention includes a car machine 20 and a mobile terminal 21, wherein,
the car machine 20 is configured to receive a voice request message input by a user and used for requesting to send voice information through an instant messaging application, and send the voice request message to the mobile terminal 21; receiving voice information input by a user, and sending the voice information input by the user to the mobile terminal 21;
the mobile terminal 21 is configured to respond to the voice request message and control the instant messaging application to automatically enter a voice recording state; and receiving the voice information input by the user and sent by the car machine 20, and sending out the voice information.
Here, after receiving the voice request message sent by the car machine 20, the mobile terminal 21 performs voice recognition on the voice request message, so as to determine whether the user requests to send voice information through an instant messaging application according to a voice recognition result. It can be understood that the user may specify information such as a name and a corresponding function of the instant messaging application that the user wants to use in the voice request message input to the car machine 20, and when the user specifies the instant messaging application that the user wants to use and a function that the instant messaging application needs to implement in the input voice request message, the mobile terminal 21 may obtain corresponding information from a voice recognition result of the voice request message input to the car machine 20 by the user. Here, when the user does not specify the instant messaging application to be used in the voice request message input to the car machine 20 and only specifies the function to be used, the mobile terminal 21 may determine the function to be used by the user according to the voice recognition result of the voice request message, and then determine the instant messaging application according to the function to be used by the user and the application installed in the mobile terminal 21. For example, according to the voice recognition result of the voice request message input by the user, the function to be used by the user is determined, and the application program having the mapping relation with the function to be used by the user is used as the corresponding instant messaging application. Here, the function keyword in the speech recognition result may be extracted, and the application program having a mapping relationship with the function keyword may be used as the corresponding instant messaging application. If the user says that the user wants to send the voice information, the function keyword can be determined to be the voice information sending, and the WeChat application corresponding to the preset function keyword, namely the voice information sending, is used as the corresponding instant messaging application. Therefore, the request for sending the voice information through the instant messaging application is directly initiated in a voice mode, manual operation of a user is not needed, and the operation efficiency is improved
Here, the mobile terminal 21 may be preset with a keyword library, and the keyword library includes names of the instant messaging applications, names of functions that can be implemented by the instant messaging applications, and the like. In one embodiment, the step of the mobile terminal 21 responding to the voice request message includes: performing keyword recognition on the voice request message based on a preset keyword library to obtain a keyword recognition result; determining a function to be used by a user and an instant messaging application for realizing the function according to the keyword recognition result; and determining that the user requests to send voice information through the instant messaging application according to the function to be used by the user and the instant messaging application for realizing the function. Here, the performing of the keyword recognition on the voice request message based on the preset keyword library may be performing character recognition on the voice request message, and then matching characters recognized in a character recognition result based on the preset keyword library, so as to obtain a keyword recognition result. Taking the instant messaging application as an example of a wechat application, assuming that a voice request message input by a user and received by the mobile terminal 21 is "i need to send wechat voice information to the first", the mobile terminal 21 may recognize a keyword "send to, first, send, wechat, voice information", thereby determining that the function to be used by the user is to send voice information to the first, and the application implementing the function is a wechat application. Therefore, the received voice request message is subjected to keyword recognition, so that the corresponding request is determined according to the keyword recognition result, a user does not need to manually initiate an operation request, and the operation efficiency is improved.
Here, the mobile terminal 21 controls the instant messaging application to automatically enter a voice recording state, and receives the voice information sent by the car machine 20 and input by the user to the car machine 20, so as to generate the voice information of the instant messaging application, and further send out the voice information. In an embodiment, the step of controlling, by using the instant messaging application as a wechat application, the instant messaging application to automatically enter the voice recording state by the mobile terminal 21 includes: virtually clicking a microphone icon key on a chat interface in the WeChat application; continuously and virtually clicking and pressing a speaking key; and stopping virtually clicking the held speaking key after detecting that a preset stopping condition is triggered. After the microphone icon key on the chat interface in the WeChat application is virtually clicked, the speaking key is continuously and virtually clicked, the WeChat application enters a voice obtaining state at the moment, namely, the automatic voice information obtaining operation is realized, the obtained voice can be directly sent through the WeChat application in a voice mode, and the accuracy of the information is ensured.
In an embodiment, after the mobile terminal 21 virtually clicks the microphone icon button on the chat interface in the wechat application, the method may further include: the mobile terminal 21 issues a voice prompt message or a text prompt message for prompting the user to start inputting voice. It should be noted that the mobile terminal 21 sends a voice prompt message or a text prompt message for prompting the user to start inputting voice, where the voice prompt message or the text prompt message is played by the mobile terminal 21 through a self-sounding device such as a speaker, or the text prompt message is displayed by a display screen, or the voice prompt message or the text prompt message for prompting the user to start inputting voice is sent to the car machine 20 by the mobile terminal 21, so that the car machine 20 plays the voice prompt message or displays the text prompt message through a sounding device in the vehicle. The voice prompt message or the text prompt message may be set according to the actual situation, for example, the setting may be "please input voice message" or the like. Therefore, the user experience is further improved by reminding the user of voice input in time. It should be noted that, after the mobile terminal 21 detects that the preset stop condition is triggered, which indicates that the user may not continue to input voice or the current voice information is input completely, the mobile terminal 21 stops virtually clicking the push-to-talk button, so that the wechat application ends the voice recording state. The detecting that the preset stop condition is triggered includes receiving an instruction to stop voice input, or detecting that no input voice information is received within a preset time length, and the preset time length may be set according to actual needs, for example, may be set to 3 seconds, 5 seconds, and the like. Therefore, the virtual click of the speaking key is stopped in time to finish the input of the voice information, so that the resource consumption can be effectively saved, and the service life of the mobile terminal is prolonged.
In an embodiment, the requesting instruction includes chat object information, and before the mobile terminal 21 virtually clicks a microphone button on a chat interface in the WeChat application, the method further includes: the mobile terminal 21 opens and displays the chat interface of the chat object corresponding to the chat object information in the wechat application. It can be understood that, since the user may not be currently open or in the chat interface with a certain chat object when the user needs to send voice information to the chat object through the wechat application, the user may input the chat object information in a voice manner, that is, the input voice request message includes the chat object information, that is, the request instruction includes the chat object information. The chat object information may include information such as a name or a nickname of the chat object, a group in which the chat object is located, and the like, for example, the chat object information may be zhang san, or the chat object information may be zhang san located in a classmate group. After opening and displaying the chat interface of the chat object corresponding to the chat object information in the wechat application according to the chat object information, the mobile terminal 21 can control the wechat application to record voice through a virtual click mode.
In an embodiment, the step of the mobile terminal 21 opening and presenting the chat interface of the chat object corresponding to the chat object information in the wechat application includes: the mobile terminal 21 starts the WeChat application; the mobile terminal 21 performs a chat object search operation in the WeChat application according to the chat object information; the mobile terminal 21 opens and displays the chat interface of the searched chat object corresponding to the chat object information. Specifically, when the mobile terminal 21 detects that the wechat application is not started, the wechat application is started, that is, the display interface of the wechat application is skipped; then, according to the chat object information, performing a chat object search operation in the WeChat application to obtain information such as a location of the chat object corresponding to the chat object information, for example, a location of the chat object in an address book, personal information of the chat object, and the like; and finally, opening and displaying the searched chat interface of the chat object corresponding to the chat object information so as to perform virtual clicking on the chat interface and control the WeChat application to perform voice recording. Taking "sending the wechat voice information to zhang san as an example", the mobile terminal 21 searches in the address book after starting the wechat application, so as to find zhang san in the address book interface, and then opens and displays the chat interface with zhang san. Here, the opening of the WeChat application may include: the mobile terminal 21 acquires a preset opening instruction of the WeChat application; and opening the WeChat application according to the opening instruction. That is to say, the start instruction of the wechat application may be preset and stored, and when detecting that the wechat application needs to be started, the mobile terminal 21 acquires the start instruction of the wechat application to start the wechat application. Therefore, the chat interface of the chat object corresponding to the chat object information is displayed to the user, so that the user can conveniently check the operation process, and the problems can be found and solved in time. It should be noted that, if there are objects with the same or similar names in the address book of the WeChat, there may be a plurality of chat objects obtained by searching according to the chat object information, so as to facilitate the user to determine the actually required chat object, before the opening and displaying the chat interface of the searched chat object corresponding to the chat object information, the method may further include: displaying a plurality of searched candidate chat objects corresponding to the chat object information; and when a voice selection instruction is received, determining the candidate chat object corresponding to the voice selection instruction as the chat object corresponding to the chat object information.
In summary, in the voice information sending system provided in the above embodiment, after receiving the voice request message of the user requesting to send the voice information through the instant messaging application sent by the car machine 10, the mobile terminal 11 controls the instant messaging application to automatically enter the voice recording state, and automatically controls the instant messaging application to send the voice information, and the input voice information does not need to be converted into text information and then sent, so that accuracy of the transmitted information is ensured, manual operation by the user is not needed, the processing speed is high, and user experience is improved.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
As used herein, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, including not only those elements listed, but also other elements not expressly listed. The use of the ordinal adjectives "first", "second", etc., to describe an element is merely for distinguishing between similar elements and not intended to imply that the elements so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (10)
1. A method for sending voice information is applied to a mobile terminal, and is characterized by comprising the following steps:
acquiring a request instruction of a user request sent by a vehicle machine for sending voice information through an instant messaging application;
responding to the request instruction, controlling the instant messaging application to automatically enter a voice recording state, and acquiring voice information input by a user;
and sending the voice information.
2. The method for sending the voice message according to claim 1, wherein the step of obtaining the request instruction of the user request sent by the car machine for sending the voice message through the instant messaging application comprises:
receiving a voice request message sent by a vehicle machine and input to the vehicle machine by a user;
carrying out voice recognition on the voice request message, and acquiring the request instruction according to the obtained voice recognition result;
the step of acquiring the voice information input by the user comprises the following steps:
and receiving voice information which is sent by the vehicle machine and input by a user to the vehicle machine.
3. The method according to claim 1 or 2, wherein the instant messaging application comprises a WeChat application, and the step of controlling the instant messaging application to automatically enter a voice recording state comprises:
virtually clicking a microphone icon key on a chat interface in the WeChat application;
continuously and virtually clicking and pressing a speaking key;
and stopping virtually clicking the held speaking key after detecting that a preset stopping condition is triggered.
4. The method according to claim 3, wherein the detecting that the preset stop condition is triggered comprises: and detecting that the input voice information is not received within the preset time length.
5. The method for sending voice message according to claim 3, wherein after the virtual clicking of the microphone icon button on the chat interface in the WeChat application, the method further comprises:
and sending out a voice prompt message or a text prompt message for prompting the user to start inputting voice.
6. The method according to claim 3, wherein the voice request command includes information of a chat object, and before the virtual clicking a microphone button on a chat interface in the WeChat application, the method further includes:
and opening and displaying a chat interface of the chat object corresponding to the chat object information in the WeChat application.
7. The method of claim 6, wherein the step of opening and presenting the chat interface of the chat object corresponding to the chat object information in the WeChat application comprises:
opening a WeChat application;
searching the chat object in the WeChat application according to the chat object information;
and opening and displaying the chat interface of the searched chat object corresponding to the chat object information.
8. A mobile terminal, comprising: a processor and a memory storing a computer program which, when executed by the processor, implements the method of transmitting speech information according to any one of claims 1 to 7.
9. A computer storage medium, in which a computer program is stored, which, when executed by a processor, implements a transmission method of voice information according to any one of claims 1 to 7.
10. A sending system of voice information is characterized in that the sending system of voice information comprises a mobile terminal and a vehicle machine; wherein,
the car machine is used for receiving a voice request message which is input by a user and used for requesting to send voice information through an instant messaging application, and sending the voice request message to the mobile terminal; receiving voice information input by a user, and sending the voice information input by the user to the mobile terminal;
the mobile terminal is used for responding to the voice request message and controlling the instant messaging application to automatically enter a voice recording state; and receiving voice information input by a user and sent by the vehicle machine, and sending the voice information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910779043.7A CN112491690A (en) | 2019-08-22 | 2019-08-22 | Method for transmitting voice information, mobile terminal, computer storage medium and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910779043.7A CN112491690A (en) | 2019-08-22 | 2019-08-22 | Method for transmitting voice information, mobile terminal, computer storage medium and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112491690A true CN112491690A (en) | 2021-03-12 |
Family
ID=74919770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910779043.7A Pending CN112491690A (en) | 2019-08-22 | 2019-08-22 | Method for transmitting voice information, mobile terminal, computer storage medium and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112491690A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113449197A (en) * | 2021-07-19 | 2021-09-28 | 北京百度网讯科技有限公司 | Information processing method, information processing apparatus, electronic device, and storage medium |
CN114063956A (en) * | 2021-11-11 | 2022-02-18 | 上汽通用五菱汽车股份有限公司 | Vehicle-mounted device and mobile terminal program interaction method, vehicle-mounted device and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104539513A (en) * | 2014-12-11 | 2015-04-22 | 广东好帮手电子科技股份有限公司 | Voice message sending method and system based on vehicle WeChat |
CN107770056A (en) * | 2017-11-20 | 2018-03-06 | 上汽依维柯红岩商用车有限公司 | Vehicle-mounted voice chat system and control method based on wechat |
CN109150692A (en) * | 2018-07-28 | 2019-01-04 | 北京旺马科技有限公司 | Message automatic broadcasting method, system, car-mounted terminal and handheld device |
CN110049193A (en) * | 2019-04-25 | 2019-07-23 | 北京云驾科技有限公司 | Wechat message back device based on vehicle-mounted HUD and steering wheel Bluetooth control |
-
2019
- 2019-08-22 CN CN201910779043.7A patent/CN112491690A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104539513A (en) * | 2014-12-11 | 2015-04-22 | 广东好帮手电子科技股份有限公司 | Voice message sending method and system based on vehicle WeChat |
CN107770056A (en) * | 2017-11-20 | 2018-03-06 | 上汽依维柯红岩商用车有限公司 | Vehicle-mounted voice chat system and control method based on wechat |
CN109150692A (en) * | 2018-07-28 | 2019-01-04 | 北京旺马科技有限公司 | Message automatic broadcasting method, system, car-mounted terminal and handheld device |
CN110049193A (en) * | 2019-04-25 | 2019-07-23 | 北京云驾科技有限公司 | Wechat message back device based on vehicle-mounted HUD and steering wheel Bluetooth control |
Non-Patent Citations (4)
Title |
---|
APPSO: "腾讯发布[车载微信],让你可以边开车边聊天", 《HTTPS://WWW.SOHU.COM/A/315925513_602994》 * |
MYQ: "车载微信语音没有声音?车载微信怎么安装", 《HTTPS://WWW.UPAN.CC/SHOUJIRUANJIAN/RUANJIANJIAOCHENG/2694.HTML》 * |
早梅芳: "腾讯将推出全语音控制车载微信", 《HTTPS://WWW.XIANJICHINA.COM/NEWS/DETAILS_90003.HTML》 * |
科技创谈: "车载微信来了!马化腾要把微信做成全语音的?未来微信是这样的!", 《HTTPS://BAIJIAHAO.BAIDU.COM/S?ID=1601623656006788184&WFR=SPIDER&FOR=PC》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113449197A (en) * | 2021-07-19 | 2021-09-28 | 北京百度网讯科技有限公司 | Information processing method, information processing apparatus, electronic device, and storage medium |
CN114063956A (en) * | 2021-11-11 | 2022-02-18 | 上汽通用五菱汽车股份有限公司 | Vehicle-mounted device and mobile terminal program interaction method, vehicle-mounted device and readable storage medium |
CN114063956B (en) * | 2021-11-11 | 2024-06-28 | 上汽通用五菱汽车股份有限公司 | Interaction method of vehicle-mounted device and mobile terminal program, vehicle-mounted device and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6811758B2 (en) | Voice interaction methods, devices, devices and storage media | |
US10091643B2 (en) | Method and apparatus for displaying associated information in electronic device | |
US11282519B2 (en) | Voice interaction method, device and computer readable storage medium | |
US9225831B2 (en) | Mobile terminal having auto answering function and auto answering method for use in the mobile terminal | |
US9111538B2 (en) | Genius button secondary commands | |
EP3248114A1 (en) | Contextual search using natural language | |
US20200258517A1 (en) | Electronic device for providing graphic data based on voice and operating method thereof | |
EP2160915B1 (en) | Automatic contact information entry via location sensing | |
WO2019153211A1 (en) | Application switching method, and terminal | |
CN110945467B (en) | Disturbance-free method and terminal | |
US9565289B2 (en) | Mobile terminal and method of controlling the same | |
CN110611733A (en) | Configuration method of shortcut entrance, terminal and computer storage medium | |
CN110708431A (en) | Call management method, communication terminal and storage medium | |
US20220382788A1 (en) | Electronic device and method for operating content using same | |
US20070270187A1 (en) | Information processing device | |
CN109036398A (en) | Voice interactive method, device, equipment and storage medium | |
CN106558311B (en) | Voice content prompting method and device | |
CN112491690A (en) | Method for transmitting voice information, mobile terminal, computer storage medium and system | |
CN111968680A (en) | Voice processing method, device and storage medium | |
CN111814492A (en) | Translation method, terminal and computer storage medium | |
CN107632835A (en) | Using installation method and device | |
CN109348048B (en) | Call message leaving method, terminal and device with storage function | |
CN108881766B (en) | Video processing method, device, terminal and storage medium | |
US20140128039A1 (en) | System and Method for Storing and Managing Voicemails | |
CN115150501A (en) | Voice interaction method and electronic equipment |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Room 208, building 4, 1411 Yecheng Road, Jiading District, Shanghai, 201821 Applicant after: Botai vehicle networking technology (Shanghai) Co.,Ltd. Address before: Room 208, building 4, 1411 Yecheng Road, Jiading District, Shanghai, 201821 Applicant before: SHANGHAI PATEO ELECTRONIC EQUIPMENT MANUFACTURING Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210312 |