Analytical device, analytical method, and analytical program
The analysis device accurately assesses indoor stress by integrating user behavior and environmental data, enhancing stress detection through unsupervised learning and environmental factor consideration.
Patent Information
- Application Number
- JP2021027843
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-02-24
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-02-24
AI Technical Summary
Conventional mental analysis techniques struggle to accurately assess a user's stress situation indoors due to the influence of the surrounding environment, which is often not accounted for.
An analysis device that acquires user behavior and environmental information, calculates a stress score based on this data, and determines if the stress level exceeds a threshold, using a model trained with unsupervised learning to consider both voice characteristics and environmental factors like temperature and humidity.
Enables accurate indoor stress analysis by incorporating environmental conditions, improving stress detection accuracy and privacy by avoiding the need for cameras.
Smart Images

Figure 0007548846000005 
Figure 0007548846000001 
Figure 0007548846000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an analysis device, an analysis method, and an analysis program. [Background technology]
[0002] 2. Description of the Related Art Conventionally, there is known a technique for performing a mental analysis of a user based on data of a voice uttered by the user. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2015-90506 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, the conventional technology has a problem that it may not be possible to accurately analyze the stress state of a user living indoors. For example, it is considered that the stress state of a user is affected by the surrounding environment. On the other hand, it is considered that the conventional technology may not be able to take into account the surrounding environment of the user. [Means for solving the problem]
[0005] In order to solve the above-mentioned problems and achieve the objectives, the analysis device is characterized by having an acquisition unit that acquires user information, which is information regarding a user's behavior, and environmental information, which is information regarding the user's environment, a calculation unit that calculates a score representing the user's level of stress based on the user information and the environmental information, and a judgment unit that judges whether the level of stress calculated by the calculation unit exceeds a threshold value. Effect of the Invention
[0006] According to the present invention, the stress state of a user living indoors can be analyzed with high accuracy. [Brief description of the drawings]
[0007] [Figure 1] FIG. 1 is a diagram illustrating an example of the configuration of an analysis system according to the first embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of the configuration of the analysis device according to the first embodiment. [Diagram 3] FIG. 3 is a diagram illustrating an example of the configuration of the learning device according to the first embodiment. [Figure 4] FIG. 4 is a flowchart showing a process flow of the analysis device according to the first embodiment. [Diagram 5] FIG. 5 is a flowchart showing a flow of processing of the learning device according to the first embodiment. [Figure 6] FIG. 6 is a diagram illustrating an example of a computer that executes an analysis program. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of an analysis device, an analysis method, and an analysis program according to the present application will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiment described below.
[0009] [Configuration of the first embodiment] First, the configuration of an analysis system including an analysis device will be described with reference to Fig. 1. Fig. 1 is a diagram showing an example of the configuration of an analysis system device according to a first embodiment. As shown in Fig. 1, an analysis device 10 exchanges information with devices provided in a building 2 via a network N. For example, the network N is the Internet. The analysis device 10 may be provided outside the building 2 or may be provided inside the building 2.
[0010] As shown in Fig. 1, the analysis system 1 includes an analysis device 10. The analysis system 1 also includes a microphone 20 and a thermometer / hygrometer 30 provided in a building 2. Furthermore, a user U1 and a user U2 exist in the building 2. For example, the user U1 and the user U2 are in a relationship of family members living together or partners. For example, the building 2 is a house where the user U1 and the user U2 live.
[0011] In this embodiment, the microphone 20 and the thermo-hygrometer 30 are IoT (Internet of Things) devices equipped with a communication function, and are capable of performing data communication with the analysis device 10 via the network N. The microphone 20 and the thermo-hygrometer 30 may also perform data communication via other communication devices.
[0012] The analysis device 10 receives information collected by the microphone 20 and the thermo-hygrometer 30. Then, the analysis device 10 analyzes the stress states of the user U1 and the user U2 based on the input information, and outputs the analysis results.
[0013] The microphone 20 collects voice and transmits the collected voice as a signal in a predetermined format to the analysis device 10. The thermo-hygrometer 30 also transmits the measured temperature and humidity to the analysis device 10 at regular intervals.
[0014] The configuration of the analysis device 10 will be described with reference to Fig. 2. Fig. 2 is a diagram showing an example of the configuration of the analysis device according to the first embodiment. As shown in Fig. 2, the analysis device 10 has an interface unit 11, a storage unit 12, and a control unit 13.
[0015] The interface unit 11 is an interface for inputting and outputting data. For example, the interface unit 11 is a network interface card (NIC). The interface unit 11 can transmit and receive data to and from other devices via a network N.
[0016] The storage unit 12 is a storage device such as a hard disk drive (HDD), a solid state drive (SSD), an optical disk, etc. The storage unit 12 may be a semiconductor memory in which data can be rewritten, such as a random access memory (RAM), a flash memory, or a non-volatile static random access memory (NVSRAM). The storage unit 12 stores an operating system (OS) and various programs executed by the analysis device 10.
[0017] The storage unit 12 stores model information 121. The model information 121 is information for constructing a model. For example, when the model includes a neural network, the model information 121 is parameters such as a weight matrix and a bias value for constructing the neural network.
[0018] The control unit 13 controls the entire analysis device 10. The control unit 13 is, for example, an electronic circuit such as a central processing unit (CPU), a micro processing unit (MPU), or a graphics processing unit (GPU), or an integrated circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA). The control unit 13 also has an internal memory for storing programs that define various processing procedures and control data, and executes each process using the internal memory. The control unit 13 also functions as various processing units by the operation of various programs. For example, the control unit 13 has an acquisition unit 131, a calculation unit 132, and a determination unit 133.
[0019] The acquisition unit 131 acquires user information, which is information on the user's behavior, and environmental information, which is information on the user's environment. For example, the acquisition unit 131 acquires the user information from the microphone 20 and acquires the environmental information from the thermo-hygrometer 30.
[0020] The acquisition unit 131 acquires, as user information, a voice obtained by a microphone 20 provided in the house where the user lives. The acquisition unit 131 also acquires, as environmental information, the indoor temperature and humidity obtained by a sensor provided in the user's house.
[0021] The calculation unit 132 calculates a score representing the degree of stress of the user based on the user information and the environmental information. The calculation unit 132 inputs the user information and the environmental information into the model constructed from the model information 121, and obtains a score representing the degree of stress. In the example of FIG. 1, the model outputs a score of "75".
[0022] The calculation unit 132 performs calculations by referring to not only user information but also environmental information, and therefore can calculate the degree of stress more accurately. For example, indoor conditions such as high temperature, low temperature, high humidity, and low humidity can cause a sudden change in mentality compared to normal, which can increase the degree of human stress.
[0023] The calculation unit 132 can adjust the score according to the degree of comfort indicated by the environmental information. For example, when the temperature and humidity are outside a predetermined range, the calculation unit 132 may multiply the score by a predetermined weight greater than 1. Also, for example, the calculation unit 132 may add a value proportional to a discomfort index calculated from the temperature and humidity to the score.
[0024] The calculation unit 132 can perform calculations such that the score increases as the difference between the characteristics of the voice to be analyzed obtained by the microphone 20 and the characteristics of normal voice prepared in advance increases. For example, the calculation unit 132 may calculate the distance between a vector representing the characteristics of normal voice and a vector representing the characteristics of the voice to be analyzed as the score.
[0025] In this case, the model may be trained using a method of unsupervised learning. That is, the model learns voice features generated when each user is not stressed (normal). Then, the calculation unit 132 uses the model to calculate the degree of deviation of the input voice features from the learned features as a score. Specifically, the calculation unit 132 may calculate the score using an anomaly detection method using a generative model and a clustering analysis method such as k-means.
[0026] In addition to the voice features, environmental information may be input to the model. In this case, the model learns the voice features and environmental information under normal conditions, and calculates a score from the input voice features and environmental information.
[0027] The voice includes not only the user's voice but also all sounds generated in daily life, such as breathing sounds, footsteps, sounds generated when moving an object, etc. The calculation unit 132 may input a feature amount extracted from the voice (for example, a fast Fourier transform (FFT) of the voice signal) to the model.
[0028] In addition, the normal features used to calculate the score may be extracted from voice collected regardless of date or time, or may be extracted from voice collected on a specific date and time period.
[0029] Here, it is considered that the tendency of the voice characteristics occurring depending on the date and time period may differ. When the normal voice characteristics are extracted from the voice collected on a specific date and time period, it becomes possible to calculate a score according to the date and time period when the voice to be analyzed was collected. For example, when the voice to be analyzed is collected between 18:00 and 19:00 on Monday, the calculation unit 132 calculates the difference between the normal voice characteristics collected between 18:00 and 19:00 on a Monday different from the day when the voice to be analyzed was collected and the voice characteristics of the voice to be analyzed as the score.
[0030] In addition, it is considered that the tendency of the characteristics of the generated voice may differ depending on the user's behavior. Therefore, by extracting the characteristics of the voice in a normal state for each user's behavior, it becomes possible to calculate a more accurate score. For example, if the voice to be analyzed is a voice collected when the user is eating, the calculation unit 132 calculates the difference between the characteristics of the voice when the user is eating in a normal state, which has been collected in advance, and the characteristics of the voice to be analyzed as the score.
[0031] Furthermore, the audio may be separated into voice and non-voice sounds (footsteps, sounds of moving objects, etc.) by a predetermined method. In this case, the calculation unit 132 calculates a score for each of the separated audios.
[0032] It is considered that a user who is stressed may take a specific action to relieve stress. Therefore, the calculation unit 132 calculates, as a score, the degree of similarity between the voice characteristics obtained by the microphone 20 and the voice characteristics caused by a specific action taken in response to increased stress.
[0033] Increased stress may occur along with irritation, impatience, fatigue, etc. For this reason, for example, when a user is stressed, it is conceivable that there will be an increase in the volume of the voice due to irritation, an increase in collision noise due to rough handling of objects, a shortening of the interval between footsteps due to impatience, and an increase in the interval between footsteps due to fatigue.
[0034] It is also conceivable that a sound is generated when a user performs a specific action to relieve stress. For example, a stressed user may perform actions such as sighing, hitting a desk with a part of the body such as a finger, screaming, or wiggling a part of the body (so-called fidgeting).
[0035] The determination unit 133 determines whether or not the degree of stress calculated by the calculation unit 132 exceeds a threshold. For example, when the score calculated by the calculation unit 132 exceeds a threshold, the determination unit 133 determines that the user corresponding to the score is in a stressed state, and outputs the determination result to an administrator or another system, etc.
[0036] Here, regardless of whether the user is stressed or not, if the user's physical characteristics, personality, lifestyle, etc. differ, the characteristics of the generated voice may differ. Therefore, a model may be prepared individually for each of a plurality of users. In this case, the model is assumed to have learned the characteristics of each user's normal voice. This makes it possible to calculate the user's level of stress with high accuracy.
[0037] In this case, the acquisition unit 131 acquires the voice obtained by the microphone 20 in association with identification information that identifies the user who uttered the voice. Then, the calculation unit 132 performs calculations using a model that outputs a score from the input user information and environmental information and that is identified by the identification information among the models associated with each user.
[0038] Furthermore, a separate microphone may be provided for each user, which allows the acquisition unit 131 to use information for identifying the microphone that is the source of the voice as information for identifying the user.
[0039] Furthermore, an individual microphone for each user may be provided in a mobile terminal (e.g., a smartphone), a wearable terminal, etc. owned by each user. In this case, the acquisition unit 131 acquires the voice via each terminal, and further identifies the user by using the identification information (e.g., a MAC (Media Access Control) address) of each terminal previously associated with the user.
[0040] The configuration of a learning device for training a model will be described with reference to Fig. 3. Fig. 3 is a diagram showing an example of the configuration of the learning device according to the first embodiment. Note that the analysis device 10 may perform the same processing as the learning device. As shown in Fig. 2, the learning device 40 has an interface unit 41, a storage unit 42, and a control unit 43.
[0041] The interface unit 41 is an interface for inputting and outputting data. For example, the interface unit 41 is a NIC. The interface unit 41 can transmit and receive data to and from other devices via the network N.
[0042] The storage unit 42 is a storage device such as an HDD, an SSD, an optical disk, etc. The storage unit 42 may be a semiconductor memory in which data can be rewritten, such as a RAM, a flash memory, an NVSRAM, etc. The storage unit 42 stores the OS and various programs executed by the learning device 40.
[0043] The storage unit 42 stores model information 421. The model information 421 is information for constructing a model. For example, when the model includes a neural network, the model information 421 is parameters such as a weight matrix and a bias value for constructing the neural network.
[0044] The model information 121 of the analysis device 10 is information on a trained model, whereas the model information 421 of the learning device 40 may be untrained or in the process of being trained. For example, the learning device 40 can repeatedly update the model information 421 and then pass it on to the analysis device 10.
[0045] The control unit 43 controls the entire learning device 40. The control unit 43 is, for example, an electronic circuit such as a CPU, an MPU, or a GPU, or an integrated circuit such as an ASIC or an FPGA. The control unit 43 also has an internal memory for storing programs that define various processing procedures and control data, and executes each process using the internal memory. The control unit 43 also functions as various processing units by the operation of various programs. For example, the control unit 43 has an acquisition unit 431, a calculation unit 432, and an update unit 433.
[0046] The acquisition unit 431 and the calculation unit 432 respectively perform the same processes as the acquisition unit 131 and the calculation unit 132 of the analysis device 10. The update unit 433 updates the model information 421 so as to reduce the difference between the score calculated by the calculation unit 432 and the correct score.
[0047] For example, the correct answer score can be obtained by directly asking the user about the level of stress he or she was under when he or she uttered the sound for which the score was calculated.
[0048] [Processing of the first embodiment] The flow of processing by the analysis device 10 will be described with reference to Fig. 4. Fig. 4 is a flowchart showing the flow of processing by the analysis device according to the first embodiment. First, the analysis device 10 acquires a voice inside a building (step S101). For example, the building is a house where a user lives.
[0049] Next, the analysis device 10 inputs the feature amount extracted from the voice into the model (step S102). Then, the analysis device 10 uses the model to calculate a score indicating the degree of stress (step S103). Then, the analysis device 10 judges the stress (step S104).
[0050] The process flow of the learning device 40 will be described with reference to Fig. 5. Fig. 5 is a flowchart showing the process flow of the learning device according to the first embodiment. First, the learning device 40 acquires a voice inside a building and a correct answer score (step S201).
[0051] For example, the correct answer score is the degree of stress that the user in the building actually felt when the voice was generated. Next, the learning device 40 inputs the feature amount extracted from the voice to the model (step S202).
[0052] Next, the learning device 40 uses the model to calculate a score indicating the degree of stress (step S203). Then, the learning device 40 updates the model based on the difference between the calculated score and the correct score (step S204).
[0053] [Advantages of the First Embodiment] As described above, the acquisition unit 131 acquires user information, which is information about the user's behavior, and environmental information, which is information about the user's environment. The calculation unit 132 calculates a score representing the user's stress level based on the user information and environmental information. The determination unit 133 determines whether the stress level calculated by the calculation unit 132 exceeds a threshold value. In this manner, the analysis device 10 calculates the score and determines the stress level using both the user information and the environmental information. Therefore, according to this embodiment, the stress state of a user living indoors can be analyzed with high accuracy.
[0054] The acquisition unit 131 acquires, as user information, a voice obtained by a microphone 20 installed in the house where the user lives. For example, it is possible to analyze the user's stress based on an image acquired by a camera. However, it is possible that some users dislike being monitored by a camera from the viewpoint of privacy, etc. In contrast, in this embodiment, since it is not necessary to install a camera, information can be collected without disliking the user.
[0055] The calculation unit 132 performs calculations so that the score increases as the difference between the voice characteristics obtained by the microphone 20 and the previously prepared normal voice characteristics increases. This makes it possible to improve the accuracy of the score calculation using only normal voices even when voices under high stress cannot be obtained in advance (unsupervised learning).
[0056] The calculation unit 132 calculates the degree of similarity between the voice characteristics obtained by the microphone 20 and the voice characteristics caused by a specific behavior performed in response to increased stress as a score. This makes it possible to detect the behavior performed in response to increased stress and calculate the score more accurately.
[0057] The acquisition unit 131 acquires the voice obtained by the microphone 20 in association with identification information that identifies the user who uttered the voice. The calculation unit 132 performs calculations using a model that outputs a score from the input user information and environmental information and is identified by the identification information among the models associated with each user. This makes it possible to calculate the score taking into account the difference in how each user feels stress.
[0058] The acquisition unit 131 acquires the indoor temperature and humidity obtained by a sensor installed in the user's home as environmental information. This makes it possible to calculate a score taking into account the effect that the temperature and humidity have on the user.
[0059] [Other embodiments] In the above embodiment, the analysis device 10 has been described as acquiring information from the microphone 20 and the thermo-hygrometer 30, but the analysis device 10 may acquire information from devices equipped with other sensors. Also, the model may learn sounds generated in the life cycle of each user, and determine an increase in stress based on a disruption in the cycle.
[0060] Furthermore, when the analysis device 10 determines that the score of any one of the multiple users present in the building 2 is equal to or greater than a threshold, the analysis device 10 may notify the other users of the determination result. For example, when the analysis device 10 determines that the score of user U1 is equal to or greater than a threshold, the analysis device 10 notifies a terminal owned by user U2 that the stress of user U1 is increasing. This allows user U2 to take measures to reduce the stress of user U1.
[0061] [System configuration, etc.] In addition, each component of each device shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure, and all or a part of it can be functionally or physically distributed or integrated in any unit according to various loads, usage conditions, etc. Furthermore, each processing function performed by each device can be realized in whole or in any part by a CPU (Central Processing Unit) and a program analyzed and executed by the CPU, or can be realized as hardware by wired logic. Note that the program may be executed not only by the CPU but also by other processors such as a GPU.
[0062] Furthermore, among the processes described in this embodiment, all or part of the processes described as being performed automatically can be performed manually, or all or part of the processes described as being performed manually can be performed automatically by a known method. In addition, the information including the processing procedures, control procedures, specific names, various data and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified.
[0063] [program] In one embodiment, the analysis device 10 can be implemented by installing an analysis program that executes the above-mentioned analysis processing as package software or online software on a desired computer. For example, the above-mentioned analysis program can be executed by an information processing device, thereby making the information processing device function as the analysis device 10. The information processing device referred to here includes desktop and laptop personal computers. In addition, the information processing device also includes mobile communication terminals such as smartphones, mobile phones, and PHS (Personal Handyphone Systems), as well as slate terminals such as PDAs (Personal Digital Assistants), etc.
[0064] The analysis device 10 can also be implemented as an analysis server device that provides services related to the above-mentioned analysis processing to a client, the client being a terminal device used by a user. For example, the analysis server device is implemented as a server device that provides an analysis service that receives user information and environmental information as input and outputs a stress state determination result. In this case, the analysis server device may be implemented as a Web server, or may be implemented as a cloud that provides services related to the above-mentioned analysis processing by outsourcing.
[0065] 6 is a diagram showing an example of a computer that executes an analysis program. The computer 1000 includes, for example, a memory 1010 and a CPU 1020. The computer 1000 also includes a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070. These components are connected by a bus 1080.
[0066] The memory 1010 includes a read only memory (ROM) 1011 and a random access memory (RAM) 1012. The ROM 1011 stores a boot program such as a basic input output system (BIOS). The hard disk drive interface 1030 is connected to a hard disk drive 1090. The disk drive interface 1040 is connected to a disk drive 1100. A removable storage medium such as a magnetic disk or an optical disk is inserted into the disk drive 1100. The serial port interface 1050 is connected to a mouse 1110 and a keyboard 1120, for example. The video adapter 1060 is connected to a display 1130, for example.
[0067] The hard disk drive 1090 stores, for example, an OS 1091, an application program 1092, a program module 1093, and program data 1094. That is, a program that defines each process of the analysis device 10 is implemented as a program module 1093 in which a computer-executable code is written. The program module 1093 is stored, for example, in the hard disk drive 1090. For example, a program module 1093 for executing the same process as the functional configuration of the analysis device 10 is stored in the hard disk drive 1090. The hard disk drive 1090 may be replaced by an SSD (Solid State Drive).
[0068] Furthermore, setting data used in the processing of the above-described embodiment is stored as program data 1094, for example, in the memory 1010 or the hard disk drive 1090. Then, the CPU 1020 reads out the program module 1093 or the program data 1094 stored in the memory 1010 or the hard disk drive 1090 into the RAM 1012 as necessary, and executes the processing of the above-described embodiment.
[0069] Note that the program module 1093 and the program data 1094 are not limited to being stored in the hard disk drive 1090, but may be stored in, for example, a removable storage medium and read by the CPU 1020 via the disk drive 1100 or the like. Alternatively, the program module 1093 and the program data 1094 may be stored in another computer connected via a network (such as a local area network (LAN) or wide area network (WAN)). The program module 1093 and the program data 1094 may then be read by the CPU 1020 from the other computer via the network interface 1070. [Explanation of symbols]
[0070] N Network U1, U2 users 1. Analysis system 2. Building 10 Analyzer 11, 41 Interface section 12, 42 Storage section 13, 43 Control section 20 Microphone 30 Thermohygrometer 40 Learning Device 131, 431 Acquisition Department 132, 432 calculation section 133 Judgment section 433 Update Department
Claims
1. an acquisition unit that acquires user information, which is a voice collected on a specific day of the week and in a specific time period by a microphone installed in a house where the user lives, and environmental information, which is information about the user's environment; a calculation unit that calculates, based on the user information and the environmental information, a score representing a degree of stress of the user, the score increasing as a difference between a feature of the voice collected by the microphone and a feature of a normal voice prepared in advance and collected by the microphone on the specific day of the week and in the specific time period increases; a determination unit that determines whether the score calculated by the calculation unit exceeds a threshold; An analytical device comprising:
2. The analysis device according to claim 1, characterized in that the calculation unit calculates as a score the degree of similarity between the voice characteristics obtained by the microphone and the voice characteristics produced by a specific action performed in response to increased stress.
3. The acquisition unit acquires the voice obtained by the microphone in association with identification information that identifies a user who uttered the voice, The analysis device according to claim 1 or 2, characterized in that the calculation unit performs calculations using a model that outputs the score from the input user information and environmental information, and that is identified by the identification information among models associated with each of the users.
4. The analysis device according to claim 1 , wherein the acquisition unit acquires, as the environmental information, indoor temperature and humidity obtained by a sensor provided in the user's home.
5. An analytical method performed by an analytical device, comprising: an acquisition step of acquiring user information, which is a voice collected on a specific day of the week and in a specific time period by a microphone installed in a house where the user lives, and environmental information, which is information about the user's environment; a calculation step of calculating, based on the user information and the environmental information, a score representing a degree of stress of the user, the score increasing as a difference between a feature of the voice collected by the microphone and a feature of a normal voice prepared in advance and collected by the microphone on the specific day of the week and in the specific time period increases; a determination step of determining whether the score calculated by the calculation step exceeds a threshold; An analytical method comprising the steps of:
6. An analysis program for causing a computer to function as the analysis device according to any one of claims 1 to 4.
Citation Information
Patent Citations
Triggering user query based on sensor input
JP2012239894A
Intimacy calculation method, intimacy calculation program and intimacy calculation device
JP2013206389A
Health management device and health management method
JP2015090506A
System and method
JP2019004924A
Information processing device, information processing method and program
JP2020135132A
