SELECTION PROGRAM, INFORMATION PROCESSING APPARATUS AND CONTROL METHOD
Patent Information
- Application Number
- JP2020146476
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-09-01
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2040-09-01
Smart Images

Figure 0007567297000001 
Figure 0007567297000002 
Figure 0007567297000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a selection program, an information processing device, and a control method. [Background technology]
[0002] In recent years, with the advancement of IoT (Internet of Things), the amount of data generated by end devices is increasing. As a result, it is becoming difficult for information processing devices (e.g., cloud servers) to process all data and control end devices. Therefore, attention is being paid to edge computing, in which not only information processing devices but also end devices take part in processing.
[0003] Edge computing is composed of, for example, an information processing device and a plurality of edge terminals which are end devices. By performing distributed processing in both the information processing device and the edge terminals, it is possible to reduce the load on the information processing device. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Japanese Patent Application Publication No. 8-061741 [Patent Document 2] JP 2018-035957 A [Patent Document 3] JP 2015-122055 A Summary of the Invention [Problem to be solved by the invention]
[0005] The multiple edge terminals connected to the information processing device each have different processing capabilities and amounts of information (resources) that can be held. For this reason, when processing is performed using edge computing, it is preferable for the information processing device to be able to distribute the processing load to each edge terminal according to the processing capabilities and resources of each edge terminal.
[0006] An object of one aspect of the present invention is to provide a selection program, an information processing device, and a control method that are capable of distributing processing loads in accordance with the processing capabilities and resources of edge terminals. [Means for solving the problem]
[0007] According to one aspect of the invention, the present invention is characterized in that a computer is caused to execute a process of receiving identification information regarding a terminal from the terminal, selecting one or more user status transition patterns, the number of which corresponds to the identification information, from a plurality of user status transition patterns, which are a plurality of patterns of the user status transition obtained by clustering information indicating a user status transition, which is a time-series transition of the user's status over a predetermined unit time, and transmitting the one or more user status transition patterns to the terminal. Effect of the Invention
[0008] According to one embodiment, it is possible to provide a selection program, an information processing device, and a control method that are capable of distributing processing loads in accordance with the processing capabilities and resources of edge terminals. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram illustrating an example of an overall configuration of a system according to a first embodiment. [Diagram 2] FIG. 2 is a functional block diagram of the cloud server 100 according to the first embodiment. [Diagram 3] FIG. 3 is a diagram showing an example of information stored in the feature vector DB 103. As shown in FIG. [Figure 4] Fig. 4(a) is an example of a probability model stored in the cluster result DB 104. Fig. 4(b) is an example of a probability model associated with a day of the week stored in the cluster result DB 104. [Diagram 5] FIG. 5 is a diagram showing an example of information stored in the number-of-clusters determination DB 105. As shown in FIG. [Figure 6]FIG. 6 is a diagram showing an example of information stored in the control criteria DB 106. As shown in FIG. [Figure 7] FIG. 7 is a diagram showing an example of information stored in the schedule DB 107. As shown in FIG. [Figure 8] FIG. 8 is a functional block diagram of the edge terminal 200 according to the first embodiment. As shown in FIG. [Figure 9] Fig. 9(a) is a diagram showing an example of information stored in the sensor value DB 203. Fig. 9(b) is a diagram showing an example of information stored in the edge terminal log DB 204. [Figure 10] FIG. 10 is a functional block diagram of the user terminal 300 according to the first embodiment. As shown in FIG. [Figure 11] FIG. 11 is a sequence diagram showing a process flow of the control system. [Figure 12] FIG. 12 is a diagram for explaining the process of selecting a probabilistic model. [Figure 13] FIG. 13 is a diagram showing an example of an operation screen displayed on the user terminal 300. As shown in FIG. [Figure 14] FIG. 14 is a diagram illustrating the learning process in the cloud server 100. As shown in FIG. [Figure 15] FIG. 15 is a diagram illustrating feature vectors of the learning data. [Figure 16] FIG. 16 is a diagram for explaining the process of creating a cluster of a probabilistic model. [Figure 17] FIG. 17 is a diagram for explaining the process of determining the occupancy probability from the clusters of the probabilistic model. [Figure 18] FIG. 18 is a diagram illustrating the prediction process in the edge terminal 200. As shown in FIG. [Figure 19] FIG. 19 is a diagram for explaining the process of calculating the user presence probability. [Figure 20] FIG. 20 is a diagram illustrating an example of a hardware configuration. [Figure 21] FIG. 21 is a diagram illustrating an example of a hardware configuration. [Figure 22] FIG. 22 is a diagram illustrating an example of a hardware configuration. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] In edge computing, for example, distributed processing is performed by both the information processing device and multiple edge terminals in order to reduce the load on the information processing device. As an example of such distributed processing, a method in which each edge terminal executes processing according to rules distributed by the information processing device is conceivable. According to this method, the information processing device only needs to distribute the rules (and generate rules as necessary), so that the load on the information processing device can be reduced.
[0011] In this case, by increasing the number of rules, it becomes possible to instruct the edge terminals to perform more detailed processing, thereby improving the processing accuracy. However, there are cases where it is undesirable to uniformly increase the number of rules for all edge terminals. Specifically, there may be cases where the processing capabilities and resources of each edge terminal are different. In such cases, there is a problem that the many rules place a burden on edge terminals with relatively small processing capabilities and resources, causing processing delays.
[0012] In the embodiments disclosed below, a selection program, an information processing device, and a control method capable of distributing the processing load to each edge terminal according to the processing capacity and resources of each edge terminal will be described.
[0013] It should be noted that the present invention is not limited to these embodiments, and that the embodiments can be appropriately combined within a range that does not cause any contradiction.
[0014] Example 1 FIG. 1 is a diagram illustrating an example of the overall configuration of a system according to a first embodiment. As illustrated in FIG. 1, this system is a system in which a cloud server 100 and a plurality of edge terminals 200 are connected to each other via a network N so as to be able to communicate with each other. Note that the network N may be a wired or wireless communication network such as the Internet. The cloud server 100 is an example of a computer and an information processing device. The edge terminals 200 provided in each of the rooms 1 to 3 are an example of an air conditioner or an air conditioner that controls the air conditioning in the rooms.
[0015] [Functional configuration of cloud server 100] Next, a description will be given of the functional configuration of the cloud server 100 shown in Fig. 1. Fig. 2 is a functional block diagram showing the functional configuration of the cloud server 100 according to the first embodiment. As shown in Fig. 2, the cloud server 100 includes a communication unit 101, a storage unit 102, and a control unit 110.
[0016] The communication unit 101 is a processing unit that controls communication with other devices, and is realized by, for example, a communication interface.
[0017] The storage unit 102 stores various data and programs executed by the control unit 110. For example, the storage unit 102 is realized by a memory or a hard disk. The storage unit 102 stores a feature vector DB 103, a cluster result DB 104, a number of clusters determination DB 105, a control criterion DB 106, and a schedule DB 107.
[0018] The feature vector DB 103 is a database that stores learning data. The cluster result DB 104 is a database that stores cluster results. The cluster number determination DB 105 is a database that stores an upper limit number of learning data to be distributed to the edge terminal 200. The control criterion DB 106 is a database that stores control contents for the edge terminal 200. The schedule DB 107 is a database that stores a schedule for controlling the edge terminal 200.
[0019] The control unit 110 is a processing unit that controls the overall processing of the cloud server 100, and is realized by, for example, a processor. The control unit 110 has an acquisition unit 111, a generation unit 112, a selection unit 113, a delivery unit 114, and a processing unit 115.
[0020] The acquisition unit 111 acquires a feature indicating a state of the user and identification information of the edge terminal 200. The feature indicating the state of the user is, for example, information indicating whether the user is at home or not in a certain unit time (for example, every hour) or information indicating whether the user is sleeping or not. Moreover, the identification information of the edge terminal 200 is information linked to the processing capacity of the edge terminal 200.
[0021] The generating unit 112 generates a probability model indicating the transition of the user state. This is performed as follows. The generating unit 112 generates user state transition information, which is information obtained by combining features indicating the user state for each unit time acquired by the acquiring unit 111 in a time series for a predetermined period (for example, features indicating 24 user states for each hour are combined to generate user state transition information for one day for a certain user). Then, the generated user state transition information is clustered under a predetermined condition to generate a plurality of clusters. Next, in each cluster, a user state transition pattern that represents the cluster or typically indicates the cluster is generated based on one or more pieces of user state transition information included in the cluster. In this embodiment, as an example, this user state transition pattern is constructed as a probability model for each cluster, as described later. In summary, the generating unit 112 generates a plurality of user state transition patterns, which are a plurality of patterns of user state transition obtained by clustering information indicating user state transition, which is a time series transition of the user state in a predetermined unit time.
[0022] When the number of probability models exceeds the upper limit number set based on the acquired identification information of the edge terminal 200, the selection unit 113 selects a probability model to be delivered to the edge terminal 200 based on the number of features used in the cluster of the probability model. Specifically, the selection unit 113 selects a probability model such that the number of probability models to be delivered to the edge terminal 200 increases as the processing capacity of the edge terminal increases. Furthermore, when the number of generated probability models exceeds the upper limit number, the selection unit 113 calculates the number of features used in the cluster of the probability model for each probability model. Then, the selection unit 113 selects the probability models with the largest number of features from the generated probability models, up to the upper limit number. Specifically, the selection unit 113 selects one or more user state transition patterns from the above-mentioned multiple user state transition patterns, the number of which corresponds to the identification information.
[0023] The distribution unit 114 distributes the selected probabilistic model via the communication unit 101. Specifically, the distribution unit 114 transmits one or more user state transition patterns to the edge terminal 200.
[0024] The processing unit 115 specifies the control content for the edge terminal 200 based on the prediction result by the edge terminal 200 .
[0025] [Examples of information stored in the feature vector DB 103] Fig. 3 is a diagram showing an example of information stored in the feature vector DB 103. As shown in Fig. 3, the feature vector DB 103 stores "date, feature vector" in association with each other.
[0026] As shown in FIG. 3, the feature vector has information indicating whether the user is at home or not at each time during the period from the start to the end of the unit time. For example, one feature vector (log) has multiple labels at each time. If the user is at home, the label "1" is set. On the other hand, if the user is not at home, the label "0" is set. This indicates that "on January 1, 2020, the user is at home at time t1, the user is not at home at time t2, and the user is at home at time t3."
[0027] [Example of information stored in the cluster result DB 104] 4(a) and 4(b) are diagrams showing examples of information stored in the cluster result DB 104. Fig. 4(a) is an example of a probability model stored in the cluster result DB 104. Fig. 4(b) is an example of a probability model associated with a day of the week stored in the cluster result DB 104.
[0028] As shown in FIG. 4(a), the cluster result DB 104 stores "probabilistic model ID, time, and occupancy probability" in association with each other. The "probabilistic model ID" stored here is an identifier that identifies a probabilistic model, and the "time" is a reference time. Furthermore, the "occupancy probability" is the probability that a user is present. For example, this indicates that "probabilistic model 1 indicates that the probability of a user being present at time t1 is 0.8, and the probability of a user being present at time t2 is 0.5."
[0029] As shown in FIG. 4(b), the cluster result DB104 stores "probability model ID, time, occupancy probability, and day of the week" in association with each other. The "probability model ID" stored here is an identifier for identifying a probabilistic model, and the "time" is a reference time. Furthermore, the "occupancy probability" is the probability that a user is present. The "day of the week" is a representative day of the week for the probabilistic model. The "day of the week" is an example of a label assigned to a probabilistic model, and may be environmental information such as the location of measurement.
[0030] [Example of information stored in the cluster number determination DB 105] FIG. 5 is a diagram showing an example of information stored in the number-of-clusters determination DB 105. As shown in FIG. 5, the number-of-clusters determination DB 105 stores "identification information, upper limit number of clusters" in association with each other. Here, the "identification information" is an identifier that identifies the model number of the edge terminal 200. The "identification information" may also be an identifier that indicates the processing capacity of the edge terminal 200. The "upper limit number of clusters" is the upper limit number of probability models that can be delivered to the edge terminal 200. For example, this indicates that "the upper limit number of probability models that can be delivered to the edge terminal 200 with model number X001 is 10."
[0031] [Examples of information stored in the control criteria DB 106] FIG. 6 is a diagram showing an example of information stored in the control criteria DB 106. As shown in FIG. 6, a "time length, control content" is stored in association with each of a "predicted absence" state and a "predicted presence at home" state. The "time length" is the length of time the user will be present in the room, or the length of time the user will not be present in the room. The "control content" is the content of the processing executed by the edge terminal 200. The example of FIG. 6 shows that when the expected length of time the user will be absent is "30 minutes or more," control is performed to activate the "power saving mode" of the edge terminal 200.
[0032] [Examples of information stored in schedule DB 107] FIG. 7 is a diagram showing an example of information stored in the schedule DB 107. As shown in FIG. 7, the schedule DB 107 stores "date and time, prediction result, and registered content" in association with each other. The "time" stored here is a reference time. The "prediction result" is a result of the edge terminal 200 predicting whether or not a user is present. The "registered content" is a control content for the edge terminal 200 that has accepted an instruction from the user. The example in FIG. 7 shows that "the user is predicted to be absent from 12:00 to 15:00, and it is registered that the air conditioner cleaning mode will be activated." It also shows that "the user is predicted to be at home from 15:30 to 16:30, and it is registered that the air conditioner will start operating."
[0033] [Functional configuration of edge terminal 200] 8 is a functional block diagram illustrating a functional configuration of the edge terminal 200 according to the first embodiment. The edge terminal 200 includes a communication unit 201, a storage unit 202, and a control unit 210.
[0034] The communication unit 201 is a processing unit that controls communication with other devices, and is realized by, for example, a communication interface.
[0035] The storage unit 202 stores various data and programs executed by the control unit 210. For example, the storage unit 202 is realized by a memory, a hard disk, etc. The storage unit 202 stores a sensor value DB 203 and an edge terminal log DB 204.
[0036] The sensor value DB 203 is a database that stores sensor values that identify the state of the user, acquired by a sensor in each room. For example, the sensor values stored here may include other observed values that the sensor can measure, such as a change in temperature over time, in addition to the state of the user. The state of the user is, for example, information indicating whether or not the user is present in the room. The edge terminal log DB 204 is a database that stores identification information of the edge terminal 200.
[0037] The communication unit 201 outputs sensor data and the like to the cloud server 100. In addition, the communication unit 201 receives, from the cloud server 100, a probabilistic model and the like distributed by the cloud server 100. In addition, the communication unit 201 transmits a prediction result based on the probabilistic model to the cloud server 100.
[0038] The control unit 210 controls the overall processing of the edge terminal 200. The control unit 210 is realized by, for example, a processor. The control unit 210 includes an acquisition unit 211, a processing unit 212, and an execution unit 213.
[0039] The acquisition unit 211 acquires a plurality of features indicating the state of the user from the start to the end of the unit time. For example, the acquisition unit 211 acquires a feature indicating whether the user is present or not during the period from 0:00 to 24:00. At this time, the plurality of features indicating the state of the user from the start to the end of the unit time are transmitted to the cloud server 100.
[0040] In addition, the acquisition unit 211 acquires a plurality of features indicating the state of the user from the start of the unit time to the start time of the inference. For example, the acquisition unit 211 acquires a feature indicating whether the user is present or not during the period from midnight to the present today.
[0041] The processing unit 212 uses a probabilistic model to predict the state of the user during the period from the start time of the inference to the end of the unit time.
[0042] The execution unit 213 executes processing based on the control information delivered from the cloud server 100 .
[0043] [Examples of information stored in the sensor value DB 203] FIG. 9(a) is a diagram showing an example of information stored in the sensor value DB 203. As shown in FIG. 9(a), the sensor value DB 203 stores "date and time, day of the week, presence or absence of presence in the room, room temperature, humidity, outdoor temperature" and the like in association with each other. The "date and time" stored here is the date and time when the data was measured. The "day of the week" is the day of the week when the data was measured. "Presence or absence in the room" is the result of measuring the state of the user, and is the result of measuring the presence or absence of the user. The "room temperature" and "humidity" are the indoor temperature and humidity measured by each sensor in each room, respectively, and the "outdoor temperature" is the outdoor temperature measured by each sensor in each room. The example of FIG. 9(a) shows sensor values every 30 minutes, and for example, for room 1, it shows that "at 0:00 on Wednesday, January 1, 2020, it was measured that the user was present, the room temperature was 20 degrees, the indoor humidity was 55%, and the outdoor temperature was 10 degrees."
[0044] [Example of information stored in edge terminal log DB 204] Fig. 9(b) is a diagram showing an example of information stored in edge terminal log DB 204. As shown in Fig. 9(b), edge terminal log DB 204 stores "edge ID, identification information" in association with each other. The "edge ID" stored here is an ID that identifies the air conditioner, and the "identification information" is an identifier that identifies the model number of edge terminal 200. Furthermore, the "identification information" may be an identifier that indicates the processing capacity of edge terminal 200 installed in the air conditioner.
[0045] [Functional configuration of user terminal 300] 10 is a functional block diagram showing a functional configuration of the user terminal 300 according to the first embodiment. As shown in FIG.
[0046] The communication unit 301 outputs the operation content received from the user to the cloud server 100. In addition, the communication unit 301 receives candidates for control content for the edge terminal 200 from the cloud server 100.
[0047] The control unit 302 controls the overall processing of the user terminal 300. The control unit 302 is realized by, for example, a processor. The control unit 302 causes the display unit 303 to display a confirmation image for prompting the user whether or not to execute a candidate control content for the edge terminal 200.
[0048] The display unit 303 displays a confirmation image for prompting the user whether or not to execute a candidate control content for the edge terminal 200. The display unit 303 is realized by, for example, a display device.
[0049] Various types of information are input through the input unit 304. The input unit 304 is realized by, for example, a keyboard, a touch panel, or a mouse.
[0050] [Control system processing flow] 11 is a sequence diagram showing the flow of processing by the control system. A series of processing from collection of learning data to control of the edge terminal 200 by the control system will be described with reference to FIG.
[0051] As shown in Fig. 11, the acquisition unit 111 of the cloud server 100 acquires data including identification information of the edge terminal 200 and a sensor value indicating the state of the user from the edge terminal 200. For example, as shown in Fig. 9(a), the acquisition unit 111 of the cloud server 100 acquires sensor values including information indicating "whether the user is present or absent" and information indicating the "day of the week" at 30-minute intervals from the start to the end of a day from the edge terminal 200. Also, as shown in Fig. 9(b), the cloud server 100 acquires identification information indicating the model number of the terminal "X002" from the edge terminal 200 (S101).
[0052] The generation unit 112 of the cloud server 100 generates learning data from the acquired data and clusters the learning data to generate a probabilistic model. The generation unit 112 creates learning data having a feature vector indicating the user's state at each predetermined interval during the period corresponding to the "date". The generation unit 112 then uses the learning data to generate a probabilistic model indicating the user's state at each time (S102).
[0053] The selection unit 113 selects a probability model to be distributed to the edge terminal 200. Specifically, the selection unit 113 refers to the number-of-clusters determination DB 105 based on the identification information of the edge terminal 200, and specifies the upper limit number of probability models to be distributed to the edge terminal 200 associated with the identification information. Then, when the number of generated probability models exceeds the specified upper limit number, the selection unit 113 selects a probability model to be distributed to the edge terminal 200 from among the generated probability models. The selection unit 113 selects a probability model such that the number of probability models to be distributed to the edge terminal 200 increases as the processing capacity of the edge terminal 200 increases (S103).
[0054] The distributor 114 distributes the selected probabilistic model to the edge terminal 200 (S104).
[0055] The execution unit 213 of the edge terminal 200 executes prediction control using the distributed probability model. For example, when a preset inference time arrives, the execution unit 213 predicts the user's state at each time after the inference time based on the sensor value measured by the sensor and the probability model (S105).
[0056] The processing unit 212 of the edge terminal 200 transmits the predicted result to the cloud server 100 (S106).
[0057] The processing unit 115 of the cloud server 100 identifies candidates for control content for the edge terminal 200. For example, as shown in Fig. 7, the processing unit 115 receives a prediction result from the edge terminal 200 that "changes from absent to at home at 15:30, and the user remains at home for a period of 60 minutes until 16:30". The processing unit 115 refers to the information stored in the control standard DB 106 as shown in Fig. 6, and identifies "start operation", which has a time length of 60 minutes, as a candidate for control content (S107).
[0058] Processing unit 115 of cloud server 100 inquires of user terminal 300 as to whether or not to execute the candidate control content (S108).
[0059] The input unit 304 of the user terminal 300 accepts an operation from the user. Then, the communication unit 301 transmits the result of the accepted operation to the cloud server 100 (S109).
[0060] The processing unit 115 of the cloud server 100 registers the operation result in the schedule DB 107. For example, as shown in Fig. 7, the processing unit 115 updates the control information of "start of driving for the period from 15:30 to 16:30 when the user is predicted to be at home" (S110).
[0061] The processing unit 115 of the cloud server 100 refers to the schedule DB 107, and delivers the registered control information to the edge terminal 200 (S111).
[0062] The execution unit 213 of the edge terminal 200 executes the process in accordance with the control information (S112).
[0063] [Process of selecting a probabilistic model] Fig. 12 is a diagram for explaining the process of selecting a probabilistic model. Here, with reference to Fig. 12, the process of the selector 113 of the cloud server 100 selecting a probabilistic model to be delivered to the edge terminal 200 from among the probabilistic models when the number of generated probabilistic models exceeds the upper limit number will be explained.
[0064] As shown in FIG. 12, it is assumed that the generation unit 112 generates four probability models, namely, probability model 1, probability model 2, probability model 3, and probability model 4. It is assumed that the selection unit 113 specifies, based on the identification information of the edge terminal 200, that the upper limit number of probability models to be distributed to the edge terminal 200 is three. For example, the higher the processing capacity of the edge terminal 200, the higher the upper limit number of probability models is specified. In another example, the edge terminal 200 of a higher model is specified to have a higher upper limit number of probability models than the edge terminal 200 of a lower model. The upper limit number of probability models is also specified according to the clock speed of the CPU mounted on the edge terminal 200.
[0065] Next, the selection unit 113 selects a probability model that has a large number of feature vectors used in the clusters of the probability model. Specifically, probability model 1 is a model in which 100 feature vectors are clustered. Furthermore, probability model 2 is a model in which 5 feature vectors are clustered. Probability model 3 is a model in which 30 feature vectors are clustered. Furthermore, probability model 4 is a model in which 10 feature vectors are clustered. Therefore, the selection unit 113 selects three probability models, probability model 1, probability model 3, and probability model 4, which have a large number of feature vectors used in the clusters of the probability model.
[0066] [User device operation screen] Fig. 13 is a diagram showing an example of an operation screen displayed on the user terminal 300. As shown in Fig. 13, the display unit 303 of the user terminal 300 displays a screen for accepting whether or not to execute a candidate control content identified by the processing unit 115 of the cloud server 100. For example, the display unit 303 displays "Do you want to operate the air conditioner from 15:30 today?" as a candidate control content. The user terminal 300 then displays a "YES" operation button for accepting that the candidate control content is to be executed, and a "NO" operation button for accepting that the candidate control content is not to be executed.
[0067] [Learning process in cloud server 100] The learning process in the cloud server 100 will now be described with reference to Fig. 14. Fig. 14 is a flow chart showing the detailed process of S102 in Fig. 11.
[0068] The generation unit 112 acquires learning data (S201).
[0069] The generation unit 112 calculates a feature vector of the learning data (S202).
[0070] The generating unit 112 clusters the feature vectors. Specifically, the generating unit 112 calculates the distance between the feature vectors. Then, the generating unit 112 performs clustering so that feature vectors whose distance is equal to or less than a preset threshold value are included in the same cluster. As the distance, any distance such as Euclidean distance or a distance based on a cosine can be used (S203).
[0071] The generation unit 112 generates a probability model from the clustered feature vectors. Specifically, the generation unit 112 calculates a feature vector of a cluster from each of a plurality of feature vectors included in the same cluster. Then, the generation unit 112 generates a probability model using the calculated feature vectors (S204).
[0072] The generating unit 112 generates a probability model associated with a representative day of the week. The generating unit 112 identifies the day of the week on which the feature vector was measured for each of a plurality of feature vectors included in the cluster of the probability model. The generating unit 112 then sets the most frequent day of the week among the identified days of the week as the representative day of the week of the probability model. For example, as shown in FIG. 4(b), the probability model 1 is set to have Wednesday as the representative day of the week. This is done by using the day of the week information included in the sensor data as shown in FIG. 9(a), identifying the day of the week on which the feature vector was measured for each of a plurality of feature vectors included in the cluster of the probability model. The generating unit 112 generates at least one or more clusters by clustering a plurality of feature vectors based on the similarity of each of the plurality of feature vectors. The generating unit 112 then identifies the most frequent day of the same type among the days of the week associated with each of the feature vectors included in at least one or more clusters, and generates a probability model associated with the identified day of the week. That is, the generating unit 112 generates a probability model associated with the day of the week for which the environmental information is set (S205).
[0073] The generation unit 112 outputs the probabilistic model. Furthermore, the generation unit 112 outputs the probabilistic model associated with the day of the week (S206).
[0074] [Feature vector of training data] Here, the feature vector of the learning data will be described with reference to FIG. 15. The feature vector is information indicating the state of the user at each time in a period from the start to the end of a unit time. For example, as shown in FIG. 15, the feature vector of January 1, 2020 indicates that the user is absent in the latter half of the morning, but is at home in the first half of the afternoon. Also, the feature vector of January 2, 2020 indicates that the user is at home all day. On the other hand, the feature vector of January 3, 2020 indicates that the user is absent all day.
[0075] [Probability model] Here, the probability model will be described with reference to Fig. 16 and Fig. 17. Fig. 16 is a diagram for explaining a process for creating a cluster of the probability model. Fig. 17 is a diagram for explaining a process for identifying an occupancy probability from the cluster of the probability model.
[0076] 16, the generation unit 112 clusters feature vectors that are close to each other among a plurality of feature vectors in the learning data, and then generates a probabilistic model from the clusters obtained by the clustering.
[0077] In this case, in the example of FIG. 16, the cluster of probability model 1 includes feature vector 2, feature vector 3, etc., and probability model 1 has 100 feature vectors. The cluster of probability model 2 includes feature vector 4, feature vector 5, etc., and probability model 2 has five feature vectors. On the other hand, feature vector 1 is a feature vector that does not belong to any probability model. This is because feature vector 1 was not clustered because it is far away from the other feature vectors.
[0078] Next, the generation unit 112 calculates a feature vector of the probability model 1 by using each of the 100 feature vectors belonging to the cluster of the probability model 1. The calculated feature vector indicates the occupancy probability. Specifically, as shown in FIG. 17, the generation unit 112 calculates the occupancy probability of the probability model by averaging each of the feature vectors. For example, the average value of multiple labels from 8:00 to 8:30 in the feature vector is set as the occupancy probability of the probability model from 8:00 to 8:30. In addition, the average value of multiple labels from 8:30 to 9:00 in the feature vector is set as the occupancy probability of the probability model from 8:30 to 9:00. In this way, the generation unit 112 calculates a pattern indicating the occupancy probability of the user at each time in the probability model 1.
[0079] [Prediction processing in edge terminal 200] Here, the prediction process in the edge terminal 200 will be described with reference to Fig. 18. Fig. 18 is a flowchart showing the detailed process of S105 in Fig. 11. In the prediction process in the edge terminal 200, S307 and S308 can be omitted as necessary. That is, the process following S306 is S309.
[0080] The acquisition unit 211 acquires data up to the inference time (S301).
[0081] The processing unit 212 calculates a feature vector (S302).
[0082] The processing unit 212 determines whether the plurality of probability models are similar to each other during the period until the inference time. Specifically, the processing unit 212 determines whether the occupancy probabilities of the plurality of probability models distributed from the cloud server 100 are similar during the period from the start of the unit time until the inference time. For example, the processing unit 212 determines whether the difference between the occupancy probabilities of the plurality of probability models is equal to or greater than a preset threshold. If the processing unit 212 determines that the occupancy probabilities are not similar, the process proceeds to S304 (S303: NO). On the other hand, if the processing unit 212 determines that the occupancy probabilities are similar, the process proceeds to S305 (S303: YES).
[0083] The processing unit 212 identifies a probability model from among the multiple probability models. The processing unit 212 identifies a probability model similar to the calculated feature vector. Specifically, the processing unit 212 identifies a probability model having an occupancy probability with a similar feature vector from among the multiple probability models delivered from the cloud server 100 (S304).
[0084] The processing unit 212 specifies a probabilistic model from among a plurality of probabilistic models each associated with a day of the week. The processing unit 212 specifies a probabilistic model using the current day of the week (S305).
[0085] The processing unit 212 uses the identified probability model to obtain the occupancy probability for the day after the inference time (S306).
[0086] The processing unit 212 acquires the occupancy probability for the next day. Specifically, the processing unit 212 identifies a probability model associated with the day of the week for the next day from among a plurality of probability models distributed from the cloud server 100. Then, the processing unit 212 acquires the occupancy probability for the next day using the identified probability model (S307).
[0087] The processing unit 212 calculates the occupancy probability from the inference time to 24 hours later (S308).
[0088] The processing unit 212 determines whether or not the user is present in the room. Specifically, the processing unit 212 determines whether or not the user is present in the room based on a comparison result between the calculated presence probability and a preset threshold value. For example, the processing unit 212 outputs the time and the length of time when the presence probability exceeds a threshold value (e.g., 0.5). The processing unit 212 also outputs the time and the length of time when the presence probability is equal to or less than the threshold value (e.g., 0.5) (S309).
[0089] [Process to calculate the probability of a user being in the room] Here, the process of the processing unit 212 calculating the presence probability of the user will be described with reference to Fig. 19. The processing unit 212 compares the feature vector from t1 to the inference time t2 with the presence probability of each of the multiple probability models. Then, the processing unit 212 identifies, from among the multiple probability models, a probability model having an presence probability most similar to the feature vector from t1 to the inference time t2. Next, the processing unit 212 refers to the presence probability of the probability model and predicts the presence probability of the user at each time in the period from t2 to t3.
[0090] [Hardware] Fig. 20 is a diagram for explaining an example of a hardware configuration. As shown in Fig. 20, the cloud server 100 includes a communication device 100a, a hard disk drive (HDD) 100b, a memory 100c, and a processor 100d. The components shown in Fig. 20 are connected to each other via a bus or the like.
[0091] The communication device 100a is a network interface card or the like, and communicates with other servers. The HDD 100b stores a program and a DB for operating the functions shown in FIG.
[0092] The processor 100d reads out a program that executes the same processes as the respective processing units shown in FIG. 2 and the like from the HDD 100b and loads it in the memory 100c, thereby operating a process that executes the respective functions described in FIG. 2 and the like. That is, this process executes the same functions as the respective processing units of the cloud server 100. Specifically, the processor 100d reads out a program having the same functions as the acquisition unit 111, the generation unit 112, the selection unit 113, the delivery unit 114, the processing unit 115, and the like from the HDD 100b and the like. Then, the processor 100d executes a process that executes the same processes as the acquisition unit 111, the generation unit 112, the selection unit 113, the delivery unit 114, the processing unit 115, and the like.
[0093] In this way, the cloud server 100 operates as an information processing device that executes a data generation method by reading and executing a program. The cloud server 100 can also realize functions similar to those of the above-mentioned embodiment by reading the program from a recording medium using a media reading device and executing the read program. Note that the program in this other embodiment is not limited to being executed by the cloud server 100. For example, the present invention can be similarly applied to cases where another computer or server executes a program, or where these execute a program in cooperation with each other.
[0094] This program can be distributed via a network such as the Internet. This program can also be recorded on a non-transitory computer-readable recording medium such as a hard disk, a flexible disk (FD), a CD-ROM, a magneto-optical disk (MO), or a digital versatile disk (DVD), and can be executed by being read out from the recording medium by a computer.
[0095] Fig. 21 is a diagram for explaining an example of a hardware configuration. As shown in Fig. 21, the edge terminal 200 includes a communication device 200a, an HDD 200b, a memory 200c, and a processor 200d. The components shown in Fig. 21 are connected to each other via a bus or the like.
[0096] The communication device 200a is a network interface card or the like, and communicates with other servers. The HDD 200b stores programs and DBs that operate the functions shown in FIG.
[0097] The processor 200d reads out a program that executes the same processes as the respective processing units shown in FIG. 8 and the like from the HDD 200b and loads it in the memory 200c, thereby operating a process that executes the respective functions described in FIG. 8 and the like. That is, this process executes the same functions as the respective processing units possessed by the edge terminal 200. Specifically, the processor 200d reads out a program having the same functions as the acquisition unit 211, the processing unit 212, the execution unit 213, and the like from the HDD 200b and the like. Then, the processor 200d executes a process that executes the same processes as the acquisition unit 211, the processing unit 212, the execution unit 213, and the like.
[0098] In this way, the edge terminal 200 operates as an information processing device that executes a data generation method by reading and executing a program. The edge terminal 200 can also realize functions similar to those of the above-mentioned embodiment by reading the program from a recording medium using a media reading device and executing the read program. Note that the program in these other embodiments is not limited to being executed by the edge terminal 200. For example, the present invention can be similarly applied to cases where another computer or server executes a program, or where these execute a program in cooperation with each other.
[0099] This program can be distributed via a network such as the Internet. In addition, this program can be recorded on a computer-readable recording medium such as a hard disk, a flexible disk (FD), a CD-ROM, an MO, or a DVD, and can be executed by being read out from the recording medium by a computer.
[0100] Fig. 22 is a diagram for explaining an example of a hardware configuration. As shown in Fig. 22, the user terminal 300 includes a communication device 300a, an HDD 300b, a memory 300c, a processor 300d, a display device 300e, and an input device 300f. The units shown in Fig. 23 are connected to each other via a bus or the like.
[0101] The communication device 300a is a network interface card or the like, and communicates with other servers. The HDD 300b stores programs and DBs that operate the functions shown in FIG.
[0102] The processor 300d reads out a program that executes the same processes as the respective processing units shown in FIG. 10 etc. from the HDD 300b etc. and loads it in the memory 300c, thereby operating a process that executes the respective functions described in FIG. 10 etc. In other words, this process executes the same functions as the respective processing units possessed by the user terminal 300. Specifically, the processor 300d reads out a program having the same functions as the control unit 302 etc. from the HDD 300b etc. Then, the processor 300d executes a process that executes the same processes as the control unit 302 etc.
[0103] In this way, the user terminal 300 operates as an information processing device that executes a data generation method by reading and executing a program. The user terminal 300 can also realize functions similar to those of the above-mentioned embodiment by reading the program from a recording medium using a medium reading device and executing the read program. Note that the program in this other embodiment is not limited to being executed by the user terminal 300. For example, the present invention can be similarly applied to cases where another computer or server executes a program, or where these execute a program in cooperation with each other.
[0104] This program can be distributed via a network such as the Internet. In addition, this program can be recorded on a computer-readable recording medium such as a hard disk, a flexible disk (FD), a CD-ROM, an MO, or a DVD, and can be executed by being read out from the recording medium by a computer. [Explanation of symbols]
[0105] 100 Cloud Servers 101 Communications Department 102 Storage section 103 Feature Vector DB 104 Cluster Results DB 105 Cluster Number Determination DB 106 Control Standards DB 107 Schedule DB 110 Control section 111 Acquisition Department 112 Generation part 113 Selection Section 114 Distribution Department 115 Processing section 200 Edge Devices 201 Communications Department 202 Storage section 203 Sensor Value DB 204 Edge terminal log DB 210 Control section 211 Acquisition Department 212 Processing section 213 Executive Department 300 User terminals 301 Communications Department 302 Control section 303 Display section 304 Input section
Claims
1. On the computer, acquiring identification information from the terminal, the identification information including the processing capability of the terminal; Acquire a state of a user at a predetermined unit time from the terminal; generating a plurality of user state transition patterns, which are a plurality of patterns of the user state transition, by clustering information indicating the user state transition, which is a time-series transition of the state; Selecting a number of user state transition patterns from the generated user state transition patterns according to the processing capacity of the terminal; transmitting the selected user state transition pattern to the terminal; A selection program that causes a process to be executed.
2. The selecting process includes: selecting a user state transition pattern from among a plurality of user state transition patterns such that the number of the user state transition patterns to be delivered to the terminal increases as the processing capability of the terminal increases; 2. The selection program according to claim 1, further comprising a process for selecting a selection target.
3. The selecting process includes: When the number of the plurality of user state transition patterns exceeds an upper limit number, a number of features is calculated for each of the plurality of user state transition patterns; identifying, from among the plurality of user state transition patterns, user state transition patterns corresponding to the upper limit number of patterns in ascending order of the number of features; Delivering the identified user state transition pattern to the terminal; 3. The selection program according to claim 2, further comprising: a step of executing a process.
4. an acquisition unit that acquires identification information including a processing capacity of the terminal from the terminal; the acquiring unit acquiring a state of the user in a predetermined unit time from the terminal; A generation unit that generates a plurality of user state transition patterns, which are a plurality of patterns of the user state transition obtained by clustering information indicating a user state transition, which is a time-series transition of the state; a selection unit that selects a number of user state transition patterns from the generated user state transition patterns according to a processing capacity of the terminal; a transmission unit that transmits the selected user state transition pattern to the terminal; 13. An information processing device comprising:
5. The computer acquiring identification information from the terminal, the identification information including the processing capability of the terminal; Acquire a state of a user at a predetermined unit time from the terminal; generating a plurality of user state transition patterns, which are a plurality of patterns of the user state transition, by clustering information indicating the user state transition, which is a time-series transition of the state; Selecting a number of user state transition patterns from the generated user state transition patterns according to the processing capacity of the terminal; transmitting the selected user state transition pattern to the terminal; A control method comprising: executing a process.
Citation Information
Patent Citations
Residence predicting apparatus and applied equipment using the same
JP1996061741A
Stay-home probability calculation method, server apparatus, and stay-home probability calculation system
JP2015122055A
Distributed processing system, learning model creating method, data processing method, learning model creating program, and data processing program
JP2017068710A
Air conditioning system and terminal device
JP2018035957A
Equipment selection support device and program
JP2020009290A
