CN109960537A - Interaction method and device and electronic equipment - Google Patents

Interaction method and device and electronic equipment Download PDF

Info

Publication number
CN109960537A
CN109960537A CN201910253222.7A CN201910253222A CN109960537A CN 109960537 A CN109960537 A CN 109960537A CN 201910253222 A CN201910253222 A CN 201910253222A CN 109960537 A CN109960537 A CN 109960537A
Authority
CN
China
Prior art keywords
voice
user
interface
interactive
interactive controls
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910253222.7A
Other languages
Chinese (zh)
Inventor
陈琛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201910253222.7A priority Critical patent/CN109960537A/en
Publication of CN109960537A publication Critical patent/CN109960537A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

Abstract

The application provides an interaction method, an interaction device and electronic equipment, wherein the method comprises the following steps: when the current scene meets the awakening condition, controlling the interactive control to be displayed in an initial state, and switching the standby interface of the intelligent equipment to a voice interactive interface; when detecting that a user inputs voice, controlling the interactive control to display a voice receiving state, and collecting voice information input by the user; and when detecting that the user stops inputting the voice, controlling the interactive control to display the voice analysis state, performing semantic analysis on voice information input by the user to acquire a voice instruction, acquiring an event function corresponding to the voice instruction, controlling the voice interactive interface to switch to a function interface corresponding to the event function, and playing event guide voice to the user. Therefore, the interaction state between the user and the intelligent equipment is displayed by controlling the interaction control to display different states, the feedback effect of conversation between the user and the intelligent equipment is increased, and the user experience is improved.

Description

