WO2019128829A1 - Action execution method and apparatus, storage medium and electronic apparatus - Google Patents

Action execution method and apparatus, storage medium and electronic apparatus Download PDF

Info

Publication number
WO2019128829A1
WO2019128829A1 PCT/CN2018/122280 CN2018122280W WO2019128829A1 WO 2019128829 A1 WO2019128829 A1 WO 2019128829A1 CN 2018122280 W CN2018122280 W CN 2018122280W WO 2019128829 A1 WO2019128829 A1 WO 2019128829A1
Authority
WO
WIPO (PCT)
Prior art keywords
scenario
action
information
service scenario
instruction
Prior art date
Application number
PCT/CN2018/122280
Other languages
French (fr)
Chinese (zh)
Inventor
王斌
朱兴昌
顾泳飞
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2019128829A1 publication Critical patent/WO2019128829A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4112Peripherals receiving signals from specially adapted client devices having fewer capabilities than the client, e.g. thin client having less processing power or no tuning capabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42203Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] sound input device, e.g. microphone
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Definitions

  • the present invention relates to the field of communications, and in particular to an action execution method, apparatus, storage medium, and electronic device.
  • voice control has gradually become possible, and the implementation of voice control actions is also an important development direction in the future.
  • some devices can interact with natural language, ask the weather, query brief information, play music, order goods, and so on.
  • the embodiments of the present invention provide an action execution method, device, storage medium, and electronic device, so as to at least solve the problem that the input control command cannot be intelligently recognized in the related art, resulting in low user experience.
  • an action execution method including: receiving a control instruction, and determining a service scenario in which a user equipment UE is currently located; determining, according to the control instruction and the service scenario, that the UE is to be executed An action of instructing the UE to perform the action.
  • determining that the service scenario in which the UE is currently located includes at least one of: receiving first scenario information from the UE for identifying a service scenario where the UE is currently located, according to the first scenario Determining the service scenario; determining the second scenario information that is stored locally for identifying the service scenario in which the UE is currently located, and determining the service scenario according to the second scenario information.
  • the method further includes: receiving a modification instruction; modifying the locally stored location according to the modification instruction The second scene information is described.
  • determining, according to the control instruction and the service scenario, that the action to be performed by the user equipment comprises: determining that the user equipment is to be determined by analyzing semantics of the control instruction and the service scenario according to predetermined logic The action performed.
  • an action performing method comprising: transmitting a control instruction to an analysis processor; receiving, by the analysis processor, a scenario for identifying a current business scenario according to the control instruction An action instruction returned by the information; an action indicated by the action instruction is executed.
  • the scenario information includes first scenario information
  • the method before receiving the action instruction, the method further includes: sending the first scenario information to the analysis processor.
  • the method before the sending the first scene information to the analysis processor, the method further includes: determining the first scene information by scanning a currently activated program.
  • the scenario information includes second scenario information
  • the method further includes: sending a modification instruction to the analysis processor, where the modification instruction is used to instruct the analysis processor to modify the locally stored Second scene information.
  • an action execution apparatus including: a processing module, configured to receive a control instruction, and determine a service scenario in which the user equipment UE is currently located; and a determining module configured to be according to the control instruction Determining, by the service scenario, an action to be performed by the UE; and an indication module, configured to instruct the UE to perform the action.
  • the processing module when determining the service scenario that the UE is currently located, includes at least one of the following: a first determining unit, configured to receive, from the UE, to identify that the UE is currently located The first scene information of the service scenario is determined according to the first scenario information, and the second determining unit is configured to determine locally stored second scenario information that is used to identify the current service scenario of the UE. Determining the service scenario according to the second scenario information.
  • an action execution apparatus comprising: a first transmitting module configured to send a control instruction to an analysis processor; and a receiving module configured to receive the analysis processor according to the control instruction And an action instruction for returning scene information for identifying the current business scenario; and an execution module configured to execute the action indicated by the action instruction.
  • the scenario information includes first scenario information
  • the device further includes: a second sending module, configured to send the first scenario information to the analysis processor before receiving the action instruction.
  • a storage medium having stored therein a computer program, wherein the computer program is arranged to execute the steps of any one of the method embodiments described above.
  • an electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being arranged to run the computer program to perform any of the above methods The steps in the examples.
  • the action indicated by the control instruction can be determined according to the service scenario in which the UE is currently located. Therefore, under different service scenarios, the same control command can control the execution of different actions, thereby realizing the determined service scenario.
  • the purpose of the action control can be realized without inputting a complete control command, that is, the purpose of intelligently identifying the input control command is realized, and the existing control commands in the related art cannot be intelligently recognized, thereby causing the user to The problem of low experience is achieved by improving the user experience.
  • FIG. 1 is a flowchart of a first action execution method according to an embodiment of the present invention
  • FIG. 2 is a block diagram showing the hardware structure of a mobile terminal according to an action execution method according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a second action execution method according to an embodiment of the present invention.
  • FIG. 4 is a block diagram showing the structure of a first type of action execution apparatus according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a second action execution apparatus according to an embodiment of the present invention.
  • Figure 6 is a system block diagram of an embodiment of the present invention.
  • FIG. 7 is a flow chart of voice control according to a specific embodiment of the present invention.
  • FIG. 8 is a flow chart of voice control according to a second embodiment of the present invention.
  • FIG. 9 is a flow chart of voice control according to a third embodiment of the present invention.
  • FIG. 10 is a flow chart of voice control according to a fourth embodiment of the present invention.
  • voice control can be taken as an example.
  • a key experience indicator of the voice control system is whether the user's speaking mode is natural, and the more natural the user speaks, the more inclined the colloquial language is, the better the user experience is.
  • the current understanding of the user's language relies mainly on the language itself, and is analyzed by techniques such as context, non-linear processor (NLP), parse tree, etc., that is, all the sources of analysis information are the language itself.
  • NLP non-linear processor
  • the current scene service is a very important factor. Different scene services have different meanings in the same sentence.
  • the user says “turn off the lights”. If the user is in the living room, the actual meaning is “lights off the living room”; if it is in the study, the actual meaning is “lights off the study room”.
  • FIG. 1 is a flowchart of a first action execution method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 receiving a control instruction, and determining a service scenario in which the user equipment UE is currently located;
  • Step S104 determining, according to the foregoing control instruction and the service scenario, an action to be performed by the UE;
  • Step S106 instructing the UE to perform the above action.
  • the above operation may be performed by a processor (for example, an analysis processor for analyzing control commands and a service scenario), and the processor may be integrated in the UE or may be independent of the UE, for example, Located in another UE, or on the network side, where the correspondence between the processor and the UE may be one-to-many, that is, one processor may serve multiple terminals, and the control instructions are combined with the service scenario.
  • Analysis is actually an analysis of the user's actual control intent, that is, a processor can perform user intent analysis of control commands for multiple terminals.
  • the action indicated by the control instruction may be determined according to the service scenario in which the UE is currently located. Therefore, in different service scenarios, the same control command may control the execution of different actions, thereby implementing the determined service scenario.
  • the purpose of the action control can be realized without inputting a complete control command, that is, the purpose of intelligently identifying the input control command is realized, and the existing control commands in the related art cannot be intelligently recognized, thereby causing the user to The problem of low experience is achieved by improving the user experience.
  • determining that the service scenario in which the UE is currently located may be determined by multiple determining manners, for example, receiving first scenario information for identifying a service scenario in which the UE is currently located, according to the first scenario information. Determining the service scenario; or determining the second scenario information that is stored locally to identify the service scenario in which the UE is currently located, and determining the service scenario according to the second scenario information. That is, in this embodiment, the information of the service scenario may be sent by another device (for example, a UE) (the first scenario information may be sent while the control command is sent), or may be pre-stored in the process. Inside the device.
  • the method before or after determining the locally stored second scenario information used to identify the service scenario in which the UE is currently located, the method further includes: receiving a modification instruction; modifying the local storage according to the modification instruction Second scene information.
  • the present embodiment is mainly directed to the case where the second scenario information of the service scenario of the UE is stored locally in the processor.
  • the scenario information stored locally by the processor needs to correspond to the actual service scenario of the UE. When the actual service scenario of the UE changes, it is required to update the scenario information of the UE locally stored by the processor.
  • one processor may correspond to multiple UEs, and when one processor corresponds to multiple The UE needs to store the corresponding relationship between the scenario information and the UE locally in the processor, so as to conveniently find the scenario information corresponding to a certain UE.
  • determining, by the control instruction and the service scenario, the action to be performed by the user equipment comprises: determining, by analyzing the semantics of the control instruction and the service scenario according to the predetermined logic, the action to be performed by the user equipment.
  • a plurality of analysis technologies may be used.
  • the NLP technology may be adopted, and the parse tree technology may be used to determine the current UE in the scenario by analyzing the service scenario (for example, In the scene of music playing, or the scene of video playing, or other scenes, comprehensively analyzing the control instruction and the business scenario through predetermined logic to determine the actual intention of the executor of the input control instruction, thereby determining the pending execution of the UE. action.
  • FIG. 2 is a hardware structural block diagram of a mobile terminal according to an action execution method according to an embodiment of the present invention.
  • mobile terminal 20 may include one or more (only one of which is shown in FIG. 2) processor 202 (processor 202 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA. ), a memory 204 configured to store data, and a transmission device 206 configured as a communication function.
  • processor 202 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA.
  • memory 204 configured to store data
  • a transmission device 206 configured as a communication function.
  • the structure shown in FIG. 2 is merely illustrative and does not limit the structure of the above electronic device.
  • the mobile terminal 20 may also include more or fewer components than those shown in FIG. 2, or have a different configuration than that shown in FIG. 2.
  • the memory 204 may be configured as a software program and a module for storing application software, such as program instructions/modules corresponding to the action execution method in the embodiment of the present invention, and the processor 202 executes each of the software programs and modules stored in the memory 204.
  • a functional application and data processing, that is, the above method is implemented.
  • Memory 204 can include high speed random access memory and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 204 can further include memory remotely located relative to processor 202, which can be connected to mobile terminal 20 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 206 is arranged to receive or transmit data via a network.
  • the above specific network example may include a wireless network provided by a communication provider of the mobile terminal 20.
  • the transmission device 206 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 206 can be a Radio Frequency (RF) module configured to communicate with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • FIG. 3 is a flowchart of a second action execution method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
  • Step S302 sending a control instruction to the analysis processor
  • Step S304 receiving an action instruction returned by the analysis processor according to the control instruction and the scenario information for identifying the current service scenario;
  • step S306 the action indicated by the above action command is executed.
  • the executor performing the foregoing action may be the UE, and the scenario information is used to identify scenario information of the service scenario in which the UE is currently located.
  • the action indicated by the control instruction may be determined according to the service scenario in which the UE is currently located. Therefore, in different service scenarios, the same control command may control the execution of different actions, thereby implementing the determined service scenario.
  • the purpose of the action control can be realized without inputting a complete control command, and the problem of controlling the action that needs to input a complete control command in the related art can be effectively solved, and the effect of improving the user experience is achieved.
  • the scenario information may be sent by the UE to the analysis processor, or may be stored locally in the analysis processor.
  • the method Before receiving the above action instruction, the method further includes: transmitting the first scene information to the analysis processor.
  • the scene information includes first scene information, and the first scene information may be sent to the analysis processor together with the foregoing control instruction.
  • the method before the sending the first scene information to the analysis processor, the method further includes: determining the first scene information by scanning the currently activated program.
  • the currently activated program is a currently activated program in the UE, and the current service scenario of the UE can be determined by scanning the currently activated program.
  • the scenario information includes second scenario information, where the method further includes: sending a modification instruction to the analysis processor, where the modification instruction is used to instruct the analysis processor to modify the second stored locally.
  • Scene information may be pre-stored in the analysis processor, and the scenario information stored locally by the analysis processor needs to be updated in real time according to the actual service scenario of the UE.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • an action execution device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and will not be described again.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 4 is a structural block diagram of a first type of action execution apparatus according to an embodiment of the present invention.
  • the apparatus may be applied to a processor.
  • the apparatus includes a processing module 42, a determining module 44, and an indicating module 46.
  • the device includes a processing module 42, a determining module 44, and an indicating module 46.
  • the processing module 42 is configured to receive the control command, and determine a service scenario in which the user equipment UE is currently located; the determining module 44 is connected to the processing module 42, and is configured to determine, according to the foregoing control instruction and the service scenario, an action to be performed by the UE; The module 46 is connected to the determining module 44, and is configured to instruct the UE to perform the above actions.
  • the processing module 42 when determining the current service scenario of the UE, includes at least one of the following: a first determining unit, configured to receive, from the UE, the current location of the UE The first scene information of the service scenario is determined according to the first scenario information, and the second determining unit is configured to determine locally stored second scenario information for identifying a service scenario in which the UE is currently located, according to the second The scenario information determines the business scenario.
  • the first action execution apparatus is further configured to receive a modification instruction before or after determining the locally stored second scene information for identifying the service scenario where the UE is currently located;
  • the modification instruction modifies the locally stored second scene information.
  • the determining module 44 is configured to determine an action to be performed by the user equipment by analyzing the semantics of the control instruction and the service scenario according to predetermined logic.
  • FIG. 5 is a structural block diagram of a second action execution apparatus according to an embodiment of the present invention.
  • the apparatus may be applied to a UE.
  • the apparatus includes a first sending module 52, a receiving module 54 and an executing module 56.
  • the device is described below:
  • the first sending module 52 is configured to send a control command to the analyzing processor
  • the receiving module 54 is connected to the first sending module 52, and is configured to receive the analyzing processor according to the control command and to identify the current service scenario.
  • the action instruction returned by the scene information; the execution module 56 is connected to the receiving module 54 and configured to execute the action indicated by the action command.
  • the scenario information includes first scenario information
  • the device further includes: a second sending module, configured to send the first scenario information to the analysis processor before receiving the action instruction.
  • the second action execution apparatus is further configured to determine the first scene information by scanning the currently activated program before transmitting the first scene information to the analysis processor.
  • the scenario information includes second scenario information, where the second action execution apparatus is further configured to send a modification instruction to the analysis processor, where the modification instruction is used to instruct the analysis processor to modify the local The second scene information stored above.
  • the present invention will be generally described below in conjunction with a UE and an analysis processor.
  • the basic system module in the embodiment of the present invention is as shown in FIG. 6, wherein:
  • Terminal device (corresponding to the UE described above).
  • a device that can receive a user voice command (a type of control command that is not limited to a voice command) and performs related actions.
  • a user voice command a type of control command that is not limited to a voice command
  • the terminal device not only accepts voice control commands, but also accepts other control commands, such as a set top box, a remote control, a mobile phone touch screen, a somatosensory device, and the like.
  • User intent analysis module (corresponding to the above processor, which may be an analysis processor).
  • the user's intention is determined according to information such as voice provided by the terminal device, and the intention is given to the terminal device for execution.
  • the user's intention is judged by three parts of information: 1) the language information and the context information it represents, the information comes from the user language; 2) the business logic information, which is preset, and specifically analyzed Business related; 3) Business scenario information.
  • the terminal device and the user intent analysis module may be in a many-to-one relationship, and the user intent analysis module may be deployed on the network, and may provide services for multiple terminal devices at the same time.
  • the terminal device sends a voice user instruction analysis module such as a voice command through the network to request analysis.
  • the voice command here may be voice sample information, or may be voice sample information obtained by voice recognition to obtain text text, and the specific form depends on the ability of the user to analyze the module.
  • the two methods do not affect the core meaning of the embodiment of the present invention, but are different engineering implementation manners.
  • Step 1 The terminal device receives the user voice command and sends a request message to the user intent analysis module.
  • the request includes at least two pieces of information: 1) information of the voice instruction itself, text or voice sampling information; 2) information about the current service scene of the terminal device, which is obtained by other technical means, independent of the voice instruction information. Outside.
  • Step 2 After receiving the request message, the user intention analysis module analyzes the semantic analysis of the voice instruction information, the current business scenario information, and the preset business logic to determine the user intention. And return the user's intention to the terminal device.
  • Step 3 The terminal device receives the user intent message and performs corresponding processing.
  • business scenarios can include movies, TV, games, photos, and more.
  • FIG. 7 is a flow chart of voice control according to a specific embodiment of the present invention. As shown in FIG. 7, the process includes the following steps:
  • S701 When the service scenario of the set top box changes, the current service scenario information is recorded.
  • the operations herein include, but are not limited to, voice commands, remote control commands, smart terminal touch screen operations, etc., gesture commands, and the like.
  • the set-top box receives the voice instruction, and requests the user intention analysis module to perform the user intention analysis.
  • the information carried in the message includes at least: the voice instruction information and the current service scene information recorded by the set-top box.
  • the voice command information here may be text information or voice sample information according to the description of the previous 602 module.
  • the user intention analysis module receives the request message, analyzes the semantic analysis of the voice instruction information, the business logic, and the current business scenario, and determines the user intention.
  • the current service scenario of the current step comes from the request message of the terminal device.
  • S704 The user intent analysis module returns behavior intention information to the set top box.
  • the set top box receives the behavior intention information and performs a corresponding operation.
  • FIG. 8 is a flow chart of voice control according to a second embodiment of the present invention. As shown in FIG. 8, the process includes the following steps:
  • S801 The service environment of the set top box changes, and the message of modifying the service scenario is sent to the user intent analysis module to remind the user to modify the current service scenario of the set top box.
  • the user intent analysis module receives the message, and modifies the current service scenario information of the set-top box of the record, and ensures that the recorded service scenario information is consistent with the actual service scenario of the set-top box.
  • the set-top box receives the voice instruction, and requests the user intention analysis module to perform user intention analysis, where the message carries specific voice instruction information.
  • the voice command information here may be text information or voice sample information according to the description of the previous 602 module.
  • the user intention analysis module receives the request message, analyzes the semantic analysis of the voice instruction information, the business logic, and the current business scenario, and determines the user intention.
  • the current business scenario comes from the record of the user intent analysis module.
  • S806 The set top box receives the message and performs corresponding processing.
  • FIG. 9 is a flow chart of voice control according to a third embodiment of the present invention. As shown in FIG. 9, the process includes the following steps:
  • the set-top box receives the voice instruction, and requests the user intention analysis module to perform user intention analysis.
  • the information carried in the message includes at least: voice instruction information and current service scene information of the set top box.
  • the voice command information here may be text information or voice sample information according to the description of the previous 602 module.
  • the current business scenario is obtained in the following manner: scanning a program currently activated at the front end of the television display to obtain a current business corresponding business scenario.
  • the user intention analysis module receives the request message, analyzes the semantic analysis of the voice instruction information, the business logic, and the current business scenario, and determines the user intention.
  • the current service scenario of the current step comes from the request message of the terminal device.
  • S903 The user intention analysis module returns behavior intention information to the set top box.
  • the set top box receives the behavior intention information and performs a corresponding operation.
  • FIG. 10 is a flow chart of voice control according to a fourth embodiment of the present invention. As shown in FIG. 10, the process includes the following steps:
  • S1001 preset home robot scene information, such as a living room, a study room, a facsimile, a listening song, etc., and the home robot has a technical means to judge the current business scene.
  • the home robot receives the owner voice command and sends a request message to the user intent analysis module.
  • the message contains at least two pieces of information: 1) the information of the voice instruction itself; 2) the current scene information, such as the current location (eg, living room, study, etc.), or the current owner behavior (watching, listening) Songs, etc.).
  • the voice command information here may be text information or voice sample information according to the description of the previous 602 module.
  • the user intent analysis module receives the request message, and combines the semantic analysis of the voice instruction information, the business logic, and the current business scenario to analyze the user intention.
  • the current service scenario of the current step comes from the request message of the terminal device.
  • S1004 The user intention analysis module returns the intention information to the home robot.
  • S1005 The home robot receives the message and performs corresponding processing.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • Embodiments of the present invention also provide a storage medium having stored therein a computer program, wherein the computer program is configured to perform the steps of any of the above method embodiments when executed.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • Embodiments of the present invention also provide an electronic device comprising a memory and a processor having a computer program stored therein, the processor being arranged to execute a computer program to perform the steps of any of the method embodiments described above.
  • the electronic device may further include a transmission device and an input and output device, wherein the transmission device is connected to the processor, and the input and output device is connected to the processor.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • an action execution method, apparatus, storage medium, and electronic device provided by an embodiment of the present invention have the following beneficial effects: effectively solving the problem that the input control command cannot be intelligently recognized in the related art, thereby causing user experience. Low problems achieve the effect of improving the user experience.

