CN105847545B - A kind of method and electronic equipment of typing voice - Google Patents

A kind of method and electronic equipment of typing voice Download PDF

Info

Publication number
CN105847545B
CN105847545B CN201610159160.XA CN201610159160A CN105847545B CN 105847545 B CN105847545 B CN 105847545B CN 201610159160 A CN201610159160 A CN 201610159160A CN 105847545 B CN105847545 B CN 105847545B
Authority
CN
China
Prior art keywords
mobile terminal
electronic equipment
bluetooth communication
communication protocol
another electronic
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.)
Active
Application number
CN201610159160.XA
Other languages
Chinese (zh)
Other versions
CN105847545A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610159160.XA priority Critical patent/CN105847545B/en
Publication of CN105847545A publication Critical patent/CN105847545A/en
Application granted granted Critical
Publication of CN105847545B publication Critical patent/CN105847545B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/23Manipulation of direct-mode connections

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of methods of typing voice, which comprises obtains first triggering command, the first triggering command is used to indicate mobile terminal starting voice input function and carries out voice collecting;Judge whether the mobile terminal passes through Bluetooth communication protocol and connect another electronic equipment based on the first triggering command;When the mobile terminal connects another electronic equipment by Bluetooth communication protocol, the mobile terminal disconnects the connection by Bluetooth communication protocol and another electronic equipment during starting the voice input function, to ensure that microphone of the mobile terminal after starting the voice input function based on the mobile terminal itself acquires voice data.Meanwhile the invention also discloses a kind of electronic equipment.Using technical solution of the present invention, the connection and disconnection of mobile terminal bluetooth and on-vehicle Bluetooth can be realized automatically according to the current working condition of mobile terminal, improves the usage experience of user.

Description

A kind of method and electronic equipment of typing voice
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of method and electronic equipment of typing voice.
Background technique
As the improvement of people's living standards, the use of automobile is more and more common in daily life, it goes out for people's Row is brought conveniently.During user drives, receiving calls or making a phone call in the car all by mobile phone can cause point It scatters vehicle attention, can not be correct and be absorbed in driving operating and controlling vehicle.Therefore, with the development of science and technology, general on automobile It is equipped with on-vehicle Bluetooth.
Currently, when mobile terminal (such as mobile phone) bluetooth and on-vehicle Bluetooth are in connection status, if user passes through mobile terminal When recording or sending voice-enabled chat by third party software, need to record according to record button;But user is playing back oneself Recording when, be often difficult to hear recording substance, or even can't hear any sound, so, when recording substance is dealt into pair by user When square terminal, what distant terminal received is often one section of noiseless voice.
Summary of the invention
In view of this, can needing to carry out present invention contemplates that provide the method and electronic equipment of a kind of typing voice When voice input, voice data is acquired using the microphone of mobile terminal itself, promotes the usage experience of user.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
The present invention provides a kind of methods of typing voice, which comprises
First triggering command is obtained, the first triggering command is used to indicate mobile terminal starting voice input function and carries out Voice collecting;
Judge whether the mobile terminal passes through Bluetooth communication protocol and connect another electronics based on the first triggering command Equipment;
When the mobile terminal connects another electronic equipment by Bluetooth communication protocol, the mobile terminal is in starting institute The connection for passing through Bluetooth communication protocol and another electronic equipment is disconnected during predicate sound input function, to ensure the movement Microphone of the terminal after starting the voice input function based on the mobile terminal itself acquires voice data.
In above scheme, it is preferable that the acquisition first triggering command, comprising:
When detecting that mobile terminal receives the first operation, first triggering command is obtained;Wherein, first operation is instruction Mobile terminal starts the operation that voice input function carries out voice collecting.
In above scheme, it is preferable that the method also includes:
Judge that the mobile terminal does not pass through Bluetooth communication protocol and connects another electronics when being based on the first triggering command When equipment, the mobile terminal is forbidden to set during the microphone based on itself acquires voice data to another electronics Preparation plays Bluetooth communication connection;Or forbid the mobile terminal during microphone based on itself acquires voice data Receive the Bluetooth communication connection that another electronic equipment is initiated to the mobile terminal.
In above scheme, it is preferable that the method also includes:
The second triggering command is obtained, second triggering command is used to indicate mobile terminal and closes voice input function;
Judge whether the mobile terminal needs to connect another electronic equipment by Bluetooth communication protocol;
When the mobile terminal needs to connect another electronic equipment by Bluetooth communication protocol, the mobile terminal is controlled The connection with another electronic equipment is initiated by Bluetooth communication protocol, or the mobile terminal is allowed to receive another electricity The connection that sub- equipment is initiated by Bluetooth communication protocol.
In above scheme, it is preferable that another electronic equipment includes: vehicle-mounted Bluetooth equipment.
The present invention also provides a kind of electronic equipment, the electronic equipment includes:
Sensor, for obtaining first triggering command, the first triggering command is used to indicate mobile terminal starting voice Input function carries out voice collecting;
Processor, for judging the mobile terminal whether by Bluetooth communication protocol company based on the first triggering command Connect another electronic equipment;
Controller, for when the mobile terminal connects another electronic equipment by Bluetooth communication protocol, the movement Terminal disconnects the connection by Bluetooth communication protocol and another electronic equipment during starting the voice input function, with Ensure that microphone of the mobile terminal after starting the voice input function based on the mobile terminal itself acquires language Sound data.
In above scheme, it is preferable that the sensor is also used to:
When detecting that mobile terminal receives the first operation, first triggering command is obtained;Wherein, first operation is instruction Mobile terminal starts the operation that voice input function carries out voice collecting.
In above scheme, it is preferable that the controller is also used to:
If the processor, which is based on the first triggering command, judges that the mobile terminal is not connected by Bluetooth communication protocol When connecing another electronic equipment, then forbid the mobile terminal during microphone based on itself acquires voice data to institute It states another electronic equipment and initiates Bluetooth communication connection;Or the mobile terminal is forbidden to acquire voice in the microphone based on itself The Bluetooth communication connection that another electronic equipment is initiated to the mobile terminal is received during data.
In above scheme, it is preferable that
The sensor, is also used to: obtaining the second triggering command, second triggering command is used to indicate mobile terminal pass Close voice input function;
The processor, is also used to: judging whether the mobile terminal needs to connect another electricity by Bluetooth communication protocol Sub- equipment;
The controller, is also used to: when the mobile terminal needs to connect another electronic equipment by Bluetooth communication protocol When, the mobile terminal is controlled by the connection of Bluetooth communication protocol initiation and another electronic equipment, or allows the shifting Dynamic terminal receives the connection that another electronic equipment is initiated by Bluetooth communication protocol.
In above scheme, it is preferable that another electronic equipment includes: vehicle-mounted Bluetooth equipment.
The method and electronic equipment of typing voice provided by the invention, obtain first triggering command, and first triggering refers to Order is used to indicate mobile terminal starting voice input function and carries out voice collecting;The shifting is judged based on the first triggering command Whether dynamic terminal, which passes through Bluetooth communication protocol, connects another electronic equipment;When the mobile terminal is connected by Bluetooth communication protocol When another electronic equipment, the mobile terminal disconnects during starting the voice input function passes through Bluetooth communication protocol With the connection of another electronic equipment, to ensure the mobile terminal after starting the voice input function based on the movement The microphone of terminal itself acquires voice data;In this way, can to use mobile terminal itself when needing to carry out voice input Microphone acquire voice data, promote the usage experience of user.
Detailed description of the invention
Fig. 1 is the implementation process schematic diagram one of the method for typing of embodiment of the present invention voice;
Fig. 2 is the schematic diagram of a scenario one of the method for typing of embodiment of the present invention voice;
Fig. 3 is the schematic diagram of a scenario two of the method for typing of embodiment of the present invention voice;
Fig. 4 is the implementation process schematic diagram two of the method for typing of embodiment of the present invention voice;
Fig. 5 is the schematic diagram of a scenario three of the method for typing of embodiment of the present invention voice;
Fig. 6 is the structural schematic diagram one of electronic equipment of the embodiment of the present invention;
Fig. 7 is the structural schematic diagram two of electronic equipment of the embodiment of the present invention.
Specific embodiment
In order to more fully hereinafter understand the features of the present invention and technology contents, with reference to the accompanying drawing to reality of the invention It is now described in detail, appended attached drawing purposes of discussion only for reference, is not used to limit the present invention.
In the method for recording input provided by the invention and the following embodiment of electronic equipment, related another electricity Sub- equipment includes but is not limited to: vehicle-mounted Bluetooth equipment and laptop bluetooth-capable, tablet computer, mobile phone, The terminals such as wearable device.The embodiment of the present invention preferably another electronic equipment object be vehicle-mounted Bluetooth equipment.
The technical solution of the present invention is further elaborated in the following with reference to the drawings and specific embodiments.
Embodiment one
Fig. 1 is the implementation process schematic diagram one of the method for typing of embodiment of the present invention voice, preferred real at the present invention one It applies in example, the method for the typing voice mainly comprises the steps that
Step 101: obtaining first triggering command, the first triggering command is used to indicate mobile terminal starting voice input Function carries out voice collecting.
In a specific embodiment, the acquisition first triggering command may include:
When detecting that mobile terminal receives the first operation, first triggering command is obtained.
Wherein, first operation starts the operation that voice input function carries out voice collecting for instruction mobile terminal.
It should be noted that the mobile terminal in the present embodiment has Bluetooth function.In the present embodiment, the mobile terminal Including but not limited to mobile phone, tablet computer, laptop, wearable device etc..
For example, first operation can be the touch control operation on the first application interface of mobile terminal, or it is directed to The button operation that mobile terminal first is applied, or the voice operating, etc. of the first application for mobile terminal.
Here, first application can be the application carried in mobile terminal system, for example, recording application etc., it can also To be the third-party application by user installation, for example, wechat application, QQ application, instant chat application etc..
For example, user opens the wechat application in mobile phone, voice-enabled chat function is selected on wechat application interface, is being detected When receiving the operation of the selection voice-enabled chat function to mobile phone, first triggering command is obtained, the first triggering command is used Voice collecting is carried out in instruction mobile terminal starting voice input function.
Here, the voice-enabled chat function in wechat application needs to be believed by voice capture device acquisition user voice to be entered Breath.In general, voice capture device can be microphone.
Step 102: judging the mobile terminal whether by Bluetooth communication protocol connection based on the first triggering command Another electronic equipment.
That is, just executing step 102 after obtaining first triggering command.
In the present embodiment, another electric equipment includes but is not limited to: vehicle-mounted Bluetooth equipment and have Bluetooth function The terminals such as laptop, tablet computer, mobile phone, wearable device.
In a specific embodiment, described to judge whether the mobile terminal passes through Bluetooth communication protocol and connect another electricity Sub- equipment, comprising:
Whether the Bluetooth function for detecting the mobile terminal is in the open state;
If so, continuing to judge whether the bluetooth of the mobile terminal with the bluetooth of another electronic equipment is in connection State, if the bluetooth of both the mobile terminal and described another electronic equipment determines institute in having matched and connected status It states mobile terminal and another electronic equipment is connected by Bluetooth communication protocol;
If not, determining that the mobile terminal does not pass through Bluetooth communication protocol and connects another electronic equipment.
In another specific embodiment, it is described judge the mobile terminal whether pass through Bluetooth communication protocol connect it is another Electronic equipment, comprising:
Whether the Bluetooth function for detecting another electronic equipment is in the open state;
If so, continuing to judge whether the bluetooth of another electronic equipment with the bluetooth of the mobile terminal is in connection State, if the bluetooth of both the mobile terminal and described another electronic equipment determines institute in having matched and connected status It states mobile terminal and another electronic equipment is connected by Bluetooth communication protocol;
If not, determining that the mobile terminal does not pass through Bluetooth communication protocol and connects another electronic equipment.
Step 103: when the mobile terminal connects another electronic equipment by Bluetooth communication protocol, the mobile terminal The connection for passing through Bluetooth communication protocol and another electronic equipment is disconnected, during starting the voice input function to ensure Microphone of the mobile terminal after starting the voice input function based on the mobile terminal itself acquires voice number According to.
That is, when mobile terminal needs to carry out voice input, if with another electronic equipment In bluetooth connection status, need to disconnect bluetooth connection.
It should be noted that disconnecting with the purpose of the bluetooth connection of another electronic equipment is that mobile terminal is allowed to use certainly The microphone of body carries out voice collecting, without the use of the microphone of another electronic equipment.
For example, during user drives enforcement, mobile phone and vehicle-mounted Bluetooth equipment are in connection status, cross one section After time, there is congestion in traffic, since traffic congestion may not be able to reach dating site on time, wants through wechat voice informing friend Its present situation, then clicks the voice-enabled chat function on wechat interface, which triggers electronic equipment and obtain first Triggering command;When electronic equipment detects that the mobile phone and vehicle-mounted Bluetooth equipment are in connection status, mobile phone and vehicle-mounted indigo plant are disconnected Connection between tooth equipment, to ensure mobile phone microphone based on the mobile phone itself after starting the voice input function Acquire voice data.
It so, it is possible to avoid often one section of nothing that distant terminal receives when recording substance is dealt into distant terminal by user The voice of sound and avoid the generation for being often difficult phenomena such as hearing recording substance when user plays back the recording of oneself.
In above scheme, it is preferable that the method can also include:
Judge that the mobile terminal does not pass through Bluetooth communication protocol and connects another electronics when being based on the first triggering command When equipment, the mobile terminal is forbidden to set during the microphone based on itself acquires voice data to another electronics Preparation plays Bluetooth communication connection;Or forbid the mobile terminal during microphone based on itself acquires voice data Receive the Bluetooth communication connection that another electronic equipment is initiated to the mobile terminal.
In a specific embodiment, described that the mobile terminal is forbidden to acquire voice data in the microphone based on itself During to another electronic equipment initiate Bluetooth communication connection, or forbid the mobile terminal in the wheat based on itself The Bluetooth communication connection that another electronic equipment is initiated to the mobile terminal is received during gram elegance collection voice data, May include:
Close the bluetooth of the mobile terminal;Or
Hide the bluetooth recognition code of the mobile terminal so that another electronic equipment and third electronic equipment without Method and the bluetooth of the mobile terminal are matched;Or
The bluetooth recognition code of the mobile terminal is changed, so that bluetooth recognition code after mobile terminal change and described another The bluetooth recognition code of one electronic equipment mismatches, and then match the mobile terminal can not with another electronic equipment.
Fig. 2 shows the schematic diagram of a scenario one of a kind of method of typing voice, as shown in Fig. 2, originally, first terminal and another One electronic equipment is in bluetooth connection status, and the bluetooth of the first terminal is in the open state, detects described in user's click After the operation of the talk button of first terminal, the bluetooth of the first terminal, first terminal and another electronic equipment are closed Bluetooth connection be interrupted.
It is, of course, also possible in mobile terminal during initiating Bluetooth communication connection to another electronic equipment, resistance Hinder the mobile terminal and another electronic equipment bluetooth connection between the two so that the mobile terminal with it is described The bluetooth connection of both another electronic equipments fails.
Fig. 3 shows the schematic diagram of a scenario two of a kind of method of typing voice;As shown in figure 3, originally, first terminal and another One electronic equipment is in bluetooth connection status, when detecting that the first terminal spreads news to third terminal transmission voice, resistance Hinder the mobile terminal and another electronic equipment bluetooth connection between the two, first terminal and another electronic equipment Bluetooth connection be interrupted.
Again for example, during user drives enforcement, mobile phone and vehicle-mounted Bluetooth equipment are in notconnect state, hand Machine receives the QQ video request that user friend sends, and user wants to click the receiving request button in QQ video clip, the click Operation triggering electronic equipment obtains first triggering command;Electronic equipment detects that the mobile phone and vehicle-mounted Bluetooth equipment are in non-company When connecing state, during user carries out Video chat, Bluetooth of mobile phone is forbidden to initiate the connection to vehicle-mounted Bluetooth equipment, Huo Zhejin Only the Bluetooth of mobile phone receives the connection that vehicle-mounted Bluetooth equipment is initiated to it;In this way, to ensure that mobile phone is starting the Speech Record The microphone based on the mobile phone itself acquires voice data after entering function.
In the present embodiment, the mobile terminal can be wearable electronic, mobile phone, tablet computer etc..
In embodiments of the present invention, it can be set according to the current working state control mobile terminal of mobile terminal with another electronics Bluetooth communication connection between standby, so that acquiring language using the microphone of mobile terminal itself when needing to carry out voice input Sound data promote the usage experience of user.
Embodiment two
Fig. 4 is the implementation process schematic diagram two of the method for typing of embodiment of the present invention voice, preferred real at the present invention one It applies in example, the method for the typing voice mainly comprises the steps that
Step 401: obtaining first triggering command, the first triggering command is used to indicate mobile terminal starting voice input Function carries out voice collecting.
In a specific embodiment, the acquisition first triggering command may include:
When detecting that mobile terminal receives the first operation, first triggering command is obtained.
Wherein, first operation starts the operation that voice input function carries out voice collecting for instruction mobile terminal.
It should be noted that the mobile terminal in the present embodiment has Bluetooth function.In the present embodiment, the mobile terminal Including but not limited to mobile phone, tablet computer, laptop, wearable device etc..
For example, user opens the recording application in mobile phone, is clicked on recording application interface and start record button, detected When receiving user to mobile phone this being selected to start the operation of record button, first triggering command, the first triggering command are obtained It is used to indicate mobile terminal starting voice input function and carries out voice collecting.
Step 402: judging the mobile terminal whether by Bluetooth communication protocol connection based on the first triggering command Another electronic equipment.
Step 403: when the mobile terminal connects another electronic equipment by Bluetooth communication protocol, the mobile terminal The connection for passing through Bluetooth communication protocol and another electronic equipment is disconnected, during starting the voice input function to ensure Microphone of the mobile terminal after starting the voice input function based on the mobile terminal itself acquires voice number According to.
That is, when mobile terminal needs to carry out voice input, if with another electronic equipment In bluetooth connection status, need to disconnect bluetooth connection.
Step 404: obtaining the second triggering command, second triggering command is used to indicate mobile terminal and closes voice input Function.
In a specific embodiment, the second triggering command of the acquisition may include:
When detecting that mobile terminal receives the second operation, the second triggering command is obtained.
For example, user clicked on recording application interface terminate record button, detect mobile phone receive user selection When this terminates the operation of record button, the second triggering command is obtained, second triggering command is used to indicate mobile terminal closing Voice input function.
Step 405: judging whether the mobile terminal needs to connect another electronic equipment by Bluetooth communication protocol.
In a specific embodiment, described to judge whether the mobile terminal needs to connect separately by Bluetooth communication protocol One electronic equipment, comprising:
Detect the current working status of the mobile terminal;
Determine whether mobile terminal needs to connect by Bluetooth communication protocol based on the current working status of the mobile terminal Connect another electronic equipment.
In a specific embodiment, whether the current working status based on the mobile terminal determines mobile terminal It needs to connect another electronic equipment by Bluetooth communication protocol, may include:
If detecting, the current working status of the mobile terminal can be completed by another electronic equipment, without When user being needed to contact the mobile terminal, then determine that mobile terminal needs to connect another electronics by Bluetooth communication protocol and sets It is standby.
In this way, the bluetooth between mobile terminal and another electronic equipment can be controlled according to the current working status of mobile terminal Communication connection.
For example, user is during driving, and after just exiting recording application, wants to beat to household suddenly A phone then has issued the phonetic order made a phone call to XXX, after electronic equipment detects that this is made a phone call, determines hand Machine needs are attached with bluetooth, the connection of mobile phone initiation and vehicle-mounted Bluetooth equipment are then controlled, in this way, user can pass through vehicle On sound equipment converse with household.
In another specific embodiment, it is described judge the mobile terminal whether pass through Bluetooth communication protocol connect it is another Electronic equipment, comprising:
Obtain the setting parameter of the mobile terminal;Wherein, the setting parameter includes: the connection side of mobile terminal bluetooth Formula;Wherein, the connection type includes actively connection and passive connection;
Judge that the mobile terminal needs to connect another electronic equipment by Bluetooth communication protocol based on the setting parameter.
For example, bluetooth connection mode set in user mobile phone is actively connection, then, user is driving During, after just exiting recording application, electronic equipment is detected based on bluetooth connection mode set in mobile phone Dynamic connection, then determine that mobile phone needs to connect vehicle-mounted Bluetooth equipment.
In another specific embodiment, it is described judge the mobile terminal whether pass through Bluetooth communication protocol connect it is another Electronic equipment, comprising:
Obtain the statistical information about bluetooth connection of mobile terminal;Wherein, the statistical information include: mobile terminal with The bluetooth connection number of another electronic equipment and every time the connection duration of bluetooth connection;
Judge that the mobile terminal needs to connect another electronic equipment by Bluetooth communication protocol based on the statistical information.
For example, user is during driving, and after just exiting recording application, electronic equipment is got The connection number and each connection duration of mobile phone and vehicle-mounted Bluetooth equipment meet preset condition, then determine that mobile phone needs to connect Vehicle-mounted Bluetooth equipment.Here, the preset condition can be connection number reach n times, every time connect duration be all larger than t seconds.
Step 406: when the mobile terminal needs to connect another electronic equipment by Bluetooth communication protocol, described in control Mobile terminal initiates the connection with another electronic equipment by Bluetooth communication protocol, or the mobile terminal is allowed to receive institute State the connection that another electronic equipment is initiated by Bluetooth communication protocol.
Fig. 5 shows the schematic diagram of a scenario three of a kind of method of typing voice, as shown in figure 5, originally, first terminal is It records, the bluetooth connection of first terminal and another electronic equipment is in interrupt status;It detects that user clicks and stops recording After the operation of button, the bluetooth of the first terminal is opened, first terminal initiates the bluetooth connection with another electronic equipment.
For example, user is during driving, and after just exiting recording application, electronic equipment determines hand Machine needs to connect vehicle-mounted Bluetooth equipment, then controls the connection of mobile phone initiation and vehicle-mounted Bluetooth equipment, or allow vehicle-mounted Bluetooth equipment Receive the connection that mobile phone is initiated.
In this way, both can ensure that mobile terminal after starting the voice input function based on the mobile terminal itself Microphone acquires voice data, and can restore in time or in due course the shifting after mobile terminal closes the voice input function The connection of dynamic terminal and another electronic equipment.
In embodiments of the present invention, it can be set according to the current working state control mobile terminal of mobile terminal with another electronics Bluetooth communication connection between standby, so that acquiring language using the microphone of mobile terminal itself when needing to carry out voice input Sound data improve the usage experience of user.Moreover it is possible to according to the current working status of mobile terminal or setting parameter or system The automatic bluetooth connection and disconnection for realizing mobile terminal and vehicle-mounted Bluetooth equipment such as information is counted, is user to mobile terminal bluetooth Using bringing convenience.
Embodiment three
Fig. 6 is the structural schematic diagram one of electronic equipment of the embodiment of the present invention, as shown in fig. 6, the electronic equipment includes:
Sensor 61, for obtaining first triggering command, the first triggering command is used to indicate mobile terminal starting language Sound input function carries out voice collecting;
Processor 62, for judging whether the mobile terminal passes through Bluetooth communication protocol based on the first triggering command Connect another electronic equipment;
Controller 63, for when the mobile terminal connects another electronic equipment by Bluetooth communication protocol, the shifting Dynamic terminal disconnects the connection by Bluetooth communication protocol and another electronic equipment during starting the voice input function, To ensure microphone acquisition of the mobile terminal after starting the voice input function based on the mobile terminal itself Voice data.
Preferably, the sensor 61, is also used to:
When detecting that mobile terminal receives the first operation, first triggering command is obtained;Wherein, first operation is instruction Mobile terminal starts the operation that voice input function carries out voice collecting.
Preferably, the controller 63, is also used to:
If the processor, which is based on the first triggering command, judges that the mobile terminal is not connected by Bluetooth communication protocol When connecing another electronic equipment, then forbid the mobile terminal during microphone based on itself acquires voice data to institute It states another electronic equipment and initiates Bluetooth communication connection;Or the mobile terminal is forbidden to acquire voice in the microphone based on itself The Bluetooth communication connection that another electronic equipment is initiated to the mobile terminal is received during data.
In a specific embodiment,
The sensor 61, is also used to: obtaining the second triggering command, second triggering command is used to indicate mobile terminal Close voice input function;
The processor 62, is also used to: it is another to judge whether the mobile terminal needs to connect by Bluetooth communication protocol Electronic equipment;
The controller 63, is also used to: setting when the mobile terminal needs to connect another electronics by Bluetooth communication protocol When standby, the mobile terminal is controlled by the connection of Bluetooth communication protocol initiation and another electronic equipment, or described in permission Mobile terminal receives the connection that another electronic equipment is initiated by Bluetooth communication protocol.
In above scheme, it is preferable that another electronic equipment are as follows: vehicle-mounted Bluetooth equipment.
It will be appreciated by those skilled in the art that in the electronic equipment of the embodiment of the present invention each device function, before can refer to It states the associated description of the method for typing voice and understands, each device in the electronic equipment of the embodiment of the present invention, it can be by realizing this The analog circuit of function described in inventive embodiments and realize, can also pass through execute the embodiment of the present invention described in function it is soft Operation of the part on intelligent terminal and realize.
Electronic equipment described in the present embodiment can to use the wheat of mobile terminal itself when needing to carry out voice input Gram elegance collection voice data, promotes the usage experience of user.
Example IV
Fig. 7 is the structural schematic diagram two of electronic equipment of the embodiment of the present invention, as shown in fig. 7, the electronic equipment includes:
Acquiring unit 71, for obtaining first triggering command, the first triggering command is used to indicate mobile terminal starting Voice input function carries out voice collecting;
Judging unit 72, for judging the mobile terminal whether by Bluetooth communication association based on the first triggering command View connects another electronic equipment;
Control unit 73, it is described for when the mobile terminal connects another electronic equipment by Bluetooth communication protocol Mobile terminal disconnects the company by Bluetooth communication protocol and another electronic equipment during starting the voice input function It connects, to ensure mobile terminal Mike's elegance based on the mobile terminal itself after starting the voice input function Collect voice data.
Preferably, the acquiring unit 71, is also used to:
When detecting that mobile terminal receives the first operation, first triggering command is obtained;Wherein, first operation is instruction Mobile terminal starts the operation that voice input function carries out voice collecting.
Preferably, described control unit 73 are also used to:
Judge that the mobile terminal does not pass through Bluetooth communication protocol and connects another electronics when being based on the first triggering command When equipment, the mobile terminal is forbidden to set during the microphone based on itself acquires voice data to another electronics Preparation plays Bluetooth communication connection;Or forbid the mobile terminal during microphone based on itself acquires voice data Receive the Bluetooth communication connection that another electronic equipment is initiated to the mobile terminal.
In another specific embodiment mode,
The acquiring unit 71, is also used to obtain the second triggering command, and second triggering command is used to indicate mobile whole Voice input function is closed at end;
It is another to be also used to judge whether the mobile terminal needs to connect by Bluetooth communication protocol for the judging unit 72 Electronic equipment;
Described control unit 73 is also used to set when the mobile terminal needs to connect another electronics by Bluetooth communication protocol When standby, the mobile terminal is controlled by the connection of Bluetooth communication protocol initiation and another electronic equipment, or described in permission Mobile terminal receives the connection that another electronic equipment is initiated by Bluetooth communication protocol.
In above scheme, it is preferable that another electronic equipment are as follows: vehicle-mounted Bluetooth equipment.
It will be appreciated by those skilled in the art that in the information processing unit of the embodiment of the present invention each unit function, can join According to aforementioned information processing method associated description and understand, each unit in the information processing unit of the embodiment of the present invention, can pass through It realizes the analog circuit of function described in the embodiment of the present invention and realizes, it can also be by executing function described in the embodiment of the present invention Can operation of the software on intelligent terminal and realize.
Acquiring unit 71, judging unit 72, control unit 73 in the electronic equipment, specific structure may both correspond to Processor.The specific structure of processor can be central processing unit (CPU, Central Processing Unit), micro- place Manage device (MCU, Micro Controller Unit), digital signal processor (DSP, Digital Signal Processing) Or programmable logic device (PLC, Programmable Logic Controller) etc. has the electronic component of processing function Or the set of electronic component.Wherein, the processor includes executable code, and the executable code is stored in storage medium In, the processor can execute specific each module by being connected in the communication interfaces such as bus and the storage medium When corresponding function, is read from the storage medium and run the executable code.The storage medium is described for storing The part of executable code is preferably non-moment storage medium.
The acquiring unit 71, judging unit 72, control unit 73 can integrate corresponding to same processor, or right respectively Answer different processors;When it is integrated correspond to same processor when, the processor using the time-division handle the acquiring unit 71, Judging unit 72, the corresponding function of control unit 73.
Electronic equipment described in the present embodiment can to use the wheat of mobile terminal itself when needing to carry out voice input Gram elegance collection voice data, promotes the usage experience of user.
In several embodiments provided by the present invention, it should be understood that disclosed method, apparatus and electronic equipment, It may be implemented in other ways.Apparatus embodiments described above are merely indicative, for example, the unit is drawn Point, only a kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can To combine, or it is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed The mutual coupling of each component part or direct-coupling or communication connection can be through some interfaces, equipment or unit Indirect coupling or communication connection can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned include: movable storage device, it is read-only Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or The various media that can store program code such as person's CD.
If alternatively, the above-mentioned integrated unit of the embodiment of the present invention is realized in the form of software function module and as independence Product when selling or using, also can store in a computer readable storage medium.Based on this understanding, this hair Substantially the part that contributes to existing technology can body in the form of software products in other words for the technical solution of bright embodiment Reveal and, which is stored in a storage medium, including some instructions are with so that a computer is set Standby (can be personal computer, server or network equipment etc.) executes the whole of each embodiment the method for the present invention Or part.And storage medium above-mentioned includes: that movable storage device, ROM, RAM, magnetic or disk etc. are various can store journey The medium of sequence code.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of method of typing voice, which comprises
First triggering command is obtained, the first triggering command is used to indicate mobile terminal starting voice input function and carries out voice Acquisition;
Judge whether the mobile terminal passes through Bluetooth communication protocol and connect another electronic equipment based on the first triggering command;
When the mobile terminal connects another electronic equipment by Bluetooth communication protocol, the mobile terminal is in starting institute's predicate The connection for passing through Bluetooth communication protocol and another electronic equipment is disconnected during sound input function, to ensure the mobile terminal Microphone after starting the voice input function based on the mobile terminal itself acquires voice data.
2. the method according to claim 1, wherein the acquisition first triggering command, comprising:
When detecting that mobile terminal receives the first operation, first triggering command is obtained;Wherein, first operation is instruction movement Terminal starts the operation that voice input function carries out voice collecting.
3. the method according to claim 1, wherein the method also includes:
Judge that the mobile terminal does not pass through Bluetooth communication protocol and connects another electronic equipment when being based on the first triggering command When, forbid the mobile terminal to send out during the microphone based on itself acquires voice data to another electronic equipment Play Bluetooth communication connection;Or the mobile terminal is forbidden to receive during the microphone based on itself acquires voice data The Bluetooth communication connection that another electronic equipment is initiated to the mobile terminal.
4. the method according to claim 1, wherein the method also includes:
The second triggering command is obtained, second triggering command is used to indicate mobile terminal and closes voice input function;
Judge whether the mobile terminal needs to connect another electronic equipment by Bluetooth communication protocol;
When the mobile terminal needs to connect another electronic equipment by Bluetooth communication protocol, controls the mobile terminal and pass through Bluetooth communication protocol initiates the connection with another electronic equipment, or allows the mobile terminal to receive another electronics and set The standby connection initiated by Bluetooth communication protocol.
5. the method according to claim 1, wherein another electronic equipment includes: vehicle-mounted Bluetooth equipment.
6. a kind of electronic equipment, the electronic equipment include:
Sensor, for obtaining first triggering command, the first triggering command is used to indicate mobile terminal starting voice input Function carries out voice collecting;
Processor, for judging whether the mobile terminal is another by Bluetooth communication protocol connection based on the first triggering command One electronic equipment;
Controller, for when the mobile terminal connects another electronic equipment by Bluetooth communication protocol, the mobile terminal The connection for passing through Bluetooth communication protocol and another electronic equipment is disconnected, during starting the voice input function to ensure Microphone of the mobile terminal after starting the voice input function based on the mobile terminal itself acquires voice number According to.
7. electronic equipment according to claim 6, which is characterized in that the sensor is also used to:
When detecting that mobile terminal receives the first operation, first triggering command is obtained;Wherein, first operation is instruction movement Terminal starts the operation that voice input function carries out voice collecting.
8. electronic equipment according to claim 6, which is characterized in that the controller is also used to:
If the processor, which is based on the first triggering command, judges that the mobile terminal is not connected separately by Bluetooth communication protocol When one electronic equipment, then forbid the mobile terminal during microphone based on itself acquires voice data to described another One electronic equipment initiates Bluetooth communication connection;Or the mobile terminal is forbidden to acquire voice data in the microphone based on itself During receive the Bluetooth communication connection that another electronic equipment initiates to the mobile terminal.
9. electronic equipment according to claim 6, which is characterized in that
The sensor, is also used to: obtaining the second triggering command, second triggering command is used to indicate mobile terminal and closes language Sound input function;
The processor, is also used to: judging whether the mobile terminal needs to connect another electronics by Bluetooth communication protocol and set It is standby;
The controller, is also used to: when the mobile terminal needs to connect another electronic equipment by Bluetooth communication protocol, control The mobile terminal is made by the connection of Bluetooth communication protocol initiation and another electronic equipment, or allows the mobile terminal Receive the connection that another electronic equipment is initiated by Bluetooth communication protocol.
10. electronic equipment according to claim 6, which is characterized in that another electronic equipment includes: that on-vehicle Bluetooth is set It is standby.
CN201610159160.XA 2016-03-18 2016-03-18 A kind of method and electronic equipment of typing voice Active CN105847545B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610159160.XA CN105847545B (en) 2016-03-18 2016-03-18 A kind of method and electronic equipment of typing voice

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610159160.XA CN105847545B (en) 2016-03-18 2016-03-18 A kind of method and electronic equipment of typing voice