Exchange method, device and electronic equipment
Technical field
This application involves field of artificial intelligence more particularly to a kind of exchange methods, device and electronic equipment.
Background technique
Currently, user needs to interact with smart machine to meet related needs with the development of artificial intelligence technology. It is understood that smart machine processing user input instruction needs the regular hour, during smart machine processing, use Family can not recognize the current state of smart machine in real time, thus may cause user and think that smart machine does not react, thus The problems such as repeatedly input instruction is either handled by other means.
Summary of the invention
The application is intended to solve at least some of the technical problems in related technologies.
For this purpose, the application proposes a kind of exchange method, solving user in the prior art can not recognize that intelligence is set in real time Standby current processing status, thus may cause user and thinks the responseless technical problem of smart machine.
The application proposes a kind of interactive device.
The application proposes a kind of electronic equipment.
The application proposes a kind of computer readable storage medium.
The application first aspect embodiment proposes a kind of exchange method, comprising:
Whether detection current scene meets wake-up condition, will be to if satisfied, then controlling interactive controls is shown as original state Machine changing interface is to voice Interaction Interface;
When detecting that user carries out voice input, controls the interactive controls and be shown as phonetic incepting state, acquire institute State the voice messaging of user's input;
When detecting that the user stops voice input, controls the interactive controls and be shown as speech analysis state, it is right The voice messaging of user's input carries out semantic analysis and obtains phonetic order, inquires preset command information library and judges whether energy It is enough to obtain Event Function corresponding with the phonetic order;
If Event Function corresponding with the phonetic order can be obtained, the voice Interaction Interface is controlled.
Optionally, as the first possible implementation of the application first aspect, whether the detection current scene Meet wake-up condition, comprising:
Acquire facial image;
Determine whether current scene meets wake-up condition according to the facial image.
Optionally, as second of possible implementation of the application first aspect, whether the detection current scene Meet wake-up condition, comprising:
It receives voice and wakes up information;
The voice is waken up into information converting text and wakes up information, judges that the text wakes up whether information is default wake-up Word, determines whether current scene meets wake-up condition.
Optionally, as the third possible implementation of the application first aspect, standby interface is switched described To after voice Interaction Interface, further includes:
Preset guidance phonetic order is shown on the voice Interaction Interface according to preset display parameters.
Optionally, aobvious in the control interactive controls as the 4th kind of possible implementation of the application first aspect It is shown as before original state, further includes:
Image procossing is carried out to the standby interface according to preset image processing algorithm, is generated for reflecting user and intelligence The interactive controls of interaction mode between energy equipment.
Optionally, as the 5th kind of possible implementation of the application first aspect, the standby interface is face's table Feelings graphic interface, it is described that image procossing is carried out to the standby interface according to preset image processing algorithm, it generates for reflecting The interactive controls of interaction mode between user and smart machine, comprising:
Cutting process is carried out to the countenance image and generates target subgraph, the target subgraph is preset The change process of operation;
During carrying out the change process of predetermined registration operation to the target subgraph, the interactive controls are generated.
Optionally, as the 6th kind of possible implementation of the application first aspect, the method, further includes:
The voice messaging of user's input is shown on the voice Interaction Interface according to preset display parameters.
Optionally, as the 7th kind of possible implementation of the application first aspect, if can be obtained and institute described After stating the corresponding Event Function of phonetic order, further includes:
It controls the interactive controls and is shown as the original state and feedback query result.
Optionally, it as the 8th kind of possible implementation of the application first aspect, is handed in the control voice Mutual changing interface also wraps after Xiang Suoshu user's broadcast event guides voice to function interface corresponding with the Event Function It includes:
Control the predeterminated position that the interactive controls are moved in the function interface.
The application second aspect embodiment proposes a kind of interactive device, which includes:
Detection module, for detecting whether current scene meets wake-up condition;
Switch playing module, for if satisfied, then controlling interactive controls is shown as original state, standby interface to be switched to Voice Interaction Interface;
Acquisition module is controlled, for the interactive controls being controlled and being shown as language when detecting that user carries out voice input Sound reception state acquires the voice messaging of user's input;
Analysis module is controlled, for the interactive controls being controlled and being shown when detecting that the user stops voice input For speech analysis state, semantic analysis is carried out to the voice messaging of user input and obtains phonetic order, inquires preset finger Information bank is enabled to judge whether that Event Function corresponding with the phonetic order can be obtained;
Processing module, if controlling the voice for Event Function corresponding with the phonetic order can be obtained and handing over Mutual changing interface to function interface corresponding with the Event Function and, Xiang Suoshu user's broadcast event guidance voice.
Optionally, as the first possible implementation of the application second aspect, the detection module is specific to use In:
Acquire facial image;
Determine whether current scene meets wake-up condition according to the facial image.
Optionally, as second of possible implementation of the application second aspect, the detection module is specifically also used In:
It receives voice and wakes up information;
The voice is waken up into information converting text and wakes up information, judges that the text wakes up whether information is default wake-up Word, determines whether current scene meets wake-up condition.
Optionally, as the third possible implementation of the application second aspect, the device, further includes:
First display module, for showing preset guidance on the voice Interaction Interface according to preset display parameters Phonetic order.
Optionally, as the 4th kind of possible implementation of the application second aspect, the device, further includes:
Generation module is generated and is used for carrying out image procossing to the standby interface according to preset image processing algorithm The interactive controls of interaction mode between reflection user and smart machine.
Optionally, as the 5th kind of possible implementation of the application second aspect, the standby interface is face's table Feelings graphic interface, the generation module, is specifically used for:
Cutting process is carried out to the countenance image and generates target subgraph, the target subgraph is preset The change process of operation;
During carrying out the change process of predetermined registration operation to the target subgraph, the interactive controls are generated.
Optionally, as the 6th kind of possible implementation of the application second aspect, the device, further includes:
Second display module, for showing that the user is defeated on the voice Interaction Interface according to preset display parameters The voice messaging entered.
Optionally, as the 7th kind of possible implementation of the application second aspect, the device, further includes:
Feedback module is shown as the original state and feedback query result for controlling the interactive controls.
Optionally, as the 8th kind of possible implementation of the application second aspect, the device, further includes:
Mobile module, the predeterminated position being moved in the function interface for controlling the interactive controls.
The application third aspect embodiment proposes a kind of electronic equipment, comprising: memory, processor and is stored in storage On device and the computer program that can run on a processor, when the processor executes described program, realize described in first aspect Exchange method.
The application fourth aspect embodiment proposes a kind of electronic equipment, comprising: memory, processor and is stored in storage On device and the computer program that can run on a processor, when the processor executes described program, realize described in second aspect Exchange method.
Technical solution provided by the embodiment of the present application, may include it is following the utility model has the advantages that
By detecting whether current scene meets wake-up condition, if satisfied, then controlling interactive controls is shown as original state, And standby interface is switched to voice Interaction Interface;When detecting that user carries out voice input, control interactive controls are shown as Phonetic incepting state, and acquire the voice messaging of user's input;When detecting that user stops voice input, interactive controls are controlled It is shown as speech analysis state, and semantic analysis is carried out to the voice messaging of user's input and obtains phonetic order, is inquired preset Command information library judges whether that Event Function corresponding with phonetic order can be obtained;If can obtain corresponding with phonetic order Event Function then controls voice Interaction Interface and is switched to function interface corresponding with Event Function and guides to user's broadcast event Voice.Show that different states come interaction mode between user and smart machine, increases user by controlling interactive controls as a result, With the feedback effects of smart machine dialogue, user experience is promoted.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is a kind of flow diagram of exchange method provided by the embodiment of the present application;
Fig. 2 is the flow diagram of another kind exchange method provided by the embodiment of the present application;
Fig. 3 a- Fig. 3 b is a kind of exemplary diagram of exchange method provided by the embodiment of the present application;
Fig. 4 a- Fig. 4 b is the exemplary diagram of another kind exchange method provided by the embodiment of the present application;
Fig. 5 a- Fig. 5 b is the exemplary diagram of another exchange method provided by the embodiment of the present application;
Fig. 6 is a kind of structural schematic diagram of interactive device provided by the embodiment of the present application;
Fig. 7 is the structural schematic diagram of another kind interactive device provided by the embodiment of the present application;
Fig. 8 is the structural schematic diagram of another interactive device provided by the embodiment of the present application;
Fig. 9 is the structural schematic diagram of another interactive device provided by the embodiment of the present application;
Figure 10 is also a kind of structural schematic diagram of interactive device provided by the embodiment of the present application;And
Figure 11 is the structural schematic diagram of the application electronic equipment one embodiment.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the application, and should not be understood as the limitation to the application.
Below with reference to the accompanying drawings the exchange method, device and electronic equipment of the embodiment of the present application are described.
Fig. 1 is a kind of flow diagram of exchange method provided by the embodiment of the present application.
As shown in Figure 1, method includes the following steps:
Step 101, whether detection current scene meets wake-up condition, if satisfied, then controlling interactive controls is shown as initial Standby interface is switched to voice Interaction Interface by state.
In practical applications, user can carry out interactive voice with smart machine to obtain corresponding information, and the application is real The smart machine in example is applied configured with image capture module such as camera etc., speech reception module such as microphone etc..
It is understood that for energy saving, smart machine is in standby when not working, to examine It surveys whether current scene meets wake-up condition, as an example, face is collected by the image capture module of smart machine Image determines whether current scene meets wake-up condition;As another example, the speech reception module of smart machine is received Voice wakes up information, and voice is waken up information converting text and wakes up information, and judges that text wakes up information and wakes up word to be default, really Determine whether current scene meets wake-up condition.
Further, meet wake-up condition in current scene, for example recognize face or receive default wake-up word Voice messaging " the small small leopard of leopard ", control interactive controls are shown as original state, and the standby interface of smart machine are switched to Voice Interaction Interface, and played to user and wake up guidance voice.
Wherein, interactive controls can be generated according to the actual application, as an example, according to preset image Processing Algorithm carries out image procossing to standby interface, generates and interacts control for reflect interaction mode between user and smart machine Part.That is, the interactive controls are able to reflect interaction mode between user and smart machine, wherein original state is interaction A kind of state that control most starts, i.e., a kind of status display before not interacted with user, such as control interactive controls Slow rotation etc..
Wherein, standby interface is switched to voice Interaction Interface indicates that smart machine has waken up, and shows interactive voice circle Face indicates that user can input related voice, in order to further increase user experience, while playing to user and waking up guidance Voice, for example play " hello, what, which may I ask, can help you ".
Step 102, when detecting that user carries out voice input, control interactive controls are shown as phonetic incepting state, adopt Collect the voice messaging of user's input.
Specifically, user can input related voice according to the actual application, pass through control when carrying out voice input Interactive controls are shown as phonetic incepting state to reflect that smart machine is receiving user's input voice information.
Wherein, control interactive controls can also further promote user experience according to sound wave scaled.
Step 103, when detecting that user stops voice input, control interactive controls are shown as speech analysis state, right The voice messaging of user's input carries out semantic analysis and obtains phonetic order, inquires preset command information library and judges whether to obtain Take Event Function corresponding with phonetic order.
Step 104, if Event Function corresponding with phonetic order can be obtained, control voice Interaction Interface be switched to The corresponding function interface of Event Function guides voice to user's broadcast event.
Specifically, it can not inputted in the voice messaging either user for receiving user's input by within a preset time Voice messaging in comprising preset closing etc., determine that user stops voice input, thus smart machine need it is defeated to user The voice messaging entered is analyzed and processed, and control interactive controls are shown as speech analysis state, to prompt user's smart machine just It is analyzed to the voice messaging of input.
In turn, semantic analysis can be carried out to the voice messaging that user inputs and obtains phonetic order, inquire preset instruction Information bank judges whether that Event Function corresponding with phonetic order can be obtained, wherein preset command information library is right in advance Great amount of samples carries out analyzing and training generation, i.e., stores phonetic order pass corresponding with time function in preset command information library System, by phonetic order, in preset command information library China, you find corresponding time function.Wherein, Event Function can be with It is to chat function, task function etc..
It is understood that control voice Interaction Interface is cut when that can obtain Event Function corresponding with phonetic order It changes to function interface corresponding with Event Function and guides voice to user's broadcast event, for example obtain corresponding with phonetic order Event Function is that weather broadcasts function, and control voice Interaction Interface is switched to a day vapor interface, and plays weather condition to user Voice messaging.
In the exchange method of the present embodiment, by detecting whether current scene meets wake-up condition, if satisfied, then controlling friendship Mutual control is shown as original state, and standby interface is switched to voice Interaction Interface;When detecting that user carries out voice input, Control interactive controls are shown as phonetic incepting state, the voice messaging of acquisition user's input;When detect user stop voice it is defeated Fashionable, control interactive controls are shown as speech analysis state, and carry out semantic analysis to the voice messaging of user's input and obtain language Sound instruction, inquires preset command information library and judges whether that Event Function corresponding with phonetic order can be obtained;If can obtain Take Event Function corresponding with phonetic order, then control voice Interaction Interface be switched to function interface corresponding with Event Function and Voice is guided to user's broadcast event.As a result, by control interactive controls show different states come user and smart machine it Between interaction mode, increase user and smart machine dialogue feedback effects, promoted user experience.
In order to which the exchange method of the application is more fully described, it is described in detail below with reference to Fig. 2.Specifically, such as Fig. 2 It is shown, comprising:
Step 201, facial image is acquired, determines whether current scene meets wake-up condition according to facial image.
Specifically, determination meets wake-up condition when collecting facial image by the image capture module of smart machine.
Step 202, image procossing is carried out to standby interface according to preset image processing algorithm, generated for reflecting user The interactive controls of interaction mode between smart machine.
Specifically, as an example, standby interface is countenance graphic interface, is cut to countenance image Processing generates target subgraph, and the change process of predetermined registration operation is carried out to target subgraph, carries out in advance to target subgraph If during the change process of operation, generating interactive controls.
For example, as shown in Fig. 3 a- Fig. 3 b, two eyes in the countenance image in Fig. 3 a are carried out cutting figure, The change process for doing the predetermined registration operations such as fuzzy, size, position and opacity, at the variation for carrying out predetermined registration operation to eyes During reason, interactive controls interactive voice ball as shown in Figure 3b is generated.
Step 203, it determines that current scene meets wake-up condition, then controls interactive controls and be shown as original state, and will be to Machine changing interface is to voice Interaction Interface.
Step 204, preset guidance phonetic order is shown on voice Interaction Interface according to preset display parameters.
Specifically, standby interface is switched to voice Interaction Interface indicates that smart machine has waken up, and shows interactive voice Interface indicates that user can input related voice, in order to further increase user experience, while playing to wake up to user and draw Lead sound, for example play " hello, what, which may I ask, can help you ".
The feedback effects of user and smart machine dialogue in order to further increase are handed over according to preset display parameters in voice Preset guidance phonetic order is shown on mutual interface, wherein preset display parameters can be interval between sentence, odd-numbered line The font of sentence, font size, transparent and fuzziness variation, and duration occur etc., is the font of even number line statement, font size, transparent With the variation of fuzziness, and there is duration etc., for example the guidance voice such as " I to interview ", " visitor's registration " shown in Fig. 4 a refers to It enables.
Step 205, when detecting that user carries out voice input, control interactive controls are shown as phonetic incepting state, adopt Collect the voice messaging of user's input.
Step 206, the voice messaging of user's input is shown on voice Interaction Interface according to preset display parameters.
Specifically, user can input related voice according to the actual application, pass through control when carrying out voice input Interactive controls are shown as phonetic incepting state to reflect that smart machine is receiving user's input voice information.
The feedback effects of user and smart machine dialogue in order to further increase are handed over according to preset display parameters in voice Show the voice messaging that user inputs on mutual interface, wherein preset display parameters can be interval between sentence, odd-numbered line The font of sentence, font size, transparent and fuzziness variation, and duration occur etc., is the font of even number line statement, font size, transparent With the variation of fuzziness, and there is duration etc., such as the users such as " visiting with me ", " how is weather tomorrow " shown in Fig. 4 b The voice messaging of input.
Step 207, when detecting that user stops voice input, control interactive controls are shown as speech analysis state, right The voice messaging of user's input carries out semantic analysis and obtains phonetic order, inquires preset command information library and judges whether to obtain Take Event Function corresponding with phonetic order.
Specifically, it can not inputted in the voice messaging either user for receiving user's input by within a preset time Voice messaging in comprising preset closing etc., determine that user stops voice input, thus smart machine need it is defeated to user The voice messaging entered is analyzed and processed, and control interactive controls are shown as speech analysis state, to prompt user's smart machine just It is analyzed to the voice messaging of input.
In turn, semantic analysis can be carried out to the voice messaging that user inputs and obtains phonetic order, inquire preset instruction Information bank judges whether that Event Function corresponding with phonetic order can be obtained, wherein preset command information library is right in advance Great amount of samples carries out analyzing and training generation, i.e., stores phonetic order pass corresponding with time function in preset command information library System, by phonetic order, in preset command information library China, you find corresponding time function.Wherein, Event Function can be with It is to chat function, task function etc..For example user's input " I to interview " in Fig. 5 a, control interactive controls are shown as voice Analysis state " I to think about it ".
Step 208, if Event Function corresponding with phonetic order can be obtained, control interactive controls are shown as original state And feedback query result.
Step 209, control interactive controls are moved to the predeterminated position in function interface, and control voice Interaction Interface is switched to Function interface corresponding with Event Function guides voice to user's broadcast event.
Specifically, Event Function corresponding with phonetic order can be being obtained, control interactive controls are shown as original state And feedback query is as a result, " good " in such as Fig. 5 b.
Further, control interactive controls are moved to the predeterminated position in function interface, and control voice Interaction Interface and cut It changes to function interface corresponding with Event Function and guides voice to user's broadcast event.
Wherein, predeterminated position can carry out selection setting according to the actual application, for example move up and narrow down to designated position.
It illustrates as a kind of scene, control interactive controls are interactive voice ball, recognize face or receive wake-up language Message ceases " the small small leopard of leopard ", and the standby interface of smart machine is switched to voice Interaction Interface, plays to user and wakes up leading question Sound " hello, what, which may I ask, can help you? ", interactive voice ball carries out slow rotation, and user speaks to smart machine, intelligently set Standby to convert upper screen text for received voice messaging, interlocking interactive voice ball becomes phonetic incepting state, the language of user's input Message breath is scaled according to sound wave, while particle background, as center of circle contract, user pipes down, and smart machine stops radio reception, language Sound interaction ball is changed into speech analysis state, and starts to analyze whether screen text can trigger the events such as chat or task function Function, if recognition result is that Event Functions, the interactive voice balls such as task or chat shine and restPose, voice broadcast Feedback query result " good ", interactive voice ball, which moves up, narrows down to designated position, and task interface occurs, while playing thing to user Part guides voice, if not can recognize that the Event Functions such as task or chat, voice ball restPoses, and waits next voice Order.
Show that different states come interaction mode between user and smart machine, increases by controlling interactive controls as a result, The feedback effects of user and smart machine dialogue, promote user experience.
In order to realize above-described embodiment, the application also proposes a kind of interactive device.
Fig. 6 is a kind of structural schematic diagram of interactive device provided by the embodiments of the present application.
As shown in fig. 6, the device includes: detection module 601, switching playing module 602, control acquisition module 603, control Analysis module 604 and processing module 605.
Wherein, detection module 601, for detecting whether current scene meets wake-up condition.
Switch playing module 602, for if satisfied, then controlling interactive controls is shown as original state, standby interface to be cut Change to voice Interaction Interface.
Acquisition module 603 is controlled, for when detecting that user carries out voice input, control interactive controls to be shown as voice Reception state, the voice messaging of acquisition user's input.
Analysis module 604 is controlled, for when detecting that user stops voice input, control interactive controls to be shown as voice Analysis state carries out semantic analysis to the voice messaging of user's input and obtains phonetic order, inquires preset command information library and sentence It is disconnected whether to obtain Event Function corresponding with phonetic order.
Processing module 605, if controlling voice Interaction Interface for Event Function corresponding with phonetic order can be obtained It is switched to function interface corresponding with Event Function, guides voice to user's broadcast event.
In one embodiment of the application, detection module 601 is specifically used for: acquisition facial image, according to facial image Determine whether current scene meets wake-up condition.
In one embodiment of the application, detection module 601 is specifically also used to: the speech reception module of smart machine It receives voice and wakes up information, voice is waken up into information converting text and wakes up information, and judge that text wakes up whether information is pre- If waking up word, determine whether current scene meets wake-up condition.
Based on the above embodiment, the embodiment of the present application also provides a kind of possible implementation of interactive device, Fig. 7 is The structural schematic diagram of another kind interactive device provided by the embodiment of the present application, on the basis of Fig. 6, described device further include: First display module 606.
Wherein, the first display module 606, it is preset for being shown on voice Interaction Interface according to preset display parameters Guide phonetic order.
Based on the above embodiment, the embodiment of the present application also provides a kind of possible implementation of interactive device, Fig. 8 is The structural schematic diagram of another kind interactive device provided by the embodiment of the present application, on the basis of Fig. 6, described device further include: Generation module 607.
Generation module 607, for carrying out image procossing to standby interface according to preset image processing algorithm, generation is used for Reflect the interactive controls of interaction mode between user and smart machine.
In one embodiment of the application, standby interface is countenance graphic interface, and generation module 607 is specific to use In: cutting process is carried out to countenance image and generates target subgraph, and carries out the variation of predetermined registration operation to target subgraph Processing;During carrying out the change process of predetermined registration operation to target subgraph, interactive controls are generated.
Based on the above embodiment, the embodiment of the present application also provides a kind of possible implementation of interactive device, Fig. 9 is The structural schematic diagram of another kind interactive device provided by the embodiment of the present application, on the basis of Fig. 6, described device further include: Second display module 608.
Second display module 608, for showing user's input on voice Interaction Interface according to preset display parameters Voice messaging.
Based on the above embodiment, the embodiment of the present application also provides a kind of possible implementation of interactive device, Figure 10 For the structural schematic diagram of another kind interactive device provided by the embodiment of the present application, on the basis of Fig. 6, described device is also wrapped It includes: feedback module 609 and mobile module 610.
Feedback module 609 is shown as original state and feedback query result for controlling interactive controls.
Mobile module 610, the predeterminated position being moved in function interface for controlling interactive controls.
It should be noted that the aforementioned device that the embodiment is also applied for the explanation of embodiment of the method, herein not It repeats again.
In the interactive device of the present embodiment, by detecting whether current scene meets wake-up condition, if satisfied, then controlling friendship Mutual control is shown as original state, and standby interface is switched to voice Interaction Interface;When detect user carry out voice input When, control interactive controls are shown as phonetic incepting state, and acquire the voice messaging of user's input;When detect user stop language When sound inputs, control interactive controls are shown as speech analysis state, and carry out semantic analysis to the voice messaging of user's input and obtain Phonetic order is taken, preset command information library is inquired and judges whether that Event Function corresponding with phonetic order can be obtained;If energy It is enough to obtain Event Function corresponding with phonetic order, then it controls voice Interaction Interface and is switched to function circle corresponding with Event Function Face and to user's broadcast event guide voice.Show that different states sets come user and intelligence by controlling interactive controls as a result, Interaction mode between standby increases the feedback effects of user and smart machine dialogue, promotes user experience.
In order to realize above-described embodiment, the application also proposes a kind of electronic equipment, comprising: memory, processor and storage On a memory and the computer program that can run on a processor, it when processor executes the program, realizes as preceding method is real Apply exchange method described in example.
The embodiment of the present application also provides a kind of electronic equipment, and electronic equipment includes device described in aforementioned any embodiment.
Figure 11 is the structural schematic diagram of the application electronic equipment one embodiment, and side shown in the application Fig. 1-5 may be implemented The process of method embodiment, as shown in figure 11, above-mentioned electronic equipment may include: shell 91, processor 92, memory 93, circuit Plate 94 and power circuit 95, wherein circuit board 94 is placed in the space interior that shell 91 surrounds, and processor 92 and memory 93 are set It sets on circuit board 94;Power circuit 95, for each circuit or the device power supply for above-mentioned electronic equipment;Memory 93 is used for Store executable program code;Processor 92 is run by reading the executable program code stored in memory 93 and can be held The corresponding program of line program code, for executing video generation method described in aforementioned any embodiment.
Processor 92 to the specific implementation procedures of above-mentioned steps and processor 92 by operation executable program code come The step of further executing may refer to the description of embodiment of the method shown in the application Fig. 1-5, and details are not described herein.
The electronic equipment exists in a variety of forms, including but not limited to:
(1) mobile communication equipment: the characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data Communication is main target.This Terminal Type includes: smart phone (such as iPhone), multimedia handset, functional mobile phone and low Hold mobile phone etc..
(2) super mobile personal computer equipment: this kind of equipment belongs to the scope of personal computer, there is calculating and processing function Can, generally also have mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind of equipment can show and play multimedia content.Such equipment include: audio, Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) server: providing the equipment of the service of calculating, and the composition of server includes that processor, hard disk, memory, system are total Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy Power, stability, reliability, safety, scalability, manageability etc. are more demanding.
(5) other electronic equipments with data interaction function.
In order to realize above-described embodiment, the application also proposes a kind of computer readable storage medium, is stored thereon with calculating Machine program when the program is executed by processor, realizes the exchange method as described in preceding method embodiment.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application Type.

