CN109995475A - A kind of control method of intelligent terminal, device, storage medium and electronic equipment - Google Patents
A kind of control method of intelligent terminal, device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN109995475A CN109995475A CN201910271951.5A CN201910271951A CN109995475A CN 109995475 A CN109995475 A CN 109995475A CN 201910271951 A CN201910271951 A CN 201910271951A CN 109995475 A CN109995475 A CN 109995475A
- Authority
- CN
- China
- Prior art keywords
- intelligent terminal
- target voice
- format
- coding result
- interface channel
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 239000011159 matrix material Substances 0.000 claims description 21
- 230000015654 memory Effects 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 6
- 235000013399 edible fruits Nutrition 0.000 claims 1
- 238000004891 communication Methods 0.000 abstract description 17
- 230000005540 biological transmission Effects 0.000 description 11
- 230000006870 function Effects 0.000 description 7
- 230000008901 benefit Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000033228 biological regulation Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- 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
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0015—Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0033—Systems modifying transmission characteristics according to link quality, e.g. power backoff arrangements specific to the transmitter
-
- 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
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the present application discloses control method, device, storage medium and the electronic equipment of a kind of intelligent terminal.It is instructed this method comprises: obtaining at least one of local preset phonetic order as target voice;If judging to have built up with the interface channel of intelligent terminal, it is determined that the coded format that intelligent terminal is supported;The coded format supported using intelligent terminal encodes target voice director data, obtain coding result, and coding result is sent to intelligent terminal by interface channel, so that intelligent terminal is decoded coding result, target voice instruction is obtained, and passes through voice assistant performance objective phonetic order.By executing technical solution provided by the present embodiment, phonetic order can be transmitted by way of data, to realize the control to intelligent terminal, reach without considering the problem whether communication protocol between the two is compatible with, and without carrying out additional software development and HardwareUpgring, there is preferable applicability.
Description
Technical field
The invention relates to field of communication technology more particularly to a kind of control methods of intelligent terminal, device, storage
Medium and electronic equipment.
Background technique
With the rapid development of social economy, scientific and technological level is gradually increased, and intelligent terminal has become in people's life
Essential communications and entertainment tool.
Control for intelligent terminal, by the previous mode directly operated, developing to and set by other gradually
The mode of standby interaction controls intelligent terminal.The interactive mode of traditional equipment and intelligent terminal, generally by physical interface or
Person's network protocol interface interacts, such as USB (Universal Serial Bus, universal serial bus), WIFI
(Wireless Fidelity, Wireless LAN) and Bluetooth (bluetooth) etc..However, this interaction needs equipment and intelligence
Energy terminal uses identical communication protocol.And the communication protocol of different company or different product be it is incompatible, so the two it
Between can not direct communication.
Summary of the invention
The embodiment of the present application provides control method, device, storage medium and the electronic equipment of a kind of intelligent terminal, to overcome
The incompatible problem of communication of the equipment with intelligent terminal.
In a first aspect, the embodiment of the present application provides a kind of control method of intelligent terminal, this method comprises:
At least one of local preset phonetic order is obtained to instruct as target voice;
If judging to have built up with the interface channel of intelligent terminal, it is determined that the coding lattice that the intelligent terminal is supported
Formula;
The coded format supported using the intelligent terminal encodes the target voice director data, is compiled
Code as a result, and the coding result is sent to the intelligent terminal by the interface channel so that the intelligent terminal pair
Coding result is decoded, and obtains the target voice instruction, and execute the target voice by voice assistant and instruct.
Further, the target voice director data is carried out in the coded format supported using the intelligent terminal
Coding, before obtaining coding result, the method also includes:
Whether the storage format for determining the target voice instruction is phonetic matrix;
If so, executing: the coded format supported using the intelligent terminal to the target voice director data into
Row coding, obtains coding result.
Further, determining whether the storage format of the target voice instruction is the method after phonetic matrix
Further include:
If it is not, the format that the target voice instructs then is converted to phonetic matrix, and execute: utilizing the intelligent terminal
The coded format supported encodes the target voice director data, obtains coding result.
Further, the format that the target voice instructs is converted into phonetic matrix, comprising:
By local TTS interface, alternatively, the format that the target voice instructs is converted to language by network TTS interface
Sound format.
Further, the target voice director data is carried out in the coded format supported using the intelligent terminal
Coding, obtains coding result, and before the coding result is sent to the intelligent terminal by the interface channel, described
Method further include:
Determine the bandwidth of the interface channel;
According to the bandwidth of the interface channel, the code rate encoded to the target voice director data is determined.
Further, in target voice instruction acquisition module, for obtaining at least one in local preset phonetic order
After a instruction as target voice, the method also includes:
If judging not setting up with the interface channel of intelligent terminal, stop sending the target voice instruction.
Further, the interface channel include: the channel BLE of Bluetooth agreement, the channel SPP, the channel HFP and
One of channel iAP.
Second aspect, the embodiment of the present application provide a kind of control device of intelligent terminal, which includes:
Target voice instruction acquisition module, for obtaining at least one of local preset phonetic order as target language
Sound instruction;
Coded format determining module, if for judging to have built up with the interface channel of intelligent terminal, it is determined that the intelligence
The coded format that energy terminal is supported;
Target voice instruction sending module, the coded format for being supported using the intelligent terminal is to the target language
Sound director data is encoded, and obtains coding result, and the coding result is sent to the intelligence by the interface channel
Energy terminal obtains the target voice instruction, and pass through voice assistant so that the intelligent terminal is decoded coding result
Execute the target voice instruction.
Further, described device further includes storage format determining module, the storage format determining module, comprising:
Storage format judging unit, for determining whether the storage format of the target voice instruction is phonetic matrix;
If so, executing: the coded format supported using the intelligent terminal to the target voice director data into
Row coding, obtains coding result.
Further, the storage format determining module, further includes:
Format conversion unit instructs the target voice if being judged as NO for the storage format judging unit
Format be converted to phonetic matrix, and execute: the coded format supported using the intelligent terminal refers to the target voice
It enables data be encoded, obtains coding result.
Further, the format conversion unit, is specifically used for:
By local TTS interface, alternatively, the format that the target voice instructs is converted to language by network TTS interface
Sound format.
Further, described device further includes code rate determining module, and the code rate determining module includes:
Bandwidth determination unit, for determining the bandwidth of the interface channel;
Code rate determination unit, for the bandwidth according to the interface channel, determine to the target voice director data into
The code rate of row coding.
Further, described device further include:
Target voice instruction sends control module, if stopping for judging not setting up with the interface channel of intelligent terminal
Send the target voice instruction.
Further, the interface channel include: the channel BLE of Bluetooth agreement, the channel SPP, the channel HFP and
One of channel iAP.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence realizes the control method of the intelligent terminal as described in the embodiment of the present application when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of electronic equipment, including memory, processor and are stored in storage
It can realize on device and when the computer program of processor operation, the processor execute the computer program as the application is real
Apply the control method of intelligent terminal described in example.
Technical solution provided by the embodiment of the present application obtains at least one of local preset phonetic order and is used as mesh
Mark phonetic order;If judging to have built up with the interface channel of intelligent terminal, it is determined that the coding that the intelligent terminal is supported
Format;The coded format supported using the intelligent terminal encodes the target voice director data, is encoded
As a result, and the coding result is sent to the intelligent terminal by the interface channel so that the intelligent terminal is to volume
Code result is decoded, and obtains the target voice instruction, and execute the target voice by voice assistant and instruct.By adopting
With technical solution provided herein, phonetic order can be transmitted by way of data, to realize the control to intelligent terminal
System reaches without considering the problem whether communication protocol between the two is compatible with, and without carrying out additional software development and hard
Part upgrading, has preferable applicability.
Detailed description of the invention
Fig. 1 is the flow chart of the control method for the intelligent terminal that the embodiment of the present application one provides;
Fig. 2 is the flow chart of the control method for the intelligent terminal that the embodiment of the present application two provides;
Fig. 3 is the flow chart of the control method for the intelligent terminal that the embodiment of the present application three provides;
Fig. 4 is the structural schematic diagram of the control device for the intelligent terminal that the embodiment of the present application four provides;
Fig. 5 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present application six provides.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the application, rather than the restriction to the application.It also should be noted that in order to just
Part relevant to the application is illustrated only in description, attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation
The processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with
Corresponding to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is the flow chart of the control method for the intelligent terminal that the embodiment of the present application one provides, and the present embodiment may be adapted to lead to
The case where crossing voice technology control intelligent terminal, the control dress of this method intelligent terminal as provided by the embodiment of the present application
Execution is set, which can be realized by the mode of software and/or hardware, and can be integrated in electronic equipment.
As shown in Figure 1, the control method of the intelligent terminal includes:
S110, at least one of local preset phonetic order is obtained as target voice instruction.
Wherein, electronic equipment involved in the application can be any equipment that can be communicated with intelligent terminal, such as
Bluetooth communication, wireless communication etc..Specifically, electronic equipment can be intelligent sound box, mobile phone support and self-shooting bar
Deng.Electronic equipment locally needs storaged voice to instruct, and wherein phonetic order can be one or more.Such as, intelligent sound box sheet
Ground storage phonetic order may include turn on music player software, beginning, pause, play next track, disconnect network connection with
And call someone equal phonetic orders.The phonetic order that mobile phone support is locally stored may include being switched to vehicle-mounted mode.From
The phonetic order that dabber is locally stored may include turn on camera, take pictures.Due to the difference using function of electronic equipment,
So different electronic equipments can be directed to, preset different phonetic order can pass through electricity so in actual use
Sub- equipment control intelligent terminal realizes one or more kinds of functions.
In the present embodiment, at least one in local preset phonetic order can be obtained according to the actual demand of user
It is a to be instructed as target voice.For example, then can be understood as using when smart phone is placed on above mobile phone support by user
It is vehicle-mounted mode that the demand at family, which is by the pattern switching of mobile phone,.The phonetic order for being then switched to vehicle-mounted mode can be determined as target
Phonetic order.
If S120, judgement and the interface channel of intelligent terminal have built up, it is determined that the volume that the intelligent terminal is supported
Code format.
Wherein, the interface channel of electronic equipment and intelligent terminal may include USB, WIFI and Bluetooth etc., Ke Yitong
It crosses and detects corresponding physical interface or communication protocol interface, judge whether to establish connection with intelligent terminal.If so, can
To determine coded format that intelligent terminal is supported by interactive mode.For example, in the determining interface channel with intelligent terminal
After having built up, the coded format that intelligent terminal is supported can be got by way of sending coded format request.
In the present embodiment, optionally, in target voice instruction acquisition module, for obtaining local preset phonetic order
At least one of as target voice instruction after, the method also includes: if judgement with the interface channel of intelligent terminal not
It establishes, then stops sending the target voice instruction.Wherein, it if detection interface channel is not set up, or disconnects, then stops sending out
The target voice is sent to instruct, the benefit being arranged in this way is can to ask to avoid what is be not performed really after target voice instruction transmission
Topic, and electronic equipment one end is instructed due to having had sent target voice, after re-attached, and will not actively be sent out again
It send, which results in do not play substantive control effect.
The interface channel includes: in the channel BLE, the channel SPP, the channel HFP and the channel iAP of Bluetooth agreement
One kind.Wherein, it is that low power consumption transmission may be implemented the advantages of BLE.SPP defines how setting virtual serial port and such as
What connects two bluetooth equipments.SPP is based on 07.10 specification of ETSI TS, provides serial commodity using RFCOMM agreement and emulates.
SPP provides the method for wirelessly substituting existing RS-232 serial communication application program and controlling signal.SPP is DUN,
FAX, HSP and lan profile provide the foundation.It the advantage is that compatibility is guaranteed.HFP(Hands-free
Profile), allow bluetooth equipment to can control phone, such as answer, hang up, rejection, phonetic dialing, rejection, phonetic dialing will regard
Whether bluetooth headset and phone are supported, are a kind of settable modes for allowing bluetooth headset to enter high-fidelity call.IAP agreement
Service Class UUID, if intelligent terminal possesses this service, in bluetooth discovery procedure, intelligent terminal can be with
The title of the bluetooth access of display discovery.
S130, the coded format supported using the intelligent terminal encode the target voice director data,
Coding result is obtained, and the coding result is sent to the intelligent terminal by the interface channel, so that the intelligence
Terminal is decoded coding result, obtains the target voice instruction, and execute the target voice by voice assistant and refer to
It enables.
Wherein, after obtaining the coded format that intelligent terminal is supported, this coded format can be used, to determining
Target voice director data encoded, obtain coding result, and the coding result is sent by the interface channel
To the intelligent terminal.Wherein, target voice director data can be text data, be also possible to voice data, can also adopt
With the data of extended formatting.In the present embodiment, as long as intelligent terminal can be received and be decoded, target voice instruction is obtained i.e.
It can.
After obtaining coding result, intelligent terminal is decoded coding result, obtains the target voice instruction, and
The target voice instruction is executed by voice assistant.Wherein, voice assistant can pass through the knowledge to target voice director data
Not, it determines that target voice instructs, and executes the target voice instruction.
Technical solution provided by the embodiment of the present application obtains at least one of local preset phonetic order and is used as mesh
Mark phonetic order;If judging to have built up with the interface channel of intelligent terminal, it is determined that the coding that the intelligent terminal is supported
Format;The coded format supported using the intelligent terminal encodes the target voice director data, is encoded
As a result, and the coding result is sent to the intelligent terminal by the interface channel so that the intelligent terminal is to volume
Code result is decoded, and obtains the target voice instruction, and execute the target voice by voice assistant and instruct.By adopting
With technical solution provided herein, phonetic order can be transmitted by way of data, to realize the control to intelligent terminal
System reaches without considering the problem whether communication protocol between the two is compatible with, and without carrying out additional software development and hard
Part upgrading, has preferable applicability.
Embodiment two
Fig. 2 is the flow chart of the control method for the intelligent terminal that the embodiment of the present application two provides.The present embodiment is in above-mentioned reality
It is specific to optimize are as follows: the target voice is instructed in the coded format supported using the intelligent terminal on the basis of applying example
Data are encoded, before obtaining coding result, the method also includes: determining the storage format of the target voice instruction is
No is phonetic matrix;If so, executing: instructing number to the target voice using the coded format that the intelligent terminal is supported
According to being encoded, coding result is obtained.Determining whether the storage format of the target voice instruction is institute after phonetic matrix
It states method further include: if it is not, the format that the target voice instructs then is converted to phonetic matrix, and execute: utilizing the intelligence
The coded format that energy terminal is supported encodes the target voice director data, obtains coding result.
As shown in Fig. 2, the control method of the intelligent terminal includes:
S210, at least one of local preset phonetic order is obtained as target voice instruction.
If S220, judgement and the interface channel of intelligent terminal have built up, it is determined that the volume that the intelligent terminal is supported
Code format.
Whether S230, the storage format for judging the target voice instruction are phonetic matrix.If it is not, then executing S240;If
It is then to execute S250.
Wherein, since some electronic equipments are in view of the relationship of the size of FLASH, its preset phonetic order may be adopted
It is stored with text formatting.Therefore, before sending phonetic order to intelligent terminal, the format of phonetic order can be first determined
It whether is phonetic matrix.If so, determining target voice instruction can be directly transmitted.Execute following S250.
S240, the format that the target voice instructs is converted into phonetic matrix.And execute S250.
Wherein, the mode that the format that target voice instructs is converted to phonetic matrix is had very much.
In the present embodiment, it is preferred that the format that the target voice instructs is converted into phonetic matrix, comprising: pass through
Local TTS (Text To Speech, from Text To Speech) interface, alternatively, by network TTS interface, by the target voice
The format of instruction is converted to phonetic matrix.Wherein it is possible to by the TTS interface of electronic equipment local, or pass through network service
The TTS interface that device provides, Lai Shixian text formatting are converted to phonetic matrix.The benefit being arranged in this way may insure transmitted
Target voice information can be identified by the voice assistant of intelligent terminal, determine the true content of operational order.
S250, the coded format supported using the intelligent terminal encode the target voice director data,
Obtain coding result.
S260, the coding result is sent to the intelligent terminal by the interface channel, so that the intelligence is eventually
End is decoded coding result, obtains the target voice instruction, and execute the target voice by voice assistant and instruct.
The present embodiment on the basis of the above embodiments, provides a kind of lattice by local preset phonetic order
The method that formula is identified and handled, the benefit being arranged in this way is can be after intelligent terminal receives target voice instruction, energy
The content of phonetic order is enough recognized by system voice assistant or third party's voice assistant, and then intelligent terminal is controlled
System, can not only overcome the problems, such as compatibility, while can also ensure that the stability of this programme, not will receive transmitted voice
The influence of the format of instruction.
On the basis of above-mentioned each technical solution, it is preferred that in the coded format pair supported using the intelligent terminal
The target voice director data is encoded, and obtains coding result, and the coding result is sent out by the interface channel
It send to before the intelligent terminal, the method also includes: determine the bandwidth of the interface channel;According to the interface channel
Bandwidth determines the code rate encoded to the target voice director data.Wherein, the bandwidth for the interface channel established is got over
Width, the then code rate encoded can be higher.The benefit being arranged in this way be the service efficiency of interface channel can be improved, and avoid by
It is excessively high in code rate, transmission rate caused by bandwidth is inadequate decline even error of transmission the case where.
Embodiment three
Fig. 3 is the flow chart of the control method for the intelligent terminal that the embodiment of the present application three provides.It is right by taking smart phone as an example
The embodiment of the present application is made that more detailed explanation and explanation.As shown in figure 3, the control method of the intelligent terminal includes:
Intelligent hardware devices booting operation.Intelligent hardware devices can be any one in above-mentioned electronic equipment.It checks
Transmission channel.If not setting up, stop sending phonetic order.If having been established, preset literal order is further determined whether.If
It is then to be converted to phonetic order, concurrent sending voice instruction, if it is not, can then directly transmit the phonetic order.By phonetic order
Data are transmitted to after smart phone, and smart phone receives phonetic order.Smart phone processing phonetic order simultaneously realizes that intelligence is hard
The operation purpose of part.
Specifically, following process can be used:
(1) intelligent hardware devices booting operation, which is defined according to the function of required realization and smart phone
Voice assistant and application program, can preset one group specified voice operating instructions to the support situation of phonetic order.
(2) check transmission channel between intelligent hardware devices and smart phone whether it has been established that if not setting up, not into
The transmission of row phonetic order operates.
(3) because certain hardware devices are since memory space limits, preset operational order is text information.This step inspection
Whether preset phonetic order is literal order, if literal order, needs first to be converted to by local or network TTS interface
Phonetic order information.
(4) voice command data is sent to smart phone, according to the bandwidth of transmission channel and intelligent hand using transmission channel
The coded format that machine is supported needs to encode voice data, is then sent to smart phone before transmitting.
(5) smart phone receives phonetic order, carries out corresponding decoding process.The speech recognition base of smart phone at present
It is all handled beyond the clouds in sheet, so mobile phone side can carry out cloud speech recognition by network, semanteme is parsed, then mobile phone operation system
System or voice assistant application program can do corresponding processing to semanteme, which may be hard according to specific semantic operation and intelligence
Part carries out multiple request of data, and if necessary to this request, Intelligent hardware can do multiple voice number according to preset operational order
According to transmission.
(6) it by the above process, completes to realize the desired operation of Intelligent hardware by smart phone.
The phonetic order that the present invention is supported using smart phone voice assistant, it is right to complete the functional requirement of Intelligent hardware
In the hardware product for meeting demand, the phonetic order supported using mobile phone speech assistant and application program can be directly realized by production
Product demand.For voice transfer channel, the present invention can be by the channel BLE, SPP, HFP or iAP of Bluetooth agreement come real
It is existing, the protocol realization of other support phonetic order transmission can also be passed through.
Compared with prior art, privately owned communication protocol of the technical solution proposed by the present invention without definition and mobile phone terminal, makes
The phonetic order supported with mobile phone speech assistant and application program, can complete some hardware for meeting demand by smart phone
Product.The present invention not only saves software development and installation cost, also improves the user-interaction experience of product.
Example IV
Fig. 4 is the structural schematic diagram of the control device for the intelligent terminal that the embodiment of the present application four provides.As shown in figure 4, institute
State the control device of intelligent terminal, comprising:
Target voice instruction acquisition module 410, for obtaining at least one of local preset phonetic order as mesh
Mark phonetic order;
Coded format determining module 420, if for judging to have built up with the interface channel of intelligent terminal, it is determined that described
The coded format that intelligent terminal is supported;
Target voice instruction sending module 430, the coded format for being supported using the intelligent terminal is to the mesh
Mark voice command data is encoded, and obtains coding result, and the coding result is sent to institute by the interface channel
Intelligent terminal is stated, so that the intelligent terminal is decoded coding result, obtains the target voice instruction, and pass through voice
Assistant executes the target voice instruction.
Technical solution provided by the embodiment of the present application obtains at least one of local preset phonetic order and is used as mesh
Mark phonetic order;If judging to have built up with the interface channel of intelligent terminal, it is determined that the coding that the intelligent terminal is supported
Format;The coded format supported using the intelligent terminal encodes the target voice director data, is encoded
As a result, and the coding result is sent to the intelligent terminal by the interface channel so that the intelligent terminal is to volume
Code result is decoded, and obtains the target voice instruction, and execute the target voice by voice assistant and instruct.By adopting
With technical solution provided herein, phonetic order can be transmitted by way of data, to realize the control to intelligent terminal
System reaches without considering the problem whether communication protocol between the two is compatible with, and without carrying out additional software development and hard
Part upgrading, has preferable applicability.
On the basis of above-mentioned each technical solution, optionally, described device further includes storage format determining module, described to deposit
Store up format determination module, comprising:
Storage format judging unit, for determining whether the storage format of the target voice instruction is phonetic matrix;
If so, executing: the coded format supported using the intelligent terminal to the target voice director data into
Row coding, obtains coding result.
On the basis of above-mentioned each technical solution, optionally, the storage format determining module, further includes:
Format conversion unit instructs the target voice if being judged as NO for the storage format judging unit
Format be converted to phonetic matrix, and execute: the coded format supported using the intelligent terminal refers to the target voice
It enables data be encoded, obtains coding result.
On the basis of above-mentioned each technical solution, optionally, the format conversion unit is specifically used for:
By local TTS interface, alternatively, the format that the target voice instructs is converted to language by network TTS interface
Sound format.
On the basis of above-mentioned each technical solution, optionally, described device further includes code rate determining module, and the code rate is true
Cover half block includes:
Bandwidth determination unit, for determining the bandwidth of the interface channel;
Code rate determination unit, for the bandwidth according to the interface channel, determine to the target voice director data into
The code rate of row coding.
On the basis of above-mentioned each technical solution, optionally, described device further include:
Target voice instruction sends control module, if stopping for judging not setting up with the interface channel of intelligent terminal
Send the target voice instruction.
On the basis of above-mentioned each technical solution, optionally, the interface channel includes: the BLE of Bluetooth agreement logical
One of road, the channel SPP, the channel HFP and the channel iAP.
Method provided by the application any embodiment can be performed in the said goods, has the corresponding functional module of execution method
And beneficial effect.
Embodiment five
The embodiment of the present application also provides a kind of storage medium comprising computer executable instructions, and the computer is executable
It instructs when being executed by computer processor for executing a kind of control method of intelligent terminal, this method comprises:
At least one of local preset phonetic order is obtained to instruct as target voice;
If judging to have built up with the interface channel of intelligent terminal, it is determined that the coding lattice that the intelligent terminal is supported
Formula;
The coded format supported using the intelligent terminal encodes the target voice director data, is compiled
Code as a result, and the coding result is sent to the intelligent terminal by the interface channel so that the intelligent terminal pair
Coding result is decoded, and obtains the target voice instruction, and execute the target voice by voice assistant and instruct.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap
It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDR RAM, SRAM, EDO RAM, Lan Basi (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium
(such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other
Memory of type or combinations thereof.In addition, storage medium can be located at program in the computer system being wherein performed, or
It can be located in different second computer systems, second computer system is connected to computer by network (such as internet)
System.Second computer system can provide program instruction to computer for executing.Term " storage medium " may include can
To reside in different location two or more storage mediums of (such as in the different computer systems by network connection).
Storage medium can store the program instruction (such as being implemented as computer program) that can be performed by one or more processors.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present application
The policer operation for the absorbed degree that executable instruction is not limited to the described above can also be performed the application any embodiment and be provided
Intelligent terminal control method in relevant operation.
Embodiment six
The embodiment of the present application provides a kind of electronic equipment, and intelligence provided by the embodiments of the present application can be integrated in the electronic equipment
The control device of energy terminal.Fig. 5 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present application six provides.As shown in figure 5,
Present embodiments provide a kind of electronic equipment 500 comprising: one or more processors 520;Storage device 510, for storing
One or more programs, when one or more of programs are executed by one or more of processors 520, so that one
Or multiple processors 520 realize the control method of intelligent terminal provided by the embodiment of the present application, this method comprises:
At least one of local preset phonetic order is obtained to instruct as target voice;
If judging to have built up with the interface channel of intelligent terminal, it is determined that the coding lattice that the intelligent terminal is supported
Formula;
The coded format supported using the intelligent terminal encodes the target voice director data, is compiled
Code as a result, and the coding result is sent to the intelligent terminal by the interface channel so that the intelligent terminal pair
Coding result is decoded, and obtains the target voice instruction, and execute the target voice by voice assistant and instruct.
Certainly, it will be understood by those skilled in the art that processor 520 can also realize that the application any embodiment is provided
Intelligent terminal control method technical solution.
The electronic equipment 500 that Fig. 5 is shown is only an example, should not function and use scope to the embodiment of the present application
Bring any restrictions.
As shown in figure 5, the electronic equipment 500 includes processor 520, storage device 510, input unit 530 and output dress
Set 540;The quantity of processor 520 can be one or more in electronic equipment, in Fig. 5 by taking a processor 520 as an example;Electronics
Processor 520, storage device 510, input unit 530 and output device 540 in equipment can pass through bus or other modes
It connects, in Fig. 5 for being connected by bus 550.
Storage device 510 is used as a kind of computer readable storage medium, and it is executable to can be used for storing software program, computer
Program and modular unit, such as the corresponding program instruction of the control method of the intelligent terminal in the embodiment of the present application.
Storage device 510 can mainly include storing program area and storage data area, wherein storing program area can store operation
Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal.
In addition, storage device 510 may include high-speed random access memory, it can also include nonvolatile memory, for example, at least
One disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, storage device 510
It can further comprise the memory remotely located relative to processor 520, these remote memories can pass through network connection.On
The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 530 can be used for receiving number, character information or the voice messaging of input, and generation and electronic equipment
User setting and function control related key signals input.Output device 540 may include the equipment such as display screen, loudspeaker.
Electronic equipment provided by the embodiments of the present application can transmit phonetic order by way of data, to realize to intelligence
The control of energy terminal reaches without considering the problem whether communication protocol between the two is compatible with, and without carrying out additionally soft
Part exploitation and HardwareUpgring, have preferable applicability.
Control device, storage medium and the electronic equipment of the intelligent terminal provided in above-described embodiment can be performed the application and appoint
The control method of intelligent terminal provided by embodiment of anticipating has and executes the corresponding functional module of this method and beneficial effect.Not
The technical detail of detailed description in the above-described embodiments, reference can be made to the control of intelligent terminal provided by the application any embodiment
Method.
Note that above are only the preferred embodiment and institute's application technology principle of the application.It will be appreciated by those skilled in the art that
The application is not limited to specific embodiment described here, be able to carry out for a person skilled in the art it is various it is apparent variation,
The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application
It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also
It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.
Claims (10)
1. a kind of control method of intelligent terminal characterized by comprising
At least one of local preset phonetic order is obtained to instruct as target voice;
If judging to have built up with the interface channel of intelligent terminal, it is determined that the coded format that the intelligent terminal is supported;
The coded format supported using the intelligent terminal encodes the target voice director data, obtains coding knot
Fruit, and the coding result is sent to the intelligent terminal by the interface channel, so that the intelligent terminal is to coding
As a result it is decoded, obtains the target voice instruction, and the target voice is executed by voice assistant and is instructed.
2. the method according to claim 1, wherein in the coded format pair supported using the intelligent terminal
The target voice director data is encoded, before obtaining coding result, the method also includes:
Whether the storage format for determining the target voice instruction is phonetic matrix;
If so, executing: the coded format supported using the intelligent terminal compiles the target voice director data
Code, obtains coding result.
3. according to the method described in claim 2, it is characterized in that, the storage format for determining target voice instruction whether
After phonetic matrix, the method also includes:
If it is not, the format that the target voice instructs then is converted to phonetic matrix, and execute: being propped up using the intelligent terminal
The coded format held encodes the target voice director data, obtains coding result.
4. according to the method described in claim 3, it is characterized in that, the format that the target voice instructs is converted to voice lattice
Formula, comprising:
By local TTS interface, alternatively, the format that the target voice instructs is converted to voice lattice by network TTS interface
Formula.
5. the method according to claim 1, wherein in the coded format pair supported using the intelligent terminal
The target voice director data is encoded, and obtains coding result, and the coding result is sent out by the interface channel
It send to before the intelligent terminal, the method also includes:
Determine the bandwidth of the interface channel;
According to the bandwidth of the interface channel, the code rate encoded to the target voice director data is determined.
6. the method according to claim 1, wherein in target voice instruction acquisition module, for obtaining local
After at least one of preset phonetic order is as target voice instruction, the method also includes:
If judging not setting up with the interface channel of intelligent terminal, stop sending the target voice instruction.
7. the method according to claim 1, wherein the interface channel includes: the BLE of Bluetooth agreement
One of channel, the channel SPP, the channel HFP and the channel iAP.
8. a kind of control device of intelligent terminal characterized by comprising
Target voice instruction acquisition module refers to for obtaining at least one of local preset phonetic order as target voice
It enables;
Coded format determining module, if for judging to have built up with the interface channel of intelligent terminal, it is determined that the intelligence is eventually
Hold supported coded format;
Target voice instruction sending module, the coded format for being supported using the intelligent terminal refer to the target voice
It enables data be encoded, obtains coding result, and the coding result is sent to the intelligence eventually by the interface channel
End obtains the target voice instruction, and execute by voice assistant so that the intelligent terminal is decoded coding result
The target voice instruction.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
The control method such as intelligent terminal of any of claims 1-7 is realized when row.
10. a kind of electronic equipment, including memory, processor and storage are on a memory and can be in the computer of processor operation
Program, which is characterized in that the processor is realized when executing the computer program as of any of claims 1-7
The control method of intelligent terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910271951.5A CN109995475B (en) | 2019-04-04 | 2019-04-04 | Control method and device of intelligent terminal, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910271951.5A CN109995475B (en) | 2019-04-04 | 2019-04-04 | Control method and device of intelligent terminal, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109995475A true CN109995475A (en) | 2019-07-09 |
CN109995475B CN109995475B (en) | 2023-05-30 |
Family
ID=67132415
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910271951.5A Active CN109995475B (en) | 2019-04-04 | 2019-04-04 | Control method and device of intelligent terminal, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109995475B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113782015A (en) * | 2021-01-06 | 2021-12-10 | 北京沃东天骏信息技术有限公司 | Voice interaction method and device |
CN113805961A (en) * | 2021-08-27 | 2021-12-17 | 中国航空无线电电子研究所 | Product software and hardware compatibility management method based on compatibility list file |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101996638A (en) * | 2009-08-10 | 2011-03-30 | 北京多思科技发展有限公司 | Voice codec and voice coding/decoding method |
CN102625007A (en) * | 2011-01-26 | 2012-08-01 | 中山爱科数字家庭产业孵化基地有限公司 | Method for controlling voice-recognition home device |
CN104980839A (en) * | 2015-07-08 | 2015-10-14 | 广东翼卡车联网服务有限公司 | Vehicle-mounted intelligent Bluetooth handset and implementation method thereof |
CN105741840A (en) * | 2016-04-06 | 2016-07-06 | 北京云知声信息技术有限公司 | Voice control method and device |
CN106612368A (en) * | 2015-10-27 | 2017-05-03 | 比亚迪股份有限公司 | Voice collection system, voice collector and information transmission control method |
US20170230705A1 (en) * | 2016-02-04 | 2017-08-10 | The Directv Group, Inc. | Method and system for controlling a user receiving device using voice commands |
CN108022592A (en) * | 2018-01-17 | 2018-05-11 | 深圳市沃特沃德股份有限公司 | Voice remote control method and device |
CN108492545A (en) * | 2018-03-15 | 2018-09-04 | 北京金山安全软件有限公司 | Infrared remote control method, device, remote control equipment and medium |
CN108737229A (en) * | 2018-05-08 | 2018-11-02 | 芜湖琅格信息技术有限公司 | A kind of intelligent domestic system based on voice control |
CN108966162A (en) * | 2018-06-27 | 2018-12-07 | 努比亚技术有限公司 | Data communications method, communication processing equipment, terminal and readable storage medium storing program for executing |
CN108989163A (en) * | 2018-08-22 | 2018-12-11 | 歌尔科技有限公司 | A kind of smart machine control method, device and smart machine |
-
2019
- 2019-04-04 CN CN201910271951.5A patent/CN109995475B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101996638A (en) * | 2009-08-10 | 2011-03-30 | 北京多思科技发展有限公司 | Voice codec and voice coding/decoding method |
CN102625007A (en) * | 2011-01-26 | 2012-08-01 | 中山爱科数字家庭产业孵化基地有限公司 | Method for controlling voice-recognition home device |
CN104980839A (en) * | 2015-07-08 | 2015-10-14 | 广东翼卡车联网服务有限公司 | Vehicle-mounted intelligent Bluetooth handset and implementation method thereof |
CN106612368A (en) * | 2015-10-27 | 2017-05-03 | 比亚迪股份有限公司 | Voice collection system, voice collector and information transmission control method |
US20170230705A1 (en) * | 2016-02-04 | 2017-08-10 | The Directv Group, Inc. | Method and system for controlling a user receiving device using voice commands |
CN105741840A (en) * | 2016-04-06 | 2016-07-06 | 北京云知声信息技术有限公司 | Voice control method and device |
CN108022592A (en) * | 2018-01-17 | 2018-05-11 | 深圳市沃特沃德股份有限公司 | Voice remote control method and device |
CN108492545A (en) * | 2018-03-15 | 2018-09-04 | 北京金山安全软件有限公司 | Infrared remote control method, device, remote control equipment and medium |
CN108737229A (en) * | 2018-05-08 | 2018-11-02 | 芜湖琅格信息技术有限公司 | A kind of intelligent domestic system based on voice control |
CN108966162A (en) * | 2018-06-27 | 2018-12-07 | 努比亚技术有限公司 | Data communications method, communication processing equipment, terminal and readable storage medium storing program for executing |
CN108989163A (en) * | 2018-08-22 | 2018-12-11 | 歌尔科技有限公司 | A kind of smart machine control method, device and smart machine |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113782015A (en) * | 2021-01-06 | 2021-12-10 | 北京沃东天骏信息技术有限公司 | Voice interaction method and device |
CN113805961A (en) * | 2021-08-27 | 2021-12-17 | 中国航空无线电电子研究所 | Product software and hardware compatibility management method based on compatibility list file |
CN113805961B (en) * | 2021-08-27 | 2023-09-15 | 中国航空无线电电子研究所 | Product software and hardware compatibility management method based on compatibility list file |
Also Published As
Publication number | Publication date |
---|---|
CN109995475B (en) | 2023-05-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109273001B (en) | Voice broadcasting method and device, computing device and storage medium | |
CN101543011B (en) | Bundling of multimedia content and decoding means | |
CN103051734A (en) | Remote voice control method and system for household electrical appliance and communication terminal | |
CN105393302A (en) | Multi-level speech recognition | |
JP7353497B2 (en) | Server-side processing method and server for actively proposing the start of a dialogue, and voice interaction system capable of actively proposing the start of a dialogue | |
US7680514B2 (en) | Wireless speech recognition | |
CN103023866A (en) | Easy sharing of wireless audio signals | |
KR102173242B1 (en) | Local wireless data communication system, method and apparatus for automactic setup of imformation | |
JP2012529236A (en) | System and method for performing a hands-free operation of an electronic calendar application in a vehicle | |
CN105139877A (en) | Method for connecting multimedia play devices, main device, control terminal and system | |
CN110310630B (en) | Training and sharing method of voice assistant | |
US7496693B2 (en) | Wireless enabled speech recognition (SR) portable device including a programmable user trained SR profile for transmission to external SR enabled PC | |
KR102243027B1 (en) | Apparatus, method and system for local wireless data communication of hybrid form | |
CN107005800A (en) | Transmission, method of reseptance and the device of audio file, equipment and its system | |
CN104202714A (en) | Mobile terminal near field communication method and system for heterogeneous operating system | |
JP7311707B2 (en) | Human-machine interaction processing method | |
CN107731231A (en) | A kind of method for supporting more high in the clouds voice services and a kind of storage device | |
JP2019040602A (en) | Continuous conversation function with artificial intelligence device | |
WO2016150191A1 (en) | Data sharing method and device | |
CN110246499A (en) | The sound control method and device of home equipment | |
CN109995475A (en) | A kind of control method of intelligent terminal, device, storage medium and electronic equipment | |
CN109995861A (en) | Onboard system is using the relay communication method and system with vehicle-mounted peripheral components | |
KR20170105055A (en) | System and method for realizing Bluetooth-dependent device function of embedded execution system | |
CN110209392A (en) | Technical ability shares development approach and device | |
JP2003348649A (en) | Dynamic machine synthesis method for wireless device access and management |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |