Disclosure of Invention
The invention mainly aims to provide a voice terminal scene control method, an application method, a voice terminal, a cloud terminal and a system, and aims to solve the technical problems that an application scene configured in a Tianmao eidolon is realized in a control scene mode, the existing Tianmao voice control scene does not have a timing and application scene instruction triggering function at present, the application scene cannot be directly started to further start a plurality of controlled devices, and the use experience of a user is easily influenced.
In order to achieve the above object, the present invention provides a method for controlling a scene of a voice terminal, which includes the following steps:
when receiving an application scene starting voice, confirming a terminal application scene needing to be started;
sending an application scene starting instruction to a cloud according to the terminal application scene;
and when receiving terminal application scene starting information sent by the cloud, controlling the start of the controlled equipment registered in the terminal application scene.
Optionally, the step of confirming the terminal application scenario to be started when the application scenario starting voice is received further includes:
and identifying the received user control voice, and confirming whether the user control voice is the application scene starting voice according to the identification result.
Optionally, the step of recognizing the received user control voice and determining whether the user control voice is an application scene starting voice according to a recognition result further includes:
when the user control voice is confirmed to be the device starting voice, confirming the corresponding controlled device of the device starting voice;
and initiating prompt information whether to start the application scene of the controlled equipment.
Optionally, the step of sending a prompt message indicating whether to start an application scenario in which the controlled device is located further includes:
confirming a terminal application scene registered with the controlled equipment;
and initiating prompt information whether to start the terminal application scene.
Optionally, the step of confirming the terminal application scenario to be started when the application scenario starting voice is received further includes:
confirming the terminal application scene corresponding to the application scene starting voice;
and reminding the user that the current application scene does not exist when the terminal application scene does not exist.
The invention also provides a voice terminal scene application method, which comprises the following contents:
receiving a scene opening instruction, and confirming a terminal application scene corresponding to the scene opening instruction;
opening the terminal application scene;
and issuing an application scene starting instruction according to the started terminal application scene.
Optionally, the method for applying a voice terminal scene further includes:
creating a terminal application scene according to the current scene application requirement;
and registering corresponding controlled equipment based on the application content of the terminal application scene.
In addition, to achieve the above object, the present invention further provides a voice terminal, where the voice terminal stores a voice terminal scene control program, and the voice terminal scene control program, when executed by the processor, implements the steps of the voice terminal scene control method as described above.
The invention also provides a cloud end, wherein the cloud end is stored with a voice terminal scene application program, and the voice terminal scene application program is executed by the processor to realize the steps of the voice terminal scene control method.
The invention also provides a voice terminal scene control system which comprises the voice terminal and the cloud terminal.
The voice terminal scene control method provided by the embodiment of the invention confirms the terminal application scene needing to be started when receiving the application scene starting voice; sending an application scene starting instruction to a cloud according to the terminal application scene; and when receiving terminal application scene starting information sent by the cloud, controlling the start of the controlled equipment registered in the terminal application scene. According to the method and the device, the controlled devices are uniformly registered at the cloud end, so that the starting instruction of the controlled devices is issued when the application scene is started, the application scene starting operation at the Temple end is not needed, the device starting instruction registered based on the application scene is issued through the cloud end, the batch starting operation of the controlled devices is realized, and the beneficial effect of improving the starting efficiency of the devices is realized.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: when receiving an application scene starting voice, confirming a terminal application scene needing to be started; sending an application scene starting instruction to a cloud according to the terminal application scene; and when receiving terminal application scene starting information sent by the cloud, controlling the start of the controlled equipment registered in the terminal application scene.
The application scene configured in the tianmao sprite is realized in a control scene mode, and the existing tianmao voice control scene does not have a timing and application scene instruction triggering function at present, so that the application scene cannot be directly started to start a plurality of controlled devices, and the technical problem that the use experience of a user is easily influenced is solved.
The invention provides a solution, controlled equipment is uniformly registered at a cloud end so as to issue the starting instruction of the controlled equipment when an application scene is started, the application scene starting operation at a Temple end is not required, and the equipment starting instruction based on the application scene registration is issued through the cloud end, so that the batch starting operation of the controlled equipment is realized, and the beneficial effect of improving the equipment starting efficiency is realized.
As shown in fig. 1, fig. 1 is a schematic diagram of a terminal \ device structure of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a mobile terminal device such as a PC, a smart phone, a tablet computer, an electronic book reader and a portable computer.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a voice terminal scene control program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the voice terminal scene control program stored in the memory 1005 and perform the following operations:
when receiving an application scene starting voice, confirming a terminal application scene needing to be started;
sending an application scene starting instruction to a cloud according to the terminal application scene;
and when receiving terminal application scene starting information sent by the cloud, controlling the start of the controlled equipment registered in the terminal application scene.
Further, the processor 1001 may call the voice terminal scene control program stored in the memory 1005, and also perform the following operations:
and identifying the received user control voice, and confirming whether the user control voice is the application scene starting voice according to the identification result.
Further, the processor 1001 may call the voice terminal scene control program stored in the memory 1005, and also perform the following operations:
when the user control voice is confirmed to be the device starting voice, confirming the corresponding controlled device of the device starting voice;
and initiating prompt information whether to start the application scene of the controlled equipment.
Further, the processor 1001 may call the voice terminal scene control program stored in the memory 1005, and also perform the following operations:
confirming a terminal application scene registered with the controlled equipment;
and initiating prompt information whether to start the terminal application scene.
Further, the processor 1001 may call the voice terminal scene control program stored in the memory 1005, and also perform the following operations:
confirming the terminal application scene corresponding to the application scene starting voice;
and reminding the user that the current application scene does not exist when the terminal application scene does not exist.
As shown in fig. 2, fig. 2 is a schematic structural diagram of a terminal \ device in another hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, and can also be a mobile/non-mobile terminal device such as a smart phone, a tablet computer, an electronic book reader, a portable computer and the like.
As shown in fig. 1, the terminal may include: a processor 2001 such as a CPU, a network interface 2004, a user interface 2003, a memory 2005, a communication bus 2002. The communication bus 2002 is used to implement connection communication between these components. The user interface 2003 may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 2003 may also include a standard wired interface, a wireless interface. The network interface 2004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 2005 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 2005 may alternatively be a storage device separate from the aforementioned processor 2001.
Those skilled in the art will appreciate that the terminal configuration shown in fig. 2 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 2, the memory 2005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a voice terminal scenario application.
In the terminal shown in fig. 2, the network interface 2004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 2003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 2001 may be used to invoke the terminal application of the scene mode stored in the memory 2005 and perform the following operations:
receiving a scene opening instruction, and confirming a terminal application scene corresponding to the scene opening instruction;
opening the terminal application scene;
and issuing an application scene starting instruction according to the started terminal application scene.
Further, the processor 2001 may call the voice terminal scene application stored in the memory 2005, and also perform the following operations:
creating a terminal application scene according to the current scene application requirement;
and registering corresponding controlled equipment based on the application content of the terminal application scene.
Referring to fig. 3, fig. 3 is a flowchart illustrating a first embodiment of a method for controlling a scene of a voice terminal according to the present invention, where the method for controlling a scene of a voice terminal includes:
step S10, when receiving the application scene opening voice, confirming the terminal application scene needing to be opened;
and receiving a voice instruction of a user according to the current voice terminal application. The voice terminal is defined as AI intelligent terminal equipment, such as a Temple genius, a small voice assistant and the like. Due to the application of the voice terminal, when the user initiates a voice instruction, the content of the voice instruction includes but is not limited to the application scene starting voice, and therefore, based on the current voice terminal application, the user control voice is received. Recognizing the user control voice to confirm the control instruction content based on the user control voice, namely confirming the terminal application scene needing to be started when the application scene starting voice is received, and the method also comprises the following steps:
and identifying the received user control voice, and confirming whether the user control voice is the application scene starting voice according to the identification result.
And receiving user control voice, identifying the received user control voice, and determining whether the user control voice is application scene starting voice according to an identification result. In practical application, the voice recognition operation can be recognized by using the voice recognition function of the current voice terminal, so that whether the user control voice is the application scene starting voice or not is confirmed according to the recognition result.
As described above, when receiving the user control voice, recognizing the user control voice to confirm whether the user control voice is the application scene opening voice, where the user control voice includes but is not limited to the application scene opening voice, if the current user is unfamiliar with the created application scene, it is possible to initiate the user control voice of the controlled device registered in the application scene itself to perform the application scene opening operation, that is, recognizing the received user control voice, and confirming whether the user control voice is the application scene opening voice according to the recognition result, further including:
when the user control voice is confirmed to be the device starting voice, confirming the corresponding controlled device of the device starting voice;
and initiating prompt information whether to start the application scene of the controlled equipment.
And identifying the received user control voice, and confirming the corresponding controlled equipment of the equipment starting voice when confirming that the user control voice is the equipment starting voice. The confirmation mode is the current voice recognition operation. And according to the confirmed user control voice, when the user control voice is confirmed to be the device opening voice, confirming the corresponding controlled device of the device opening voice. In addition, due to the voice control of the voice terminal on the controlled device, when the controlled device needing to be started currently is confirmed according to the starting voice of the current device, whether the controlled device is started or not can be determined according to the related devices of the application scene. Based on a controlled device to be started, in order to improve the starting efficiency of the controlled device and improve user experience, whether to start a content including an application scene where the controlled device is located may be determined according to a currently determined corresponding controlled device, that is, prompt information about whether to start the application scene where the controlled device is located is initiated, and therefore, when the prompt information about whether to start the application scene where the controlled device is located is initiated, an application scene where the controlled device is registered needs to be searched based on the controlled device, that is, the step of sending the prompt information about whether to start the application scene where the controlled device is located further includes:
confirming a terminal application scene registered with the controlled equipment;
and initiating prompt information whether to start the terminal application scene.
According to the controlled equipment which needs to be started currently, a terminal application scene of the controlled equipment is confirmed to be registered, and in practical application, the terminal application scene is an equipment application scene which is defined in advance at a cloud end and is started uniformly based on the controlled equipment. Due to the device characteristics, when the terminal application scene in which the controlled device is registered is confirmed, the controlled device may be registered in a plurality of terminal application scenes, so when prompt information for whether to start the application scene in which the controlled device is positioned is initiated, all terminal application scenes including the controlled device need to be confirmed, and the target terminal application scene is screened according to the current environment information or user information, the screening of the target terminal application scene can be performed based on the set screening conditions, for example, the environment information, the user information and the like are obtained as the screening conditions, and the related screening condition setting can be realized by related technicians in related function settings; or the target terminal application scene is not screened, all terminal application scenes registered with the controlled equipment can be issued with prompt information, so that a user can freely select the application scene to be started.
As described above, the step of confirming the terminal application scene to be started when the user control voice is confirmed to be the application scene starting voice according to the received user control voice, that is, when the application scene starting voice is received, further includes:
confirming the terminal application scene corresponding to the application scene starting voice;
and reminding the user that the current application scene does not exist when the terminal application scene does not exist.
When the currently received user control voice is confirmed to be the application scene starting voice, confirming the terminal application scene corresponding to the application scene starting voice, and starting the confirmed terminal application scene. In addition, because the application scene is not created in the creation operation of the terminal application scene, when the application scene starting voice is confirmed currently, the terminal application scene corresponding to the application scene starting voice is confirmed. When the situation that the terminal application scene needing to be started does not exist currently is confirmed, reminding a user that the application scene needing to be started does not exist currently based on the current voice control operation, so that the user submits an application scene starting instruction again.
Step S20, sending an application scene starting instruction to the cloud according to the terminal application scene;
and according to the confirmed terminal application scene, sending an application scene starting instruction based on the terminal application scene to the cloud. In practical application, the cloud end can be defined as a cloud server, and the cloud end and a terminal scene of current application have a network connection relationship, so that when the terminal application scene needing to be started is confirmed, an application scene starting instruction based on the terminal application scene is sent to the cloud end through a voice terminal of the current application.
And step S30, when the opening information of the terminal application scene sent by the cloud is received, controlling the opening of the controlled equipment registered in the terminal application scene.
After sending the application scene starting instruction to the cloud, the cloud can start the corresponding terminal application scene according to the application scene starting instruction, and issue terminal application scene starting information according to the started terminal application scene. And confirming the controlled equipment registered in the terminal application scene when receiving a terminal application scene starting instruction issued by the cloud based on the terminal application scene started by the current cloud. And opening the confirmed controlled equipment.
In the embodiment, the controlled equipment is uniformly registered at the cloud end, so that the starting instruction of the controlled equipment is issued when the application scene is started, the application scene starting operation at the Temple end is not required, and the equipment starting instruction based on the application scene registration is issued through the cloud end, so that the batch starting operation of the controlled equipment is realized, and the beneficial effect of improving the equipment starting efficiency is realized.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of a method for controlling a scene of a voice terminal according to the present invention, where based on the first embodiment shown in fig. 2, the method for controlling a scene of a voice terminal further includes:
step S40, receiving a scene opening instruction, and confirming a terminal application scene corresponding to the scene opening instruction;
step S50, opening the terminal application scene;
and step S60, issuing an application scene opening instruction according to the opened terminal application scene.
In this embodiment, a scene opening instruction sent by a voice terminal is received according to a current connection relationship of the voice terminal, and a terminal application scene corresponding to the scene opening instruction is confirmed. The confirmation mode is the operation of identifying the scene opening instruction, the terminal application scene is opened according to the confirmed terminal application scene, and the application scene opening instruction is issued to the voice terminal based on the opening operation of the terminal application scene. In practical application, when the terminal application scene is opened at the cloud end to realize that the voice terminal controls the batch of controlled devices to be opened, a corresponding terminal application scene needs to be created based on the current device application requirement, namely, the voice terminal scene application method further comprises the following steps:
creating a terminal application scene according to the current scene application requirement;
and registering corresponding controlled equipment based on the application content of the terminal application scene.
Acquiring a terminal application scene creating requirement, and creating a terminal application scene in a preset application scene creating format according to the terminal application scene creating requirement. The preset format is an application scene creating format related to a current cloud terminal based on a voice terminal application scene, related controlled equipment is registered in the terminal application scene according to the created terminal application scene, in addition, due to the characteristics of the cloud terminal, before the created terminal application scene registers the controlled equipment, equipment information of all the controlled equipment which can be controlled by the current voice terminal needs to be stored, and therefore the equipment information is added to the created terminal application scene in batches according to the stored equipment information of the controlled equipment.
In this embodiment, according to the current tianmao demon application, a tianmao demon application scene is created in the cloud and relevant controlled devices are registered in the connection mode of the cloud and the tianmao demon, and a device opening instruction is issued according to the application scene of the tianmao demon to open the multiple controlled devices, so that the beneficial effect of improving the opening efficiency of the controlled devices is achieved.
Further, the present invention also provides a method for controlling a voice terminal scene, which, when executed, implements the contents of the above-described embodiment of the method for controlling a voice terminal scene and the above-described embodiment of the method for applying a voice terminal scene.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.