Claims (10)

1. a kind of exchange method characterized by comprising
Whether detection current scene meets wake-up condition, if satisfied, then controlling interactive controls is shown as original state, by standby boundary Face is switched to voice Interaction Interface;
When detecting that user carries out voice input, controls the interactive controls and be shown as phonetic incepting state, acquire the use The voice messaging of family input;
When detecting that the user stops voice input, controls the interactive controls and be shown as speech analysis state, to described The voice messaging of user's input carries out semantic analysis and obtains phonetic order, inquires preset command information library and judges whether to obtain Take Event Function corresponding with the phonetic order;
If Event Function corresponding with the phonetic order can be obtained, control the voice Interaction Interface be switched to it is described The corresponding function interface of Event Function, Xiang Suoshu user's broadcast event guide voice.
2. the method as described in claim 1, which is characterized in that whether the detection current scene meets wake-up condition, comprising:
Acquire facial image;
Determine whether current scene meets wake-up condition according to the facial image.
3. the method as described in claim 1, which is characterized in that whether the detection current scene meets wake-up condition, comprising:
It receives voice and wakes up information;
The voice is waken up into information converting text and wakes up information, judges that the text wakes up whether information is default wake-up word, Determine whether current scene meets wake-up condition.
4. the method as described in claim 1, which is characterized in that it is described by standby interface be switched to voice Interaction Interface it Afterwards, further includes:
Preset guidance phonetic order is shown on the voice Interaction Interface according to preset display parameters.
5. the method as described in claim 1, which is characterized in that before the control interactive controls are shown as original state, Further include:
Image procossing is carried out to the standby interface according to preset image processing algorithm, is generated for reflecting that user sets with intelligence The interactive controls of interaction mode between standby.
6. method as claimed in claim 5, which is characterized in that the standby interface be countenance graphic interface, described Image procossing is carried out to the standby interface according to preset image processing algorithm, is generated for reflecting between user and smart machine The interactive controls of interaction mode, comprising:
Cutting process is carried out to the countenance image and generates target subgraph, predetermined registration operation is carried out to the target subgraph Change process;
During carrying out the change process of predetermined registration operation to the target subgraph, the interactive controls are generated.
7. the method as described in claim 1, which is characterized in that further include:
The voice messaging of user's input is shown on the voice Interaction Interface according to preset display parameters.
8. the method as described in claim 1, which is characterized in that if thing corresponding with the phonetic order can be obtained described After part function, further includes:
It controls the interactive controls and is shown as the original state and feedback query result.
9. method according to claim 8, which is characterized in that the control voice Interaction Interface be switched to it is described The corresponding function interface of Event Function, Xiang Suoshu user's broadcast event guide after voice, further includes:
Control the predeterminated position that the interactive controls are moved in the function interface.
10. a kind of interactive device characterized by comprising
Detection module, for detecting whether current scene meets wake-up condition;
Switch playing module, for if satisfied, then controlling interactive controls is shown as original state, standby interface to be switched to voice Interactive interface;
Acquisition module is controlled, is connect for controlling the interactive controls and being shown as voice when detecting that user carries out voice input Receipts state acquires the voice messaging of user's input;
Analysis module is controlled, for the interactive controls being controlled and being shown as language when detecting that the user stops voice input Cent analyses state, carries out semantic analysis to the voice messaging of user input and obtains phonetic order, inquires preset instruction letter Breath library judges whether that Event Function corresponding with the phonetic order can be obtained;
Processing module, if controlling interactive voice circle for Event Function corresponding with the phonetic order can be obtained Face be switched to function interface corresponding with the Event Function and, Xiang Suoshu user's broadcast event guide voice.
CN201910253222.7A 2019-03-29 2019-03-29 Interaction method and device and electronic equipment Pending CN109960537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910253222.7A CN109960537A (en) 2019-03-29 2019-03-29 Interaction method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910253222.7A CN109960537A (en) 2019-03-29 2019-03-29 Interaction method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN109960537A true CN109960537A (en) 2019-07-02