Publications (2)

Publication Number Publication Date
CN105847545A CN105847545A (en) 2016-08-10
CN105847545B true CN105847545B (en) 2019-06-25

Family

ID=56588419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610159160.XA Active CN105847545B (en) 2016-03-18 2016-03-18 A kind of method and electronic equipment of typing voice

Country Status (1)

Country Link
CN (1) CN105847545B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106170032A (en) * 2016-09-22 2016-11-30 乐视控股(北京)有限公司 The way of recording of a kind of speech data and device
CN111357263A (en) * 2017-09-29 2020-06-30 深圳传音通讯有限公司 Call recording method and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223457A (en) * 2010-04-15 2011-10-19 顾翠红 Alarm device which is communicated with mobile phone
CN103118176A (en) * 2013-01-16 2013-05-22 广东好帮手电子科技股份有限公司 Method and system for achieving mobile phone voice control function through on-board host computer
CN103929836A (en) * 2014-04-11 2014-07-16 北京工业大学 Tablet personal computer wireless communication method based on Bluetooth protocol
CN104539513A (en) * 2014-12-11 2015-04-22 广东好帮手电子科技股份有限公司 Voice message sending method and system based on vehicle WeChat

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130140304A (en) * 2012-06-14 2013-12-24 주식회사 아이원맥스 Management apparatus of digital tachograph using smart phone and method for managing the same
KR20140030684A (en) * 2012-09-03 2014-03-12 현대모비스 주식회사 Av system capable of checking the message of cellular phones while the vehicles running and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223457A (en) * 2010-04-15 2011-10-19 顾翠红 Alarm device which is communicated with mobile phone
CN103118176A (en) * 2013-01-16 2013-05-22 广东好帮手电子科技股份有限公司 Method and system for achieving mobile phone voice control function through on-board host computer
CN103929836A (en) * 2014-04-11 2014-07-16 北京工业大学 Tablet personal computer wireless communication method based on Bluetooth protocol
CN104539513A (en) * 2014-12-11 2015-04-22 广东好帮手电子科技股份有限公司 Voice message sending method and system based on vehicle WeChat