Abstract

An action execution method and apparatus, a storage medium and an electronic apparatus. The method comprises: receiving a control instruction, and determining a service scenario where user equipment (UE) is currently located (S102); determining, according to the control instruction and the service scenario, an action to be executed by the UE (S104); and instructing the UE to execute the action (S106). By means of the method, the aim that control of an action can be realized without the need to input a complete control instruction in a determined service scenario is achieved, the problem in the relevant art that poor user experience is caused by an input control instruction not being able to be intelligently recognized is effectively solved, achieving the effect of improving the user experience.

Description

动作执行方法、装置、存储介质及电子装置Action execution method, device, storage medium and electronic device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种动作执行方法、装置、存储介质及电子装置。The present invention relates to the field of communications, and in particular to an action execution method, apparatus, storage medium, and electronic device.
背景技术Background technique
随着控制技术的发展,例如,语音技术的发展,语音控制已逐渐成为可能,利用语音控制动作的执行也是未来的重要发展方向。目前,一些设备已经可以通过自然语言进行交互,可以问天气,查询简要信息,播放音乐,订购商品等。With the development of control technology, for example, the development of voice technology, voice control has gradually become possible, and the implementation of voice control actions is also an important development direction in the future. At present, some devices can interact with natural language, ask the weather, query brief information, play music, order goods, and so on.
但是在现有的控制技术中,需要输入完整的控制信息才能实现准确的控制,不能根据实际情况对控制指令进行智能判断,从而导致用户体验度低。However, in the existing control technology, it is necessary to input complete control information to achieve accurate control, and the control command cannot be intelligently judged according to actual conditions, resulting in low user experience.
针对相关技术中存在的无法对输入的控制指令进行智能识别,导致用户体验度低的问题,目前尚未提出有效的解决方案。In view of the problem that the input control command cannot be intelligently recognized in the related art, resulting in a low user experience, an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种动作执行方法、装置、存储介质及电子装置,以至少解决相关技术中存在的无法对输入的控制指令进行智能识别,导致用户体验度低的问题。The embodiments of the present invention provide an action execution method, device, storage medium, and electronic device, so as to at least solve the problem that the input control command cannot be intelligently recognized in the related art, resulting in low user experience.
根据本发明的一个实施例,提供了一种动作执行方法,包括:接收控制指令,并确定用户设备UE当前所处的业务场景;根据所述控制指令和所述业务场景确定所述UE待执行的动作;指示所述UE执行所述动作。According to an embodiment of the present invention, an action execution method is provided, including: receiving a control instruction, and determining a service scenario in which a user equipment UE is currently located; determining, according to the control instruction and the service scenario, that the UE is to be executed An action of instructing the UE to perform the action.
可选地,确定所述UE当前所处的业务场景包括以下至少之一:接收来自所述UE的用于标识所述UE当前所处的业务场景的第一场景信息,根据所述第一场景信息确定所述业务场景;确定本地存储的用于标识所述UE当前所处的业务场景的第二场景信息,根据所述第二场景信息确定所 述业务场景。Optionally, determining that the service scenario in which the UE is currently located includes at least one of: receiving first scenario information from the UE for identifying a service scenario where the UE is currently located, according to the first scenario Determining the service scenario; determining the second scenario information that is stored locally for identifying the service scenario in which the UE is currently located, and determining the service scenario according to the second scenario information.
可选地,在确定本地存储的用于标识所述UE当前所处的业务场景的第二场景信息之前或之后,所述方法还包括:接收修改指令;根据所述修改指令修改本地存储的所述第二场景信息。Optionally, before or after determining the locally stored second scenario information used to identify the service scenario in which the UE is currently located, the method further includes: receiving a modification instruction; modifying the locally stored location according to the modification instruction The second scene information is described.
可选地,根据所述控制指令和所述业务场景确定所述用户设备待执行的动作包括:通过按照预定逻辑对所述控制指令的语义以及所述业务场景进行分析,确定所述用户设备待执行的动作。Optionally, determining, according to the control instruction and the service scenario, that the action to be performed by the user equipment comprises: determining that the user equipment is to be determined by analyzing semantics of the control instruction and the service scenario according to predetermined logic The action performed.
根据本发明的另一方面,还提供了一种动作执行方法,包括:向分析处理器发送控制指令;接收所述分析处理器根据所述控制指令以及用于标识当前所处的业务场景的场景信息返回的动作指令;执行所述动作指令所指示的动作。According to another aspect of the present invention, there is also provided an action performing method comprising: transmitting a control instruction to an analysis processor; receiving, by the analysis processor, a scenario for identifying a current business scenario according to the control instruction An action instruction returned by the information; an action indicated by the action instruction is executed.
可选地,所述场景信息包括第一场景信息,在接收所述动作指令之前,所述方法还包括:向所述分析处理器发送所述第一场景信息。Optionally, the scenario information includes first scenario information, and before receiving the action instruction, the method further includes: sending the first scenario information to the analysis processor.
可选地,在向所述分析处理器发送所述第一场景信息之前,所述方法还包括:通过扫描当前激活的程序确定所述第一场景信息。Optionally, before the sending the first scene information to the analysis processor, the method further includes: determining the first scene information by scanning a currently activated program.
可选地,所述场景信息包括第二场景信息,所述方法还包括:向所述分析处理器发送修改指令,其中,所述修改指令用于指示所述分析处理器修改本地存储的所述第二场景信息。Optionally, the scenario information includes second scenario information, the method further includes: sending a modification instruction to the analysis processor, where the modification instruction is used to instruct the analysis processor to modify the locally stored Second scene information.
根据本发明的另一方面,还提供了一种动作执行装置,包括:处理模块,设置为接收控制指令,并确定用户设备UE当前所处的业务场景;确定模块,设置为根据所述控制指令和所述业务场景确定所述UE待执行的动作;指示模块,设置为指示所述UE执行所述动作。According to another aspect of the present invention, an action execution apparatus is provided, including: a processing module, configured to receive a control instruction, and determine a service scenario in which the user equipment UE is currently located; and a determining module configured to be according to the control instruction Determining, by the service scenario, an action to be performed by the UE; and an indication module, configured to instruct the UE to perform the action.
可选地,在确定所述UE当前所处的业务场景时,所述处理模块包括以下至少之一:第一确定单元,设置为接收来自所述UE的用于标识所述UE当前所处的业务场景的第一场景信息,根据所述第一场景信息确定所述业务场景;第二确定单元,设置为确定本地存储的用于标识所述UE当前所处的业务场景的第二场景信息,根据所述第二场景信息确定所述业务 场景。Optionally, when determining the service scenario that the UE is currently located, the processing module includes at least one of the following: a first determining unit, configured to receive, from the UE, to identify that the UE is currently located The first scene information of the service scenario is determined according to the first scenario information, and the second determining unit is configured to determine locally stored second scenario information that is used to identify the current service scenario of the UE. Determining the service scenario according to the second scenario information.
根据本发明的另一方面,还提供了一种动作执行装置,包括:第一发送模块,设置为向分析处理器发送控制指令;接收模块,设置为接收所述分析处理器根据所述控制指令以及用于标识当前所处的业务场景的场景信息返回的动作指令;执行模块,设置为执行所述动作指令所指示的动作。According to another aspect of the present invention, an action execution apparatus is provided, comprising: a first transmitting module configured to send a control instruction to an analysis processor; and a receiving module configured to receive the analysis processor according to the control instruction And an action instruction for returning scene information for identifying the current business scenario; and an execution module configured to execute the action indicated by the action instruction.
可选地,所述场景信息包括第一场景信息,所述装置还包括:第二发送模块,设置为在接收所述动作指令之前,向所述分析处理器发送所述第一场景信息。Optionally, the scenario information includes first scenario information, and the device further includes: a second sending module, configured to send the first scenario information to the analysis processor before receiving the action instruction.
根据本发明的另一方面,还提供了一种存储介质,所述存储介质中存存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to another aspect of the present invention, there is also provided a storage medium having stored therein a computer program, wherein the computer program is arranged to execute the steps of any one of the method embodiments described above.
根据本发明的另一方面,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to another aspect of the present invention, there is also provided an electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being arranged to run the computer program to perform any of the above methods The steps in the examples.
通过本发明,可以根据UE当前所处的业务场景确定控制指令所指示的动作,因此,在不同的业务场景下,相同的控制指令可以控制执行不同的动作,从而实现了在确定的业务场景下无需输入完整的控制指令也能实现动作的控制的目的,即,实现了对输入的控制指令进行智能识别的目的,有效解决相关技术中存在的无法对输入的控制指令进行智能识别,从而导致用户体验度低的问题,达到提高用户体验的效果。According to the present invention, the action indicated by the control instruction can be determined according to the service scenario in which the UE is currently located. Therefore, under different service scenarios, the same control command can control the execution of different actions, thereby realizing the determined service scenario. The purpose of the action control can be realized without inputting a complete control command, that is, the purpose of intelligently identifying the input control command is realized, and the existing control commands in the related art cannot be intelligently recognized, thereby causing the user to The problem of low experience is achieved by improving the user experience.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的第一种动作执行方法的流程图;1 is a flowchart of a first action execution method according to an embodiment of the present invention;
图2是本发明实施例的一种动作执行方法的移动终端的硬件结构框图;2 is a block diagram showing the hardware structure of a mobile terminal according to an action execution method according to an embodiment of the present invention;
图3是根据本发明实施例的第二种动作执行方法的流程图;FIG. 3 is a flowchart of a second action execution method according to an embodiment of the present invention; FIG.
图4是根据本发明实施例的第一种动作执行装置的结构框图;4 is a block diagram showing the structure of a first type of action execution apparatus according to an embodiment of the present invention;
图5是根据本发明实施例的第二种动作执行装置的结构框图;FIG. 5 is a structural block diagram of a second action execution apparatus according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的系统模块图;Figure 6 is a system block diagram of an embodiment of the present invention;
图7是根据本发明具体实施例一的语音控制流程图;7 is a flow chart of voice control according to a specific embodiment of the present invention;
图8是根据本发明具体实施例二的语音控制流程图;8 is a flow chart of voice control according to a second embodiment of the present invention;
图9是根据本发明具体实施例三的语音控制流程图;9 is a flow chart of voice control according to a third embodiment of the present invention;
图10是根据本发明具体实施例四的语音控制流程图。FIG. 10 is a flow chart of voice control according to a fourth embodiment of the present invention.
具体实施方式Detailed ways
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本发明实施例中,可以以语音控制为例,语音控制系统的一个关键体验指标是用户的说话方式是否自然,用户说话越自然,越倾向口语化,则用户体验越好。In the embodiment of the present invention, voice control can be taken as an example. A key experience indicator of the voice control system is whether the user's speaking mode is natural, and the more natural the user speaks, the more inclined the colloquial language is, the better the user experience is.
当前对用户语言的理解主要依赖语言本身,通过上下文、非线性处理器(Non-Linear Processor,简称为NLP)、解析树等技术进行分析,即所有的分析信息来源都是语言本身。实际上,在用户的实际使用中,当前的场景业务是一个非常重要的因素,不同的场景业务,同一句话有不同的含义。The current understanding of the user's language relies mainly on the language itself, and is analyzed by techniques such as context, non-linear processor (NLP), parse tree, etc., that is, all the sources of analysis information are the language itself. In fact, in the actual use of the user, the current scene service is a very important factor. Different scene services have different meanings in the same sentence.
举几个简单的例子:Here are a few simple examples:
在机顶盒领域:例如对于同一句话“刘XX”,如果用户在看电影,其实际意义是“想看刘XX的电影”;而如果在听歌,则实际意义是“想听 刘XX的歌”。In the field of set-top boxes: For example, for the same sentence "Liu XX", if the user is watching a movie, the actual meaning is "want to watch Liu XX's movie"; and if listening to the song, the actual meaning is "to listen to Liu XX's song" ".
在智能家居领域:用户说“关灯”,如果用户在客厅,则实际意义是“关客厅的灯”;而如果是在书房,则实际意义是“关书房的灯”。In the field of smart homes: the user says "turn off the lights". If the user is in the living room, the actual meaning is "lights off the living room"; if it is in the study, the actual meaning is "lights off the study room".
而以上实例中的电影、音乐,或者客厅,书房等信息,如果仅仅依赖语言本身来获取,那么用户就必须输入完整的语音控制指令,类似的说:“看刘XX的电影”、“听刘XX的歌”、“关书房的灯”、“关卧室的灯”等,也就是说,用户所输入的每句语音都必须是信息完整的语音,在不同的业务场景下,无法对用户输入的指令进行智能识别。The movie, music, or living room, study room and other information in the above example, if only rely on the language itself to obtain, then the user must input the complete voice control instructions, similarly: "Look at Liu XX's movie", "Listen to Liu "The song of XX", "the light of the study room", "the light of the bedroom", that is to say, each voice input by the user must be a complete voice of the information, and cannot be input to the user under different business scenarios. The instructions are intelligently identified.
针对上述情况,在本发明实施例中提供了一种动作执行方法,下面对其进行说明:In the above case, an action execution method is provided in the embodiment of the present invention, which is described below:
图1是根据本发明实施例的第一种动作执行方法的流程图,如图1所示,该流程包括如下步骤:FIG. 1 is a flowchart of a first action execution method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
步骤S102,接收控制指令,并确定用户设备UE当前所处的业务场景;Step S102, receiving a control instruction, and determining a service scenario in which the user equipment UE is currently located;
步骤S104,根据上述控制指令和业务场景确定UE待执行的动作;Step S104, determining, according to the foregoing control instruction and the service scenario, an action to be performed by the UE;
步骤S106,指示上述UE执行上述动作。Step S106, instructing the UE to perform the above action.
其中,执行上述操作的可以是一种处理器(例如,可以是用于分析控制指令和业务场景的分析处理器),该处理器可以集成于UE内,也可以是独立于UE的,例如可以位于其他UE内,或者位于网络侧的,其中,处理器与UE的对应关系可以是一对多,也就是说,一个处理器可以服务于多个终端,并且,结合业务场景来对控制指令进行分析实际上就是对用户的实际的控制意图进行分析,即,一个处理器可以为多个终端进行控制指令的用户意图分析。The above operation may be performed by a processor (for example, an analysis processor for analyzing control commands and a service scenario), and the processor may be integrated in the UE or may be independent of the UE, for example, Located in another UE, or on the network side, where the correspondence between the processor and the UE may be one-to-many, that is, one processor may serve multiple terminals, and the control instructions are combined with the service scenario. Analysis is actually an analysis of the user's actual control intent, that is, a processor can perform user intent analysis of control commands for multiple terminals.
通过上述步骤,可以根据UE当前所处的业务场景确定控制指令所指示的动作,因此,在不同的业务场景下,相同的控制指令可以控制执行不同的动作,从而实现了在确定的业务场景下无需输入完整的控制指令也能实现动作的控制的目的,即,实现了对输入的控制指令进行智能识别的目的,有效解决相关技术中存在的无法对输入的控制指令进行智能识别,从 而导致用户体验度低的问题,达到提高用户体验的效果。Through the foregoing steps, the action indicated by the control instruction may be determined according to the service scenario in which the UE is currently located. Therefore, in different service scenarios, the same control command may control the execution of different actions, thereby implementing the determined service scenario. The purpose of the action control can be realized without inputting a complete control command, that is, the purpose of intelligently identifying the input control command is realized, and the existing control commands in the related art cannot be intelligently recognized, thereby causing the user to The problem of low experience is achieved by improving the user experience.
在一个可选的实施例中,确定上述UE当前所处的业务场景可以由多种确定方式,例如可以接收用于标识UE当前所处的业务场景的第一场景信息,根据该第一场景信息确定所述业务场景;或者,确定本地存储的用于标识UE当前所处的业务场景的第二场景信息,根据该第二场景信息确定上述业务场景。也就是说,在本实施例中,该业务场景的信息可以是由其他设备(例如,UE)发送的(可以在发送控制指令的同时发送该第一场景信息),也可以是预先存储在处理器内部的。In an optional embodiment, determining that the service scenario in which the UE is currently located may be determined by multiple determining manners, for example, receiving first scenario information for identifying a service scenario in which the UE is currently located, according to the first scenario information. Determining the service scenario; or determining the second scenario information that is stored locally to identify the service scenario in which the UE is currently located, and determining the service scenario according to the second scenario information. That is, in this embodiment, the information of the service scenario may be sent by another device (for example, a UE) (the first scenario information may be sent while the control command is sent), or may be pre-stored in the process. Inside the device.
在一个可选的实施例中,在确定本地存储的用于标识上述UE当前所处的业务场景的第二场景信息之前或之后,上述方法还包括:接收修改指令;根据该修改指令修改本地存储的第二场景信息。本实施例主要针对的是在处理器本地存储了用于标识UE的业务场景的第二场景信息的情况,处理器本地存储的场景信息是需要与UE的实际的业务场景相对应的,所以,在UE的实际的业务场景发生变化时,是需要对应更新处理器本地存储的UE的场景信息的,此外需要说明的是,一个处理器是可以对应多个UE的,当一个处理器对应多个UE时,需要在处理器本地存储场景信息和UE的对应关系,从而方便查找对应某个UE的场景信息。In an optional embodiment, before or after determining the locally stored second scenario information used to identify the service scenario in which the UE is currently located, the method further includes: receiving a modification instruction; modifying the local storage according to the modification instruction Second scene information. The present embodiment is mainly directed to the case where the second scenario information of the service scenario of the UE is stored locally in the processor. The scenario information stored locally by the processor needs to correspond to the actual service scenario of the UE. When the actual service scenario of the UE changes, it is required to update the scenario information of the UE locally stored by the processor. In addition, it should be noted that one processor may correspond to multiple UEs, and when one processor corresponds to multiple The UE needs to store the corresponding relationship between the scenario information and the UE locally in the processor, so as to conveniently find the scenario information corresponding to a certain UE.
在一个可选的实施例中,根据上述控制指令和业务场景确定用户设备待执行的动作包括:通过按照预定逻辑对上述控制指令的语义以及业务场景进行分析,确定上述用户设备待执行的动作。在本实施例中,在对控制指令进行分析时,可以采用多种分析技术,例如可以采用NLP技术,可以采用解析树技术,通过对业务场景分析确定当前UE处于何种场景下(例如,是处于音乐播放的场景下,还是视频播放的场景,或其他场景),通过预定的逻辑对控制指令和业务场景进行综合分析,来确定输入控制指令的执行者的实际意图,从而确定UE待执行的动作。In an optional embodiment, determining, by the control instruction and the service scenario, the action to be performed by the user equipment comprises: determining, by analyzing the semantics of the control instruction and the service scenario according to the predetermined logic, the action to be performed by the user equipment. In this embodiment, when analyzing the control command, a plurality of analysis technologies may be used. For example, the NLP technology may be adopted, and the parse tree technology may be used to determine the current UE in the scenario by analyzing the service scenario (for example, In the scene of music playing, or the scene of video playing, or other scenes, comprehensively analyzing the control instruction and the business scenario through predetermined logic to determine the actual intention of the executor of the input control instruction, thereby determining the pending execution of the UE. action.
本申请实施例中还提供了一种可以在移动终端、计算机终端或者类似 的运算装置中执行的方法。以运行在移动终端上为例,图2是本发明实施例的一种动作执行方法的移动终端的硬件结构框图。如图2所示,移动终端20可以包括一个或多个(图2中仅示出一个)处理器202(处理器202可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、设置为存储数据的存储器204、以及设置为通信功能的传输装置206。本领域普通技术人员可以理解,图2所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,移动终端20还可包括比图2中所示更多或者更少的组件,或者具有与图2所示不同的配置。Also provided in the embodiment of the present application is a method that can be executed in a mobile terminal, a computer terminal, or the like. Taking a mobile terminal as an example, FIG. 2 is a hardware structural block diagram of a mobile terminal according to an action execution method according to an embodiment of the present invention. As shown in FIG. 2, mobile terminal 20 may include one or more (only one of which is shown in FIG. 2) processor 202 (processor 202 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA. ), a memory 204 configured to store data, and a transmission device 206 configured as a communication function. It will be understood by those skilled in the art that the structure shown in FIG. 2 is merely illustrative and does not limit the structure of the above electronic device. For example, the mobile terminal 20 may also include more or fewer components than those shown in FIG. 2, or have a different configuration than that shown in FIG. 2.
存储器204可设置为存储应用软件的软件程序以及模块,如本发明实施例中的动作执行方法对应的程序指令/模块,处理器202通过运行存储在存储器204内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器204可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器204可进一步包括相对于处理器202远程设置的存储器,这些远程存储器可以通过网络连接至移动终端20。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 204 may be configured as a software program and a module for storing application software, such as program instructions/modules corresponding to the action execution method in the embodiment of the present invention, and the processor 202 executes each of the software programs and modules stored in the memory 204. A functional application and data processing, that is, the above method is implemented. Memory 204 can include high speed random access memory and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 204 can further include memory remotely located relative to processor 202, which can be connected to mobile terminal 20 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输装置206设置为经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端20的通信供应商提供的无线网络。在一个实例中,传输装置206包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置206可以为射频(Radio Frequency,简称为RF)模块,其设置为通过无线方式与互联网进行通讯。Transmission device 206 is arranged to receive or transmit data via a network. The above specific network example may include a wireless network provided by a communication provider of the mobile terminal 20. In one example, the transmission device 206 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet. In one example, the transmission device 206 can be a Radio Frequency (RF) module configured to communicate with the Internet wirelessly.
在本实施例中提供了一种运行于上述移动终端的动作执行方法,图3是根据本发明实施例的第二种动作执行方法的流程图,如图3所示,该流程包括如下步骤:In this embodiment, an action execution method for the mobile terminal is provided. FIG. 3 is a flowchart of a second action execution method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
步骤S302,向分析处理器发送控制指令;Step S302, sending a control instruction to the analysis processor;
步骤S304,接收上述分析处理器根据该控制指令以及用于标识当前所处的业务场景的场景信息返回的动作指令;Step S304, receiving an action instruction returned by the analysis processor according to the control instruction and the scenario information for identifying the current service scenario;
步骤S306,执行上述动作指令所指示的动作。In step S306, the action indicated by the above action command is executed.
在本实施例中,执行上述动作的执行者可以是UE,上述的场景信息是用于标识该UE当前所处的业务场景的场景信息的。In this embodiment, the executor performing the foregoing action may be the UE, and the scenario information is used to identify scenario information of the service scenario in which the UE is currently located.
通过上述步骤,可以根据UE当前所处的业务场景确定控制指令所指示的动作,因此,在不同的业务场景下,相同的控制指令可以控制执行不同的动作,从而实现了在确定的业务场景下无需输入完整的控制指令也能实现动作的控制的目的,有效解决相关技术中存在的需要输入完整的控制指令才能实现动作的控制的问题,达到提高用户体验的效果。Through the foregoing steps, the action indicated by the control instruction may be determined according to the service scenario in which the UE is currently located. Therefore, in different service scenarios, the same control command may control the execution of different actions, thereby implementing the determined service scenario. The purpose of the action control can be realized without inputting a complete control command, and the problem of controlling the action that needs to input a complete control command in the related art can be effectively solved, and the effect of improving the user experience is achieved.
在一个可选的实施例中,上述的场景信息可以是由UE发送给分析处理器的,也可以是存储在分析处理器本地的,当上述场景信息是由UE发送给分析处理器时,在接收上述动作指令之前,上述方法还包括:向分析处理器发送第一场景信息。其中,上述场景信息包括第一场景信息,该第一场景信息可以是和上述的控制指令一并发送给分析处理器的。In an optional embodiment, the scenario information may be sent by the UE to the analysis processor, or may be stored locally in the analysis processor. When the scenario information is sent by the UE to the analysis processor, Before receiving the above action instruction, the method further includes: transmitting the first scene information to the analysis processor. The scene information includes first scene information, and the first scene information may be sent to the analysis processor together with the foregoing control instruction.
在一个可选的实施例中,在向上述分析处理器发送第一场景信息之前,上述方法还包括:通过扫描当前激活的程序确定第一场景信息。在本实施例中,当前激活的程序是UE中当前激活的程序,通过扫描当前激活的程序可以确定UE当前的业务场景。In an optional embodiment, before the sending the first scene information to the analysis processor, the method further includes: determining the first scene information by scanning the currently activated program. In this embodiment, the currently activated program is a currently activated program in the UE, and the current service scenario of the UE can be determined by scanning the currently activated program.
在一个可选的实施例中,上述场景信息包括第二场景信息,上述方法还包括:向上述分析处理器发送修改指令,其中,该修改指令用于指示分析处理器修改本地存储的上述第二场景信息。在本实施例中,场景信息可以是预先存储在分析处理器中的,并且分析处理器本地存储的场景信息是需要按照UE的实际业务场景进行实时更新的。In an optional embodiment, the scenario information includes second scenario information, where the method further includes: sending a modification instruction to the analysis processor, where the modification instruction is used to instruct the analysis processor to modify the second stored locally. Scene information. In this embodiment, the scenario information may be pre-stored in the analysis processor, and the scenario information stored locally by the analysis processor needs to be updated in real time according to the actual service scenario of the UE.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当 然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
在本实施例中还提供了一种动作执行装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, an action execution device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and will not be described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图4是根据本发明实施例的第一种动作执行装置的结构框图,该装置可以应用于处理器中,如图4所示,该装置包括处理模块42,确定模块44和指示模块46,下面对该装置进行说明:4 is a structural block diagram of a first type of action execution apparatus according to an embodiment of the present invention. The apparatus may be applied to a processor. As shown in FIG. 4, the apparatus includes a processing module 42, a determining module 44, and an indicating module 46. Explain the device:
处理模块42,设置为接收控制指令,并确定用户设备UE当前所处的业务场景;确定模块44,连接至上述处理模块42,设置为根据上述控制指令和业务场景确定UE待执行的动作;指示模块46,连接至上述确定模块44,设置为指示UE执行上述动作。The processing module 42 is configured to receive the control command, and determine a service scenario in which the user equipment UE is currently located; the determining module 44 is connected to the processing module 42, and is configured to determine, according to the foregoing control instruction and the service scenario, an action to be performed by the UE; The module 46 is connected to the determining module 44, and is configured to instruct the UE to perform the above actions.
在一个可选的实施例中,在确定上述UE当前所处的业务场景时,上述处理模块42包括以下至少之一:第一确定单元,设置为接收来自UE的用于标识上述UE当前所处的业务场景的第一场景信息,根据该第一场景信息确定业务场景;第二确定单元,设置为确定本地存储的用于标识UE当前所处的业务场景的第二场景信息,根据该第二场景信息确定业务场景。In an optional embodiment, when determining the current service scenario of the UE, the processing module 42 includes at least one of the following: a first determining unit, configured to receive, from the UE, the current location of the UE The first scene information of the service scenario is determined according to the first scenario information, and the second determining unit is configured to determine locally stored second scenario information for identifying a service scenario in which the UE is currently located, according to the second The scenario information determines the business scenario.
在一个可选的实施例中,上述的第一种动作执行装置还用于在确定本地存储的用于标识上述UE当前所处的业务场景的第二场景信息之前或之后,接收修改指令;根据该修改指令修改本地存储的第二场景信息。In an optional embodiment, the first action execution apparatus is further configured to receive a modification instruction before or after determining the locally stored second scene information for identifying the service scenario where the UE is currently located; The modification instruction modifies the locally stored second scene information.
在一个可选的实施例中,上述确定模块44设置为:通过按照预定逻辑对上述控制指令的语义以及业务场景进行分析,确定上述用户设备待执行的动作。In an optional embodiment, the determining module 44 is configured to determine an action to be performed by the user equipment by analyzing the semantics of the control instruction and the service scenario according to predetermined logic.
图5是根据本发明实施例的第二种动作执行装置的结构框图,该装置可以应用于UE中,如图5所示,该装置包括第一发送模块52,接收模块54和执行模块56,下面对该装置进行说明:FIG. 5 is a structural block diagram of a second action execution apparatus according to an embodiment of the present invention. The apparatus may be applied to a UE. As shown in FIG. 5, the apparatus includes a first sending module 52, a receiving module 54 and an executing module 56. The device is described below:
第一发送模块52,设置为向分析处理器发送控制指令;接收模块54,连接至上述第一发送模块52,设置为接收上述分析处理器根据控制指令以及用于标识当前所处的业务场景的场景信息返回的动作指令;执行模块56,连接至上述接收模块54,设置为执行上述动作指令所指示的动作。The first sending module 52 is configured to send a control command to the analyzing processor, and the receiving module 54 is connected to the first sending module 52, and is configured to receive the analyzing processor according to the control command and to identify the current service scenario. The action instruction returned by the scene information; the execution module 56 is connected to the receiving module 54 and configured to execute the action indicated by the action command.
在一个可选的实施例中,上述场景信息包括第一场景信息,上述装置还包括:第二发送模块,设置为在接收所述动作指令之前,向分析处理器发送第一场景信息。In an optional embodiment, the scenario information includes first scenario information, and the device further includes: a second sending module, configured to send the first scenario information to the analysis processor before receiving the action instruction.
在一个可选的实施例中,上述第二种动作执行装置还设置为在向上述分析处理器发送第一场景信息之前,通过扫描当前激活的程序确定第一场景信息。In an optional embodiment, the second action execution apparatus is further configured to determine the first scene information by scanning the currently activated program before transmitting the first scene information to the analysis processor.
在一个可选的实施例中,上述场景信息包括第二场景信息,上述第二种动作执行装置还设置为向上述分析处理器发送修改指令,其中,该修改指令用于指示分析处理器修改本地存储的上述第二场景信息。In an optional embodiment, the scenario information includes second scenario information, where the second action execution apparatus is further configured to send a modification instruction to the analysis processor, where the modification instruction is used to instruct the analysis processor to modify the local The second scene information stored above.
下面结合UE和分析处理器对本发明进行整体说明。The present invention will be generally described below in conjunction with a UE and an analysis processor.
本发明实施例中的基本的系统模块如图6所示,其中:The basic system module in the embodiment of the present invention is as shown in FIG. 6, wherein:
601:终端设备(对应于上述的UE)。可以接收用户语音指令(为控制指令的一种,该控制指令不仅仅限于语音指令),并执行相关动作的设备。例如机顶盒,家庭机器人等。终端设备不仅仅接受语音控制指令,还会接受其它方式的控制指令,例如对于机顶盒,还包括遥控器,手机触屏、体感设备等。601: Terminal device (corresponding to the UE described above). A device that can receive a user voice command (a type of control command that is not limited to a voice command) and performs related actions. Such as set-top boxes, home robots, etc. The terminal device not only accepts voice control commands, but also accepts other control commands, such as a set top box, a remote control, a mobile phone touch screen, a somatosensory device, and the like.
602:用户意图分析模块(对应于上述的处理器,可以是分析处理器)。根据终端设备提供的语音等信息,判断用户意图,并将意图交给终端设备执行。这里的用户意图判断,通过三部分信息来判断:1)语言信息及其所代表的上下文信息,其信息来自于用户语言;2)业务逻辑信息,这部分是预置的,和具体要分析的业务相关;3)业务场景信息。602: User intent analysis module (corresponding to the above processor, which may be an analysis processor). The user's intention is determined according to information such as voice provided by the terminal device, and the intention is given to the terminal device for execution. Here, the user's intention is judged by three parts of information: 1) the language information and the context information it represents, the information comes from the user language; 2) the business logic information, which is preset, and specifically analyzed Business related; 3) Business scenario information.
实际系统部署中,终端设备和用户意图分析模块可以是多对一的关系,用户意图分析模块可以部署在网络上,可以同时为多个终端设备提供服务。终端设备通过网络发送语音指令等信息用户意图分析模块,请求其分析。这里的语音指令可以是语音采样信息,也可以是语音采样信息通过语音识别后获得文本文字,具体的形式取决于用户意图分析模块的能力。两种方式都不影响本发明实施例的核心意义,只是不同的工程实现方式。In the actual system deployment, the terminal device and the user intent analysis module may be in a many-to-one relationship, and the user intent analysis module may be deployed on the network, and may provide services for multiple terminal devices at the same time. The terminal device sends a voice user instruction analysis module such as a voice command through the network to request analysis. The voice command here may be voice sample information, or may be voice sample information obtained by voice recognition to obtain text text, and the specific form depends on the ability of the user to analyze the module. The two methods do not affect the core meaning of the embodiment of the present invention, but are different engineering implementation manners.
在具体实现时,可以通过如下步骤实现:In the specific implementation, it can be achieved by the following steps:
步骤1:终端设备收到用户语音指令,发送请求消息给用户意图分析模块。该请求中,至少包含如下两部分信息:1)语音指令本身的信息,文字或者语音采样信息;2)终端设备当前所处的业务场景信息,此信息通过其它技术方式获取,独立于语音指令信息之外。Step 1: The terminal device receives the user voice command and sends a request message to the user intent analysis module. The request includes at least two pieces of information: 1) information of the voice instruction itself, text or voice sampling information; 2) information about the current service scene of the terminal device, which is obtained by other technical means, independent of the voice instruction information. Outside.
步骤2:用户意图分析模块接收到请求消息后,结合语音指令信息的语义分析、当前业务场景信息、预置的业务逻辑进行分析,确定用户意图。并将用户意图返回给终端设备。Step 2: After receiving the request message, the user intention analysis module analyzes the semantic analysis of the voice instruction information, the current business scenario information, and the preset business logic to determine the user intention. And return the user's intention to the terminal device.
步骤3:终端设备收到用户意图消息,执行相应处理。Step 3: The terminal device receives the user intent message and performs corresponding processing.
下面以机顶盒、家庭机器人作为终端设备的特例,对本发明进行说明:The following describes the invention by using a set top box and a home robot as a special case of the terminal device:
对于机顶盒,其业务场景可以包括电影,电视,游戏,照片等。For set-top boxes, business scenarios can include movies, TV, games, photos, and more.
具体实施例一:Embodiment 1
图7是根据本发明具体实施例一的语音控制流程图,如图7所示,该流程包括如下步骤:FIG. 7 is a flow chart of voice control according to a specific embodiment of the present invention. As shown in FIG. 7, the process includes the following steps:
S701:当机顶盒业务场景发生变化时,将当前业务场景信息记录下来。这里的操作包括但不限于语音指令、遥控器指令、智能终端触屏操作等、手势指令等。S701: When the service scenario of the set top box changes, the current service scenario information is recorded. The operations herein include, but are not limited to, voice commands, remote control commands, smart terminal touch screen operations, etc., gesture commands, and the like.
S702:机顶盒收到语音指令,向用户意图分析模块请求进行用户意图分析,消息中携带的信息至少包括:语音指令信息和机顶盒记录的当前业务场景信息。这里的语音指令信息根据前面602模块的说明,可能是文本信息,也可能是语音采样信息。S702: The set-top box receives the voice instruction, and requests the user intention analysis module to perform the user intention analysis. The information carried in the message includes at least: the voice instruction information and the current service scene information recorded by the set-top box. The voice command information here may be text information or voice sample information according to the description of the previous 602 module.
S703:用户意图分析模块收到请求消息,结合语音指令信息的语义分析、业务逻辑、当前业务场景进行分析,确定用户意图。当前步骤的当前业务场景来自于终端设备的请求消息。S703: The user intention analysis module receives the request message, analyzes the semantic analysis of the voice instruction information, the business logic, and the current business scenario, and determines the user intention. The current service scenario of the current step comes from the request message of the terminal device.
S704:用户意图分析模块返回行为意图信息给机顶盒。S704: The user intent analysis module returns behavior intention information to the set top box.
S705:机顶盒收到行为意图信息,执行对应的操作。S705: The set top box receives the behavior intention information and performs a corresponding operation.
具体实施例二:Specific embodiment 2:
图8是根据本发明具体实施例二的语音控制流程图,如图8所示,该流程包括如下步骤:FIG. 8 is a flow chart of voice control according to a second embodiment of the present invention. As shown in FIG. 8, the process includes the following steps:
S801:机顶盒业务场景发生变化,发送修改业务场景消息给用户意图分析模块,提醒修改其记录的机顶盒当前业务场景。S801: The service environment of the set top box changes, and the message of modifying the service scenario is sent to the user intent analysis module to remind the user to modify the current service scenario of the set top box.
S802:用户意图分析模块收到此消息,修改其记录的机顶盒当前业务场景信息,保证其记录的业务场景信息和机顶盒实际所处的业务场景相符合。S802: The user intent analysis module receives the message, and modifies the current service scenario information of the set-top box of the record, and ensures that the recorded service scenario information is consistent with the actual service scenario of the set-top box.
S803:机顶盒收到语音指令,向用户意图分析模块请求进行用户意图分析,消息中携带具体的语音指令信息。这里的语音指令信息根据前面602模块的说明,可能是文本信息,也可能是语音采样信息。S803: The set-top box receives the voice instruction, and requests the user intention analysis module to perform user intention analysis, where the message carries specific voice instruction information. The voice command information here may be text information or voice sample information according to the description of the previous 602 module.
S804:用户意图分析模块收到请求消息,结合语音指令信息的语义分析、业务逻辑、当前业务场景进行分析,确定用户意图。这里的当前业务 场景,来自于用户意图分析模块的记录。S804: The user intention analysis module receives the request message, analyzes the semantic analysis of the voice instruction information, the business logic, and the current business scenario, and determines the user intention. The current business scenario here comes from the record of the user intent analysis module.
S805:用户意图分析模块返回行为意图信息给机顶盒。S805: The user intention analysis module returns behavior intention information to the set top box.
S806:机顶盒收到消息,执行对应处理。S806: The set top box receives the message and performs corresponding processing.
具体实施例三:Specific embodiment 3:
图9是根据本发明具体实施例三的语音控制流程图,如图9所示,该流程包括如下步骤:FIG. 9 is a flow chart of voice control according to a third embodiment of the present invention. As shown in FIG. 9, the process includes the following steps:
S901:机顶盒收到语音指令,向用户意图分析模块请求进行用户意图分析,消息中携带的信息至少包括:语音指令信息和机顶盒的当前业务场景信息。这里的语音指令信息根据前面602模块的说明,可能是文本信息,也可能是语音采样信息。这里的当前业务场景获取方式如下:扫描当前激活在电视机显示最前端的程序来获得当前业务对应业务场景。S901: The set-top box receives the voice instruction, and requests the user intention analysis module to perform user intention analysis. The information carried in the message includes at least: voice instruction information and current service scene information of the set top box. The voice command information here may be text information or voice sample information according to the description of the previous 602 module. The current business scenario is obtained in the following manner: scanning a program currently activated at the front end of the television display to obtain a current business corresponding business scenario.
S902:用户意图分析模块收到请求消息,结合语音指令信息的语义分析、业务逻辑、当前业务场景进行分析,确定用户意图。当前步骤的当前业务场景来自于终端设备的请求消息。S902: The user intention analysis module receives the request message, analyzes the semantic analysis of the voice instruction information, the business logic, and the current business scenario, and determines the user intention. The current service scenario of the current step comes from the request message of the terminal device.
S903:用户意图分析模块返回行为意图信息给机顶盒。S903: The user intention analysis module returns behavior intention information to the set top box.
S904:机顶盒收到行为意图信息,执行对应操作。S904: The set top box receives the behavior intention information and performs a corresponding operation.
具体实施例四:Specific Embodiment 4:
图10是根据本发明具体实施例四的语音控制流程图,如图10所示,该流程包括如下步骤:FIG. 10 is a flow chart of voice control according to a fourth embodiment of the present invention. As shown in FIG. 10, the process includes the following steps:
S1001:预置家庭机器人场景信息,例如客厅、书房、看定影、听歌等业务场景,家庭机器人有技术手段可以判断当前业务场景。S1001: preset home robot scene information, such as a living room, a study room, a facsimile, a listening song, etc., and the home robot has a technical means to judge the current business scene.
S1002:家庭机器人收到主人语音指令,发送请求消息给用户意图分析模块。该消息中,至少包含2部分信息:1)语音指令本身的信息;2)当前所处场景信息,例如可能是当前位置(例如客厅、书房等),也可能 是当前主人行为(看电影,听歌等)。这里的语音指令信息根据前面602模块的说明,可能是文本信息,也可能是语音采样信息。S1002: The home robot receives the owner voice command and sends a request message to the user intent analysis module. The message contains at least two pieces of information: 1) the information of the voice instruction itself; 2) the current scene information, such as the current location (eg, living room, study, etc.), or the current owner behavior (watching, listening) Songs, etc.). The voice command information here may be text information or voice sample information according to the description of the previous 602 module.
S1003:用户意图分析模块收到请求消息,结合语音指令信息的语义分析、业务逻辑、当前业务场景进行分析,确定用户意图。当前步骤的当前业务场景来自于终端设备的请求消息。S1003: The user intent analysis module receives the request message, and combines the semantic analysis of the voice instruction information, the business logic, and the current business scenario to analyze the user intention. The current service scenario of the current step comes from the request message of the terminal device.
S1004:用户意图分析模块返回意图信息给家庭机器人。S1004: The user intention analysis module returns the intention information to the home robot.
S1005:家庭机器人收到消息,执行对应处理。S1005: The home robot receives the message and performs corresponding processing.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
本发明的实施例还提供了一种存储介质,该存储介质中存储有计算机程序,其中,上述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。Embodiments of the present invention also provide a storage medium having stored therein a computer program, wherein the computer program is configured to perform the steps of any of the above method embodiments when executed.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in the embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). A variety of media that can store program code, such as a hard disk, a disk, or an optical disk.
本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。Embodiments of the present invention also provide an electronic device comprising a memory and a processor having a computer program stored therein, the processor being arranged to execute a computer program to perform the steps of any of the method embodiments described above.
可选地,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。Optionally, the electronic device may further include a transmission device and an input and output device, wherein the transmission device is connected to the processor, and the input and output device is connected to the processor.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执 行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种动作执行方法、装置、存储介质及电子装置具有以下有益效果:有效解决相关技术中存在的无法对输入的控制指令进行智能识别,从而导致用户体验度低的问题,达到提高用户体验的效果。As described above, an action execution method, apparatus, storage medium, and electronic device provided by an embodiment of the present invention have the following beneficial effects: effectively solving the problem that the input control command cannot be intelligently recognized in the related art, thereby causing user experience. Low problems achieve the effect of improving the user experience.

Claims (14)

  1. 一种动作执行方法,包括:An action execution method comprising:
    接收控制指令,并确定用户设备UE当前所处的业务场景;Receiving a control instruction, and determining a service scenario in which the user equipment UE is currently located;
    根据所述控制指令和所述业务场景确定所述UE待执行的动作;Determining, according to the control instruction and the service scenario, an action to be performed by the UE;
    指示所述UE执行所述动作。Instructing the UE to perform the action.
  2. 根据权利要求1所述的方法,其中,确定所述UE当前所处的业务场景包括以下至少之一:The method of claim 1, wherein determining that the service scenario in which the UE is currently located comprises at least one of the following:
    接收来自所述UE的用于标识所述UE当前所处的业务场景的第一场景信息,根据所述第一场景信息确定所述业务场景;Receiving, by the UE, first scenario information for identifying a service scenario where the UE is currently located, and determining the service scenario according to the first scenario information;
    确定本地存储的用于标识所述UE当前所处的业务场景的第二场景信息,根据所述第二场景信息确定所述业务场景。Determining the second scenario information that is used to identify the service scenario in which the UE is currently located, and determining the service scenario according to the second scenario information.
  3. 根据权利要求2所述的方法,其中,在确定本地存储的用于标识所述UE当前所处的业务场景的第二场景信息之前或之后,所述方法还包括:The method according to claim 2, wherein before or after determining the locally stored second scene information for identifying a service scenario in which the UE is currently located, the method further comprises:
    接收修改指令;Receiving a modification instruction;
    根据所述修改指令修改本地存储的所述第二场景信息。Modifying the locally stored second scene information according to the modification instruction.
  4. 根据权利要求1所述的方法,其中,根据所述控制指令和所述业务场景确定所述用户设备待执行的动作包括:The method of claim 1, wherein determining, according to the control instruction and the service scenario, the action to be performed by the user equipment comprises:
    通过按照预定逻辑对所述控制指令的语义以及所述业务场景进行分析,确定所述用户设备待执行的动作。The action to be performed by the user equipment is determined by analyzing the semantics of the control instruction and the business scenario according to predetermined logic.
  5. 一种动作执行方法,包括:An action execution method comprising:
    向分析处理器发送控制指令;Sending a control instruction to the analysis processor;
    接收所述分析处理器根据所述控制指令以及用于标识当前所处的业务场景的场景信息返回的动作指令;Receiving, by the analysis processor, an action instruction returned according to the control instruction and scenario information for identifying a current service scenario;
    执行所述动作指令所指示的动作。Execute the action indicated by the action instruction.
  6. 根据权利要求5所述的方法,其中,所述场景信息包括第一场景信息,在接收所述动作指令之前,所述方法还包括:The method according to claim 5, wherein the scene information comprises first scene information, and before receiving the action instruction, the method further comprises:
    向所述分析处理器发送所述第一场景信息。Sending the first scene information to the analysis processor.
  7. 根据权利要求6所述的方法,其中,在向所述分析处理器发送所述第一场景信息之前,所述方法还包括:The method of claim 6, wherein before the sending the first scene information to the analysis processor, the method further comprises:
    通过扫描当前激活的程序确定所述第一场景信息。The first scene information is determined by scanning a currently activated program.
  8. 根据权利要求5所述的方法,其中,所述场景信息包括第二场景信息,所述方法还包括:The method of claim 5, wherein the scene information comprises second scene information, the method further comprising:
    向所述分析处理器发送修改指令,其中,所述修改指令用于指示所述分析处理器修改本地存储的所述第二场景信息。Sending a modification instruction to the analysis processor, wherein the modification instruction is used to instruct the analysis processor to modify the locally stored second scene information.
  9. 一种动作执行装置,包括:An action execution device comprising:
    处理模块,设置为接收控制指令,并确定用户设备UE当前所处的业务场景;a processing module, configured to receive a control instruction, and determine a service scenario in which the user equipment UE is currently located;
    确定模块,设置为根据所述控制指令和所述业务场景确定所述UE待执行的动作;a determining module, configured to determine, according to the control instruction and the service scenario, an action to be performed by the UE;
    指示模块,设置为指示所述UE执行所述动作。And an indication module, configured to instruct the UE to perform the action.
  10. 根据权利要求9所述的装置,其中,在确定所述UE当前所处的业务场景时,所述处理模块包括以下至少之一:The apparatus according to claim 9, wherein, when determining a service scenario in which the UE is currently located, the processing module comprises at least one of the following:
    第一确定单元,设置为接收来自所述UE的用于标识所述UE当前所处的业务场景的第一场景信息,根据所述第一场景信息确定所述业务场景;a first determining unit, configured to receive first scenario information that is used by the UE to identify a service scenario where the UE is currently located, and determine the service scenario according to the first scenario information;
    第二确定单元,设置为确定本地存储的用于标识所述UE当前所处的业务场景的第二场景信息,根据所述第二场景信息确定所述业务 场景。The second determining unit is configured to determine locally stored second scenario information for identifying a service scenario where the UE is currently located, and determine the service scenario according to the second scenario information.
  11. 一种动作执行装置,包括:An action execution device comprising:
    第一发送模块,设置为向分析处理器发送控制指令;a first sending module, configured to send a control instruction to the analysis processor;
    接收模块,设置为接收所述分析处理器根据所述控制指令以及用于标识当前所处的业务场景的场景信息返回的动作指令;a receiving module, configured to receive an action instruction returned by the analysis processor according to the control instruction and scenario information used to identify a current service scenario;
    执行模块,设置为执行所述动作指令所指示的动作。The execution module is configured to execute the action indicated by the action instruction.
  12. 根据权利要求11所述的装置,其中,所述场景信息包括第一场景信息,所述装置还包括:The device of claim 11, wherein the scene information comprises first scene information, the device further comprising:
    第二发送模块,设置为在接收所述动作指令之前,向所述分析处理器发送所述第一场景信息。The second sending module is configured to send the first scene information to the analysis processor before receiving the action instruction.
  13. 一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行权利要求1至4中任一项所述的方法,或者执行权利要求5至8中任一项所述的方法。A storage medium having stored therein a computer program, wherein the computer program is configured to perform the method of any one of claims 1 to 4 when executed, or to perform any of claims 5 to 8. One of the methods described.
  14. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至4中任一项所述的方法,或者执行所述权利要求5至8中任一项所述的方法。An electronic device comprising a memory and a processor, the memory storing a computer program, the processor being arranged to execute the computer program to perform the method of any one of claims 1 to 4, Or the method of any one of claims 5 to 8.
PCT/CN2018/122280 2017-12-28 2018-12-20 Action execution method and apparatus, storage medium and electronic apparatus WO2019128829A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711461013.9 2017-12-28
CN201711461013.9A CN108197213A (en) 2017-12-28 2017-12-28 Action performs method, apparatus, storage medium and electronic device

Publications (1)

Publication Number Publication Date
WO2019128829A1 true WO2019128829A1 (en) 2019-07-04

Family

ID=62585377

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/122280 WO2019128829A1 (en) 2017-12-28 2018-12-20 Action execution method and apparatus, storage medium and electronic apparatus

Country Status (2)

Country Link
CN (1) CN108197213A (en)
WO (1) WO2019128829A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073471A (en) * 2020-08-17 2020-12-11 青岛海尔科技有限公司 Device control method and apparatus, storage medium, and electronic apparatus
CN112130459A (en) * 2020-09-16 2020-12-25 青岛海尔科技有限公司 State information display method, device, storage medium and electronic device
CN115801855A (en) * 2023-02-06 2023-03-14 广东金朋科技有限公司 Device control method, device, electronic device and storage medium
CN116132209A (en) * 2023-01-31 2023-05-16 青岛海尔科技有限公司 Scene construction method and device, storage medium and electronic device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108197213A (en) * 2017-12-28 2018-06-22 中兴通讯股份有限公司 Action performs method, apparatus, storage medium and electronic device
CN111627442A (en) * 2020-05-27 2020-09-04 星络智能科技有限公司 Speech recognition method, processor, system, computer equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150181155A1 (en) * 2013-10-25 2015-06-25 Joseph Rumteen Mobile device video decision tree
CN106683662A (en) * 2015-11-10 2017-05-17 中国电信股份有限公司 Speech recognition method and device
CN107146622A (en) * 2017-06-16 2017-09-08 合肥美的智能科技有限公司 Refrigerator, voice interactive system, method, computer equipment, readable storage medium storing program for executing
CN108197213A (en) * 2017-12-28 2018-06-22 中兴通讯股份有限公司 Action performs method, apparatus, storage medium and electronic device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744071A (en) * 2004-08-31 2006-03-08 英业达股份有限公司 Virtual-scene interacting language learning system and its method
CN106855796A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 A kind of data processing method, device and intelligent terminal
CN106855771A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 A kind of data processing method, device and intelligent terminal
CN105956009B (en) * 2016-04-21 2019-09-06 深圳大数点科技有限公司 A method of do something for the occasion in real time content matching and push
CN107507616B (en) * 2017-08-29 2021-06-25 美的智慧家居科技有限公司 Method and device for setting gateway scene

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150181155A1 (en) * 2013-10-25 2015-06-25 Joseph Rumteen Mobile device video decision tree
CN106683662A (en) * 2015-11-10 2017-05-17 中国电信股份有限公司 Speech recognition method and device
CN107146622A (en) * 2017-06-16 2017-09-08 合肥美的智能科技有限公司 Refrigerator, voice interactive system, method, computer equipment, readable storage medium storing program for executing
CN108197213A (en) * 2017-12-28 2018-06-22 中兴通讯股份有限公司 Action performs method, apparatus, storage medium and electronic device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073471A (en) * 2020-08-17 2020-12-11 青岛海尔科技有限公司 Device control method and apparatus, storage medium, and electronic apparatus
CN112073471B (en) * 2020-08-17 2023-07-21 青岛海尔科技有限公司 Control method and device of equipment, storage medium and electronic device
CN112130459A (en) * 2020-09-16 2020-12-25 青岛海尔科技有限公司 State information display method, device, storage medium and electronic device
CN116132209A (en) * 2023-01-31 2023-05-16 青岛海尔科技有限公司 Scene construction method and device, storage medium and electronic device
CN115801855A (en) * 2023-02-06 2023-03-14 广东金朋科技有限公司 Device control method, device, electronic device and storage medium

Also Published As

Publication number Publication date
CN108197213A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
WO2019128829A1 (en) Action execution method and apparatus, storage medium and electronic apparatus
JP6999594B2 (en) Video playback method and equipment
CN109658932B (en) Equipment control method, device, equipment and medium
JP6616473B2 (en) Method and apparatus for controlling pages
US10448082B2 (en) Information exchanging method and device, audio terminal and computer-readable storage medium
US10311877B2 (en) Performing tasks and returning audio and visual answers based on voice command
JP6867441B2 (en) Methods and equipment for processing voice requests
US20170097974A1 (en) Resolving conflicts within saved state data
CN105072143A (en) Interaction system for intelligent robot and client based on artificial intelligence
US11270690B2 (en) Method and apparatus for waking up device
JP7353497B2 (en) Server-side processing method and server for actively proposing the start of a dialogue, and voice interaction system capable of actively proposing the start of a dialogue
US11057664B1 (en) Learning multi-device controller with personalized voice control
CN107146608B (en) Playing control method and device and intelligent equipment
US10097895B2 (en) Content providing apparatus, system, and method for recommending contents
US20170195384A1 (en) Video Playing Method and Electronic Device
US9332401B2 (en) Providing dynamically-translated public address system announcements to mobile devices
US20200098367A1 (en) Output for improving information delivery corresponding to voice request
JP2019050554A (en) Method and apparatus for providing voice service
CN110177300B (en) Program running state monitoring method and device, electronic equipment and storage medium
CN105302925A (en) Method and device for pushing voice search data
JP2017139009A (en) Content providing method utilizing messenger
CN113672748A (en) Multimedia information playing method and device
CN105812845A (en) Media resource pushing method, media resource pushing system, and media player based on Android system
CN110673886B (en) Method and device for generating thermodynamic diagrams
JP2021530905A (en) Video processing methods, devices, terminals and storage media

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18893937

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17.11.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18893937

Country of ref document: EP

Kind code of ref document: A1