CN109348353A - Service processing method, device and the intelligent sound box of intelligent sound box - Google Patents
Service processing method, device and the intelligent sound box of intelligent sound box Download PDFInfo
- Publication number
- CN109348353A CN109348353A CN201811044189.9A CN201811044189A CN109348353A CN 109348353 A CN109348353 A CN 109348353A CN 201811044189 A CN201811044189 A CN 201811044189A CN 109348353 A CN109348353 A CN 109348353A
- Authority
- CN
- China
- Prior art keywords
- service
- type
- service type
- sound box
- intelligent sound
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/20—Arrangements for obtaining desired frequency or directional characteristics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/50—Service provisioning or reconfiguring
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/04—Inference or reasoning models
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Multimedia (AREA)
- General Health & Medical Sciences (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Acoustics & Sound (AREA)
- User Interface Of Digital Computer (AREA)
- Circuit For Audible Band Transducer (AREA)
- Selective Calling Equipment (AREA)
- Telephone Function (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present invention provides the service processing method, device and intelligent sound box of a kind of intelligent sound box.Wherein, the service processing method of intelligent sound box includes: to obtain service operation request instruction;The first service of service operation request instruction instruction operation is determined according to service operation request instruction;If intelligent sound box front stage operation second service and first service is different from second service, then obtain the service type of first service and second service, and according to the service type of first service and second service, controls intelligent sound box and run at least one of first service and second service.The service processing method of intelligent sound box provided by the invention, simplifies service processing logic, reduces realization difficulty.
Description
Technical field
The present invention relates to field of artificial intelligence more particularly to a kind of service processing method of intelligent sound box, device and
Intelligent sound box.
Background technique
Artificial intelligence is theory, method, technology and the application of the intelligence of research, exploitation for simulating, extending and extending people
One new technological sciences of system.Artificial intelligence is a branch of computer science, it attempts to understand the essence of intelligence, and
Produce a kind of new intelligence machine that can be made a response in such a way that human intelligence is similar.For example, intelligent sound box.
Intelligent sound box generally includes display screen and speaker two parts.Speaker includes multiple Mikes or microphone matrix, is used
In collection phonetic order.Intelligent sound box is shown to user by display screen according to the available corresponding information of phonetic order.
Intelligent sound box is equipped with powerful content ecology and social system, on the basis of interactive voice, easily reply tell a story, class
Journey, viewing listen song, video calling, map search, photo album a variety of interaction fields such as to show, control other smart home devices
Service under scape, meets the needs of users.For example, user issues phonetic order " listening to music ".Intelligent sound box gets the voice
After instruction, music can be played, and show music-playing interface on a display screen.
But the demand of user is random and diversification.For example, when intelligent sound box is playing music, user
Inquire weather.Currently, the processing method for concurrent services is varied, moreover, different services also leads to processing mode
It is different.So that service processing logic is complicated, it is difficult to realize.
Summary of the invention
The present invention provides the service processing method, device and intelligent sound box of a kind of intelligent sound box, simplifies service processing and patrols
Volume, reduce realization difficulty.
In a first aspect, the present invention provides a kind of service processing method of intelligent sound box, comprising:
Obtain service operation request instruction;
The first service of the service operation request instruction instruction operation is determined according to the service operation request instruction;
If the intelligent sound box front stage operation second service and first service is different from the second service, obtain
The service type of the first service and the second service, and according to the service class of the first service and the second service
Type controls intelligent sound box operation at least one of the first service and the second service.
Optionally, described according to the first service and described in a kind of possible embodiment of first aspect
The service type of two services controls intelligent sound box operation at least one of the first service and the second service,
Include:
According to the service type of the first service, the service type of the second service and preset service type and clothes
Corresponding relationship between the method for operation of being engaged in, controls the intelligent sound box and runs in the first service and the second service extremely
It is one few.
Optionally, in a kind of possible embodiment of first aspect, the service type includes following at least two:
Video service type, the Video service type are used to indicate the service for playing video;
Audio service type, the audio service type are used to indicate the service for playing audio;
Query service type, the query service type are used to indicate the service for playing query result;
Service type is triggered, the triggering service type is used to indicate after preset service operation condition triggering automatically preceding
The service of platform operation.
Optionally, in a kind of possible embodiment of first aspect, if the service type of the first service and institute
The service type of second service is stated as any one in the Video service type and the audio service type;Alternatively, if
The service type of the first service is in the Video service type, the audio service type and the query service type
Any one, the service type of the second service is the query service type, the determination first service and institute
State the method for operation of second service, comprising:
It closes and runs the second service, and first service described in front stage operation.
Optionally, in a kind of possible embodiment of first aspect, if the service type of the first service is institute
State query service type, the service type of the second service is the Video service type or the audio service type,
The method of operation of the determination first service and the second service, comprising:
The second service is converted into running background from front stage operation;
Bring into operation the first service, and controls the service operation result that the intelligent sound box exports the first service
It closes afterwards and runs the first service;
The second service is converted into front stage operation from running background.
Optionally, in a kind of possible embodiment of first aspect, the second service is converted from front stage operation
After running background, further includes:
Reduce the broadcast sound volume of sound issue device in the intelligent sound box;
After the second service is converted to front stage operation from running background, further includes:
Restore the broadcast sound volume of the sound issue device.
Optionally, in a kind of possible embodiment of first aspect, if the service type of the first service is institute
State triggering service type, the service type of the second service be the Video service type, the audio service type or
The query service type, the method for operation of the determination first service and the second service, comprising:
The second service is converted into backstage caching operation from front stage operation;
First service described in front stage operation, and control the service operation knot that the intelligent sound box exports the first service
Fruit;
When meeting the preset service stopping service condition of the first service, closes and run the first service;
The second service is converted into front stage operation from backstage caching operation.
Optionally, described according to the first service and described in a kind of possible embodiment of first aspect
The service type of two services determines after the method for operation of the first service and the second service, further includes:
When being exited according to the service type of the service of the intelligent sound box front stage operation and preset service type and service
Relationship between length determines that duration is exited in service corresponding to the service of the intelligent sound box front stage operation;
If exiting in duration the instruction that user's input has not been obtained in the service, before closing the operation intelligent sound box
The service of platform operation.
Second aspect, the present invention provide a kind of service processing device of intelligent sound box, comprising:
Module is obtained, for obtaining service operation request instruction;
Determining module is serviced, for determining that the service operation request instruction indicates according to the service operation request instruction
The first service of operation;
Service operation module, if for the intelligent sound box front stage operation second service and the first service and described the
Two services are different, then obtain the service type of the first service and the second service, and according to the first service and institute
The service type for stating second service, control the intelligent sound box run in the first service and the second service at least one
It is a.
Optionally, in a kind of possible embodiment of second aspect, the service operation module is specifically used for:
According to the service type of the first service, the service type of the second service and preset service type and clothes
Corresponding relationship between the method for operation of being engaged in, controls the intelligent sound box and runs in the first service and the second service extremely
It is one few.
Optionally, in a kind of possible embodiment of second aspect, the service type includes following at least two:
Video service type, the Video service type are used to indicate the service for playing video;
Audio service type, the audio service type are used to indicate the service for playing audio;
Query service type, the query service type are used to indicate the service for playing query result;
Service type is triggered, the triggering service type is used to indicate after preset service operation condition triggering automatically preceding
The service of platform operation.
Optionally, in a kind of possible embodiment of second aspect, if the service type of the first service and institute
The service type of second service is stated as any one in the Video service type and the audio service type;Alternatively, if
The service type of the first service is in the Video service type, the audio service type and the query service type
Any one, the service type of the second service is the query service type, and the service operation module is specifically used for:
It closes and runs the second service, and first service described in front stage operation.
Optionally, in a kind of possible embodiment of second aspect, if the service type of the first service is institute
State query service type, the service type of the second service is the Video service type or the audio service type,
The service operation module is specifically used for:
The second service is converted into running background from front stage operation;
Bring into operation the first service, and controls the service operation result that the intelligent sound box exports the first service
It closes afterwards and runs the first service;
The second service is converted into front stage operation from running background.
Optionally, in a kind of possible embodiment of second aspect, the service operation module is also used to:
Reduce the broadcast sound volume of sound issue device in the intelligent sound box;
Restore the broadcast sound volume of the sound issue device.
Optionally, in a kind of possible embodiment of second aspect, if the service type of the first service is institute
State triggering service type, the service type of the second service be the Video service type, the audio service type or
The query service type, the service operation module are specifically used for:
The second service is converted into backstage caching operation from front stage operation;
First service described in front stage operation, and control the service operation knot that the intelligent sound box exports the first service
Fruit;
When meeting the preset service stopping service condition of the first service, closes and run the first service;
The second service is converted into front stage operation from backstage caching operation.
Optionally, in a kind of possible embodiment of second aspect, the service operation module is also used to:
When being exited according to the service type of the service of the intelligent sound box front stage operation and preset service type and service
Relationship between length determines that duration is exited in service corresponding to the service of the intelligent sound box front stage operation;
If exiting in duration the instruction that user's input has not been obtained in the service, before closing the operation intelligent sound box
The service of platform operation.
The third aspect, the present invention provide a kind of intelligent sound box, which includes processor and memory.Memory is used
In store instruction, processor is for executing the instruction stored in memory, so that the above-mentioned first aspect of intelligent sound box execution is any
The service processing method for the intelligent sound box that embodiment provides.
Fourth aspect, the present invention provide a kind of storage medium, comprising: readable storage medium storing program for executing and computer program, the meter
The service processing method for the intelligent sound box that calculation machine program provides for realizing first aspect any embodiment.
5th aspect, the present invention provide a kind of program product, which includes computer program (executing instruction),
The computer program is stored in readable storage medium storing program for executing.Processor can read the computer program from readable storage medium storing program for executing, place
Reason device executes the computer program for executing the service processing for the intelligent sound box that above-mentioned first aspect any embodiment provides
Method.
The present invention provides the service processing method, device and intelligent sound box of a kind of intelligent sound box, by obtaining service operation
Request instruction determines the first service of service operation request instruction instruction operation according to service operation request instruction, if intelligent sound
Case front stage operation second service and first service is different from second service, then obtain the service class of first service and second service
Type, and according to the service type of first service and second service, it controls in intelligent sound box operation first service and second service
At least one.Due to running at least one of two services according to two service type serviced control intelligent sound boxes, simplify
Service processing logic, reduces realization difficulty.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the structural schematic diagram of the applicable intelligent sound box of the present invention;
Fig. 2 is the flow chart of the service processing method of intelligent sound box provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the service processing device of intelligent sound box provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of intelligent sound box provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the structural schematic diagram of the applicable intelligent sound box of the present invention.As shown in Figure 1, intelligent sound box 100 may include outer
The display screen 12 on shell 11 is arranged in shell 11, and processor, memory, voice collection device, sound inside shell 11 is arranged in
Sound issue device and transceiver (being not shown) etc..Voice collection device is used to obtain the voice signal of user's input.To place
Reason device can be handled voice signal, and service operation exported by display screen 12 and/or sound issue device as a result, from
And corresponding service is provided for user.Transceiver with other equipment for being communicated.For example, user inquires the " day of today
Gas ".Intelligent sound box obtains corresponding voice signal, Weather information can be shown on the display 12, show user.
Optionally, display screen 12 can be touch display screen.Optionally, voice collection device can for microphone array or
The multiple microphones of person.Optionally, sound issue device may include at least one loudspeaker.Position corresponding with loudspeaker on shell 11
Louver 13 can be set.Optionally, it is also provided with camera 14 on shell 11, is used for face recognition, video calling
Deng.
It should be noted that the present invention is each for being arranged inside the shape of intelligent sound box, the material of shell 11, shell 11
The type of a device or module, model and implementation are without limitation.
It should be noted that the service processing method of intelligent sound box provided by the invention, can be adapted for intelligent sound box,
It can be adapted for other artificial intelligence equipment with similar sofware and/or hardware configuration.The present invention sets artificial intelligence
Standby type is without limitation.Each embodiment in the present invention carries out so that artificial intelligence equipment is intelligent sound box as an example exemplary
Explanation.
Fig. 2 is the flow chart of the service processing method of intelligent sound box provided in an embodiment of the present invention.As shown in Fig. 2, this reality
The service processing method of the intelligent sound box of example offer is applied, executing subject can be the service processing device or intelligence of intelligent sound box
Speaker.As shown in Fig. 2, the service processing method of intelligent sound box provided in this embodiment, may include:
S201, service operation request instruction is obtained.
Wherein, service operation request instruction is for requesting one service of operation.The service refers to that intelligent sound box can be
The activity that can satisfy user demand that user provides is realized by running the program code being stored in intelligent sound box.
For example, playing film, playing short-sighted frequency, tell a story, learn course, listen song, cross-talk, map search, weather lookup, encyclopaedia is listened to look into
Inquiry, browsing pictures, controls other smart home devices, video calling, alarm clock, etc. at poem inquiry.The present embodiment is for service
Classification without limitation.For example, in some scenes, the service that be defined as two different of inquiry poem and inquiry entry meaning.
In other scenes, inquiry poem and inquiry entry meaning are defined as a service, are defined as two not with inquiry weather
Same service.
Optionally, attribute information has can be set in service.The attribute information of service may include any one in following:
Service name, service identifiers and service illustrate information.
For different services and different application scenarios, the acquisition modes of service operation request instruction can be different.
Optionally, in S201, service operation request instruction is obtained, may include:
The phonetic order of user's input is obtained by the voice collection device of intelligent sound box.
It is illustrated below with reference to specific service and application scenarios.For example, user wants to listen song, user is it may be said that " I thinks
Listen XX ".User thinks learned lesson, and user is it may be said that " opening XX course ".User want understand today weather, user it may be said that
" weather of today ".User thinks one prompting of setting, and user is it may be said that " 8 points of morning reminds me to go to the airport ".In above-mentioned each field
Jing Zhong, intelligent sound box can obtain the phonetic order of user's input by voice collection device, which indicates request
Run corresponding service.
Optionally, in S201, service operation request instruction is obtained, may include:
Service operation request instruction is obtained by the transceiver of intelligent sound box.
It is illustrated below with reference to specific service and application scenarios.For example, when user A dials visual telephone to user B,
Intelligent sound box can receive wireless signal by transceiver.The wireless signal is service operation request instruction, for requesting
Run video calling service.
Optionally, in S201, service operation request instruction is obtained, may include:
Service operation request instruction is obtained by the display screen of intelligent sound box.
It is illustrated below with reference to specific service and application scenarios.For example, user needs to inquire the meaning of entry A.Intelligence
The meaning of entry A is shown on the display screen of speaker to user.And occurs entry B in the meaning of entry A.User touches display
Position on screen where entry B.At this point, intelligent sound box arrives service operation request instruction, the service by the way that display screen is available
Request instruction is run for requesting operation query service, to display for a user the meaning of entry B.
Optionally, in S201, service operation request instruction is obtained, may include:
Service operation request instruction is obtained when the preset service operation condition of service is triggered.
It is illustrated below with reference to specific service and application scenarios.For example, request is provided with one when user yesterday afternoon 4
A prompting, reminded contents are " 8 points of morning reminds me to go to the airport ".8 points of this morning, the preset service operation item of alarm service
Part is triggered, then available service operation request instruction.The service operation request instruction is for requesting operation alarm service.
S202, the first service that the instruction operation of service operation request instruction is determined according to service operation request instruction.
Specifically, the acquisition modes of service operation request instruction are different, the content of service operation request instruction is different, according to
Service operation request instruction determines that the method for the service of its instruction operation is different.It may refer to the existing processing side of different services
Method, the present embodiment are not particularly limited.For example, video calling service can be determined according to communication protocol, it can be according to timing algorithm
Determine alarm service.
If S203, intelligent sound box front stage operation second service and first service are different from second service, the first clothes are obtained
The service type of business and second service, and according to the service type of first service and second service controls intelligent sound box operation the
At least one of one service and second service.
Specifically, in the present embodiment, intelligent sound box is properly termed as second service in the service of current time front stage operation.
At this point, being properly termed as first service by the service for obtaining the request operation of service operation request instruction.So-called front stage operation, refers to
Service is currently running, and can show service operation result by display screen.Such as.Film is currently played in intelligent sound box,
If user thinks that query time, second service are to play Video service, first service is query time service.At this point, first
It services different from second service.For another example, the display screen of intelligent sound box currently shows the meaning of entry A.If user wants to inquire
The meaning of entry B, then second service is entry query service, and first service is entry query service.At this point, first service and
Two services are identical.For another example, the display screen of intelligent sound box currently shows the meaning of entry A.If user wants to inquire weather, the
Two services are entry query service, and first service is weather lookup service.At this point, first service is different from second service.
When intelligent sound box front stage operation second service, and operation first service is requested, and first service and second service
Difference then can control intelligent sound box operation first service and the second clothes according to the service type of first service and second service
At least one of business.Wherein, service is different, and the service type of service can be identical.For example, entry query service and weather are looked into
It is different to ask service.But entry query service and the service type of weather lookup service can be identical, for example, being inquiry clothes
Service type.Difference is serviced in another example listening cross-talk service and telling a story.But listen the service class of cross-talk service and service of telling a story
Type can be identical, for example, being audio service type.It should be noted that the present embodiment does not do the service type of service
It limits, it can be in the corresponding relationship being previously stored in intelligent sound box between preset service and service type.
As it can be seen that the service processing method of intelligent sound box provided in this embodiment, services when intelligent sound box front stage operation one
When, request runs new service again at this time, can run two services according to two service type serviced control intelligent sound boxes
At least one of, setting task manager is avoided, service processing logic is simplified, reduces realization difficulty.
Optionally, preset service type includes following at least two:
Video service type, Video service type are used to indicate the service for playing video.
Audio service type, audio service type are used to indicate the service for playing audio.
Query service type, query service type are used to indicate the service for playing query result.
Service type is triggered, triggering service type is transported on foreground automatically after being used to indicate preset service operation condition triggering
Capable service.
It is illustrated below by example.
For example, the corresponding service of Video service type may include at least one of following: playing film and play short
Video.The corresponding service of audio service type may include at least one of following: telling a story, learns course, listens song and listen phase
Sound.The corresponding service of query service type may include at least one of following: map search, weather lookup, encyclopaedia inquiry,
Poem inquiry and controls other smart home devices at browsing pictures.Triggering the corresponding service of service type may include in following
At least one: video calling and alarm clock.
Optionally, in S203, the service type of first service and second service is obtained, may include:
Obtain the service identifiers of first service and second service.
According to pair between first service and the service identifiers and preset service identifiers and service type of second service
It should be related to, obtain the service type of first service and second service.
Specifically, can be previously stored in intelligent sound box different services service identifiers and preset service identifiers with
Corresponding relationship between service type.According to the corresponding relationship, first service can be obtained according to the service identifiers of first service
Service type, can according to the service identifiers of second service obtain second service service type.
It should be noted that the present embodiment for service identifiers implementation without limitation.For example, can for number,
The combination of letter or number and letter.
Optionally, in S203, according to the service type of first service and second service, the first clothes of intelligent sound box operation are controlled
At least one of business and second service may include:
According to the service type of first service, the service type of second service and preset service type and service operation side
Corresponding relationship between formula, control intelligent sound box run at least one of first service and second service.
Specifically, can be previously stored in intelligent sound box corresponding between preset service type and service operation mode
Relationship.According to the corresponding relationship, intelligent sound can be controlled according to the service type of first service and the service type of second service
Case runs at least one of first service and second service.
It is illustrated below by example.Refer to table 1.Table 1 shows preset service type and service operation mode
Between corresponding relationship.
Table 1
Wherein, so-called running background refers to that service is currently running, but service operation result will not be shown on display screen.
If including audio data in service operation result, can be played by sound issue device.So-called backstage caching is run, and is
Refer to service operation suspension, service operation will not be generated as a result, being still stored with buffered data, in order to restore the operation of service.
Optionally, the corresponding relationship between preset service type, preset service identifiers and service type, preset clothes
Corresponding relationship between service type and service operation mode can periodically update or event triggering updates.
Optionally, if the service type of first service and the service type of second service are that Video service type and audio take
Any one in service type;Alternatively, if the service type of first service is Video service type, audio service type and inquiry
Any one in service type, the service type of second service are query service type, in S203, determine first service and the
The method of operation of two services, comprising:
Close operation second service, and front stage operation first service.
It is illustrated below by example.
In one example, second service is the service of telling a story, and first service is that song is listened to service.Then close clothes of telling a story
Business, front stage operation listen song to service.Playback of songs interface will be shown on the display screen of intelligent sound box.
In another example, second service is to play movie services, and first service is that song is listened to service.Then close broadcasting electricity
Shadow service, front stage operation listen song to service.Playback of songs interface will be shown on the display screen of intelligent sound box.
In yet another example, second service is weather lookup service, and first service is to play movie services.Then close day
Gas query service, front stage operation play movie services.Film broadcast interface will be shown on the display screen of intelligent sound box.
In yet another example, second service is weather lookup service, and first service is entry query service.Then close day
Gas query service, front stage operation entry query service.The related of the entry for inquiring display on the display screen of intelligent sound box is believed
Breath.
Optionally, if the service type of first service is query service type, the service type of second service is video clothes
Service type or audio service type in S203, determine the method for operation of first service and second service, may include:
Second service is converted into running background from front stage operation.
Bring into operation first service, and closes operation the after controlling the service operation result of intelligent sound box output first service
One service.
Second service is converted into front stage operation from running background.
Optionally, the service operation of control intelligent sound box output first service is as a result, may include:
Control the sound issue device of intelligent sound box and/or the service operation result of display screen output first service.
It is illustrated below by example.
For example, second service is that song is listened to service, first service is weather lookup service.It will then listen song service from front stage operation
Be converted to running background.At this point, will not show music-playing interface on the display screen of intelligent sound box.The sound of intelligent sound box issues
Device can continue to play music.Bring into operation weather lookup service, can show weather lookup on the display screen of intelligent sound box
As a result.Later, operation weather lookup service is closed.Song service will be listened to be converted to front stage operation from running background.At this point, intelligent sound
Music-playing interface will be shown on the display screen of case.The sound issue device continuous music play of intelligent sound box.
Optionally, after second service being converted to running background from front stage operation, further includes:
Reduce the broadcast sound volume of sound issue device in intelligent sound box.
After second service is converted to front stage operation from running background, further includes:
Restore the broadcast sound volume of sound issue device.
It is illustrated below by example.
Also with above-mentioned second service be listen song service, first service be weather lookup service for be illustrated.Song is listened to take
After business is converted to running background from front stage operation, the broadcast sound volume of sound issue device in intelligent sound box can be reduced, is avoided pair
User obtains weather lookup result and interferes.After song service will be listened to be converted to front stage operation from running background, sound can be restored
The broadcast sound volume of sound issue device.
Optionally, if the service type of first service is triggering service type, the service type of second service is video clothes
Service type, audio service type or query service type in S203, determine the method for operation of first service and second service,
May include:
Second service is converted into backstage caching operation from front stage operation.
Front stage operation first service, and control the service operation result of intelligent sound box output first service.
When meeting the preset service stopping service condition of first service, operation first service is closed.
Second service is converted into front stage operation from backstage caching operation.
It is illustrated below by example.
For example, second service is that song is listened to service, first service is video calling service.It will then listen song service from front stage operation
Be converted to backstage caching operation.At this point, will not show music-playing interface on the display screen of intelligent sound box.The sound of intelligent sound box
Issue device will not play music.Front stage operation video calling service can show video calling on the display screen of intelligent sound box
Interface.When user terminates video calling by touch screen manually, alternatively, intelligent sound box obtains user's by voice collection device
Voice signal, voice signal instruction terminate video calling, then close operation video calling service.Song service will be listened slow from backstage
It deposits operation and is converted to front stage operation.At this point, will show music-playing interface on the display screen of intelligent sound box.The sound of intelligent sound box
Issue device will continue to play music.
Optionally, the operation side of first service and second service is determined according to the service type of first service and second service
After formula, can also include:
According to the service type of the service of intelligent sound box front stage operation and preset service type and service exit duration it
Between relationship, determine that duration is exited in service corresponding to the service of intelligent sound box front stage operation.
If exiting in duration the instruction that user's input has not been obtained in service, operation intelligent sound box front stage operation is closed
Service.
Specifically, the service for a front stage operation, if being not received by any signal in preset time period, intelligence
Speaker, which can actively close, runs the service.The preset time period is properly termed as service and exits duration.In the present embodiment, it services
At least one identical service of type corresponds to the same service and exits duration.For example, for tell a story service, listen song service and
Cross-talk service is listened, it is identical that duration is exited in service.If exiting in duration the instruction that user's input has not been obtained in service, fortune is closed
The service of row intelligent sound box front stage operation.The operation resource for saving intelligent sound box, reduces energy consumption.
It should be noted that the present embodiment exits the specific value of duration not for the different corresponding services of service type
It limits.
The present embodiment provides a kind of service processing methods of intelligent sound box, comprising: service operation request instruction is obtained, according to
Service operation request instruction determines the first service of service operation request instruction instruction operation, if intelligent sound box front stage operation second
It services and first service is different from second service, then obtain the service type of first service and second service, and according to the first clothes
The service type of business and second service, control intelligent sound box run at least one of first service and second service.This implementation
The service processing method for the intelligent sound box that example provides, when one service of intelligent sound box front stage operation, request operation is new again at this time
Service, can according to two service service type control intelligent sound boxes run two service at least one of, avoid
Task manager is set, simplifies service processing logic, reduces realization difficulty.
Fig. 3 is the structural schematic diagram of the service processing device of intelligent sound box provided in an embodiment of the present invention.The present embodiment mentions
The service processing device of the intelligent sound box of confession, the service processing method of the intelligent sound box for executing embodiment illustrated in fig. 2 offer.
As shown in figure 3, the service processing device of intelligent sound box provided in this embodiment, may include:
Module 31 is obtained, for obtaining service operation request instruction.
Determining module 32 is serviced, for determining the instruction operation of service operation request instruction according to service operation request instruction
First service.
Service operation module 33, if for intelligent sound box front stage operation second service and first service and second service not
Together, then the service type of first service and second service is obtained, and according to the service type of first service and second service, control
Intelligent sound box runs at least one of first service and second service.
Optionally, service operation module 33 is specifically used for:
According to the service type of first service, the service type of second service and preset service type and service operation side
Corresponding relationship between formula, control intelligent sound box run at least one of first service and second service.
Optionally, service type includes following at least two:
Video service type, Video service type are used to indicate the service for playing video.
Audio service type, audio service type are used to indicate the service for playing audio.
Query service type, query service type are used to indicate the service for playing query result.
Service type is triggered, triggering service type is transported on foreground automatically after being used to indicate preset service operation condition triggering
Capable service.
Optionally, if the service type of first service and the service type of second service are that Video service type and audio take
Any one in service type;Alternatively, if the service type of first service is Video service type, audio service type and inquiry
The service type of any one in service type, second service is query service type, and service operation module 33 is specifically used for:
Close operation second service, and front stage operation first service.
Optionally, if the service type of first service is query service type, the service type of second service is video clothes
Service type or audio service type, service operation module 33 are specifically used for:
Second service is converted into running background from front stage operation.
Bring into operation first service, and closes operation the after controlling the service operation result of intelligent sound box output first service
One service.
Second service is converted into front stage operation from running background.
Optionally, service operation module 33 is also used to:
Reduce the broadcast sound volume of sound issue device in intelligent sound box.
Restore the broadcast sound volume of sound issue device.
Optionally, if the service type of first service is triggering service type, the service type of second service is video clothes
Service type, audio service type or query service type, service operation module 33 are specifically used for:
Second service is converted into backstage caching operation from front stage operation.
Front stage operation first service, and control the service operation result of intelligent sound box output first service.
When meeting the preset service stopping service condition of first service, operation first service is closed.
Second service is converted into front stage operation from backstage caching operation.
Optionally, service operation module 33 is also used to:
According to the service type of the service of intelligent sound box front stage operation and preset service type and service exit duration it
Between relationship, determine that duration is exited in service corresponding to the service of intelligent sound box front stage operation.
If exiting in duration the instruction that user's input has not been obtained in service, operation intelligent sound box front stage operation is closed
Service.
The service processing device of intelligent sound box provided in this embodiment, for executing the intelligence of embodiment illustrated in fig. 2 offer
The service processing method of speaker, specific implementation is similar with technical effect, and which is not described herein again.
Fig. 4 is the structural schematic diagram of intelligent sound box provided in an embodiment of the present invention.As shown in figure 4, the intelligent sound box can
To include processor 41 and memory 42.For storing instruction, the processor 41 is for executing described deposit for the memory 42
The instruction stored in reservoir 42, so that the intelligent sound box executes the service processing for the intelligent sound box that embodiment illustrated in fig. 2 provides
Method, specific implementation is similar with technical effect, and which is not described herein again.The intelligent sound box can also include: transceiver 43,
Display screen 44, voice collection device 45 and sound issue device 46.The transceiver 43 is used for and other equipment communication.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or
The various media that can store program code such as person's CD.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the embodiment of the present invention, rather than to it
Limitation;Although the embodiment of the present invention is described in detail referring to foregoing embodiments, those skilled in the art
It is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, either to part of or
All technical features are equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution this hair
The range of bright embodiment technical solution.
Claims (18)
1. a kind of service processing method of intelligent sound box characterized by comprising
Obtain service operation request instruction;
The first service of the service operation request instruction instruction operation is determined according to the service operation request instruction;
If the intelligent sound box front stage operation second service and first service is different from the second service, obtain described in
The service type of first service and the second service, and according to the service type of the first service and the second service,
Control intelligent sound box operation at least one of the first service and the second service.
2. the method according to claim 1, wherein described according to the first service and the second service
Service type controls intelligent sound box operation at least one of the first service and the second service, comprising:
It is transported according to the service type of the first service, the service type of the second service and preset service type and service
Corresponding relationship between line mode, control the intelligent sound box run in the first service and the second service at least one
It is a.
3. method according to claim 1 or 2, which is characterized in that the service type includes following at least two:
Video service type, the Video service type are used to indicate the service for playing video;
Audio service type, the audio service type are used to indicate the service for playing audio;
Query service type, the query service type are used to indicate the service for playing query result;
Service type is triggered, the triggering service type is transported on foreground automatically after being used to indicate preset service operation condition triggering
Capable service.
4. according to the method described in claim 3, it is characterized in that, if the service type of the first service and second clothes
The service type of business is any one in the Video service type and the audio service type;Alternatively, if described first
The service type of service is any one in the Video service type, the audio service type and the query service type
Kind, the service type of the second service is the query service type, the determination first service and second clothes
The method of operation of business, comprising:
It closes and runs the second service, and first service described in front stage operation.
5. according to the method described in claim 3, it is characterized in that, if the service type of the first service is inquiry clothes
Service type, the service type of the second service are the Video service type or the audio service type, the determination
The method of operation of the first service and the second service, comprising:
The second service is converted into running background from front stage operation;
Bring into operation the first service, and controls after the intelligent sound box exports the service operation result of the first service and close
Close the operation first service;
The second service is converted into front stage operation from running background.
6. according to the method described in claim 5, being transported it is characterized in that, the second service is converted to backstage from front stage operation
After row, further includes:
Reduce the broadcast sound volume of sound issue device in the intelligent sound box;
After the second service is converted to front stage operation from running background, further includes:
Restore the broadcast sound volume of the sound issue device.
7. according to the method described in claim 3, it is characterized in that, if the service type of the first service is triggering clothes
Service type, the service type of the second service are the Video service type, the audio service type or the inquiry
Service type, the method for operation of the determination first service and the second service, comprising:
The second service is converted into backstage caching operation from front stage operation;
First service described in front stage operation, and control the service operation result that the intelligent sound box exports the first service;
When meeting the preset service stopping service condition of the first service, closes and run the first service;
The second service is converted into front stage operation from backstage caching operation.
8. method according to claim 1 or 2, which is characterized in that described to be taken according to the first service with described second
The service type of business determines after the method for operation of the first service and the second service, further includes:
According to the service type of the service of the intelligent sound box front stage operation and preset service type and service exit duration it
Between relationship, determine that duration is exited in service corresponding to the service of the intelligent sound box front stage operation;
If exiting in duration the instruction that user's input has not been obtained in the service, the operation intelligent sound box foreground fortune is closed
Capable service.
9. a kind of service processing device of intelligent sound box characterized by comprising
Module is obtained, for obtaining service operation request instruction;
Determining module is serviced, for determining the service operation request instruction instruction operation according to the service operation request instruction
First service;
Service operation module, if for the intelligent sound box front stage operation second service and the first service and second clothes
Business is different, then obtains the service type of the first service and the second service, and according to the first service and described the
The service type of two services controls intelligent sound box operation at least one of the first service and the second service.
10. device according to claim 9, which is characterized in that the service operation module is specifically used for:
It is transported according to the service type of the first service, the service type of the second service and preset service type and service
Corresponding relationship between line mode, control the intelligent sound box run in the first service and the second service at least one
It is a.
11. device according to claim 9 or 10, which is characterized in that the service type includes following at least two:
Video service type, the Video service type are used to indicate the service for playing video;
Audio service type, the audio service type are used to indicate the service for playing audio;
Query service type, the query service type are used to indicate the service for playing query result;
Service type is triggered, the triggering service type is transported on foreground automatically after being used to indicate preset service operation condition triggering
Capable service.
12. device according to claim 11, which is characterized in that if the service type of the first service and described second
The service type of service is any one in the Video service type and the audio service type;Alternatively, if described
The service type of one service is any in the Video service type, the audio service type and the query service type
The service type of one kind, the second service is the query service type, and the service operation module is specifically used for:
It closes and runs the second service, and first service described in front stage operation.
13. device according to claim 11, which is characterized in that if the service type of the first service is the inquiry
Service type, the service type of the second service are the Video service type or the audio service type, the clothes
Business operation module is specifically used for:
The second service is converted into running background from front stage operation;
Bring into operation the first service, and controls after the intelligent sound box exports the service operation result of the first service and close
Close the operation first service;
The second service is converted into front stage operation from running background.
14. device according to claim 13, which is characterized in that the service operation module is also used to:
Reduce the broadcast sound volume of sound issue device in the intelligent sound box;
Restore the broadcast sound volume of the sound issue device.
15. device according to claim 11, which is characterized in that if the service type of the first service is the triggering
Service type, the service type of the second service are the Video service type, the audio service type or described look into
Service type is ask, the service operation module is specifically used for:
The second service is converted into backstage caching operation from front stage operation;
First service described in front stage operation, and control the service operation result that the intelligent sound box exports the first service;
When meeting the preset service stopping service condition of the first service, closes and run the first service;
The second service is converted into front stage operation from backstage caching operation.
16. device according to claim 9 or 10, which is characterized in that the service operation module is also used to:
According to the service type of the service of the intelligent sound box front stage operation and preset service type and service exit duration it
Between relationship, determine that duration is exited in service corresponding to the service of the intelligent sound box front stage operation;
If exiting in duration the instruction that user's input has not been obtained in the service, the operation intelligent sound box foreground fortune is closed
Capable service.
17. a kind of intelligent sound box characterized by comprising memory and processor;
The memory, for storing program instruction;
The processor, for calling the described program stored in the memory instruction to realize as appointed in claim 1-8
The service processing method of intelligent sound box described in one.
18. a kind of storage medium characterized by comprising readable storage medium storing program for executing and computer program, the computer program are used
In the service processing method for realizing such as intelligent sound box of any of claims 1-8.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811044189.9A CN109348353B (en) | 2018-09-07 | 2018-09-07 | Service processing method and device of intelligent sound box and intelligent sound box |
JP2019125705A JP6861243B2 (en) | 2018-09-07 | 2019-07-05 | Smart speaker service processing methods, devices and smart speakers |
US16/516,022 US11321045B2 (en) | 2018-09-07 | 2019-07-18 | Service processing method and apparatus for smart sound box, and smart sound box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811044189.9A CN109348353B (en) | 2018-09-07 | 2018-09-07 | Service processing method and device of intelligent sound box and intelligent sound box |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109348353A true CN109348353A (en) | 2019-02-15 |
CN109348353B CN109348353B (en) | 2020-04-14 |
Family
ID=65304971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811044189.9A Active CN109348353B (en) | 2018-09-07 | 2018-09-07 | Service processing method and device of intelligent sound box and intelligent sound box |
Country Status (3)
Country | Link |
---|---|
US (1) | US11321045B2 (en) |
JP (1) | JP6861243B2 (en) |
CN (1) | CN109348353B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016033269A1 (en) * | 2014-08-28 | 2016-03-03 | Analog Devices, Inc. | Audio processing using an intelligent microphone |
CN107492374A (en) * | 2017-10-11 | 2017-12-19 | 深圳市汉普电子技术开发有限公司 | A kind of sound control method, smart machine and storage medium |
CN108039172A (en) * | 2017-12-01 | 2018-05-15 | Tcl通力电子(惠州)有限公司 | Smart bluetooth speaker voice interactive method, smart bluetooth speaker and storage medium |
CN108184204A (en) * | 2017-12-28 | 2018-06-19 | 西安Tcl软件开发有限公司 | Location information acquisition method, server and storage medium based on intelligent sound |
CN108271096A (en) * | 2018-01-30 | 2018-07-10 | 上海乐愚智能科技有限公司 | A kind of task executing method, device, intelligent sound box and storage medium |
CN108337138A (en) * | 2018-01-10 | 2018-07-27 | 喻建琦 | A kind of intelligent domestic system based on Internet of Things |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005107287A (en) * | 2003-09-30 | 2005-04-21 | Kyocera Mita Corp | Image forming apparatus |
US9992314B2 (en) * | 2008-01-24 | 2018-06-05 | Garmin Switzerland Gmbh | Automatic device mode switching |
JP2013171312A (en) * | 2012-02-17 | 2013-09-02 | Denso Corp | Video voice control device |
KR102056461B1 (en) * | 2012-06-15 | 2019-12-16 | 삼성전자주식회사 | Display apparatus and method for controlling the display apparatus |
IN2013DE00359A (en) * | 2013-02-07 | 2015-06-19 | Samsung India Electronics Pvt Ltd | |
KR102148948B1 (en) * | 2013-12-06 | 2020-08-27 | 삼성전자주식회사 | Multi tasking method of electronic apparatus and electronic apparatus thereof |
JP6671379B2 (en) * | 2014-10-01 | 2020-03-25 | エクスブレイン・インコーポレーテッド | Voice and connectivity platforms |
US10331312B2 (en) * | 2015-09-08 | 2019-06-25 | Apple Inc. | Intelligent automated assistant in a media environment |
US10616652B2 (en) * | 2016-08-04 | 2020-04-07 | Novatek Microelectronics Corp. | Playback method and electronic device using the same |
-
2018
- 2018-09-07 CN CN201811044189.9A patent/CN109348353B/en active Active
-
2019
- 2019-07-05 JP JP2019125705A patent/JP6861243B2/en active Active
- 2019-07-18 US US16/516,022 patent/US11321045B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016033269A1 (en) * | 2014-08-28 | 2016-03-03 | Analog Devices, Inc. | Audio processing using an intelligent microphone |
CN107492374A (en) * | 2017-10-11 | 2017-12-19 | 深圳市汉普电子技术开发有限公司 | A kind of sound control method, smart machine and storage medium |
CN108039172A (en) * | 2017-12-01 | 2018-05-15 | Tcl通力电子(惠州)有限公司 | Smart bluetooth speaker voice interactive method, smart bluetooth speaker and storage medium |
CN108184204A (en) * | 2017-12-28 | 2018-06-19 | 西安Tcl软件开发有限公司 | Location information acquisition method, server and storage medium based on intelligent sound |
CN108337138A (en) * | 2018-01-10 | 2018-07-27 | 喻建琦 | A kind of intelligent domestic system based on Internet of Things |
CN108271096A (en) * | 2018-01-30 | 2018-07-10 | 上海乐愚智能科技有限公司 | A kind of task executing method, device, intelligent sound box and storage medium |
Non-Patent Citations (1)
Title |
---|
阿里巴巴: "天猫精灵X1", 《天猫精灵X1,HTTPS://BAIKE.BAIDU.COM/ITEM/%E5%A4%A9%E7%8C%AB%E7%B2%BE%E7%81%B5X1/21524509?FR=ALADDIN&IVK_SA=1022817P》 * |
Also Published As
Publication number | Publication date |
---|---|
CN109348353B (en) | 2020-04-14 |
US11321045B2 (en) | 2022-05-03 |
JP2019207708A (en) | 2019-12-05 |
JP6861243B2 (en) | 2021-04-21 |
US20190339933A1 (en) | 2019-11-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200042335A1 (en) | Virtual assistant focused user interfaces | |
CN107005612B (en) | Digital assistant alarm system | |
CN108492827B (en) | Wake-up processing method, device and the storage medium of application program | |
CN109545206A (en) | Voice interaction processing method, device and the smart machine of smart machine | |
CN107146611B (en) | Voice response method and device and intelligent equipment | |
CN107025906A (en) | The method and product and message processing device in the cycle of extended voice identification | |
CN109637548A (en) | Voice interactive method and device based on Application on Voiceprint Recognition | |
WO2016042889A1 (en) | Information processing device, information processing method and computer program | |
GB2547744B (en) | Facilitation of offline semantic processing in a resource-constrained device | |
CN109643548A (en) | System and method for content to be routed to associated output equipment | |
CN109597538A (en) | Can operational controls display methods, device, equipment and readable medium | |
CN109887505A (en) | Method and apparatus for wake-up device | |
CN109712644A (en) | Method based on speech recognition emotional change control LED display effect, the apparatus and system for controlling LED display effect | |
CN109671435A (en) | Method and apparatus for waking up smart machine | |
CN109325180A (en) | Article abstract method for pushing, device, terminal device, server and storage medium | |
CN109388365A (en) | Information processing method, information processing equipment and computer readable storage medium | |
CN107734356A (en) | Video image quality adjustment method, device, terminal device and storage medium | |
CN109979451A (en) | Method and apparatus for output information | |
KR20230118164A (en) | Combining device or assistant-specific hotwords into a single utterance | |
CN109213892A (en) | A kind of audio frequency playing method, device, equipment and storage medium | |
JP2021110921A (en) | Voice interactive method, device and apparatus, and storage medium | |
WO2023246275A1 (en) | Method and apparatus for playing speech message, and terminal and storage medium | |
CN109658924B (en) | Session message processing method and device and intelligent equipment | |
CN109348353A (en) | Service processing method, device and the intelligent sound box of intelligent sound box | |
CN111339349A (en) | Singing bill recommendation method |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210520 Address after: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing Patentee after: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd. Patentee after: Shanghai Xiaodu Technology Co.,Ltd. Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing Patentee before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd. |