Family

ID=67025418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910253222.7A Pending CN109960537A (en) 2019-03-29 2019-03-29 Interaction method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN109960537A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110931003A (en) * 2019-10-22 2020-03-27 安信通科技(澳门)有限公司 Control interaction method and system for voice function
CN110941198A (en) * 2019-12-05 2020-03-31 星络智能科技有限公司 Storage medium, smart panel and power-saving booting method thereof
CN111045636A (en) * 2019-10-22 2020-04-21 安信通科技(澳门)有限公司 Vehicle function display method and system
CN111081242A (en) * 2019-12-18 2020-04-28 中国建设银行股份有限公司 Man-machine voice interaction method and device, electronic equipment and storage medium
CN111273990A (en) * 2020-01-21 2020-06-12 腾讯科技(深圳)有限公司 Information interaction method and device, computer equipment and storage medium
CN111309283A (en) * 2020-03-25 2020-06-19 北京百度网讯科技有限公司 Voice control method and device for user interface, electronic equipment and storage medium
CN111367491A (en) * 2020-03-02 2020-07-03 成都极米科技股份有限公司 Voice interaction method and device, electronic equipment and storage medium
CN111367407A (en) * 2020-02-24 2020-07-03 Oppo(重庆)智能科技有限公司 Intelligent glasses interaction method, intelligent glasses interaction device and intelligent glasses
CN112037783A (en) * 2020-08-12 2020-12-04 广东志尚智能科技有限公司 Voice control system and control method
CN112102823A (en) * 2020-07-21 2020-12-18 深圳市创维软件有限公司 Voice interaction method of intelligent terminal, intelligent terminal and storage medium
CN112164401A (en) * 2020-09-18 2021-01-01 广州小鹏汽车科技有限公司 Voice interaction method, server and computer-readable storage medium
CN112786036A (en) * 2019-11-04 2021-05-11 海信视像科技股份有限公司 Display apparatus and content display method
CN112788422A (en) * 2019-11-04 2021-05-11 海信视像科技股份有限公司 Display device
CN112908323A (en) * 2021-01-19 2021-06-04 三星电子(中国)研发中心 Voice control method and device of application interface and intelligent equipment
CN113535112A (en) * 2021-07-09 2021-10-22 广州小鹏汽车科技有限公司 Abnormity feedback method, abnormity feedback device, vehicle-mounted terminal and vehicle
CN114047900A (en) * 2021-10-12 2022-02-15 中电金信软件有限公司 Service processing method and device, electronic equipment and computer readable storage medium
CN117198291A (en) * 2023-11-08 2023-12-08 四川蜀天信息技术有限公司 Method, device and system for controlling terminal interface by voice

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107180631A (en) * 2017-05-24 2017-09-19 刘平舟 A kind of voice interactive method and device
CN108733420A (en) * 2018-03-21 2018-11-02 北京猎户星空科技有限公司 Awakening method, device, smart machine and the storage medium of smart machine
CN109471537A (en) * 2017-09-08 2019-03-15 腾讯科技(深圳)有限公司 Pronunciation inputting method, device, computer equipment and storage medium
CN109521932A (en) * 2018-11-06 2019-03-26 斑马网络技术有限公司 Voice control display processing method, device, vehicle, storage medium and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107180631A (en) * 2017-05-24 2017-09-19 刘平舟 A kind of voice interactive method and device
CN109471537A (en) * 2017-09-08 2019-03-15 腾讯科技(深圳)有限公司 Pronunciation inputting method, device, computer equipment and storage medium
CN108733420A (en) * 2018-03-21 2018-11-02 北京猎户星空科技有限公司 Awakening method, device, smart machine and the storage medium of smart machine
CN109521932A (en) * 2018-11-06 2019-03-26 斑马网络技术有限公司 Voice control display processing method, device, vehicle, storage medium and equipment

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110931003B (en) * 2019-10-22 2023-07-07 安信通科技(澳门)有限公司 Control interaction method and system for voice function
CN110931003A (en) * 2019-10-22 2020-03-27 安信通科技(澳门)有限公司 Control interaction method and system for voice function
CN111045636A (en) * 2019-10-22 2020-04-21 安信通科技(澳门)有限公司 Vehicle function display method and system
CN112786036B (en) * 2019-11-04 2023-08-08 海信视像科技股份有限公司 Display device and content display method
CN112786036A (en) * 2019-11-04 2021-05-11 海信视像科技股份有限公司 Display apparatus and content display method
CN112788422A (en) * 2019-11-04 2021-05-11 海信视像科技股份有限公司 Display device
CN110941198A (en) * 2019-12-05 2020-03-31 星络智能科技有限公司 Storage medium, smart panel and power-saving booting method thereof
CN111081242A (en) * 2019-12-18 2020-04-28 中国建设银行股份有限公司 Man-machine voice interaction method and device, electronic equipment and storage medium
CN111273990A (en) * 2020-01-21 2020-06-12 腾讯科技(深圳)有限公司 Information interaction method and device, computer equipment and storage medium
CN111367407A (en) * 2020-02-24 2020-07-03 Oppo(重庆)智能科技有限公司 Intelligent glasses interaction method, intelligent glasses interaction device and intelligent glasses
CN111367407B (en) * 2020-02-24 2023-10-10 Oppo(重庆)智能科技有限公司 Intelligent glasses interaction method, intelligent glasses interaction device and intelligent glasses
CN111367491A (en) * 2020-03-02 2020-07-03 成都极米科技股份有限公司 Voice interaction method and device, electronic equipment and storage medium
CN111309283A (en) * 2020-03-25 2020-06-19 北京百度网讯科技有限公司 Voice control method and device for user interface, electronic equipment and storage medium
CN111309283B (en) * 2020-03-25 2023-12-05 北京百度网讯科技有限公司 Voice control method and device of user interface, electronic equipment and storage medium
CN112102823A (en) * 2020-07-21 2020-12-18 深圳市创维软件有限公司 Voice interaction method of intelligent terminal, intelligent terminal and storage medium
CN112037783A (en) * 2020-08-12 2020-12-04 广东志尚智能科技有限公司 Voice control system and control method
CN112164401B (en) * 2020-09-18 2022-03-18 广州小鹏汽车科技有限公司 Voice interaction method, server and computer-readable storage medium
CN112164401A (en) * 2020-09-18 2021-01-01 广州小鹏汽车科技有限公司 Voice interaction method, server and computer-readable storage medium
CN112908323B (en) * 2021-01-19 2024-03-08 三星电子(中国)研发中心 Voice control method and device of application interface and intelligent equipment
CN112908323A (en) * 2021-01-19 2021-06-04 三星电子(中国)研发中心 Voice control method and device of application interface and intelligent equipment
CN113535112A (en) * 2021-07-09 2021-10-22 广州小鹏汽车科技有限公司 Abnormity feedback method, abnormity feedback device, vehicle-mounted terminal and vehicle
CN113535112B (en) * 2021-07-09 2023-09-12 广州小鹏汽车科技有限公司 Abnormality feedback method, abnormality feedback device, vehicle-mounted terminal and vehicle
CN114047900A (en) * 2021-10-12 2022-02-15 中电金信软件有限公司 Service processing method and device, electronic equipment and computer readable storage medium
CN117198291A (en) * 2023-11-08 2023-12-08 四川蜀天信息技术有限公司 Method, device and system for controlling terminal interface by voice
CN117198291B (en) * 2023-11-08 2024-01-23 四川蜀天信息技术有限公司 Method, device and system for controlling terminal interface by voice

Similar Documents

Publication Publication Date Title
CN109960537A (en) Interaction method and device and electronic equipment
CN110288077B (en) Method and related device for synthesizing speaking expression based on artificial intelligence
CN110634483B (en) Man-machine interaction method and device, electronic equipment and storage medium
CN106201424B (en) A kind of information interacting method, device and electronic equipment
CN105100360B (en) Call householder method and device for voice communication
US20140036022A1 (en) Providing a conversational video experience
CN109656512A (en) Exchange method, device, storage medium and terminal based on voice assistant
CN106971723A (en) Method of speech processing and device, the device for speech processes
CN107040452B (en) Information processing method and device and computer readable storage medium
CN105551480B (en) Dialect conversion method and device
CN109192208A (en) A kind of control method of electrical equipment, system, device, equipment and medium
CN106297801A (en) Method of speech processing and device
US20140028780A1 (en) Producing content to provide a conversational video experience
EP3593346B1 (en) Graphical data selection and presentation of digital content
CN110047484A (en) A kind of speech recognition exchange method, system, equipment and storage medium
CN110209778A (en) A kind of method and relevant apparatus of dialogue generation
Pugh et al. Say What? Automatic Modeling of Collaborative Problem Solving Skills from Student Speech in the Wild.
CN105069013A (en) Control method and device for providing input interface in search interface
CN109243450A (en) A kind of audio recognition method and system of interactive mode
KR20220011083A (en) Information processing method, device, electronic equipment and storage medium in user dialogue
CN110503954A (en) Voice technical ability starts method, apparatus, equipment and storage medium
CN110427454A (en) Text mood analysis method and device, electronic equipment and non-transient storage media
CN109215642A (en) Processing method, device and the electronic equipment of man-machine conversation
CN113129867A (en) Training method of voice recognition model, voice recognition method, device and equipment
CN109830232A (en) Man-machine interaction method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190702