This application claims priority under 35 USC 119 from Japanese Patent application No. 2018-001413 filed on Jan. 9, 2018, the disclosure of which is incorporated by reference herein in its entirety,
The present disclosure relates to a voice output device, a voice output method, and a program storage medium.
Conventionally, agent devices have been known each of which, by making an agent perform a disobedient action, causes a user to feel a sense of intimacy with the agent, thereby making an agent function a more suitable function. For example, see Japanese Patent Application Laid-Open (JP-A) No. 2007-241535. Each of the agent devices enables a dialogue between a user and an agent.
However, a technology described in JP-:A No. 2007-24 1535 does not take into consideration a case in which a dialogue device having a dialogue with a passenger in a vehicle is installed in the vehicle.
The present disclosure provides a voice output device, a voice output method, and a program storage medium that are capable of conveying a state of a vehicle to users appropriately in a case in which an abnormality occurred in the vehicle.
A voice output device according to a first aspect of the present disclosure includes an acquisition unit that acquires a vehicle state and an output unit that, in a case in which the vehicle state acquired by the acquisition unit indicates an abnormality in the vehicle, outputs a sound associated with the vehicle state.
The voice output device of the first aspect acquires a vehicle state. The voice output device outputs a sound associated with the vehicle state in a case in which the acquired vehicle state indicates an abnormality in the vehicle. This configuration enables a state of the vehicle to be conveyed to users appropriately in a case in which an abnormality occurred in the vehicle.
A voice output device according to a second aspect of the present disclosure further includes an utterance acquisition unit that acquires an utterance emitted by a user, in which the output unit outputs the sound associated with the vehicle state and the utterance emitted by the user. The user means a passenger who is on board a vehicle or a person different from the passenger.
The voice output device of the second aspect acquires an utterance emitted by a user and outputs a sound associated with a vehicle state and the utterance emitted by the user. Since this configuration causes the sound associated with an utterance from the outside and a vehicle state to the output, it is possible to convey a state of the vehicle appropriately in response to an utterance from a user.
A non-transitory storage medium according to, a third aspect of the present disclosure is a storage medium storing a program causing a computer to execute processing including acquiring a vehicle state and, in a case in which the acquired vehicle state indicates an abnormality in the vehicle, outputting a sound associated with the vehicle state.
A voice output method according to a fourth aspect of the present disclosure is a voice output method including acquiring a vehicle state and, in a ease in which the acquired vehicle state indicates an abnormality in the vehicle, outputting a sound associated with the vehicle state.
As described above, the present disclosure enables a state of a vehicle to be conveyed to users appropriately in a case in which an abnormality occurred in the vehicle.
Exemplary embodiments of the present disclosure will be described in detail based in the following figures, wherein:
Hereinafter, a dialogue device 10 according to a first embodiment will be described referring to the drawings.
As illustrated in
The voice microphone 12 detects an utterance from a passenger who is present in a vicinity of the dialogue device 10. The voice microphone 12 outputs the detected utterance from the passenger to the computer 20, which will be described later.
The computer 20 is configured including a central processing unit (CPU), a read only memory (ROM) storing a program and the like for achieving respective processing routines, a random access memory (RAM) storing data temporarily a memory serving as a storage unit, a network interface, and the like. The computer 20 functionally includes a control unit 21, an utterance acquisition unit 22, an acquisition unit 24, an information generation unit 26, and an output unit 28.
In a case in which a position of the dialogue device 10 is inside the vehicle V, the control unit 21 sets the dialogue device 10 in a mode (hereinafter, referred to as a driving mode) in which a vehicle state representing a state of the vehicle V can be acquired. For example, the control unit 21 in the dialogue device 10 acquires a vehicle state through communication with an electronic control unit (ECU) (illustration omitted) that is mounted in the vehicle V. Ina case in which the control unit 21 in the dialogue device 10 has detected that the dialogue device 10 is inside the vehicle V, the control unit 21 sets the dialogue device 10 in the driving mode.
The utterance acquisition unit 22 successively acquires utterances detected by the voice microphone 12.
The acquisition unit 24 performs exchange of information with the ECU, which is mounted in the vehicle V. Specifically, the acquisition unit 24 successively acquires vehicle states each of which represents a state of the vehicle V. The acquisition unit 24 outputs the acquired vehicle states to the information generation unit 26. In a vehicle state, information indicating whether or not an abnormality has occurred in the vehicle V is included.
In a case in which, based on a vehicle state acquired by the acquisition unit 24, the information generation unit 26 determines that the vehicle state indicates that an abnormality has occurred in the vehicle V, the information generation unit 26 generates an utterance according to the abnormality, which has occurred in the vehicle V.
For example, in a case in which an abnormality has occurred in the vehicle V, a signal representing a vehicle state that indicates that the abnormality has occurred in the vehicle V is output from the ECU. The information generation unit 26 generates an utterance according to a signal representing a vehicle state. For example, in a case in which the information generation unit 26 has acquired a vehicle state. “XXX” indicating an occurrence of an abnormality in the vehicle V, the information generation unit 26 generates an utterance like “An abnormality XXX has occurred in the vehicle. X1 in the vehicle has broken down. Addressing the problem in accordance with the procedure X2 is recommended”. Contents of such utterances are set in advance according to vehicle states. For example, in a case in which, as illustrated in
The output unit 28 outputs an utterance generated by the information generation unit 26 to the speaker 30.
The speaker 30 outputs by voice the utterance output by the output unit 28.
For example, in a case in which, after an utterance has been output from the speaker 30, the passenger A in the vehicle has emitted an utterance like “Is the state of Z1 all right?”, the voice microphone 12 detects the utterance and outputs the detected utterance to the computer 20.
The utterance acquisition unit 22 in the computer 20 acquires the utterance detected by the voice microphone 12.
Based on a vehicle state acquired by the acquisition unit 24 and an utterance acquired by the utterance acquisition unit 22, the information generation unit 26 generates an utterance associated with the utterance emitted by the passenger A and an abnormality having occurred in the vehicle V. For example, the information generation unit 26 infers a dialogue action with regard to an utterance acquired by the utterance acquisition unit 22, determines that the utterance is an inquiry about “Z1”, and generates an utterance like “Z1 is in a state of Z2,” as an answer to the inquiry and, in conjunction therewith, generates an utterance like “Performing Z3 is recommended.” according to the vehicle state acquired by the acquisition unit 24.
Although, in
As illustrated in
In a case in which the passenger A is a foreigner, that is, not Japanese, the passenger A, for example, sets the dialogue device 10 in such a way that an utterance from the dialogue device 10 is output in Japanese by operating an operation unit (illustration omitted) of the dialogue device 10. This setting enables a state of the vehicle to be conveyed appropriately to the person B even in a case in which the passenger A is a foreigner, not Japanese.
Further, even in a case in which the passenger A is in a state of losing consciousness and the like, a state of the vehicle may be conveyed appropriately to the person B.
The computer 20 in the dialogue device 10 may, for example, be achieved by a configuration as illustrated in
The storage unit 53 may be achieved by a hard disk drive (HDD), a solid state drive (SSD), a flash memory, or the like. In the storage unit 53 serving as a storage medium, a program for making the computer 20 function is stored. The CPU 51 reads the program from the storage unit 53, expands the program in the memory 52, and successively executes processes that the program includes. This configuration causes the CPU 51 in the computer 20 to function as each of the control unit 21, the utterance acquisition unit 22, the acquisition unit 24, the information generation unit 26, and the output unit 28. The acquisition unit 24 and the output unit 28 are respectively examples of the acquisition unit and the output unit of the present disclosure.
Next, operation of the embodiment will be described.
After the dialogue device 10 is brought in into a vehicle, the control unit 21 in the dialogue device 10 detects that the dialogue device 10 is inside the vehicle. The control unit 21 in the dialogue device 10 sets the dialogue device 10 in the driving mode. When vehicle states are being output from the ECU of the vehicle, the dialogue device 10 executes an utterance generation processing routine illustrated in
In step S100, the acquisition unit 24 acquires a vehicle state of the vehicle V.
In step S102, the information generation unit 26 determines whether or not an abnormality has occurred in the vehicle V, based on the vehicle state acquired in the above step S100. In a case in which an abnormality has occurred in the vehicle V, the process proceeds to step S104. In a case in which no abnormality has occurred in the vehicle V, the process returns to step S100.
In step S104, the information generation unit 26 generates an utterance according to the abnormality, which has occurred in the vehicle V, based on the vehicle state acquired in the above step S100. For example, in a case in which the vehicle state is “XXX”, the information generation unit 26 generates an utterance “An abnormality “XXX” has occurred in the vehicle. X1 in the vehicle has broken down. Addressing the problem in accordance with the procedure X2 is recommended,” in accordance with the table illustrated in
In step S106, the output unit 28 outputs the utterance generated in the above step S104 to the speaker 30.
The speaker 30 outputs by voice the utterance output by the computer 20.
Next, a passenger A or a person B who is different from the passenger A talks to the dialogue device 10. When the voice microphone 12 of the dialogue device 10 detects an utterance from the outside, the dialogue device 10 executes an utterance generation processing routine illustrated in
In step S200, the utterance acquisition unit 22 acquires the utterance from the outside, which was detected by the voice microphone 12.
In step S202, based on the vehicle state and the utterance acquired in the above step S200, the information generation unit 26 generates an utterance according to the utterance acquired in the above step S200 and the abnormality having occurred in the vehicle V.
In step S204, the output unit 28 outputs the utterance generated in the above step S202 to the speaker 30.
The speaker 30 outputs by voice the utterance output by the computer 20.
As described thus far, a dialogue device according to the embodiment acquires a vehicle state representing a state of a vehicle and, in a case in which the vehicle state indicates an abnormality in the vehicle, outputs an utterance according to the vehicle state. This configuration enables a state of the vehicle to be conveyed to users appropriately in a case which an abnormality occurred in the vehicle.
The dialogue device according to the embodiment acquires an utterance emitted by a user and outputs an utterance according to a vehicle state and the utterance from the user. Since this configuration causes an utterance according to an utterance from the outside and a vehicle state to be output, it is possible to convey a state of the vehicle appropriately in response to an utterance from a user.
Although the processing performed by the dialogue device in the embodiment described above was described as software processing performed by executing a program, the processing may be configured to be performed by hardware. Alternatively, the processing may be configured to be performed by a combination of both software and hardware. The program to be stored in the ROM may be distributed stored in various types of storage media.
The present disclosure is not limited to the above embodiment, and it is needless to say that various modifications other than those described above may be made and implemented without departing from the subject matter of the present disclosure.
For example, a dialogue device in the embodiment described above may be achieved by a mobile terminal and the like. In this case, an utterance according to a vehicle state is output from a mobile terminal, based on a dialogue function of the mobile terminal.
Number | Date | Country | Kind |
---|---|---|---|
2018-001413 | Jan 2018 | JP | national |