Also Published As

Publication number Publication date
CN105847545A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN105120122A (en) Alarm method and device
CN104717377B (en) Scene modes of mobile terminal switching method, device and mobile terminal
CN105975063B (en) A kind of method and apparatus controlling intelligent terminal
CN104954361B (en) Contact person's verification method, apparatus and system
CN112887194B (en) Interactive method, device, terminal and storage medium for realizing communication of hearing-impaired people
CN110389697A (en) Data interactive method and device, storage medium and electronic device
CN105915521A (en) Multi-party communication management method, device and terminal
CN105847545B (en) A kind of method and electronic equipment of typing voice
CN106911840A (en) Mobile terminal and its voice service method and device
CN109005107A (en) The means of communication, intelligent terminal and the device with store function
CN105635482A (en) Call processing method and device
CN108958863A (en) The function triggering method and device of application program
CN105338171B (en) A kind of wearable device emergency contact setting method and device
CN105516605A (en) Shooting method and device
CN104023120B (en) The method and apparatus of call
CN112863511B (en) Signal processing method, device and storage medium
CN108134870A (en) Method for sending voice message and device
CN107635272A (en) Control method of electronic device and device
CN107071859A (en) network connection processing method, device and terminal
CN103778359B (en) Multi medium information treatment system and method for processing multimedia information
CN107277422A (en) Video call method, apparatus and system
CN106488051B (en) Call processing method and device
CN109688330A (en) A kind of control method, device and electronic equipment
CN109565890A (en) The accidental access method and device of competition
CN108762830A (en) Control the method and device of application program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant