1. Field of the Invention
The present disclosure relates to a conversation processing method, a conversation processing system, and an electronic device, for interacting continuously with a user.
2. Description of the Related Art
Patent Literature 1 relates to a conversation processing apparatus, a conversation processing method, and a recording medium, and particularly discloses a conversation processing apparatus, a conversation processing method, and a recording medium, which are suitable for a robot interacting with a user. Specifically, in order to interact with a user naturally, a time until a user's answer to a question from the robot is measured, and whether to transit a topic or not is determined based on the measured time.
Patent Literature 2 relates to a robot controlling apparatus, and discloses a robot controlling apparatus allowing suitable communication (a chat type dialogue) between, for example, a partner type robot and an elderly person. Specifically, the apparatus calculates an evaluation value for each topic in consideration of a relation between a present time and a time point on a time series suitable for a topic. The apparatus selects an appropriate topic based on the magnitude of the evaluation value, and outputs sentences corresponding to the topic by voice.
PTL 1: Unexamined Japanese Patent Publication No. 2001-188786
PTL 2: Unexamined Japanese Patent Publication No. 2008-158697
The present disclosure provides a conversation processing method, a conversation processing system, an electronic device, and a conversation processing apparatus, for interacting continuously with a user.
The conversation processing method of the present disclosure is a conversation processing method executed in an interactive application with which a user interacts, on an electronic device, the method including: selecting, in a topic table storing a plurality of sets of topic information and a weight of the topic information, the topic information based on the weight and presenting the selected topic information to the user; storing a conversation history which associates with the selected topic information, presentation date and time, an answer of the user to the selected topic information and answer date and time, in a conversation history table; calculating a use rate of a use time of the interactive application relative to a use time of the electronic device based on the conversation history table; and notifying of encouraging use of the interactive application when the use rate is decreased, and updating the weight of the topic information without the answer of the user in the conversation history table when the use rate is not decreased
The conversation processing method, the conversation processing system, the electronic device, and the conversation processing apparatus of the present disclosure enable to interact continuously with the user.
In the following, with reference to the drawings as appropriate, a detailed description will be given of an exemplary embodiment. However, an unnecessarily detailed description may be omitted. For example, a detailed description of an already well known matter or a repetitive description of substantially identical configurations may be omitted. This is to avoid the following description from becoming unnecessarily redundant, and to facilitate understanding of a person skilled in the art.
Note that, the accompanying drawings and the following description are provided in order for a person skilled in the art to fully understand the present disclosure, and they are not intended to limit the subject matter stated in the scope of claims.
In the following, with reference to
Firstly, a configuration of a conversation processing system will be described.
Server 200 stores therein a plurality of pieces of topic information used in conversation with the user. The topic information is information indicating the content of a topic and answer candidates. The topic information will be described later. Server 200 selects a piece of topic information among a plurality of pieces of topic information, and transmits the selected topic information to client 100. Client 100 presents the received topic information to the user. Client 100 transmits, to server 200, an answer input by the user in response to the presented topic. Server 200 registers the received answer as a conversation history, and selects next topic information.
In this manner, conversation processing system 500 continues conversation with the user, by repeating selection of topic information and registration of the conversation history in server 200, and presentation of the topic information and input of the answer in client 100.
Next, a configuration of server 200 will be described. As shown in
Memory 220 includes topic table 221, conversation history table 222, and use rate table 223.
Topic table 221 stores a plurality of pieces of topic information presented to the user. Note that, topic table 221 may be provided for each user, such that conversation is suitable for each user.
As shown in
Note that, although topic table 221 is constructed by four items, other items may be additionally defined. For example, a condition of selecting a topic may be added, such as, the conversation ID “0001” is always selected after presentation of the conversation ID “0000”. As the condition of additionally selecting a topic, a result of answer, date and time, or user attributes may be used. Further, as the condition of selecting a topic, a maximum number of selections per day may be defined, such as, the conversation ID “0000” is selected up to once a day.
Returning back to the description of
Note that, in conversation history table 222 shown in
Returning back to the description of
Note that, use rate table 223 may additionally define other item. For example, in place of the date, more detailed time division may be additionally used.
Returning back to the description of
Communication I/F 230 is a communication interface that communicates with client 100 via communication network 300.
Next, a configuration of client 100 will be described. In
Memory 120 includes use time table 121. Use time table 121 stores the time during which the user uses client 100.
As shown in
Note that, when client 100 is shared by a plurality of users, IDs that uniquely identify the users may be additionally defined in use time table 121. Further, use time table 121 may be provided for each user.
CPU 110 runs the OS and the interactive application. CPU 110 transmits, to server 200, a request for a topic, an answer for the topic, and the use time. Further, CPU 110 displays topic information received from server 200 on display unit 150. CPU 110 transmits, to server 200, a user's answer input from input unit 140. Further, when CPU 110 receives a message from server 200, CPU 110 displays the message on display unit 150.
Communication I/F 130 is a communication interface for communicating with server 200 via communication network 300.
Display unit 150 displays topic information, a message to the user and the like.
Input unit 140 are input a user's answer to a topic and the like.
The operation of conversation processing system 500 constructed as described above will be described below.
(Step S11) Firstly, with respect to client 100, the user operates input unit 140 and activate the interactive application.
(Step S12) CPU 110 of client 100 requests a topic from server 200 via communication I/F 130.
(Step S13) When CPU 210 of server 200 receives the request for a topic from client 100 via communication I/F 230, CPU 210 updates the weight of the topic defined in topic table 221 of memory 220. Details of updating the weight of a topic will be described later.
(Step S14) CPU 210 selects one conversation ID from topic table 221. CPU 210 selects the conversation ID based on weight set for each conversation ID in topic table 221. For example, CPU 210 may select the conversation ID at random according to the selection probability based on the weight. Further, CPU 210 may select the conversation ID with the greatest weight.
(Step S15) CPU 210 registers the selected conversation ID and its presentation date and time in conversation history table 222 as a new conversation history. For example,
(Step S16) CPU 210 transmits, to client 100, the topic information and the history ID corresponding to the selected conversation ID via communication I/F 230. With the conversation ID “0000”, the topic information is the topic “What will you eat lunch?” and the answer candidates “1. A bowl of rice, 2. Noodles, 3. Others”, and the history ID is “0000”, and therefore CPU 210 transmits these topic information and history ID.
(Step S17) When CPU 110 of client 100 receives the topic information and the history ID from server 200, CPU 110 displays them on display unit 150.
(Step S18) The user selects one answer among the answer candidates displayed on display unit 150 with input unit 140. It is assumed that the selected answer is “Noodles”.
(Step S19) Since “Noodles” is selected with input unit 140, CPU 110 transmits to server 200 via communication I/F 130, the answer number “2” corresponding to “Noodles”, i.e., the history ID “0000”, the answer number “2”, and the answer date and time as the answer information. It is assumed that the answer date and time is “2014/12/1 7:00:54”.
(Step S20) When CPU 210 receives the answer information from client 100 via communication I/F 230, CPU 210 updates, in conversation history table 222, a conversation history including a history ID which corresponds to the history ID contained in the answer information.
The processes of Steps S12 to S20 are repeated until the user operates input unit 140 of client 100 and thereby ends the interactive application.
CPU 110 of client 100 transmits the date and the use time in use time table 121 every predetermined time to server 200. As the date and the use time, for example, in use time table 121 shown in
CPU 210 of server 200 calculates the sum of differences between the presentation time and the answer time in conversation history table 222, and divides the sum by the use time received from client 100. Thus, CPU 210 obtains the use rate per day for the interactive application. In conversation history table 222 shown in
Next, updating a weight in topic table 221 in Step 13 in
(Step S41) CPU 210 acquires the use rate of the immediate two days stored in use rate table 223. For example, CPU 210 acquires the use rate of “2014/12/1” and “2014/11/30”.
Note that, the use rate to acquire is not limited to that of the immediate two days. In place of the use rate of the immediate two days, the use rate of another time span may be used. Alternatively, the use rate that is arithmetically processed, such as the use rate averaged for a prescribed time span, may be used.
(Step S42) CPU 210 determines whether the acquired use rate is decreased. When CPU 210 determines that the acquired use rate is decreased (when Yes), the control proceeds to Step S43. For example, as shown in
(Step S43) CPU 210 transmits, via communication I/F 230, any push-based message of encouraging conversation to client 100. A decreasing of the use rate suggests that the user is getting bored with the interactive application, and the use willingness is decreased. Accordingly, transmission of the message is performed in order to encourage the user to use the interactive application. When CPU 110 of client 100 receives the message from server 200, CPU 110 displays the message on display unit 150.
(Step S44) When CPU 210 determines that the acquired use rate is not decreased, CPU 210 updates the weight in topic table 221. CPU 210 updates to decrease the weight of the topic whose answer date and time is Null in conversation history table 222. The topic with no answer is determined to be the topic that is highly possibly the user did not like. Therefore, the weight is changed such that another topic is preferentially selected. For example, in conversation history table 222 shown in
Note that, CPU 210 may return the updated weight to the original weight in accordance with a lapse of time. For example, the weight may be gradually returned from 0.05 to 0.1 within 24 hours. This is because the user may again like the topic that the user once did not like, after a lapse of time.
Note that, the time of changing the weight is not limited to 24 hours. Further, after a lapse of a prescribe time, the weight may be returned to the weight before updating. Similarly, as to the conversation ID with an increased weight also, the weight may be returned to the original weight. This is because the user may lose interest in the topic that the user once liked, in accordance with a lapse of time. In this manner, the weight to the conversation ID is dependence on time.
Note that, updating a weight may be performed not only with the topic whose answer date and time is Null in conversation history table 222, but also to the answered topic. For example, among the answered topics, the topic that took long time from the presentation to the answer is determined to be highly possibly the topic that the user does not like, and the weight may be updated such that another topic is preferentially selected.
As described above, the conversation processing method according to the present exemplary embodiment is a conversation processing method executed in an interactive application with which a user interacts, on an electronic device. The method includes: selecting, in a topic table storing a plurality of sets of topic information and a weight of the topic information, the topic information based on the weight and presenting the selected topic information to the user; storing a conversation history which associates with the selected topic information, presentation date and time, an answer of the user to the selected topic information and answer date and time, in a conversation history table; calculating a use rate of a use time of the interactive application relative to a use time of the electronic device based on the conversation history table; and notifying of encouraging use of the interactive application when the use rate is decreased, and updating the weight of the topic information without the answer of the user in the conversation history table when the use rate is not decreased.
Further, in the conversation processing method according to the present exemplary embodiment, updating the weight based on the answer of the user in the conversation history table when the use rate is not decreased.
Thus, when the use rate of the interactive application by the user decreases, the user is encouraged to use the interactive application, the weight is updated in accordance with the answer history to the topic, and for example the probability of selecting the topic that was not answered by the user can be decreased. Further, in accordance with the degree of interest of the user in topics, a topic can be selected. Accordingly, with the interactive application, continuous conversation with the user is facilitated.
Further, in the conversation processing method according to the present exemplary embodiment, the method includes restoring the updated weight after a lapse of a prescribed time. Still further, in the conversation processing method according to the present exemplary embodiment, the method includes restoring the updated weight gradually within a prescribed time.
Thus, the updated weight can be returned to the original weight. Accordingly, the original weight can be recovered from temporary fluctuations in user preferences to topics.
As described above, as the illustration of the technique of the present disclosure, the first exemplary embodiment has been described. However, the technique of the present disclosure is not limited thereto, and applicable also to an exemplary embodiment to which modification, replacement, addition, omission and the like are made. Further, it is also possible to form a new exemplary embodiment by combining the constituent elements described in the first exemplary embodiment.
Therefore, in the following, other exemplary embodiments are exemplarily shown.
In the first exemplary embodiment, as the example of construct for realizing the conversation processing method, conversation processing system 500 constructed by client 100 and server 200 has been described. However, the present disclosure is not limited thereto. For example, a part of functions of server 200 or whole functions of server 200 may be implemented in client 100. Using a single dedicated apparatus that executes all the processes, a conversation can be realized offline.
Note that, when client 100 and server 200 are used, distributed processing is possible.
Further, in the first exemplary embodiment, the notification to the user is carried out by a push-based message. However, the notification may be carried out by other procedures such as e-mail.
Still further, as communication network 300, the Internet line network is used. However, the present disclosure is not limited thereto, and wireless communication or the like may be used.
Still further, the present disclosure can be realized not only as the conversation processing system and the conversation processing method. Out of the processes included in the conversation processing method, the processes executed in client 100 may be realized as a program executed by a processor of client 100, and the processes executed in server 200 may be realized as a program executed by a processor of client 100. Alternatively, the present disclosure can be realized as a computer readable recording medium storing the programs.
Note that, since the exemplary embodiments described above are intended to illustrate the technique of the present disclosure, various modifications, replacement, addition, omission and the like can be made within the scope of claims or within the scope equivalent thereto.
Number | Date | Country | Kind |
---|---|---|---|
2015-011967 | Jan 2015 | JP | national |
2015-238162 | Dec 2015 | JP | national |