Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7749778B2 - system - Google Patents
[go: Go Back, main page]

JP7749778B2 - system - Google Patents

system

Info

Publication number
JP7749778B2
JP7749778B2 JP2024161824A JP2024161824A JP7749778B2 JP 7749778 B2 JP7749778 B2 JP 7749778B2 JP 2024161824 A JP2024161824 A JP 2024161824A JP 2024161824 A JP2024161824 A JP 2024161824A JP 7749778 B2 JP7749778 B2 JP 7749778B2
Authority
JP
Japan
Prior art keywords
user
electricity
server
information
usage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2024161824A
Other languages
Japanese (ja)
Other versions
JP2025044241A (en
Inventor
孝世 川上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SoftBank Group Corp
Original Assignee
SoftBank Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SoftBank Group Corp filed Critical SoftBank Group Corp
Publication of JP2025044241A publication Critical patent/JP2025044241A/en
Application granted granted Critical
Publication of JP7749778B2 publication Critical patent/JP7749778B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本開示の技術は、システムに関する。 The technology disclosed herein relates to a system.

特許文献1には、少なくとも一つのプロセッサにより遂行される、ペルソナチャットボット制御方法であって、ユーザ発話を受信するステップと、前記ユーザ発話を、チャットボットのキャラクターに関する説明と関連した指示文を含むプロンプトに追加するステップと前記プロンプトをエンコードするステップと、前記エンコードしたプロンプトを言語モデルに入力して、前記ユーザ発話に応答するチャットボット発話を生成するステップ、を含む、方法が開示されている。 Patent document 1 discloses a persona chatbot control method executed by at least one processor, the method including the steps of receiving a user utterance, adding the user utterance to a prompt including an instruction sentence related to a description of the chatbot's character, encoding the prompt, and inputting the encoded prompt into a language model to generate a chatbot utterance in response to the user utterance.

特開2022-180282号公報Japanese Patent Application Laid-Open No. 2022-180282

市場連動型プランに基づく電気料金は、電力取引所の取引価格に応じて変動するため、ユーザーが電気料金を把握し、コストを抑えるための最適な家電の使用時間帯を自己判断することは困難である。 Electricity rates based on market-linked plans fluctuate according to the trading price on the power exchange, making it difficult for users to understand their electricity rates and determine the optimal times to use home appliances to reduce costs.

本発明は、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段を提供する。これにより、ユーザーは自身の家電使用習慣に基づいて最適な使用時間帯と電気料金を把握し、コストを効率的に抑えることが可能となる。 The present invention provides a means for calculating electricity charges based on a market-linked plan, a means for receiving home appliance usage information from a user, a means for calculating optimal usage times based on the received home appliance usage information, and a means for proposing the calculated optimal usage times and electricity charges to the user. This allows users to understand the optimal usage times and electricity charges based on their own home appliance usage habits, enabling them to efficiently reduce costs.

第1実施形態に係るデータ処理システムの構成の一例を示す概念図である。1 is a conceptual diagram illustrating an example of the configuration of a data processing system according to a first embodiment. 第1実施形態に係るデータ処理装置及びスマートデバイスの要部機能の一例を示す概念図である。1 is a conceptual diagram showing an example of main functions of a data processing device and a smart device according to a first embodiment. 第2実施形態に係るデータ処理システムの構成の一例を示す概念図である。FIG. 10 is a conceptual diagram illustrating an example of the configuration of a data processing system according to a second embodiment. 第2実施形態に係るデータ処理装置及びスマート眼鏡の要部機能の一例を示す概念図である。FIG. 10 is a conceptual diagram showing an example of main functions of a data processing device and smart glasses according to a second embodiment. 第3実施形態に係るデータ処理システムの構成の一例を示す概念図である。FIG. 10 is a conceptual diagram illustrating an example of the configuration of a data processing system according to a third embodiment. 第3実施形態に係るデータ処理装置及びヘッドセット型端末の要部機能の一例を示す概念図である。FIG. 11 is a conceptual diagram showing an example of main functions of a data processing device and a headset-type terminal according to a third embodiment. 第4実施形態に係るデータ処理システムの構成の一例を示す概念図である。FIG. 10 is a conceptual diagram showing an example of the configuration of a data processing system according to a fourth embodiment. 第4実施形態に係るデータ処理装置及びロボットの要部機能の一例を示す概念図である。FIG. 10 is a conceptual diagram showing an example of main functions of a data processing device and a robot according to a fourth embodiment. 複数の感情がマッピングされる感情マップを示す。1 shows an emotion map onto which multiple emotions are mapped. 複数の感情がマッピングされる感情マップを示す。1 shows an emotion map onto which multiple emotions are mapped. 形態例1の実施例1におけるデータ処理システムの処理の流れを示すシーケンス図である。FIG. 10 is a sequence diagram showing a flow of processing in the data processing system according to the first embodiment of the first form example. 形態例1の応用例1におけるデータ処理システムの処理の流れを示すシーケンス図である。FIG. 10 is a sequence diagram showing a processing flow of the data processing system in Application Example 1 of Form Example 1. 形態例2の実施例2におけるデータ処理システムの処理の流れを示すシーケンス図である。FIG. 10 is a sequence diagram showing a processing flow of a data processing system in a second embodiment of the second form example. 形態例2の応用例2におけるデータ処理システムの処理の流れを示すシーケンス図である。FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in Application Example 2 of Form Example 2. 形態例3の実施例3におけるデータ処理システムの処理の流れを示すシーケンス図である。FIG. 10 is a sequence diagram showing a processing flow of a data processing system in a third embodiment of the third form example. 形態例3の応用例3におけるデータ処理システムの処理の流れを示すシーケンス図である。FIG. 13 is a sequence diagram showing the flow of processing in the data processing system in Application Example 3 of Form Example 3. 感情エンジンを組み合わせた場合の形態例1の実施例1におけるデータ処理システムの処理の流れを示すシーケンス図である。FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in the first embodiment of the first form example when an emotion engine is combined. 感情エンジンを組み合わせた場合の形態例1の応用例1におけるデータ処理システムの処理の流れを示すシーケンス図である。FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in Application Example 1 of Form Example 1 when an emotion engine is combined. 感情エンジンを組み合わせた場合の形態例2の実施例2におけるデータ処理システムの処理の流れを示すシーケンス図である。FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in the second embodiment of the second form example when an emotion engine is combined. 感情エンジンを組み合わせた場合の形態例2の応用例2におけるデータ処理システムの処理の流れを示すシーケンス図である。FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in Application Example 2 of Form Example 2 when an emotion engine is combined. 感情エンジンを組み合わせた場合の形態例3の実施例3におけるデータ処理システムの処理の流れを示すシーケンス図である。FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in the third embodiment of the third form example when an emotion engine is combined. 感情エンジンを組み合わせた場合の形態例3の応用例3におけるデータ処理システムの処理の流れを示すシーケンス図である。FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in Application Example 3 of Form Example 3 when an emotion engine is combined.

以下、添付図面に従って本開示の技術に係るシステムの実施形態の一例について説明する。 Below, an example of an embodiment of a system relating to the technology disclosed herein will be described with reference to the accompanying drawings.

先ず、以下の説明で使用される文言について説明する。 First, let me explain the terminology used in the following explanation.

以下の実施形態において、符号付きのプロセッサ(以下、単に「プロセッサ」と称する)は、1つの演算装置であってもよいし、複数の演算装置の組み合わせであってもよい。また、プロセッサは、1種類の演算装置であってもよいし、複数種類の演算装置の組み合わせであってもよい。演算装置の一例としては、CPU(Central Processing Unit)、GPU(Graphics Processing Unit)、GPGPU(General-Purpose computing on Graphics Processing Units)、APU(Accelerated Processing Unit)、又はTPU(TENSOR PROCESSING UNIT(登録商標))等が挙げられる。 In the following embodiments, a coded processor (hereinafter simply referred to as a "processor") may be a single arithmetic unit or a combination of multiple arithmetic units. Furthermore, a processor may be a single type of arithmetic unit or a combination of multiple types of arithmetic units. Examples of arithmetic units include a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), a GPGPU (General-Purpose Computing on Graphics Processing Units), an APU (Accelerated Processing Unit), or a TPU (TENSOR PROCESSING UNIT (registered trademark)).

以下の実施形態において、符号付きのRAM(Random Access Memory)は、一時的に情報が格納されるメモリであり、プロセッサによってワークメモリとして用いられる。 In the following embodiments, coded random access memory (RAM) is memory in which information is temporarily stored and is used as work memory by the processor.

以下の実施形態において、符号付きのストレージは、各種プログラム及び各種パラメータ等を記憶する1つ又は複数の不揮発性の記憶装置である。不揮発性の記憶装置の一例としては、フラッシュメモリ(SSD(Solid State Drive))、磁気ディスク(例えば、ハードディスク)、又は磁気テープ等が挙げられる。 In the following embodiments, the coded storage refers to one or more non-volatile storage devices that store various programs, parameters, etc. Examples of non-volatile storage devices include flash memory (SSD (Solid State Drive)), magnetic disks (e.g., hard disks), and magnetic tapes.

以下の実施形態において、符号付きの通信I/F(Interface)は、通信プロセッサ及びアンテナ等を含むインタフェースである。通信I/Fは、複数のコンピュータ間での通信を司る。通信I/Fに対して適用される通信規格の一例としては、5G(5th Generation Mobile Communication System)、Wi-Fi(登録商標)、又はBluetooth(登録商標)等を含む無線通信規格が挙げられる。 In the following embodiments, a communication I/F (Interface) with a symbol is an interface that includes a communication processor, an antenna, etc. The communication I/F controls communication between multiple computers. Examples of communication standards that can be applied to the communication I/F include wireless communication standards such as 5G (5th Generation Mobile Communication System), Wi-Fi (registered trademark), or Bluetooth (registered trademark).

以下の実施形態において、「A及び/又はB」は、「A及びBのうちの少なくとも1つ」と同義である。つまり、「A及び/又はB」は、Aだけであってもよいし、Bだけであってもよいし、A及びBの組み合わせであってもよい、という意味である。また、本明細書において、3つ以上の事柄を「及び/又は」で結び付けて表現する場合も、「A及び/又はB」と同様の考え方が適用される。 In the following embodiments, "A and/or B" is synonymous with "at least one of A and B." In other words, "A and/or B" means that it may be just A, just B, or a combination of A and B. Furthermore, in this specification, the same concept as "A and/or B" also applies when three or more things are expressed connected by "and/or."

[第1実施形態] [First embodiment]

図1には、第1実施形態に係るデータ処理システム10の構成の一例が示されている。 Figure 1 shows an example of the configuration of a data processing system 10 according to the first embodiment.

図1に示すように、データ処理システム10は、データ処理装置12及びスマートデバイス14を備えている。データ処理装置12の一例としては、サーバが挙げられる。 As shown in FIG. 1, the data processing system 10 includes a data processing device 12 and a smart device 14. An example of the data processing device 12 is a server.

データ処理装置12は、コンピュータ22、データベース24、及び通信I/F26を備えている。コンピュータ22は、本開示の技術に係る「コンピュータ」の一例である。コンピュータ22は、プロセッサ28、RAM30、及びストレージ32を備えている。プロセッサ28、RAM30、及びストレージ32は、バス34に接続されている。また、データベース24及び通信I/F26も、バス34に接続されている。通信I/F26は、ネットワーク54に接続されている。ネットワーク54の一例としては、WAN(Wide Area Network)及び/又はLAN(Local Area Network)等が挙げられる。 The data processing device 12 includes a computer 22, a database 24, and a communication I/F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, RAM 30, and storage 32. The processor 28, RAM 30, and storage 32 are connected to a bus 34. The database 24 and communication I/F 26 are also connected to the bus 34. The communication I/F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and/or a LAN (Local Area Network).

スマートデバイス14は、コンピュータ36、受付装置38、出力装置40、カメラ42、及び通信I/F44を備えている。コンピュータ36は、プロセッサ46、RAM48、及びストレージ50を備えている。プロセッサ46、RAM48、及びストレージ50は、バス52に接続されている。また、受付装置38、出力装置40、及びカメラ42も、バス52に接続されている。 The smart device 14 includes a computer 36, a reception device 38, an output device 40, a camera 42, and a communication I/F 44. The computer 36 includes a processor 46, RAM 48, and storage 50. The processor 46, RAM 48, and storage 50 are connected to a bus 52. The reception device 38, output device 40, and camera 42 are also connected to the bus 52.

受付装置38は、タッチパネル38A及びマイクロフォン38B等を備えており、ユーザ入力を受け付ける。タッチパネル38Aは、指示体(例えば、ペン又は指等)の接触を検出することにより、指示体の接触によるユーザ入力を受け付ける。マイクロフォン38Bは、ユーザの音声を検出することにより、音声によるユーザ入力を受け付ける。制御部46Aは、タッチパネル38A及びマイクロフォン38Bによって受け付けたユーザ入力を示すデータをデータ処理装置12に送信する。データ処理装置12では、特定処理部290が、ユーザ入力を示すデータを取得する。 The reception device 38 is equipped with a touch panel 38A, a microphone 38B, etc., and receives user input. The touch panel 38A detects contact with an indicator (e.g., a pen or finger) to receive user input via the indicator. The microphone 38B detects the user's voice to receive user input via voice. The control unit 46A transmits data indicating the user input received by the touch panel 38A and the microphone 38B to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the data indicating the user input.

出力装置40は、ディスプレイ40A及びスピーカ40B等を備えており、データをユーザ20が知覚可能な表現形(例えば、音声及び/又はテキスト)で出力することでデータをユーザ20に対して提示する。ディスプレイ40Aは、プロセッサ46からの指示に従ってテキスト及び画像等の可視情報を表示する。スピーカ40Bは、プロセッサ46からの指示に従って音声を出力する。カメラ42は、レンズ、絞り、及びシャッタ等の光学系と、CMOS(Complementary Metal-Oxide-Semiconductor)イメージセンサ又はCCD(Charge Coupled Device)イメージセンサ等の撮像素子とが搭載された小型デジタルカメラである。 The output device 40 is equipped with a display 40A and a speaker 40B, and presents data to the user 20 by outputting the data in a form perceptible by the user 20 (e.g., audio and/or text). The display 40A displays visible information such as text and images in accordance with instructions from the processor 46. The speaker 40B outputs audio in accordance with instructions from the processor 46. The camera 42 is a compact digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor.

通信I/F44は、ネットワーク54に接続されている。通信I/F44及び26は、ネットワーク54を介してプロセッサ46とプロセッサ28との間の各種情報の授受を司る。 The communication I/F 44 is connected to the network 54. The communication I/Fs 44 and 26 are responsible for the exchange of various information between the processor 46 and the processor 28 via the network 54.

図2には、データ処理装置12及びスマートデバイス14の要部機能の一例が示されている。 Figure 2 shows an example of the main functions of the data processing device 12 and smart device 14.

図2に示すように、データ処理装置12では、プロセッサ28によって特定処理が行われる。ストレージ32には、特定処理プログラム56が格納されている。特定処理プログラム56は、本開示の技術に係る「プログラム」の一例である。プロセッサ28は、ストレージ32から特定処理プログラム56を読み出し、読み出した特定処理プログラム56をRAM30上で実行する。特定処理は、プロセッサ28がRAM30上で実行する特定処理プログラム56に従って特定処理部290として動作することによって実現される。 As shown in FIG. 2, in the data processing device 12, specific processing is performed by the processor 28. A specific processing program 56 is stored in the storage 32. The specific processing program 56 is an example of a "program" according to the technology of the present disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.

ストレージ32には、データ生成モデル58及び感情特定モデル59が格納されている。データ生成モデル58及び感情特定モデル59は、特定処理部290によって用いられる。 Storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.

スマートデバイス14では、プロセッサ46によって受付出力処理が行われる。ストレージ50には、受付出力プログラム60が格納されている。受付出力プログラム60は、データ処理システム10によって特定処理プログラム56と併用される。プロセッサ46は、ストレージ50から受付出力プログラム60を読み出し、読み出した受付出力プログラム60をRAM48上で実行する。受付出力処理は、プロセッサ46がRAM48上で実行する受付出力プログラム60に従って、制御部46Aとして動作することによって実現される。 In the smart device 14, the processor 46 performs the reception output processing. The storage 50 stores a reception output program 60. The reception output program 60 is used in conjunction with the specific processing program 56 by the data processing system 10. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output processing is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.

次に、データ処理装置12の特定処理部290による特定処理について説明する。 Next, we will explain the identification process performed by the identification processing unit 290 of the data processing device 12.

「形態例1」 "Example 1"

本発明の形態は、市場連動型プランに基づく電気料金を計算するシステムである。このシステムは、電力取引所の取引価格情報を取得し、それに基づいて電気料金を計算する。具体的には、取引価格情報を基に電気料金の単価を算出し、それを用いて電気料金を計算る。 One aspect of the present invention is a system for calculating electricity rates based on a market-linked plan. This system acquires trading price information from the power exchange and calculates electricity rates based on that information. Specifically, the system calculates the unit price of electricity based on the trading price information and uses that to calculate electricity rates.

「形態例2」 "Example 2"

また、本発明の形態は、ユーザーからの家電使用情報を受け取るシステムである。このシステムは、ユーザーからの入力情報を受け取り、それを基に家電の使用時間帯を計算する。具体的には、ユーザーから使用したい家電の種類と使用時間を入力してもらい、それを基に最適な使用時間帯を計算する。 Another aspect of the present invention is a system that receives home appliance usage information from a user. This system receives input information from the user and calculates the usage time periods for the home appliances based on that information. Specifically, the system has the user input the type of home appliance they wish to use and the usage time, and calculates the optimal usage time period based on that information.

「形態例3」 "Example 3"

さらに、本発明の形態は、計算した最適な使用時間帯と電気料金をユーザーに提案するシステムである。このシステムは、計算した最適な使用時間帯と電気料金をユーザーに提示し、ユーザーが電気料金を抑えるための参考情報とする。具体的には、ユーザーが使用したい家電の種類と使用時間を入力した場合、例えば「エアコンを午後3時から6時まで使用する」とした場合、その時間帯の電力取引所の取引価格に基づいて計算した電気料金を提示する。 Another aspect of the present invention is a system that proposes the calculated optimal usage time periods and electricity rates to users. This system presents the calculated optimal usage time periods and electricity rates to users, and uses them as reference information for reducing electricity bills. Specifically, when a user inputs the type of home appliance they wish to use and the usage time, for example, "I will use the air conditioner from 3:00 PM to 6:00 PM," the system presents them with an electricity rate calculated based on the trading price at the power exchange for that time period.

以下に、各形態例の処理の流れについて説明する。 The processing flow for each example form is explained below.

「形態例1」 "Example 1"

ステップ1:電力取引所から取引価格情報を取得する。 Step 1: Obtain trading price information from the power exchange.

ステップ2:取得した取引価格情報を基に電気料金の単価を算出する。 Step 2: Calculate the unit price of electricity based on the acquired transaction price information.

ステップ3:算出した電気料金の単価を用いて電気料金を計算する。 Step 3: Calculate the electricity bill using the calculated unit price of electricity.

「形態例2」 "Example 2"

ステップ1:ユーザーから使用したい家電の種類と使用時間の入力を受け取る。 Step 1: Receive input from the user about the type of appliance they wish to use and the usage time.

ステップ2:受け取った入力情報を基に最適な使用時間帯を計算する。 Step 2: Calculate the optimal usage time based on the received input information.

「形態例3」 "Example 3"

ステップ1:ユーザーが使用したい家電の種類と使用時間を入力する。 Step 1: The user enters the type of appliance they want to use and the usage time.

ステップ2:その時間帯の電力取引所の取引価格に基づいて電気料金を計算する。 Step 2: Calculate the electricity bill based on the trading price on the power exchange for that time period.

ステップ3:計算した電気料金をユーザーに提示する。 Step 3: Present the calculated electricity bill to the user.

(実施例1) (Example 1)

次に、形態例1の実施例1について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマートデバイス14を「端末」と称する。 Next, we will explain Example 1 of Form Example 1. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart device 14 will be referred to as the "terminal."

従来の電気料金計算システムでは、電力取引所の取引価格情報をリアルタイムで反映させることが難しく、ユーザに対して最適な電気料金を提供することができなかった。また、ユーザの家電使用情報に基づいて最適な使用時間帯を提案する機能が不足しており、ユーザが効率的に電力を使用することが困難であった Conventional electricity rate calculation systems struggled to reflect real-time trading price information from the power exchange, making it impossible to provide users with optimal electricity rates. Furthermore, they lacked functionality for suggesting optimal usage times based on users' appliance usage information, making it difficult for users to use electricity efficiently.

実施例1におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 1 is realized by the following means.

この発明では、サーバは、電力取引所から取引価格情報を取得する手段と、取得した取引価格情報をデータベースに保存する手段と、保存された取引価格情報を基に電気料金の単価を算出する手段と、算出した電気料金の単価を用いてユーザの電気料金を計算する手段と、ユーザからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザに提案する手段を含む。これにより、リアルタイムで取引価格情報を反映させた電気料金の計算が可能となり、さらにユーザに対して最適な使用時間帯を提案することで、効率的な電力使用が可能となる。 In this invention, the server includes means for acquiring trading price information from the power exchange, means for saving the acquired trading price information in a database, means for calculating the unit price of electricity based on the saved trading price information, means for calculating the user's electricity bill using the calculated unit price of electricity, means for receiving home appliance usage information from the user, means for calculating the optimal usage time period based on the received home appliance usage information, and means for proposing the calculated optimal usage time period and electricity bill to the user. This makes it possible to calculate electricity bills that reflect trading price information in real time, and furthermore, by proposing the optimal usage time period to the user, efficient power use is possible.

「電力取引所」とは、電力の売買が行われる市場であり、取引価格情報を提供する機関である。 An "electricity exchange" is a market where electricity is bought and sold, and an institution that provides trading price information.

「取引価格情報」とは、電力取引所において取引される電力の価格に関する情報である。 "Trading price information" refers to information regarding the price of electricity traded at the power exchange.

「データベース」とは、データを効率的に保存、管理、検索するためのシステムである。 A "database" is a system for efficiently storing, managing, and searching data.

「電気料金の単価」とは、一定量の電力に対して設定される料金の単位価格である。 "Electricity unit price" is the unit price set for a certain amount of electricity.

「ユーザ」とは、電力を消費する個人または法人であり、このシステムを利用する主体である。 "User" refers to an individual or corporation that consumes electricity and is the entity that uses this system.

「家電使用情報」とは、ユーザが使用する家電の種類や使用時間に関する情報である。 "Home appliance usage information" refers to information about the types of home appliances used by users and the duration of use.

「最適な使用時間帯」とは、電力消費を効率的に行うために推奨される時間帯である。 "Optimal usage times" are the recommended times for efficient power consumption.

「提案する手段」とは、計算した最適な使用時間帯や電気料金をユーザに通知するための方法や装置である。 "Proposal means" refers to a method or device for notifying the user of the calculated optimal usage time period and electricity charges.

発明を実施するための形態 Form for implementing the invention

この発明は、市場連動型プランに基づく電気料金を計算するシステムであり、電力取引所の取引価格情報を取得し、それに基づいて電気料金を計算するものである。以下に、このシステムの具体的な実施形態を説明する。 This invention is a system for calculating electricity rates based on a market-linked plan, which acquires trading price information from the power exchange and calculates electricity rates based on that information. A specific embodiment of this system is described below.

使用するハードウェアおよびソフトウェア Hardware and software used

1. サーバ 1. Server

ハードウェア:一般的なサーバ機器 Hardware: General server equipment

ソフトウェア:APIクライアント、データベース管理システム(例:MySQL(登録商標)、PostgreSQL)、スクリプト言語(例:Python、JavaScript(登録商標)) Software: API client, database management system (e.g., MySQL (registered trademark), PostgreSQL), scripting language (e.g., Python, JavaScript (registered trademark))

2. 端末 2. Device

ハードウェア:ユーザが使用するコンピュータやスマートフォン Hardware: The computer or smartphone used by the user

ソフトウェア:ウェブブラウザ、モバイルアプリケーション Software: Web browser, mobile application

3. ユーザ 3. User

ユーザは、電力を消費する個人または法人であり、このシステムを利用する主体である。 Users are individuals or corporations that consume electricity and are the entities that use this system.

プログラムの処理の説明 Program processing explanation

1. 取引価格情報の取得 1. Obtaining trading price information

サーバは、電力取引所のAPIにリクエストを送信し、最新の取引価格情報を取得する。 The server sends a request to the power exchange's API to obtain the latest trading price information.

具体的な動作:サーバは、HTTP GETリクエストを電力取引所のAPIエンドポイントに送信し、JSON形式の取引価格情報を受信する。 Specific operation: The server sends an HTTP GET request to the power exchange's API endpoint and receives trading price information in JSON format.

2. 取引価格情報の保存 2. Saving transaction price information

サーバは、取得した取引価格情報をデータベースに保存する。 The server stores the acquired trading price information in a database.

具体的な動作:サーバは、受信したJSONデータを解析し、MySQLデータベースの対応するテーブルにインサートクエリを実行する。 Specific operation: The server parses the received JSON data and executes an insert query into the corresponding table in the MySQL database.

3. 電気料金単価の算出 3. Calculating electricity unit prices

サーバは、保存された取引価格情報を基に電気料金の単価を算出する。 The server calculates the unit price of electricity based on the stored transaction price information.

具体的な動作:サーバは、Pythonスクリプトを実行し、データベースから取引価格情報を取得して、特定のアルゴリズムに基づいて電気料金の単価を計算する。 Specific operation: The server runs a Python script, retrieves trading price information from the database, and calculates the unit price of electricity based on a specific algorithm.

4. ユーザの電気料金の計算 4. Calculating the user's electricity bill

サーバは、算出した電気料金の単価を用いて、ユーザの電気料金を計算する。 The server calculates the user's electricity bill using the calculated electricity unit price.

具体的な動作:サーバは、ユーザの消費電力量データをデータベースから取得し、算出した単価と掛け合わせて電気料金を計算する。 Specific operation: The server retrieves the user's power consumption data from the database and multiplies it by the calculated unit price to calculate the electricity bill.

5. 家電使用情報の受け取り 5. Receiving appliance usage information

サーバは、ユーザからの家電使用情報を受け取る。 The server receives home appliance usage information from the user.

具体的な動作:ユーザは、ウェブブラウザやモバイルアプリケーションを通じて、使用したい家電の種類や使用時間を入力し、サーバに送信する。 Specific operation: The user enters the type of home appliance they wish to use and the usage time via a web browser or mobile application, and sends this information to the server.

6. 最適な使用時間帯の計算 6. Calculating the optimal usage time

サーバは、受け取った家電使用情報に基づき最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the received appliance usage information.

具体的な動作:サーバは、電気料金の単価と家電使用情報を基に、最適な使用時間帯を計算するアルゴリズムを実行する。 Specific operation: The server runs an algorithm to calculate the optimal usage time based on the electricity rate and appliance usage information.

7. 提案の通知 7. Proposal Notification

サーバは、計算した最適な使用時間帯と電気料金をユーザに提案する。 The server then proposes the optimal usage time and electricity rates to the user.

具体的な動作:サーバは、計算結果をユーザの端末に通知し、ユーザはウェブブラウザやモバイルアプリケーションを通じて提案を確認する。 Specific operation: The server notifies the user's device of the calculation results, and the user confirms the proposal through a web browser or mobile application.

具体例とプロンプト文 Examples and prompts

1. サーバは、電力取引所のAPIから「2023-10-01」の取引価格情報を取得する。 1. The server obtains trading price information for "2023-10-01" from the power exchange API.

2. サーバは、取得した取引価格情報をMySQLデータベースに保存する。 2. The server stores the acquired trading price information in a MySQL database.

3. サーバは、Pythonスクリプトを用いて、取引価格情報から「2023-10-01」の電気料金の単価を算出する。 3. The server uses a Python script to calculate the electricity rate for "2023-10-01" from the trading price information.

4. サーバは、ユーザの消費電力量データ(例:100kWh)と算出した単価(例:10円/kWh)を用いて、ユーザの電気料金(例:1000円)を計算する。 4. The server calculates the user's electricity bill (e.g., 1,000 yen) using the user's power consumption data (e.g., 100 kWh) and the calculated unit price (e.g., 10 yen/kWh).

プロンプト文の例 Example prompt

「電力取引所のAPIから最新の取引価格情報を取得し、それをMySQLデータベースに保存してください。その後、Pythonスクリプトを用いて電気料金の単価を算出し、ユーザの消費電力量データを基に電気料金を計算してください。」 "Get the latest trading price information from the power exchange API and save it in a MySQL database. Then, use a Python script to calculate the unit price of electricity and calculate the electricity bill based on the user's power consumption data."

実施例1における特定処理の流れについて図11を用いて説明する。 The flow of the identification process in Example 1 will be explained using Figure 11.

ステップ1: Step 1:

取引価格情報の取得 Get trading price information

サーバは、電力取引所のAPIにリクエストを送信し、最新の取引価格情報を取得する。 The server sends a request to the power exchange's API to obtain the latest trading price information.

入力:電力取引所のAPIエンドポイントURL Input: Power exchange API endpoint URL

出力:JSON形式の取引価格情報 Output: Transaction price information in JSON format

具体的な動作:サーバは、HTTP GETリクエストを電力取引所のAPIエンドポイントに送信し、レスポンスとしてJSON形式の取引価格情報を受信する。例えば、requestsライブラリを使用して、https://api.electricity-market.com/pricesにリクエストを送信する。 Specific operation: The server sends an HTTP GET request to the power exchange's API endpoint and receives JSON-formatted trading price information in response. For example, use the requests library to send a request to https://api.electricity-market.com/prices.

ステップ2: Step 2:

取引価格情報の保存 Storing transaction price information

サーバは、取得した取引価格情報をデータベースに保存する。 The server stores the acquired trading price information in a database.

入力:JSON形式の取引価格情報 Input: Transaction price information in JSON format

出力:データベースに保存された取引価格情報 Output: Transaction price information stored in the database

具体的な動作:サーバは、受信したJSONデータを解析し、必要なフィールド(例:日時、価格)を抽出する。次に、pymysqlライブラリを使用して、MySQLデータベースに接続し、INSERT INTO prices (datetime, price) VALUES ('2023-10-01 00:00:00', 10.5)のようなクエリを実行する。 Specific behavior: The server parses the received JSON data and extracts the necessary fields (e.g., datetime, price). Then, using the pymysql library, it connects to a MySQL database and executes a query such as INSERT INTO prices (datetime, price) VALUES ('2023-10-01 00:00:00', 10.5).

ステップ3: Step 3:

電気料金単価の算出 Calculating electricity unit prices

サーバは、保存された取引価格情報を基に電気料金の単価を算出する。 The server calculates the unit price of electricity based on the stored transaction price information.

入力:データベースに保存された取引価格情報 Input: Transaction price information stored in the database

出力:算出された電気料金の単価 Output: Calculated electricity unit price

具体的な動作:サーバは、Pythonスクリプトを実行し、データベースから取引価格情報を取得する。例えば、pymysqlライブラリを使用して、SELECT price FROM prices WHERE datetime = '2023-10-01 00:00:00'のようなクエリを実行し、取得した価格情報を基に特定のアルゴリズム(例:平均値、加重平均)で電気料金の単価を計算する。 Specific operation: The server executes a Python script to obtain trading price information from the database. For example, using the pymysql library, it executes a query such as SELECT price FROM prices WHERE datetime = '2023-10-01 00:00:00', and calculates the electricity price using a specific algorithm (e.g., average, weighted average) based on the obtained price information.

ステップ4: Step 4:

ユーザの電気料金の計算 Calculating your electricity bill

サーバは、算出した電気料金の単価を用いて、ユーザの電気料金を計算する。 The server calculates the user's electricity bill using the calculated electricity unit price.

入力:ユーザの消費電力量データ、算出された電気料金の単価 Input: User power consumption data, calculated electricity rate

出力:計算されたユーザの電気料金 Output: Calculated user electricity bill

具体的な動作:サーバは、ユーザの消費電力量データをデータベースから取得する。例えば、pymysqlライブラリを使用して、SELECT consumption FROM user_data WHERE user_id = 1のようなクエリを実行し、取得した消費電力量データ(例:100kWh)と算出した単価(例:10円/kWh)を掛け合わせて、ユーザの電気料金(例:1000円)を計算する。 Specific operation: The server retrieves the user's power consumption data from the database. For example, using the pymysql library, it executes a query such as SELECT consumption FROM user_data WHERE user_id = 1, multiplies the retrieved power consumption data (e.g., 100kWh) by the calculated unit price (e.g., 10 yen/kWh), and calculates the user's electricity bill (e.g., 1,000 yen).

ステップ5: Step 5:

家電使用情報の受け取り Receive appliance usage information

サーバは、ユーザからの家電使用情報を受け取る。 The server receives home appliance usage information from the user.

入力:ユーザが入力した家電使用情報(家電の種類、使用時間) Input: Appliance usage information entered by the user (type of appliance, usage time)

出力:サーバに保存された家電使用情報 Output: Appliance usage information stored on the server

具体的な動作:ユーザは、ウェブブラウザやモバイルアプリケーションを通じて、使用したい家電の種類や使用時間を入力し、サーバに送信する。サーバは、受信した情報をデータベースに保存する。 Specific operation: The user enters the type of home appliance they want to use and the usage time via a web browser or mobile application, and sends this information to the server. The server then stores the received information in a database.

ステップ6: Step 6:

最適な使用時間帯の計算 Calculating the best time to use

サーバは、受け取った家電使用情報に基づき最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the received appliance usage information.

入力:家電使用情報、電気料金の単価 Input: Appliance usage information, electricity unit price

出力:最適な使用時間帯 Output: Optimal usage time

具体的な動作:サーバは、電気料金の単価と家電使用情報を基に、最適な使用時間帯を計算するアルゴリズムを実行する。例えば、ピーク時間帯を避けるように計算する。 Specific operation: The server runs an algorithm to calculate the optimal usage time based on the electricity rate and appliance usage information. For example, it calculates the optimal usage time to avoid peak hours.

ステップ7: Step 7:

提案の通知 Proposal Notification

サーバは、計算した最適な使用時間帯と電気料金をユーザに提案する。 The server then proposes the optimal usage time and electricity rates to the user.

入力:最適な使用時間帯、計算された電気料金 Input: Optimal usage time, calculated electricity rate

出力:ユーザへの通知 Output: User notification

具体的な動作:サーバは、計算結果をユーザの端末に通知し、ユーザはウェブブラウザやモバイルアプリケーションを通じて提案を確認する。例えば、プッシュ通知やメールを送信する。 Specific operation: The server notifies the user's device of the calculation results, and the user confirms the proposal through a web browser or mobile application. For example, a push notification or email is sent.

(応用例1) (Application Example 1)

次に、形態例1の応用例1について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマートデバイス14を「端末」と称する。 Next, we will explain Application Example 1 of Form Example 1. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart device 14 will be referred to as the "terminal."

従来の市場連動型プランに基づく電気料金計算システムは、ユーザーの家電使用情報に基づいて最適な使用時間帯を提案するだけであり、リアルタイムでの電力消費の最適化が行われていなかった。そのため、電力取引所の取引価格情報をリアルタイムで取得し、電力消費を最適化することで、電力コストをさらに削減することが求められている Conventional electricity billing systems based on market-linked plans only suggest optimal usage times based on the user's appliance usage information, but do not optimize power consumption in real time. Therefore, there is a need to further reduce electricity costs by obtaining real-time trading price information from the power exchange and optimizing power consumption.

応用例1におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、電力取引所の取引価格情報をリアルタイムで取得する手段と、取得した価格情報に基づいて電力消費を最適化する手段と、高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる手段と、を含む。これにより、リアルタイムでの電力消費の最適化が可能となる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from a user, means for calculating optimal usage time periods based on the received home appliance usage information, means for proposing the calculated optimal usage time periods and electricity charges to the user, means for acquiring trading price information from the power exchange in real time, means for optimizing electricity consumption based on the acquired price information, and means for reducing electricity consumption during high-price time periods and increasing electricity consumption during low-price time periods. This enables optimization of electricity consumption in real time.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を算出するための方法や装置である。 "Means for calculating electricity charges" refers to a method or device for calculating electricity charges based on a market-linked plan.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用する家電の種類や使用時間などの情報を取得するための方法や装置である。 "Means for receiving home appliance usage information from users" refers to methods or devices for obtaining information such as the types of home appliances used by users and the duration of use.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報に基づいて、電力消費を最適化するための最適な使用時間帯を算出する方法や装置である。 "Means for calculating optimal usage time periods" refers to a method or device that calculates optimal usage time periods for optimizing power consumption based on received home appliance usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知するための方法や装置である。 "Means for making suggestions to users" refers to methods or devices for notifying users of the calculated optimal usage time periods and electricity charges.

「電力取引所の取引価格情報をリアルタイムで取得する手段」とは、電力取引所から取引価格情報をリアルタイムで取得するための方法や装置である。 "Means for obtaining trading price information from an electricity exchange in real time" refers to a method or device for obtaining trading price information from an electricity exchange in real time.

「電力消費を最適化する手段」とは、取得した取引価格情報に基づいて、電力消費を効率的に管理・調整するための方法や装置である。 "Means for optimizing electricity consumption" refers to methods or devices for efficiently managing and adjusting electricity consumption based on acquired trading price information.

「高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる手段」とは、電力取引価格が高い時間帯には電力消費を減少させ、取引価格が低い時間帯には電力消費を増加させるための方法や装置である。 "Means for reducing electricity consumption during high-price time periods and increasing electricity consumption during low-price time periods" refers to a method or device for reducing electricity consumption during times when the electricity trading price is high and increasing electricity consumption during times when the trading price is low.

この発明を実施するためには、以下のシステム構成とプログラムが必要である。 To implement this invention, the following system configuration and program are required.

システム構成 System Configuration

1. サーバ:市場連動型プランに基づく電気料金を計算し、電力取引所の取引価格情報をリアルタイムで取得する。 1. Server: Calculates electricity rates based on market-linked plans and obtains trading price information from the power exchange in real time.

2. 端末:ユーザーからの家電使用情報を受け取り、最適な使用時間帯を計算し、ユーザーに提案する。 2. Device: Receives information about home appliance usage from the user, calculates the optimal usage time, and makes suggestions to the user.

3. ネットワーク:サーバと端末間でデータを送受信するための通信手段。 3. Network: A communication method for sending and receiving data between the server and the terminal.

プログラムの処理説明 Program processing explanation

ハードウェア Hardware

サーバ:高性能なプロセッサと大容量のメモリを持つコンピュータ。 Server: A computer with a high-performance processor and large memory capacity.

端末:スマートフォンやタブレットなどのユーザーインターフェースを持つデバイス。 Device: A device with a user interface, such as a smartphone or tablet.

ネットワーク:インターネット接続。 Network: Internet connection.

ソフトウェア Software

Python:プログラムの主要な実装言語。 Python: The primary implementation language for the program.

Requestsライブラリ:APIから電力取引所の取引価格情報を取得するためのライブラリ。 Requests library: A library for obtaining electricity exchange trading price information from the API.

JSONデータ処理:取得したデータを解析するための形式。 JSON data processing: A format for parsing retrieved data.

データ加工・演算 Data processing and calculations

1. サーバは、電力取引所の取引価格情報をリアルタイムで取得する。これには、APIを利用してデータを取得し、JSON形式で保存する。 1. The server obtains trading price information from the power exchange in real time. To do this, it uses an API to obtain the data and saves it in JSON format.

2. サーバは、市場連動型プランに基づいて電気料金を計算する。取得した取引価格情報を基に、電気料金の単価を算出し、ユーザーの電力消費データと組み合わせて総電気料金を計算する。 2. The server calculates the electricity bill based on the market-linked plan. Based on the acquired trading price information, it calculates the unit price of the electricity bill and combines this with the user's power consumption data to calculate the total electricity bill.

3. 端末は、ユーザーからの家電使用情報を受け取る。これには、使用したい家電の種類と使用時間が含まれる。 3. The device receives appliance usage information from the user, including the type of appliance they want to use and the duration of their use.

4. サーバは、受け取った家電使用情報に基づき、最適な使用時間帯を計算する。これには、電力取引価格が低い時間帯を選定し、その時間帯に家電を使用するように提案する。 4. The server calculates the optimal usage time based on the received appliance usage information. To do this, it selects a time period when the electricity trading price is low and suggests using the appliance during that time period.

5. 端末は、計算した最適な使用時間帯と電気料金をユーザーに提案する。これには、通知機能を利用してユーザーに情報を提供する。 5. The device will then suggest the optimal usage time and electricity rates to the user. This will be done using the notification function to provide information to the user.

6. サーバは、取得した価格情報に基づいて電力消費を最適化する。高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる。 6. The server optimizes power consumption based on the acquired price information, reducing power consumption during high-price periods and increasing power consumption during low-price periods.

具体例 Specific examples

例えば、工場の生産ラインでこのシステムを利用する場合、電力取引所の価格が高い時間帯には機械の稼働を抑え、価格が低い時間帯に稼働を増やすことで電力コストを削減することができる。 For example, if this system is used on a factory production line, electricity costs can be reduced by reducing machine operation during times when prices on the electricity exchange are high and increasing operation during times when prices are low.

プロンプト文の例 Example prompt

「電力取引所の取引価格情報をリアルタイムで取得し、工場内の電力消費を最適化するPythonプログラムを作成してください。高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる機能を持たせてください。」 "Create a Python program that obtains real-time trading price information from the power exchange and optimizes power consumption within the factory. It should have the ability to reduce power consumption during high-price periods and increase power consumption during low-price periods."

応用例1における特定処理の流れについて図12を用いて説明する。 The flow of the identification process in Application Example 1 will be explained using Figure 12.

ステップ1: Step 1:

サーバは、電力取引所の取引価格情報をリアルタイムで取得する。具体的には、APIを利用して電力取引所から取引価格情報を取得し、JSON形式で保存する。入力はAPIエンドポイントであり、出力は取得した取引価格情報である。 The server obtains trading price information from the power exchange in real time. Specifically, it uses an API to obtain trading price information from the power exchange and saves it in JSON format. The input is the API endpoint, and the output is the obtained trading price information.

ステップ2: Step 2:

サーバは、市場連動型プランに基づいて電気料金を計算する。取得した取引価格情報を基に、電気料金の単価を算出し、ユーザーの電力消費データと組み合わせて総電気料金を計算する。入力は取引価格情報とユーザーの電力消費データであり、出力は総電気料金である。 The server calculates electricity charges based on a market-linked plan. Based on the acquired trading price information, it calculates the unit price of electricity and combines it with the user's electricity consumption data to calculate the total electricity charge. The input is the trading price information and the user's electricity consumption data, and the output is the total electricity charge.

ステップ3: Step 3:

端末は、ユーザーからの家電使用情報を受け取る。ユーザーが使用したい家電の種類と使用時間を入力し、端末がそれを受け取る。入力はユーザーの家電使用情報であり、出力は受け取った家電使用情報である。 The terminal receives home appliance usage information from the user. The user inputs the type of home appliance they want to use and the usage time, and the terminal receives this. The input is the user's home appliance usage information, and the output is the received home appliance usage information.

ステップ4: Step 4:

サーバは、受け取った家電使用情報に基づき、最適な使用時間帯を計算する。電力取引価格が低い時間帯を選定し、その時間帯に家電を使用するように提案する。入力は家電使用情報と取引価格情報であり、出力は最適な使用時間帯である。 The server calculates the optimal usage time period based on the received appliance usage information. It selects a time period when the electricity trading price is low and suggests using the appliance during that time period. The input is appliance usage information and trading price information, and the output is the optimal usage time period.

ステップ5: Step 5:

端末は、計算した最適な使用時間帯と電気料金をユーザーに提案する。通知機能を利用してユーザーに情報を提供する。入力は最適な使用時間帯と電気料金であり、出力はユーザーへの通知である。 The device then proposes the calculated optimal usage time and electricity rate to the user. It uses the notification function to provide information to the user. The input is the optimal usage time and electricity rate, and the output is a notification to the user.

ステップ6: Step 6:

サーバは、取得した価格情報に基づいて電力消費を最適化する。高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる。入力は取引価格情報であり、出力は最適化された電力消費パターンである。 The server optimizes power consumption based on the acquired price information, reducing power consumption during high-price periods and increasing power consumption during low-price periods. The input is trading price information, and the output is the optimized power consumption pattern.

(実施例2) (Example 2)

次に、形態例2の実施例2について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマートデバイス14を「端末」と称する。 Next, we will explain Example 2 of Form Example 2. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart device 14 will be referred to as the "terminal."

従来の家電使用情報を基にした電気料金の最適化システムでは、ユーザーが入力した情報を効率的に処理し、最適な使用時間帯を計算することが難しかった。また、計算結果をユーザーに迅速に提供する手段が不足していたため、ユーザーの利便性が低かった。さらに、市場連動型プランに基づく電気料金の計算と最適な使用時間帯の提案を統合的に行うシステムが求められていた Existing electricity rate optimization systems based on home appliance usage information struggled to efficiently process user-entered information and calculate optimal usage times. Furthermore, there was a lack of a way to quickly provide users with the results, resulting in poor user convenience. Furthermore, there was a need for a system that could comprehensively calculate electricity rates based on market-linked plans and suggest optimal usage times.

実施例2におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 2 is realized by the following means.

この発明では、サーバは、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報をデータベースに保存する手段と、保存されたデータを基に最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、計算結果をユーザーに表示する手段と、市場連動型プランに基づく電気料金を計算する手段を含む。これにより、ユーザーが入力した家電使用情報を効率的に処理し、最適な使用時間帯と電気料金を迅速に提供することが可能となる。 In this invention, the server includes means for receiving home appliance usage information from a user, means for storing the received home appliance usage information in a database, means for calculating the optimal usage time period based on the stored data, means for proposing the calculated optimal usage time period and electricity rate to the user, means for displaying the calculation results to the user, and means for calculating the electricity rate based on a market-linked plan. This makes it possible to efficiently process the home appliance usage information entered by the user and quickly provide the optimal usage time period and electricity rate.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を計算するためのアルゴリズムやソフトウェアを指す。 "Means for calculating electricity charges" refers to algorithms or software for calculating electricity charges based on market-linked plans.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが入力した家電の種類や使用時間などの情報を受け取るためのインターフェースやデバイスを指す。 "Means for receiving home appliance usage information from users" refers to interfaces or devices for receiving information such as the type of home appliance and usage time entered by the user.

「データベースに保存する手段」とは、受け取った家電使用情報をリレーショナルデータベース管理システム(RDBMS)などに保存するためのソフトウェアやハードウェアを指す。 "Means for storing in a database" refers to software or hardware for storing received home appliance usage information in a relational database management system (RDBMS) or similar.

「最適な使用時間帯を計算する手段」とは、保存されたデータを基に、過去の使用データや電力消費パターンを分析して最適な使用時間帯を計算するためのアルゴリズムやソフトウェアを指す。 "Means for calculating optimal usage times" refers to algorithms or software that use stored data to analyze past usage data and power consumption patterns to calculate optimal usage times.

「計算結果をユーザーに提案する手段」とは、計算された最適な使用時間帯と電気料金をユーザーに通知するためのインターフェースやデバイスを指す。 "Means for proposing calculation results to users" refers to interfaces or devices that notify users of the calculated optimal usage times and electricity charges.

「計算結果をユーザーに表示する手段」とは、計算結果をユーザーの端末に表示するためのソフトウェアやハードウェアを指す。 "Means for displaying calculation results to the user" refers to software or hardware for displaying calculation results on the user's device.

発明を実施するための形態 Form for implementing the invention

この発明は、ユーザーからの家電使用情報を受け取り、それを基に最適な使用時間帯と電気料金を計算し、ユーザーに提案するシステムである。以下に、このシステムの具体的な実施形態を説明する。 This invention is a system that receives information about home appliance usage from users, calculates optimal usage times and electricity rates based on that information, and makes recommendations to the user. A specific embodiment of this system is described below.

システムの構成 System Configuration

このシステムは、サーバ、端末、ユーザの三つの主要な要素から構成される。 This system consists of three main elements: a server, a terminal, and a user.

1. サーバ 1. Server

サーバは、ユーザーからの家電使用情報を受け取る手段を提供する。この手段は、ウェブブラウザやモバイルアプリケーションを通じてアクセスできるインターフェースである。 The server provides a means for receiving appliance usage information from users. This means is an interface that can be accessed through a web browser or mobile application.

サーバは、受け取った家電使用情報をデータベースに保存する。このデータベースは、MySQLやPostgreSQLなどのリレーショナルデータベース管理システム(RDBMS)を使用する。 The server stores the received appliance usage information in a database. This database uses a relational database management system (RDBMS) such as MySQL or PostgreSQL.

サーバは、保存されたデータを基に最適な使用時間帯を計算する。この計算には、PythonやRなどのプログラミング言語を使用し、データ分析ライブラリ(例:Pandas、NumPy)を活用する。 The server calculates the optimal usage time based on the stored data. This calculation is done using programming languages such as Python and R, and utilizing data analysis libraries (e.g., Pandas, NumPy).

サーバは、計算した最適な使用時間帯と電気料金をユーザーに提案する手段を持つ。この提案は、リアルタイムで行われる。 The server has a means of proposing the calculated optimal usage time and electricity rates to the user. This proposal is made in real time.

サーバは、計算結果をユーザーに表示するために、端末に送信する手段を持つ。この送信には、HTTPSプロトコルを使用してセキュアな通信を行う。 The server has a means of sending the calculation results to the terminal for display to the user. This transmission is securely performed using the HTTPS protocol.

2. 端末 2. Device

端末は、ユーザーが入力した家電使用情報をサーバに送信する。この送信には、HTTPSプロトコルを使用してセキュアな通信を行う。 The device sends the home appliance usage information entered by the user to the server. This transmission is secure, using the HTTPS protocol.

端末は、サーバから受け取った計算結果をユーザーに表示する。例えば、モバイルアプリケーションの画面に「最適な使用時間帯は19:00から21:00までです」と表示する。 The device displays the calculation results received from the server to the user. For example, the mobile application screen might display "The best time to use the device is between 7:00 PM and 9:00 PM."

3. ユーザ 3. User

ユーザは、ウェブブラウザやモバイルアプリケーションを使用して、使用したい家電の種類と希望する使用時間を入力する。例えば、ユーザがエアコンを使用したい場合、「エアコン」と「18:00から22:00まで」と入力する。 Users use a web browser or mobile application to enter the type of appliance they want to use and the time they want to use it. For example, if a user wants to use an air conditioner, they enter "air conditioner" and "from 18:00 to 22:00."

具体例 Specific examples

具体例として、ユーザがエアコンを使用したいと考えている場合を考える。 As a concrete example, consider the case where a user wants to use the air conditioner.

1. ユーザがモバイルアプリケーションを開き、「エアコン」と「18:00から22:00まで」と入力する。 1. The user opens the mobile application and enters "air conditioner" and "from 18:00 to 22:00."

2. 端末がこの情報をHTTPSプロトコルを使用してサーバに送信する。 2. The device sends this information to the server using the HTTPS protocol.

3. サーバが受け取った情報を「user_requests」テーブルに保存する。 3. The server stores the received information in the "user_requests" table.

4. サーバがPythonのPandasライブラリを使用して、過去の使用データや電力消費パターンを分析し、最適な使用時間帯を計算する。 4. The server uses Python's Pandas library to analyze past usage data and power consumption patterns and calculate the optimal usage time.

5. サーバが計算結果「19:00から21:00までが最適です」を端末に送信する。 5. The server sends the calculation result "The best time is between 7:00 PM and 9:00 PM" to the device.

6. 端末がこの結果をモバイルアプリケーションの画面に表示し、ユーザに通知する。 6. The device displays the results on the mobile application screen and notifies the user.

プロンプト文の例 Example prompt

生成AIモデルへ入力するプロンプト文の例: Example of a prompt to input to a generative AI model:

ユーザがエアコンを使用したいと考えています。使用時間は「18:00から22:00まで」と入力しました。過去の使用データや電力消費パターンを基に、最適な使用時間帯を計算してください。 The user wants to use the air conditioner. The usage time is entered as "18:00 to 22:00." Please calculate the optimal usage time based on past usage data and power consumption patterns.

このようにして、サーバ、端末、ユーザが連携して家電の最適な使用時間帯を計算し、ユーザに提供するシステムが実現される。 In this way, a system is realized in which the server, terminal, and user work together to calculate the optimal usage time for home appliances and provide it to the user.

実施例2における特定処理の流れについて図13を用いて説明する。 The flow of the identification process in Example 2 will be explained using Figure 13.

ステップ1: Step 1:

ユーザが家電使用情報を入力する。 The user enters appliance usage information.

ユーザは、ウェブブラウザやモバイルアプリケーションを使用して、使用したい家電の種類と希望する使用時間を入力する。例えば、ユーザがエアコンを使用したい場合、「エアコン」と「18:00から22:00まで」と入力する。入力された情報は、端末の入力フィールドに保存される。 Using a web browser or mobile application, users input the type of appliance they want to use and the desired usage time. For example, if a user wants to use an air conditioner, they enter "air conditioner" and "from 18:00 to 22:00." The entered information is saved in an input field on the device.

ステップ2: Step 2:

端末が入力情報をサーバに送信する。 The device sends the input information to the server.

端末は、ユーザが入力した家電使用情報をHTTPSプロトコルを使用してサーバに送信する。具体的には、入力された情報をJSON形式に変換し、サーバのAPIエンドポイントにPOSTリクエストを送信する。入力は家電の種類と使用時間であり、出力はサーバへの送信完了ステータスである。 The device sends the appliance usage information entered by the user to the server using the HTTPS protocol. Specifically, it converts the entered information into JSON format and sends a POST request to the server's API endpoint. The input is the type of appliance and usage time, and the output is the status of completion of transmission to the server.

ステップ3: Step 3:

サーバが入力情報をデータベースに保存する。 The server saves the input information in a database.

サーバは、受け取った家電使用情報をデータベースに保存する。具体的には、サーバは受信したJSONデータを解析し、MySQLやPostgreSQLなどのリレーショナルデータベース管理システム(RDBMS)に保存する。入力は受信した家電使用情報であり、出力はデータベースへの保存完了ステータスである。 The server stores the received appliance usage information in a database. Specifically, the server parses the received JSON data and stores it in a relational database management system (RDBMS) such as MySQL or PostgreSQL. The input is the received appliance usage information, and the output is the status of completion of saving to the database.

ステップ4: Step 4:

サーバが保存されたデータを基に最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the stored data.

サーバは、保存されたデータを基に最適な使用時間帯を計算する。具体的には、PythonのPandasライブラリを使用して過去の使用データや電力消費パターンを分析し、最適な使用時間帯を計算する。入力はデータベースに保存された家電使用情報と過去の使用データであり、出力は最適な使用時間帯である。 The server calculates the optimal usage time based on the stored data. Specifically, it uses Python's Pandas library to analyze past usage data and power consumption patterns to calculate the optimal usage time. The input is the appliance usage information and past usage data stored in the database, and the output is the optimal usage time.

ステップ5: Step 5:

サーバが計算結果を端末に送信する。 The server sends the calculation results to the device.

サーバは、計算結果を端末に送信する。具体的には、計算された最適な使用時間帯をJSON形式に変換し、HTTPSプロトコルを使用して端末に送信する。入力は最適な使用時間帯の計算結果であり、出力は端末への送信完了ステータスである。 The server sends the calculation results to the device. Specifically, it converts the calculated optimal usage time slot into JSON format and sends it to the device using the HTTPS protocol. The input is the calculation result of the optimal usage time slot, and the output is the status of completion of transmission to the device.

ステップ6: Step 6:

端末が計算結果をユーザに表示する。 The terminal displays the calculation results to the user.

端末は、サーバから受け取った計算結果をユーザに表示する。具体的には、モバイルアプリケーションの画面に「最適な使用時間帯は19:00から21:00までです」と表示する。入力はサーバから受信した最適な使用時間帯の計算結果であり、出力はユーザへの表示内容である。 The device displays the calculation results received from the server to the user. Specifically, the mobile application screen displays "The optimal usage time is from 19:00 to 21:00." The input is the calculation result of the optimal usage time received from the server, and the output is the content displayed to the user.

(応用例2) (Application Example 2)

次に、形態例2の応用例2について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマートデバイス14を「端末」と称する。 Next, we will explain Application Example 2 of Form Example 2. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart device 14 will be referred to as the "terminal."

従来の家電使用情報を基にした最適な使用時間帯の計算システムは、家電の使用に関する情報のみを対象としており、自動運転車両の充電スケジュールの最適化には対応していない。このため、ユーザーが自動運転車両の運行予定に基づいて最適な充電時間を計算し、エネルギー管理を効率化することが困難であった Existing systems that calculate optimal usage times based on home appliance usage information only consider information about home appliance usage and do not support optimizing charging schedules for autonomous vehicles. This makes it difficult for users to calculate optimal charging times based on autonomous vehicle operation schedules and improve energy management efficiency.

応用例2におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーからの運行予定情報を受け取り、最適な充電時間帯を計算する手段と、計算した最適な充電時間帯をユーザーに通知する手段と、を含む。これにより、ユーザーは自動運転車両の運行予定に基づいて最適な充電時間を計算し、エネルギー管理を効率化することが可能となる。 The specification processing by the specification processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means. In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from the user, means for calculating optimal usage time periods based on the received home appliance usage information, means for proposing the calculated optimal usage time periods and electricity charges to the user, means for receiving operation schedule information from the user and calculating optimal charging time periods, and means for notifying the user of the calculated optimal charging time periods. This allows the user to calculate the optimal charging time based on the operation schedule of the autonomous vehicle and improve energy management efficiency.

「市場連動型プラン」とは、電力取引所の取引価格に応じて電気料金が決まる料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を計算するための装置またはプログラムである。 "Means for calculating electricity charges" means a device or program for calculating electricity charges based on a market-linked plan.

「家電使用情報」とは、ユーザーが使用したい家電の種類とその使用時間に関する情報である。 "Home appliance usage information" refers to information about the type of home appliance the user wants to use and the duration of use.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報に基づいて、家電の最適な使用時間帯を計算するための装置またはプログラムである。 "Means for calculating optimal usage time periods" refers to a device or program for calculating optimal usage time periods for home appliances based on received home appliance usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知または表示するための装置またはプログラムである。 "Means for making suggestions to users" refers to a device or program that notifies or displays to users the calculated optimal usage time and electricity charges.

「運行予定情報」とは、ユーザーが自動運転車両の運行に関して入力する出発時間、到着時間、目的地などの情報である。 "Scheduled operation information" refers to information such as departure time, arrival time, and destination entered by the user regarding the operation of an autonomous vehicle.

「最適な充電時間帯を計算する手段」とは、受け取った運行予定情報に基づいて、自動運転車両の最適な充電時間帯を計算するための装置またはプログラムである。 "Means for calculating the optimal charging time slot" refers to a device or program for calculating the optimal charging time slot for an autonomous vehicle based on the received operation schedule information.

「通知する手段」とは、計算した最適な充電時間帯をユーザーに通知するための装置またはプログラムである。 "Notification means" refers to a device or program that notifies the user of the calculated optimal charging time period.

この発明を実施するためのシステムは、サーバ、ユーザー端末、および自動運転車両から構成される。サーバは、以下の手段を含む。 A system for implementing this invention consists of a server, a user terminal, and an autonomous vehicle. The server includes the following means:

1. 市場連動型プランに基づく電気料金を計算する手段 1. A method for calculating electricity rates based on market-linked plans

2. ユーザーからの家電使用情報を受け取る手段 2. How to receive appliance usage information from users

3. 受け取った家電使用情報に基づき最適な使用時間帯を計算する手段 3. A method for calculating optimal usage times based on received appliance usage information

4. 計算した最適な使用時間帯と電気料金をユーザーに提案する手段 4. A method for suggesting the calculated optimal usage time and electricity rates to users

5. ユーザーからの運行予定情報を受け取り、最適な充電時間帯を計算する手段 5. A means of receiving schedule information from users and calculating the optimal charging time slots

6. 計算した最適な充電時間帯をユーザーに通知する手段 6. A method for notifying users of the calculated optimal charging time slot

プログラムの処理説明 Program processing explanation

サーバは、Pythonなどのプログラミング言語を用いて実装される。サーバは、ユーザー端末から送信される家電使用情報および運行予定情報を受信し、それらの情報を基に最適な使用時間帯および充電時間帯を計算する。 The server is implemented using a programming language such as Python. It receives appliance usage information and operation schedule information sent from the user's device, and calculates the optimal usage and charging times based on this information.

具体的には、サーバは以下の処理を行う。 Specifically, the server performs the following processes:

1. 電気料金の計算: 1. Calculating electricity charges:

サーバは市場連動型プランに基づいて、電力取引所の取引価格を取得し、電気料金を計算する。この計算には、APIを通じて電力取引所のデータを取得する。 The server obtains the trading price from the power exchange based on the market-linked plan and calculates the electricity bill. This calculation involves obtaining data from the power exchange via an API.

2. 家電使用情報の受信と処理: 2. Receiving and processing home appliance usage information:

ユーザー端末から送信される家電使用情報(使用したい家電の種類と使用時間)を受信し、最適な使用時間帯を計算する。計算には、AIモデルを用いて電力消費のピーク時間を避けるようにする。 The system receives appliance usage information (type of appliance to be used and usage time) sent from the user's device and calculates the optimal usage time. It uses an AI model to calculate and avoid peak hours of power consumption.

3. 運行予定情報の受信と処理: 3. Receiving and processing schedule information:

ユーザー端末から送信される運行予定情報(出発時間、到着時間、目的地)を受信し、最適な充電時間帯を計算する。計算には、AIモデルを用いて運行スケジュールに基づく最適な充電時間を決定する。 The system receives flight schedule information (departure time, arrival time, destination) sent from the user's device and calculates the optimal charging time. The calculation uses an AI model to determine the optimal charging time based on the flight schedule.

4. 通知: 4. Notice:

計算した最適な使用時間帯および充電時間帯をユーザーに通知する。通知は、ユーザー端末にプッシュ通知やメールで送信される。 The user will be notified of the calculated optimal usage and charging times. Notifications will be sent to the user's device via push notification or email.

具体例 Specific examples

例えば、ユーザーがスマートフォンアプリに以下の情報を入力する。 For example, a user enters the following information into a smartphone app:

出発時間: 2023-10-01 08:00:00 Departure time: 2023-10-01 08:00:00

到着時間: 2023-10-01 10:00:00 Arrival time: 2023-10-01 10:00:00

目的地: Office Destination: Office

この情報を基に、サーバは最適な充電時間を計算し、出発の2時間前(2023-10-01 06:00:00)に充電を開始するよう通知する。 Based on this information, the server calculates the optimal charging time and notifies the driver to start charging two hours before departure (2023-10-01 06:00:00).

生成AIモデルへ入力するプロンプト文の例: Example of a prompt to input to a generative AI model:

ユーザーが自動運転車両の運行予定を入力しました。出発時間は2023-10-01 08:00:00、到着時間は2023-10-01 10:00:00、目的地はOfficeです。この情報を基に、最適な充電時間を計算してください。 The user has entered a scheduled autonomous vehicle trip. The departure time is 2023-10-01 08:00:00, the arrival time is 2023-10-01 10:00:00, and the destination is Office. Please calculate the optimal charging time based on this information.

このようにして、ユーザーの運行予定に基づいて最適な充電時間を計算し、エネルギー管理を効率化することが可能となる。 In this way, it is possible to calculate the optimal charging time based on the user's driving schedule and improve energy management efficiency.

応用例2における特定処理の流れについて図14を用いて説明する。 The flow of the specific processing in Application Example 2 will be explained using Figure 14.

ステップ1: Step 1:

ユーザーがスマートフォンアプリを使用して家電使用情報および運行予定情報を入力する。入力される情報には、使用したい家電の種類、使用時間、出発時間、到着時間、目的地が含まれる。これらの情報は、ユーザー端末からサーバに送信される。 Users use a smartphone app to input information about their appliance usage and scheduled operations. The information entered includes the type of appliance they want to use, usage time, departure time, arrival time, and destination. This information is sent from the user's device to the server.

ステップ2: Step 2:

サーバは、ユーザー端末から送信された家電使用情報を受信する。受信した情報には、使用したい家電の種類と使用時間が含まれる。サーバは、この情報を基に最適な使用時間帯を計算するためのデータ加工を行う。 The server receives appliance usage information sent from the user's device. The received information includes the type of appliance desired to be used and the usage time. Based on this information, the server processes the data to calculate the optimal usage time period.

ステップ3: Step 3:

サーバは、市場連動型プランに基づいて電力取引所の取引価格を取得する。取得した取引価格データを基に、電気料金を計算する。計算には、APIを通じて電力取引所のデータを取得し、リアルタイムでの価格変動を考慮する。 The server obtains trading prices from the power exchange based on a market-linked plan. It then calculates electricity charges based on the obtained trading price data. Calculations involve obtaining data from the power exchange via an API and taking real-time price fluctuations into account.

ステップ4: Step 4:

サーバは、受信した家電使用情報と取得した取引価格データを基に、最適な使用時間帯を計算する。計算には、AIモデルを用いて電力消費のピーク時間を避けるようにする。具体的には、電力消費のピーク時間帯を避けるためのアルゴリズムを適用する。 The server calculates the optimal usage time based on the received appliance usage information and the acquired trading price data. The calculation uses an AI model to avoid peak hours of electricity consumption. Specifically, it applies an algorithm to avoid peak hours of electricity consumption.

ステップ5: Step 5:

サーバは、計算した最適な使用時間帯と電気料金をユーザーに提案する。提案は、ユーザー端末にプッシュ通知やメールで送信される。ユーザーは、提案された最適な使用時間帯を確認し、家電の使用を計画することができる。 The server then proposes the calculated optimal usage time and electricity rates to the user. The proposal is sent to the user's device via push notification or email. The user can check the proposed optimal usage time and plan their home appliance usage.

ステップ6: Step 6:

サーバは、ユーザー端末から送信された運行予定情報を受信する。受信した情報には、出発時間、到着時間、目的地が含まれる。サーバは、この情報を基に最適な充電時間帯を計算するためのデータ加工を行う。 The server receives the scheduled vehicle information sent from the user's device. The received information includes departure time, arrival time, and destination. The server processes this information to calculate the optimal charging time slot.

ステップ7: Step 7:

サーバは、受信した運行予定情報を基に、最適な充電時間帯を計算する。計算には、AIモデルを用いて運行スケジュールに基づく最適な充電時間を決定する。具体的には、出発の2時間前に充電を開始するようなアルゴリズムを適用する。 The server calculates the optimal charging time based on the received flight schedule information. It uses an AI model to determine the optimal charging time based on the flight schedule. Specifically, it applies an algorithm that starts charging two hours before departure.

ステップ8: Step 8:

サーバは、計算した最適な充電時間帯をユーザーに通知する。通知は、ユーザー端末にプッシュ通知やメールで送信される。ユーザーは、通知された最適な充電時間帯を確認し、自動運転車両の充電を計画することができる。 The server notifies the user of the calculated optimal charging time. The notification is sent to the user's device via push notification or email. The user can check the optimal charging time and plan charging for their autonomous vehicle.

このようにして、ユーザーの家電使用情報および運行予定情報に基づいて、最適な使用時間帯および充電時間帯を計算し、エネルギー管理を効率化することが可能となる。 In this way, optimal usage and charging times can be calculated based on the user's home appliance usage information and operation schedule information, making it possible to improve energy management efficiency.

(実施例3) (Example 3)

次に、形態例3の実施例3について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマートデバイス14を「端末」と称する。 Next, we will explain Example 3 of Form Example 3. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart device 14 will be referred to as the "terminal."

従来の電気料金計算システムでは、ユーザーが家電を使用する最適な時間帯を知ることが難しく、電気料金を効果的に抑えることができなかった。また、電力取引所の取引価格に基づくリアルタイムな電気料金の計算が行われていなかったため、ユーザーにとって最適な使用時間帯を提案することができなかった。これにより、ユーザーは高額な電気料金を支払うことが多く、エネルギーの効率的な使用が困難であった。 With conventional electricity bill calculation systems, it was difficult for users to know the optimal time to use their home appliances, making it difficult to effectively reduce electricity bills. Furthermore, because electricity bills were not calculated in real time based on trading prices at the power exchange, it was not possible to suggest the optimal time for users to use their appliances. This often resulted in users paying high electricity bills and making it difficult to use energy efficiently.

実施例3におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 3 is realized by the following means.

この発明では、サーバは、ユーザーからの家電使用情報を受け取る手段と、電力取引所の取引価格データを取得する手段と、取得した取引価格データを処理し、指定された時間帯の電気料金を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、計算結果をユーザーに提示する手段と、を含む。これにより、ユーザーは家電を使用する最適な時間帯とその時間帯の電気料金をリアルタイムで知ることが可能となり、電気料金を効果的に抑えることができる。 In this invention, the server includes means for receiving home appliance usage information from the user, means for acquiring trading price data from the power exchange, means for processing the acquired trading price data and calculating the electricity rate for a specified time period, means for proposing the calculated optimal usage time period and electricity rate to the user, and means for presenting the calculation results to the user. This allows the user to know the optimal time period for using home appliances and the electricity rate for that time period in real time, allowing for effective savings on electricity bills.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用したい家電の種類と使用時間を入力するためのインターフェースを提供し、その情報をサーバに送信する機能を持つ装置またはソフトウェアである。 "Means for receiving home appliance usage information from users" refers to a device or software that provides an interface for users to input the type of home appliance they wish to use and the usage time, and has the function of sending that information to a server.

「電力取引所の取引価格データを取得する手段」とは、電力取引所のAPIにアクセスし、最新の取引価格データを取得するための機能を持つ装置またはソフトウェアである。 "Means for obtaining trading price data from the power exchange" refers to devices or software that have the functionality to access the power exchange's API and obtain the latest trading price data.

「取得した取引価格データを処理し、指定された時間帯の電気料金を計算する手段」とは、取得した取引価格データを解析し、ユーザーが指定した時間帯における電気料金を計算するための機能を持つ装置またはソフトウェアである。 "Means for processing acquired transaction price data and calculating electricity charges for a specified time period" refers to a device or software that has the function of analyzing acquired transaction price data and calculating electricity charges for a time period specified by the user.

「計算した最適な使用時間帯と電気料金をユーザーに提案する手段」とは、計算結果に基づいて、ユーザーにとって最適な家電の使用時間帯とその時間帯の電気料金を提示するための機能を持つ装置またはソフトウェアである。 "Means for proposing the calculated optimal usage time periods and electricity rates to the user" refers to a device or software that has the function of presenting the optimal usage time periods for home appliances and the electricity rates for those times to the user based on the calculation results.

「計算結果をユーザーに提示する手段」とは、計算された電気料金と最適な使用時間帯をユーザーに視覚的または音声的に提示するための機能を持つ装置またはソフトウェアである。 "Means for presenting calculation results to the user" refers to a device or software that has the function of visually or audibly presenting the calculated electricity charges and optimal usage times to the user.

発明を実施するための形態 Form for implementing the invention

この発明は、ユーザーが家電を使用する最適な時間帯とその時間帯の電気料金を計算し、ユーザーに提案するシステムである。このシステムは、ユーザーからの家電使用情報を受け取り、電力取引所の取引価格データを取得し、取得したデータを処理して電気料金を計算し、その結果をユーザーに提示する。 This invention is a system that calculates the optimal time periods for users to use home appliances and the electricity rates for those times, and then suggests these to the user. This system receives home appliance usage information from the user, acquires trading price data from the power exchange, processes the acquired data to calculate the electricity rate, and presents the results to the user.

使用するハードウェアおよびソフトウェア Hardware and software used

このシステムは、以下のハードウェアおよびソフトウェアを使用する: This system uses the following hardware and software:

サーバ:データ処理および計算を行うためのコンピュータシステム。 Server: A computer system for data processing and calculations.

端末:ユーザーが情報を入力するためのデバイス(スマートフォン、タブレット、PCなど)。 Device: The device through which the user enters information (smartphone, tablet, PC, etc.).

Python:プログラムの開発に使用するプログラミング言語。 Python: A programming language used to develop programs.

Pandasライブラリ:データ処理および解析に使用するPythonのライブラリ。 Pandas library: A Python library used for data processing and analysis.

Requestsライブラリ:電力取引所のAPIからデータを取得するために使用するPythonのライブラリ。 Requests library: A Python library used to retrieve data from the power exchange API.

プログラムの処理 Program processing

サーバは、ユーザーからの入力を受け取る。ユーザーが使用したい家電の種類と使用時間を入力すると、サーバは電力取引所のAPIから最新の取引価格データを取得する。このデータを基に、サーバは指定された時間帯の電気料金を計算する。計算には、電力取引価格と家電の消費電力を掛け合わせることで行う。 The server receives input from the user. When the user enters the type of appliance they want to use and the duration of use, the server retrieves the latest trading price data from the power exchange's API. Based on this data, the server calculates the electricity rate for the specified time period. The calculation is done by multiplying the electricity trading price by the appliance's power consumption.

具体例 Specific examples

例えば、ユーザーが「エアコンを午後3時から6時まで使用する」と入力した場合、サーバは以下のように処理を行う: For example, if a user enters "I want the air conditioner to run from 3:00 PM to 6:00 PM," the server will process it as follows:

1. ユーザーが端末の入力フォームに「エアコン、15:00-18:00」と入力する。 1. The user enters "Air conditioning, 15:00-18:00" into the device's input form.

2. 端末はこの入力データをサーバに送信する。 2. The device sends this input data to the server.

3. サーバはRequestsライブラリを使用して、電力取引所のAPIにリクエストを送信する。 3. The server uses the Requests library to send a request to the power exchange API.

4. サーバはAPIから返された取引価格データを受け取り、Pandasを使用してデータフレームに変換する。 4. The server receives the trading price data returned from the API and converts it into a data frame using Pandas.

5. サーバはデータフレームから指定された時間帯(15:00-18:00)の取引価格を抽出する。 5. The server extracts trading prices for the specified time period (15:00-18:00) from the data frame.

6. サーバはエアコンの消費電力(例えば1.5kW)を取引価格に掛け合わせて電気料金を計算する。 6. The server calculates the electricity bill by multiplying the air conditioner's power consumption (for example, 1.5kW) by the transaction price.

7. サーバは計算結果を「エアコンを午後3時から6時まで使用すると、電気料金は〇〇円です」と生成する。 7. The server generates the calculation result: "If you use the air conditioner from 3:00 PM to 6:00 PM, the electricity bill will be XX yen."

8. サーバはこのメッセージを端末に送信する。 8. The server sends this message to the device.

9. 端末はユーザーにメッセージを表示する。 9. The device displays a message to the user.

プロンプト文の例 Example prompt

生成AIモデルへ入力するプロンプト文の例: Example of a prompt to input to a generative AI model:

ユーザーがエアコンを午後3時から6時まで使用したいと入力した場合、その時間帯の電力取引所の取引価格に基づいて電気料金を計算し、ユーザーに提示するプログラムを作成してください。 If a user inputs that they want to use the air conditioner from 3:00 PM to 6:00 PM, create a program that calculates the electricity rate based on the trading price on the power exchange for that time period and displays it to the user.

このようにして、ユーザーは最適な使用時間帯と電気料金を知ることができ、電気料金を抑えるための参考情報とすることができる。実施例3における特定処理の流れについて図15を用いて説明する。 In this way, users can learn the optimal usage times and electricity rates, and use this information as reference for reducing electricity costs. The flow of the identification process in Example 3 will be explained using Figure 15.

プログラムの処理の流れ Program processing flow

ステップ1:ユーザーの入力受け取り Step 1: Receive user input

ユーザーは端末を使用して、使用したい家電の種類と使用時間を入力する。例えば、ユーザーが「エアコンを午後3時から6時まで使用する」と入力する。 The user uses the device to input the type of appliance they want to use and the time they want to use it. For example, the user might input "I want to use the air conditioner from 3:00 to 6:00 PM."

具体的な動作: Specific actions:

入力:ユーザーが端末の入力フォームに「エアコン、15:00-18:00」と入力する。 Input: The user enters "Air conditioning, 15:00-18:00" into the device's input form.

出力:端末はこの入力データをサーバに送信する。 Output: The device sends this input data to the server.

ステップ2:電力取引価格データの取得 Step 2: Obtaining electricity trading price data

サーバは電力取引所のAPIから最新の取引価格データを取得する。このデータは、指定された時間帯の電気料金を計算するために使用される。 The server retrieves the latest trading price data from the power exchange's API. This data is used to calculate the electricity rate for the specified time period.

具体的な動作: Specific actions:

入力:サーバはユーザーから送信された家電使用情報を受け取る。 Input: The server receives home appliance usage information sent by the user.

データ加工:サーバはRequestsライブラリを使用して、電力取引所のAPIにリクエストを送信する。 Data processing: The server uses the Requests library to send requests to the power exchange API.

出力:サーバはAPIから返された取引価格データを受け取る。 Output: The server receives the trading price data returned from the API.

ステップ3:データの処理と電気料金の計算 Step 3: Process the data and calculate the electricity bill

サーバは取得した取引価格データをPandasライブラリを用いて処理し、指定された時間帯の電気料金を計算する。計算には、家電の消費電力と取引価格を掛け合わせる。 The server processes the acquired trading price data using the Pandas library and calculates the electricity rate for the specified time period. To do this, it multiplies the power consumption of the appliance by the trading price.

具体的な動作: Specific actions:

入力:サーバはAPIから取得した取引価格データを受け取る。 Input: The server receives trading price data obtained from the API.

データ加工:サーバはPandasを使用して、取引価格データをデータフレームに変換する。 Data processing: The server uses Pandas to convert trading price data into a data frame.

データ演算:サーバはデータフレームから指定された時間帯(15:00-18:00)の取引価格を抽出し、エアコンの消費電力(例えば1.5kW)を掛け合わせて電気料金を計算する。 Data calculation: The server extracts the trading price for the specified time period (15:00-18:00) from the data frame and multiplies it by the air conditioner's power consumption (e.g., 1.5kW) to calculate the electricity bill.

出力:計算された電気料金データ。 Output: Calculated electricity bill data.

ステップ4:計算結果の提示 Step 4: Presenting the calculation results

サーバは計算結果をユーザーに提示する。ユーザーはこれにより、電気料金を抑えるための参考情報を得ることができる。 The server then presents the calculation results to the user, allowing the user to obtain reference information for reducing electricity bills.

具体的な動作: Specific actions:

入力:計算された電気料金データ。 Input: Calculated electricity rate data.

データ加工:サーバは計算結果を「エアコンを午後3時から6時まで使用すると、電気料金は〇〇円です」といった形式で生成する。 Data processing: The server generates the calculation results in a format such as "If you use the air conditioner from 3:00 pm to 6:00 pm, your electricity bill will be XX yen."

出力:サーバはこのメッセージを端末に送信する。 Output: The server sends this message to the terminal.

動作:端末はユーザーにメッセージを表示する。 Action: The device displays a message to the user.

このようにして、ユーザーは最適な使用時間帯と電気料金を知ることができ、電気料金を抑えるための参考情報とすることができる。 In this way, users can learn the optimal times to use electricity and electricity rates, which can be used as reference information to reduce electricity bills.

(応用例3) (Application Example 3)

次に、形態例3の応用例3について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマートデバイス14を「端末」と称する。 Next, we will explain Application Example 3 of Form Example 3. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart device 14 will be referred to as the "terminal."

電力使用において、ユーザーが電気料金を抑えるための最適な使用時間帯を知ることが難しいという問題がある。また、特に電気自動車の充電においては、充電時間帯によって電気料金が大きく変動するため、ユーザーが最適な充電時間帯を選択することが困難である。このため、ユーザーが効率的に電力を使用し、電気料金を抑えるためのシステムが求められている。 When it comes to electricity usage, users often have difficulty knowing the optimal time of day to use the power in order to reduce their electricity bills. Furthermore, when charging electric vehicles in particular, electricity rates vary greatly depending on the time of day, making it difficult for users to select the optimal time of day to charge. For this reason, there is a demand for a system that allows users to use electricity efficiently and reduce their electricity bills.

応用例3におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 3 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの電力使用情報を受け取る手段と、受け取った電力使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーが入力した電力使用時間帯の中で最も電気料金が安い時間帯を計算する手段と、計算した最適な電力使用時間帯と予想電気料金をユーザーに提示する手段を含む。これにより、ユーザーは電気料金を抑えるための最適な使用時間帯を知ることが可能となる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving electricity usage information from the user, means for calculating optimal usage time periods based on the received electricity usage information, means for proposing the calculated optimal usage time periods and electricity charges to the user, means for calculating the time period with the lowest electricity charge among the electricity usage time periods entered by the user, and means for presenting the calculated optimal electricity usage time periods and estimated electricity charges to the user. This allows the user to know the optimal usage time periods for reducing electricity charges.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、電力取引所の取引価格を基にして、ユーザーが使用する電力の料金を計算する機能を持つ装置またはプログラムである。 "Means for calculating electricity charges" refers to a device or program that has the function of calculating the charges for electricity used by a user based on the trading price at the electricity exchange.

「電力使用情報」とは、ユーザーが使用する電力機器の種類や使用時間などの情報を指す。 "Electricity usage information" refers to information such as the type of electrical equipment used by the user and the duration of use.

「最適な使用時間帯を計算する手段」とは、受け取った電力使用情報に基づいて、電気料金が最も安くなる時間帯を計算する機能を持つ装置またはプログラムである。 "Means for calculating the optimal usage time period" refers to a device or program that has the function of calculating the time period with the lowest electricity rates based on the received electricity usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知する機能を持つ装置またはプログラムである。 "Means for making suggestions to users" refers to a device or program that has the function of notifying users of the calculated optimal usage time period and electricity charges.

「電力使用時間帯」とは、ユーザーが電力機器を使用する予定の時間帯を指す。 "Power usage time period" refers to the time period during which a user plans to use power equipment.

「最も電気料金が安い時間帯を計算する手段」とは、ユーザーが入力した電力使用時間帯の中で、電気料金が最も安くなる時間帯を計算する機能を持つ装置またはプログラムである。 "Means for calculating the time period with the cheapest electricity rates" refers to a device or program that has the function of calculating the time period with the cheapest electricity rates among the electricity usage time periods entered by the user.

「予想電気料金をユーザーに提示する手段」とは、計算した最適な電力使用時間帯とその時間帯における予想電気料金をユーザーに通知する機能を持つ装置またはプログラムである。 "Means for presenting estimated electricity charges to users" refers to a device or program that has the function of notifying users of the calculated optimal time periods for electricity usage and the estimated electricity charges for those times.

この発明を実施するためのシステムは、電気自動車の充電を最適化するためのものである。システムは、サーバ、ユーザー端末、および電力取引所のAPIを含む。以下に、システムの具体的な実施形態を説明する。 A system for implementing this invention is for optimizing the charging of electric vehicles. The system includes a server, a user terminal, and an API for a power exchange. A specific embodiment of the system is described below.

システム構成 System Configuration

1. サーバ 1. Server

サーバは、以下の機能を持つプログラムを実行する。 The server runs a program with the following functions:

市場連動型プランに基づく電気料金を計算する機能 Function to calculate electricity rates based on market-linked plans

ユーザーからの電力使用情報を受け取る機能 A function to receive power usage information from users

受け取った電力使用情報に基づき最適な使用時間帯を計算する機能 A function that calculates the optimal usage time based on received power usage information.

計算した最適な使用時間帯と電気料金をユーザーに提案する機能 A function that suggests optimal usage times and electricity rates to users.

ユーザーが入力した電力使用時間帯の中で最も電気料金が安い時間帯を計算する機能 A function that calculates the cheapest electricity rate among the electricity usage periods entered by the user.

計算した最適な電力使用時間帯と予想電気料金をユーザーに提示する機能 A function that displays the calculated optimal power usage times and estimated electricity charges to the user.

2. ユーザー端末 2. User Device

ユーザー端末は、スマートフォンやタブレットなどのデバイスであり、ユーザーが電力使用情報を入力するためのインターフェースを提供する。ユーザーは、充電したい時間帯を入力し、その情報がサーバに送信される。 The user terminal is a device such as a smartphone or tablet that provides an interface for users to enter power usage information. Users enter the time period during which they wish to charge, and that information is sent to the server.

3. 電力取引所のAPI 3. Power Exchange API

電力取引所のAPIは、電力取引所の取引価格を取得するためのインターフェースである。サーバは、このAPIを通じてリアルタイムの電力取引価格を取得し、電気料金の計算に使用する。 The power exchange API is an interface for obtaining trading prices from the power exchange. The server obtains real-time power trading prices through this API and uses them to calculate electricity charges.

プログラムの処理説明 Program processing explanation

サーバは、ユーザー端末から受け取った電力使用情報を基に、電力取引所のAPIから取得した取引価格を使用して電気料金を計算する。具体的には、以下の手順で処理が行われる。 The server calculates electricity charges based on the electricity usage information received from the user's device and the trading price obtained from the power exchange's API. Specifically, the process is carried out as follows:

1. 電力使用情報の受信 1. Receiving power usage information

ユーザーが端末から入力した電力使用情報(例えば、充電したい時間帯)がサーバに送信される。 Power usage information entered by the user on the device (for example, the time period during which they wish to charge) is sent to the server.

2. 電気料金の計算 2. Calculating your electricity bill

サーバは、電力取引所のAPIを使用して、指定された時間帯の取引価格を取得する。その後、取得した取引価格に基づいて電気料金を計算する。 The server uses the power exchange's API to obtain the trading price for the specified time period. It then calculates the electricity bill based on the obtained trading price.

3. 最適な使用時間帯の計算 3. Calculating the optimal usage time

サーバは、ユーザーが入力した時間帯の中で最も電気料金が安い時間帯を計算する。この計算には、リアルタイムの取引価格データが使用される。 The server calculates the cheapest electricity rate among the time periods entered by the user. This calculation uses real-time trading price data.

4. 結果の提示 4. Presentation of results

計算結果(最適な使用時間帯と予想電気料金)は、ユーザー端末に送信され、ユーザーに提示される。 The calculation results (optimal usage times and estimated electricity rates) are sent to the user's terminal and presented to the user.

具体例 Specific examples

例えば、ユーザーが「2023年10月1日の午後3時から午後6時までの間に充電したい」と入力した場合、サーバはその時間帯の取引価格を取得し、最も電気料金が安い時間帯を計算して提示する。 For example, if a user inputs "I want to charge between 3:00 PM and 6:00 PM on October 1, 2023," the server will retrieve the trading prices for that time period and calculate and present the time period with the cheapest electricity rates.

プロンプト文の例 Example prompt

生成AIモデルへ入力するプロンプト文の例: Example of a prompt to input to a generative AI model:

ユーザーが電気自動車の充電時間帯を入力すると、その時間帯の電力取引所の取引価格に基づいて最適な充電時間帯と電気料金を計算し、ユーザーに提示するシステムを設計してください。例えば、「2023年10月1日の午後3時から午後6時までの間に充電したい」と入力された場合、その時間帯の中で最も電気料金が安い時間帯を計算して提示します。 Design a system that, when a user inputs the time period they wish to charge their electric vehicle, calculates the optimal charging time and electricity rate based on the trading price on the power exchange for that time period and presents it to the user. For example, if a user inputs "I would like to charge between 3:00 PM and 6:00 PM on October 1, 2023," the system will calculate and present the time period with the cheapest electricity rate within that time period.

応用例3における特定処理の流れについて図16を用いて説明する。 The flow of the specific processing in Application Example 3 will be explained using Figure 16.

ステップ1: Step 1:

ユーザーが端末から電力使用情報を入力する。 The user enters power usage information from the device.

具体的には、ユーザーはスマートフォンやタブレットなどの端末を使用して、充電したい時間帯(例えば、「2023年10月1日の午後3時から午後6時まで」)を入力する。入力された情報は、端末からサーバに送信される。 Specifically, users use a device such as a smartphone or tablet to input the time period during which they would like to charge (for example, "October 1, 2023, from 3:00 PM to 6:00 PM"). The input information is then sent from the device to the server.

入力:充電したい時間帯 Input: Time of day you want to charge

出力:サーバに送信された電力使用情報 Output: Power usage information sent to the server

ステップ2: Step 2:

サーバが電力使用情報を受信する。 The server receives power usage information.

サーバは、ユーザー端末から送信された電力使用情報を受信し、その情報を解析する。受信した情報には、充電したい時間帯が含まれている。 The server receives and analyzes the power usage information sent from the user's device. The received information includes the time period during which the user wishes to charge.

入力:ユーザーから送信された電力使用情報 Input: Power usage information submitted by the user

出力:解析された電力使用情報 Output: Analyzed power usage information

ステップ3: Step 3:

サーバが電力取引所のAPIから取引価格を取得する。 The server obtains trading prices from the power exchange API.

サーバは、電力取引所のAPIを使用して、指定された時間帯の取引価格を取得する。取得された取引価格は、電気料金の計算に使用される。 The server uses the power exchange's API to obtain the trading price for the specified time period. The obtained trading price is used to calculate the electricity bill.

入力:解析された電力使用情報(充電したい時間帯) Input: Analyzed power usage information (time period you want to charge)

出力:指定された時間帯の取引価格 Output: Trading price for the specified time period

ステップ4: Step 4:

サーバが電気料金を計算する。 The server calculates the electricity bill.

サーバは、取得した取引価格に基づいて、ユーザーが指定した時間帯の電気料金を計算する。計算には、取引価格と使用時間が使用される。 The server calculates the electricity charges for the time period specified by the user based on the acquired transaction price. The transaction price and usage time are used for the calculation.

入力:指定された時間帯の取引価格、使用時間 Input: Trading price for the specified time period, usage time

出力:計算された電気料金 Output: Calculated electricity cost

ステップ5: Step 5:

サーバが最適な使用時間帯を計算する。 The server will calculate the optimal usage time.

サーバは、ユーザーが入力した時間帯の中で最も電気料金が安い時間帯を計算する。この計算には、リアルタイムの取引価格データが使用される。 The server calculates the cheapest electricity rate among the time periods entered by the user. This calculation uses real-time trading price data.

入力:指定された時間帯の取引価格、使用時間 Input: Trading price for the specified time period, usage time

出力:最適な使用時間帯 Output: Optimal usage time

ステップ6: Step 6:

サーバが計算結果をユーザーに提示する。 The server presents the calculation results to the user.

サーバは、計算した最適な使用時間帯と予想電気料金をユーザー端末に送信し、ユーザーに提示する。ユーザーは、提示された情報を基に最適な充電時間帯を選択することができる。 The server then sends the calculated optimal usage time and estimated electricity charges to the user's terminal and presents them to the user. The user can then select the optimal charging time based on the presented information.

入力:最適な使用時間帯、計算された電気料金 Input: Optimal usage time, calculated electricity rate

出力:ユーザーに提示された最適な使用時間帯と予想電気料金 Output: Optimal usage times and estimated electricity rates presented to the user

更に、ユーザの感情を推定する感情エンジンを組み合わせてもよい。すなわち、特定処理部290は、感情特定モデル59を用いてユーザの感情を推定し、ユーザの感情を用いた特定処理を行うようにしてもよい。 Furthermore, an emotion engine that estimates the user's emotion may be combined. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59 and perform identification processing using the user's emotion.

「形態例1」 "Example 1"

本発明の一実施形態として、感情エンジンを組み込んだシステムが提供される。このシステムは、ユーザーの声や表情、行動などから感情を認識し、その感情に応じて最適な家電の使用時間帯を提案する。例えば、ユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電(例:テレビやゲーム機)の使用を提案する。また、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェアやアロマディフューザー)の使用を提案する。これにより、ユーザーの感情に応じた最適な家電の使用時間帯を提案することが可能となる。 One embodiment of the present invention provides a system incorporating an emotion engine. This system recognizes emotions from the user's voice, facial expressions, actions, etc., and suggests optimal times to use home appliances based on those emotions. For example, if the user is expressing joy, the system suggests using home appliances that are highly entertaining (e.g., televisions or game consoles). Alternatively, if the user is feeling stressed, the system suggests using home appliances that contribute to relaxation (e.g., massage chairs or aroma diffusers). This makes it possible to suggest optimal times to use home appliances based on the user's emotions.

「形態例2」 "Example 2"

また、本発明の別の実施形態として、感情エンジンの認識結果に基づき、電気料金の提案を調整するシステムが提供される。このシステムは、ユーザーの感情に応じて電気料金の提案を最適化する。例えば、ユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電の使用時間帯を延長し、その結果として発生する電気料金の増加を提案する。一方、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電の使用時間帯を延長し、その結果として発生する電気料金の増加を提案する。これにより、ユーザーの感情に応じた最適な電気料金の提案を行うことが可能となる。 In another embodiment of the present invention, a system is provided that adjusts electricity rate proposals based on the recognition results of an emotion engine. This system optimizes electricity rate proposals according to the user's emotions. For example, if the user is expressing joy, the system extends the usage time periods for entertainment-oriented home appliances and proposes an increase in the resulting electricity bill. On the other hand, if the user is feeling stressed, the system extends the usage time periods for relaxation-oriented home appliances and proposes an increase in the resulting electricity bill. This makes it possible to propose optimal electricity rates according to the user's emotions.

「形態例3」 "Example 3"

本発明の一実施形態として、感情エンジンを組み込んだシステムが提供される。このシステムは、ユーザーの声や表情、行動などから感情を認識し、その感情に応じて最適な家電の使用時間帯を提案する。例えば、ユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電(例:テレビやゲーム機)の使用を提案する。また、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェアやアロマディフューザー)の使用を提案する。これにより、ユーザーの感情に応じた最適な家電の使用時間帯を提案することが可能となる。 One embodiment of the present invention provides a system incorporating an emotion engine. This system recognizes emotions from the user's voice, facial expressions, actions, etc., and suggests optimal times to use home appliances based on those emotions. For example, if the user is expressing joy, the system suggests using home appliances that are highly entertaining (e.g., televisions or game consoles). Alternatively, if the user is feeling stressed, the system suggests using home appliances that contribute to relaxation (e.g., massage chairs or aroma diffusers). This makes it possible to suggest optimal times to use home appliances based on the user's emotions.

以下に、各形態例の処理の流れについて説明する。 The processing flow for each example form is explained below.

「形態例1」 "Example 1"

ステップ1:システムは、ユーザーの声や表情、行動などから感情を認識する感情エンジンを起動する。 Step 1: The system activates an emotion engine that recognizes emotions from the user's voice, facial expressions, behavior, etc.

ステップ2:感情エンジンは、ユーザーの感情を認識し、その結果をシステムに伝える。ステップ3:システムは、感情エンジンからの結果に基づき、最適な家電の使用時間帯を計算する。 Step 2: The emotion engine recognizes the user's emotions and communicates the results to the system. Step 3: The system calculates the optimal time to use home appliances based on the results from the emotion engine.

ステップ4:システムは、計算した最適な使用時間帯をユーザーに提案する。 Step 4: The system will suggest the calculated optimal usage time to the user.

「形態例2」 "Example 2"

ステップ1:システムは、ユーザーの声や表情、行動などから感情を認識する感情エンジンを起動する。 Step 1: The system activates an emotion engine that recognizes emotions from the user's voice, facial expressions, behavior, etc.

ステップ2:感情エンジンは、ユーザーの感情を認識し、その結果をシステムに伝える。ステップ3:システムは、感情エンジンからの結果に基づき、電気料金の提案を調整する。 Step 2: The emotion engine recognizes the user's emotions and communicates the results to the system. Step 3: The system adjusts the electricity rate proposal based on the results from the emotion engine.

ステップ4:システムは、調整した電気料金の提案をユーザーに伝える。 Step 4: The system communicates the adjusted electricity rate proposal to the user.

「形態例3」 "Example 3"

ステップ1:システムは、ユーザーの声や表情、行動などから感情を認識する感情エンジンを起動する。 Step 1: The system activates an emotion engine that recognizes emotions from the user's voice, facial expressions, behavior, etc.

ステップ2:感情エンジンは、ユーザーの感情を認識し、その結果をシステムに伝える。ステップ3:システムは、感情エンジンからの結果に基づき、最適な家電の使用時間帯を計算する。 Step 2: The emotion engine recognizes the user's emotions and communicates the results to the system. Step 3: The system calculates the optimal time to use home appliances based on the results from the emotion engine.

ステップ4:システムは、計算した最適な使用時間帯をユーザーに提案する。 Step 4: The system will suggest the calculated optimal usage time to the user.

(実施例1) (Example 1)

次に、形態例1の実施例1について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマートデバイス14を「端末」と称する。 Next, we will explain Example 1 of Form Example 1. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart device 14 will be referred to as the "terminal."

従来の電気料金計算システムでは、電力市場の取引価格に基づく電気料金の計算が行われているが、ユーザーの感情や行動に基づいた最適な家電の使用時間帯の提案が行われていない。そのため、ユーザーの感情に応じた家電の使用を促進することができず、ユーザーの満足度を向上させることが難しいという課題がある。 Conventional electricity bill calculation systems calculate electricity bills based on the trading price in the electricity market, but do not suggest optimal times to use home appliances based on the user's emotions or behavior. As a result, they are unable to promote the use of home appliances in accordance with the user's emotions, making it difficult to improve user satisfaction.

実施例1におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 1 is realized by the following means.

この発明では、サーバは、電力市場から取引価格情報を取得する手段と、取得した取引価格情報を解析し電気料金の単価を算出する手段と、ユーザーの消費電力量を取得する手段と、電気料金の単価と消費電力量を基に電気料金を計算する手段と、計算結果をユーザーに通知する手段と、ユーザーの声や表情、行動を収集する手段と、収集したデータを解析しユーザーの感情を認識する手段と、認識した感情に基づいて最適な家電の使用時間帯を提案する手段と、提案内容をユーザーに通知する手段を含む。これにより、ユーザーの感情に応じた最適な家電の使用時間帯を提案し、ユーザーの満足度を向上させることが可能となる。 In this invention, the server includes means for acquiring trading price information from the electricity market, means for analyzing the acquired trading price information and calculating the unit price of electricity, means for acquiring the user's power consumption, means for calculating the electricity bill based on the unit price of electricity and the power consumption, means for notifying the user of the calculation results, means for collecting the user's voice, facial expressions, and behavior, means for analyzing the collected data and recognizing the user's emotions, means for proposing optimal times for using home appliances based on the recognized emotions, and means for notifying the user of the proposed content. This makes it possible to suggest optimal times for using home appliances based on the user's emotions, thereby improving user satisfaction.

「電力市場」とは、電力の売買が行われる市場であり、電力の取引価格が決定される場所である。 An "electricity market" is a market where electricity is bought and sold, and where the trading price of electricity is determined.

「取引価格情報」とは、電力市場における電力の売買価格に関するデータである。 "Trading price information" refers to data regarding the buying and selling prices of electricity in the electricity market.

「電気料金の単価」とは、一定量の電力に対する料金を示す価格であり、取引価格情報に基づいて算出されるものである。 "Electricity unit price" refers to the price per unit of electricity, calculated based on transaction price information.

「消費電力量」とは、ユーザーが一定期間に消費した電力の量を示すデータである。 "Power consumption" is data that indicates the amount of electricity consumed by a user over a certain period of time.

「電気料金」とは、消費電力量に電気料金の単価を掛け合わせて算出される料金である。 "Electricity charge" is a charge calculated by multiplying the amount of electricity consumed by the unit price of electricity.

「ユーザーの声や表情、行動」とは、ユーザーが発する音声、顔の表情、身体の動きなどの情報を指す。 "User's voice, facial expressions, and actions" refers to information such as the voice, facial expressions, and body movements made by the user.

「感情を認識する手段」とは、ユーザーの声や表情、行動を解析し、ユーザーの感情を特定するための技術や装置である。 "Means for recognizing emotions" refers to technology or devices that analyze a user's voice, facial expressions, and behavior to identify the user's emotions.

「最適な家電の使用時間帯」とは、ユーザーの感情や行動に基づいて、家電を使用するのに最も適した時間帯を指す。 "Optimal time to use home appliances" refers to the most suitable time to use home appliances based on the user's emotions and behavior.

「提案内容をユーザーに通知する手段」とは、計算結果や提案内容をユーザーに伝えるための技術や装置である。 "Means for notifying users of proposal content" refers to technology or devices used to communicate calculation results and proposal content to users.

本発明は、市場連動型プランに基づく電気料金を計算し、ユーザーの感情に応じた最適な家電の使用時間帯を提案するシステムである。このシステムは、サーバと端末を含む複数のコンポーネントから構成される。 This invention is a system that calculates electricity rates based on market-linked plans and suggests optimal times for using home appliances based on the user's emotions. This system consists of multiple components, including a server and a terminal.

まず、サーバは電力市場から取引価格情報を取得する。取引価格情報は、電力市場における電力の売買価格に関するデータであり、APIを通じて取得される。例えば、HTTPリクエストを送信し、JSON形式で価格データを受け取る。サーバはこのデータを解析し、一定期間(例:1時間ごと)の平均価格を計算するために、Pythonのpandasライブラリを使用する。具体的には、JSONデータをpandasのDataFrameに変換し、resample('H').mean()メソッドを使用して1時間ごとの平均価格を計算する。 First, the server obtains trading price information from the electricity market. Trading price information is data on the buying and selling prices of electricity in the electricity market, and is obtained through an API. For example, an HTTP request is sent and price data is received in JSON format. The server analyzes this data and uses Python's pandas library to calculate the average price over a certain period (e.g., every hour). Specifically, it converts the JSON data into a pandas DataFrame and calculates the average price for each hour using the resample('H').mean() method.

次に、サーバはユーザーのスマートメーターから消費電力量データを取得する。スマートメーターのデータは、IoTデバイスからMQTTプロトコルを使用して送信される。サーバはMQTTブローカーに接続し、ユーザーの消費電力量データを受信する。受信したデータを基に、電気料金の単価と消費電力量を掛け合わせて電気料金を計算する。例えば、単価が10円/kWhで消費電力量が5kWhの場合、電気料金は50円となる。計算結果は、SMTPプロトコルを使用してメールを送信するか、Firebase Cloud Messagingを使用してプッシュ通知を送信することで、ユーザーに通知される。 Next, the server obtains power consumption data from the user's smart meter. Smart meter data is sent from the IoT device using the MQTT protocol. The server connects to the MQTT broker and receives the user's power consumption data. Based on the received data, the electricity bill is calculated by multiplying the electricity rate by the amount of power consumed. For example, if the unit price is 10 yen/kWh and the amount of power consumed is 5kWh, the electricity bill will be 50 yen. The calculation result is notified to the user by sending an email using the SMTP protocol or a push notification using Firebase Cloud Messaging.

一方、端末はユーザーの声や表情、行動を収集する。これには、カメラやマイクを使用し、音声認識にはGoogle(登録商標) Cloud Speech-to-Text API、顔認識にはOpenCVを使用する。端末はカメラでユーザーの顔をキャプチャし、OpenCVを使用して顔の特徴点を抽出する。また、マイクで音声を録音し、Google Cloud Speech-to-Text APIを使用してテキストに変換する。収集したデータを解析し、ユーザーの感情を認識するために、Microsoft(登録商標) Azure(登録商標) Emotion APIを使用する。端末は顔の特徴点データをMicrosoft Azure Emotion APIに送信し、感情ラベル(例:喜び、悲しみ、怒り)を取得する。 Meanwhile, the device collects the user's voice, facial expressions, and behavior. To do this, it uses a camera and microphone, and uses the Google® Cloud Speech-to-Text API for voice recognition and OpenCV for facial recognition. The device captures the user's face with its camera and extracts facial feature points using OpenCV. It also records audio with its microphone and converts it into text using the Google Cloud Speech-to-Text API. To analyze the collected data and recognize the user's emotions, it uses the Microsoft® Azure® Emotion API. The device sends facial feature point data to the Microsoft Azure Emotion API and obtains emotion labels (e.g., joy, sadness, anger).

認識した感情に基づいて、端末は最適な家電の使用時間帯を提案する。例えば、ユーザーが喜びの感情を示している場合、テレビの使用を提案する。また、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェアやアロマディフューザー)の使用を提案する。提案内容は、Firebase Cloud Messagingを使用してプッシュ通知を送信するか、音声アシスタントを通じて提案内容を音声で伝える。 Based on the recognized emotions, the device will suggest optimal times to use home appliances. For example, if the user is expressing joy, it will suggest using the television. If the user is feeling stressed, it will suggest using appliances that contribute to relaxation (e.g., a massage chair or aroma diffuser). Suggestions are sent via push notifications using Firebase Cloud Messaging or spoken through the voice assistant.

具体例として、ユーザーが1時間に5kWhの電力を消費し、その時間帯の取引価格が10円/kWhであった場合、電気料金は50円となる。また、ユーザーがカメラに向かって笑顔を見せた場合、システムはユーザーが喜びの感情を示していると認識し、テレビの使用を提案する。 For example, if a user consumes 5kWh of electricity in one hour and the trading price for that time period is 10 yen/kWh, the electricity bill will be 50 yen. Also, if the user smiles at the camera, the system recognizes that the user is expressing a happy emotion and suggests using the television.

プロンプト文の例としては、「電力取引所から取得した取引価格情報を基に、1時間ごとの電気料金を計算してください。」や「ユーザーの声や表情から感情を認識し、その感情に応じて最適な家電の使用時間帯を提案してください。」が挙げられる。 Examples of prompts include, "Calculate the hourly electricity bill based on trading price information obtained from the power exchange," and "Recognize the user's emotions from their voice and facial expressions, and suggest the optimal times to use home appliances based on those emotions."

実施例1における特定処理の流れについて図17を用いて説明する。 The flow of the identification process in Example 1 will be explained using Figure 17.

ステップ1: Step 1:

サーバは、電力市場から取引価格情報を取得する。 The server obtains trading price information from the electricity market.

入力: 電力市場のAPIエンドポイント。 Input: Power market API endpoint.

具体的な動作: サーバは「https://api.electricity-market.com/prices」のようなエンドポイントにHTTPリクエストを送信し、取引価格情報をJSON形式で受け取る。 Specific operation: The server sends an HTTP request to an endpoint such as "https://api.electricity-market.com/prices" and receives trading price information in JSON format.

出力: 取得した取引価格情報(JSONデータ)。 Output: Retrieved trading price information (JSON data).

ステップ2: Step 2:

サーバは、取得した取引価格情報を解析し、電気料金の単価を算出する。 The server analyzes the acquired transaction price information and calculates the unit price of electricity.

入力: 取引価格情報(JSONデータ)。 Input: Trading price information (JSON data).

具体的な動作: サーバはJSONデータをpandasのDataFrameに変換し、resample('H').mean()メソッドを使用して1時間ごとの平均価格を計算する。 Specific operation: The server converts the JSON data into a pandas DataFrame and calculates the average price for each hour using the resample('H').mean() method.

出力: 1時間ごとの平均価格(電気料金の単価)。 Output: Average hourly price (unit price of electricity).

ステップ3: Step 3:

サーバは、ユーザーのスマートメーターから消費電力量データを取得する。 The server obtains power consumption data from the user's smart meter.

入力: スマートメーターのデータ(MQTTメッセージ)。 Input: Smart meter data (MQTT message).

具体的な動作: サーバはMQTTブローカーに接続し、ユーザーの消費電力量データを受信する。 Specific operation: The server connects to the MQTT broker and receives the user's power consumption data.

出力: ユーザーの消費電力量データ。 Output: User power consumption data.

ステップ4: Step 4:

サーバは、電気料金の単価と消費電力量を基に電気料金を計算する。 The server calculates the electricity bill based on the unit price of electricity and the amount of electricity consumed.

入力: 電気料金の単価、消費電力量データ。 Input: Electricity unit price and power consumption data.

具体的な動作: サーバは計算式 料金 = 単価 消費電力量 を実行し、電気料金を算出する。 Specific operation: The server executes the formula: Charge = Unit Price Power Consumption to calculate the electricity charge.

出力: 計算された電気料金。 Output: Calculated electricity cost.

ステップ5: Step 5:

サーバは、計算結果をユーザーに通知する。 The server notifies the user of the calculation results.

入力: 計算された電気料金。 Input: Calculated electricity cost.

具体的な動作: サーバはSMTPプロトコルを使用してメールを送信するか、Firebase Cloud Messagingを使用してプッシュ通知を送信する。 Specific behavior: The server sends emails using the SMTP protocol or push notifications using Firebase Cloud Messaging.

出力: ユーザーに通知された電気料金。 Output: The electricity charge notified to the user.

ステップ6: Step 6:

端末は、ユーザーの声や表情、行動を収集する。 The device collects the user's voice, facial expressions, and behavior.

入力: ユーザーの声、表情、行動。 Input: User's voice, facial expressions, and actions.

具体的な動作: 端末はカメラでユーザーの顔をキャプチャし、OpenCVを使用して顔の特徴点を抽出する。また、マイクで音声を録音し、Google Cloud Speech-to-Text APIを使用してテキストに変換する。 Specific operations: The device captures the user's face with the camera and extracts facial feature points using OpenCV. It also records audio with the microphone and converts it to text using the Google Cloud Speech-to-Text API.

出力: ユーザーの声や表情、行動のデータ。 Output: User's voice, facial expression, and behavioral data.

ステップ7: Step 7:

端末は、収集したデータを解析し、ユーザーの感情を認識する。 The device analyzes the collected data and recognizes the user's emotions.

入力: ユーザーの声や表情、行動のデータ。 Input: User voice, facial expression, and behavioral data.

具体的な動作: 端末は顔の特徴点データをMicrosoft Azure Emotion APIに送信し、感情ラベル(例:喜び、悲しみ、怒り)を取得する。 Specific operation: The device sends facial feature point data to the Microsoft Azure Emotion API and obtains an emotion label (e.g., happy, sad, or angry).

出力: 認識された感情ラベル。 Output: Recognized emotion label.

ステップ8: Step 8:

端末は、認識した感情に基づいて最適な家電の使用時間帯を提案する。 The device will suggest optimal times to use home appliances based on the emotions it recognizes.

入力: 認識された感情ラベル。 Input: Recognized emotion label.

具体的な動作: 端末は感情ラベルを基に、事前に設定された家電のリストから最適な家電を選択し、使用時間帯を提案する。 Specific operation: Based on the emotion label, the device selects the most suitable appliance from a pre-defined list and suggests usage times.

出力: 提案された家電の使用時間帯。 Output: Suggested appliance usage times.

ステップ9: Step 9:

端末は、提案内容をユーザーに通知する。 The device will notify the user of the suggestions.

入力: 提案された家電の使用時間帯。 Input: Suggested appliance usage time period.

具体的な動作: 端末はFirebase Cloud Messagingを使用してプッシュ通知を送信するか、音声アシスタントを通じて提案内容を音声で伝える。 What happens: The device will send a push notification using Firebase Cloud Messaging or speak the suggestion through your voice assistant.

出力: ユーザーに通知された提案内容。 Output: The suggestion notified to the user.

(応用例1) (Application Example 1)

次に、形態例1の応用例1について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマートデバイス14を「端末」と称する。 Next, we will explain Application Example 1 of Form Example 1. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart device 14 will be referred to as the "terminal."

従来の電気料金計算システムは、市場連動型プランに基づく電気料金の計算や、ユーザーからの家電使用情報に基づく最適な使用時間帯の提案に限定されていた。しかし、ユーザーの感情状態を考慮した家電の使用提案が行われていないため、ユーザーの満足度や快適性を向上させることができなかった。また、感情に基づく家電の使用提案がないため、ユーザーの心理的なニーズに応じたエネルギー管理が実現できていなかった。 Conventional electricity bill calculation systems were limited to calculating electricity rates based on market-linked plans and suggesting optimal usage times based on information about home appliance usage from users. However, because they did not consider the user's emotional state when making suggestions about home appliance usage, they were unable to improve user satisfaction or comfort. Furthermore, because they did not make suggestions about home appliance usage based on emotions, energy management that responded to the user's psychological needs was not possible.

応用例1におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーの感情を認識する手段と、認識した感情に基づいて最適な家電の使用を提案する手段と、を含む。これにより、ユーザーの感情状態に応じた最適な家電の使用提案が可能となり、ユーザーの満足度や快適性を向上させることができる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from a user, means for calculating optimal usage times based on the received home appliance usage information, means for proposing the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions, and means for proposing optimal home appliance usage based on the recognized emotions. This makes it possible to suggest optimal home appliance usage based on the user's emotional state, thereby improving user satisfaction and comfort.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を算出するための装置またはソフトウェアである。 "Means for calculating electricity charges" means a device or software for calculating electricity charges based on a market-linked plan.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用したい家電の種類や使用時間を入力するためのインターフェースである。 "Means for receiving home appliance usage information from users" refers to an interface that allows users to input the type of home appliance they wish to use and the usage time.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報に基づいて、最も効率的な使用時間帯を算出する装置またはソフトウェアである。 "Means for calculating optimal usage time periods" refers to a device or software that calculates the most efficient usage time periods based on the received home appliance usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知するためのインターフェースである。 "Means for making suggestions to users" refers to an interface that notifies users of the calculated optimal usage time and electricity charges.

「ユーザーの感情を認識する手段」とは、ユーザーの声や表情、行動などから感情を検出するための装置またはソフトウェアである。 "Means for recognizing user emotions" refers to devices or software that detect emotions from the user's voice, facial expressions, behavior, etc.

「最適な家電の使用を提案する手段」とは、認識した感情に基づいて、ユーザーに最適な家電の使用を提案するための装置またはソフトウェアである。 "Means for suggesting optimal home appliance usage" refers to a device or software that suggests optimal home appliance usage to a user based on recognized emotions.

この発明を実施するための形態として、以下のシステム構成を説明する。 The following system configuration is described as an embodiment of this invention.

システム構成 System Configuration

サーバは、市場連動型プランに基づく電気料金を計算する手段、ユーザーからの家電使用情報を受け取る手段、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段、計算した最適な使用時間帯と電気料金をユーザーに提案する手段、ユーザーの感情を認識する手段、認識した感情に基づいて最適な家電の使用を提案する手段を含む。 The server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from a user, means for calculating optimal usage times based on the received home appliance usage information, means for suggesting the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions, and means for suggesting optimal home appliance usage based on the recognized emotions.

プログラムの処理 Program processing

サーバは、まず電力取引所の取引価格情報を取得する。この情報は、APIを通じて取得される。次に、取得した取引価格情報を基に電気料金を計算する。計算された電気料金は、ユーザーが入力した家電使用情報に基づいて最適な使用時間帯を算出するために使用される。 The server first obtains trading price information from the power exchange. This information is obtained via an API. It then calculates the electricity bill based on the obtained trading price information. The calculated electricity bill is used to calculate the optimal usage time based on the appliance usage information entered by the user.

ユーザーの感情を認識するために、サーバは感情認識ソフトウェアを使用する。このソフトウェアは、ユーザーの声や表情、行動などから感情を検出する。認識された感情に基づいて、サーバは最適な家電の使用を提案する。 To recognize the user's emotions, the server uses emotion recognition software. This software detects emotions from the user's voice, facial expressions, and behavior. Based on the recognized emotions, the server suggests the optimal use of home appliances.

使用するハードウェアおよびソフトウェア Hardware and software used

ハードウェア:サーバ、ユーザー端末(スマートフォン、タブレットなど) Hardware: Servers, user devices (smartphones, tablets, etc.)

ソフトウェア:感情認識ソフトウェア、電力取引所API、家電制御ソフトウェア Software: Emotion recognition software, power exchange API, home appliance control software

具体例 Specific examples

例えば、ユーザーがスマートフォンを使用している場合、スマートフォンのカメラを使用して顔を認識させる。アプリがユーザーの感情を「ストレス」と認識した場合、サーバは「マッサージチェア」と「アロマディフューザー」の使用を提案する。現在の電力価格に基づいて、これらの家電の使用コストを計算し、ユーザーに通知する。 For example, if a user is using a smartphone, the app uses the smartphone's camera to recognize their face. If the app recognizes the user's emotion as "stress," the server will suggest using a "massage chair" and an "aroma diffuser." Based on the current electricity price, the server will calculate the cost of using these appliances and notify the user.

プロンプト文の例 Example prompt

ユーザーの感情を認識し、最適な家電の使用時間帯を提案するスマートフォンアプリを設計してください。アプリは電力取引所の取引価格情報を取得し、それに基づいて電気料金を計算します。ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェアやアロマディフューザー)の使用を提案します。 Design a smartphone app that recognizes the user's emotions and suggests optimal times to use home appliances. The app retrieves trading price information from the power exchange and calculates electricity bills based on that information. If the user is feeling stressed, it suggests using home appliances that contribute to relaxation (e.g., a massage chair or aroma diffuser).

応用例1における特定処理の流れについて図18を用いて説明する。 The flow of the specific processing in Application Example 1 is explained using Figure 18.

ステップ1: Step 1:

サーバは、電力取引所の取引価格情報を取得する。 The server obtains trading price information from the power exchange.

入力:電力取引所APIのエンドポイント Input: Power Exchange API endpoint

データ加工:APIリクエストを送信し、取引価格情報を取得する Data processing: Send API requests and obtain trading price information.

出力:取引価格情報(JSON形式) Output: Trading price information (JSON format)

ステップ2: Step 2:

サーバは、取得した取引価格情報を基に電気料金を計算する。 The server calculates electricity charges based on the acquired transaction price information.

入力:取引価格情報 Input: Transaction price information

データ演算:取引価格情報から現在の電力単価を抽出し、使用量に応じた電気料金を計算する Data calculation: Extracts current electricity unit prices from trading price information and calculates electricity charges based on usage.

出力:計算された電気料金 Output: Calculated electricity cost

ステップ3: Step 3:

ユーザは、スマートフォンを使用して家電使用情報を入力する。 Users enter home appliance usage information using their smartphones.

入力:家電の種類、使用時間 Input: Type of appliance, usage time

データ加工:入力された情報をサーバに送信する Data processing: Send the entered information to the server.

出力:家電使用情報 Output: Appliance usage information

ステップ4: Step 4:

サーバは、受け取った家電使用情報に基づき最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the received appliance usage information.

入力:家電使用情報、取引価格情報 Input: Appliance usage information, transaction price information

データ演算:家電使用情報と取引価格情報を組み合わせて、最もコスト効率の良い使用時間帯を算出する Data calculation: Combining appliance usage information and transaction price information to calculate the most cost-effective usage times.

出力:最適な使用時間帯 Output: Optimal usage time

ステップ5: Step 5:

サーバは、計算した最適な使用時間帯と電気料金をユーザに提案する。 The server then proposes the optimal usage time and electricity rates to the user.

入力:最適な使用時間帯、計算された電気料金 Input: Optimal usage time, calculated electricity rate

データ加工:提案内容を生成し、ユーザ端末に送信する Data processing: Generate proposals and send them to the user's device.

出力:提案内容(最適な使用時間帯と電気料金) Output: Recommendations (optimal usage time and electricity rates)

ステップ6: Step 6:

ユーザは、スマートフォンのカメラを使用して顔を認識させる。 The user uses their smartphone camera to recognize their face.

入力:ユーザの顔画像 Input: User's face image

データ加工:顔画像をサーバに送信する Data processing: Send facial images to the server

出力:顔画像データ Output: Facial image data

ステップ7: Step 7:

サーバは、感情認識ソフトウェアを使用してユーザの感情を認識する。 The server uses emotion recognition software to recognize the user's emotions.

入力:顔画像データ Input: Facial image data

データ演算:顔画像データを解析し、感情を認識する Data calculation: Analyze facial image data and recognize emotions

出力:認識された感情 Output: Recognized emotion

ステップ8: Step 8:

サーバは、認識した感情に基づいて最適な家電の使用を提案する。 The server then suggests the optimal use of home appliances based on the recognized emotions.

入力:認識された感情 Input: Recognized emotion

データ演算:感情に応じた家電の使用提案を生成する Data calculation: Generate home appliance usage suggestions based on emotions

出力:家電使用提案 Output: Home appliance usage suggestion

ステップ9: Step 9:

サーバは、提案された家電の使用コストを計算し、ユーザに通知する。 The server calculates the cost of using the proposed appliances and notifies the user.

入力:家電使用提案、取引価格情報 Input: Appliance usage proposals, transaction price information

データ演算:提案された家電の使用コストを計算する Data calculation: Calculate the usage costs of proposed appliances

出力:使用コスト通知 Output: Usage cost notification

(実施例2) (Example 2)

次に、形態例2の実施例2について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマートデバイス14を「端末」と称する。 Next, we will explain Example 2 of Form Example 2. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart device 14 will be referred to as the "terminal."

従来の電気料金計算システムでは、ユーザーの家電使用情報に基づいて最適な使用時間帯を計算することはできるが、ユーザーの感情状態を考慮した電気料金の提案ができないという課題があった。これにより、ユーザーの感情に応じた最適な家電使用提案ができず、ユーザーの満足度を向上させることが難しかった。 Conventional electricity bill calculation systems can calculate optimal usage times based on a user's appliance usage information, but they have the problem of not being able to propose electricity bills that take into account the user's emotional state. This makes it difficult to propose optimal appliance usage based on the user's emotions, making it difficult to improve user satisfaction.

実施例2におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 2 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、ユーザーの感情を認識する手段と、認識した感情に基づき電気料金の提案を調整する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、を含む。これにより、ユーザーの感情に応じた最適な家電使用提案と電気料金の調整が可能となる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from the user, means for calculating optimal usage time periods based on the received home appliance usage information, means for recognizing the user's emotions, means for adjusting the proposed electricity charge based on the recognized emotions, and means for proposing the calculated optimal usage time periods and electricity charges to the user. This makes it possible to propose optimal home appliance usage and adjust electricity charges according to the user's emotions.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、電力消費量と市場連動型プランに基づいて電気料金を算出するための機能である。 "Means for calculating electricity charges" is a function for calculating electricity charges based on electricity consumption and a market-linked plan.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが入力した家電の種類と使用時間をシステムに取り込むための機能である。 "Means for receiving home appliance usage information from users" is a function for incorporating the type of home appliance and usage time entered by the user into the system.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報を基に、電力消費パターンや過去のデータを考慮して、家電の最適な使用時間帯を算出するための機能である。 "Means for calculating optimal usage times" is a function that calculates the optimal usage times for home appliances based on received home appliance usage information, taking into account power consumption patterns and past data.

「ユーザーの感情を認識する手段」とは、ユーザーの感情状態を分析し、認識するための機能である。 "Means for recognizing user emotions" refers to a function for analyzing and recognizing the user's emotional state.

「電気料金の提案を調整する手段」とは、認識したユーザーの感情に基づいて、電気料金の提案内容を最適化するための機能である。 "Means for adjusting electricity rate proposals" is a function for optimizing electricity rate proposals based on recognized user emotions.

「計算した最適な使用時間帯と電気料金をユーザーに提案する手段」とは、算出された最適な使用時間帯と調整された電気料金をユーザーに通知するための機能である。 "Means for proposing the calculated optimal usage time period and electricity charges to the user" is a function for notifying the user of the calculated optimal usage time period and adjusted electricity charges.

発明を実施するための形態 Form for implementing the invention

この発明は、ユーザーからの家電使用情報を受け取り、それを基に最適な使用時間帯を計算し、さらにユーザーの感情に基づいて電気料金の提案を調整するシステムである。このシステムは、以下のようなハードウェアおよびソフトウェアを使用して実施される。 This invention is a system that receives information about home appliance usage from users, calculates optimal usage times based on that information, and adjusts electricity rate proposals based on the user's emotions. This system is implemented using the following hardware and software.

使用するハードウェアおよびソフトウェア Hardware and software used

ハードウェア Hardware

端末:ユーザーが入力情報を提供するためのデバイス(例:スマートフォン、タブレット、PC) Device: The device on which the user provides input information (e.g., smartphone, tablet, PC)

サーバ:データの処理と保存を行うためのサーバ Server: Server for processing and storing data

ソフトウェア Software

感情エンジン:ユーザーの感情を認識するためのソフトウェア(例:感情認識API) Emotion engine: Software for recognizing user emotions (e.g., emotion recognition API)

データベース:家電使用情報やユーザーの感情データを保存するためのデータベース(例:MySQL、PostgreSQL) Database: A database for storing appliance usage information and user emotion data (e.g., MySQL, PostgreSQL)

システムの具体的な動作 Specific system operation

1. ユーザーの入力情報の収集 1. Collection of user input information

ユーザーは、端末を使用して、使用したい家電の種類と希望する使用時間を入力する。 Users use the terminal to input the type of appliance they want to use and the desired usage time.

具体的な動作として、ユーザーはアプリケーションの入力フォームに「エアコン」「午後2時から午後4時まで」といった情報を入力する。 Specific actions involve the user entering information such as "air conditioner" and "2:00 PM to 4:00 PM" into the application's input form.

2. 入力情報の送信 2. Submitting input information

端末は、ユーザーが入力した情報をサーバに送信する。 The device sends the information entered by the user to the server.

具体的な動作として、端末はHTTPリクエストを使用して、入力情報をサーバに送信する。 Specific operations involve the device sending input information to the server using an HTTP request.

3. 家電の使用時間帯の計算 3. Calculating appliance usage times

サーバは、受け取った家電の種類と使用時間を基に、最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the type of appliance and usage time received.

具体的な動作として、サーバは過去の使用データや電力消費パターンを考慮するアルゴリズムを実行し、最適な使用時間帯を算出する。 Specifically, the server runs an algorithm that takes into account past usage data and power consumption patterns to calculate the optimal usage time period.

例えば、サーバは「エアコンの使用は午後2時から午後4時が最適」と計算する。 For example, the server might calculate that the best time to use the air conditioner is between 2:00 PM and 4:00 PM.

4. 感情エンジンによる感情認識 4. Emotion Recognition Using an Emotion Engine

サーバは、感情エンジンを使用して、ユーザーの感情を認識する。 The server uses an emotion engine to recognize the user's emotions.

具体的な動作として、サーバはユーザーの顔画像や音声データを感情エンジンに入力し、感情状態(例:喜び、ストレス)を取得する。 Specifically, the server inputs the user's facial image and voice data into the emotion engine to obtain their emotional state (e.g., joy, stress).

5. 電気料金の提案調整 5. Proposal for adjusting electricity rates

サーバは、感情エンジンの認識結果に基づき、電気料金の提案を調整する。 The server adjusts the electricity rate suggestions based on the emotion engine's recognition results.

具体的な動作として、サーバはユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電(例:テレビ)の使用時間帯を延長し、その結果として発生する電気料金の増加を提案する。 Specific behavior is that if the user expresses happiness, the server will extend the usage time of entertainment-oriented home appliances (e.g., televisions) and suggest an increase in the resulting electricity bill.

一方、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェア)の使用時間帯を延長する提案を行う。 On the other hand, if the user is feeling stressed, we will suggest extending the usage time of home appliances that contribute to relaxation (e.g., massage chairs).

6. 結果のユーザーへの通知 6. Notifying users of results

サーバは、計算結果と提案内容を端末に送信する。 The server sends the calculation results and suggestions to the device.

端末は、受け取った情報をユーザーに通知する。 The device will notify the user of the received information.

具体的な動作として、端末はプッシュ通知やアプリ内メッセージを使用して、ユーザーに「エアコンの使用は午後2時から午後4時が最適です。また、テレビの使用時間を延長することをお勧めします」と通知する。 Specific actions include the device informing the user via push notifications and in-app messages that "The best time to use the air conditioner is between 2:00 PM and 4:00 PM. We also recommend extending the TV usage time."

具体例 Specific examples

ユーザーの入力 User input

ユーザーがスマートフォンを使用して、「エアコンを午後2時から午後4時まで使用したい」と入力する。 A user uses their smartphone to enter, "I want to use the air conditioner from 2:00 PM to 4:00 PM."

サーバの処理 Server processing

サーバは、エアコンの使用時間帯を計算し、過去のデータや電力消費パターンを考慮して最適な時間帯を提案する。 The server calculates the hours when the air conditioner will be used and suggests the optimal times based on past data and power consumption patterns.

感情エンジンがユーザーの感情を「喜び」と認識した場合、エンターテイメント性の高い家電(例:テレビ)の使用時間帯を延長する提案を行う。 If the emotion engine recognizes the user's emotion as "joy," it will suggest extending the usage time of entertainment-oriented home appliances (e.g., television).

生成AIモデルへのプロンプト文の例 Example prompt for a generative AI model

「ユーザーがエアコンを午後2時から午後4時まで使用したいと入力しました。最適な使用時間帯を計算し、ユーザーの感情が喜びの場合、エンターテイメント性の高い家電の使用時間帯を延長する提案を行ってください。」 "The user inputs that they want to use the air conditioner from 2:00 PM to 4:00 PM. Calculate the optimal usage time, and if the user's emotion is joy, suggest extending the usage time of entertainment appliances."

このシステムにより、ユーザーは効率的に家電を使用できるだけでなく、感情に応じた最適な電気料金の提案を受けることができる。 This system not only allows users to use their home appliances efficiently, but also allows them to receive optimal electricity rate suggestions based on their emotions.

実施例2における特定処理の流れについて図19を用いて説明する。 The flow of the identification process in Example 2 will be explained using Figure 19.

ステップ1: Step 1:

ユーザーの入力情報の収集 Collecting user input information

ユーザーは、端末を使用して、使用したい家電の種類と希望する使用時間を入力する。 Users use the terminal to input the type of appliance they want to use and the desired usage time.

入力:ユーザーがアプリケーションの入力フォームに「エアコン」「午後2時から午後4時まで」といった情報を入力する。 Input: The user enters information such as "air conditioner" and "2:00 PM to 4:00 PM" into the application's input form.

出力:入力された家電の種類と使用時間のデータ。 Output: Data on the type of appliance and usage time entered.

具体的な動作:ユーザーがスマートフォンのアプリケーションを開き、家電の種類と使用時間を入力フォームに入力し、送信ボタンを押す。 Specific operation: The user opens the smartphone application, enters the type of appliance and usage time into the input form, and presses the submit button.

ステップ2: Step 2:

入力情報の送信 Submit input information

端末は、ユーザーが入力した情報をサーバに送信する。 The device sends the information entered by the user to the server.

入力:ユーザーが入力した家電の種類と使用時間のデータ。 Input: Data on the type of appliance and usage time entered by the user.

出力:サーバに送信された家電の種類と使用時間のデータ。 Output: Data on the type of appliance and usage time sent to the server.

具体的な動作:端末はHTTPリクエストを生成し、入力されたデータをサーバに送信する。 Specific operation: The device generates an HTTP request and sends the entered data to the server.

ステップ3: Step 3:

家電の使用時間帯の計算 Calculating appliance usage times

サーバは、受け取った家電の種類と使用時間を基に、最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the type of appliance and usage time received.

入力:サーバに送信された家電の種類と使用時間のデータ。 Input: Data on the type of appliance and usage time sent to the server.

出力:最適な使用時間帯のデータ。 Output: Data on optimal usage times.

具体的な動作:サーバは過去の使用データや電力消費パターンを考慮するアルゴリズムを実行し、最適な使用時間帯を算出する。例えば、「エアコンの使用は午後2時から午後4時が最適」と計算する。 Specific operation: The server runs an algorithm that takes into account past usage data and power consumption patterns to calculate the optimal usage time. For example, it may calculate that the optimal time to use the air conditioner is between 2:00 PM and 4:00 PM.

ステップ4: Step 4:

感情エンジンによる感情認識 Emotion recognition using an emotion engine

サーバは、感情エンジンを使用して、ユーザーの感情を認識する。 The server uses an emotion engine to recognize the user's emotions.

入力:ユーザーの顔画像や音声データ。 Input: User's facial image and voice data.

出力:ユーザーの感情状態(例:喜び、ストレス)。 Output: User's emotional state (e.g., happy, stressed).

具体的な動作:サーバはユーザーの顔画像や音声データを感情エンジンに入力し、感情状態を取得する。 Specific operation: The server inputs the user's facial image and voice data into the emotion engine to obtain their emotional state.

ステップ5: Step 5:

電気料金の提案調整 Proposed adjustment of electricity rates

サーバは、感情エンジンの認識結果に基づき、電気料金の提案を調整する。 The server adjusts the electricity rate suggestions based on the emotion engine's recognition results.

入力:ユーザーの感情状態と最適な使用時間帯のデータ。 Input: User's emotional state and optimal usage time data.

出力:調整された電気料金の提案データ。 Output: Proposed adjusted electricity rates.

具体的な動作:サーバはユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電(例:テレビ)の使用時間帯を延長し、その結果として発生する電気料金の増加を提案する。一方、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェア)の使用時間帯を延長する提案を行う。 Specific behavior: If the user is expressing happiness, the server will suggest extending the usage time of entertainment appliances (e.g., televisions) and reducing the resulting electricity bill increase. On the other hand, if the user is feeling stressed, the server will suggest extending the usage time of relaxation appliances (e.g., massage chairs).

ステップ6: Step 6:

結果のユーザーへの通知 Notifying users of results

サーバは、計算結果と提案内容を端末に送信する。 The server sends the calculation results and suggestions to the device.

端末は、受け取った情報をユーザーに通知する。 The device will notify the user of the received information.

入力:最適な使用時間帯と調整された電気料金の提案データ。 Input: Data suggesting optimal usage times and adjusted electricity rates.

出力:ユーザーへの通知メッセージ。 Output: Notification message to the user.

具体的な動作:端末はプッシュ通知やアプリ内メッセージを使用して、ユーザーに「エアコンの使用は午後2時から午後4時が最適です。また、テレビの使用時間を延長することをお勧めします」と通知する。 Specific behavior: The device will use push notifications and in-app messages to inform the user that "The best time to use the air conditioner is between 2:00 PM and 4:00 PM. We also recommend extending the TV usage time."

(応用例2) (Application Example 2)

次に、形態例2の応用例2について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマートデバイス14を「端末」と称する。 Next, we will explain Application Example 2 of Form Example 2. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart device 14 will be referred to as the "terminal."

従来の家電使用情報を基にした電気料金の最適化システムでは、ユーザーの感情状態を考慮することができず、ユーザーの満足度を高めることが難しかった。また、店舗内の家電製品の使用時間帯を最適化する際に、顧客の感情に応じた調整が行われないため、顧客体験の向上が図れなかった Conventional electricity rate optimization systems based on appliance usage information were unable to take into account the user's emotional state, making it difficult to increase user satisfaction. Furthermore, when optimizing the usage times of in-store appliances, adjustments were not made based on the customer's emotions, preventing an improved customer experience.

応用例2におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、感情認識エンジンを用いてユーザーの感情を認識する手段と、認識された感情に基づいて電気料金の提案を調整する手段と、を含む。これにより、ユーザーの感情状態に応じた最適な家電使用時間帯と電気料金の提案が可能となり、ユーザーの満足度を高めることができる。また、店舗内の家電製品の使用時間帯を顧客の感情に応じて調整することで、顧客体験の向上が図れる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from a user, means for calculating optimal usage times based on the received home appliance usage information, means for proposing the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions using an emotion recognition engine, and means for adjusting the proposed electricity charges based on the recognized emotions. This makes it possible to propose optimal home appliance usage times and electricity charges according to the user's emotional state, thereby increasing user satisfaction. Furthermore, by adjusting the usage times of home appliances in the store according to the customer's emotions, the customer experience can be improved.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を計算するための装置またはプログラムである。 "Means for calculating electricity charges" means a device or program for calculating electricity charges based on a market-linked plan.

「家電使用情報を受け取る手段」とは、ユーザーから家電の種類や使用時間などの情報を入力として受け取るための装置またはプログラムである。 "Means for receiving home appliance usage information" refers to a device or program for receiving information such as the type of home appliance and usage time from the user as input.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報を基に、家電の最適な使用時間帯を計算するための装置またはプログラムである。 "Means for calculating optimal usage time periods" refers to a device or program for calculating optimal usage time periods for home appliances based on received home appliance usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知または表示するための装置またはプログラムである。 "Means for making suggestions to users" refers to a device or program that notifies or displays to users the calculated optimal usage time and electricity charges.

「感情認識エンジン」とは、ユーザーの感情を認識するためのアルゴリズムやプログラムである。 An "emotion recognition engine" is an algorithm or program that recognizes a user's emotions.

「感情を認識する手段」とは、感情認識エンジンを用いてユーザーの感情を検出するための装置またはプログラムである。 "Means for recognizing emotions" refers to a device or program for detecting a user's emotions using an emotion recognition engine.

「電気料金の提案を調整する手段」とは、認識されたユーザーの感情に基づいて電気料金の提案内容を変更するための装置またはプログラムである。 "Means for adjusting electricity rate proposals" is a device or program for changing the content of electricity rate proposals based on recognized user sentiment.

この発明を実施するための形態として、以下のシステム構成を説明する。 The following system configuration is described as an embodiment of this invention.

システム構成 System Configuration

このシステムは、サーバ、ユーザー端末、感情認識エンジン、電気料金計算エンジン、及び家電制御装置から構成される。サーバは、ユーザーからの家電使用情報を受け取り、最適な使用時間帯を計算し、感情認識エンジンを用いてユーザーの感情を認識し、電気料金の提案を調整する役割を担う。 This system consists of a server, user terminal, emotion recognition engine, electricity rate calculation engine, and home appliance control device. The server receives home appliance usage information from the user, calculates the optimal usage time, recognizes the user's emotions using the emotion recognition engine, and adjusts the electricity rate proposal.

プログラムの処理 Program processing

1. 家電使用情報の入力: 1. Enter your appliance usage information:

ユーザー端末は、ユーザーから家電の種類と使用時間を入力として受け取る。この情報はサーバに送信される。 The user device receives input from the user about the type of appliance and the amount of time it has been used. This information is sent to the server.

2. 感情認識: 2. Emotion recognition:

サーバは、感情認識エンジンを用いてユーザーの感情を認識する。感情認識エンジンは、カメラやセンサーから取得したユーザーの画像や音声データを解析し、ユーザーの感情状態を判定する。 The server recognizes the user's emotions using an emotion recognition engine. The emotion recognition engine analyzes the user's image and audio data acquired from cameras and sensors to determine the user's emotional state.

3. 最適な使用時間帯の計算: 3. Calculating the best time to use:

サーバは、受け取った家電使用情報を基に、電気料金計算エンジンを用いて最適な使用時間帯を計算する。電気料金計算エンジンは、市場連動型プランに基づいて電気料金を計算する。 The server uses an electricity rate calculation engine to calculate the optimal usage time based on the received home appliance usage information. The electricity rate calculation engine calculates electricity rates based on a market-linked plan.

4. 電気料金の提案調整: 4. Proposed electricity rate adjustment:

サーバは、認識されたユーザーの感情に基づいて、電気料金の提案を調整する。例えば、ユーザーが喜んでいる場合はエンターテイメント性の高い家電の使用時間を延長し、ストレスを感じている場合はリラクゼーションに寄与する家電の使用時間を延長する。 The server adjusts electricity rate suggestions based on the user's recognized emotions. For example, if the user is happy, it will extend the use of entertainment appliances, and if the user is stressed, it will extend the use of relaxation appliances.

5. ユーザーへの通知: 5. Notice to Users:

サーバは、計算した最適な使用時間帯と調整された電気料金をユーザー端末に通知する。ユーザーは、これに基づいて家電の使用を調整することができる。 The server then notifies the user's device of the calculated optimal usage time period and the adjusted electricity rate. The user can then adjust their home appliance usage accordingly.

使用するハードウェア及びソフトウェア Hardware and software used

ハードウェア: カメラ、センサー、ユーザー端末(スマートフォン、スマート眼鏡など) Hardware: Cameras, sensors, user devices (smartphones, smart glasses, etc.)

ソフトウェア: 感情認識エンジン(EmotionEngine)、電気料金計算エンジン(ElectricityPricing) Software: Emotion recognition engine (EmotionEngine), electricity bill calculation engine (ElectricityPricing)

具体例 Specific examples

例えば、店舗内の照明とエアコンの使用時間を最適化するシナリオを考える。店舗管理者は、スマートフォンを用いて照明とエアコンの使用時間を入力する。サーバは、店舗内のカメラを用いて顧客の感情を認識し、最適な使用時間帯を計算する。顧客が喜んでいる場合は、照明の使用時間を延長し、エンターテイメント性を高める。ストレスを感じている場合は、エアコンの使用時間を延長し、リラクゼーションを促進する。 For example, consider a scenario in which the usage times of lighting and air conditioning in a store are optimized. The store manager uses a smartphone to input the usage times of lighting and air conditioning. The server uses cameras in the store to recognize the customer's emotions and calculates the optimal usage times. If the customer is happy, the lighting usage time is extended to increase entertainment. If the customer is stressed, the air conditioning usage time is extended to promote relaxation.

プロンプト文の例 Example prompt

店舗内の照明とエアコンの使用時間を最適化し、顧客の感情に応じて電気料金の提案を調整するアプリケーションを開発してください。顧客が喜んでいる場合はエンターテイメント性の高い家電の使用時間を延長し、ストレスを感じている場合はリラクゼーションに寄与する家電の使用時間を延長します。 Develop an application that optimizes the use of lighting and air conditioning in stores and adjusts electricity rates based on customer emotions. If a customer is happy, extend the use of entertainment appliances, and if they are stressed, extend the use of relaxation appliances.

このようにして、ユーザーの感情状態に応じた最適な家電使用時間帯と電気料金の提案が可能となり、ユーザーの満足度を高めることができる。また、店舗内の家電製品の使用時間帯を顧客の感情に応じて調整することで、顧客体験の向上が図れる。 In this way, it becomes possible to propose optimal times for using home appliances and electricity rates based on the user's emotional state, thereby increasing user satisfaction. Furthermore, by adjusting the usage times of home appliances in the store based on the customer's emotions, the customer experience can be improved.

応用例2における特定処理の流れについて図20を用いて説明する。 The flow of the specific processing in Application Example 2 is explained using Figure 20.

ステップ1: Step 1:

ユーザー端末は、ユーザーから家電の種類と使用時間を入力として受け取る。具体的には、ユーザーがスマートフォンやスマート眼鏡を用いて、使用したい家電の種類(例えば、照明、エアコンなど)とその使用時間を入力する。この情報は、ユーザー端末からサーバに送信される。入力データは、家電の種類と使用時間であり、出力データはサーバに送信される家電使用情報である。 The user terminal receives the type of appliance and usage time from the user as input. Specifically, the user uses a smartphone or smart glasses to input the type of appliance they want to use (e.g., lighting, air conditioner, etc.) and the usage time. This information is sent from the user terminal to the server. The input data is the type of appliance and usage time, and the output data is the appliance usage information sent to the server.

ステップ2: Step 2:

サーバは、感情認識エンジンを用いてユーザーの感情を認識する。具体的には、サーバがカメラやセンサーから取得したユーザーの画像や音声データを感情認識エンジンに入力し、ユーザーの感情状態を判定する。入力データは、ユーザーの画像や音声データであり、出力データは認識されたユーザーの感情状態である。 The server uses an emotion recognition engine to recognize the user's emotions. Specifically, the server inputs the user's image and voice data acquired by the camera or sensor into the emotion recognition engine to determine the user's emotional state. The input data is the user's image and voice data, and the output data is the recognized emotional state of the user.

ステップ3: Step 3:

サーバは、受け取った家電使用情報を基に、電気料金計算エンジンを用いて最適な使用時間帯を計算する。具体的には、サーバが家電使用情報と市場連動型プランのデータを電気料金計算エンジンに入力し、最適な使用時間帯を計算する。入力データは、家電使用情報と市場連動型プランのデータであり、出力データは最適な使用時間帯である。 Based on the received appliance usage information, the server uses an electricity rate calculation engine to calculate the optimal usage time period. Specifically, the server inputs the appliance usage information and market-linked plan data into the electricity rate calculation engine and calculates the optimal usage time period. The input data is the appliance usage information and market-linked plan data, and the output data is the optimal usage time period.

ステップ4: Step 4:

サーバは、認識されたユーザーの感情に基づいて、電気料金の提案を調整する。具体的には、サーバが感情認識エンジンからの感情状態データを用いて、電気料金計算エンジンの提案を調整する。例えば、ユーザーが喜んでいる場合はエンターテイメント性の高い家電の使用時間を延長し、ストレスを感じている場合はリラクゼーションに寄与する家電の使用時間を延長する。入力データは、ユーザーの感情状態と最適な使用時間帯であり、出力データは調整された電気料金の提案である。 The server adjusts electricity rate suggestions based on the recognized user emotions. Specifically, the server uses emotional state data from the emotion recognition engine to adjust the suggestions of the electricity rate calculation engine. For example, if the user is happy, the server extends the use time of entertainment appliances, and if the user is stressed, the server extends the use time of relaxation appliances. The input data is the user's emotional state and optimal use time periods, and the output data is the adjusted electricity rate suggestions.

ステップ5: Step 5:

サーバは、計算した最適な使用時間帯と調整された電気料金をユーザー端末に通知する。具体的には、サーバが最適な使用時間帯と調整された電気料金のデータをユーザー端末に送信し、ユーザーがそれを確認できるようにする。入力データは、最適な使用時間帯と調整された電気料金であり、出力データはユーザー端末に表示される提案情報である。 The server notifies the user's device of the calculated optimal usage time period and adjusted electricity charges. Specifically, the server sends data on the optimal usage time period and adjusted electricity charges to the user's device, allowing the user to check it. The input data is the optimal usage time period and adjusted electricity charges, and the output data is the suggested information displayed on the user's device.

このようにして、ユーザーの感情状態に応じた最適な家電使用時間帯と電気料金の提案が可能となり、ユーザーの満足度を高めることができる。また、店舗内の家電製品の使用時間帯を顧客の感情に応じて調整することで、顧客体験の向上が図れる。 In this way, it becomes possible to propose optimal times for using home appliances and electricity rates based on the user's emotional state, thereby increasing user satisfaction. Furthermore, by adjusting the usage times of home appliances in the store based on the customer's emotions, the customer experience can be improved.

(実施例3) (Example 3)

次に、形態例3の実施例3について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマートデバイス14を「端末」と称する。 Next, we will explain Example 3 of Form Example 3. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart device 14 will be referred to as the "terminal."

従来の電気料金計算システムでは、ユーザーが家電を使用する最適な時間帯を提案することはできるが、ユーザーの感情に基づいた提案は行われていなかった。そのため、ユーザーの感情状態に応じた最適な家電の使用時間帯を提案することができず、ユーザーの満足度を向上させることが難しかった。さらに、電力取引所の取引価格に基づく電気料金の計算も行われていなかったため、ユーザーが電気料金を抑えるための参考情報を得ることができなかった。 Conventional electricity bill calculation systems could suggest optimal times for users to use home appliances, but they did not make suggestions based on the user's emotions. As a result, they were unable to suggest optimal times to use home appliances based on the user's emotional state, making it difficult to improve user satisfaction. Furthermore, electricity bills were not calculated based on trading prices at the power exchange, meaning users were unable to obtain reference information for reducing their electricity bills.

実施例3におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 3 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーの感情を認識する手段と、認識した感情に基づいて最適な家電の使用時間帯を提案する手段と、を含む。これにより、ユーザーの感情状態に応じた最適な家電の使用時間帯を提案し、電力取引所の取引価格に基づく電気料金の計算を行うことが可能となる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from the user, means for calculating optimal usage times based on the received home appliance usage information, means for proposing the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions, and means for proposing optimal home appliance usage times based on the recognized emotions. This makes it possible to propose optimal home appliance usage times based on the user's emotional state and calculate electricity charges based on the trading price at the power exchange.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、電力取引所の取引価格や家電の消費電力を基にして、使用時間に応じた電気料金を算出する機能を持つ装置またはプログラムである。 "Means for calculating electricity charges" refers to a device or program that has the function of calculating electricity charges according to usage time based on the trading price at the electricity exchange and the power consumption of home appliances.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用したい家電の種類や使用時間を入力するためのインターフェースを提供し、その情報を受信する装置またはプログラムである。 "Means for receiving home appliance usage information from users" refers to a device or program that provides an interface for users to input the type of home appliance they wish to use and the usage time, and receives that information.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報と電力取引所の取引価格を基にして、家電を使用する最適な時間帯を算出する機能を持つ装置またはプログラムである。 "Means for calculating optimal usage time periods" refers to a device or program that has the function of calculating the optimal time periods for using home appliances based on the received home appliance usage information and the trading price at the electricity exchange.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知または表示するための装置またはプログラムである。 "Means for making suggestions to users" refers to a device or program that notifies or displays to users the calculated optimal usage time and electricity charges.

「ユーザーの感情を認識する手段」とは、ユーザーの声や表情、行動などを解析し、ユーザーの感情状態を判断する機能を持つ装置またはプログラムである。 "Means for recognizing user emotions" refers to a device or program that has the function of analyzing the user's voice, facial expressions, behavior, etc., and determining the user's emotional state.

「感情に基づいて最適な家電の使用時間帯を提案する手段」とは、認識したユーザーの感情状態に応じて、最適な家電の使用時間帯を提案する機能を持つ装置またはプログラムである。 "Means for suggesting optimal times to use home appliances based on emotions" refers to a device or program that has the function of suggesting optimal times to use home appliances based on the recognized emotional state of the user.

この発明は、ユーザーが家電を使用する最適な時間帯とその際の電気料金を計算し、ユーザーに提案するシステムである。さらに、ユーザーの感情を認識し、その感情に応じた家電の使用時間帯を提案する機能も備えている。 This invention is a system that calculates the optimal time periods for users to use home appliances and the electricity charges for those times, and makes suggestions to the user. It also has a function that recognizes the user's emotions and suggests times for using home appliances based on those emotions.

使用するハードウェアとソフトウェア Hardware and software used

ハードウェア: サーバ、ユーザー端末(スマートフォン、タブレット、PCなど) Hardware: Servers, user devices (smartphones, tablets, PCs, etc.)

ソフトウェア: 感情認識エンジン、電力取引所データ取得API、生成AIモデル Software: Emotion recognition engine, power exchange data acquisition API, generative AI model

システムの具体的な動作 Specific system operation

1. ユーザーの入力 1. User input

ユーザーが端末を使用して、使用したい家電の種類と使用時間を入力する。 The user uses the device to enter the type of appliance they want to use and the usage time.

例: ユーザーが「エアコンを午後3時から6時まで使用する」と入力する。 Example: User enters "Use the air conditioner from 3pm to 6pm."

2. 電力取引所データの取得 2. Obtaining Power Exchange Data

サーバが電力取引所データ取得APIを呼び出し、指定された時間帯の電力取引価格を取得する。 The server calls the power exchange data acquisition API and obtains the power trading price for the specified time period.

例: サーバがAPIを使用して、午後3時から6時までの電力取引価格データを取得する。 Example: The server uses an API to retrieve electricity trading price data from 3:00 PM to 6:00 PM.

3. 電気料金の計算 3. Calculating your electricity bill

サーバが取得した電力取引価格に基づいて、指定された時間帯の電気料金を計算する。 The electricity charges for the specified time period are calculated based on the electricity trading price obtained by the server.

例: サーバがエアコンの消費電力と取得した電力取引価格を用いて、午後3時から6時までの電気料金を計算する。 Example: The server calculates the electricity bill from 3:00 PM to 6:00 PM using the air conditioner's power consumption and the acquired electricity trading price.

4. 感情認識 4. Emotion recognition

ユーザーの声や表情、行動を端末のカメラやマイクを通じて感情認識エンジンに入力し、ユーザーの感情を認識する。 The user's voice, facial expressions, and actions are input into the emotion recognition engine via the device's camera and microphone, and the user's emotions are recognized.

例: ユーザーが端末のカメラに向かって話しかけると、感情認識エンジンがユーザーの声のトーンや表情を解析し、ユーザーがストレスを感じていると判断する。 Example: When a user speaks into the device's camera, the emotion recognition engine analyzes the user's tone of voice and facial expressions and determines that the user is feeling stressed.

5. 最適な使用時間帯の提案 5. Optimal usage time suggestions

サーバが計算した電気料金とユーザーの感情に基づいて、最適な家電の使用時間帯を提案する。 The server suggests optimal times to use home appliances based on the electricity bill calculated by the server and the user's emotions.

例: サーバがユーザーがストレスを感じていると判断し、リラクゼーションに寄与する家電(例:マッサージチェア)の使用を提案する。 Example: The server determines that the user is feeling stressed and suggests using a home appliance that will promote relaxation (e.g., a massage chair).

6. ユーザーへの提示 6. Presentation to the user

サーバが計算結果と提案をユーザー端末に送信し、ユーザーに提示する。 The server sends the calculation results and suggestions to the user's device and presents them to the user.

例: サーバが計算した電気料金とリラクゼーション家電の使用提案をユーザーのスマートフォンに表示する。 Example: The server displays calculated electricity bills and suggestions for using relaxation appliances on the user's smartphone.

プロンプト文の例 Example prompt

「エアコンを午後3時から6時まで使用する場合の電気料金を計算し、ユーザーがストレスを感じている場合にリラクゼーションに寄与する家電の使用を提案してください。」 "Calculate the electricity cost if the air conditioner is used from 3:00 PM to 6:00 PM, and suggest appliances that will contribute to relaxation if the user is feeling stressed."

このようにして、システムはユーザーの入力と感情に基づいて最適な家電の使用時間帯と電気料金を提案することができる。実施例3における特定処理の流れについて図21を用いて説明する。 In this way, the system can suggest optimal times to use home appliances and electricity rates based on the user's input and emotions. The flow of the identification process in Example 3 will be explained using Figure 21.

ステップ1: Step 1:

ユーザーが端末を使用して、使用したい家電の種類と使用時間を入力する。 The user uses the device to enter the type of appliance they want to use and the usage time.

入力: ユーザーが家電の種類(例:エアコン)と使用時間(例:午後3時から6時まで)を入力する。 Input: The user enters the type of appliance (e.g., air conditioner) and usage time (e.g., 3:00 PM to 6:00 PM).

具体的な動作: ユーザーが端末のアプリを開き、家電の種類と使用時間を入力するフォームにアクセスし、必要な情報を入力する。 Specific operation: The user opens the app on their device, accesses a form to enter the type of appliance and usage time, and enters the required information.

出力: 入力された家電の種類と使用時間のデータがサーバに送信される。 Output: The entered data on the type of appliance and usage time is sent to the server.

ステップ2: Step 2:

サーバが電力取引所データ取得APIを呼び出し、指定された時間帯の電力取引価格を取得する。 The server calls the power exchange data acquisition API and obtains the power trading price for the specified time period.

入力: ユーザーが入力した使用時間(例:午後3時から6時まで)。 Input: The usage time entered by the user (e.g., 3:00 PM to 6:00 PM).

具体的な動作: サーバが電力取引所データ取得APIにリクエストを送信し、指定された時間帯の電力取引価格データを取得する。 Specific operation: The server sends a request to the power exchange data acquisition API to obtain power trading price data for the specified time period.

出力: 取得した電力取引価格データがサーバに保存される。 Output: The acquired electricity trading price data is saved on the server.

ステップ3: Step 3:

サーバが取得した電力取引価格に基づいて、指定された時間帯の電気料金を計算する。 The electricity charges for the specified time period are calculated based on the electricity trading price obtained by the server.

入力: 取得した電力取引価格データと家電の消費電力(例:エアコンの消費電力1.5kW)。 Input: Obtained electricity trading price data and the power consumption of the home appliance (e.g., 1.5kW power consumption of an air conditioner).

具体的な動作: サーバがエアコンの消費電力と取得した電力取引価格を用いて、午後3時から6時までの電気料金を計算する。 Specific operation: The server calculates the electricity bill from 3:00 PM to 6:00 PM using the air conditioner's power consumption and the acquired electricity trading price.

出力: 計算された電気料金(例:3時間×1.5kW×20円=90円)が得られる。 Output: The calculated electricity cost (e.g., 3 hours x 1.5kW x 20 yen = 90 yen) will be obtained.

ステップ4: Step 4:

ユーザーの声や表情、行動を端末のカメラやマイクを通じて感情認識エンジンに入力し、ユーザーの感情を認識する。 The user's voice, facial expressions, and actions are input into the emotion recognition engine via the device's camera and microphone, and the user's emotions are recognized.

入力: ユーザーの声や表情、行動のデータ。 Input: User voice, facial expression, and behavioral data.

具体的な動作: ユーザーが端末のカメラに向かって話しかけると、端末が音声と映像データを感情認識エンジンに送信する。 Specific operation: When the user speaks into the device's camera, the device sends audio and video data to the emotion recognition engine.

出力: 感情認識エンジンが解析した結果として、ユーザーの感情状態(例:ストレスを感じている)が得られる。 Output: The emotion recognition engine analyzes the user's emotional state (e.g., feeling stressed).

ステップ5: Step 5:

サーバが計算した電気料金とユーザーの感情に基づいて、最適な家電の使用時間帯を提案する。 The server suggests optimal times to use home appliances based on the electricity bill calculated by the server and the user's emotions.

入力: 計算された電気料金とユーザーの感情状態。 Input: Calculated electricity bill and user's emotional state.

具体的な動作: サーバがユーザーの感情データと電気料金データを統合し、リラクゼーションに寄与する家電(例:マッサージチェア)の使用を提案する。 Specific operation: The server integrates the user's emotional data and electricity bill data and suggests the use of home appliances that contribute to relaxation (e.g., a massage chair).

出力: 提案内容として、「午後3時から6時までのエアコン使用は90円かかりますが、ストレスを感じているため、マッサージチェアの使用をおすすめします」と表示される。 Output: The suggestion is displayed as "Using the air conditioner between 3:00 PM and 6:00 PM will cost 90 yen, but since you are feeling stressed, we recommend using the massage chair."

ステップ6: Step 6:

サーバが計算結果と提案をユーザー端末に送信し、ユーザーに提示する。 The server sends the calculation results and suggestions to the user's device and presents them to the user.

入力: 計算結果と提案内容。 Input: Calculation results and suggestions.

具体的な動作: サーバが計算結果と提案をユーザー端末に送信する。 Specific operation: The server sends the calculation results and suggestions to the user's device.

出力: ユーザーのスマートフォンに通知が届き、アプリを開くと提案内容が表示される。 Output: The user will receive a notification on their smartphone and the suggestions will be displayed when they open the app.

(応用例3) (Application Example 3)

次に、形態例3の応用例3について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマートデバイス14を「端末」と称する。 Next, we will explain Application Example 3 of Form Example 3. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart device 14 will be referred to as the "terminal."

従来のエネルギー管理システムは、電力取引価格に基づいて電気料金を最適化することはできるが、ユーザーの感情に応じた最適な家電の使用時間帯を提案することはできなかった。また、実店舗においては、顧客の感情に応じた快適な環境を提供することが難しく、顧客満足度の向上が課題であった Conventional energy management systems can optimize electricity rates based on electricity trading prices, but they cannot suggest optimal times for using home appliances based on user emotions. Furthermore, in physical stores, it is difficult to provide a comfortable environment that reflects customer emotions, making improving customer satisfaction a challenge.

応用例3におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーの感情を認識する手段と、認識した感情に基づいて最適な家電の使用時間帯を提案する手段と、店舗内の家電の使用状況をリアルタイムで確認する手段と、顧客の感情に応じた最適な環境設定を行う手段と、を含む。これにより、電気料金の最適化とともに、ユーザーや顧客の感情に応じた最適な家電の使用時間帯の提案および快適な環境の提供が可能となる。 The specific processing by the specific processing unit 290 of the data processing device 12 in Application Example 3 is realized by the following means. In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from the user, means for calculating optimal usage times based on the received home appliance usage information, means for proposing the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions, means for proposing optimal home appliance usage times based on the recognized emotions, means for checking the usage status of home appliances in the store in real time, and means for optimal environmental settings according to the customer's emotions. This makes it possible to optimize electricity charges, propose optimal home appliance usage times according to the user's or customer's emotions, and provide a comfortable environment.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を計算するための装置またはソフトウェアである。 "Means for calculating electricity charges" means a device or software for calculating electricity charges based on a market-linked plan.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用したい家電の種類と使用時間を入力するためのインターフェースである。 "Means for receiving home appliance usage information from users" refers to an interface that allows users to input the type of home appliance they wish to use and the usage time.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報に基づいて、電力取引価格を考慮しながら最適な使用時間帯を計算する装置またはソフトウェアである。 "Means for calculating optimal usage time periods" refers to a device or software that calculates optimal usage time periods based on received home appliance usage information, taking into account electricity trading prices.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知するためのインターフェースである。 "Means for making suggestions to users" refers to an interface that notifies users of the calculated optimal usage time and electricity charges.

「ユーザーの感情を認識する手段」とは、ユーザーの声や表情、行動などから感情を解析するための装置またはソフトウェアである。 "Means for recognizing user emotions" refers to devices or software that analyze emotions from the user's voice, facial expressions, behavior, etc.

「感情に基づいて最適な家電の使用時間帯を提案する手段」とは、認識したユーザーの感情に応じて、最適な家電の使用時間帯を計算し提案する装置またはソフトウェアである。 "Means for suggesting optimal times to use home appliances based on emotions" refers to a device or software that calculates and suggests optimal times to use home appliances based on the user's recognized emotions.

「店舗内の家電の使用状況をリアルタイムで確認する手段」とは、店舗内の家電の使用状況をリアルタイムで監視し、管理者に通知するための装置またはソフトウェアである。 "Means for checking the usage status of home appliances within a store in real time" refers to a device or software that monitors the usage status of home appliances within a store in real time and notifies the manager.

「顧客の感情に応じた最適な環境設定を行う手段」とは、顧客の感情を解析し、それに基づいて店舗内の照明、空調、音楽などの環境設定を最適化する装置またはソフトウェアである。 "Means for optimal environmental settings according to customer emotions" refers to devices or software that analyze customer emotions and, based on that, optimize environmental settings such as lighting, air conditioning, and music in the store.

この発明を実施するための形態として、以下のシステム構成を説明する。 The following system configuration is described as an embodiment of this invention.

システム構成 System Configuration

1. ハードウェア: 1. Hardware:

スマートフォン(iOS/ANDROID(登録商標)) Smartphone (iOS/ANDROID (registered trademark))

スマート眼鏡(例: Google Glass(登録商標)) Smart glasses (e.g., Google Glass (registered trademark))

ヘッドマウントディスプレイ(例: Oculus Rift) Head-mounted display (e.g., Oculus Rift)

ロボット(例: Pepper) Robots (e.g., Pepper)

2. ソフトウェア: 2. Software:

顔認識API(例: Microsoft Azure Face API) Facial recognition API (e.g., Microsoft Azure Face API)

感情認識API(例: Affectiva) Emotion recognition API (e.g. Affectiva)

電力取引価格API(例: EPEX SPOT API) Electricity trading price API (e.g., EPEX SPOT API)

データベース(例: Firebase) Database (e.g., Firebase)

プログラムの処理 Program processing

サーバは、まずユーザーからの家電使用情報を受け取る。ユーザーがスマートフォンアプリを通じて、使用したい家電の種類と使用時間を入力する。次に、サーバは電力取引価格APIを利用して、リアルタイムの電力価格を取得する。これに基づいて、最適な使用時間帯と電気料金を計算し、ユーザーに提案する。 The server first receives information about home appliance usage from the user. The user enters the type of appliance they wish to use and the usage time via a smartphone app. The server then uses an electricity trading price API to obtain real-time electricity prices. Based on this, the server calculates the optimal usage time and electricity rates and makes suggestions to the user.

さらに、サーバはユーザーの感情を認識するために、顔認識APIと感情認識APIを使用する。スマート眼鏡やヘッドマウントディスプレイ、ロボットがユーザーの表情や声をキャプチャし、これをサーバに送信する。サーバはこれらのデータを解析し、ユーザーの感情を認識する。 Furthermore, the server uses facial recognition APIs and emotion recognition APIs to recognize the user's emotions. Smart glasses, head-mounted displays, and robots capture the user's facial expressions and voice and send them to the server. The server analyzes this data and recognizes the user's emotions.

認識した感情に基づいて、サーバは最適な家電の使用時間帯を再計算し、ユーザーに提案する。例えば、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例: マッサージチェアやアロマディフューザー)の使用を提案する。 Based on the recognized emotions, the server recalculates the optimal times to use home appliances and suggests them to the user. For example, if the user is feeling stressed, it will suggest using home appliances that contribute to relaxation (e.g., a massage chair or aroma diffuser).

具体例 Specific examples

具体例として、実店舗におけるエネルギー管理システムを考える。店舗管理者がスマートフォンアプリを使用して、店舗内の家電の使用状況や電気料金の最適化情報をリアルタイムで確認する。スマート眼鏡を装着した店舗スタッフが顧客の表情を分析し、顧客がリラックスしている場合、店舗内の照明を暖色系に変更し、リラクゼーション音楽を再生する。 As a concrete example, consider an energy management system in a physical store. The store manager uses a smartphone app to check the usage status of home appliances in the store and electricity bill optimization information in real time. Store staff wearing smart glasses analyze customers' facial expressions, and if the customer appears relaxed, change the lighting in the store to warm colors and play relaxation music.

プロンプト文の例 Example prompt

顧客の表情データを入力し、感情を認識してください。次に、電力取引価格APIから現在の電力価格を取得し、顧客の感情に応じた最適な家電の使用時間帯を計算してください。計算結果をスマートフォンアプリ、スマート眼鏡、ヘッドマウントディスプレイ、ロボットに表示してください。 Enter customer facial expression data and recognize their emotions. Then, retrieve the current electricity price from the electricity trading price API and calculate the optimal time to use home appliances based on the customer's emotions. Display the calculation results on a smartphone app, smart glasses, a head-mounted display, or a robot.

このようにして、電気料金の最適化とともに、ユーザーや顧客の感情に応じた最適な家電の使用時間帯の提案および快適な環境の提供が可能となる。 In this way, it is possible to optimize electricity rates, suggest optimal times to use home appliances based on the emotions of users and customers, and provide a comfortable environment.

応用例3における特定処理の流れについて図22を用いて説明する。 The flow of the specific processing in Application Example 3 will be explained using Figure 22.

ステップ1: Step 1:

ユーザがスマートフォンアプリを使用して、使用したい家電の種類と使用時間を入力する。入力された情報は、家電の種類と使用時間である。これらの情報はサーバに送信される。 The user uses a smartphone app to input the type of appliance they wish to use and the amount of time they will be using it. The information entered is the type of appliance and the amount of time it will be used. This information is then sent to the server.

ステップ2: Step 2:

サーバは、電力取引価格APIを利用して、リアルタイムの電力価格を取得する。入力は現在の時刻であり、出力はその時刻に対応する電力価格である。サーバはこのデータを基に、家電の使用時間帯における電気料金を計算する。 The server uses the electricity trading price API to obtain real-time electricity prices. The input is the current time, and the output is the electricity price corresponding to that time. Based on this data, the server calculates the electricity charges for the appliances' usage times.

ステップ3: Step 3:

サーバは、計算した最適な使用時間帯と電気料金をユーザに提案する。提案内容は、最適な使用時間帯とその時間帯における電気料金である。これらの情報はスマートフォンアプリに表示される。 The server then proposes the calculated optimal usage time and electricity rates to the user. The proposal includes the optimal usage time and the electricity rate for that time. This information is displayed on the smartphone app.

ステップ4: Step 4:

ユーザがスマート眼鏡やヘッドマウントディスプレイ、ロボットを使用している場合、これらのデバイスがユーザの表情や声をキャプチャする。入力はユーザの表情データや音声データであり、これらのデータはサーバに送信される。 When a user uses smart glasses, a head-mounted display, or a robot, these devices capture the user's facial expressions and voice. The input is the user's facial expression data and voice data, which are sent to the server.

ステップ5: Step 5:

サーバは、顔認識APIと感情認識APIを使用して、ユーザの感情を解析する。入力は表情データや音声データであり、出力は解析された感情データである。サーバはこのデータを基に、ユーザの感情を認識する。 The server uses a facial recognition API and an emotion recognition API to analyze the user's emotions. The input is facial expression data and voice data, and the output is analyzed emotion data. The server recognizes the user's emotions based on this data.

ステップ6: Step 6:

サーバは、認識した感情に基づいて、最適な家電の使用時間帯を再計算する。入力は感情データと家電使用情報であり、出力は感情に応じた最適な使用時間帯である。例えば、ユーザがストレスを感じている場合、リラクゼーションに寄与する家電の使用を提案する。 The server recalculates the optimal time periods for using home appliances based on the recognized emotions. The input is emotion data and appliance usage information, and the output is the optimal usage time periods based on the emotion. For example, if the user is feeling stressed, it will suggest using appliances that will contribute to relaxation.

ステップ7: Step 7:

サーバは、再計算した最適な使用時間帯と電気料金をユーザに提案する。提案内容は、感情に応じた最適な使用時間帯とその時間帯における電気料金である。これらの情報はスマートフォンアプリ、スマート眼鏡、ヘッドマウントディスプレイ、ロボットに表示される。 The server then proposes the recalculated optimal usage times and electricity rates to the user. The proposals include the optimal usage times based on the user's emotions and the electricity rates for those times. This information is displayed on a smartphone app, smart glasses, a head-mounted display, and a robot.

ステップ8: Step 8:

店舗内の家電の使用状況をリアルタイムで確認するために、サーバはデータベースを使用して家電の使用状況を監視する。入力は家電の使用データであり、出力はリアルタイムの使用状況である。これにより、店舗管理者はスマートフォンアプリを通じて家電の使用状況を確認できる。 To check the usage status of home appliances in the store in real time, the server uses a database to monitor the usage status of home appliances. The input is the usage data of the appliances, and the output is the real-time usage status. This allows store managers to check the usage status of home appliances through a smartphone app.

ステップ9: Step 9:

顧客の感情に応じた最適な環境設定を行うために、サーバは照明、空調、音楽などの環境設定を最適化する。入力は顧客の感情データであり、出力は最適化された環境設定である。例えば、顧客がリラックスしている場合、照明を暖色系に変更し、リラクゼーション音楽を再生する。 The server optimizes environmental settings such as lighting, air conditioning, and music to provide optimal environmental settings according to the customer's emotions. The input is the customer's emotional data, and the output is the optimized environmental settings. For example, if the customer is relaxing, the lighting is changed to warm colors and relaxation music is played.

以上のステップにより、電気料金の最適化とともに、ユーザや顧客の感情に応じた最適な家電の使用時間帯の提案および快適な環境の提供が可能となる。 These steps will not only optimize electricity rates, but also suggest optimal times to use home appliances based on the emotions of users and customers, and provide a comfortable environment.

特定処理部290は、特定処理の結果をスマートデバイス14に送信する。スマートデバイス14では、制御部46Aが、出力装置40に対して特定処理の結果を出力させる。マイクロフォン38Bは、特定処理の結果に対するユーザ入力を示す音声を取得する。制御部46Aは、マイクロフォン38Bによって取得されたユーザ入力を示す音声データをデータ処理装置12に送信する。データ処理装置12では、特定処理部290が音声データを取得する。 The specific processing unit 290 transmits the results of the specific processing to the smart device 14. In the smart device 14, the control unit 46A causes the output device 40 to output the results of the specific processing. The microphone 38B acquires audio indicating the user input regarding the results of the specific processing. The control unit 46A transmits audio data indicating the user input acquired by the microphone 38B to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the audio data.

データ生成モデル58は、いわゆる生成AI(Artificial Intelligence)である。データ生成モデル58の一例としては、ChatGPT(登録商標)(インターネット検索<URL: https://openai.com/blog/chatgpt>)等の生成AIが挙げられる。データ生成モデル58は、ニューラルネットワークに対して深層学習を行わせることによって得られる。データ生成モデル58には、指示を含むプロンプトが入力され、かつ、音声を示す音声データ、テキストを示すテキストデータ、及び画像を示す画像データ等の推論用データが入力される。データ生成モデル58は、入力された推論用データをプロンプトにより示される指示に従って推論し、推論結果を音声データ及びテキストデータ等のデータ形式で出力する。ここで、推論とは、例えば、分析、分類、予測、及び/又は要約等を指す。 Data generation model 58 is what is known as generative AI (artificial intelligence). An example of data generation model 58 is generative AI such as ChatGPT (registered trademark) (Internet search <URL: https://openai.com/blog/chatgpt>). Data generation model 58 is obtained by performing deep learning on a neural network. A prompt containing an instruction is input to data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. Data generation model 58 performs inference on the input inference data in accordance with the instructions indicated by the prompt, and outputs the inference results in the form of data such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and/or summarization.

生成AIの他の例としては、Gemini(登録商標)(インターネット検索<URL: https://gemini.google.com/?hl=ja>)が挙げられる。 Another example of generative AI is Gemini (registered trademark) (Internet search <URL: https://gemini.google.com/?hl=ja>).

上記実施形態では、データ処理装置12によって特定処理が行われる形態例を挙げたが、本開示の技術はこれに限定されず、スマートデバイス14によって特定処理が行われるようにしてもよい。 In the above embodiment, an example was given in which the specific processing was performed by the data processing device 12, but the technology disclosed herein is not limited to this, and the specific processing may also be performed by the smart device 14.

[第2実施形態] [Second embodiment]

図3には、第2実施形態に係るデータ処理システム210の構成の一例が示されている。 Figure 3 shows an example of the configuration of a data processing system 210 according to the second embodiment.

図3に示すように、データ処理システム210は、データ処理装置12及びスマート眼鏡214を備えている。データ処理装置12の一例としては、サーバが挙げられる。 As shown in FIG. 3, the data processing system 210 includes a data processing device 12 and smart glasses 214. An example of the data processing device 12 is a server.

データ処理装置12は、コンピュータ22、データベース24、及び通信I/F26を備えている。コンピュータ22は、本開示の技術に係る「コンピュータ」の一例である。コンピュータ22は、プロセッサ28、RAM30、及びストレージ32を備えている。プロセッサ28、RAM30、及びストレージ32は、バス34に接続されている。また、データベース24及び通信I/F26も、バス34に接続されている。通信I/F26は、ネットワーク54に接続されている。ネットワーク54の一例としては、WAN(Wide Area Network)及び/又はLAN(Local Area Network)等が挙げられる。 The data processing device 12 includes a computer 22, a database 24, and a communication I/F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, RAM 30, and storage 32. The processor 28, RAM 30, and storage 32 are connected to a bus 34. The database 24 and communication I/F 26 are also connected to the bus 34. The communication I/F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and/or a LAN (Local Area Network).

スマート眼鏡214は、コンピュータ36、マイクロフォン238、スピーカ240、カメラ42、及び通信I/F44を備えている。コンピュータ36は、プロセッサ46、RAM48、及びストレージ50を備えている。プロセッサ46、RAM48、及びストレージ50は、バス52に接続されている。また、マイクロフォン238、スピーカ240、及びカメラ42も、バス52に接続されている。 The smart glasses 214 include a computer 36, a microphone 238, a speaker 240, a camera 42, and a communication I/F 44. The computer 36 includes a processor 46, RAM 48, and storage 50. The processor 46, RAM 48, and storage 50 are connected to a bus 52. The microphone 238, speaker 240, and camera 42 are also connected to the bus 52.

マイクロフォン238は、ユーザ20が発する音声を受け付けることで、ユーザ20から指示等を受け付ける。マイクロフォン238は、ユーザ20が発する音声を捕捉し、捕捉した音声を音声データに変換してプロセッサ46に出力する。スピーカ240は、プロセッサ46からの指示に従って音声を出力する。 The microphone 238 receives instructions and the like from the user 20 by receiving voice uttered by the user 20. The microphone 238 captures the voice uttered by the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio in accordance with instructions from the processor 46.

カメラ42は、レンズ、絞り、及びシャッタ等の光学系と、CMOS(Complementary Metal-Oxide-Semiconductor)イメージセンサ又はCCD(Charge Coupled Device)イメージセンサ等の撮像素子とが搭載された小型デジタルカメラであり、ユーザ20の周囲(例えば、一般的な健常者の視界の広さに相当する画角で規定された撮像範囲)を撮像する。 Camera 42 is a small digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and captures images of the user 20's surroundings (e.g., an imaging range defined by an angle of view equivalent to the field of vision of a typical healthy person).

通信I/F44は、ネットワーク54に接続されている。通信I/F44及び26は、ネットワーク54を介してプロセッサ46とプロセッサ28との間の各種情報の授受を司る。通信I/F44及び26を用いたプロセッサ46とプロセッサ28との間の各種情報の授受はセキュアな状態で行われる。 The communication I/F 44 is connected to the network 54. The communication I/Fs 44 and 26 are responsible for the exchange of various information between the processor 46 and the processor 28 via the network 54. The exchange of various information between the processor 46 and the processor 28 using the communication I/Fs 44 and 26 is carried out in a secure manner.

図4には、データ処理装置12及びスマート眼鏡214の要部機能の一例が示されている。図4に示すように、データ処理装置12では、プロセッサ28によって特定処理が行われる。ストレージ32には、特定処理プログラム56が格納されている。 Figure 4 shows an example of the main functions of the data processing device 12 and smart glasses 214. As shown in Figure 4, in the data processing device 12, specific processing is performed by the processor 28. A specific processing program 56 is stored in the storage 32.

特定処理プログラム56は、本開示の技術に係る「プログラム」の一例である。プロセッサ28は、ストレージ32から特定処理プログラム56を読み出し、読み出した特定処理プログラム56をRAM30上で実行する。特定処理は、プロセッサ28がRAM30上で実行する特定処理プログラム56に従って、特定処理部290として動作することによって実現される。 The specific processing program 56 is an example of a "program" according to the technology of the present disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as the specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.

ストレージ32には、データ生成モデル58及び感情特定モデル59が格納されている。データ生成モデル58及び感情特定モデル59は、特定処理部290によって用いられる。 Storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.

スマート眼鏡214では、プロセッサ46によって受付出力処理が行われる。ストレージ50には、受付出力プログラム60が格納されている。プロセッサ46は、ストレージ50から受付出力プログラム60を読み出し、読み出した受付出力プログラム60をRAM48上で実行する。受付出力処理は、プロセッサ46がRAM48上で実行する受付出力プログラム60に従って、制御部46Aとして動作することによって実現される。 In the smart glasses 214, the reception output process is performed by the processor 46. A reception output program 60 is stored in the storage 50. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.

次に、データ処理装置12の特定処理部290による特定処理について説明する。 Next, we will explain the identification process performed by the identification processing unit 290 of the data processing device 12.

「形態例1」 "Example 1"

本発明の形態は、市場連動型プランに基づく電気料金を計算するシステムである。このシステムは、電力取引所の取引価格情報を取得し、それに基づいて電気料金を計算する。具体的には、取引価格情報を基に電気料金の単価を算出し、それを用いて電気料金を計算する。 One aspect of the present invention is a system for calculating electricity rates based on a market-linked plan. This system acquires trading price information from the power exchange and calculates electricity rates based on that information. Specifically, it calculates the unit price of electricity based on the trading price information and uses that to calculate electricity rates.

「形態例2」 "Example 2"

また、本発明の形態は、ユーザーからの家電使用情報を受け取るシステムである。このシステムは、ユーザーからの入力情報を受け取り、それを基に家電の使用時間帯を計算する。具体的には、ユーザーから使用したい家電の種類と使用時間を入力してもらい、それを基に最適な使用時間帯を計算する。 Another aspect of the present invention is a system that receives home appliance usage information from a user. This system receives input information from the user and calculates the usage time periods for the home appliances based on that information. Specifically, the system has the user input the type of home appliance they wish to use and the usage time, and calculates the optimal usage time period based on that information.

「形態例3」 "Example 3"

さらに、本発明の形態は、計算した最適な使用時間帯と電気料金をユーザーに提案するシステムである。このシステムは、計算した最適な使用時間帯と電気料金をユーザーに提示し、ユーザーが電気料金を抑えるための参考情報とする。具体的には、ユーザーが使用したい家電の種類と使用時間を入力した場合、例えば「エアコンを午後3時から6時まで使用する」とした場合、その時間帯の電力取引所の取引価格に基づいて計算した電気料金を提示する。 Another aspect of the present invention is a system that proposes the calculated optimal usage time periods and electricity rates to users. This system presents the calculated optimal usage time periods and electricity rates to users, and uses them as reference information for reducing electricity bills. Specifically, when a user inputs the type of home appliance they wish to use and the usage time, for example, "I will use the air conditioner from 3:00 PM to 6:00 PM," the system presents them with an electricity rate calculated based on the trading price at the power exchange for that time period.

以下に、各形態例の処理の流れについて説明する。 The processing flow for each example form is explained below.

「形態例1」 "Example 1"

ステップ1:電力取引所から取引価格情報を取得する。 Step 1: Obtain trading price information from the power exchange.

ステップ2:取得した取引価格情報を基に電気料金の単価を算出する。 Step 2: Calculate the unit price of electricity based on the acquired transaction price information.

ステップ3:算出した電気料金の単価を用いて電気料金を計算する。 Step 3: Calculate the electricity bill using the calculated unit price of electricity.

「形態例2」 "Example 2"

ステップ1:ユーザーから使用したい家電の種類と使用時間の入力を受け取る。 Step 1: Receive input from the user about the type of appliance they wish to use and the usage time.

ステップ2:受け取った入力情報を基に最適な使用時間帯を計算する。 Step 2: Calculate the optimal usage time based on the received input information.

「形態例3」 "Example 3"

ステップ1:ユーザーが使用したい家電の種類と使用時間を入力する。 Step 1: The user enters the type of appliance they want to use and the usage time.

ステップ2:その時間帯の電力取引所の取引価格に基づいて電気料金を計算する。 Step 2: Calculate the electricity bill based on the trading price on the power exchange for that time period.

ステップ3:計算した電気料金をユーザーに提示する。 Step 3: Present the calculated electricity bill to the user.

(実施例1) (Example 1)

次に、形態例1の実施例1について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマート眼鏡214を「端末」と称する。 Next, Example 1 of Form Example 1 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal."

従来の電気料金計算システムでは、電力取引所の取引価格情報をリアルタイムで反映させることが難しく、ユーザに対して最適な電気料金を提供することができなかった。また、ユーザの家電使用情報に基づいて最適な使用時間帯を提案する機能が不足しており、ユーザが効率的に電力を使用することが困難であった Conventional electricity rate calculation systems struggled to reflect real-time trading price information from the power exchange, making it impossible to provide users with optimal electricity rates. Furthermore, they lacked functionality for suggesting optimal usage times based on users' appliance usage information, making it difficult for users to use electricity efficiently.

実施例1におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 1 is realized by the following means.

この発明では、サーバは、電力取引所から取引価格情報を取得する手段と、取得した取引価格情報をデータベースに保存する手段と、保存された取引価格情報を基に電気料金の単価を算出する手段と、算出した電気料金の単価を用いてユーザの電気料金を計算する手段と、ユーザからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザに提案する手段を含む。これにより、リアルタイムで取引価格情報を反映させた電気料金の計算が可能となり、さらにユーザに対して最適な使用時間帯を提案することで、効率的な電力使用が可能となる。 In this invention, the server includes means for acquiring trading price information from the power exchange, means for saving the acquired trading price information in a database, means for calculating the unit price of electricity based on the saved trading price information, means for calculating the user's electricity bill using the calculated unit price of electricity, means for receiving home appliance usage information from the user, means for calculating the optimal usage time period based on the received home appliance usage information, and means for proposing the calculated optimal usage time period and electricity bill to the user. This makes it possible to calculate electricity bills that reflect trading price information in real time, and furthermore, by proposing the optimal usage time period to the user, efficient power use is possible.

「電力取引所」とは、電力の売買が行われる市場であり、取引価格情報を提供する機関である。 An "electricity exchange" is a market where electricity is bought and sold, and an institution that provides trading price information.

「取引価格情報」とは、電力取引所において取引される電力の価格に関する情報である。 "Trading price information" refers to information regarding the price of electricity traded at the power exchange.

「データベース」とは、データを効率的に保存、管理、検索するためのシステムである。 A "database" is a system for efficiently storing, managing, and searching data.

「電気料金の単価」とは、一定量の電力に対して設定される料金の単位価格である。 "Electricity unit price" is the unit price set for a certain amount of electricity.

「ユーザ」とは、電力を消費する個人または法人であり、このシステムを利用する主体である。 "User" refers to an individual or corporation that consumes electricity and is the entity that uses this system.

「家電使用情報」とは、ユーザが使用する家電の種類や使用時間に関する情報である。 "Home appliance usage information" refers to information about the types of home appliances used by users and the duration of use.

「最適な使用時間帯」とは、電力消費を効率的に行うために推奨される時間帯である。 "Optimal usage times" are the recommended times for efficient power consumption.

「提案する手段」とは、計算した最適な使用時間帯や電気料金をユーザに通知するための方法や装置である。 "Proposal means" refers to a method or device for notifying the user of the calculated optimal usage time period and electricity charges.

発明を実施するための形態 Form for implementing the invention

この発明は、市場連動型プランに基づく電気料金を計算するシステムであり、電力取引所の取引価格情報を取得し、それに基づいて電気料金を計算するものである。以下に、このシステムの具体的な実施形態を説明する。 This invention is a system for calculating electricity rates based on a market-linked plan, which acquires trading price information from the power exchange and calculates electricity rates based on that information. A specific embodiment of this system is described below.

使用するハードウェアおよびソフトウェア Hardware and software used

1. サーバ 1. Server

ハードウェア:一般的なサーバ機器 Hardware: General server equipment

ソフトウェア:APIクライアント、データベース管理システム(例:MySQL、PostgreSQL)、スクリプト言語(例:Python、JavaScript) Software: API clients, database management systems (e.g., MySQL, PostgreSQL), scripting languages (e.g., Python, JavaScript)

2. 端末 2. Device

ハードウェア:ユーザが使用するコンピュータやスマートフォン Hardware: The computer or smartphone used by the user

ソフトウェア:ウェブブラウザ、モバイルアプリケーション Software: Web browser, mobile application

3. ユーザ 3. User

ユーザは、電力を消費する個人または法人であり、このシステムを利用する主体である。 Users are individuals or corporations that consume electricity and are the entities that use this system.

プログラムの処理の説明 Program processing explanation

1. 取引価格情報の取得 1. Obtaining trading price information

サーバは、電力取引所のAPIにリクエストを送信し、最新の取引価格情報を取得する。 The server sends a request to the power exchange's API to obtain the latest trading price information.

具体的な動作:サーバは、HTTP GETリクエストを電力取引所のAPIエンドポイントに送信し、JSON形式の取引価格情報を受信する。 Specific operation: The server sends an HTTP GET request to the power exchange's API endpoint and receives trading price information in JSON format.

2. 取引価格情報の保存 2. Saving transaction price information

サーバは、取得した取引価格情報をデータベースに保存する。 The server stores the acquired trading price information in a database.

具体的な動作:サーバは、受信したJSONデータを解析し、MySQLデータベースの対応するテーブルにインサートクエリを実行する。 Specific operation: The server parses the received JSON data and executes an insert query into the corresponding table in the MySQL database.

3. 電気料金単価の算出 3. Calculating electricity unit prices

サーバは、保存された取引価格情報を基に電気料金の単価を算出する。 The server calculates the unit price of electricity based on the stored transaction price information.

具体的な動作:サーバは、Pythonスクリプトを実行し、データベースから取引価格情報を取得して、特定のアルゴリズムに基づいて電気料金の単価を計算する。 Specific operation: The server runs a Python script, retrieves trading price information from the database, and calculates the unit price of electricity based on a specific algorithm.

4. ユーザの電気料金の計算 4. Calculating the user's electricity bill

サーバは、算出した電気料金の単価を用いて、ユーザの電気料金を計算する。 The server calculates the user's electricity bill using the calculated electricity unit price.

具体的な動作:サーバは、ユーザの消費電力量データをデータベースから取得し、算出した単価と掛け合わせて電気料金を計算する。 Specific operation: The server retrieves the user's power consumption data from the database and multiplies it by the calculated unit price to calculate the electricity bill.

5. 家電使用情報の受け取り 5. Receiving appliance usage information

サーバは、ユーザからの家電使用情報を受け取る。 The server receives home appliance usage information from the user.

具体的な動作:ユーザは、ウェブブラウザやモバイルアプリケーションを通じて、使用したい家電の種類や使用時間を入力し、サーバに送信する。 Specific operation: The user enters the type of home appliance they wish to use and the usage time via a web browser or mobile application, and sends this information to the server.

6. 最適な使用時間帯の計算 6. Calculating the optimal usage time

サーバは、受け取った家電使用情報に基づき最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the received appliance usage information.

具体的な動作:サーバは、電気料金の単価と家電使用情報を基に、最適な使用時間帯を計算するアルゴリズムを実行する。 Specific operation: The server runs an algorithm to calculate the optimal usage time based on the electricity rate and appliance usage information.

7. 提案の通知 7. Proposal Notification

サーバは、計算した最適な使用時間帯と電気料金をユーザに提案する。 The server then proposes the optimal usage time and electricity rates to the user.

具体的な動作:サーバは、計算結果をユーザの端末に通知し、ユーザはウェブブラウザやモバイルアプリケーションを通じて提案を確認する。 Specific operation: The server notifies the user's device of the calculation results, and the user confirms the proposal through a web browser or mobile application.

具体例とプロンプト文 Examples and prompts

1. サーバは、電力取引所のAPIから「2023-10-01」の取引価格情報を取得する。 1. The server obtains trading price information for "2023-10-01" from the power exchange API.

2. サーバは、取得した取引価格情報をMySQLデータベースに保存する。 2. The server stores the acquired trading price information in a MySQL database.

3. サーバは、Pythonスクリプトを用いて、取引価格情報から「2023-10-01」の電気料金の単価を算出する。 3. The server uses a Python script to calculate the electricity rate for "2023-10-01" from the trading price information.

4. サーバは、ユーザの消費電力量データ(例:100kWh)と算出した単価(例:10円/kWh)を用いて、ユーザの電気料金(例:1000円)を計算する。 4. The server calculates the user's electricity bill (e.g., 1,000 yen) using the user's power consumption data (e.g., 100 kWh) and the calculated unit price (e.g., 10 yen/kWh).

プロンプト文の例 Example prompt

「電力取引所のAPIから最新の取引価格情報を取得し、それをMySQLデータベースに保存してください。その後、Pythonスクリプトを用いて電気料金の単価を算出し、ユーザの消費電力量データを基に電気料金を計算してください。」 "Get the latest trading price information from the power exchange's API and save it in a MySQL database. Then, use a Python script to calculate the electricity rate and calculate the electricity bill based on the user's power consumption data."

実施例1における特定処理の流れについて図11を用いて説明する。 The flow of the identification process in Example 1 will be explained using Figure 11.

ステップ1: Step 1:

取引価格情報の取得 Get trading price information

サーバは、電力取引所のAPIにリクエストを送信し、最新の取引価格情報を取得する。 The server sends a request to the power exchange's API to obtain the latest trading price information.

入力:電力取引所のAPIエンドポイントURL Input: Power exchange API endpoint URL

出力:JSON形式の取引価格情報 Output: Transaction price information in JSON format

具体的な動作:サーバは、HTTP GETリクエストを電力取引所のAPIエンドポイントに送信し、レスポンスとしてJSON形式の取引価格情報を受信する。例えば、requestsライブラリを使用して、https://api.electricity-market.com/pricesにリクエストを送信する。 Specific operation: The server sends an HTTP GET request to the power exchange's API endpoint and receives JSON-formatted trading price information in response. For example, use the requests library to send a request to https://api.electricity-market.com/prices.

ステップ2: Step 2:

取引価格情報の保存 Storing transaction price information

サーバは、取得した取引価格情報をデータベースに保存する。 The server stores the acquired trading price information in a database.

入力:JSON形式の取引価格情報 Input: Transaction price information in JSON format

出力:データベースに保存された取引価格情報 Output: Transaction price information stored in the database

具体的な動作:サーバは、受信したJSONデータを解析し、必要なフィールド(例:日時、価格)を抽出する。次に、pymysqlライブラリを使用して、MySQLデータベースに接続し、INSERT INTO prices (datetime, price) VALUES ('2023-10-01 00:00:00', 10.5)のようなクエリを実行する。 Specific behavior: The server parses the received JSON data and extracts the necessary fields (e.g., datetime, price). Then, using the pymysql library, it connects to a MySQL database and executes a query such as INSERT INTO prices (datetime, price) VALUES ('2023-10-01 00:00:00', 10.5).

ステップ3: Step 3:

電気料金単価の算出 Calculating electricity unit prices

サーバは、保存された取引価格情報を基に電気料金の単価を算出する。 The server calculates the unit price of electricity based on the stored transaction price information.

入力:データベースに保存された取引価格情報 Input: Trading price information stored in the database

出力:算出された電気料金の単価 Output: Calculated electricity unit price

具体的な動作:サーバは、Pythonスクリプトを実行し、データベースから取引価格情報を取得する。例えば、pymysqlライブラリを使用して、SELECT price FROM prices WHERE datetime = '2023-10-01 00:00:00'のようなクエリを実行し、取得した価格情報を基に特定のアルゴリズム(例:平均値、加重平均)で電気料金の単価を計算する。 Specific operation: The server executes a Python script to obtain trading price information from the database. For example, using the pymysql library, it executes a query such as SELECT price FROM prices WHERE datetime = '2023-10-01 00:00:00', and calculates the electricity price using a specific algorithm (e.g., average, weighted average) based on the obtained price information.

ステップ4: Step 4:

ユーザの電気料金の計算 Calculating your electricity bill

サーバは、算出した電気料金の単価を用いて、ユーザの電気料金を計算する。 The server calculates the user's electricity bill using the calculated electricity unit price.

入力:ユーザの消費電力量データ、算出された電気料金の単価 Input: User power consumption data, calculated electricity rate

出力:計算されたユーザの電気料金 Output: Calculated user electricity bill

具体的な動作:サーバは、ユーザの消費電力量データをデータベースから取得する。例えば、pymysqlライブラリを使用して、SELECT consumption FROM user_data WHERE user_id = 1のようなクエリを実行し、取得した消費電力量データ(例:100kWh)と算出した単価(例:10円/kWh)を掛け合わせて、ユーザの電気料金(例:1000円)を計算する。 Specific operation: The server retrieves the user's power consumption data from the database. For example, using the pymysql library, it executes a query such as SELECT consumption FROM user_data WHERE user_id = 1, multiplies the retrieved power consumption data (e.g., 100kWh) by the calculated unit price (e.g., 10 yen/kWh), and calculates the user's electricity bill (e.g., 1,000 yen).

ステップ5: Step 5:

家電使用情報の受け取り Receive appliance usage information

サーバは、ユーザからの家電使用情報を受け取る。 The server receives home appliance usage information from the user.

入力:ユーザが入力した家電使用情報(家電の種類、使用時間) Input: Appliance usage information entered by the user (type of appliance, usage time)

出力:サーバに保存された家電使用情報 Output: Appliance usage information stored on the server

具体的な動作:ユーザは、ウェブブラウザやモバイルアプリケーションを通じて、使用したい家電の種類や使用時間を入力し、サーバに送信する。サーバは、受信した情報をデータベースに保存する。 Specific operation: The user enters the type of home appliance they want to use and the usage time via a web browser or mobile application, and sends this information to the server. The server then stores the received information in a database.

ステップ6: Step 6:

最適な使用時間帯の計算 Calculating the best time to use

サーバは、受け取った家電使用情報に基づき最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the received appliance usage information.

入力:家電使用情報、電気料金の単価 Input: Appliance usage information, electricity unit price

出力:最適な使用時間帯 Output: Optimal usage time

具体的な動作:サーバは、電気料金の単価と家電使用情報を基に、最適な使用時間帯を計算するアルゴリズムを実行する。例えば、ピーク時間帯を避けるように計算する。 Specific operation: The server runs an algorithm to calculate the optimal usage time based on the electricity rate and appliance usage information. For example, it calculates the optimal usage time to avoid peak hours.

ステップ7: Step 7:

提案の通知 Proposal Notification

サーバは、計算した最適な使用時間帯と電気料金をユーザに提案する。 The server then proposes the optimal usage time and electricity rates to the user.

入力:最適な使用時間帯、計算された電気料金 Input: Optimal usage time, calculated electricity rate

出力:ユーザへの通知 Output: User notification

具体的な動作:サーバは、計算結果をユーザの端末に通知し、ユーザはウェブブラウザやモバイルアプリケーションを通じて提案を確認する。例えば、プッシュ通知やメールを送信する。 Specific operation: The server notifies the user's device of the calculation results, and the user confirms the proposal through a web browser or mobile application. For example, a push notification or email is sent.

(応用例1) (Application Example 1)

次に、形態例1の応用例1について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマート眼鏡214を「端末」と称する。 Next, we will explain Application Example 1 of Form Example 1. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal."

従来の市場連動型プランに基づく電気料金計算システムは、ユーザーの家電使用情報に基づいて最適な使用時間帯を提案するだけであり、リアルタイムでの電力消費の最適化が行われていなかった。そのため、電力取引所の取引価格情報をリアルタイムで取得し、電力消費を最適化することで、電力コストをさらに削減することが求められている Conventional electricity billing systems based on market-linked plans only suggest optimal usage times based on the user's appliance usage information, but do not optimize power consumption in real time. Therefore, there is a need to further reduce electricity costs by obtaining real-time trading price information from the power exchange and optimizing power consumption.

応用例1におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、電力取引所の取引価格情報をリアルタイムで取得する手段と、取得した価格情報に基づいて電力消費を最適化する手段と、高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる手段と、を含む。これにより、リアルタイムでの電力消費の最適化が可能となる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from a user, means for calculating optimal usage time periods based on the received home appliance usage information, means for proposing the calculated optimal usage time periods and electricity charges to the user, means for acquiring trading price information from the power exchange in real time, means for optimizing electricity consumption based on the acquired price information, and means for reducing electricity consumption during high-price time periods and increasing electricity consumption during low-price time periods. This enables optimization of electricity consumption in real time.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を算出するための方法や装置である。 "Means for calculating electricity charges" refers to a method or device for calculating electricity charges based on a market-linked plan.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用する家電の種類や使用時間などの情報を取得するための方法や装置である。 "Means for receiving home appliance usage information from users" refers to methods or devices for obtaining information such as the types of home appliances used by users and the duration of use.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報に基づいて、電力消費を最適化するための最適な使用時間帯を算出する方法や装置である。 "Means for calculating optimal usage time periods" refers to a method or device that calculates optimal usage time periods for optimizing power consumption based on received home appliance usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知するための方法や装置である。 "Means for making suggestions to users" refers to methods or devices for notifying users of the calculated optimal usage time periods and electricity charges.

「電力取引所の取引価格情報をリアルタイムで取得する手段」とは、電力取引所から取引価格情報をリアルタイムで取得するための方法や装置である。 "Means for obtaining trading price information from an electricity exchange in real time" refers to a method or device for obtaining trading price information from an electricity exchange in real time.

「電力消費を最適化する手段」とは、取得した取引価格情報に基づいて、電力消費を効率的に管理・調整するための方法や装置である。 "Means for optimizing electricity consumption" refers to methods or devices for efficiently managing and adjusting electricity consumption based on acquired trading price information.

「高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる手段」とは、電力取引価格が高い時間帯には電力消費を減少させ、取引価格が低い時間帯には電力消費を増加させるための方法や装置である。 "Means for reducing electricity consumption during high-price time periods and increasing electricity consumption during low-price time periods" refers to a method or device for reducing electricity consumption during time periods when the electricity trading price is high and increasing electricity consumption during time periods when the trading price is low.

この発明を実施するためには、以下のシステム構成とプログラムが必要である。 To implement this invention, the following system configuration and program are required.

システム構成 System Configuration

1. サーバ:市場連動型プランに基づく電気料金を計算し、電力取引所の取引価格情報をリアルタイムで取得する。 1. Server: Calculates electricity rates based on market-linked plans and obtains trading price information from the power exchange in real time.

2. 端末:ユーザーからの家電使用情報を受け取り、最適な使用時間帯を計算し、ユーザーに提案する。 2. Device: Receives information about home appliance usage from the user, calculates the optimal usage time, and makes suggestions to the user.

3. ネットワーク:サーバと端末間でデータを送受信するための通信手段。 3. Network: A communication method for sending and receiving data between the server and the terminal.

プログラムの処理説明 Program processing explanation

ハードウェア Hardware

サーバ:高性能なプロセッサと大容量のメモリを持つコンピュータ。 Server: A computer with a high-performance processor and large memory capacity.

端末:スマートフォンやタブレットなどのユーザーインターフェースを持つデバイス。 Device: A device with a user interface, such as a smartphone or tablet.

ネットワーク:インターネット接続。 Network: Internet connection.

ソフトウェア Software

Python:プログラムの主要な実装言語。 Python: The primary implementation language for the program.

Requestsライブラリ:APIから電力取引所の取引価格情報を取得するためのライブラリ。 Requests library: A library for obtaining electricity exchange trading price information from the API.

JSONデータ処理:取得したデータを解析するための形式。 JSON data processing: A format for parsing retrieved data.

データ加工・演算 Data processing and calculations

1. サーバは、電力取引所の取引価格情報をリアルタイムで取得する。これには、APIを利用してデータを取得し、JSON形式で保存する。 1. The server obtains trading price information from the power exchange in real time. To do this, it uses an API to obtain the data and saves it in JSON format.

2. サーバは、市場連動型プランに基づいて電気料金を計算する。取得した取引価格情報を基に、電気料金の単価を算出し、ユーザーの電力消費データと組み合わせて総電気料金を計算する。 2. The server calculates the electricity bill based on the market-linked plan. Based on the acquired trading price information, it calculates the unit price of the electricity bill and combines this with the user's power consumption data to calculate the total electricity bill.

3. 端末は、ユーザーからの家電使用情報を受け取る。これには、使用したい家電の種類と使用時間が含まれる。 3. The device receives appliance usage information from the user, including the type of appliance they want to use and the duration of their use.

4. サーバは、受け取った家電使用情報に基づき、最適な使用時間帯を計算する。これには、電力取引価格が低い時間帯を選定し、その時間帯に家電を使用するように提案する。 4. The server calculates the optimal usage time based on the received appliance usage information. To do this, it selects a time period when the electricity trading price is low and suggests using the appliance during that time period.

5. 端末は、計算した最適な使用時間帯と電気料金をユーザーに提案する。これには、通知機能を利用してユーザーに情報を提供する。 5. The device will then suggest the optimal usage time and electricity rates to the user. This will be done using the notification function to provide information to the user.

6. サーバは、取得した価格情報に基づいて電力消費を最適化する。高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる。 6. The server optimizes power consumption based on the acquired price information, reducing power consumption during high-price periods and increasing power consumption during low-price periods.

具体例 Specific examples

例えば、工場の生産ラインでこのシステムを利用する場合、電力取引所の価格が高い時間帯には機械の稼働を抑え、価格が低い時間帯に稼働を増やすことで電力コストを削減することができる。 For example, if this system is used on a factory production line, electricity costs can be reduced by reducing machine operation during times when prices on the electricity exchange are high and increasing operation during times when prices are low.

プロンプト文の例 Example prompt

「電力取引所の取引価格情報をリアルタイムで取得し、工場内の電力消費を最適化するPythonプログラムを作成してください。高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる機能を持たせてください。」 "Create a Python program that obtains real-time trading price information from the power exchange and optimizes power consumption within the factory. It should have the ability to reduce power consumption during high-price periods and increase power consumption during low-price periods."

応用例1における特定処理の流れについて図12を用いて説明する。 The flow of the specific processing in Application Example 1 will be explained using Figure 12.

ステップ1: Step 1:

サーバは、電力取引所の取引価格情報をリアルタイムで取得する。具体的には、APIを利用して電力取引所から取引価格情報を取得し、JSON形式で保存する。入力はAPIエンドポイントであり、出力は取得した取引価格情報である。 The server obtains trading price information from the power exchange in real time. Specifically, it uses an API to obtain trading price information from the power exchange and saves it in JSON format. The input is the API endpoint, and the output is the obtained trading price information.

ステップ2: Step 2:

サーバは、市場連動型プランに基づいて電気料金を計算する。取得した取引価格情報を基に、電気料金の単価を算出し、ユーザーの電力消費データと組み合わせて総電気料金を計算する。入力は取引価格情報とユーザーの電力消費データであり、出力は総電気料金である。 The server calculates electricity charges based on a market-linked plan. Based on the acquired trading price information, it calculates the unit price of electricity and combines it with the user's electricity consumption data to calculate the total electricity charge. The input is the trading price information and the user's electricity consumption data, and the output is the total electricity charge.

ステップ3: Step 3:

端末は、ユーザーからの家電使用情報を受け取る。ユーザーが使用したい家電の種類と使用時間を入力し、端末がそれを受け取る。入力はユーザーの家電使用情報であり、出力は受け取った家電使用情報である。 The terminal receives home appliance usage information from the user. The user inputs the type of home appliance they want to use and the usage time, and the terminal receives this. The input is the user's home appliance usage information, and the output is the received home appliance usage information.

ステップ4: Step 4:

サーバは、受け取った家電使用情報に基づき、最適な使用時間帯を計算する。電力取引価格が低い時間帯を選定し、その時間帯に家電を使用するように提案する。入力は家電使用情報と取引価格情報であり、出力は最適な使用時間帯である。 The server calculates the optimal usage time period based on the received appliance usage information. It selects a time period when the electricity trading price is low and suggests using the appliance during that time period. The input is appliance usage information and trading price information, and the output is the optimal usage time period.

ステップ5: Step 5:

端末は、計算した最適な使用時間帯と電気料金をユーザーに提案する。通知機能を利用してユーザーに情報を提供する。入力は最適な使用時間帯と電気料金であり、出力はユーザーへの通知である。 The device then proposes the calculated optimal usage time and electricity rate to the user. It uses the notification function to provide information to the user. The input is the optimal usage time and electricity rate, and the output is a notification to the user.

ステップ6: Step 6:

サーバは、取得した価格情報に基づいて電力消費を最適化する。高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる。入力は取引価格情報であり、出力は最適化された電力消費パターンである。 The server optimizes power consumption based on the acquired price information, reducing power consumption during high-price periods and increasing power consumption during low-price periods. The input is trading price information, and the output is the optimized power consumption pattern.

(実施例2) (Example 2)

次に、形態例2の実施例2について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマート眼鏡214を「端末」と称する。 Next, we will explain Example 2 of Form Example 2. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal."

従来の家電使用情報を基にした電気料金の最適化システムでは、ユーザーが入力した情報を効率的に処理し、最適な使用時間帯を計算することが難しかった。また、計算結果をユーザーに迅速に提供する手段が不足していたため、ユーザーの利便性が低かった。さらに、市場連動型プランに基づく電気料金の計算と最適な使用時間帯の提案を統合的に行うシステムが求められていた Existing electricity rate optimization systems based on home appliance usage information struggled to efficiently process user-entered information and calculate optimal usage times. Furthermore, there was a lack of a way to quickly provide users with the results, resulting in poor user convenience. Furthermore, there was a need for a system that could comprehensively calculate electricity rates based on market-linked plans and suggest optimal usage times.

実施例2におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 2 is realized by the following means.

この発明では、サーバは、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報をデータベースに保存する手段と、保存されたデータを基に最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、計算結果をユーザーに表示する手段と、市場連動型プランに基づく電気料金を計算する手段を含む。これにより、ユーザーが入力した家電使用情報を効率的に処理し、最適な使用時間帯と電気料金を迅速に提供することが可能となる。 In this invention, the server includes means for receiving home appliance usage information from a user, means for storing the received home appliance usage information in a database, means for calculating the optimal usage time period based on the stored data, means for proposing the calculated optimal usage time period and electricity rate to the user, means for displaying the calculation results to the user, and means for calculating the electricity rate based on a market-linked plan. This makes it possible to efficiently process the home appliance usage information entered by the user and quickly provide the optimal usage time period and electricity rate.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を計算するためのアルゴリズムやソフトウェアを指す。 "Means for calculating electricity charges" refers to algorithms or software for calculating electricity charges based on market-linked plans.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが入力した家電の種類や使用時間などの情報を受け取るためのインターフェースやデバイスを指す。 "Means for receiving home appliance usage information from users" refers to interfaces or devices for receiving information such as the type of home appliance and usage time entered by the user.

「データベースに保存する手段」とは、受け取った家電使用情報をリレーショナルデータベース管理システム(RDBMS)などに保存するためのソフトウェアやハードウェアを指す。 "Means for storing in a database" refers to software or hardware for storing received home appliance usage information in a relational database management system (RDBMS) or similar.

「最適な使用時間帯を計算する手段」とは、保存されたデータを基に、過去の使用データや電力消費パターンを分析して最適な使用時間帯を計算するためのアルゴリズムやソフトウェアを指す。 "Means for calculating optimal usage times" refers to algorithms or software that use stored data to analyze past usage data and power consumption patterns to calculate optimal usage times.

「計算結果をユーザーに提案する手段」とは、計算された最適な使用時間帯と電気料金をユーザーに通知するためのインターフェースやデバイスを指す。 "Means for proposing calculation results to users" refers to interfaces or devices that notify users of the calculated optimal usage times and electricity charges.

「計算結果をユーザーに表示する手段」とは、計算結果をユーザーの端末に表示するためのソフトウェアやハードウェアを指す。 "Means for displaying calculation results to the user" refers to software or hardware for displaying calculation results on the user's device.

発明を実施するための形態 Form for implementing the invention

この発明は、ユーザーからの家電使用情報を受け取り、それを基に最適な使用時間帯と電気料金を計算し、ユーザーに提案するシステムである。以下に、このシステムの具体的な実施形態を説明する。 This invention is a system that receives information about home appliance usage from users, calculates optimal usage times and electricity rates based on that information, and makes recommendations to the user. A specific embodiment of this system is described below.

システムの構成 System Configuration

このシステムは、サーバ、端末、ユーザの三つの主要な要素から構成される。 This system consists of three main elements: a server, a terminal, and a user.

1. サーバ 1. Server

サーバは、ユーザーからの家電使用情報を受け取る手段を提供する。この手段は、ウェブブラウザやモバイルアプリケーションを通じてアクセスできるインターフェースである。 The server provides a means for receiving appliance usage information from users. This means is an interface that can be accessed through a web browser or mobile application.

サーバは、受け取った家電使用情報をデータベースに保存する。このデータベースは、MySQLやPostgreSQLなどのリレーショナルデータベース管理システム(RDBMS)を使用する。 The server stores the received appliance usage information in a database. This database uses a relational database management system (RDBMS) such as MySQL or PostgreSQL.

サーバは、保存されたデータを基に最適な使用時間帯を計算する。この計算には、PythonやRなどのプログラミング言語を使用し、データ分析ライブラリ(例:Pandas、NumPy)を活用する。 The server calculates the optimal usage time based on the stored data. This calculation is done using programming languages such as Python and R, and utilizing data analysis libraries (e.g., Pandas, NumPy).

サーバは、計算した最適な使用時間帯と電気料金をユーザーに提案する手段を持つ。この提案は、リアルタイムで行われる。 The server has a means of proposing the calculated optimal usage time and electricity rates to the user. This proposal is made in real time.

サーバは、計算結果をユーザーに表示するために、端末に送信する手段を持つ。この送信には、HTTPSプロトコルを使用してセキュアな通信を行う。 The server has a means of sending the calculation results to the terminal for display to the user. This transmission is securely performed using the HTTPS protocol.

2. 端末 2. Device

端末は、ユーザーが入力した家電使用情報をサーバに送信する。この送信には、HTTPSプロトコルを使用してセキュアな通信を行う。 The device sends the home appliance usage information entered by the user to the server. This transmission is secure, using the HTTPS protocol.

端末は、サーバから受け取った計算結果をユーザーに表示する。例えば、モバイルアプリケーションの画面に「最適な使用時間帯は19:00から21:00までです」と表示する。 The device displays the calculation results received from the server to the user. For example, the mobile application screen might display "The best time to use the device is between 7:00 PM and 9:00 PM."

3. ユーザ 3. User

ユーザは、ウェブブラウザやモバイルアプリケーションを使用して、使用したい家電の種類と希望する使用時間を入力する。例えば、ユーザがエアコンを使用したい場合、「エアコン」と「18:00から22:00まで」と入力する。 Users use a web browser or mobile application to enter the type of appliance they want to use and the time they want to use it. For example, if a user wants to use an air conditioner, they enter "air conditioner" and "from 18:00 to 22:00."

具体例 Specific examples

具体例として、ユーザがエアコンを使用したいと考えている場合を考える。 As a concrete example, consider the case where a user wants to use the air conditioner.

1. ユーザがモバイルアプリケーションを開き、「エアコン」と「18:00から22:00まで」と入力する。 1. The user opens the mobile application and enters "air conditioner" and "18:00 to 22:00."

2. 端末がこの情報をHTTPSプロトコルを使用してサーバに送信する。 2. The device sends this information to the server using the HTTPS protocol.

3. サーバが受け取った情報を「user_requests」テーブルに保存する。 3. The server stores the received information in the "user_requests" table.

4. サーバがPythonのPandasライブラリを使用して、過去の使用データや電力消費パターンを分析し、最適な使用時間帯を計算する。 4. The server uses Python's Pandas library to analyze past usage data and power consumption patterns and calculate the optimal usage time.

5. サーバが計算結果「19:00から21:00までが最適です」を端末に送信する。 5. The server sends the calculation result "The best time is between 7:00 PM and 9:00 PM" to the device.

6. 端末がこの結果をモバイルアプリケーションの画面に表示し、ユーザに通知する。 6. The device displays the results on the mobile application screen and notifies the user.

プロンプト文の例 Example prompt

生成AIモデルへ入力するプロンプト文の例: Example of a prompt to input to a generative AI model:

ユーザがエアコンを使用したいと考えています。使用時間は「18:00から22:00まで」と入力しました。過去の使用データや電力消費パターンを基に、最適な使用時間帯を計算してください。 The user wants to use the air conditioner. The usage time is entered as "18:00 to 22:00." Please calculate the optimal usage time based on past usage data and power consumption patterns.

このようにして、サーバ、端末、ユーザが連携して家電の最適な使用時間帯を計算し、ユーザに提供するシステムが実現される。 In this way, a system is realized in which the server, terminal, and user work together to calculate the optimal usage time for home appliances and provide it to the user.

実施例2における特定処理の流れについて図13を用いて説明する。 The flow of the identification process in Example 2 will be explained using Figure 13.

ステップ1: Step 1:

ユーザが家電使用情報を入力する。 The user enters appliance usage information.

ユーザは、ウェブブラウザやモバイルアプリケーションを使用して、使用したい家電の種類と希望する使用時間を入力する。例えば、ユーザがエアコンを使用したい場合、「エアコン」と「18:00から22:00まで」と入力する。入力された情報は、端末の入力フィールドに保存される。 Using a web browser or mobile application, users input the type of appliance they want to use and the desired usage time. For example, if a user wants to use an air conditioner, they enter "air conditioner" and "from 18:00 to 22:00." The entered information is saved in an input field on the device.

ステップ2: Step 2:

端末が入力情報をサーバに送信する。 The device sends the input information to the server.

端末は、ユーザが入力した家電使用情報をHTTPSプロトコルを使用してサーバに送信する。具体的には、入力された情報をJSON形式に変換し、サーバのAPIエンドポイントにPOSTリクエストを送信する。入力は家電の種類と使用時間であり、出力はサーバへの送信完了ステータスである。 The device sends the appliance usage information entered by the user to the server using the HTTPS protocol. Specifically, it converts the entered information into JSON format and sends a POST request to the server's API endpoint. The input is the type of appliance and usage time, and the output is the status of completion of transmission to the server.

ステップ3: Step 3:

サーバが入力情報をデータベースに保存する。 The server saves the input information in a database.

サーバは、受け取った家電使用情報をデータベースに保存する。具体的には、サーバは受信したJSONデータを解析し、MySQLやPostgreSQLなどのリレーショナルデータベース管理システム(RDBMS)に保存する。入力は受信した家電使用情報であり、出力はデータベースへの保存完了ステータスである。 The server stores the received appliance usage information in a database. Specifically, the server parses the received JSON data and stores it in a relational database management system (RDBMS) such as MySQL or PostgreSQL. The input is the received appliance usage information, and the output is the status of completion of saving to the database.

ステップ4: Step 4:

サーバが保存されたデータを基に最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the stored data.

サーバは、保存されたデータを基に最適な使用時間帯を計算する。具体的には、PythonのPandasライブラリを使用して過去の使用データや電力消費パターンを分析し、最適な使用時間帯を計算する。入力はデータベースに保存された家電使用情報と過去の使用データであり、出力は最適な使用時間帯である。 The server calculates the optimal usage time based on the stored data. Specifically, it uses Python's Pandas library to analyze past usage data and power consumption patterns to calculate the optimal usage time. The input is the appliance usage information and past usage data stored in the database, and the output is the optimal usage time.

ステップ5: Step 5:

サーバが計算結果を端末に送信する。 The server sends the calculation results to the device.

サーバは、計算結果を端末に送信する。具体的には、計算された最適な使用時間帯をJSON形式に変換し、HTTPSプロトコルを使用して端末に送信する。入力は最適な使用時間帯の計算結果であり、出力は端末への送信完了ステータスである。 The server sends the calculation results to the device. Specifically, it converts the calculated optimal usage time slot into JSON format and sends it to the device using the HTTPS protocol. The input is the calculation result of the optimal usage time slot, and the output is the status of completion of transmission to the device.

ステップ6: Step 6:

端末が計算結果をユーザに表示する。 The terminal displays the calculation results to the user.

端末は、サーバから受け取った計算結果をユーザに表示する。具体的には、モバイルアプリケーションの画面に「最適な使用時間帯は19:00から21:00までです」と表示する。入力はサーバから受信した最適な使用時間帯の計算結果であり、出力はユーザへの表示内容である。 The device displays the calculation results received from the server to the user. Specifically, the mobile application screen displays "The optimal usage time is from 19:00 to 21:00." The input is the calculation result of the optimal usage time received from the server, and the output is the content displayed to the user.

(応用例2) (Application Example 2)

次に、形態例2の応用例2について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマート眼鏡214を「端末」と称する。 Next, we will explain Application Example 2 of Form Example 2. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal."

従来の家電使用情報を基にした最適な使用時間帯の計算システムは、家電の使用に関する情報のみを対象としており、自動運転車両の充電スケジュールの最適化には対応していない。このため、ユーザーが自動運転車両の運行予定に基づいて最適な充電時間を計算し、エネルギー管理を効率化することが困難であった Existing systems that calculate optimal usage times based on home appliance usage information only consider information about home appliance usage and do not support optimizing charging schedules for autonomous vehicles. This makes it difficult for users to calculate optimal charging times based on autonomous vehicle operation schedules and improve energy management efficiency.

応用例2におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーからの運行予定情報を受け取り、最適な充電時間帯を計算する手段と、計算した最適な充電時間帯をユーザーに通知する手段と、を含む。これにより、ユーザーは自動運転車両の運行予定に基づいて最適な充電時間を計算し、エネルギー管理を効率化することが可能となる。 The specification processing by the specification processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means. In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from the user, means for calculating optimal usage time periods based on the received home appliance usage information, means for proposing the calculated optimal usage time periods and electricity charges to the user, means for receiving operation schedule information from the user and calculating optimal charging time periods, and means for notifying the user of the calculated optimal charging time periods. This allows the user to calculate the optimal charging time based on the operation schedule of the autonomous vehicle and improve energy management efficiency.

「市場連動型プラン」とは、電力取引所の取引価格に応じて電気料金が決まる料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を計算するための装置またはプログラムである。 "Means for calculating electricity charges" means a device or program for calculating electricity charges based on a market-linked plan.

「家電使用情報」とは、ユーザーが使用したい家電の種類とその使用時間に関する情報である。 "Home appliance usage information" refers to information about the type of home appliance the user wants to use and the duration of use.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報に基づいて、家電の最適な使用時間帯を計算するための装置またはプログラムである。 "Means for calculating optimal usage time periods" refers to a device or program for calculating optimal usage time periods for home appliances based on received home appliance usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知または表示するための装置またはプログラムである。 "Means for making suggestions to users" refers to a device or program that notifies or displays to users the calculated optimal usage time and electricity charges.

「運行予定情報」とは、ユーザーが自動運転車両の運行に関して入力する出発時間、到着時間、目的地などの情報である。 "Scheduled operation information" refers to information such as departure time, arrival time, and destination entered by the user regarding the operation of an autonomous vehicle.

「最適な充電時間帯を計算する手段」とは、受け取った運行予定情報に基づいて、自動運転車両の最適な充電時間帯を計算するための装置またはプログラムである。 "Means for calculating the optimal charging time slot" refers to a device or program for calculating the optimal charging time slot for an autonomous vehicle based on the received operation schedule information.

「通知する手段」とは、計算した最適な充電時間帯をユーザーに通知するための装置またはプログラムである。 "Notification means" refers to a device or program that notifies the user of the calculated optimal charging time period.

この発明を実施するためのシステムは、サーバ、ユーザー端末、および自動運転車両から構成される。サーバは、以下の手段を含む。 A system for implementing this invention consists of a server, a user terminal, and an autonomous vehicle. The server includes the following means:

1. 市場連動型プランに基づく電気料金を計算する手段 1. A method for calculating electricity rates based on market-linked plans

2. ユーザーからの家電使用情報を受け取る手段 2. How to receive appliance usage information from users

3. 受け取った家電使用情報に基づき最適な使用時間帯を計算する手段 3. A method for calculating optimal usage times based on received appliance usage information

4. 計算した最適な使用時間帯と電気料金をユーザーに提案する手段 4. A method for suggesting the calculated optimal usage time and electricity rates to users

5. ユーザーからの運行予定情報を受け取り、最適な充電時間帯を計算する手段 5. A means of receiving schedule information from users and calculating the optimal charging time slots

6. 計算した最適な充電時間帯をユーザーに通知する手段 6. A method for notifying users of the calculated optimal charging time slot

プログラムの処理説明 Program processing explanation

サーバは、Pythonなどのプログラミング言語を用いて実装される。サーバは、ユーザー端末から送信される家電使用情報および運行予定情報を受信し、それらの情報を基に最適な使用時間帯および充電時間帯を計算する。 The server is implemented using a programming language such as Python. It receives appliance usage information and operation schedule information sent from the user's device, and calculates the optimal usage and charging times based on this information.

具体的には、サーバは以下の処理を行う。 Specifically, the server performs the following processes:

1. 電気料金の計算: 1. Calculating electricity charges:

サーバは市場連動型プランに基づいて、電力取引所の取引価格を取得し、電気料金を計算する。この計算には、APIを通じて電力取引所のデータを取得する。 The server obtains the trading price from the power exchange based on the market-linked plan and calculates the electricity bill. This calculation involves obtaining data from the power exchange via an API.

2. 家電使用情報の受信と処理: 2. Receiving and processing home appliance usage information:

ユーザー端末から送信される家電使用情報(使用したい家電の種類と使用時間)を受信し、最適な使用時間帯を計算する。計算には、AIモデルを用いて電力消費のピーク時間を避けるようにする。 The system receives appliance usage information (type of appliance to be used and usage time) sent from the user's device and calculates the optimal usage time. It uses an AI model to calculate and avoid peak hours of power consumption.

3. 運行予定情報の受信と処理: 3. Receiving and processing schedule information:

ユーザー端末から送信される運行予定情報(出発時間、到着時間、目的地)を受信し、最適な充電時間帯を計算する。計算には、AIモデルを用いて運行スケジュールに基づく最適な充電時間を決定する。 The system receives flight schedule information (departure time, arrival time, destination) sent from the user's device and calculates the optimal charging time. The calculation uses an AI model to determine the optimal charging time based on the flight schedule.

4. 通知: 4. Notice:

計算した最適な使用時間帯および充電時間帯をユーザーに通知する。通知は、ユーザー端末にプッシュ通知やメールで送信される。 The user will be notified of the calculated optimal usage and charging times. Notifications will be sent to the user's device via push notification or email.

具体例 Specific examples

例えば、ユーザーがスマートフォンアプリに以下の情報を入力する。 For example, a user enters the following information into a smartphone app:

出発時間: 2023-10-01 08:00:00 Departure time: 2023-10-01 08:00:00

到着時間: 2023-10-01 10:00:00 Arrival time: 2023-10-01 10:00:00

目的地: Office Destination: Office

この情報を基に、サーバは最適な充電時間を計算し、出発の2時間前(2023-10-01 06:00:00)に充電を開始するよう通知する。 Based on this information, the server calculates the optimal charging time and notifies the driver to start charging two hours before departure (2023-10-01 06:00:00).

生成AIモデルへ入力するプロンプト文の例: Example of a prompt to input to a generative AI model:

ユーザーが自動運転車両の運行予定を入力しました。出発時間は2023-10-01 08:00:00、到着時間は2023-10-01 10:00:00、目的地はOfficeです。この情報を基に、最適な充電時間を計算してください。 The user has entered a scheduled autonomous vehicle trip. The departure time is 2023-10-01 08:00:00, the arrival time is 2023-10-01 10:00:00, and the destination is Office. Please calculate the optimal charging time based on this information.

このようにして、ユーザーの運行予定に基づいて最適な充電時間を計算し、エネルギー管理を効率化することが可能となる。 In this way, it is possible to calculate the optimal charging time based on the user's driving schedule and improve energy management efficiency.

応用例2における特定処理の流れについて図14を用いて説明する。 The flow of the specific processing in Application Example 2 will be explained using Figure 14.

ステップ1: Step 1:

ユーザーがスマートフォンアプリを使用して家電使用情報および運行予定情報を入力する。入力される情報には、使用したい家電の種類、使用時間、出発時間、到着時間、目的地が含まれる。これらの情報は、ユーザー端末からサーバに送信される。 Users use a smartphone app to input information about their appliance usage and scheduled operations. The information entered includes the type of appliance they want to use, usage time, departure time, arrival time, and destination. This information is sent from the user's device to the server.

ステップ2: Step 2:

サーバは、ユーザー端末から送信された家電使用情報を受信する。受信した情報には、使用したい家電の種類と使用時間が含まれる。サーバは、この情報を基に最適な使用時間帯を計算するためのデータ加工を行う。 The server receives appliance usage information sent from the user's device. The received information includes the type of appliance desired to be used and the usage time. Based on this information, the server processes the data to calculate the optimal usage time period.

ステップ3: Step 3:

サーバは、市場連動型プランに基づいて電力取引所の取引価格を取得する。取得した取引価格データを基に、電気料金を計算する。計算には、APIを通じて電力取引所のデータを取得し、リアルタイムでの価格変動を考慮する。 The server obtains trading prices from the power exchange based on a market-linked plan. It then calculates electricity charges based on the obtained trading price data. Calculations involve obtaining data from the power exchange via an API and taking real-time price fluctuations into account.

ステップ4: Step 4:

サーバは、受信した家電使用情報と取得した取引価格データを基に、最適な使用時間帯を計算する。計算には、AIモデルを用いて電力消費のピーク時間を避けるようにする。具体的には、電力消費のピーク時間帯を避けるためのアルゴリズムを適用する。 The server calculates the optimal usage time based on the received appliance usage information and acquired trading price data. The calculation uses an AI model to avoid peak hours of electricity consumption. Specifically, it applies an algorithm to avoid peak hours of electricity consumption.

ステップ5: Step 5:

サーバは、計算した最適な使用時間帯と電気料金をユーザーに提案する。提案は、ユーザー端末にプッシュ通知やメールで送信される。ユーザーは、提案された最適な使用時間帯を確認し、家電の使用を計画することができる。 The server then proposes the calculated optimal usage time and electricity rates to the user. The proposal is sent to the user's device via push notification or email. The user can check the proposed optimal usage time and plan their home appliance usage.

ステップ6: Step 6:

サーバは、ユーザー端末から送信された運行予定情報を受信する。受信した情報には、出発時間、到着時間、目的地が含まれる。サーバは、この情報を基に最適な充電時間帯を計算するためのデータ加工を行う。 The server receives the scheduled vehicle information sent from the user's device. The received information includes departure time, arrival time, and destination. The server processes this information to calculate the optimal charging time slot.

ステップ7: Step 7:

サーバは、受信した運行予定情報を基に、最適な充電時間帯を計算する。計算には、AIモデルを用いて運行スケジュールに基づく最適な充電時間を決定する。具体的には、出発の2時間前に充電を開始するようなアルゴリズムを適用する。 The server calculates the optimal charging time based on the received flight schedule information. It uses an AI model to determine the optimal charging time based on the flight schedule. Specifically, it applies an algorithm that starts charging two hours before departure.

ステップ8: Step 8:

サーバは、計算した最適な充電時間帯をユーザーに通知する。通知は、ユーザー端末にプッシュ通知やメールで送信される。ユーザーは、通知された最適な充電時間帯を確認し、自動運転車両の充電を計画することができる。 The server notifies the user of the calculated optimal charging time. The notification is sent to the user's device via push notification or email. The user can check the optimal charging time and plan charging for their autonomous vehicle.

このようにして、ユーザーの家電使用情報および運行予定情報に基づいて、最適な使用時間帯および充電時間帯を計算し、エネルギー管理を効率化することが可能となる。 In this way, optimal usage and charging times can be calculated based on the user's home appliance usage information and operation schedule information, making it possible to improve energy management efficiency.

(実施例3) (Example 3)

次に、形態例3の実施例3について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマート眼鏡214を「端末」と称する。 Next, we will explain Example 3 of Form Example 3. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal."

従来の電気料金計算システムでは、ユーザーが家電を使用する最適な時間帯を知ることが難しく、電気料金を効果的に抑えることができなかった。また、電力取引所の取引価格に基づくリアルタイムな電気料金の計算が行われていなかったため、ユーザーにとって最適な使用時間帯を提案することができなかった。これにより、ユーザーは高額な電気料金を支払うことが多く、エネルギーの効率的な使用が困難であった。 With conventional electricity bill calculation systems, it was difficult for users to know the optimal time to use their home appliances, making it difficult to effectively reduce electricity bills. Furthermore, because electricity bills were not calculated in real time based on trading prices at the power exchange, it was not possible to suggest the optimal time for users to use their appliances. This often resulted in users paying high electricity bills and making it difficult to use energy efficiently.

実施例3におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 3 is realized by the following means.

この発明では、サーバは、ユーザーからの家電使用情報を受け取る手段と、電力取引所の取引価格データを取得する手段と、取得した取引価格データを処理し、指定された時間帯の電気料金を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、計算結果をユーザーに提示する手段と、を含む。これにより、ユーザーは家電を使用する最適な時間帯とその時間帯の電気料金をリアルタイムで知ることが可能となり、電気料金を効果的に抑えることができる。 In this invention, the server includes means for receiving home appliance usage information from the user, means for acquiring trading price data from the power exchange, means for processing the acquired trading price data and calculating the electricity rate for a specified time period, means for proposing the calculated optimal usage time period and electricity rate to the user, and means for presenting the calculation results to the user. This allows the user to know the optimal time period for using home appliances and the electricity rate for that time period in real time, allowing for effective savings on electricity bills.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用したい家電の種類と使用時間を入力するためのインターフェースを提供し、その情報をサーバに送信する機能を持つ装置またはソフトウェアである。 "Means for receiving home appliance usage information from users" refers to a device or software that provides an interface for users to input the type of home appliance they wish to use and the usage time, and has the function of sending that information to a server.

「電力取引所の取引価格データを取得する手段」とは、電力取引所のAPIにアクセスし、最新の取引価格データを取得するための機能を持つ装置またはソフトウェアである。 "Means for obtaining trading price data from the power exchange" refers to devices or software that have the functionality to access the power exchange's API and obtain the latest trading price data.

「取得した取引価格データを処理し、指定された時間帯の電気料金を計算する手段」とは、取得した取引価格データを解析し、ユーザーが指定した時間帯における電気料金を計算するための機能を持つ装置またはソフトウェアである。 "Means for processing acquired transaction price data and calculating electricity charges for a specified time period" refers to a device or software that has the function of analyzing acquired transaction price data and calculating electricity charges for a time period specified by the user.

「計算した最適な使用時間帯と電気料金をユーザーに提案する手段」とは、計算結果に基づいて、ユーザーにとって最適な家電の使用時間帯とその時間帯の電気料金を提示するための機能を持つ装置またはソフトウェアである。 "Means for proposing the calculated optimal usage time periods and electricity rates to the user" refers to a device or software that has the function of presenting the optimal usage time periods for home appliances and the electricity rates for those times to the user based on the calculation results.

「計算結果をユーザーに提示する手段」とは、計算された電気料金と最適な使用時間帯をユーザーに視覚的または音声的に提示するための機能を持つ装置またはソフトウェアである。 "Means for presenting calculation results to the user" refers to a device or software that has the function of visually or audibly presenting the calculated electricity charges and optimal usage times to the user.

発明を実施するための形態 Form for implementing the invention

この発明は、ユーザーが家電を使用する最適な時間帯とその時間帯の電気料金を計算し、ユーザーに提案するシステムである。このシステムは、ユーザーからの家電使用情報を受け取り、電力取引所の取引価格データを取得し、取得したデータを処理して電気料金を計算し、その結果をユーザーに提示する。 This invention is a system that calculates the optimal time periods for users to use home appliances and the electricity rates for those times, and then suggests these to the user. This system receives home appliance usage information from the user, acquires trading price data from the power exchange, processes the acquired data to calculate the electricity rate, and presents the results to the user.

使用するハードウェアおよびソフトウェア Hardware and software used

このシステムは、以下のハードウェアおよびソフトウェアを使用する: This system uses the following hardware and software:

サーバ:データ処理および計算を行うためのコンピュータシステム。 Server: A computer system for data processing and calculations.

端末:ユーザーが情報を入力するためのデバイス(スマートフォン、タブレット、PCなど)。 Device: The device through which the user enters information (smartphone, tablet, PC, etc.).

Python:プログラムの開発に使用するプログラミング言語。 Python: A programming language used to develop programs.

Pandasライブラリ:データ処理および解析に使用するPythonのライブラリ。 Pandas library: A Python library used for data processing and analysis.

Requestsライブラリ:電力取引所のAPIからデータを取得するために使用するPythonのライブラリ。 Requests library: A Python library used to retrieve data from the power exchange API.

プログラムの処理 Program processing

サーバは、ユーザーからの入力を受け取る。ユーザーが使用したい家電の種類と使用時間を入力すると、サーバは電力取引所のAPIから最新の取引価格データを取得する。このデータを基に、サーバは指定された時間帯の電気料金を計算する。計算には、電力取引価格と家電の消費電力を掛け合わせることで行う。 The server receives input from the user. When the user enters the type of appliance they want to use and the duration of use, the server retrieves the latest trading price data from the power exchange's API. Based on this data, the server calculates the electricity rate for the specified time period. The calculation is done by multiplying the electricity trading price by the appliance's power consumption.

具体例 Specific examples

例えば、ユーザーが「エアコンを午後3時から6時まで使用する」と入力した場合、サーバは以下のように処理を行う: For example, if a user enters "I want the air conditioner to run from 3:00 PM to 6:00 PM," the server will process it as follows:

1. ユーザーが端末の入力フォームに「エアコン、15:00-18:00」と入力する。 1. The user enters "Air conditioning, 15:00-18:00" into the device's input form.

2. 端末はこの入力データをサーバに送信する。 2. The device sends this input data to the server.

3. サーバはRequestsライブラリを使用して、電力取引所のAPIにリクエストを送信する。 3. The server uses the Requests library to send a request to the power exchange API.

4. サーバはAPIから返された取引価格データを受け取り、Pandasを使用してデータフレームに変換する。 4. The server receives the trading price data returned from the API and converts it into a data frame using Pandas.

5. サーバはデータフレームから指定された時間帯(15:00-18:00)の取引価格を抽出する。 5. The server extracts trading prices for the specified time period (15:00-18:00) from the data frame.

6. サーバはエアコンの消費電力(例えば1.5kW)を取引価格に掛け合わせて電気料金を計算する。 6. The server calculates the electricity bill by multiplying the air conditioner's power consumption (for example, 1.5kW) by the transaction price.

7. サーバは計算結果を「エアコンを午後3時から6時まで使用すると、電気料金は〇〇円です」と生成する。 7. The server generates the calculation result: "If you use the air conditioner from 3:00 PM to 6:00 PM, the electricity bill will be XX yen."

8. サーバはこのメッセージを端末に送信する。 8. The server sends this message to the device.

9. 端末はユーザーにメッセージを表示する。 9. The device displays a message to the user.

プロンプト文の例 Example prompt

生成AIモデルへ入力するプロンプト文の例: Example of a prompt to input to a generative AI model:

ユーザーがエアコンを午後3時から6時まで使用したいと入力した場合、その時間帯の電力取引所の取引価格に基づいて電気料金を計算し、ユーザーに提示するプログラムを作成してください。 If a user inputs that they want to use the air conditioner from 3:00 PM to 6:00 PM, create a program that calculates the electricity rate based on the trading price on the power exchange for that time period and displays it to the user.

このようにして、ユーザーは最適な使用時間帯と電気料金を知ることができ、電気料金を抑えるための参考情報とすることができる。実施例3における特定処理の流れについて図15を用いて説明する。 In this way, users can learn the optimal usage times and electricity rates, and use this information as reference for reducing electricity costs. The flow of the identification process in Example 3 will be explained using Figure 15.

プログラムの処理の流れ Program processing flow

ステップ1:ユーザーの入力受け取り Step 1: Receive user input

ユーザーは端末を使用して、使用したい家電の種類と使用時間を入力する。例えば、ユーザーが「エアコンを午後3時から6時まで使用する」と入力する。 The user uses the device to input the type of appliance they want to use and the time they want to use it. For example, the user might input "I want to use the air conditioner from 3:00 to 6:00 PM."

具体的な動作: Specific actions:

入力:ユーザーが端末の入力フォームに「エアコン、15:00-18:00」と入力する。 Input: The user enters "Air conditioning, 15:00-18:00" into the device's input form.

出力:端末はこの入力データをサーバに送信する。 Output: The device sends this input data to the server.

ステップ2:電力取引価格データの取得 Step 2: Obtaining electricity trading price data

サーバは電力取引所のAPIから最新の取引価格データを取得する。このデータは、指定された時間帯の電気料金を計算するために使用される。 The server retrieves the latest trading price data from the power exchange's API. This data is used to calculate the electricity rate for the specified time period.

具体的な動作: Specific actions:

入力:サーバはユーザーから送信された家電使用情報を受け取る。 Input: The server receives home appliance usage information sent by the user.

データ加工:サーバはRequestsライブラリを使用して、電力取引所のAPIにリクエストを送信する。 Data processing: The server uses the Requests library to send requests to the power exchange API.

出力:サーバはAPIから返された取引価格データを受け取る。 Output: The server receives the trading price data returned from the API.

ステップ3:データの処理と電気料金の計算 Step 3: Process the data and calculate the electricity bill

サーバは取得した取引価格データをPandasライブラリを用いて処理し、指定された時間帯の電気料金を計算する。計算には、家電の消費電力と取引価格を掛け合わせる。 The server processes the acquired trading price data using the Pandas library and calculates the electricity rate for the specified time period. To do this, it multiplies the power consumption of the appliance by the trading price.

具体的な動作: Specific actions:

入力:サーバはAPIから取得した取引価格データを受け取る。 Input: The server receives trading price data obtained from the API.

データ加工:サーバはPandasを使用して、取引価格データをデータフレームに変換する。 Data processing: The server uses Pandas to convert trading price data into a data frame.

データ演算:サーバはデータフレームから指定された時間帯(15:00-18:00)の取引価格を抽出し、エアコンの消費電力(例えば1.5kW)を掛け合わせて電気料金を計算する。 Data calculation: The server extracts the trading price for the specified time period (15:00-18:00) from the data frame and multiplies it by the air conditioner's power consumption (e.g., 1.5kW) to calculate the electricity bill.

出力:計算された電気料金データ。 Output: Calculated electricity bill data.

ステップ4:計算結果の提示 Step 4: Presenting the calculation results

サーバは計算結果をユーザーに提示する。ユーザーはこれにより、電気料金を抑えるための参考情報を得ることができる。 The server then presents the calculation results to the user, allowing the user to obtain reference information for reducing electricity bills.

具体的な動作: Specific actions:

入力:計算された電気料金データ。 Input: Calculated electricity rate data.

データ加工:サーバは計算結果を「エアコンを午後3時から6時まで使用すると、電気料金は〇〇円です」といった形式で生成する。 Data processing: The server generates the calculation results in a format such as "If you use the air conditioner from 3:00 pm to 6:00 pm, your electricity bill will be XX yen."

出力:サーバはこのメッセージを端末に送信する。 Output: The server sends this message to the terminal.

動作:端末はユーザーにメッセージを表示する。 Action: The device displays a message to the user.

このようにして、ユーザーは最適な使用時間帯と電気料金を知ることができ、電気料金を抑えるための参考情報とすることができる。 In this way, users can learn the optimal times to use electricity and electricity rates, which can be used as reference information to reduce electricity bills.

(応用例3) (Application Example 3)

次に、形態例3の応用例3について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマート眼鏡214を「端末」と称する。 Next, we will explain Application Example 3 of Form Example 3. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal."

電力使用において、ユーザーが電気料金を抑えるための最適な使用時間帯を知ることが難しいという問題がある。また、特に電気自動車の充電においては、充電時間帯によって電気料金が大きく変動するため、ユーザーが最適な充電時間帯を選択することが困難である。このため、ユーザーが効率的に電力を使用し、電気料金を抑えるためのシステムが求められている。 When it comes to electricity usage, users often have difficulty knowing the optimal time of day to use the power in order to reduce their electricity bills. Furthermore, when charging electric vehicles in particular, electricity rates vary greatly depending on the time of day, making it difficult for users to select the optimal time of day to charge. For this reason, there is a demand for a system that allows users to use electricity efficiently and reduce their electricity bills.

応用例3におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 3 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの電力使用情報を受け取る手段と、受け取った電力使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーが入力した電力使用時間帯の中で最も電気料金が安い時間帯を計算する手段と、計算した最適な電力使用時間帯と予想電気料金をユーザーに提示する手段を含む。これにより、ユーザーは電気料金を抑えるための最適な使用時間帯を知ることが可能となる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving electricity usage information from the user, means for calculating optimal usage time periods based on the received electricity usage information, means for proposing the calculated optimal usage time periods and electricity charges to the user, means for calculating the time period with the lowest electricity charge among the electricity usage time periods entered by the user, and means for presenting the calculated optimal electricity usage time periods and estimated electricity charges to the user. This allows the user to know the optimal usage time periods for reducing electricity charges.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、電力取引所の取引価格を基にして、ユーザーが使用する電力の料金を計算する機能を持つ装置またはプログラムである。 "Means for calculating electricity charges" refers to a device or program that has the function of calculating the charges for electricity used by a user based on the trading price at the electricity exchange.

「電力使用情報」とは、ユーザーが使用する電力機器の種類や使用時間などの情報を指す。 "Electricity usage information" refers to information such as the type of electrical equipment used by the user and the duration of use.

「最適な使用時間帯を計算する手段」とは、受け取った電力使用情報に基づいて、電気料金が最も安くなる時間帯を計算する機能を持つ装置またはプログラムである。 "Means for calculating the optimal usage time period" refers to a device or program that has the function of calculating the time period with the lowest electricity rates based on the received electricity usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知する機能を持つ装置またはプログラムである。 "Means for making suggestions to users" refers to a device or program that has the function of notifying users of the calculated optimal usage time period and electricity charges.

「電力使用時間帯」とは、ユーザーが電力機器を使用する予定の時間帯を指す。 "Power usage time period" refers to the time period during which a user plans to use power equipment.

「最も電気料金が安い時間帯を計算する手段」とは、ユーザーが入力した電力使用時間帯の中で、電気料金が最も安くなる時間帯を計算する機能を持つ装置またはプログラムである。 "Means for calculating the time period with the cheapest electricity rates" refers to a device or program that has the function of calculating the time period with the cheapest electricity rates among the electricity usage time periods entered by the user.

「予想電気料金をユーザーに提示する手段」とは、計算した最適な電力使用時間帯とその時間帯における予想電気料金をユーザーに通知する機能を持つ装置またはプログラムである。 "Means for presenting estimated electricity charges to users" refers to a device or program that has the function of notifying users of the calculated optimal time periods for electricity usage and the estimated electricity charges for those times.

この発明を実施するためのシステムは、電気自動車の充電を最適化するためのものである。システムは、サーバ、ユーザー端末、および電力取引所のAPIを含む。以下に、システムの具体的な実施形態を説明する。 A system for implementing this invention is for optimizing the charging of electric vehicles. The system includes a server, a user terminal, and an API for a power exchange. A specific embodiment of the system is described below.

システム構成 System Configuration

1. サーバ 1. Server

サーバは、以下の機能を持つプログラムを実行する。 The server runs a program with the following functions:

市場連動型プランに基づく電気料金を計算する機能 Function to calculate electricity rates based on market-linked plans

ユーザーからの電力使用情報を受け取る機能 A function to receive power usage information from users

受け取った電力使用情報に基づき最適な使用時間帯を計算する機能 A function that calculates the optimal usage time based on received power usage information.

計算した最適な使用時間帯と電気料金をユーザーに提案する機能 A function that suggests optimal usage times and electricity rates to users.

ユーザーが入力した電力使用時間帯の中で最も電気料金が安い時間帯を計算する機能 A function that calculates the cheapest electricity rate among the electricity usage periods entered by the user.

計算した最適な電力使用時間帯と予想電気料金をユーザーに提示する機能 A function that displays the calculated optimal power usage times and estimated electricity charges to the user.

2. ユーザー端末 2. User Device

ユーザー端末は、スマートフォンやタブレットなどのデバイスであり、ユーザーが電力使用情報を入力するためのインターフェースを提供する。ユーザーは、充電したい時間帯を入力し、その情報がサーバに送信される。 The user terminal is a device such as a smartphone or tablet that provides an interface for users to enter power usage information. Users enter the time period during which they wish to charge, and that information is sent to the server.

3. 電力取引所のAPI 3. Power Exchange API

電力取引所のAPIは、電力取引所の取引価格を取得するためのインターフェースである。サーバは、このAPIを通じてリアルタイムの電力取引価格を取得し、電気料金の計算に使用する。 The power exchange API is an interface for obtaining trading prices from the power exchange. The server obtains real-time power trading prices through this API and uses them to calculate electricity charges.

プログラムの処理説明 Program processing explanation

サーバは、ユーザー端末から受け取った電力使用情報を基に、電力取引所のAPIから取得した取引価格を使用して電気料金を計算する。具体的には、以下の手順で処理が行われる。 The server calculates electricity charges based on the electricity usage information received from the user's device and the trading price obtained from the power exchange's API. Specifically, the process is carried out as follows:

1. 電力使用情報の受信 1. Receiving power usage information

ユーザーが端末から入力した電力使用情報(例えば、充電したい時間帯)がサーバに送信される。 Power usage information entered by the user on the device (for example, the time period during which they wish to charge) is sent to the server.

2. 電気料金の計算 2. Calculating your electricity bill

サーバは、電力取引所のAPIを使用して、指定された時間帯の取引価格を取得する。その後、取得した取引価格に基づいて電気料金を計算する。 The server uses the power exchange's API to obtain the trading price for the specified time period. It then calculates the electricity bill based on the obtained trading price.

3. 最適な使用時間帯の計算 3. Calculating the optimal usage time

サーバは、ユーザーが入力した時間帯の中で最も電気料金が安い時間帯を計算する。この計算には、リアルタイムの取引価格データが使用される。 The server calculates the cheapest electricity rate among the time periods entered by the user. This calculation uses real-time trading price data.

4. 結果の提示 4. Presentation of results

計算結果(最適な使用時間帯と予想電気料金)は、ユーザー端末に送信され、ユーザーに提示される。 The calculation results (optimal usage times and estimated electricity rates) are sent to the user's terminal and presented to the user.

具体例 Specific examples

例えば、ユーザーが「2023年10月1日の午後3時から午後6時までの間に充電したい」と入力した場合、サーバはその時間帯の取引価格を取得し、最も電気料金が安い時間帯を計算して提示する。 For example, if a user inputs "I want to charge between 3:00 PM and 6:00 PM on October 1, 2023," the server will retrieve the trading prices for that time period and calculate and present the time period with the cheapest electricity rates.

プロンプト文の例 Example prompt

生成AIモデルへ入力するプロンプト文の例: Example of a prompt to input to a generative AI model:

ユーザーが電気自動車の充電時間帯を入力すると、その時間帯の電力取引所の取引価格に基づいて最適な充電時間帯と電気料金を計算し、ユーザーに提示するシステムを設計してください。例えば、「2023年10月1日の午後3時から午後6時までの間に充電したい」と入力された場合、その時間帯の中で最も電気料金が安い時間帯を計算して提示します。 Design a system that, when a user inputs the time period they wish to charge their electric vehicle, calculates the optimal charging time and electricity rate based on the trading price on the power exchange for that time period and presents it to the user. For example, if a user inputs "I would like to charge between 3:00 PM and 6:00 PM on October 1, 2023," the system will calculate and present the time period with the cheapest electricity rate within that time period.

応用例3における特定処理の流れについて図16を用いて説明する。 The flow of the specific processing in Application Example 3 will be explained using Figure 16.

ステップ1: Step 1:

ユーザーが端末から電力使用情報を入力する。 The user enters power usage information from the device.

具体的には、ユーザーはスマートフォンやタブレットなどの端末を使用して、充電したい時間帯(例えば、「2023年10月1日の午後3時から午後6時まで」)を入力する。入力された情報は、端末からサーバに送信される。 Specifically, users use a device such as a smartphone or tablet to input the time period during which they would like to charge (for example, "October 1, 2023, from 3:00 PM to 6:00 PM"). The input information is then sent from the device to the server.

入力:充電したい時間帯 Input: Time of day you want to charge

出力:サーバに送信された電力使用情報 Output: Power usage information sent to the server

ステップ2: Step 2:

サーバが電力使用情報を受信する。 The server receives power usage information.

サーバは、ユーザー端末から送信された電力使用情報を受信し、その情報を解析する。受信した情報には、充電したい時間帯が含まれている。 The server receives and analyzes the power usage information sent from the user's device. The received information includes the time period during which the user wishes to charge.

入力:ユーザーから送信された電力使用情報 Input: Power usage information submitted by the user

出力:解析された電力使用情報 Output: Analyzed power usage information

ステップ3: Step 3:

サーバが電力取引所のAPIから取引価格を取得する。 The server obtains trading prices from the power exchange API.

サーバは、電力取引所のAPIを使用して、指定された時間帯の取引価格を取得する。取得された取引価格は、電気料金の計算に使用される。 The server uses the power exchange's API to obtain the trading price for the specified time period. The obtained trading price is used to calculate the electricity bill.

入力:解析された電力使用情報(充電したい時間帯) Input: Analyzed power usage information (time period you want to charge)

出力:指定された時間帯の取引価格 Output: Trading price for the specified time period

ステップ4: Step 4:

サーバが電気料金を計算する。 The server calculates the electricity bill.

サーバは、取得した取引価格に基づいて、ユーザーが指定した時間帯の電気料金を計算する。計算には、取引価格と使用時間が使用される。 The server calculates the electricity charges for the time period specified by the user based on the acquired transaction price. The transaction price and usage time are used for the calculation.

入力:指定された時間帯の取引価格、使用時間 Input: Trading price for the specified time period, usage time

出力:計算された電気料金 Output: Calculated electricity cost

ステップ5: Step 5:

サーバが最適な使用時間帯を計算する。 The server will calculate the optimal usage time.

サーバは、ユーザーが入力した時間帯の中で最も電気料金が安い時間帯を計算する。この計算には、リアルタイムの取引価格データが使用される。 The server calculates the cheapest electricity rate among the time periods entered by the user. This calculation uses real-time trading price data.

入力:指定された時間帯の取引価格、使用時間 Input: Trading price for the specified time period, usage time

出力:最適な使用時間帯 Output: Optimal usage time

ステップ6: Step 6:

サーバが計算結果をユーザーに提示する。 The server presents the calculation results to the user.

サーバは、計算した最適な使用時間帯と予想電気料金をユーザー端末に送信し、ユーザーに提示する。ユーザーは、提示された情報を基に最適な充電時間帯を選択することができる。 The server then sends the calculated optimal usage time and estimated electricity charges to the user's terminal and presents them to the user. The user can then select the optimal charging time based on the presented information.

入力:最適な使用時間帯、計算された電気料金 Input: Optimal usage time, calculated electricity rate

出力:ユーザーに提示された最適な使用時間帯と予想電気料金 Output: Optimal usage times and estimated electricity rates presented to the user

なお、更に、ユーザの感情を推定する感情エンジンを組み合わせてもよい。すなわち、特定処理部290は、感情特定モデル59を用いてユーザの感情を推定し、ユーザの感情を用いた特定処理を行うようにしてもよい。 It is also possible to further combine an emotion engine that estimates the user's emotion. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59 and perform identification processing using the user's emotion.

「形態例1」 "Example 1"

本発明の一実施形態として、感情エンジンを組み込んだシステムが提供される。このシステムは、ユーザーの声や表情、行動などから感情を認識し、その感情に応じて最適な家電の使用時間帯を提案する。例えば、ユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電(例:テレビやゲーム機)の使用を提案する。また、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェアやアロマディフューザー)の使用を提案する。これにより、ユーザーの感情に応じた最適な家電の使用時間帯を提案することが可能となる。 One embodiment of the present invention provides a system incorporating an emotion engine. This system recognizes emotions from the user's voice, facial expressions, actions, etc., and suggests optimal times to use home appliances based on those emotions. For example, if the user is expressing joy, the system suggests using home appliances that are highly entertaining (e.g., televisions or game consoles). Alternatively, if the user is feeling stressed, the system suggests using home appliances that contribute to relaxation (e.g., massage chairs or aroma diffusers). This makes it possible to suggest optimal times to use home appliances based on the user's emotions.

「形態例2」 "Example 2"

また、本発明の別の実施形態として、感情エンジンの認識結果に基づき、電気料金の提案を調整するシステムが提供される。このシステムは、ユーザーの感情に応じて電気料金の提案を最適化する。例えば、ユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電の使用時間帯を延長し、その結果として発生する電気料金の増加を提案する。一方、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電の使用時間帯を延長し、その結果として発生する電気料金の増加を提案する。これにより、ユーザーの感情に応じた最適な電気料金の提案を行うことが可能となる。 In another embodiment of the present invention, a system is provided that adjusts electricity rate proposals based on the recognition results of an emotion engine. This system optimizes electricity rate proposals according to the user's emotions. For example, if the user is expressing joy, the system extends the usage time periods for entertainment-oriented home appliances and proposes an increase in the resulting electricity bill. On the other hand, if the user is feeling stressed, the system extends the usage time periods for relaxation-oriented home appliances and proposes an increase in the resulting electricity bill. This makes it possible to propose optimal electricity rates according to the user's emotions.

「形態例3」 "Example 3"

本発明の一実施形態として、感情エンジンを組み込んだシステムが提供される。このシステムは、ユーザーの声や表情、行動などから感情を認識し、その感情に応じて最適な家電の使用時間帯を提案する。例えば、ユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電(例:テレビやゲーム機)の使用を提案する。また、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェアやアロマディフューザー)の使用を提案する。これにより、ユーザーの感情に応じた最適な家電の使用時間帯を提案することが可能となる。 One embodiment of the present invention provides a system incorporating an emotion engine. This system recognizes emotions from the user's voice, facial expressions, actions, etc., and suggests optimal times to use home appliances based on those emotions. For example, if the user is expressing joy, the system suggests using home appliances that are highly entertaining (e.g., televisions or game consoles). Alternatively, if the user is feeling stressed, the system suggests using home appliances that contribute to relaxation (e.g., massage chairs or aroma diffusers). This makes it possible to suggest optimal times to use home appliances based on the user's emotions.

以下に、各形態例の処理の流れについて説明する。 The processing flow for each example form is explained below.

「形態例1」 "Example 1"

ステップ1:システムは、ユーザーの声や表情、行動などから感情を認識する感情エンジンを起動する。 Step 1: The system activates an emotion engine that recognizes emotions from the user's voice, facial expressions, behavior, etc.

ステップ2:感情エンジンは、ユーザーの感情を認識し、その結果をシステムに伝える。ステップ3:システムは、感情エンジンからの結果に基づき、最適な家電の使用時間帯を計算する。 Step 2: The emotion engine recognizes the user's emotions and communicates the results to the system. Step 3: The system calculates the optimal time to use home appliances based on the results from the emotion engine.

ステップ4:システムは、計算した最適な使用時間帯をユーザーに提案する。 Step 4: The system will suggest the calculated optimal usage time to the user.

「形態例2」 "Example 2"

ステップ1:システムは、ユーザーの声や表情、行動などから感情を認識する感情エンジンを起動する。 Step 1: The system activates an emotion engine that recognizes emotions from the user's voice, facial expressions, behavior, etc.

ステップ2:感情エンジンは、ユーザーの感情を認識し、その結果をシステムに伝える。ステップ3:システムは、感情エンジンからの結果に基づき、電気料金の提案を調整する。 Step 2: The emotion engine recognizes the user's emotions and communicates the results to the system. Step 3: The system adjusts the electricity rate proposal based on the results from the emotion engine.

ステップ4:システムは、調整した電気料金の提案をユーザーに伝える。 Step 4: The system communicates the adjusted electricity rate proposal to the user.

「形態例3」 "Example 3"

ステップ1:システムは、ユーザーの声や表情、行動などから感情を認識する感情エンジンを起動する。 Step 1: The system activates an emotion engine that recognizes emotions from the user's voice, facial expressions, behavior, etc.

ステップ2:感情エンジンは、ユーザーの感情を認識し、その結果をシステムに伝える。ステップ3:システムは、感情エンジンからの結果に基づき、最適な家電の使用時間帯を計算する。 Step 2: The emotion engine recognizes the user's emotions and communicates the results to the system. Step 3: The system calculates the optimal time to use home appliances based on the results from the emotion engine.

ステップ4:システムは、計算した最適な使用時間帯をユーザーに提案する。 Step 4: The system will suggest the calculated optimal usage time to the user.

(実施例1) (Example 1)

次に、形態例1の実施例1について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマート眼鏡214を「端末」と称する。 Next, Example 1 of Form Example 1 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal."

従来の電気料金計算システムでは、電力市場の取引価格に基づく電気料金の計算が行われているが、ユーザーの感情や行動に基づいた最適な家電の使用時間帯の提案が行われていない。そのため、ユーザーの感情に応じた家電の使用を促進することができず、ユーザーの満足度を向上させることが難しいという課題がある。 Conventional electricity bill calculation systems calculate electricity bills based on the trading price in the electricity market, but do not suggest optimal times to use home appliances based on the user's emotions or behavior. As a result, they are unable to promote the use of home appliances in accordance with the user's emotions, making it difficult to improve user satisfaction.

実施例1におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 1 is realized by the following means.

この発明では、サーバは、電力市場から取引価格情報を取得する手段と、取得した取引価格情報を解析し電気料金の単価を算出する手段と、ユーザーの消費電力量を取得する手段と、電気料金の単価と消費電力量を基に電気料金を計算する手段と、計算結果をユーザーに通知する手段と、ユーザーの声や表情、行動を収集する手段と、収集したデータを解析しユーザーの感情を認識する手段と、認識した感情に基づいて最適な家電の使用時間帯を提案する手段と、提案内容をユーザーに通知する手段を含む。これにより、ユーザーの感情に応じた最適な家電の使用時間帯を提案し、ユーザーの満足度を向上させることが可能となる。 In this invention, the server includes means for acquiring trading price information from the electricity market, means for analyzing the acquired trading price information and calculating the unit price of electricity, means for acquiring the user's power consumption, means for calculating the electricity bill based on the unit price of electricity and the power consumption, means for notifying the user of the calculation results, means for collecting the user's voice, facial expressions, and behavior, means for analyzing the collected data and recognizing the user's emotions, means for proposing optimal times for using home appliances based on the recognized emotions, and means for notifying the user of the proposed content. This makes it possible to suggest optimal times for using home appliances based on the user's emotions, thereby improving user satisfaction.

「電力市場」とは、電力の売買が行われる市場であり、電力の取引価格が決定される場所である。 An "electricity market" is a market where electricity is bought and sold, and where the trading price of electricity is determined.

「取引価格情報」とは、電力市場における電力の売買価格に関するデータである。 "Trading price information" refers to data regarding the buying and selling prices of electricity in the electricity market.

「電気料金の単価」とは、一定量の電力に対する料金を示す価格であり、取引価格情報に基づいて算出されるものである。 "Electricity unit price" refers to the price per unit of electricity, calculated based on transaction price information.

「消費電力量」とは、ユーザーが一定期間に消費した電力の量を示すデータである。 "Power consumption" is data that indicates the amount of electricity consumed by a user over a certain period of time.

「電気料金」とは、消費電力量に電気料金の単価を掛け合わせて算出される料金である。 "Electricity charge" is a charge calculated by multiplying the amount of electricity consumed by the unit price of electricity.

「ユーザーの声や表情、行動」とは、ユーザーが発する音声、顔の表情、身体の動きなどの情報を指す。 "User's voice, facial expressions, and actions" refers to information such as the voice, facial expressions, and body movements made by the user.

「感情を認識する手段」とは、ユーザーの声や表情、行動を解析し、ユーザーの感情を特定するための技術や装置である。 "Means for recognizing emotions" refers to technology or devices that analyze a user's voice, facial expressions, and behavior to identify the user's emotions.

「最適な家電の使用時間帯」とは、ユーザーの感情や行動に基づいて、家電を使用するのに最も適した時間帯を指す。 "Optimal time to use home appliances" refers to the most suitable time to use home appliances based on the user's emotions and behavior.

「提案内容をユーザーに通知する手段」とは、計算結果や提案内容をユーザーに伝えるための技術や装置である。 "Means for notifying users of proposal content" refers to technology or devices used to communicate calculation results and proposal content to users.

本発明は、市場連動型プランに基づく電気料金を計算し、ユーザーの感情に応じた最適な家電の使用時間帯を提案するシステムである。このシステムは、サーバと端末を含む複数のコンポーネントから構成される。 This invention is a system that calculates electricity rates based on market-linked plans and suggests optimal times for using home appliances based on the user's emotions. This system consists of multiple components, including a server and a terminal.

まず、サーバは電力市場から取引価格情報を取得する。取引価格情報は、電力市場における電力の売買価格に関するデータであり、APIを通じて取得される。例えば、HTTPリクエストを送信し、JSON形式で価格データを受け取る。サーバはこのデータを解析し、一定期間(例:1時間ごと)の平均価格を計算するために、Pythonのpandasライブラリを使用する。具体的には、JSONデータをpandasのDataFrameに変換し、resample('H').mean()メソッドを使用して1時間ごとの平均価格を計算する。 First, the server obtains trading price information from the electricity market. Trading price information is data on the buying and selling prices of electricity in the electricity market, and is obtained through an API. For example, an HTTP request is sent and price data is received in JSON format. The server analyzes this data and uses Python's pandas library to calculate the average price over a certain period (e.g., every hour). Specifically, it converts the JSON data into a pandas DataFrame and calculates the average price for each hour using the resample('H').mean() method.

次に、サーバはユーザーのスマートメーターから消費電力量データを取得する。スマートメーターのデータは、IoTデバイスからMQTTプロトコルを使用して送信される。サーバはMQTTブローカーに接続し、ユーザーの消費電力量データを受信する。受信したデータを基に、電気料金の単価と消費電力量を掛け合わせて電気料金を計算する。例えば、単価が10円/kWhで消費電力量が5kWhの場合、電気料金は50円となる。計算結果は、SMTPプロトコルを使用してメールを送信するか、Firebase Cloud Messagingを使用してプッシュ通知を送信することで、ユーザーに通知される。 Next, the server obtains power consumption data from the user's smart meter. Smart meter data is sent from the IoT device using the MQTT protocol. The server connects to the MQTT broker and receives the user's power consumption data. Based on the received data, the electricity bill is calculated by multiplying the electricity rate by the amount of power consumed. For example, if the unit price is 10 yen/kWh and the amount of power consumed is 5kWh, the electricity bill will be 50 yen. The calculation result is notified to the user by sending an email using the SMTP protocol or a push notification using Firebase Cloud Messaging.

一方、端末はユーザーの声や表情、行動を収集する。これには、カメラやマイクを使用し、音声認識にはGoogle Cloud Speech-to-Text API、顔認識にはOpenCVを使用する。端末はカメラでユーザーの顔をキャプチャし、OpenCVを使用して顔の特徴点を抽出する。また、マイクで音声を録音し、Google Cloud Speech-to-Text APIを使用してテキストに変換する。収集したデータを解析し、ユーザーの感情を認識するために、Microsoft Azure Emotion APIを使用する。端末は顔の特徴点データをMicrosoft Azure Emotion APIに送信し、感情ラベル(例:喜び、悲しみ、怒り)を取得する。 Meanwhile, the device collects the user's voice, facial expressions, and behavior. To do this, it uses a camera and microphone, and uses the Google Cloud Speech-to-Text API for voice recognition and OpenCV for facial recognition. The device captures the user's face with the camera and extracts facial feature points using OpenCV. It also records audio with the microphone and converts it into text using the Google Cloud Speech-to-Text API. The Microsoft Azure Emotion API is used to analyze the collected data and recognize the user's emotions. The device sends the facial feature point data to the Microsoft Azure Emotion API and obtains an emotion label (e.g., joy, sadness, anger).

認識した感情に基づいて、端末は最適な家電の使用時間帯を提案する。例えば、ユーザーが喜びの感情を示している場合、テレビの使用を提案する。また、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェアやアロマディフューザー)の使用を提案する。提案内容は、Firebase Cloud Messagingを使用してプッシュ通知を送信するか、音声アシスタントを通じて提案内容を音声で伝える。 Based on the recognized emotions, the device will suggest optimal times to use home appliances. For example, if the user is expressing joy, it will suggest using the television. If the user is feeling stressed, it will suggest using appliances that contribute to relaxation (e.g., a massage chair or aroma diffuser). Suggestions are sent via push notifications using Firebase Cloud Messaging or spoken through the voice assistant.

具体例として、ユーザーが1時間に5kWhの電力を消費し、その時間帯の取引価格が10円/kWhであった場合、電気料金は50円となる。また、ユーザーがカメラに向かって笑顔を見せた場合、システムはユーザーが喜びの感情を示していると認識し、テレビの使用を提案する。 For example, if a user consumes 5kWh of electricity in one hour and the trading price for that time period is 10 yen/kWh, the electricity bill will be 50 yen. Also, if the user smiles at the camera, the system recognizes that the user is expressing a happy emotion and suggests using the television.

プロンプト文の例としては、「電力取引所から取得した取引価格情報を基に、1時間ごとの電気料金を計算してください。」や「ユーザーの声や表情から感情を認識し、その感情に応じて最適な家電の使用時間帯を提案してください。」が挙げられる。 Examples of prompts include, "Calculate the hourly electricity bill based on trading price information obtained from the power exchange," and "Recognize the user's emotions from their voice and facial expressions, and suggest the optimal times to use home appliances based on those emotions."

実施例1における特定処理の流れについて図17を用いて説明する。 The flow of the identification process in Example 1 will be explained using Figure 17.

ステップ1: Step 1:

サーバは、電力市場から取引価格情報を取得する。 The server obtains trading price information from the electricity market.

入力: 電力市場のAPIエンドポイント。 Input: Power market API endpoint.

具体的な動作: サーバは「https://api.electricity-market.com/prices」のようなエンドポイントにHTTPリクエストを送信し、取引価格情報をJSON形式で受け取る。 Specific operation: The server sends an HTTP request to an endpoint such as "https://api.electricity-market.com/prices" and receives trading price information in JSON format.

出力: 取得した取引価格情報(JSONデータ)。 Output: Retrieved trading price information (JSON data).

ステップ2: Step 2:

サーバは、取得した取引価格情報を解析し、電気料金の単価を算出する。 The server analyzes the acquired transaction price information and calculates the unit price of electricity.

入力: 取引価格情報(JSONデータ)。 Input: Trading price information (JSON data).

具体的な動作: サーバはJSONデータをpandasのDataFrameに変換し、resample('H').mean()メソッドを使用して1時間ごとの平均価格を計算する。 Specific operation: The server converts the JSON data into a pandas DataFrame and calculates the average price for each hour using the resample('H').mean() method.

出力: 1時間ごとの平均価格(電気料金の単価)。 Output: Average hourly price (unit price of electricity).

ステップ3: Step 3:

サーバは、ユーザーのスマートメーターから消費電力量データを取得する。 The server obtains power consumption data from the user's smart meter.

入力: スマートメーターのデータ(MQTTメッセージ)。 Input: Smart meter data (MQTT message).

具体的な動作: サーバはMQTTブローカーに接続し、ユーザーの消費電力量データを受信する。 Specific operation: The server connects to the MQTT broker and receives the user's power consumption data.

出力: ユーザーの消費電力量データ。 Output: User power consumption data.

ステップ4: Step 4:

サーバは、電気料金の単価と消費電力量を基に電気料金を計算する。 The server calculates the electricity bill based on the unit price of electricity and the amount of electricity consumed.

入力: 電気料金の単価、消費電力量データ。 Input: Electricity unit price and power consumption data.

具体的な動作: サーバは計算式 料金 = 単価 消費電力量 を実行し、電気料金を算出する。 Specific operation: The server executes the formula: Charge = Unit Price Power Consumption to calculate the electricity charge.

出力: 計算された電気料金。 Output: Calculated electricity cost.

ステップ5: Step 5:

サーバは、計算結果をユーザーに通知する。 The server notifies the user of the calculation results.

入力: 計算された電気料金。 Input: Calculated electricity cost.

具体的な動作: サーバはSMTPプロトコルを使用してメールを送信するか、Firebase Cloud Messagingを使用してプッシュ通知を送信する。 Specific behavior: The server sends emails using the SMTP protocol or push notifications using Firebase Cloud Messaging.

出力: ユーザーに通知された電気料金。 Output: The electricity charge notified to the user.

ステップ6: Step 6:

端末は、ユーザーの声や表情、行動を収集する。 The device collects the user's voice, facial expressions, and behavior.

入力: ユーザーの声、表情、行動。 Input: User's voice, facial expressions, and actions.

具体的な動作: 端末はカメラでユーザーの顔をキャプチャし、OpenCVを使用して顔の特徴点を抽出する。また、マイクで音声を録音し、Google Cloud Speech-to-Text APIを使用してテキストに変換する。 Specific operations: The device captures the user's face with the camera and extracts facial feature points using OpenCV. It also records audio with the microphone and converts it to text using the Google Cloud Speech-to-Text API.

出力: ユーザーの声や表情、行動のデータ。 Output: User's voice, facial expression, and behavioral data.

ステップ7: Step 7:

端末は、収集したデータを解析し、ユーザーの感情を認識する。 The device analyzes the collected data and recognizes the user's emotions.

入力: ユーザーの声や表情、行動のデータ。 Input: User voice, facial expression, and behavioral data.

具体的な動作: 端末は顔の特徴点データをMicrosoft Azure Emotion APIに送信し、感情ラベル(例:喜び、悲しみ、怒り)を取得する。 Specific operation: The device sends facial feature point data to the Microsoft Azure Emotion API and obtains an emotion label (e.g., happy, sad, or angry).

出力: 認識された感情ラベル。 Output: Recognized emotion label.

ステップ8: Step 8:

端末は、認識した感情に基づいて最適な家電の使用時間帯を提案する。 The device will suggest optimal times to use home appliances based on the emotions it recognizes.

入力: 認識された感情ラベル。 Input: Recognized emotion label.

具体的な動作: 端末は感情ラベルを基に、事前に設定された家電のリストから最適な家電を選択し、使用時間帯を提案する。 Specific operation: Based on the emotion label, the device selects the most suitable appliance from a pre-defined list and suggests usage times.

出力: 提案された家電の使用時間帯。 Output: Suggested appliance usage times.

ステップ9: Step 9:

端末は、提案内容をユーザーに通知する。 The device will notify the user of the suggestions.

入力: 提案された家電の使用時間帯。 Input: Suggested appliance usage time period.

具体的な動作: 端末はFirebase Cloud Messagingを使用してプッシュ通知を送信するか、音声アシスタントを通じて提案内容を音声で伝える。 What happens: The device will send a push notification using Firebase Cloud Messaging or speak the suggestion through your voice assistant.

出力: ユーザーに通知された提案内容。 Output: The suggestion notified to the user.

(応用例1) (Application Example 1)

次に、形態例1の応用例1について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマート眼鏡214を「端末」と称する。 Next, we will explain Application Example 1 of Form Example 1. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal."

従来の電気料金計算システムは、市場連動型プランに基づく電気料金の計算や、ユーザーからの家電使用情報に基づく最適な使用時間帯の提案に限定されていた。しかし、ユーザーの感情状態を考慮した家電の使用提案が行われていないため、ユーザーの満足度や快適性を向上させることができなかった。また、感情に基づく家電の使用提案がないため、ユーザーの心理的なニーズに応じたエネルギー管理が実現できていなかった。 Conventional electricity bill calculation systems were limited to calculating electricity rates based on market-linked plans and suggesting optimal usage times based on information about home appliance usage from users. However, because they did not consider the user's emotional state when making suggestions about home appliance usage, they were unable to improve user satisfaction or comfort. Furthermore, because they did not make suggestions about home appliance usage based on emotions, energy management that responded to the user's psychological needs was not possible.

応用例1におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーの感情を認識する手段と、認識した感情に基づいて最適な家電の使用を提案する手段と、を含む。これにより、ユーザーの感情状態に応じた最適な家電の使用提案が可能となり、ユーザーの満足度や快適性を向上させることができる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from a user, means for calculating optimal usage times based on the received home appliance usage information, means for proposing the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions, and means for proposing optimal home appliance usage based on the recognized emotions. This makes it possible to suggest optimal home appliance usage based on the user's emotional state, thereby improving user satisfaction and comfort.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を算出するための装置またはソフトウェアである。 "Means for calculating electricity charges" means a device or software for calculating electricity charges based on a market-linked plan.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用したい家電の種類や使用時間を入力するためのインターフェースである。 "Means for receiving home appliance usage information from users" refers to an interface that allows users to input the type of home appliance they wish to use and the usage time.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報に基づいて、最も効率的な使用時間帯を算出する装置またはソフトウェアである。 "Means for calculating optimal usage time periods" refers to a device or software that calculates the most efficient usage time periods based on the received home appliance usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知するためのインターフェースである。 "Means for making suggestions to users" refers to an interface that notifies users of the calculated optimal usage time and electricity charges.

「ユーザーの感情を認識する手段」とは、ユーザーの声や表情、行動などから感情を検出するための装置またはソフトウェアである。 "Means for recognizing user emotions" refers to devices or software that detect emotions from the user's voice, facial expressions, behavior, etc.

「最適な家電の使用を提案する手段」とは、認識した感情に基づいて、ユーザーに最適な家電の使用を提案するための装置またはソフトウェアである。 "Means for suggesting optimal home appliance usage" refers to a device or software that suggests optimal home appliance usage to a user based on recognized emotions.

この発明を実施するための形態として、以下のシステム構成を説明する。 The following system configuration is described as an embodiment of this invention.

システム構成 System Configuration

サーバは、市場連動型プランに基づく電気料金を計算する手段、ユーザーからの家電使用情報を受け取る手段、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段、計算した最適な使用時間帯と電気料金をユーザーに提案する手段、ユーザーの感情を認識する手段、認識した感情に基づいて最適な家電の使用を提案する手段を含む。 The server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from a user, means for calculating optimal usage times based on the received home appliance usage information, means for suggesting the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions, and means for suggesting optimal home appliance usage based on the recognized emotions.

プログラムの処理 Program processing

サーバは、まず電力取引所の取引価格情報を取得する。この情報は、APIを通じて取得される。次に、取得した取引価格情報を基に電気料金を計算する。計算された電気料金は、ユーザーが入力した家電使用情報に基づいて最適な使用時間帯を算出するために使用される。 The server first obtains trading price information from the power exchange. This information is obtained via an API. It then calculates the electricity bill based on the obtained trading price information. The calculated electricity bill is used to calculate the optimal usage time based on the appliance usage information entered by the user.

ユーザーの感情を認識するために、サーバは感情認識ソフトウェアを使用する。このソフトウェアは、ユーザーの声や表情、行動などから感情を検出する。認識された感情に基づいて、サーバは最適な家電の使用を提案する。 To recognize the user's emotions, the server uses emotion recognition software. This software detects emotions from the user's voice, facial expressions, and behavior. Based on the recognized emotions, the server suggests the optimal use of home appliances.

使用するハードウェアおよびソフトウェア Hardware and software used

ハードウェア:サーバ、ユーザー端末(スマートフォン、タブレットなど) Hardware: Servers, user devices (smartphones, tablets, etc.)

ソフトウェア:感情認識ソフトウェア、電力取引所API、家電制御ソフトウェア Software: Emotion recognition software, power exchange API, home appliance control software

具体例 Specific examples

例えば、ユーザーがスマートフォンを使用している場合、スマートフォンのカメラを使用して顔を認識させる。アプリがユーザーの感情を「ストレス」と認識した場合、サーバは「マッサージチェア」と「アロマディフューザー」の使用を提案する。現在の電力価格に基づいて、これらの家電の使用コストを計算し、ユーザーに通知する。 For example, if a user is using a smartphone, the app uses the smartphone's camera to recognize their face. If the app recognizes the user's emotion as "stress," the server will suggest using a "massage chair" and an "aroma diffuser." Based on the current electricity price, the server will calculate the cost of using these appliances and notify the user.

プロンプト文の例 Example prompt

ユーザーの感情を認識し、最適な家電の使用時間帯を提案するスマートフォンアプリを設計してください。アプリは電力取引所の取引価格情報を取得し、それに基づいて電気料金を計算します。ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェアやアロマディフューザー)の使用を提案します。 Design a smartphone app that recognizes the user's emotions and suggests optimal times to use home appliances. The app retrieves trading price information from the power exchange and calculates electricity bills based on that information. If the user is feeling stressed, it suggests using home appliances that contribute to relaxation (e.g., a massage chair or aroma diffuser).

応用例1における特定処理の流れについて図18を用いて説明する。 The flow of the specific processing in Application Example 1 is explained using Figure 18.

ステップ1: Step 1:

サーバは、電力取引所の取引価格情報を取得する。 The server obtains trading price information from the power exchange.

入力:電力取引所APIのエンドポイント Input: Power Exchange API endpoint

データ加工:APIリクエストを送信し、取引価格情報を取得する Data processing: Send API requests and obtain trading price information.

出力:取引価格情報(JSON形式) Output: Trading price information (JSON format)

ステップ2: Step 2:

サーバは、取得した取引価格情報を基に電気料金を計算する。 The server calculates electricity charges based on the acquired transaction price information.

入力:取引価格情報 Input: Transaction price information

データ演算:取引価格情報から現在の電力単価を抽出し、使用量に応じた電気料金を計算する Data calculation: Extracts current electricity unit prices from trading price information and calculates electricity charges based on usage.

出力:計算された電気料金 Output: Calculated electricity cost

ステップ3: Step 3:

ユーザは、スマートフォンを使用して家電使用情報を入力する。 Users enter home appliance usage information using their smartphones.

入力:家電の種類、使用時間 Input: Type of appliance, usage time

データ加工:入力された情報をサーバに送信する Data processing: Send the entered information to the server.

出力:家電使用情報 Output: Appliance usage information

ステップ4: Step 4:

サーバは、受け取った家電使用情報に基づき最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the received appliance usage information.

入力:家電使用情報、取引価格情報 Input: Appliance usage information, transaction price information

データ演算:家電使用情報と取引価格情報を組み合わせて、最もコスト効率の良い使用時間帯を算出する Data calculation: Combining appliance usage information and transaction price information to calculate the most cost-effective usage times.

出力:最適な使用時間帯 Output: Optimal usage time

ステップ5: Step 5:

サーバは、計算した最適な使用時間帯と電気料金をユーザに提案する。 The server then proposes the optimal usage time and electricity rates to the user.

入力:最適な使用時間帯、計算された電気料金 Input: Optimal usage time, calculated electricity rate

データ加工:提案内容を生成し、ユーザ端末に送信する Data processing: Generate proposals and send them to the user's device.

出力:提案内容(最適な使用時間帯と電気料金) Output: Recommendations (optimal usage time and electricity rates)

ステップ6: Step 6:

ユーザは、スマートフォンのカメラを使用して顔を認識させる。 The user uses their smartphone camera to recognize their face.

入力:ユーザの顔画像 Input: User's face image

データ加工:顔画像をサーバに送信する Data processing: Send facial images to the server

出力:顔画像データ Output: Facial image data

ステップ7: Step 7:

サーバは、感情認識ソフトウェアを使用してユーザの感情を認識する。 The server uses emotion recognition software to recognize the user's emotions.

入力:顔画像データ Input: Facial image data

データ演算:顔画像データを解析し、感情を認識する Data calculation: Analyze facial image data and recognize emotions

出力:認識された感情 Output: Recognized emotion

ステップ8: Step 8:

サーバは、認識した感情に基づいて最適な家電の使用を提案する。 The server then suggests the optimal use of home appliances based on the recognized emotions.

入力:認識された感情 Input: Recognized emotion

データ演算:感情に応じた家電の使用提案を生成する Data calculation: Generate home appliance usage suggestions based on emotions

出力:家電使用提案 Output: Home appliance usage suggestion

ステップ9: Step 9:

サーバは、提案された家電の使用コストを計算し、ユーザに通知する。 The server calculates the cost of using the proposed appliances and notifies the user.

入力:家電使用提案、取引価格情報 Input: Appliance usage proposals, transaction price information

データ演算:提案された家電の使用コストを計算する Data calculation: Calculate the usage costs of proposed appliances

出力:使用コスト通知 Output: Usage cost notification

(実施例2) (Example 2)

次に、形態例2の実施例2について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマート眼鏡214を「端末」と称する。 Next, we will explain Example 2 of Form Example 2. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal."

従来の電気料金計算システムでは、ユーザーの家電使用情報に基づいて最適な使用時間帯を計算することはできるが、ユーザーの感情状態を考慮した電気料金の提案ができないという課題があった。これにより、ユーザーの感情に応じた最適な家電使用提案ができず、ユーザーの満足度を向上させることが難しかった。 Conventional electricity bill calculation systems can calculate optimal usage times based on a user's appliance usage information, but they have the problem of not being able to propose electricity bills that take into account the user's emotional state. This makes it difficult to propose optimal appliance usage based on the user's emotions, making it difficult to improve user satisfaction.

実施例2におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 2 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、ユーザーの感情を認識する手段と、認識した感情に基づき電気料金の提案を調整する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、を含む。これにより、ユーザーの感情に応じた最適な家電使用提案と電気料金の調整が可能となる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from the user, means for calculating optimal usage time periods based on the received home appliance usage information, means for recognizing the user's emotions, means for adjusting the proposed electricity charge based on the recognized emotions, and means for proposing the calculated optimal usage time periods and electricity charges to the user. This makes it possible to propose optimal home appliance usage and adjust electricity charges according to the user's emotions.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、電力消費量と市場連動型プランに基づいて電気料金を算出するための機能である。 "Means for calculating electricity charges" is a function for calculating electricity charges based on electricity consumption and a market-linked plan.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが入力した家電の種類と使用時間をシステムに取り込むための機能である。 "Means for receiving home appliance usage information from users" is a function for incorporating the type of home appliance and usage time entered by the user into the system.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報を基に、電力消費パターンや過去のデータを考慮して、家電の最適な使用時間帯を算出するための機能である。 "Means for calculating optimal usage times" is a function that calculates the optimal usage times for home appliances based on received home appliance usage information, taking into account power consumption patterns and past data.

「ユーザーの感情を認識する手段」とは、ユーザーの感情状態を分析し、認識するための機能である。 "Means for recognizing user emotions" refers to a function for analyzing and recognizing the user's emotional state.

「電気料金の提案を調整する手段」とは、認識したユーザーの感情に基づいて、電気料金の提案内容を最適化するための機能である。 "Means for adjusting electricity rate proposals" is a function for optimizing electricity rate proposals based on recognized user emotions.

「計算した最適な使用時間帯と電気料金をユーザーに提案する手段」とは、算出された最適な使用時間帯と調整された電気料金をユーザーに通知するための機能である。 "Means for proposing the calculated optimal usage time period and electricity charges to the user" is a function for notifying the user of the calculated optimal usage time period and adjusted electricity charges.

発明を実施するための形態 Form for implementing the invention

この発明は、ユーザーからの家電使用情報を受け取り、それを基に最適な使用時間帯を計算し、さらにユーザーの感情に基づいて電気料金の提案を調整するシステムである。このシステムは、以下のようなハードウェアおよびソフトウェアを使用して実施される。 This invention is a system that receives information about home appliance usage from users, calculates optimal usage times based on that information, and adjusts electricity rate proposals based on the user's emotions. This system is implemented using the following hardware and software.

使用するハードウェアおよびソフトウェア Hardware and software used

ハードウェア Hardware

端末:ユーザーが入力情報を提供するためのデバイス(例:スマートフォン、タブレット、PC) Device: The device on which the user provides input information (e.g., smartphone, tablet, PC)

サーバ:データの処理と保存を行うためのサーバ Server: Server for processing and storing data

ソフトウェア Software

感情エンジン:ユーザーの感情を認識するためのソフトウェア(例:感情認識API) Emotion engine: Software for recognizing user emotions (e.g., emotion recognition API)

データベース:家電使用情報やユーザーの感情データを保存するためのデータベース(例:MySQL、PostgreSQL) Database: A database for storing appliance usage information and user emotion data (e.g., MySQL, PostgreSQL)

システムの具体的な動作 Specific system operation

1. ユーザーの入力情報の収集 1. Collection of user input information

ユーザーは、端末を使用して、使用したい家電の種類と希望する使用時間を入力する。 Users use the terminal to input the type of appliance they want to use and the desired usage time.

具体的な動作として、ユーザーはアプリケーションの入力フォームに「エアコン」「午後2時から午後4時まで」といった情報を入力する。 Specific actions involve the user entering information such as "air conditioner" and "2:00 PM to 4:00 PM" into the application's input form.

2. 入力情報の送信 2. Submitting input information

端末は、ユーザーが入力した情報をサーバに送信する。 The device sends the information entered by the user to the server.

具体的な動作として、端末はHTTPリクエストを使用して、入力情報をサーバに送信する。 Specific operations involve the device sending input information to the server using an HTTP request.

3. 家電の使用時間帯の計算 3. Calculating appliance usage times

サーバは、受け取った家電の種類と使用時間を基に、最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the type of appliance and usage time received.

具体的な動作として、サーバは過去の使用データや電力消費パターンを考慮するアルゴリズムを実行し、最適な使用時間帯を算出する。 Specifically, the server runs an algorithm that takes into account past usage data and power consumption patterns to calculate the optimal usage time period.

例えば、サーバは「エアコンの使用は午後2時から午後4時が最適」と計算する。 For example, the server might calculate that the best time to use the air conditioner is between 2:00 PM and 4:00 PM.

4. 感情エンジンによる感情認識 4. Emotion Recognition Using an Emotion Engine

サーバは、感情エンジンを使用して、ユーザーの感情を認識する。 The server uses an emotion engine to recognize the user's emotions.

具体的な動作として、サーバはユーザーの顔画像や音声データを感情エンジンに入力し、感情状態(例:喜び、ストレス)を取得する。 Specifically, the server inputs the user's facial image and voice data into the emotion engine to obtain their emotional state (e.g., joy, stress).

5. 電気料金の提案調整 5. Proposal for adjusting electricity rates

サーバは、感情エンジンの認識結果に基づき、電気料金の提案を調整する。 The server adjusts the electricity rate suggestions based on the emotion engine's recognition results.

具体的な動作として、サーバはユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電(例:テレビ)の使用時間帯を延長し、その結果として発生する電気料金の増加を提案する。 Specific behavior is that if the user expresses happiness, the server will extend the usage time of entertainment-oriented appliances (e.g., televisions) and suggest an increase in the resulting electricity bill.

一方、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェア)の使用時間帯を延長する提案を行う。 On the other hand, if the user is feeling stressed, we will suggest extending the usage time of home appliances that contribute to relaxation (e.g., massage chairs).

6. 結果のユーザーへの通知 6. Notifying users of results

サーバは、計算結果と提案内容を端末に送信する。 The server sends the calculation results and suggestions to the device.

端末は、受け取った情報をユーザーに通知する。 The device will notify the user of the received information.

具体的な動作として、端末はプッシュ通知やアプリ内メッセージを使用して、ユーザーに「エアコンの使用は午後2時から午後4時が最適です。また、テレビの使用時間を延長することをお勧めします」と通知する。 Specific actions include the device informing the user via push notifications and in-app messages that "The best time to use the air conditioner is between 2:00 PM and 4:00 PM. We also recommend extending the TV usage time."

具体例 Specific examples

ユーザーの入力 User input

ユーザーがスマートフォンを使用して、「エアコンを午後2時から午後4時まで使用したい」と入力する。 A user uses their smartphone to enter, "I want to use the air conditioner from 2:00 PM to 4:00 PM."

サーバの処理 Server processing

サーバは、エアコンの使用時間帯を計算し、過去のデータや電力消費パターンを考慮して最適な時間帯を提案する。 The server calculates the hours when the air conditioner will be used and suggests the optimal times based on past data and power consumption patterns.

感情エンジンがユーザーの感情を「喜び」と認識した場合、エンターテイメント性の高い家電(例:テレビ)の使用時間帯を延長する提案を行う。 If the emotion engine recognizes the user's emotion as "joy," it will suggest extending the usage time of entertainment-oriented home appliances (e.g., television).

生成AIモデルへのプロンプト文の例 Example prompt for a generative AI model

「ユーザーがエアコンを午後2時から午後4時まで使用したいと入力しました。最適な使用時間帯を計算し、ユーザーの感情が喜びの場合、エンターテイメント性の高い家電の使用時間帯を延長する提案を行ってください。」 "The user inputs that they want to use the air conditioner from 2:00 PM to 4:00 PM. Calculate the optimal usage time, and if the user's emotion is joy, suggest extending the usage time of entertainment appliances."

このシステムにより、ユーザーは効率的に家電を使用できるだけでなく、感情に応じた最適な電気料金の提案を受けることができる。 This system not only allows users to use their home appliances efficiently, but also allows them to receive optimal electricity rate suggestions based on their emotions.

実施例2における特定処理の流れについて図19を用いて説明する。 The flow of the identification process in Example 2 will be explained using Figure 19.

ステップ1: Step 1:

ユーザーの入力情報の収集 Collecting user input information

ユーザーは、端末を使用して、使用したい家電の種類と希望する使用時間を入力する。 Users use the terminal to input the type of appliance they want to use and the desired usage time.

入力:ユーザーがアプリケーションの入力フォームに「エアコン」「午後2時から午後4時まで」といった情報を入力する。 Input: The user enters information such as "air conditioner" and "2:00 PM to 4:00 PM" into the application's input form.

出力:入力された家電の種類と使用時間のデータ。 Output: Data on the type of appliance and usage time entered.

具体的な動作:ユーザーがスマートフォンのアプリケーションを開き、家電の種類と使用時間を入力フォームに入力し、送信ボタンを押す。 Specific operation: The user opens the smartphone application, enters the type of appliance and usage time into the input form, and presses the submit button.

ステップ2: Step 2:

入力情報の送信 Submit input information

端末は、ユーザーが入力した情報をサーバに送信する。 The device sends the information entered by the user to the server.

入力:ユーザーが入力した家電の種類と使用時間のデータ。 Input: Data on the type of appliance and usage time entered by the user.

出力:サーバに送信された家電の種類と使用時間のデータ。 Output: Data on the type of appliance and usage time sent to the server.

具体的な動作:端末はHTTPリクエストを生成し、入力されたデータをサーバに送信する。 Specific operation: The device generates an HTTP request and sends the entered data to the server.

ステップ3: Step 3:

家電の使用時間帯の計算 Calculating appliance usage times

サーバは、受け取った家電の種類と使用時間を基に、最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the type of appliance and usage time received.

入力:サーバに送信された家電の種類と使用時間のデータ。 Input: Data on the type of appliance and usage time sent to the server.

出力:最適な使用時間帯のデータ。 Output: Data on optimal usage times.

具体的な動作:サーバは過去の使用データや電力消費パターンを考慮するアルゴリズムを実行し、最適な使用時間帯を算出する。例えば、「エアコンの使用は午後2時から午後4時が最適」と計算する。 Specific operation: The server runs an algorithm that takes into account past usage data and power consumption patterns to calculate the optimal usage time. For example, it may calculate that the optimal time to use the air conditioner is between 2:00 PM and 4:00 PM.

ステップ4: Step 4:

感情エンジンによる感情認識 Emotion recognition using an emotion engine

サーバは、感情エンジンを使用して、ユーザーの感情を認識する。 The server uses an emotion engine to recognize the user's emotions.

入力:ユーザーの顔画像や音声データ。 Input: User's facial image and voice data.

出力:ユーザーの感情状態(例:喜び、ストレス)。 Output: User's emotional state (e.g., happy, stressed).

具体的な動作:サーバはユーザーの顔画像や音声データを感情エンジンに入力し、感情状態を取得する。 Specific operation: The server inputs the user's facial image and voice data into the emotion engine to obtain their emotional state.

ステップ5: Step 5:

電気料金の提案調整 Proposed adjustment of electricity rates

サーバは、感情エンジンの認識結果に基づき、電気料金の提案を調整する。 The server adjusts the electricity rate suggestions based on the emotion engine's recognition results.

入力:ユーザーの感情状態と最適な使用時間帯のデータ。 Input: User's emotional state and optimal usage time data.

出力:調整された電気料金の提案データ。 Output: Proposed adjusted electricity rates.

具体的な動作:サーバはユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電(例:テレビ)の使用時間帯を延長し、その結果として発生する電気料金の増加を提案する。一方、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェア)の使用時間帯を延長する提案を行う。 Specific behavior: If the user is expressing happiness, the server will suggest extending the usage time of entertainment appliances (e.g., televisions) and reducing the resulting electricity bill increase. On the other hand, if the user is feeling stressed, the server will suggest extending the usage time of relaxation appliances (e.g., massage chairs).

ステップ6: Step 6:

結果のユーザーへの通知 Notifying users of results

サーバは、計算結果と提案内容を端末に送信する。 The server sends the calculation results and suggestions to the device.

端末は、受け取った情報をユーザーに通知する。 The device will notify the user of the received information.

入力:最適な使用時間帯と調整された電気料金の提案データ。 Input: Data suggesting optimal usage times and adjusted electricity rates.

出力:ユーザーへの通知メッセージ。 Output: Notification message to the user.

具体的な動作:端末はプッシュ通知やアプリ内メッセージを使用して、ユーザーに「エアコンの使用は午後2時から午後4時が最適です。また、テレビの使用時間を延長することをお勧めします」と通知する。 Specific behavior: The device will use push notifications and in-app messages to inform the user that "The best time to use the air conditioner is between 2:00 PM and 4:00 PM. We also recommend extending the TV usage time."

(応用例2) (Application Example 2)

次に、形態例2の応用例2について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマート眼鏡214を「端末」と称する。 Next, we will explain Application Example 2 of Form Example 2. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal."

従来の家電使用情報を基にした電気料金の最適化システムでは、ユーザーの感情状態を考慮することができず、ユーザーの満足度を高めることが難しかった。また、店舗内の家電製品の使用時間帯を最適化する際に、顧客の感情に応じた調整が行われないため、顧客体験の向上が図れなかった Conventional electricity rate optimization systems based on appliance usage information were unable to take into account the user's emotional state, making it difficult to increase user satisfaction. Furthermore, when optimizing the usage times of in-store appliances, adjustments were not made based on the customer's emotions, preventing an improved customer experience.

応用例2におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、感情認識エンジンを用いてユーザーの感情を認識する手段と、認識された感情に基づいて電気料金の提案を調整する手段と、を含む。これにより、ユーザーの感情状態に応じた最適な家電使用時間帯と電気料金の提案が可能となり、ユーザーの満足度を高めることができる。また、店舗内の家電製品の使用時間帯を顧客の感情に応じて調整することで、顧客体験の向上が図れる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from a user, means for calculating optimal usage times based on the received home appliance usage information, means for proposing the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions using an emotion recognition engine, and means for adjusting the proposed electricity charges based on the recognized emotions. This makes it possible to propose optimal home appliance usage times and electricity charges according to the user's emotional state, thereby increasing user satisfaction. Furthermore, by adjusting the usage times of home appliances in the store according to the customer's emotions, the customer experience can be improved.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を計算するための装置またはプログラムである。 "Means for calculating electricity charges" means a device or program for calculating electricity charges based on a market-linked plan.

「家電使用情報を受け取る手段」とは、ユーザーから家電の種類や使用時間などの情報を入力として受け取るための装置またはプログラムである。 "Means for receiving home appliance usage information" refers to a device or program for receiving information such as the type of home appliance and usage time from the user as input.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報を基に、家電の最適な使用時間帯を計算するための装置またはプログラムである。 "Means for calculating optimal usage time periods" refers to a device or program for calculating optimal usage time periods for home appliances based on received home appliance usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知または表示するための装置またはプログラムである。 "Means for making suggestions to users" refers to a device or program that notifies or displays to users the calculated optimal usage time and electricity charges.

「感情認識エンジン」とは、ユーザーの感情を認識するためのアルゴリズムやプログラムである。 An "emotion recognition engine" is an algorithm or program that recognizes a user's emotions.

「感情を認識する手段」とは、感情認識エンジンを用いてユーザーの感情を検出するための装置またはプログラムである。 "Means for recognizing emotions" refers to a device or program for detecting a user's emotions using an emotion recognition engine.

「電気料金の提案を調整する手段」とは、認識されたユーザーの感情に基づいて電気料金の提案内容を変更するための装置またはプログラムである。 "Means for adjusting electricity rate proposals" is a device or program for changing the content of electricity rate proposals based on recognized user sentiment.

この発明を実施するための形態として、以下のシステム構成を説明する。 The following system configuration is described as an embodiment of this invention.

システム構成 System Configuration

このシステムは、サーバ、ユーザー端末、感情認識エンジン、電気料金計算エンジン、及び家電制御装置から構成される。サーバは、ユーザーからの家電使用情報を受け取り、最適な使用時間帯を計算し、感情認識エンジンを用いてユーザーの感情を認識し、電気料金の提案を調整する役割を担う。 This system consists of a server, user terminal, emotion recognition engine, electricity rate calculation engine, and home appliance control device. The server receives home appliance usage information from the user, calculates the optimal usage time, recognizes the user's emotions using the emotion recognition engine, and adjusts the electricity rate proposal.

プログラムの処理 Program processing

1. 家電使用情報の入力: 1. Enter your appliance usage information:

ユーザー端末は、ユーザーから家電の種類と使用時間を入力として受け取る。この情報はサーバに送信される。 The user device receives input from the user about the type of appliance and the amount of time it has been used. This information is sent to the server.

2. 感情認識: 2. Emotion recognition:

サーバは、感情認識エンジンを用いてユーザーの感情を認識する。感情認識エンジンは、カメラやセンサーから取得したユーザーの画像や音声データを解析し、ユーザーの感情状態を判定する。 The server recognizes the user's emotions using an emotion recognition engine. The emotion recognition engine analyzes the user's image and audio data acquired from cameras and sensors to determine the user's emotional state.

3. 最適な使用時間帯の計算: 3. Calculating the best time to use:

サーバは、受け取った家電使用情報を基に、電気料金計算エンジンを用いて最適な使用時間帯を計算する。電気料金計算エンジンは、市場連動型プランに基づいて電気料金を計算する。 The server uses an electricity rate calculation engine to calculate the optimal usage time based on the received home appliance usage information. The electricity rate calculation engine calculates electricity rates based on a market-linked plan.

4. 電気料金の提案調整: 4. Proposed electricity rate adjustment:

サーバは、認識されたユーザーの感情に基づいて、電気料金の提案を調整する。例えば、ユーザーが喜んでいる場合はエンターテイメント性の高い家電の使用時間を延長し、ストレスを感じている場合はリラクゼーションに寄与する家電の使用時間を延長する。 The server adjusts electricity rate suggestions based on the user's recognized emotions. For example, if the user is happy, it will extend the use of entertainment appliances, and if the user is stressed, it will extend the use of relaxation appliances.

5. ユーザーへの通知: 5. Notice to Users:

サーバは、計算した最適な使用時間帯と調整された電気料金をユーザー端末に通知する。ユーザーは、これに基づいて家電の使用を調整することができる。 The server then notifies the user's device of the calculated optimal usage time period and the adjusted electricity rate. The user can then adjust their home appliance usage accordingly.

使用するハードウェア及びソフトウェア Hardware and software used

ハードウェア: カメラ、センサー、ユーザー端末(スマートフォン、スマート眼鏡など) Hardware: Cameras, sensors, user devices (smartphones, smart glasses, etc.)

ソフトウェア: 感情認識エンジン(EmotionEngine)、電気料金計算エンジン(ElectricityPricing) Software: Emotion recognition engine (EmotionEngine), electricity bill calculation engine (ElectricityPricing)

具体例 Specific examples

例えば、店舗内の照明とエアコンの使用時間を最適化するシナリオを考える。店舗管理者は、スマートフォンを用いて照明とエアコンの使用時間を入力する。サーバは、店舗内のカメラを用いて顧客の感情を認識し、最適な使用時間帯を計算する。顧客が喜んでいる場合は、照明の使用時間を延長し、エンターテイメント性を高める。ストレスを感じている場合は、エアコンの使用時間を延長し、リラクゼーションを促進する。 For example, consider a scenario in which the usage times of lighting and air conditioning in a store are optimized. The store manager uses a smartphone to input the usage times of lighting and air conditioning. The server uses cameras in the store to recognize the customer's emotions and calculates the optimal usage times. If the customer is happy, the lighting usage time is extended to increase entertainment. If the customer is stressed, the air conditioning usage time is extended to promote relaxation.

プロンプト文の例 Example prompt

店舗内の照明とエアコンの使用時間を最適化し、顧客の感情に応じて電気料金の提案を調整するアプリケーションを開発してください。顧客が喜んでいる場合はエンターテイメント性の高い家電の使用時間を延長し、ストレスを感じている場合はリラクゼーションに寄与する家電の使用時間を延長します。 Develop an application that optimizes the use of lighting and air conditioning in stores and adjusts electricity rates based on customer emotions. If a customer is happy, extend the use of entertainment appliances, and if they are stressed, extend the use of relaxation appliances.

このようにして、ユーザーの感情状態に応じた最適な家電使用時間帯と電気料金の提案が可能となり、ユーザーの満足度を高めることができる。また、店舗内の家電製品の使用時間帯を顧客の感情に応じて調整することで、顧客体験の向上が図れる。 In this way, it becomes possible to propose optimal times for using home appliances and electricity rates based on the user's emotional state, thereby increasing user satisfaction. Furthermore, by adjusting the usage times of home appliances in the store based on the customer's emotions, the customer experience can be improved.

応用例2における特定処理の流れについて図20を用いて説明する。 The flow of the specific processing in Application Example 2 is explained using Figure 20.

ステップ1: Step 1:

ユーザー端末は、ユーザーから家電の種類と使用時間を入力として受け取る。具体的には、ユーザーがスマートフォンやスマート眼鏡を用いて、使用したい家電の種類(例えば、照明、エアコンなど)とその使用時間を入力する。この情報は、ユーザー端末からサーバに送信される。入力データは、家電の種類と使用時間であり、出力データはサーバに送信される家電使用情報である。 The user terminal receives the type of appliance and usage time from the user as input. Specifically, the user uses a smartphone or smart glasses to input the type of appliance they want to use (e.g., lighting, air conditioner, etc.) and the usage time. This information is sent from the user terminal to the server. The input data is the type of appliance and usage time, and the output data is the appliance usage information sent to the server.

ステップ2: Step 2:

サーバは、感情認識エンジンを用いてユーザーの感情を認識する。具体的には、サーバがカメラやセンサーから取得したユーザーの画像や音声データを感情認識エンジンに入力し、ユーザーの感情状態を判定する。入力データは、ユーザーの画像や音声データであり、出力データは認識されたユーザーの感情状態である。 The server uses an emotion recognition engine to recognize the user's emotions. Specifically, the server inputs the user's image and voice data acquired by the camera or sensor into the emotion recognition engine to determine the user's emotional state. The input data is the user's image and voice data, and the output data is the recognized emotional state of the user.

ステップ3: Step 3:

サーバは、受け取った家電使用情報を基に、電気料金計算エンジンを用いて最適な使用時間帯を計算する。具体的には、サーバが家電使用情報と市場連動型プランのデータを電気料金計算エンジンに入力し、最適な使用時間帯を計算する。入力データは、家電使用情報と市場連動型プランのデータであり、出力データは最適な使用時間帯である。 Based on the received appliance usage information, the server uses an electricity rate calculation engine to calculate the optimal usage time period. Specifically, the server inputs the appliance usage information and market-linked plan data into the electricity rate calculation engine and calculates the optimal usage time period. The input data is the appliance usage information and market-linked plan data, and the output data is the optimal usage time period.

ステップ4: Step 4:

サーバは、認識されたユーザーの感情に基づいて、電気料金の提案を調整する。具体的には、サーバが感情認識エンジンからの感情状態データを用いて、電気料金計算エンジンの提案を調整する。例えば、ユーザーが喜んでいる場合はエンターテイメント性の高い家電の使用時間を延長し、ストレスを感じている場合はリラクゼーションに寄与する家電の使用時間を延長する。入力データは、ユーザーの感情状態と最適な使用時間帯であり、出力データは調整された電気料金の提案である。 The server adjusts electricity rate suggestions based on the recognized user emotions. Specifically, the server uses emotional state data from the emotion recognition engine to adjust the suggestions of the electricity rate calculation engine. For example, if the user is happy, the server extends the use time of entertainment appliances, and if the user is stressed, the server extends the use time of relaxation appliances. The input data is the user's emotional state and optimal use time periods, and the output data is the adjusted electricity rate suggestions.

ステップ5: Step 5:

サーバは、計算した最適な使用時間帯と調整された電気料金をユーザー端末に通知する。具体的には、サーバが最適な使用時間帯と調整された電気料金のデータをユーザー端末に送信し、ユーザーがそれを確認できるようにする。入力データは、最適な使用時間帯と調整された電気料金であり、出力データはユーザー端末に表示される提案情報である。 The server notifies the user's device of the calculated optimal usage time period and adjusted electricity charges. Specifically, the server sends data on the optimal usage time period and adjusted electricity charges to the user's device, allowing the user to check it. The input data is the optimal usage time period and adjusted electricity charges, and the output data is the suggested information displayed on the user's device.

このようにして、ユーザーの感情状態に応じた最適な家電使用時間帯と電気料金の提案が可能となり、ユーザーの満足度を高めることができる。また、店舗内の家電製品の使用時間帯を顧客の感情に応じて調整することで、顧客体験の向上が図れる。 In this way, it becomes possible to propose optimal times for using home appliances and electricity rates based on the user's emotional state, thereby increasing user satisfaction. Furthermore, by adjusting the usage times of home appliances in the store based on the customer's emotions, the customer experience can be improved.

(実施例3) (Example 3)

次に、形態例3の実施例3について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマート眼鏡214を「端末」と称する。 Next, we will explain Example 3 of Form Example 3. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal."

従来の電気料金計算システムでは、ユーザーが家電を使用する最適な時間帯を提案することはできるが、ユーザーの感情に基づいた提案は行われていなかった。そのため、ユーザーの感情状態に応じた最適な家電の使用時間帯を提案することができず、ユーザーの満足度を向上させることが難しかった。さらに、電力取引所の取引価格に基づく電気料金の計算も行われていなかったため、ユーザーが電気料金を抑えるための参考情報を得ることができなかった。 Conventional electricity bill calculation systems could suggest optimal times for users to use home appliances, but they did not make suggestions based on the user's emotions. As a result, they were unable to suggest optimal times to use home appliances based on the user's emotional state, making it difficult to improve user satisfaction. Furthermore, electricity bills were not calculated based on trading prices at the power exchange, meaning users were unable to obtain reference information for reducing their electricity bills.

実施例3におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 3 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーの感情を認識する手段と、認識した感情に基づいて最適な家電の使用時間帯を提案する手段と、を含む。これにより、ユーザーの感情状態に応じた最適な家電の使用時間帯を提案し、電力取引所の取引価格に基づく電気料金の計算を行うことが可能となる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from the user, means for calculating optimal usage times based on the received home appliance usage information, means for proposing the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions, and means for proposing optimal home appliance usage times based on the recognized emotions. This makes it possible to propose optimal home appliance usage times based on the user's emotional state and calculate electricity charges based on the trading price at the power exchange.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、電力取引所の取引価格や家電の消費電力を基にして、使用時間に応じた電気料金を算出する機能を持つ装置またはプログラムである。 "Means for calculating electricity charges" refers to a device or program that has the function of calculating electricity charges according to usage time based on the trading price at the electricity exchange and the power consumption of home appliances.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用したい家電の種類や使用時間を入力するためのインターフェースを提供し、その情報を受信する装置またはプログラムである。 "Means for receiving home appliance usage information from users" refers to a device or program that provides an interface for users to input the type of home appliance they wish to use and the usage time, and receives that information.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報と電力取引所の取引価格を基にして、家電を使用する最適な時間帯を算出する機能を持つ装置またはプログラムである。 "Means for calculating optimal usage time periods" refers to a device or program that has the function of calculating the optimal time periods for using home appliances based on the received home appliance usage information and the trading price at the electricity exchange.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知または表示するための装置またはプログラムである。 "Means for making suggestions to users" refers to a device or program that notifies or displays to users the calculated optimal usage time and electricity charges.

「ユーザーの感情を認識する手段」とは、ユーザーの声や表情、行動などを解析し、ユーザーの感情状態を判断する機能を持つ装置またはプログラムである。 "Means for recognizing user emotions" refers to a device or program that has the function of analyzing the user's voice, facial expressions, behavior, etc., and determining the user's emotional state.

「感情に基づいて最適な家電の使用時間帯を提案する手段」とは、認識したユーザーの感情状態に応じて、最適な家電の使用時間帯を提案する機能を持つ装置またはプログラムである。 "Means for suggesting optimal times to use home appliances based on emotions" refers to a device or program that has the function of suggesting optimal times to use home appliances based on the recognized emotional state of the user.

この発明は、ユーザーが家電を使用する最適な時間帯とその際の電気料金を計算し、ユーザーに提案するシステムである。さらに、ユーザーの感情を認識し、その感情に応じた家電の使用時間帯を提案する機能も備えている。 This invention is a system that calculates the optimal time periods for users to use home appliances and the electricity charges for those times, and makes suggestions to the user. It also has a function that recognizes the user's emotions and suggests times for using home appliances based on those emotions.

使用するハードウェアとソフトウェア Hardware and software used

ハードウェア: サーバ、ユーザー端末(スマートフォン、タブレット、PCなど) Hardware: Servers, user devices (smartphones, tablets, PCs, etc.)

ソフトウェア: 感情認識エンジン、電力取引所データ取得API、生成AIモデル Software: Emotion recognition engine, power exchange data acquisition API, generative AI model

システムの具体的な動作 Specific system operation

1. ユーザーの入力 1. User input

ユーザーが端末を使用して、使用したい家電の種類と使用時間を入力する。 The user uses the device to enter the type of appliance they want to use and the usage time.

例: ユーザーが「エアコンを午後3時から6時まで使用する」と入力する。 Example: User enters "Use the air conditioner from 3pm to 6pm."

2. 電力取引所データの取得 2. Obtaining Power Exchange Data

サーバが電力取引所データ取得APIを呼び出し、指定された時間帯の電力取引価格を取得する。 The server calls the power exchange data acquisition API and obtains the power trading price for the specified time period.

例: サーバがAPIを使用して、午後3時から6時までの電力取引価格データを取得する。 Example: The server uses an API to retrieve electricity trading price data from 3:00 PM to 6:00 PM.

3. 電気料金の計算 3. Calculating your electricity bill

サーバが取得した電力取引価格に基づいて、指定された時間帯の電気料金を計算する。 The electricity charges for the specified time period are calculated based on the electricity trading price obtained by the server.

例: サーバがエアコンの消費電力と取得した電力取引価格を用いて、午後3時から6時までの電気料金を計算する。 Example: The server calculates the electricity bill from 3:00 PM to 6:00 PM using the air conditioner's power consumption and the acquired electricity trading price.

4. 感情認識 4. Emotion recognition

ユーザーの声や表情、行動を端末のカメラやマイクを通じて感情認識エンジンに入力し、ユーザーの感情を認識する。 The user's voice, facial expressions, and actions are input into the emotion recognition engine via the device's camera and microphone, and the user's emotions are recognized.

例: ユーザーが端末のカメラに向かって話しかけると、感情認識エンジンがユーザーの声のトーンや表情を解析し、ユーザーがストレスを感じていると判断する。 Example: When a user speaks into the device's camera, the emotion recognition engine analyzes the user's tone of voice and facial expressions and determines that the user is feeling stressed.

5. 最適な使用時間帯の提案 5. Optimal usage time suggestions

サーバが計算した電気料金とユーザーの感情に基づいて、最適な家電の使用時間帯を提案する。 The server suggests optimal times to use home appliances based on the electricity bill calculated by the server and the user's emotions.

例: サーバがユーザーがストレスを感じていると判断し、リラクゼーションに寄与する家電(例:マッサージチェア)の使用を提案する。 Example: The server determines that the user is feeling stressed and suggests using a home appliance that will promote relaxation (e.g., a massage chair).

6. ユーザーへの提示 6. Presentation to the user

サーバが計算結果と提案をユーザー端末に送信し、ユーザーに提示する。 The server sends the calculation results and suggestions to the user's device and presents them to the user.

例: サーバが計算した電気料金とリラクゼーション家電の使用提案をユーザーのスマートフォンに表示する。 Example: The server displays calculated electricity bills and suggestions for using relaxation appliances on the user's smartphone.

プロンプト文の例 Example prompt

「エアコンを午後3時から6時まで使用する場合の電気料金を計算し、ユーザーがストレスを感じている場合にリラクゼーションに寄与する家電の使用を提案してください。」 "Calculate the electricity cost if the air conditioner is used from 3:00 PM to 6:00 PM, and suggest appliances that will contribute to relaxation if the user is feeling stressed."

このようにして、システムはユーザーの入力と感情に基づいて最適な家電の使用時間帯と電気料金を提案することができる。実施例3における特定処理の流れについて図21を用いて説明する。 In this way, the system can suggest optimal times to use home appliances and electricity rates based on the user's input and emotions. The flow of the identification process in Example 3 will be explained using Figure 21.

ステップ1: Step 1:

ユーザーが端末を使用して、使用したい家電の種類と使用時間を入力する。 The user uses the device to enter the type of appliance they want to use and the usage time.

入力: ユーザーが家電の種類(例:エアコン)と使用時間(例:午後3時から6時まで)を入力する。 Input: The user enters the type of appliance (e.g., air conditioner) and usage time (e.g., 3:00 PM to 6:00 PM).

具体的な動作: ユーザーが端末のアプリを開き、家電の種類と使用時間を入力するフォームにアクセスし、必要な情報を入力する。 Specific operation: The user opens the app on their device, accesses a form to enter the type of appliance and usage time, and enters the required information.

出力: 入力された家電の種類と使用時間のデータがサーバに送信される。 Output: The entered data on the type of appliance and usage time is sent to the server.

ステップ2: Step 2:

サーバが電力取引所データ取得APIを呼び出し、指定された時間帯の電力取引価格を取得する。 The server calls the power exchange data acquisition API and obtains the power trading price for the specified time period.

入力: ユーザーが入力した使用時間(例:午後3時から6時まで)。 Input: The usage time entered by the user (e.g., 3:00 PM to 6:00 PM).

具体的な動作: サーバが電力取引所データ取得APIにリクエストを送信し、指定された時間帯の電力取引価格データを取得する。 Specific operation: The server sends a request to the power exchange data acquisition API to obtain power trading price data for the specified time period.

出力: 取得した電力取引価格データがサーバに保存される。 Output: The acquired electricity trading price data is saved on the server.

ステップ3: Step 3:

サーバが取得した電力取引価格に基づいて、指定された時間帯の電気料金を計算する。 The electricity charges for the specified time period are calculated based on the electricity trading price obtained by the server.

入力: 取得した電力取引価格データと家電の消費電力(例:エアコンの消費電力1.5kW)。 Input: Obtained electricity trading price data and the power consumption of the home appliance (e.g., 1.5kW power consumption of an air conditioner).

具体的な動作: サーバがエアコンの消費電力と取得した電力取引価格を用いて、午後3時から6時までの電気料金を計算する。 Specific operation: The server calculates the electricity bill from 3:00 PM to 6:00 PM using the air conditioner's power consumption and the acquired electricity trading price.

出力: 計算された電気料金(例:3時間×1.5kW×20円=90円)が得られる。 Output: The calculated electricity cost (e.g., 3 hours x 1.5kW x 20 yen = 90 yen) will be obtained.

ステップ4: Step 4:

ユーザーの声や表情、行動を端末のカメラやマイクを通じて感情認識エンジンに入力し、ユーザーの感情を認識する。 The user's voice, facial expressions, and actions are input into the emotion recognition engine via the device's camera and microphone, and the user's emotions are recognized.

入力: ユーザーの声や表情、行動のデータ。 Input: User voice, facial expression, and behavioral data.

具体的な動作: ユーザーが端末のカメラに向かって話しかけると、端末が音声と映像データを感情認識エンジンに送信する。 Specific operation: When the user speaks into the device's camera, the device sends audio and video data to the emotion recognition engine.

出力: 感情認識エンジンが解析した結果として、ユーザーの感情状態(例:ストレスを感じている)が得られる。 Output: The emotion recognition engine analyzes the user's emotional state (e.g., feeling stressed).

ステップ5: Step 5:

サーバが計算した電気料金とユーザーの感情に基づいて、最適な家電の使用時間帯を提案する。 The server suggests optimal times to use home appliances based on the electricity bill calculated by the server and the user's emotions.

入力: 計算された電気料金とユーザーの感情状態。 Input: Calculated electricity bill and user's emotional state.

具体的な動作: サーバがユーザーの感情データと電気料金データを統合し、リラクゼーションに寄与する家電(例:マッサージチェア)の使用を提案する。 Specific operation: The server integrates the user's emotional data and electricity bill data and suggests the use of home appliances that contribute to relaxation (e.g., a massage chair).

出力: 提案内容として、「午後3時から6時までのエアコン使用は90円かかりますが、ストレスを感じているため、マッサージチェアの使用をおすすめします」と表示される。 Output: The suggestion is displayed as "Using the air conditioner between 3:00 PM and 6:00 PM will cost 90 yen, but since you are feeling stressed, we recommend using the massage chair."

ステップ6: Step 6:

サーバが計算結果と提案をユーザー端末に送信し、ユーザーに提示する。 The server sends the calculation results and suggestions to the user's device and presents them to the user.

入力: 計算結果と提案内容。 Input: Calculation results and suggestions.

具体的な動作: サーバが計算結果と提案をユーザー端末に送信する。 Specific operation: The server sends the calculation results and suggestions to the user's device.

出力: ユーザーのスマートフォンに通知が届き、アプリを開くと提案内容が表示される。 Output: The user will receive a notification on their smartphone and the suggestions will be displayed when they open the app.

(応用例3) (Application Example 3)

次に、形態例3の応用例3について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、スマート眼鏡214を「端末」と称する。 Next, we will explain Application Example 3 of Form Example 3. In the following explanation, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal."

従来のエネルギー管理システムは、電力取引価格に基づいて電気料金を最適化することはできるが、ユーザーの感情に応じた最適な家電の使用時間帯を提案することはできなかった。また、実店舗においては、顧客の感情に応じた快適な環境を提供することが難しく、顧客満足度の向上が課題であった Conventional energy management systems can optimize electricity rates based on electricity trading prices, but they cannot suggest optimal times for using home appliances based on user emotions. Furthermore, in physical stores, it is difficult to provide a comfortable environment that reflects customer emotions, making improving customer satisfaction a challenge.

応用例3におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーの感情を認識する手段と、認識した感情に基づいて最適な家電の使用時間帯を提案する手段と、店舗内の家電の使用状況をリアルタイムで確認する手段と、顧客の感情に応じた最適な環境設定を行う手段と、を含む。これにより、電気料金の最適化とともに、ユーザーや顧客の感情に応じた最適な家電の使用時間帯の提案および快適な環境の提供が可能となる。 The specific processing by the specific processing unit 290 of the data processing device 12 in Application Example 3 is realized by the following means. In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from the user, means for calculating optimal usage times based on the received home appliance usage information, means for proposing the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions, means for proposing optimal home appliance usage times based on the recognized emotions, means for checking the usage status of home appliances in the store in real time, and means for optimal environmental settings according to the customer's emotions. This makes it possible to optimize electricity charges, propose optimal home appliance usage times according to the user's or customer's emotions, and provide a comfortable environment.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を計算するための装置またはソフトウェアである。 "Means for calculating electricity charges" means a device or software for calculating electricity charges based on a market-linked plan.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用したい家電の種類と使用時間を入力するためのインターフェースである。 "Means for receiving home appliance usage information from users" refers to an interface that allows users to input the type of home appliance they wish to use and the usage time.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報に基づいて、電力取引価格を考慮しながら最適な使用時間帯を計算する装置またはソフトウェアである。 "Means for calculating optimal usage time periods" refers to a device or software that calculates optimal usage time periods based on received home appliance usage information, taking into account electricity trading prices.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知するためのインターフェースである。 "Means for making suggestions to users" refers to an interface that notifies users of the calculated optimal usage time and electricity charges.

「ユーザーの感情を認識する手段」とは、ユーザーの声や表情、行動などから感情を解析するための装置またはソフトウェアである。 "Means for recognizing user emotions" refers to devices or software that analyze emotions from the user's voice, facial expressions, behavior, etc.

「感情に基づいて最適な家電の使用時間帯を提案する手段」とは、認識したユーザーの感情に応じて、最適な家電の使用時間帯を計算し提案する装置またはソフトウェアである。 "Means for suggesting optimal times to use home appliances based on emotions" refers to a device or software that calculates and suggests optimal times to use home appliances based on the user's recognized emotions.

「店舗内の家電の使用状況をリアルタイムで確認する手段」とは、店舗内の家電の使用状況をリアルタイムで監視し、管理者に通知するための装置またはソフトウェアである。 "Means for checking the usage status of home appliances within a store in real time" refers to a device or software that monitors the usage status of home appliances within a store in real time and notifies the manager.

「顧客の感情に応じた最適な環境設定を行う手段」とは、顧客の感情を解析し、それに基づいて店舗内の照明、空調、音楽などの環境設定を最適化する装置またはソフトウェアである。 "Means for optimal environmental settings according to customer emotions" refers to devices or software that analyze customer emotions and, based on that, optimize environmental settings such as lighting, air conditioning, and music in the store.

この発明を実施するための形態として、以下のシステム構成を説明する。 The following system configuration is described as an embodiment of this invention.

システム構成 System Configuration

1. ハードウェア: 1. Hardware:

スマートフォン(iOS/Android) Smartphone (iOS/Android)

スマート眼鏡(例: Google Glass) Smart glasses (e.g., Google Glass)

ヘッドマウントディスプレイ(例: Oculus Rift) Head-mounted display (e.g., Oculus Rift)

ロボット(例: Pepper) Robots (e.g., Pepper)

2. ソフトウェア: 2. Software:

顔認識API(例: Microsoft Azure Face API) Facial recognition API (e.g., Microsoft Azure Face API)

感情認識API(例: Affectiva) Emotion recognition API (e.g. Affectiva)

電力取引価格API(例: EPEX SPOT API) Electricity trading price API (e.g., EPEX SPOT API)

データベース(例: Firebase) Database (e.g., Firebase)

プログラムの処理 Program processing

サーバは、まずユーザーからの家電使用情報を受け取る。ユーザーがスマートフォンアプリを通じて、使用したい家電の種類と使用時間を入力する。次に、サーバは電力取引価格APIを利用して、リアルタイムの電力価格を取得する。これに基づいて、最適な使用時間帯と電気料金を計算し、ユーザーに提案する。 The server first receives information about home appliance usage from the user. The user enters the type of appliance they wish to use and the usage time via a smartphone app. The server then uses an electricity trading price API to obtain real-time electricity prices. Based on this, the server calculates the optimal usage time and electricity rates and makes suggestions to the user.

さらに、サーバはユーザーの感情を認識するために、顔認識APIと感情認識APIを使用する。スマート眼鏡やヘッドマウントディスプレイ、ロボットがユーザーの表情や声をキャプチャし、これをサーバに送信する。サーバはこれらのデータを解析し、ユーザーの感情を認識する。 Furthermore, the server uses facial recognition APIs and emotion recognition APIs to recognize the user's emotions. Smart glasses, head-mounted displays, and robots capture the user's facial expressions and voice and send them to the server. The server analyzes this data and recognizes the user's emotions.

認識した感情に基づいて、サーバは最適な家電の使用時間帯を再計算し、ユーザーに提案する。例えば、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例: マッサージチェアやアロマディフューザー)の使用を提案する。 Based on the recognized emotions, the server recalculates the optimal times to use home appliances and suggests them to the user. For example, if the user is feeling stressed, it will suggest using appliances that contribute to relaxation (e.g., a massage chair or aroma diffuser).

具体例 Specific examples

具体例として、実店舗におけるエネルギー管理システムを考える。店舗管理者がスマートフォンアプリを使用して、店舗内の家電の使用状況や電気料金の最適化情報をリアルタイムで確認する。スマート眼鏡を装着した店舗スタッフが顧客の表情を分析し、顧客がリラックスしている場合、店舗内の照明を暖色系に変更し、リラクゼーション音楽を再生する。 As a concrete example, consider an energy management system in a physical store. The store manager uses a smartphone app to check the usage status of home appliances in the store and electricity bill optimization information in real time. Store staff wearing smart glasses analyze customers' facial expressions, and if the customer appears relaxed, change the lighting in the store to warm colors and play relaxation music.

プロンプト文の例 Example prompt

顧客の表情データを入力し、感情を認識してください。次に、電力取引価格APIから現在の電力価格を取得し、顧客の感情に応じた最適な家電の使用時間帯を計算してください。計算結果をスマートフォンアプリ、スマート眼鏡、ヘッドマウントディスプレイ、ロボットに表示してください。 Enter customer facial expression data and recognize their emotions. Then, retrieve the current electricity price from the electricity trading price API and calculate the optimal time to use home appliances based on the customer's emotions. Display the calculation results on a smartphone app, smart glasses, a head-mounted display, or a robot.

このようにして、電気料金の最適化とともに、ユーザーや顧客の感情に応じた最適な家電の使用時間帯の提案および快適な環境の提供が可能となる。 In this way, it is possible to optimize electricity rates, suggest optimal times to use home appliances based on the emotions of users and customers, and provide a comfortable environment.

応用例3における特定処理の流れについて図22を用いて説明する。 The flow of the specific processing in Application Example 3 is explained using Figure 22.

ステップ1: Step 1:

ユーザがスマートフォンアプリを使用して、使用したい家電の種類と使用時間を入力する。入力された情報は、家電の種類と使用時間である。これらの情報はサーバに送信される。 The user uses a smartphone app to input the type of appliance they wish to use and the amount of time they will be using it. The information entered is the type of appliance and the amount of time it will be used. This information is then sent to the server.

ステップ2: Step 2:

サーバは、電力取引価格APIを利用して、リアルタイムの電力価格を取得する。入力は現在の時刻であり、出力はその時刻に対応する電力価格である。サーバはこのデータを基に、家電の使用時間帯における電気料金を計算する。 The server uses the electricity trading price API to obtain real-time electricity prices. The input is the current time, and the output is the electricity price corresponding to that time. The server uses this data to calculate the electricity charges for the appliances' usage times.

ステップ3: Step 3:

サーバは、計算した最適な使用時間帯と電気料金をユーザに提案する。提案内容は、最適な使用時間帯とその時間帯における電気料金である。これらの情報はスマートフォンアプリに表示される。 The server then proposes the calculated optimal usage time and electricity rates to the user. The proposal includes the optimal usage time and the electricity rate for that time. This information is displayed on the smartphone app.

ステップ4: Step 4:

ユーザがスマート眼鏡やヘッドマウントディスプレイ、ロボットを使用している場合、これらのデバイスがユーザの表情や声をキャプチャする。入力はユーザの表情データや音声データであり、これらのデータはサーバに送信される。 When a user uses smart glasses, a head-mounted display, or a robot, these devices capture the user's facial expressions and voice. The input is the user's facial expression data and voice data, which are sent to the server.

ステップ5: Step 5:

サーバは、顔認識APIと感情認識APIを使用して、ユーザの感情を解析する。入力は表情データや音声データであり、出力は解析された感情データである。サーバはこのデータを基に、ユーザの感情を認識する。 The server uses a facial recognition API and an emotion recognition API to analyze the user's emotions. The input is facial expression data and voice data, and the output is analyzed emotion data. The server recognizes the user's emotions based on this data.

ステップ6: Step 6:

サーバは、認識した感情に基づいて、最適な家電の使用時間帯を再計算する。入力は感情データと家電使用情報であり、出力は感情に応じた最適な使用時間帯である。例えば、ユーザがストレスを感じている場合、リラクゼーションに寄与する家電の使用を提案する。 The server recalculates the optimal time periods for using home appliances based on the recognized emotions. The input is emotion data and appliance usage information, and the output is the optimal usage time periods based on the emotion. For example, if the user is feeling stressed, it will suggest using appliances that will contribute to relaxation.

ステップ7: Step 7:

サーバは、再計算した最適な使用時間帯と電気料金をユーザに提案する。提案内容は、感情に応じた最適な使用時間帯とその時間帯における電気料金である。これらの情報はスマートフォンアプリ、スマート眼鏡、ヘッドマウントディスプレイ、ロボットに表示される。 The server then proposes the recalculated optimal usage times and electricity rates to the user. The proposals include the optimal usage times based on the user's emotions and the electricity rates for those times. This information is displayed on a smartphone app, smart glasses, a head-mounted display, and a robot.

ステップ8: Step 8:

店舗内の家電の使用状況をリアルタイムで確認するために、サーバはデータベースを使用して家電の使用状況を監視する。入力は家電の使用データであり、出力はリアルタイムの使用状況である。これにより、店舗管理者はスマートフォンアプリを通じて家電の使用状況を確認できる。 To check the usage status of home appliances in the store in real time, the server uses a database to monitor the usage status of home appliances. The input is the usage data of the appliances, and the output is the real-time usage status. This allows store managers to check the usage status of home appliances through a smartphone app.

ステップ9: Step 9:

顧客の感情に応じた最適な環境設定を行うために、サーバは照明、空調、音楽などの環境設定を最適化する。入力は顧客の感情データであり、出力は最適化された環境設定である。例えば、顧客がリラックスしている場合、照明を暖色系に変更し、リラクゼーション音楽を再生する。 The server optimizes environmental settings such as lighting, air conditioning, and music to provide optimal environmental settings according to the customer's emotions. The input is the customer's emotional data, and the output is the optimized environmental settings. For example, if the customer is relaxing, the lighting is changed to warm colors and relaxation music is played.

以上のステップにより、電気料金の最適化とともに、ユーザや顧客の感情に応じた最適な家電の使用時間帯の提案および快適な環境の提供が可能となる。 These steps will not only optimize electricity rates, but also suggest optimal times to use home appliances based on the emotions of users and customers, and provide a comfortable environment.

特定処理部290は、特定処理の結果をスマート眼鏡214に送信する。スマート眼鏡214では、制御部46Aが、スピーカ240に対して特定処理の結果を出力させる。マイクロフォン238は、特定処理の結果に対するユーザ入力を示す音声を取得する。制御部46Aは、マイクロフォン238によって取得されたユーザ入力を示す音声データをデータ処理装置12に送信する。データ処理装置12では、特定処理部290が音声データを取得する。 The specific processing unit 290 transmits the results of the specific processing to the smart glasses 214. In the smart glasses 214, the control unit 46A causes the speaker 240 to output the results of the specific processing. The microphone 238 acquires audio indicating the user input regarding the results of the specific processing. The control unit 46A transmits audio data indicating the user input acquired by the microphone 238 to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the audio data.

データ生成モデル58は、いわゆる生成AI(Artificial Intelligence)である。データ生成モデル58の一例としては、ChatGPT(インターネット検索<URL: https://openai.com/blog/chatgpt>)等の生成AIが挙げられる。データ生成モデル58は、ニューラルネットワークに対して深層学習を行わせることによって得られる。データ生成モデル58には、指示を含むプロンプトが入力され、かつ、音声を示す音声データ、テキストを示すテキストデータ、及び画像を示す画像データ等の推論用データが入力される。データ生成モデル58は、入力された推論用データをプロンプトにより示される指示に従って推論し、推論結果を音声データ及びテキストデータ等のデータ形式で出力する。ここで、推論とは、例えば、分析、分類、予測、及び/又は要約等を指す。 Data generation model 58 is what is known as generative AI (artificial intelligence). An example of data generation model 58 is generative AI such as ChatGPT (Internet search <URL: https://openai.com/blog/chatgpt>). Data generation model 58 is obtained by performing deep learning on a neural network. A prompt containing an instruction is input to data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. Data generation model 58 performs inference on the input inference data in accordance with the instructions indicated by the prompt, and outputs the inference results in the form of data such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and/or summarization.

生成AIの他の例としては、Gemini(インターネット検索<URL: https://gemini.google.com/?hl=ja>)が挙げられる。 Another example of generative AI is Gemini (Internet search <URL: https://gemini.google.com/?hl=ja>).

上記実施形態では、データ処理装置12によって特定処理が行われる形態例を挙げたが、本開示の技術はこれに限定されず、スマート眼鏡214によって特定処理が行われるようにしてもよい。 In the above embodiment, an example was given in which the specific processing was performed by the data processing device 12, but the technology disclosed herein is not limited to this, and the specific processing may also be performed by the smart glasses 214.

[第3実施形態] [Third embodiment]

図5には、第3実施形態に係るデータ処理システム310の構成の一例が示されている。 Figure 5 shows an example of the configuration of a data processing system 310 according to the third embodiment.

図5に示すように、データ処理システム310は、データ処理装置12及びヘッドセット型端末314を備えている。データ処理装置12の一例としては、サーバが挙げられる。 As shown in FIG. 5, the data processing system 310 includes a data processing device 12 and a headset terminal 314. An example of the data processing device 12 is a server.

データ処理装置12は、コンピュータ22、データベース24、及び通信I/F26を備えている。コンピュータ22は、本開示の技術に係る「コンピュータ」の一例である。コンピュータ22は、プロセッサ28、RAM30、及びストレージ32を備えている。 The data processing device 12 includes a computer 22, a database 24, and a communication I/F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, RAM 30, and storage 32.

プロセッサ28、RAM30、及びストレージ32は、バス34に接続されている。また、データベース24及び通信I/F26も、バス34に接続されている。通信I/F26は、ネットワーク54に接続されている。ネットワーク54の一例としては、WAN(Wide Area Network)及び/又はLAN(Local Area Network)等が挙げられる。 The processor 28, RAM 30, and storage 32 are connected to a bus 34. The database 24 and communication I/F 26 are also connected to the bus 34. The communication I/F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and/or a LAN (Local Area Network).

ヘッドセット型端末314は、コンピュータ36、マイクロフォン238、スピーカ240、カメラ42、通信I/F44、及びディスプレイ343を備えている。コンピュータ36は、プロセッサ46、RAM48、及びストレージ50を備えている。プロセッサ46、RAM48、及びストレージ50は、バス52に接続されている。また、マイクロフォン238、スピーカ240、カメラ42、及びディスプレイ343も、バス52に接続されている。 The headset terminal 314 includes a computer 36, a microphone 238, a speaker 240, a camera 42, a communication I/F 44, and a display 343. The computer 36 includes a processor 46, RAM 48, and storage 50. The processor 46, RAM 48, and storage 50 are connected to a bus 52. The microphone 238, the speaker 240, the camera 42, and the display 343 are also connected to the bus 52.

マイクロフォン238は、ユーザ20が発する音声を受け付けることで、ユーザ20から指示等を受け付ける。マイクロフォン238は、ユーザ20が発する音声を捕捉し、捕捉した音声を音声データに変換してプロセッサ46に出力する。スピーカ240は、プロセッサ46からの指示に従って音声を出力する。 The microphone 238 receives instructions and the like from the user 20 by receiving voice uttered by the user 20. The microphone 238 captures the voice uttered by the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio in accordance with instructions from the processor 46.

カメラ42は、レンズ、絞り、及びシャッタ等の光学系と、CMOS(Complementary Metal-Oxide-Semiconductor)イメージセンサ又はCCD(Charge Coupled Device)イメージセンサ等の撮像素子とが搭載された小型デジタルカメラであり、ユーザ20の周囲(例えば、一般的な健常者の視界の広さに相当する画角で規定された撮像範囲)を撮像する。 Camera 42 is a small digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and captures images of the user 20's surroundings (e.g., an imaging range defined by an angle of view equivalent to the field of vision of a typical healthy person).

通信I/F44は、ネットワーク54に接続されている。通信I/F44及び26は、ネットワーク54を介してプロセッサ46とプロセッサ28との間の各種情報の授受を司る。通信I/F44及び26を用いたプロセッサ46とプロセッサ28との間の各種情報の授受はセキュアな状態で行われる。 The communication I/F 44 is connected to the network 54. The communication I/Fs 44 and 26 are responsible for the exchange of various information between the processor 46 and the processor 28 via the network 54. The exchange of various information between the processor 46 and the processor 28 using the communication I/Fs 44 and 26 is carried out in a secure manner.

図6には、データ処理装置12及びヘッドセット型端末314の要部機能の一例が示されている。図6に示すように、データ処理装置12では、プロセッサ28によって特定処理が行われる。ストレージ32には、特定処理プログラム56が格納されている。 Figure 6 shows an example of the main functions of the data processing device 12 and headset terminal 314. As shown in Figure 6, in the data processing device 12, specific processing is performed by the processor 28. A specific processing program 56 is stored in the storage 32.

特定処理プログラム56は、本開示の技術に係る「プログラム」の一例である。プロセッサ28は、ストレージ32から特定処理プログラム56を読み出し、読み出した特定処理プログラム56をRAM30上で実行する。特定処理は、プロセッサ28がRAM30上で実行する特定処理プログラム56に従って、特定処理部290として動作することによって実現される。 The specific processing program 56 is an example of a "program" according to the technology of the present disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as the specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.

ストレージ32には、データ生成モデル58及び感情特定モデル59が格納されている。データ生成モデル58及び感情特定モデル59は、特定処理部290によって用いられる。 Storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.

ヘッドセット型端末314では、プロセッサ46によって受付出力処理が行われる。ストレージ50には、受付出力プログラム60が格納されている。プロセッサ46は、ストレージ50から受付出力プログラム60を読み出し、読み出した受付出力プログラム60をRAM48上で実行する。受付出力処理は、プロセッサ46がRAM48上で実行する受付出力プログラム60に従って、制御部46Aとして動作することによって実現される。 In the headset terminal 314, the reception output process is performed by the processor 46. A reception output program 60 is stored in the storage 50. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.

次に、データ処理装置12の特定処理部290による特定処理について説明する。 Next, we will explain the identification process performed by the identification processing unit 290 of the data processing device 12.

「形態例1」 "Example 1"

本発明の形態は、市場連動型プランに基づく電気料金を計算するシステムである。このシステムは、電力取引所の取引価格情報を取得し、それに基づいて電気料金を計算する。具体的には、取引価格情報を基に電気料金の単価を算出し、それを用いて電気料金を計算する。 One aspect of the present invention is a system for calculating electricity rates based on a market-linked plan. This system acquires trading price information from the power exchange and calculates electricity rates based on that information. Specifically, it calculates the unit price of electricity based on the trading price information and uses that to calculate electricity rates.

「形態例2」 "Example 2"

また、本発明の形態は、ユーザーからの家電使用情報を受け取るシステムである。このシステムは、ユーザーからの入力情報を受け取り、それを基に家電の使用時間帯を計算する。具体的には、ユーザーから使用したい家電の種類と使用時間を入力してもらい、それを基に最適な使用時間帯を計算する。 Another aspect of the present invention is a system that receives home appliance usage information from a user. This system receives input information from the user and calculates the usage time periods for the home appliances based on that information. Specifically, the system has the user input the type of home appliance they wish to use and the usage time, and calculates the optimal usage time period based on that information.

「形態例3」 "Example 3"

さらに、本発明の形態は、計算した最適な使用時間帯と電気料金をユーザーに提案するシステムである。このシステムは、計算した最適な使用時間帯と電気料金をユーザーに提示し、ユーザーが電気料金を抑えるための参考情報とする。具体的には、ユーザーが使用したい家電の種類と使用時間を入力した場合、例えば「エアコンを午後3時から6時まで使用する」とした場合、その時間帯の電力取引所の取引価格に基づいて計算した電気料金を提示する。 Another aspect of the present invention is a system that proposes the calculated optimal usage time periods and electricity rates to users. This system presents the calculated optimal usage time periods and electricity rates to users, and uses them as reference information for reducing electricity bills. Specifically, when a user inputs the type of home appliance they wish to use and the usage time, for example, "I will use the air conditioner from 3:00 PM to 6:00 PM," the system presents them with an electricity rate calculated based on the trading price at the power exchange for that time period.

以下に、各形態例の処理の流れについて説明する。 The processing flow for each example form is explained below.

「形態例1」 "Example 1"

ステップ1:電力取引所から取引価格情報を取得する。 Step 1: Obtain trading price information from the power exchange.

ステップ2:取得した取引価格情報を基に電気料金の単価を算出する。 Step 2: Calculate the unit price of electricity based on the acquired transaction price information.

ステップ3:算出した電気料金の単価を用いて電気料金を計算する。 Step 3: Calculate the electricity bill using the calculated unit price of electricity.

「形態例2」 "Example 2"

ステップ1:ユーザーから使用したい家電の種類と使用時間の入力を受け取る。 Step 1: Receive input from the user about the type of appliance they wish to use and the usage time.

ステップ2:受け取った入力情報を基に最適な使用時間帯を計算する。 Step 2: Calculate the optimal usage time based on the received input information.

「形態例3」 "Example 3"

ステップ1:ユーザーが使用したい家電の種類と使用時間を入力する。 Step 1: The user enters the type of appliance they want to use and the usage time.

ステップ2:その時間帯の電力取引所の取引価格に基づいて電気料金を計算する。 Step 2: Calculate the electricity bill based on the trading price on the power exchange for that time period.

ステップ3:計算した電気料金をユーザーに提示する。 Step 3: Present the calculated electricity bill to the user.

(実施例1) (Example 1)

次に、形態例1の実施例1について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ヘッドセット型端末314を「端末」と称する。 Next, Example 1 of Form Example 1 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the headset-type terminal 314 will be referred to as the "terminal."

従来の電気料金計算システムでは、電力取引所の取引価格情報をリアルタイムで反映させることが難しく、ユーザに対して最適な電気料金を提供することができなかった。また、ユーザの家電使用情報に基づいて最適な使用時間帯を提案する機能が不足しており、ユーザが効率的に電力を使用することが困難であった Conventional electricity rate calculation systems struggled to reflect real-time trading price information from the power exchange, making it impossible to provide users with optimal electricity rates. Furthermore, they lacked functionality for suggesting optimal usage times based on users' appliance usage information, making it difficult for users to use electricity efficiently.

実施例1におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 1 is realized by the following means.

この発明では、サーバは、電力取引所から取引価格情報を取得する手段と、取得した取引価格情報をデータベースに保存する手段と、保存された取引価格情報を基に電気料金の単価を算出する手段と、算出した電気料金の単価を用いてユーザの電気料金を計算する手段と、ユーザからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザに提案する手段を含む。これにより、リアルタイムで取引価格情報を反映させた電気料金の計算が可能となり、さらにユーザに対して最適な使用時間帯を提案することで、効率的な電力使用が可能となる。 In this invention, the server includes means for acquiring trading price information from the power exchange, means for saving the acquired trading price information in a database, means for calculating the unit price of electricity based on the saved trading price information, means for calculating the user's electricity bill using the calculated unit price of electricity, means for receiving home appliance usage information from the user, means for calculating the optimal usage time period based on the received home appliance usage information, and means for proposing the calculated optimal usage time period and electricity bill to the user. This makes it possible to calculate electricity bills that reflect trading price information in real time, and furthermore, by proposing the optimal usage time period to the user, efficient power use is possible.

「電力取引所」とは、電力の売買が行われる市場であり、取引価格情報を提供する機関である。 An "electricity exchange" is a market where electricity is bought and sold, and an institution that provides trading price information.

「取引価格情報」とは、電力取引所において取引される電力の価格に関する情報である。 "Trading price information" refers to information regarding the price of electricity traded at the power exchange.

「データベース」とは、データを効率的に保存、管理、検索するためのシステムである。 A "database" is a system for efficiently storing, managing, and searching data.

「電気料金の単価」とは、一定量の電力に対して設定される料金の単位価格である。 "Electricity unit price" is the unit price set for a certain amount of electricity.

「ユーザ」とは、電力を消費する個人または法人であり、このシステムを利用する主体である。 "User" refers to an individual or corporation that consumes electricity and is the entity that uses this system.

「家電使用情報」とは、ユーザが使用する家電の種類や使用時間に関する情報である。 "Home appliance usage information" refers to information about the types of home appliances used by users and the duration of use.

「最適な使用時間帯」とは、電力消費を効率的に行うために推奨される時間帯である。 "Optimal usage times" are the recommended times for efficient power consumption.

「提案する手段」とは、計算した最適な使用時間帯や電気料金をユーザに通知するための方法や装置である。 "Proposal means" refers to a method or device for notifying the user of the calculated optimal usage time period and electricity charges.

発明を実施するための形態 Form for implementing the invention

この発明は、市場連動型プランに基づく電気料金を計算するシステムであり、電力取引所の取引価格情報を取得し、それに基づいて電気料金を計算するものである。以下に、このシステムの具体的な実施形態を説明する。 This invention is a system for calculating electricity rates based on a market-linked plan, which acquires trading price information from the power exchange and calculates electricity rates based on that information. A specific embodiment of this system is described below.

使用するハードウェアおよびソフトウェア Hardware and software used

1. サーバ 1. Server

ハードウェア:一般的なサーバ機器 Hardware: General server equipment

ソフトウェア:APIクライアント、データベース管理システム(例:MySQL、PostgreSQL)、スクリプト言語(例:Python、JavaScript) Software: API clients, database management systems (e.g., MySQL, PostgreSQL), scripting languages (e.g., Python, JavaScript)

2. 端末 2. Device

ハードウェア:ユーザが使用するコンピュータやスマートフォン Hardware: The computer or smartphone used by the user

ソフトウェア:ウェブブラウザ、モバイルアプリケーション Software: Web browser, mobile application

3. ユーザ 3. User

ユーザは、電力を消費する個人または法人であり、このシステムを利用する主体である。 Users are individuals or corporations that consume electricity and are the entities that use this system.

プログラムの処理の説明 Program processing explanation

1. 取引価格情報の取得 1. Obtaining trading price information

サーバは、電力取引所のAPIにリクエストを送信し、最新の取引価格情報を取得する。 The server sends a request to the power exchange's API to obtain the latest trading price information.

具体的な動作:サーバは、HTTP GETリクエストを電力取引所のAPIエンドポイントに送信し、JSON形式の取引価格情報を受信する。 Specific operation: The server sends an HTTP GET request to the power exchange's API endpoint and receives trading price information in JSON format.

2. 取引価格情報の保存 2. Saving transaction price information

サーバは、取得した取引価格情報をデータベースに保存する。 The server stores the acquired trading price information in a database.

具体的な動作:サーバは、受信したJSONデータを解析し、MySQLデータベースの対応するテーブルにインサートクエリを実行する。 Specific operation: The server parses the received JSON data and executes an insert query into the corresponding table in the MySQL database.

3. 電気料金単価の算出 3. Calculating electricity unit prices

サーバは、保存された取引価格情報を基に電気料金の単価を算出する。 The server calculates the unit price of electricity based on the stored transaction price information.

具体的な動作:サーバは、Pythonスクリプトを実行し、データベースから取引価格情報を取得して、特定のアルゴリズムに基づいて電気料金の単価を計算する。 Specific operation: The server runs a Python script, retrieves trading price information from the database, and calculates the unit price of electricity based on a specific algorithm.

4. ユーザの電気料金の計算 4. Calculating the user's electricity bill

サーバは、算出した電気料金の単価を用いて、ユーザの電気料金を計算する。 The server calculates the user's electricity bill using the calculated electricity unit price.

具体的な動作:サーバは、ユーザの消費電力量データをデータベースから取得し、算出した単価と掛け合わせて電気料金を計算する。 Specific operation: The server retrieves the user's power consumption data from the database and multiplies it by the calculated unit price to calculate the electricity bill.

5. 家電使用情報の受け取り 5. Receiving appliance usage information

サーバは、ユーザからの家電使用情報を受け取る。 The server receives home appliance usage information from the user.

具体的な動作:ユーザは、ウェブブラウザやモバイルアプリケーションを通じて、使用したい家電の種類や使用時間を入力し、サーバに送信する。 Specific operation: The user enters the type of home appliance they wish to use and the usage time via a web browser or mobile application, and sends this information to the server.

6. 最適な使用時間帯の計算 6. Calculating the optimal usage time

サーバは、受け取った家電使用情報に基づき最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the received appliance usage information.

具体的な動作:サーバは、電気料金の単価と家電使用情報を基に、最適な使用時間帯を計算するアルゴリズムを実行する。 Specific operation: The server runs an algorithm to calculate the optimal usage time based on the electricity rate and appliance usage information.

7. 提案の通知 7. Proposal Notification

サーバは、計算した最適な使用時間帯と電気料金をユーザに提案する。 The server then proposes the optimal usage time and electricity rates to the user.

具体的な動作:サーバは、計算結果をユーザの端末に通知し、ユーザはウェブブラウザやモバイルアプリケーションを通じて提案を確認する。 Specific operation: The server notifies the user's device of the calculation results, and the user confirms the proposal through a web browser or mobile application.

具体例とプロンプト文 Examples and prompts

1. サーバは、電力取引所のAPIから「2023-10-01」の取引価格情報を取得する。 1. The server obtains trading price information for "2023-10-01" from the power exchange API.

2. サーバは、取得した取引価格情報をMySQLデータベースに保存する。 2. The server stores the acquired trading price information in a MySQL database.

3. サーバは、Pythonスクリプトを用いて、取引価格情報から「2023-10-01」の電気料金の単価を算出する。 3. The server uses a Python script to calculate the electricity rate for "2023-10-01" from the trading price information.

4. サーバは、ユーザの消費電力量データ(例:100kWh)と算出した単価(例:10円/kWh)を用いて、ユーザの電気料金(例:1000円)を計算する。 4. The server calculates the user's electricity bill (e.g., 1,000 yen) using the user's power consumption data (e.g., 100 kWh) and the calculated unit price (e.g., 10 yen/kWh).

プロンプト文の例 Example prompt

「電力取引所のAPIから最新の取引価格情報を取得し、それをMySQLデータベースに保存してください。その後、Pythonスクリプトを用いて電気料金の単価を算出し、ユーザの消費電力量データを基に電気料金を計算してください。」 "Get the latest trading price information from the power exchange's API and save it in a MySQL database. Then, use a Python script to calculate the electricity rate and calculate the electricity bill based on the user's power consumption data."

実施例1における特定処理の流れについて図11を用いて説明する。 The flow of the identification process in Example 1 will be explained using Figure 11.

ステップ1: Step 1:

取引価格情報の取得 Get trading price information

サーバは、電力取引所のAPIにリクエストを送信し、最新の取引価格情報を取得する。 The server sends a request to the power exchange's API to obtain the latest trading price information.

入力:電力取引所のAPIエンドポイントURL Input: Power exchange API endpoint URL

出力:JSON形式の取引価格情報 Output: Transaction price information in JSON format

具体的な動作:サーバは、HTTP GETリクエストを電力取引所のAPIエンドポイントに送信し、レスポンスとしてJSON形式の取引価格情報を受信する。例えば、requestsライブラリを使用して、https://api.electricity-market.com/pricesにリクエストを送信する。 Specific operation: The server sends an HTTP GET request to the power exchange's API endpoint and receives JSON-formatted trading price information in response. For example, use the requests library to send a request to https://api.electricity-market.com/prices.

ステップ2: Step 2:

取引価格情報の保存 Storing transaction price information

サーバは、取得した取引価格情報をデータベースに保存する。 The server stores the acquired trading price information in a database.

入力:JSON形式の取引価格情報 Input: Transaction price information in JSON format

出力:データベースに保存された取引価格情報 Output: Transaction price information stored in the database

具体的な動作:サーバは、受信したJSONデータを解析し、必要なフィールド(例:日時、価格)を抽出する。次に、pymysqlライブラリを使用して、MySQLデータベースに接続し、INSERT INTO prices (datetime, price) VALUES ('2023-10-01 00:00:00', 10.5)のようなクエリを実行する。 Specific behavior: The server parses the received JSON data and extracts the necessary fields (e.g., datetime, price). Then, using the pymysql library, it connects to a MySQL database and executes a query such as INSERT INTO prices (datetime, price) VALUES ('2023-10-01 00:00:00', 10.5).

ステップ3: Step 3:

電気料金単価の算出 Calculating electricity unit prices

サーバは、保存された取引価格情報を基に電気料金の単価を算出する。 The server calculates the unit price of electricity based on the stored transaction price information.

入力:データベースに保存された取引価格情報 Input: Trading price information stored in the database

出力:算出された電気料金の単価 Output: Calculated electricity unit price

具体的な動作:サーバは、Pythonスクリプトを実行し、データベースから取引価格情報を取得する。例えば、pymysqlライブラリを使用して、SELECT price FROM prices WHERE datetime = '2023-10-01 00:00:00'のようなクエリを実行し、取得した価格情報を基に特定のアルゴリズム(例:平均値、加重平均)で電気料金の単価を計算する。 Specific operation: The server executes a Python script to obtain trading price information from the database. For example, using the pymysql library, it executes a query such as SELECT price FROM prices WHERE datetime = '2023-10-01 00:00:00', and calculates the electricity price using a specific algorithm (e.g., average, weighted average) based on the obtained price information.

ステップ4: Step 4:

ユーザの電気料金の計算 Calculating your electricity bill

サーバは、算出した電気料金の単価を用いて、ユーザの電気料金を計算する。 The server calculates the user's electricity bill using the calculated electricity unit price.

入力:ユーザの消費電力量データ、算出された電気料金の単価 Input: User power consumption data, calculated electricity rate

出力:計算されたユーザの電気料金 Output: Calculated user electricity bill

具体的な動作:サーバは、ユーザの消費電力量データをデータベースから取得する。例えば、pymysqlライブラリを使用して、SELECT consumption FROM user_data WHERE user_id = 1のようなクエリを実行し、取得した消費電力量データ(例:100kWh)と算出した単価(例:10円/kWh)を掛け合わせて、ユーザの電気料金(例:1000円)を計算する。 Specific operation: The server retrieves the user's power consumption data from the database. For example, using the pymysql library, it executes a query such as SELECT consumption FROM user_data WHERE user_id = 1, multiplies the retrieved power consumption data (e.g., 100kWh) by the calculated unit price (e.g., 10 yen/kWh), and calculates the user's electricity bill (e.g., 1,000 yen).

ステップ5: Step 5:

家電使用情報の受け取り Receive appliance usage information

サーバは、ユーザからの家電使用情報を受け取る。 The server receives home appliance usage information from the user.

入力:ユーザが入力した家電使用情報(家電の種類、使用時間) Input: Appliance usage information entered by the user (type of appliance, usage time)

出力:サーバに保存された家電使用情報 Output: Appliance usage information stored on the server

具体的な動作:ユーザは、ウェブブラウザやモバイルアプリケーションを通じて、使用したい家電の種類や使用時間を入力し、サーバに送信する。サーバは、受信した情報をデータベースに保存する。 Specific operation: The user enters the type of home appliance they want to use and the usage time via a web browser or mobile application, and sends this information to the server. The server then stores the received information in a database.

ステップ6: Step 6:

最適な使用時間帯の計算 Calculating the best time to use

サーバは、受け取った家電使用情報に基づき最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the received appliance usage information.

入力:家電使用情報、電気料金の単価 Input: Appliance usage information, electricity unit price

出力:最適な使用時間帯 Output: Optimal usage time

具体的な動作:サーバは、電気料金の単価と家電使用情報を基に、最適な使用時間帯を計算するアルゴリズムを実行する。例えば、ピーク時間帯を避けるように計算する。 Specific operation: The server runs an algorithm to calculate the optimal usage time based on the electricity rate and appliance usage information. For example, it calculates the optimal usage time to avoid peak hours.

ステップ7: Step 7:

提案の通知 Proposal Notification

サーバは、計算した最適な使用時間帯と電気料金をユーザに提案する。 The server then proposes the optimal usage time and electricity rates to the user.

入力:最適な使用時間帯、計算された電気料金 Input: Optimal usage time, calculated electricity rate

出力:ユーザへの通知 Output: User notification

具体的な動作:サーバは、計算結果をユーザの端末に通知し、ユーザはウェブブラウザやモバイルアプリケーションを通じて提案を確認する。例えば、プッシュ通知やメールを送信する。 Specific operation: The server notifies the user's device of the calculation results, and the user confirms the proposal through a web browser or mobile application. For example, a push notification or email is sent.

(応用例1) (Application Example 1)

次に、形態例1の応用例1について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ヘッドセット型端末314を「端末」と称する。 Next, we will explain Application Example 1 of Form Example 1. In the following explanation, the data processing device 12 will be referred to as the "server" and the headset-type terminal 314 will be referred to as the "terminal."

従来の市場連動型プランに基づく電気料金計算システムは、ユーザーの家電使用情報に基づいて最適な使用時間帯を提案するだけであり、リアルタイムでの電力消費の最適化が行われていなかった。そのため、電力取引所の取引価格情報をリアルタイムで取得し、電力消費を最適化することで、電力コストをさらに削減することが求められている Conventional electricity billing systems based on market-linked plans only suggest optimal usage times based on the user's appliance usage information, but do not optimize power consumption in real time. Therefore, there is a need to further reduce electricity costs by obtaining real-time trading price information from the power exchange and optimizing power consumption.

応用例1におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、電力取引所の取引価格情報をリアルタイムで取得する手段と、取得した価格情報に基づいて電力消費を最適化する手段と、高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる手段と、を含む。これにより、リアルタイムでの電力消費の最適化が可能となる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from a user, means for calculating optimal usage time periods based on the received home appliance usage information, means for proposing the calculated optimal usage time periods and electricity charges to the user, means for acquiring trading price information from the power exchange in real time, means for optimizing electricity consumption based on the acquired price information, and means for reducing electricity consumption during high-price time periods and increasing electricity consumption during low-price time periods. This enables optimization of electricity consumption in real time.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を算出するための方法や装置である。 "Means for calculating electricity charges" refers to a method or device for calculating electricity charges based on a market-linked plan.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用する家電の種類や使用時間などの情報を取得するための方法や装置である。 "Means for receiving home appliance usage information from users" refers to methods or devices for obtaining information such as the types of home appliances used by users and the duration of use.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報に基づいて、電力消費を最適化するための最適な使用時間帯を算出する方法や装置である。 "Means for calculating optimal usage time periods" refers to a method or device that calculates optimal usage time periods for optimizing power consumption based on received home appliance usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知するための方法や装置である。 "Means for making suggestions to users" refers to methods or devices for notifying users of the calculated optimal usage time periods and electricity charges.

「電力取引所の取引価格情報をリアルタイムで取得する手段」とは、電力取引所から取引価格情報をリアルタイムで取得するための方法や装置である。 "Means for obtaining trading price information from an electricity exchange in real time" refers to a method or device for obtaining trading price information from an electricity exchange in real time.

「電力消費を最適化する手段」とは、取得した取引価格情報に基づいて、電力消費を効率的に管理・調整するための方法や装置である。 "Means for optimizing electricity consumption" refers to methods or devices for efficiently managing and adjusting electricity consumption based on acquired trading price information.

「高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる手段」とは、電力取引価格が高い時間帯には電力消費を減少させ、取引価格が低い時間帯には電力消費を増加させるための方法や装置である。 "Means for reducing electricity consumption during high-price time periods and increasing electricity consumption during low-price time periods" refers to a method or device for reducing electricity consumption during times when the electricity trading price is high and increasing electricity consumption during times when the trading price is low.

この発明を実施するためには、以下のシステム構成とプログラムが必要である。 To implement this invention, the following system configuration and program are required.

システム構成 System Configuration

1. サーバ:市場連動型プランに基づく電気料金を計算し、電力取引所の取引価格情報をリアルタイムで取得する。 1. Server: Calculates electricity rates based on market-linked plans and obtains trading price information from the power exchange in real time.

2. 端末:ユーザーからの家電使用情報を受け取り、最適な使用時間帯を計算し、ユーザーに提案する。 2. Device: Receives information about home appliance usage from the user, calculates the optimal usage time, and makes suggestions to the user.

3. ネットワーク:サーバと端末間でデータを送受信するための通信手段。 3. Network: A communication method for sending and receiving data between the server and the terminal.

プログラムの処理説明 Program processing explanation

ハードウェア Hardware

サーバ:高性能なプロセッサと大容量のメモリを持つコンピュータ。 Server: A computer with a high-performance processor and large memory capacity.

端末:スマートフォンやタブレットなどのユーザーインターフェースを持つデバイス。 Device: A device with a user interface, such as a smartphone or tablet.

ネットワーク:インターネット接続。 Network: Internet connection.

ソフトウェア Software

Python:プログラムの主要な実装言語。 Python: The primary implementation language for the program.

Requestsライブラリ:APIから電力取引所の取引価格情報を取得するためのライブラリ。 Requests library: A library for obtaining electricity exchange trading price information from the API.

JSONデータ処理:取得したデータを解析するための形式。 JSON data processing: A format for parsing retrieved data.

データ加工・演算 Data processing and calculations

1. サーバは、電力取引所の取引価格情報をリアルタイムで取得する。これには、APIを利用してデータを取得し、JSON形式で保存する。 1. The server obtains trading price information from the power exchange in real time. To do this, it uses an API to obtain the data and saves it in JSON format.

2. サーバは、市場連動型プランに基づいて電気料金を計算する。取得した取引価格情報を基に、電気料金の単価を算出し、ユーザーの電力消費データと組み合わせて総電気料金を計算する。 2. The server calculates the electricity bill based on the market-linked plan. Based on the acquired trading price information, it calculates the unit price of the electricity bill and combines this with the user's power consumption data to calculate the total electricity bill.

3. 端末は、ユーザーからの家電使用情報を受け取る。これには、使用したい家電の種類と使用時間が含まれる。 3. The device receives appliance usage information from the user, including the type of appliance they want to use and the duration of their use.

4. サーバは、受け取った家電使用情報に基づき、最適な使用時間帯を計算する。これには、電力取引価格が低い時間帯を選定し、その時間帯に家電を使用するように提案する。 4. The server calculates the optimal usage time based on the received appliance usage information. To do this, it selects a time period when the electricity trading price is low and suggests using the appliance during that time period.

5. 端末は、計算した最適な使用時間帯と電気料金をユーザーに提案する。これには、通知機能を利用してユーザーに情報を提供する。 5. The device will then suggest the optimal usage time and electricity rates to the user. This will be done using the notification function to provide information to the user.

6. サーバは、取得した価格情報に基づいて電力消費を最適化する。高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる。 6. The server optimizes power consumption based on the acquired price information, reducing power consumption during high-price periods and increasing power consumption during low-price periods.

具体例 Specific examples

例えば、工場の生産ラインでこのシステムを利用する場合、電力取引所の価格が高い時間帯には機械の稼働を抑え、価格が低い時間帯に稼働を増やすことで電力コストを削減することができる。 For example, if this system is used on a factory production line, electricity costs can be reduced by reducing machine operation during times when prices on the electricity exchange are high and increasing operation during times when prices are low.

プロンプト文の例 Example prompt

「電力取引所の取引価格情報をリアルタイムで取得し、工場内の電力消費を最適化するPythonプログラムを作成してください。高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる機能を持たせてください。」 "Create a Python program that obtains real-time trading price information from the power exchange and optimizes power consumption within the factory. It should have the ability to reduce power consumption during high-price periods and increase power consumption during low-price periods."

応用例1における特定処理の流れについて図12を用いて説明する。 The flow of the specific processing in Application Example 1 will be explained using Figure 12.

ステップ1: Step 1:

サーバは、電力取引所の取引価格情報をリアルタイムで取得する。具体的には、APIを利用して電力取引所から取引価格情報を取得し、JSON形式で保存する。入力はAPIエンドポイントであり、出力は取得した取引価格情報である。 The server obtains trading price information from the power exchange in real time. Specifically, it uses an API to obtain trading price information from the power exchange and saves it in JSON format. The input is the API endpoint, and the output is the obtained trading price information.

ステップ2: Step 2:

サーバは、市場連動型プランに基づいて電気料金を計算する。取得した取引価格情報を基に、電気料金の単価を算出し、ユーザーの電力消費データと組み合わせて総電気料金を計算する。入力は取引価格情報とユーザーの電力消費データであり、出力は総電気料金である。 The server calculates electricity charges based on a market-linked plan. Based on the acquired trading price information, it calculates the unit price of electricity and combines it with the user's electricity consumption data to calculate the total electricity charge. The input is the trading price information and the user's electricity consumption data, and the output is the total electricity charge.

ステップ3: Step 3:

端末は、ユーザーからの家電使用情報を受け取る。ユーザーが使用したい家電の種類と使用時間を入力し、端末がそれを受け取る。入力はユーザーの家電使用情報であり、出力は受け取った家電使用情報である。 The terminal receives home appliance usage information from the user. The user inputs the type of home appliance they want to use and the usage time, and the terminal receives this. The input is the user's home appliance usage information, and the output is the received home appliance usage information.

ステップ4: Step 4:

サーバは、受け取った家電使用情報に基づき、最適な使用時間帯を計算する。電力取引価格が低い時間帯を選定し、その時間帯に家電を使用するように提案する。入力は家電使用情報と取引価格情報であり、出力は最適な使用時間帯である。 The server calculates the optimal usage time period based on the received appliance usage information. It selects a time period when the electricity trading price is low and suggests using the appliance during that time period. The input is appliance usage information and trading price information, and the output is the optimal usage time period.

ステップ5: Step 5:

端末は、計算した最適な使用時間帯と電気料金をユーザーに提案する。通知機能を利用してユーザーに情報を提供する。入力は最適な使用時間帯と電気料金であり、出力はユーザーへの通知である。 The device then proposes the calculated optimal usage time and electricity rate to the user. It uses the notification function to provide information to the user. The input is the optimal usage time and electricity rate, and the output is a notification to the user.

ステップ6: Step 6:

サーバは、取得した価格情報に基づいて電力消費を最適化する。高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる。入力は取引価格情報であり、出力は最適化された電力消費パターンである。 The server optimizes power consumption based on the acquired price information, reducing power consumption during high-price periods and increasing power consumption during low-price periods. The input is trading price information, and the output is the optimized power consumption pattern.

(実施例2) (Example 2)

次に、形態例2の実施例2について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ヘッドセット型端末314を「端末」と称する。 Next, Example 2 of Form Example 2 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the headset-type terminal 314 will be referred to as the "terminal."

従来の家電使用情報を基にした電気料金の最適化システムでは、ユーザーが入力した情報を効率的に処理し、最適な使用時間帯を計算することが難しかった。また、計算結果をユーザーに迅速に提供する手段が不足していたため、ユーザーの利便性が低かった。さらに、市場連動型プランに基づく電気料金の計算と最適な使用時間帯の提案を統合的に行うシステムが求められていた Existing electricity rate optimization systems based on home appliance usage information struggled to efficiently process user-entered information and calculate optimal usage times. Furthermore, there was a lack of a way to quickly provide users with the results, resulting in poor user convenience. Furthermore, there was a need for a system that could comprehensively calculate electricity rates based on market-linked plans and suggest optimal usage times.

実施例2におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 2 is realized by the following means.

この発明では、サーバは、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報をデータベースに保存する手段と、保存されたデータを基に最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、計算結果をユーザーに表示する手段と、市場連動型プランに基づく電気料金を計算する手段を含む。これにより、ユーザーが入力した家電使用情報を効率的に処理し、最適な使用時間帯と電気料金を迅速に提供することが可能となる。 In this invention, the server includes means for receiving home appliance usage information from a user, means for storing the received home appliance usage information in a database, means for calculating the optimal usage time period based on the stored data, means for proposing the calculated optimal usage time period and electricity rate to the user, means for displaying the calculation results to the user, and means for calculating the electricity rate based on a market-linked plan. This makes it possible to efficiently process the home appliance usage information entered by the user and quickly provide the optimal usage time period and electricity rate.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を計算するためのアルゴリズムやソフトウェアを指す。 "Means for calculating electricity charges" refers to algorithms or software for calculating electricity charges based on market-linked plans.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが入力した家電の種類や使用時間などの情報を受け取るためのインターフェースやデバイスを指す。 "Means for receiving home appliance usage information from users" refers to interfaces or devices for receiving information such as the type of home appliance and usage time entered by the user.

「データベースに保存する手段」とは、受け取った家電使用情報をリレーショナルデータベース管理システム(RDBMS)などに保存するためのソフトウェアやハードウェアを指す。 "Means for storing in a database" refers to software or hardware for storing received home appliance usage information in a relational database management system (RDBMS) or similar.

「最適な使用時間帯を計算する手段」とは、保存されたデータを基に、過去の使用データや電力消費パターンを分析して最適な使用時間帯を計算するためのアルゴリズムやソフトウェアを指す。 "Means for calculating optimal usage times" refers to algorithms or software that use stored data to analyze past usage data and power consumption patterns to calculate optimal usage times.

「計算結果をユーザーに提案する手段」とは、計算された最適な使用時間帯と電気料金をユーザーに通知するためのインターフェースやデバイスを指す。 "Means for proposing calculation results to users" refers to interfaces or devices that notify users of the calculated optimal usage times and electricity charges.

「計算結果をユーザーに表示する手段」とは、計算結果をユーザーの端末に表示するためのソフトウェアやハードウェアを指す。 "Means for displaying calculation results to the user" refers to software or hardware for displaying calculation results on the user's device.

発明を実施するための形態 Form for implementing the invention

この発明は、ユーザーからの家電使用情報を受け取り、それを基に最適な使用時間帯と電気料金を計算し、ユーザーに提案するシステムである。以下に、このシステムの具体的な実施形態を説明する。 This invention is a system that receives information about home appliance usage from users, calculates optimal usage times and electricity rates based on that information, and makes recommendations to the user. A specific embodiment of this system is described below.

システムの構成 System Configuration

このシステムは、サーバ、端末、ユーザの三つの主要な要素から構成される。 This system consists of three main elements: a server, a terminal, and a user.

1. サーバ 1. Server

サーバは、ユーザーからの家電使用情報を受け取る手段を提供する。この手段は、ウェブブラウザやモバイルアプリケーションを通じてアクセスできるインターフェースである。 The server provides a means for receiving appliance usage information from users. This means is an interface that can be accessed through a web browser or mobile application.

サーバは、受け取った家電使用情報をデータベースに保存する。このデータベースは、MySQLやPostgreSQLなどのリレーショナルデータベース管理システム(RDBMS)を使用する。 The server stores the received appliance usage information in a database. This database uses a relational database management system (RDBMS) such as MySQL or PostgreSQL.

サーバは、保存されたデータを基に最適な使用時間帯を計算する。この計算には、PythonやRなどのプログラミング言語を使用し、データ分析ライブラリ(例:Pandas、NumPy)を活用する。 The server calculates the optimal usage time based on the stored data. This calculation is done using programming languages such as Python and R, and utilizing data analysis libraries (e.g., Pandas, NumPy).

サーバは、計算した最適な使用時間帯と電気料金をユーザーに提案する手段を持つ。この提案は、リアルタイムで行われる。 The server has a means of proposing the calculated optimal usage time and electricity rates to the user. This proposal is made in real time.

サーバは、計算結果をユーザーに表示するために、端末に送信する手段を持つ。この送信には、HTTPSプロトコルを使用してセキュアな通信を行う。 The server has a means of sending the calculation results to the terminal for display to the user. This transmission is securely performed using the HTTPS protocol.

2. 端末 2. Device

端末は、ユーザーが入力した家電使用情報をサーバに送信する。この送信には、HTTPSプロトコルを使用してセキュアな通信を行う。 The device sends the home appliance usage information entered by the user to the server. This transmission is secure, using the HTTPS protocol.

端末は、サーバから受け取った計算結果をユーザーに表示する。例えば、モバイルアプリケーションの画面に「最適な使用時間帯は19:00から21:00までです」と表示する。 The device displays the calculation results received from the server to the user. For example, the mobile application screen might display "The best time to use the device is between 7:00 PM and 9:00 PM."

3. ユーザ 3. User

ユーザは、ウェブブラウザやモバイルアプリケーションを使用して、使用したい家電の種類と希望する使用時間を入力する。例えば、ユーザがエアコンを使用したい場合、「エアコン」と「18:00から22:00まで」と入力する。 Users use a web browser or mobile application to enter the type of appliance they want to use and the time they want to use it. For example, if a user wants to use an air conditioner, they enter "air conditioner" and "from 18:00 to 22:00."

具体例 Specific examples

具体例として、ユーザがエアコンを使用したいと考えている場合を考える。 As a concrete example, consider the case where a user wants to use the air conditioner.

1. ユーザがモバイルアプリケーションを開き、「エアコン」と「18:00から22:00まで」と入力する。 1. The user opens the mobile application and enters "air conditioner" and "from 18:00 to 22:00."

2. 端末がこの情報をHTTPSプロトコルを使用してサーバに送信する。 2. The device sends this information to the server using the HTTPS protocol.

3. サーバが受け取った情報を「user_requests」テーブルに保存する。 3. The server stores the received information in the "user_requests" table.

4. サーバがPythonのPandasライブラリを使用して、過去の使用データや電力消費パターンを分析し、最適な使用時間帯を計算する。 4. The server uses Python's Pandas library to analyze past usage data and power consumption patterns and calculate the optimal usage time.

5. サーバが計算結果「19:00から21:00までが最適です」を端末に送信する。 5. The server sends the calculation result "The best time is between 7:00 PM and 9:00 PM" to the device.

6. 端末がこの結果をモバイルアプリケーションの画面に表示し、ユーザに通知する。 6. The device displays the results on the mobile application screen and notifies the user.

プロンプト文の例 Example prompt

生成AIモデルへ入力するプロンプト文の例: Example of a prompt to input to a generative AI model:

ユーザがエアコンを使用したいと考えています。使用時間は「18:00から22:00まで」と入力しました。過去の使用データや電力消費パターンを基に、最適な使用時間帯を計算してください。 The user wants to use the air conditioner. The usage time is entered as "18:00 to 22:00." Please calculate the optimal usage time based on past usage data and power consumption patterns.

このようにして、サーバ、端末、ユーザが連携して家電の最適な使用時間帯を計算し、ユーザに提供するシステムが実現される。 In this way, a system is realized in which the server, terminal, and user work together to calculate the optimal usage time for home appliances and provide it to the user.

実施例2における特定処理の流れについて図13を用いて説明する。 The flow of the identification process in Example 2 will be explained using Figure 13.

ステップ1: Step 1:

ユーザが家電使用情報を入力する。 The user enters appliance usage information.

ユーザは、ウェブブラウザやモバイルアプリケーションを使用して、使用したい家電の種類と希望する使用時間を入力する。例えば、ユーザがエアコンを使用したい場合、「エアコン」と「18:00から22:00まで」と入力する。入力された情報は、端末の入力フィールドに保存される。 Using a web browser or mobile application, users input the type of appliance they want to use and the desired usage time. For example, if a user wants to use an air conditioner, they enter "air conditioner" and "from 18:00 to 22:00." The entered information is saved in an input field on the device.

ステップ2: Step 2:

端末が入力情報をサーバに送信する。 The device sends the input information to the server.

端末は、ユーザが入力した家電使用情報をHTTPSプロトコルを使用してサーバに送信する。具体的には、入力された情報をJSON形式に変換し、サーバのAPIエンドポイントにPOSTリクエストを送信する。入力は家電の種類と使用時間であり、出力はサーバへの送信完了ステータスである。 The device sends the appliance usage information entered by the user to the server using the HTTPS protocol. Specifically, it converts the entered information into JSON format and sends a POST request to the server's API endpoint. The input is the type of appliance and usage time, and the output is the status of completion of transmission to the server.

ステップ3: Step 3:

サーバが入力情報をデータベースに保存する。 The server saves the input information in a database.

サーバは、受け取った家電使用情報をデータベースに保存する。具体的には、サーバは受信したJSONデータを解析し、MySQLやPostgreSQLなどのリレーショナルデータベース管理システム(RDBMS)に保存する。入力は受信した家電使用情報であり、出力はデータベースへの保存完了ステータスである。 The server stores the received appliance usage information in a database. Specifically, the server parses the received JSON data and stores it in a relational database management system (RDBMS) such as MySQL or PostgreSQL. The input is the received appliance usage information, and the output is the status of completion of saving to the database.

ステップ4: Step 4:

サーバが保存されたデータを基に最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the stored data.

サーバは、保存されたデータを基に最適な使用時間帯を計算する。具体的には、PythonのPandasライブラリを使用して過去の使用データや電力消費パターンを分析し、最適な使用時間帯を計算する。入力はデータベースに保存された家電使用情報と過去の使用データであり、出力は最適な使用時間帯である。 The server calculates the optimal usage time based on the stored data. Specifically, it uses Python's Pandas library to analyze past usage data and power consumption patterns to calculate the optimal usage time. The input is the appliance usage information and past usage data stored in the database, and the output is the optimal usage time.

ステップ5: Step 5:

サーバが計算結果を端末に送信する。 The server sends the calculation results to the device.

サーバは、計算結果を端末に送信する。具体的には、計算された最適な使用時間帯をJSON形式に変換し、HTTPSプロトコルを使用して端末に送信する。入力は最適な使用時間帯の計算結果であり、出力は端末への送信完了ステータスである。 The server sends the calculation results to the device. Specifically, it converts the calculated optimal usage time slot into JSON format and sends it to the device using the HTTPS protocol. The input is the calculation result of the optimal usage time slot, and the output is the status of completion of transmission to the device.

ステップ6: Step 6:

端末が計算結果をユーザに表示する。 The terminal displays the calculation results to the user.

端末は、サーバから受け取った計算結果をユーザに表示する。具体的には、モバイルアプリケーションの画面に「最適な使用時間帯は19:00から21:00までです」と表示する。入力はサーバから受信した最適な使用時間帯の計算結果であり、出力はユーザへの表示内容である。 The device displays the calculation results received from the server to the user. Specifically, the mobile application screen displays "The optimal usage time is from 19:00 to 21:00." The input is the calculation result of the optimal usage time received from the server, and the output is the content displayed to the user.

(応用例2) (Application Example 2)

次に、形態例2の応用例2について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ヘッドセット型端末314を「端末」と称する。 Next, we will explain Application Example 2 of Form Example 2. In the following explanation, the data processing device 12 will be referred to as the "server" and the headset-type terminal 314 will be referred to as the "terminal."

従来の家電使用情報を基にした最適な使用時間帯の計算システムは、家電の使用に関する情報のみを対象としており、自動運転車両の充電スケジュールの最適化には対応していない。このため、ユーザーが自動運転車両の運行予定に基づいて最適な充電時間を計算し、エネルギー管理を効率化することが困難であった Existing systems that calculate optimal usage times based on home appliance usage information only consider information about home appliance usage and do not support optimizing charging schedules for autonomous vehicles. This makes it difficult for users to calculate optimal charging times based on autonomous vehicle operation schedules and improve energy management efficiency.

応用例2におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーからの運行予定情報を受け取り、最適な充電時間帯を計算する手段と、計算した最適な充電時間帯をユーザーに通知する手段と、を含む。これにより、ユーザーは自動運転車両の運行予定に基づいて最適な充電時間を計算し、エネルギー管理を効率化することが可能となる。 The specification processing by the specification processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means. In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from the user, means for calculating optimal usage time periods based on the received home appliance usage information, means for proposing the calculated optimal usage time periods and electricity charges to the user, means for receiving operation schedule information from the user and calculating optimal charging time periods, and means for notifying the user of the calculated optimal charging time periods. This allows the user to calculate the optimal charging time based on the operation schedule of the autonomous vehicle and improve energy management efficiency.

「市場連動型プラン」とは、電力取引所の取引価格に応じて電気料金が決まる料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を計算するための装置またはプログラムである。 "Means for calculating electricity charges" means a device or program for calculating electricity charges based on a market-linked plan.

「家電使用情報」とは、ユーザーが使用したい家電の種類とその使用時間に関する情報である。 "Home appliance usage information" refers to information about the type of home appliance the user wants to use and the duration of use.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報に基づいて、家電の最適な使用時間帯を計算するための装置またはプログラムである。 "Means for calculating optimal usage time periods" refers to a device or program for calculating optimal usage time periods for home appliances based on received home appliance usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知または表示するための装置またはプログラムである。 "Means for making suggestions to users" refers to a device or program that notifies or displays to users the calculated optimal usage time and electricity charges.

「運行予定情報」とは、ユーザーが自動運転車両の運行に関して入力する出発時間、到着時間、目的地などの情報である。 "Scheduled operation information" refers to information such as departure time, arrival time, and destination entered by the user regarding the operation of an autonomous vehicle.

「最適な充電時間帯を計算する手段」とは、受け取った運行予定情報に基づいて、自動運転車両の最適な充電時間帯を計算するための装置またはプログラムである。 "Means for calculating the optimal charging time slot" refers to a device or program for calculating the optimal charging time slot for an autonomous vehicle based on the received operation schedule information.

「通知する手段」とは、計算した最適な充電時間帯をユーザーに通知するための装置またはプログラムである。 "Notification means" refers to a device or program that notifies the user of the calculated optimal charging time period.

この発明を実施するためのシステムは、サーバ、ユーザー端末、および自動運転車両から構成される。サーバは、以下の手段を含む。 A system for implementing this invention consists of a server, a user terminal, and an autonomous vehicle. The server includes the following means:

1. 市場連動型プランに基づく電気料金を計算する手段 1. A method for calculating electricity rates based on market-linked plans

2. ユーザーからの家電使用情報を受け取る手段 2. How to receive appliance usage information from users

3. 受け取った家電使用情報に基づき最適な使用時間帯を計算する手段 3. A method for calculating optimal usage times based on received appliance usage information

4. 計算した最適な使用時間帯と電気料金をユーザーに提案する手段 4. A method for suggesting the calculated optimal usage time and electricity rates to users

5. ユーザーからの運行予定情報を受け取り、最適な充電時間帯を計算する手段 5. A means of receiving schedule information from users and calculating the optimal charging time slots

6. 計算した最適な充電時間帯をユーザーに通知する手段 6. A method for notifying users of the calculated optimal charging time slot

プログラムの処理説明 Program processing explanation

サーバは、Pythonなどのプログラミング言語を用いて実装される。サーバは、ユーザー端末から送信される家電使用情報および運行予定情報を受信し、それらの情報を基に最適な使用時間帯および充電時間帯を計算する。 The server is implemented using a programming language such as Python. It receives appliance usage information and operation schedule information sent from the user's device, and calculates the optimal usage and charging times based on this information.

具体的には、サーバは以下の処理を行う。 Specifically, the server performs the following processes:

1. 電気料金の計算: 1. Calculating electricity charges:

サーバは市場連動型プランに基づいて、電力取引所の取引価格を取得し、電気料金を計算する。この計算には、APIを通じて電力取引所のデータを取得する。 The server obtains the trading price from the power exchange based on the market-linked plan and calculates the electricity bill. This calculation involves obtaining data from the power exchange via an API.

2. 家電使用情報の受信と処理: 2. Receiving and processing home appliance usage information:

ユーザー端末から送信される家電使用情報(使用したい家電の種類と使用時間)を受信し、最適な使用時間帯を計算する。計算には、AIモデルを用いて電力消費のピーク時間を避けるようにする。 The system receives appliance usage information (type of appliance to be used and usage time) sent from the user's device and calculates the optimal usage time. It uses an AI model to calculate and avoid peak hours of power consumption.

3. 運行予定情報の受信と処理: 3. Receiving and processing schedule information:

ユーザー端末から送信される運行予定情報(出発時間、到着時間、目的地)を受信し、最適な充電時間帯を計算する。計算には、AIモデルを用いて運行スケジュールに基づく最適な充電時間を決定する。 The system receives flight schedule information (departure time, arrival time, destination) sent from the user's device and calculates the optimal charging time. The calculation uses an AI model to determine the optimal charging time based on the flight schedule.

4. 通知: 4. Notice:

計算した最適な使用時間帯および充電時間帯をユーザーに通知する。通知は、ユーザー端末にプッシュ通知やメールで送信される。 The user will be notified of the calculated optimal usage and charging times. Notifications will be sent to the user's device via push notification or email.

具体例 Specific examples

例えば、ユーザーがスマートフォンアプリに以下の情報を入力する。 For example, a user enters the following information into a smartphone app:

出発時間: 2023-10-01 08:00:00 Departure time: 2023-10-01 08:00:00

到着時間: 2023-10-01 10:00:00 Arrival time: 2023-10-01 10:00:00

目的地: Office Destination: Office

この情報を基に、サーバは最適な充電時間を計算し、出発の2時間前(2023-10-01 06:00:00)に充電を開始するよう通知する。 Based on this information, the server calculates the optimal charging time and notifies the driver to start charging two hours before departure (2023-10-01 06:00:00).

生成AIモデルへ入力するプロンプト文の例: Example of a prompt to input to a generative AI model:

ユーザーが自動運転車両の運行予定を入力しました。出発時間は2023-10-01 08:00:00、到着時間は2023-10-01 10:00:00、目的地はOfficeです。この情報を基に、最適な充電時間を計算してください。 The user has entered a scheduled autonomous vehicle trip. The departure time is 2023-10-01 08:00:00, the arrival time is 2023-10-01 10:00:00, and the destination is Office. Please calculate the optimal charging time based on this information.

このようにして、ユーザーの運行予定に基づいて最適な充電時間を計算し、エネルギー管理を効率化することが可能となる。 In this way, it is possible to calculate the optimal charging time based on the user's driving schedule and improve energy management efficiency.

応用例2における特定処理の流れについて図14を用いて説明する。 The flow of the specific processing in Application Example 2 will be explained using Figure 14.

ステップ1: Step 1:

ユーザーがスマートフォンアプリを使用して家電使用情報および運行予定情報を入力する。入力される情報には、使用したい家電の種類、使用時間、出発時間、到着時間、目的地が含まれる。これらの情報は、ユーザー端末からサーバに送信される。 Users use a smartphone app to input information about their appliance usage and scheduled operations. The information entered includes the type of appliance they want to use, usage time, departure time, arrival time, and destination. This information is sent from the user's device to the server.

ステップ2: Step 2:

サーバは、ユーザー端末から送信された家電使用情報を受信する。受信した情報には、使用したい家電の種類と使用時間が含まれる。サーバは、この情報を基に最適な使用時間帯を計算するためのデータ加工を行う。 The server receives appliance usage information sent from the user's device. The received information includes the type of appliance desired to be used and the usage time. Based on this information, the server processes the data to calculate the optimal usage time period.

ステップ3: Step 3:

サーバは、市場連動型プランに基づいて電力取引所の取引価格を取得する。取得した取引価格データを基に、電気料金を計算する。計算には、APIを通じて電力取引所のデータを取得し、リアルタイムでの価格変動を考慮する。 The server obtains trading prices from the power exchange based on a market-linked plan. It then calculates electricity charges based on the obtained trading price data. Calculations involve obtaining data from the power exchange via an API and taking real-time price fluctuations into account.

ステップ4: Step 4:

サーバは、受信した家電使用情報と取得した取引価格データを基に、最適な使用時間帯を計算する。計算には、AIモデルを用いて電力消費のピーク時間を避けるようにする。具体的には、電力消費のピーク時間帯を避けるためのアルゴリズムを適用する。 The server calculates the optimal usage time based on the received appliance usage information and the acquired trading price data. The calculation uses an AI model to avoid peak hours of electricity consumption. Specifically, it applies an algorithm to avoid peak hours of electricity consumption.

ステップ5: Step 5:

サーバは、計算した最適な使用時間帯と電気料金をユーザーに提案する。提案は、ユーザー端末にプッシュ通知やメールで送信される。ユーザーは、提案された最適な使用時間帯を確認し、家電の使用を計画することができる。 The server then proposes the calculated optimal usage time and electricity rates to the user. The proposal is sent to the user's device via push notification or email. The user can check the proposed optimal usage time and plan their home appliance usage.

ステップ6: Step 6:

サーバは、ユーザー端末から送信された運行予定情報を受信する。受信した情報には、出発時間、到着時間、目的地が含まれる。サーバは、この情報を基に最適な充電時間帯を計算するためのデータ加工を行う。 The server receives the scheduled vehicle information sent from the user's device. The received information includes departure time, arrival time, and destination. The server processes this information to calculate the optimal charging time slot.

ステップ7: Step 7:

サーバは、受信した運行予定情報を基に、最適な充電時間帯を計算する。計算には、AIモデルを用いて運行スケジュールに基づく最適な充電時間を決定する。具体的には、出発の2時間前に充電を開始するようなアルゴリズムを適用する。 The server calculates the optimal charging time based on the received flight schedule information. It uses an AI model to determine the optimal charging time based on the flight schedule. Specifically, it applies an algorithm that starts charging two hours before departure.

ステップ8: Step 8:

サーバは、計算した最適な充電時間帯をユーザーに通知する。通知は、ユーザー端末にプッシュ通知やメールで送信される。ユーザーは、通知された最適な充電時間帯を確認し、自動運転車両の充電を計画することができる。 The server notifies the user of the calculated optimal charging time. The notification is sent to the user's device via push notification or email. The user can check the optimal charging time and plan charging for their autonomous vehicle.

このようにして、ユーザーの家電使用情報および運行予定情報に基づいて、最適な使用時間帯および充電時間帯を計算し、エネルギー管理を効率化することが可能となる。 In this way, optimal usage and charging times can be calculated based on the user's home appliance usage information and operation schedule information, making it possible to improve energy management efficiency.

(実施例3) (Example 3)

次に、形態例3の実施例3について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ヘッドセット型端末314を「端末」と称する。 Next, we will explain Example 3 of Form Example 3. In the following explanation, the data processing device 12 will be referred to as the "server" and the headset-type terminal 314 will be referred to as the "terminal."

従来の電気料金計算システムでは、ユーザーが家電を使用する最適な時間帯を知ることが難しく、電気料金を効果的に抑えることができなかった。また、電力取引所の取引価格に基づくリアルタイムな電気料金の計算が行われていなかったため、ユーザーにとって最適な使用時間帯を提案することができなかった。これにより、ユーザーは高額な電気料金を支払うことが多く、エネルギーの効率的な使用が困難であった。 With conventional electricity bill calculation systems, it was difficult for users to know the optimal time to use their home appliances, making it difficult to effectively reduce electricity bills. Furthermore, because electricity bills were not calculated in real time based on trading prices at the power exchange, it was not possible to suggest the optimal time for users to use their appliances. This often resulted in users paying high electricity bills and making it difficult to use energy efficiently.

実施例3におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 3 is realized by the following means.

この発明では、サーバは、ユーザーからの家電使用情報を受け取る手段と、電力取引所の取引価格データを取得する手段と、取得した取引価格データを処理し、指定された時間帯の電気料金を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、計算結果をユーザーに提示する手段と、を含む。これにより、ユーザーは家電を使用する最適な時間帯とその時間帯の電気料金をリアルタイムで知ることが可能となり、電気料金を効果的に抑えることができる。 In this invention, the server includes means for receiving home appliance usage information from the user, means for acquiring trading price data from the power exchange, means for processing the acquired trading price data and calculating the electricity rate for a specified time period, means for proposing the calculated optimal usage time period and electricity rate to the user, and means for presenting the calculation results to the user. This allows the user to know the optimal time period for using home appliances and the electricity rate for that time period in real time, allowing for effective savings on electricity bills.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用したい家電の種類と使用時間を入力するためのインターフェースを提供し、その情報をサーバに送信する機能を持つ装置またはソフトウェアである。 "Means for receiving home appliance usage information from users" refers to a device or software that provides an interface for users to input the type of home appliance they wish to use and the usage time, and has the function of sending that information to a server.

「電力取引所の取引価格データを取得する手段」とは、電力取引所のAPIにアクセスし、最新の取引価格データを取得するための機能を持つ装置またはソフトウェアである。 "Means for obtaining trading price data from the power exchange" refers to devices or software that have the functionality to access the power exchange's API and obtain the latest trading price data.

「取得した取引価格データを処理し、指定された時間帯の電気料金を計算する手段」とは、取得した取引価格データを解析し、ユーザーが指定した時間帯における電気料金を計算するための機能を持つ装置またはソフトウェアである。 "Means for processing acquired transaction price data and calculating electricity charges for a specified time period" refers to a device or software that has the function of analyzing acquired transaction price data and calculating electricity charges for a time period specified by the user.

「計算した最適な使用時間帯と電気料金をユーザーに提案する手段」とは、計算結果に基づいて、ユーザーにとって最適な家電の使用時間帯とその時間帯の電気料金を提示するための機能を持つ装置またはソフトウェアである。 "Means for proposing the calculated optimal usage time periods and electricity rates to the user" refers to a device or software that has the function of presenting the optimal usage time periods for home appliances and the electricity rates for those times to the user based on the calculation results.

「計算結果をユーザーに提示する手段」とは、計算された電気料金と最適な使用時間帯をユーザーに視覚的または音声的に提示するための機能を持つ装置またはソフトウェアである。 "Means for presenting calculation results to the user" refers to a device or software that has the function of visually or audibly presenting the calculated electricity charges and optimal usage times to the user.

発明を実施するための形態 Form for implementing the invention

この発明は、ユーザーが家電を使用する最適な時間帯とその時間帯の電気料金を計算し、ユーザーに提案するシステムである。このシステムは、ユーザーからの家電使用情報を受け取り、電力取引所の取引価格データを取得し、取得したデータを処理して電気料金を計算し、その結果をユーザーに提示する。 This invention is a system that calculates the optimal time periods for users to use home appliances and the electricity rates for those times, and then suggests these to the user. This system receives home appliance usage information from the user, acquires trading price data from the power exchange, processes the acquired data to calculate the electricity rate, and presents the results to the user.

使用するハードウェアおよびソフトウェア Hardware and software used

このシステムは、以下のハードウェアおよびソフトウェアを使用する: This system uses the following hardware and software:

サーバ:データ処理および計算を行うためのコンピュータシステム。 Server: A computer system for data processing and calculations.

端末:ユーザーが情報を入力するためのデバイス(スマートフォン、タブレット、PCなど)。 Device: The device through which the user enters information (smartphone, tablet, PC, etc.).

Python:プログラムの開発に使用するプログラミング言語。 Python: A programming language used to develop programs.

Pandasライブラリ:データ処理および解析に使用するPythonのライブラリ。 Pandas library: A Python library used for data processing and analysis.

Requestsライブラリ:電力取引所のAPIからデータを取得するために使用するPythonのライブラリ。 Requests library: A Python library used to retrieve data from the power exchange API.

プログラムの処理 Program processing

サーバは、ユーザーからの入力を受け取る。ユーザーが使用したい家電の種類と使用時間を入力すると、サーバは電力取引所のAPIから最新の取引価格データを取得する。このデータを基に、サーバは指定された時間帯の電気料金を計算する。計算には、電力取引価格と家電の消費電力を掛け合わせることで行う。 The server receives input from the user. When the user enters the type of appliance they want to use and the duration of use, the server retrieves the latest trading price data from the power exchange's API. Based on this data, the server calculates the electricity rate for the specified time period. The calculation is done by multiplying the electricity trading price by the appliance's power consumption.

具体例 Specific examples

例えば、ユーザーが「エアコンを午後3時から6時まで使用する」と入力した場合、サーバは以下のように処理を行う: For example, if a user enters "I want the air conditioner to run from 3:00 PM to 6:00 PM," the server will process it as follows:

1. ユーザーが端末の入力フォームに「エアコン、15:00-18:00」と入力する。 1. The user enters "Air conditioning, 15:00-18:00" into the device's input form.

2. 端末はこの入力データをサーバに送信する。 2. The device sends this input data to the server.

3. サーバはRequestsライブラリを使用して、電力取引所のAPIにリクエストを送信する。 3. The server uses the Requests library to send a request to the power exchange API.

4. サーバはAPIから返された取引価格データを受け取り、Pandasを使用してデータフレームに変換する。 4. The server receives the trading price data returned from the API and converts it into a data frame using Pandas.

5. サーバはデータフレームから指定された時間帯(15:00-18:00)の取引価格を抽出する。 5. The server extracts trading prices for the specified time period (15:00-18:00) from the data frame.

6. サーバはエアコンの消費電力(例えば1.5kW)を取引価格に掛け合わせて電気料金を計算する。 6. The server calculates the electricity bill by multiplying the air conditioner's power consumption (for example, 1.5kW) by the transaction price.

7. サーバは計算結果を「エアコンを午後3時から6時まで使用すると、電気料金は〇〇円です」と生成する。 7. The server generates the calculation result: "If you use the air conditioner from 3:00 PM to 6:00 PM, the electricity bill will be XX yen."

8. サーバはこのメッセージを端末に送信する。 8. The server sends this message to the device.

9. 端末はユーザーにメッセージを表示する。 9. The device displays a message to the user.

プロンプト文の例 Example prompt

生成AIモデルへ入力するプロンプト文の例: Example of a prompt to input to a generative AI model:

ユーザーがエアコンを午後3時から6時まで使用したいと入力した場合、その時間帯の電力取引所の取引価格に基づいて電気料金を計算し、ユーザーに提示するプログラムを作成してください。 If a user inputs that they want to use the air conditioner from 3:00 PM to 6:00 PM, create a program that calculates the electricity rate based on the trading price on the power exchange for that time period and displays it to the user.

このようにして、ユーザーは最適な使用時間帯と電気料金を知ることができ、電気料金を抑えるための参考情報とすることができる。実施例3における特定処理の流れについて図15を用いて説明する。 In this way, users can learn the optimal usage times and electricity rates, and use this information as reference for reducing electricity costs. The flow of the identification process in Example 3 will be explained using Figure 15.

プログラムの処理の流れ Program processing flow

ステップ1:ユーザーの入力受け取り Step 1: Receive user input

ユーザーは端末を使用して、使用したい家電の種類と使用時間を入力する。例えば、ユーザーが「エアコンを午後3時から6時まで使用する」と入力する。 The user uses the device to input the type of appliance they want to use and the time they want to use it. For example, the user might input "I want to use the air conditioner from 3:00 to 6:00 PM."

具体的な動作: Specific actions:

入力:ユーザーが端末の入力フォームに「エアコン、15:00-18:00」と入力する。 Input: The user enters "Air conditioning, 15:00-18:00" into the device's input form.

出力:端末はこの入力データをサーバに送信する。 Output: The device sends this input data to the server.

ステップ2:電力取引価格データの取得 Step 2: Obtaining electricity trading price data

サーバは電力取引所のAPIから最新の取引価格データを取得する。このデータは、指定された時間帯の電気料金を計算するために使用される。 The server retrieves the latest trading price data from the power exchange's API. This data is used to calculate the electricity rate for the specified time period.

具体的な動作: Specific actions:

入力:サーバはユーザーから送信された家電使用情報を受け取る。 Input: The server receives home appliance usage information sent by the user.

データ加工:サーバはRequestsライブラリを使用して、電力取引所のAPIにリクエストを送信する。 Data processing: The server uses the Requests library to send requests to the power exchange API.

出力:サーバはAPIから返された取引価格データを受け取る。 Output: The server receives the trading price data returned from the API.

ステップ3:データの処理と電気料金の計算 Step 3: Process the data and calculate the electricity bill

サーバは取得した取引価格データをPandasライブラリを用いて処理し、指定された時間帯の電気料金を計算する。計算には、家電の消費電力と取引価格を掛け合わせる。 The server processes the acquired trading price data using the Pandas library and calculates the electricity rate for the specified time period. To do this, it multiplies the power consumption of the appliance by the trading price.

具体的な動作: Specific actions:

入力:サーバはAPIから取得した取引価格データを受け取る。 Input: The server receives trading price data obtained from the API.

データ加工:サーバはPandasを使用して、取引価格データをデータフレームに変換する。 Data processing: The server uses Pandas to convert trading price data into a data frame.

データ演算:サーバはデータフレームから指定された時間帯(15:00-18:00)の取引価格を抽出し、エアコンの消費電力(例えば1.5kW)を掛け合わせて電気料金を計算する。 Data calculation: The server extracts the trading price for the specified time period (15:00-18:00) from the data frame and multiplies it by the air conditioner's power consumption (e.g., 1.5kW) to calculate the electricity bill.

出力:計算された電気料金データ。 Output: Calculated electricity bill data.

ステップ4:計算結果の提示 Step 4: Presenting the calculation results

サーバは計算結果をユーザーに提示する。ユーザーはこれにより、電気料金を抑えるための参考情報を得ることができる。 The server then presents the calculation results to the user, allowing the user to obtain reference information for reducing electricity bills.

具体的な動作: Specific actions:

入力:計算された電気料金データ。 Input: Calculated electricity rate data.

データ加工:サーバは計算結果を「エアコンを午後3時から6時まで使用すると、電気料金は〇〇円です」といった形式で生成する。 Data processing: The server generates the calculation results in a format such as "If you use the air conditioner from 3:00 pm to 6:00 pm, your electricity bill will be XX yen."

出力:サーバはこのメッセージを端末に送信する。 Output: The server sends this message to the terminal.

動作:端末はユーザーにメッセージを表示する。 Action: The device displays a message to the user.

このようにして、ユーザーは最適な使用時間帯と電気料金を知ることができ、電気料金を抑えるための参考情報とすることができる。 In this way, users can learn the optimal times to use electricity and electricity rates, which can be used as reference information to reduce electricity bills.

(応用例3) (Application Example 3)

次に、形態例3の応用例3について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ヘッドセット型端末314を「端末」と称する。 Next, we will explain Application Example 3 of Form Example 3. In the following explanation, the data processing device 12 will be referred to as the "server" and the headset-type terminal 314 will be referred to as the "terminal."

電力使用において、ユーザーが電気料金を抑えるための最適な使用時間帯を知ることが難しいという問題がある。また、特に電気自動車の充電においては、充電時間帯によって電気料金が大きく変動するため、ユーザーが最適な充電時間帯を選択することが困難である。このため、ユーザーが効率的に電力を使用し、電気料金を抑えるためのシステムが求められている。 When it comes to electricity usage, users often have difficulty knowing the optimal time of day to use the power in order to reduce their electricity bills. Furthermore, when charging electric vehicles in particular, electricity rates vary greatly depending on the time of day, making it difficult for users to select the optimal time of day to charge. For this reason, there is a demand for a system that allows users to use electricity efficiently and reduce their electricity bills.

応用例3におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 3 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの電力使用情報を受け取る手段と、受け取った電力使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーが入力した電力使用時間帯の中で最も電気料金が安い時間帯を計算する手段と、計算した最適な電力使用時間帯と予想電気料金をユーザーに提示する手段を含む。これにより、ユーザーは電気料金を抑えるための最適な使用時間帯を知ることが可能となる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving electricity usage information from the user, means for calculating optimal usage time periods based on the received electricity usage information, means for proposing the calculated optimal usage time periods and electricity charges to the user, means for calculating the time period with the lowest electricity charge among the electricity usage time periods entered by the user, and means for presenting the calculated optimal electricity usage time periods and estimated electricity charges to the user. This allows the user to know the optimal usage time periods for reducing electricity charges.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、電力取引所の取引価格を基にして、ユーザーが使用する電力の料金を計算する機能を持つ装置またはプログラムである。 "Means for calculating electricity charges" refers to a device or program that has the function of calculating the charges for electricity used by a user based on the trading price at the electricity exchange.

「電力使用情報」とは、ユーザーが使用する電力機器の種類や使用時間などの情報を指す。 "Electricity usage information" refers to information such as the type of electrical equipment used by the user and the duration of use.

「最適な使用時間帯を計算する手段」とは、受け取った電力使用情報に基づいて、電気料金が最も安くなる時間帯を計算する機能を持つ装置またはプログラムである。 "Means for calculating the optimal usage time period" refers to a device or program that has the function of calculating the time period with the lowest electricity rates based on the received electricity usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知する機能を持つ装置またはプログラムである。 "Means for making suggestions to users" refers to a device or program that has the function of notifying users of the calculated optimal usage time period and electricity charges.

「電力使用時間帯」とは、ユーザーが電力機器を使用する予定の時間帯を指す。 "Power usage time period" refers to the time period during which a user plans to use power equipment.

「最も電気料金が安い時間帯を計算する手段」とは、ユーザーが入力した電力使用時間帯の中で、電気料金が最も安くなる時間帯を計算する機能を持つ装置またはプログラムである。 "Means for calculating the time period with the cheapest electricity rates" refers to a device or program that has the function of calculating the time period with the cheapest electricity rates among the electricity usage time periods entered by the user.

「予想電気料金をユーザーに提示する手段」とは、計算した最適な電力使用時間帯とその時間帯における予想電気料金をユーザーに通知する機能を持つ装置またはプログラムである。 "Means for presenting estimated electricity charges to users" refers to a device or program that has the function of notifying users of the calculated optimal time periods for electricity usage and the estimated electricity charges for those times.

この発明を実施するためのシステムは、電気自動車の充電を最適化するためのものである。システムは、サーバ、ユーザー端末、および電力取引所のAPIを含む。以下に、システムの具体的な実施形態を説明する。 A system for implementing this invention is for optimizing the charging of electric vehicles. The system includes a server, a user terminal, and an API for a power exchange. A specific embodiment of the system is described below.

システム構成 System Configuration

1. サーバ 1. Server

サーバは、以下の機能を持つプログラムを実行する。 The server runs a program with the following functions:

市場連動型プランに基づく電気料金を計算する機能 Function to calculate electricity rates based on market-linked plans

ユーザーからの電力使用情報を受け取る機能 A function to receive power usage information from users

受け取った電力使用情報に基づき最適な使用時間帯を計算する機能 A function that calculates the optimal usage time based on received power usage information.

計算した最適な使用時間帯と電気料金をユーザーに提案する機能 A function that suggests optimal usage times and electricity rates to users.

ユーザーが入力した電力使用時間帯の中で最も電気料金が安い時間帯を計算する機能 A function that calculates the cheapest electricity rate among the electricity usage periods entered by the user.

計算した最適な電力使用時間帯と予想電気料金をユーザーに提示する機能 A function that displays the calculated optimal power usage times and estimated electricity charges to the user.

2. ユーザー端末 2. User Device

ユーザー端末は、スマートフォンやタブレットなどのデバイスであり、ユーザーが電力使用情報を入力するためのインターフェースを提供する。ユーザーは、充電したい時間帯を入力し、その情報がサーバに送信される。 The user terminal is a device such as a smartphone or tablet that provides an interface for users to enter power usage information. Users enter the time period during which they wish to charge, and that information is sent to the server.

3. 電力取引所のAPI 3. Power Exchange API

電力取引所のAPIは、電力取引所の取引価格を取得するためのインターフェースである。サーバは、このAPIを通じてリアルタイムの電力取引価格を取得し、電気料金の計算に使用する。 The power exchange API is an interface for obtaining trading prices from the power exchange. The server obtains real-time power trading prices through this API and uses them to calculate electricity charges.

プログラムの処理説明 Program processing explanation

サーバは、ユーザー端末から受け取った電力使用情報を基に、電力取引所のAPIから取得した取引価格を使用して電気料金を計算する。具体的には、以下の手順で処理が行われる。 The server calculates electricity charges based on the electricity usage information received from the user's device and the trading price obtained from the power exchange's API. Specifically, the process is carried out as follows:

1. 電力使用情報の受信 1. Receiving power usage information

ユーザーが端末から入力した電力使用情報(例えば、充電したい時間帯)がサーバに送信される。 Power usage information entered by the user on the device (for example, the time period during which they wish to charge) is sent to the server.

2. 電気料金の計算 2. Calculating your electricity bill

サーバは、電力取引所のAPIを使用して、指定された時間帯の取引価格を取得する。その後、取得した取引価格に基づいて電気料金を計算する。 The server uses the power exchange's API to obtain the trading price for the specified time period. It then calculates the electricity bill based on the obtained trading price.

3. 最適な使用時間帯の計算 3. Calculating the optimal usage time

サーバは、ユーザーが入力した時間帯の中で最も電気料金が安い時間帯を計算する。この計算には、リアルタイムの取引価格データが使用される。 The server calculates the cheapest electricity rate among the time periods entered by the user. This calculation uses real-time trading price data.

4. 結果の提示 4. Presentation of results

計算結果(最適な使用時間帯と予想電気料金)は、ユーザー端末に送信され、ユーザーに提示される。 The calculation results (optimal usage times and estimated electricity rates) are sent to the user's terminal and presented to the user.

具体例 Specific examples

例えば、ユーザーが「2023年10月1日の午後3時から午後6時までの間に充電したい」と入力した場合、サーバはその時間帯の取引価格を取得し、最も電気料金が安い時間帯を計算して提示する。 For example, if a user inputs "I want to charge between 3:00 PM and 6:00 PM on October 1, 2023," the server will retrieve the trading prices for that time period and calculate and present the time period with the cheapest electricity rates.

プロンプト文の例 Example prompt

生成AIモデルへ入力するプロンプト文の例: Example of a prompt to input to a generative AI model:

ユーザーが電気自動車の充電時間帯を入力すると、その時間帯の電力取引所の取引価格に基づいて最適な充電時間帯と電気料金を計算し、ユーザーに提示するシステムを設計してください。例えば、「2023年10月1日の午後3時から午後6時までの間に充電したい」と入力された場合、その時間帯の中で最も電気料金が安い時間帯を計算して提示します。 Design a system that, when a user inputs the time period they wish to charge their electric vehicle, calculates the optimal charging time and electricity rate based on the trading price on the power exchange for that time period and presents it to the user. For example, if a user inputs "I would like to charge between 3:00 PM and 6:00 PM on October 1, 2023," the system will calculate and present the time period with the cheapest electricity rate within that time period.

応用例3における特定処理の流れについて図16を用いて説明する。 The flow of the specific processing in Application Example 3 will be explained using Figure 16.

ステップ1: Step 1:

ユーザーが端末から電力使用情報を入力する。 The user enters power usage information from the device.

具体的には、ユーザーはスマートフォンやタブレットなどの端末を使用して、充電したい時間帯(例えば、「2023年10月1日の午後3時から午後6時まで」)を入力する。入力された情報は、端末からサーバに送信される。 Specifically, users use a device such as a smartphone or tablet to input the time period during which they would like to charge (for example, "October 1, 2023, from 3:00 PM to 6:00 PM"). The input information is then sent from the device to the server.

入力:充電したい時間帯 Input: Time of day you want to charge

出力:サーバに送信された電力使用情報 Output: Power usage information sent to the server

ステップ2: Step 2:

サーバが電力使用情報を受信する。 The server receives power usage information.

サーバは、ユーザー端末から送信された電力使用情報を受信し、その情報を解析する。受信した情報には、充電したい時間帯が含まれている。 The server receives and analyzes the power usage information sent from the user's device. The received information includes the time period during which the user wishes to charge.

入力:ユーザーから送信された電力使用情報 Input: Power usage information submitted by the user

出力:解析された電力使用情報 Output: Analyzed power usage information

ステップ3: Step 3:

サーバが電力取引所のAPIから取引価格を取得する。 The server obtains trading prices from the power exchange API.

サーバは、電力取引所のAPIを使用して、指定された時間帯の取引価格を取得する。取得された取引価格は、電気料金の計算に使用される。 The server uses the power exchange's API to obtain the trading price for the specified time period. The obtained trading price is used to calculate the electricity bill.

入力:解析された電力使用情報(充電したい時間帯) Input: Analyzed power usage information (time period you want to charge)

出力:指定された時間帯の取引価格 Output: Trading price for the specified time period

ステップ4: Step 4:

サーバが電気料金を計算する。 The server calculates the electricity bill.

サーバは、取得した取引価格に基づいて、ユーザーが指定した時間帯の電気料金を計算する。計算には、取引価格と使用時間が使用される。 The server calculates the electricity charges for the time period specified by the user based on the acquired transaction price. The transaction price and usage time are used for the calculation.

入力:指定された時間帯の取引価格、使用時間 Input: Trading price for the specified time period, usage time

出力:計算された電気料金 Output: Calculated electricity cost

ステップ5: Step 5:

サーバが最適な使用時間帯を計算する。 The server will calculate the optimal usage time.

サーバは、ユーザーが入力した時間帯の中で最も電気料金が安い時間帯を計算する。この計算には、リアルタイムの取引価格データが使用される。 The server calculates the cheapest electricity rate among the time periods entered by the user. This calculation uses real-time trading price data.

入力:指定された時間帯の取引価格、使用時間 Input: Trading price for the specified time period, usage time

出力:最適な使用時間帯 Output: Optimal usage time

ステップ6: Step 6:

サーバが計算結果をユーザーに提示する。 The server presents the calculation results to the user.

サーバは、計算した最適な使用時間帯と予想電気料金をユーザー端末に送信し、ユーザーに提示する。ユーザーは、提示された情報を基に最適な充電時間帯を選択することができる。 The server then sends the calculated optimal usage time and estimated electricity charges to the user's terminal and presents them to the user. The user can then select the optimal charging time based on the presented information.

入力:最適な使用時間帯、計算された電気料金 Input: Optimal usage time, calculated electricity rate

出力:ユーザーに提示された最適な使用時間帯と予想電気料金 Output: Optimal usage times and estimated electricity rates presented to the user

なお、更に、ユーザの感情を推定する感情エンジンを組み合わせてもよい。すなわち、特定処理部290は、感情特定モデル59を用いてユーザの感情を推定し、ユーザの感情を用いた特定処理を行うようにしてもよい。 It is also possible to further combine an emotion engine that estimates the user's emotion. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59 and perform identification processing using the user's emotion.

「形態例1」 "Example 1"

本発明の一実施形態として、感情エンジンを組み込んだシステムが提供される。このシステムは、ユーザーの声や表情、行動などから感情を認識し、その感情に応じて最適な家電の使用時間帯を提案する。例えば、ユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電(例:テレビやゲーム機)の使用を提案する。また、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェアやアロマディフューザー)の使用を提案する。これにより、ユーザーの感情に応じた最適な家電の使用時間帯を提案することが可能となる。 One embodiment of the present invention provides a system incorporating an emotion engine. This system recognizes emotions from the user's voice, facial expressions, actions, etc., and suggests optimal times to use home appliances based on those emotions. For example, if the user is expressing joy, the system suggests using home appliances that are highly entertaining (e.g., televisions or game consoles). Alternatively, if the user is feeling stressed, the system suggests using home appliances that contribute to relaxation (e.g., massage chairs or aroma diffusers). This makes it possible to suggest optimal times to use home appliances based on the user's emotions.

「形態例2」 "Example 2"

また、本発明の別の実施形態として、感情エンジンの認識結果に基づき、電気料金の提案を調整するシステムが提供される。このシステムは、ユーザーの感情に応じて電気料金の提案を最適化する。例えば、ユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電の使用時間帯を延長し、その結果として発生する電気料金の増加を提案する。一方、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電の使用時間帯を延長し、その結果として発生する電気料金の増加を提案する。これにより、ユーザーの感情に応じた最適な電気料金の提案を行うことが可能となる。 In another embodiment of the present invention, a system is provided that adjusts electricity rate proposals based on the recognition results of an emotion engine. This system optimizes electricity rate proposals according to the user's emotions. For example, if the user is expressing joy, the system extends the usage time periods for entertainment-oriented home appliances and proposes an increase in the resulting electricity bill. On the other hand, if the user is feeling stressed, the system extends the usage time periods for relaxation-oriented home appliances and proposes an increase in the resulting electricity bill. This makes it possible to propose optimal electricity rates according to the user's emotions.

「形態例3」 "Example 3"

本発明の一実施形態として、感情エンジンを組み込んだシステムが提供される。このシステムは、ユーザーの声や表情、行動などから感情を認識し、その感情に応じて最適な家電の使用時間帯を提案する。例えば、ユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電(例:テレビやゲーム機)の使用を提案する。また、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェアやアロマディフューザー)の使用を提案する。これにより、ユーザーの感情に応じた最適な家電の使用時間帯を提案することが可能となる。 One embodiment of the present invention provides a system incorporating an emotion engine. This system recognizes emotions from the user's voice, facial expressions, actions, etc., and suggests optimal times to use home appliances based on those emotions. For example, if the user is expressing joy, the system suggests using home appliances that are highly entertaining (e.g., televisions or game consoles). Alternatively, if the user is feeling stressed, the system suggests using home appliances that contribute to relaxation (e.g., massage chairs or aroma diffusers). This makes it possible to suggest optimal times to use home appliances based on the user's emotions.

以下に、各形態例の処理の流れについて説明する。 The processing flow for each example form is explained below.

「形態例1」 "Example 1"

ステップ1:システムは、ユーザーの声や表情、行動などから感情を認識する感情エンジンを起動する。 Step 1: The system activates an emotion engine that recognizes emotions from the user's voice, facial expressions, behavior, etc.

ステップ2:感情エンジンは、ユーザーの感情を認識し、その結果をシステムに伝える。ステップ3:システムは、感情エンジンからの結果に基づき、最適な家電の使用時間帯を計算する。 Step 2: The emotion engine recognizes the user's emotions and communicates the results to the system. Step 3: The system calculates the optimal time to use home appliances based on the results from the emotion engine.

ステップ4:システムは、計算した最適な使用時間帯をユーザーに提案する。 Step 4: The system will suggest the calculated optimal usage time to the user.

「形態例2」 "Example 2"

ステップ1:システムは、ユーザーの声や表情、行動などから感情を認識する感情エンジンを起動する。 Step 1: The system activates an emotion engine that recognizes emotions from the user's voice, facial expressions, behavior, etc.

ステップ2:感情エンジンは、ユーザーの感情を認識し、その結果をシステムに伝える。ステップ3:システムは、感情エンジンからの結果に基づき、電気料金の提案を調整する。 Step 2: The emotion engine recognizes the user's emotions and communicates the results to the system. Step 3: The system adjusts the electricity rate proposal based on the results from the emotion engine.

ステップ4:システムは、調整した電気料金の提案をユーザーに伝える。 Step 4: The system communicates the adjusted electricity rate proposal to the user.

「形態例3」 "Example 3"

ステップ1:システムは、ユーザーの声や表情、行動などから感情を認識する感情エンジンを起動する。 Step 1: The system activates an emotion engine that recognizes emotions from the user's voice, facial expressions, behavior, etc.

ステップ2:感情エンジンは、ユーザーの感情を認識し、その結果をシステムに伝える。ステップ3:システムは、感情エンジンからの結果に基づき、最適な家電の使用時間帯を計算する。 Step 2: The emotion engine recognizes the user's emotions and communicates the results to the system. Step 3: The system calculates the optimal time to use home appliances based on the results from the emotion engine.

ステップ4:システムは、計算した最適な使用時間帯をユーザーに提案する。 Step 4: The system will suggest the calculated optimal usage time to the user.

(実施例1) (Example 1)

次に、形態例1の実施例1について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ヘッドセット型端末314を「端末」と称する。 Next, Example 1 of Form Example 1 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the headset-type terminal 314 will be referred to as the "terminal."

従来の電気料金計算システムでは、電力市場の取引価格に基づく電気料金の計算が行われているが、ユーザーの感情や行動に基づいた最適な家電の使用時間帯の提案が行われていない。そのため、ユーザーの感情に応じた家電の使用を促進することができず、ユーザーの満足度を向上させることが難しいという課題がある。 Conventional electricity bill calculation systems calculate electricity bills based on the trading price in the electricity market, but do not suggest optimal times to use home appliances based on the user's emotions or behavior. As a result, they are unable to promote the use of home appliances in accordance with the user's emotions, making it difficult to improve user satisfaction.

実施例1におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 1 is realized by the following means.

この発明では、サーバは、電力市場から取引価格情報を取得する手段と、取得した取引価格情報を解析し電気料金の単価を算出する手段と、ユーザーの消費電力量を取得する手段と、電気料金の単価と消費電力量を基に電気料金を計算する手段と、計算結果をユーザーに通知する手段と、ユーザーの声や表情、行動を収集する手段と、収集したデータを解析しユーザーの感情を認識する手段と、認識した感情に基づいて最適な家電の使用時間帯を提案する手段と、提案内容をユーザーに通知する手段を含む。これにより、ユーザーの感情に応じた最適な家電の使用時間帯を提案し、ユーザーの満足度を向上させることが可能となる。 In this invention, the server includes means for acquiring trading price information from the electricity market, means for analyzing the acquired trading price information and calculating the unit price of electricity, means for acquiring the user's power consumption, means for calculating the electricity bill based on the unit price of electricity and the power consumption, means for notifying the user of the calculation results, means for collecting the user's voice, facial expressions, and behavior, means for analyzing the collected data and recognizing the user's emotions, means for proposing optimal times for using home appliances based on the recognized emotions, and means for notifying the user of the proposed content. This makes it possible to suggest optimal times for using home appliances based on the user's emotions, thereby improving user satisfaction.

「電力市場」とは、電力の売買が行われる市場であり、電力の取引価格が決定される場所である。 An "electricity market" is a market where electricity is bought and sold, and where the trading price of electricity is determined.

「取引価格情報」とは、電力市場における電力の売買価格に関するデータである。 "Trading price information" refers to data regarding the buying and selling prices of electricity in the electricity market.

「電気料金の単価」とは、一定量の電力に対する料金を示す価格であり、取引価格情報に基づいて算出されるものである。 "Electricity unit price" refers to the price per unit of electricity, calculated based on transaction price information.

「消費電力量」とは、ユーザーが一定期間に消費した電力の量を示すデータである。 "Power consumption" is data that indicates the amount of electricity consumed by a user over a certain period of time.

「電気料金」とは、消費電力量に電気料金の単価を掛け合わせて算出される料金である。 "Electricity charge" is a charge calculated by multiplying the amount of electricity consumed by the unit price of electricity.

「ユーザーの声や表情、行動」とは、ユーザーが発する音声、顔の表情、身体の動きなどの情報を指す。 "User's voice, facial expressions, and actions" refers to information such as the voice, facial expressions, and body movements made by the user.

「感情を認識する手段」とは、ユーザーの声や表情、行動を解析し、ユーザーの感情を特定するための技術や装置である。 "Means for recognizing emotions" refers to technology or devices that analyze a user's voice, facial expressions, and behavior to identify the user's emotions.

「最適な家電の使用時間帯」とは、ユーザーの感情や行動に基づいて、家電を使用するのに最も適した時間帯を指す。 "Optimal time to use home appliances" refers to the most suitable time to use home appliances based on the user's emotions and behavior.

「提案内容をユーザーに通知する手段」とは、計算結果や提案内容をユーザーに伝えるための技術や装置である。 "Means for notifying users of proposal content" refers to technology or devices used to communicate calculation results and proposal content to users.

本発明は、市場連動型プランに基づく電気料金を計算し、ユーザーの感情に応じた最適な家電の使用時間帯を提案するシステムである。このシステムは、サーバと端末を含む複数のコンポーネントから構成される。 This invention is a system that calculates electricity rates based on market-linked plans and suggests optimal times for using home appliances based on the user's emotions. This system consists of multiple components, including a server and a terminal.

まず、サーバは電力市場から取引価格情報を取得する。取引価格情報は、電力市場における電力の売買価格に関するデータであり、APIを通じて取得される。例えば、HTTPリクエストを送信し、JSON形式で価格データを受け取る。サーバはこのデータを解析し、一定期間(例:1時間ごと)の平均価格を計算するために、Pythonのpandasライブラリを使用する。具体的には、JSONデータをpandasのDataFrameに変換し、resample('H').mean()メソッドを使用して1時間ごとの平均価格を計算する。 First, the server obtains trading price information from the electricity market. Trading price information is data on the buying and selling prices of electricity in the electricity market, and is obtained through an API. For example, an HTTP request is sent and price data is received in JSON format. The server analyzes this data and uses Python's pandas library to calculate the average price over a certain period (e.g., every hour). Specifically, it converts the JSON data into a pandas DataFrame and calculates the average price for each hour using the resample('H').mean() method.

次に、サーバはユーザーのスマートメーターから消費電力量データを取得する。スマートメーターのデータは、IoTデバイスからMQTTプロトコルを使用して送信される。サーバはMQTTブローカーに接続し、ユーザーの消費電力量データを受信する。受信したデータを基に、電気料金の単価と消費電力量を掛け合わせて電気料金を計算する。例えば、単価が10円/kWhで消費電力量が5kWhの場合、電気料金は50円となる。計算結果は、SMTPプロトコルを使用してメールを送信するか、Firebase Cloud Messagingを使用してプッシュ通知を送信することで、ユーザーに通知される。 Next, the server obtains power consumption data from the user's smart meter. Smart meter data is sent from the IoT device using the MQTT protocol. The server connects to the MQTT broker and receives the user's power consumption data. Based on the received data, the electricity bill is calculated by multiplying the electricity rate by the amount of power consumed. For example, if the unit price is 10 yen/kWh and the amount of power consumed is 5kWh, the electricity bill will be 50 yen. The calculation result is notified to the user by sending an email using the SMTP protocol or a push notification using Firebase Cloud Messaging.

一方、端末はユーザーの声や表情、行動を収集する。これには、カメラやマイクを使用し、音声認識にはGoogle Cloud Speech-to-Text API、顔認識にはOpenCVを使用する。端末はカメラでユーザーの顔をキャプチャし、OpenCVを使用して顔の特徴点を抽出する。また、マイクで音声を録音し、Google Cloud Speech-to-Text APIを使用してテキストに変換する。収集したデータを解析し、ユーザーの感情を認識するために、Microsoft Azure Emotion APIを使用する。端末は顔の特徴点データをMicrosoft Azure Emotion APIに送信し、感情ラベル(例:喜び、悲しみ、怒り)を取得する。 Meanwhile, the device collects the user's voice, facial expressions, and behavior. To do this, it uses a camera and microphone, and uses the Google Cloud Speech-to-Text API for voice recognition and OpenCV for facial recognition. The device captures the user's face with the camera and extracts facial feature points using OpenCV. It also records audio with the microphone and converts it into text using the Google Cloud Speech-to-Text API. The Microsoft Azure Emotion API is used to analyze the collected data and recognize the user's emotions. The device sends the facial feature point data to the Microsoft Azure Emotion API and obtains an emotion label (e.g., joy, sadness, anger).

認識した感情に基づいて、端末は最適な家電の使用時間帯を提案する。例えば、ユーザーが喜びの感情を示している場合、テレビの使用を提案する。また、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェアやアロマディフューザー)の使用を提案する。提案内容は、Firebase Cloud Messagingを使用してプッシュ通知を送信するか、音声アシスタントを通じて提案内容を音声で伝える。 Based on the recognized emotions, the device will suggest optimal times to use home appliances. For example, if the user is expressing joy, it will suggest using the television. If the user is feeling stressed, it will suggest using appliances that contribute to relaxation (e.g., a massage chair or aroma diffuser). Suggestions are sent via push notifications using Firebase Cloud Messaging or spoken through the voice assistant.

具体例として、ユーザーが1時間に5kWhの電力を消費し、その時間帯の取引価格が10円/kWhであった場合、電気料金は50円となる。また、ユーザーがカメラに向かって笑顔を見せた場合、システムはユーザーが喜びの感情を示していると認識し、テレビの使用を提案する。 For example, if a user consumes 5kWh of electricity in one hour and the trading price for that time period is 10 yen/kWh, the electricity bill will be 50 yen. Also, if the user smiles at the camera, the system recognizes that the user is expressing a happy emotion and suggests using the television.

プロンプト文の例としては、「電力取引所から取得した取引価格情報を基に、1時間ごとの電気料金を計算してください。」や「ユーザーの声や表情から感情を認識し、その感情に応じて最適な家電の使用時間帯を提案してください。」が挙げられる。 Examples of prompts include, "Calculate the hourly electricity bill based on trading price information obtained from the power exchange," and "Recognize the user's emotions from their voice and facial expressions, and suggest the optimal times to use home appliances based on those emotions."

実施例1における特定処理の流れについて図17を用いて説明する。 The flow of the identification process in Example 1 will be explained using Figure 17.

ステップ1: Step 1:

サーバは、電力市場から取引価格情報を取得する。 The server obtains trading price information from the electricity market.

入力: 電力市場のAPIエンドポイント。 Input: Power market API endpoint.

具体的な動作: サーバは「https://api.electricity-market.com/prices」のようなエンドポイントにHTTPリクエストを送信し、取引価格情報をJSON形式で受け取る。 Specific operation: The server sends an HTTP request to an endpoint such as "https://api.electricity-market.com/prices" and receives trading price information in JSON format.

出力: 取得した取引価格情報(JSONデータ)。 Output: Retrieved trading price information (JSON data).

ステップ2: Step 2:

サーバは、取得した取引価格情報を解析し、電気料金の単価を算出する。 The server analyzes the acquired transaction price information and calculates the unit price of electricity.

入力: 取引価格情報(JSONデータ)。 Input: Trading price information (JSON data).

具体的な動作: サーバはJSONデータをpandasのDataFrameに変換し、resample('H').mean()メソッドを使用して1時間ごとの平均価格を計算する。 Specific operation: The server converts the JSON data into a pandas DataFrame and calculates the average price for each hour using the resample('H').mean() method.

出力: 1時間ごとの平均価格(電気料金の単価)。 Output: Average hourly price (unit price of electricity).

ステップ3: Step 3:

サーバは、ユーザーのスマートメーターから消費電力量データを取得する。 The server obtains power consumption data from the user's smart meter.

入力: スマートメーターのデータ(MQTTメッセージ)。 Input: Smart meter data (MQTT message).

具体的な動作: サーバはMQTTブローカーに接続し、ユーザーの消費電力量データを受信する。 Specific operation: The server connects to the MQTT broker and receives the user's power consumption data.

出力: ユーザーの消費電力量データ。 Output: User power consumption data.

ステップ4: Step 4:

サーバは、電気料金の単価と消費電力量を基に電気料金を計算する。 The server calculates the electricity bill based on the unit price of electricity and the amount of electricity consumed.

入力: 電気料金の単価、消費電力量データ。 Input: Electricity unit price and power consumption data.

具体的な動作: サーバは計算式 料金 = 単価 消費電力量 を実行し、電気料金を算出する。 Specific operation: The server executes the formula: Charge = Unit Price Power Consumption to calculate the electricity charge.

出力: 計算された電気料金。 Output: Calculated electricity cost.

ステップ5: Step 5:

サーバは、計算結果をユーザーに通知する。 The server notifies the user of the calculation results.

入力: 計算された電気料金。 Input: Calculated electricity cost.

具体的な動作: サーバはSMTPプロトコルを使用してメールを送信するか、Firebase Cloud Messagingを使用してプッシュ通知を送信する。 Specific behavior: The server sends emails using the SMTP protocol or push notifications using Firebase Cloud Messaging.

出力: ユーザーに通知された電気料金。 Output: The electricity charge notified to the user.

ステップ6: Step 6:

端末は、ユーザーの声や表情、行動を収集する。 The device collects the user's voice, facial expressions, and behavior.

入力: ユーザーの声、表情、行動。 Input: User's voice, facial expressions, and actions.

具体的な動作: 端末はカメラでユーザーの顔をキャプチャし、OpenCVを使用して顔の特徴点を抽出する。また、マイクで音声を録音し、Google Cloud Speech-to-Text APIを使用してテキストに変換する。 Specific operations: The device captures the user's face with the camera and extracts facial feature points using OpenCV. It also records audio with the microphone and converts it to text using the Google Cloud Speech-to-Text API.

出力: ユーザーの声や表情、行動のデータ。 Output: User's voice, facial expression, and behavioral data.

ステップ7: Step 7:

端末は、収集したデータを解析し、ユーザーの感情を認識する。 The device analyzes the collected data and recognizes the user's emotions.

入力: ユーザーの声や表情、行動のデータ。 Input: User voice, facial expression, and behavioral data.

具体的な動作: 端末は顔の特徴点データをMicrosoft Azure Emotion APIに送信し、感情ラベル(例:喜び、悲しみ、怒り)を取得する。 Specific operation: The device sends facial feature point data to the Microsoft Azure Emotion API and obtains an emotion label (e.g., happy, sad, or angry).

出力: 認識された感情ラベル。 Output: Recognized emotion label.

ステップ8: Step 8:

端末は、認識した感情に基づいて最適な家電の使用時間帯を提案する。 The device will suggest optimal times to use home appliances based on the emotions it recognizes.

入力: 認識された感情ラベル。 Input: Recognized emotion label.

具体的な動作: 端末は感情ラベルを基に、事前に設定された家電のリストから最適な家電を選択し、使用時間帯を提案する。 Specific operation: Based on the emotion label, the device selects the most suitable appliance from a pre-defined list and suggests usage times.

出力: 提案された家電の使用時間帯。 Output: Suggested appliance usage times.

ステップ9: Step 9:

端末は、提案内容をユーザーに通知する。 The device will notify the user of the suggestions.

入力: 提案された家電の使用時間帯。 Input: Suggested appliance usage time period.

具体的な動作: 端末はFirebase Cloud Messagingを使用してプッシュ通知を送信するか、音声アシスタントを通じて提案内容を音声で伝える。 What happens: The device will send a push notification using Firebase Cloud Messaging or speak the suggestion through your voice assistant.

出力: ユーザーに通知された提案内容。 Output: The suggestion notified to the user.

(応用例1) (Application Example 1)

次に、形態例1の応用例1について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ヘッドセット型端末314を「端末」と称する。 Next, we will explain Application Example 1 of Form Example 1. In the following explanation, the data processing device 12 will be referred to as the "server" and the headset-type terminal 314 will be referred to as the "terminal."

従来の電気料金計算システムは、市場連動型プランに基づく電気料金の計算や、ユーザーからの家電使用情報に基づく最適な使用時間帯の提案に限定されていた。しかし、ユーザーの感情状態を考慮した家電の使用提案が行われていないため、ユーザーの満足度や快適性を向上させることができなかった。また、感情に基づく家電の使用提案がないため、ユーザーの心理的なニーズに応じたエネルギー管理が実現できていなかった。 Conventional electricity bill calculation systems were limited to calculating electricity rates based on market-linked plans and suggesting optimal usage times based on information about home appliance usage from users. However, because they did not consider the user's emotional state when making suggestions about home appliance usage, they were unable to improve user satisfaction or comfort. Furthermore, because they did not make suggestions about home appliance usage based on emotions, energy management that responded to the user's psychological needs was not possible.

応用例1におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーの感情を認識する手段と、認識した感情に基づいて最適な家電の使用を提案する手段と、を含む。これにより、ユーザーの感情状態に応じた最適な家電の使用提案が可能となり、ユーザーの満足度や快適性を向上させることができる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from a user, means for calculating optimal usage times based on the received home appliance usage information, means for proposing the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions, and means for proposing optimal home appliance usage based on the recognized emotions. This makes it possible to suggest optimal home appliance usage based on the user's emotional state, thereby improving user satisfaction and comfort.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を算出するための装置またはソフトウェアである。 "Means for calculating electricity charges" means a device or software for calculating electricity charges based on a market-linked plan.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用したい家電の種類や使用時間を入力するためのインターフェースである。 "Means for receiving home appliance usage information from users" refers to an interface that allows users to input the type of home appliance they wish to use and the usage time.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報に基づいて、最も効率的な使用時間帯を算出する装置またはソフトウェアである。 "Means for calculating optimal usage time periods" refers to a device or software that calculates the most efficient usage time periods based on the received home appliance usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知するためのインターフェースである。 "Means for making suggestions to users" refers to an interface that notifies users of the calculated optimal usage time and electricity charges.

「ユーザーの感情を認識する手段」とは、ユーザーの声や表情、行動などから感情を検出するための装置またはソフトウェアである。 "Means for recognizing user emotions" refers to devices or software that detect emotions from the user's voice, facial expressions, behavior, etc.

「最適な家電の使用を提案する手段」とは、認識した感情に基づいて、ユーザーに最適な家電の使用を提案するための装置またはソフトウェアである。 "Means for suggesting optimal home appliance usage" refers to a device or software that suggests optimal home appliance usage to a user based on recognized emotions.

この発明を実施するための形態として、以下のシステム構成を説明する。 The following system configuration is described as an embodiment of this invention.

システム構成 System Configuration

サーバは、市場連動型プランに基づく電気料金を計算する手段、ユーザーからの家電使用情報を受け取る手段、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段、計算した最適な使用時間帯と電気料金をユーザーに提案する手段、ユーザーの感情を認識する手段、認識した感情に基づいて最適な家電の使用を提案する手段を含む。 The server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from a user, means for calculating optimal usage times based on the received home appliance usage information, means for suggesting the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions, and means for suggesting optimal home appliance usage based on the recognized emotions.

プログラムの処理 Program processing

サーバは、まず電力取引所の取引価格情報を取得する。この情報は、APIを通じて取得される。次に、取得した取引価格情報を基に電気料金を計算する。計算された電気料金は、ユーザーが入力した家電使用情報に基づいて最適な使用時間帯を算出するために使用される。 The server first obtains trading price information from the power exchange. This information is obtained via an API. It then calculates the electricity bill based on the obtained trading price information. The calculated electricity bill is used to calculate the optimal usage time based on the appliance usage information entered by the user.

ユーザーの感情を認識するために、サーバは感情認識ソフトウェアを使用する。このソフトウェアは、ユーザーの声や表情、行動などから感情を検出する。認識された感情に基づいて、サーバは最適な家電の使用を提案する。 To recognize the user's emotions, the server uses emotion recognition software. This software detects emotions from the user's voice, facial expressions, and behavior. Based on the recognized emotions, the server suggests the optimal use of home appliances.

使用するハードウェアおよびソフトウェア Hardware and software used

ハードウェア:サーバ、ユーザー端末(スマートフォン、タブレットなど) Hardware: Servers, user devices (smartphones, tablets, etc.)

ソフトウェア:感情認識ソフトウェア、電力取引所API、家電制御ソフトウェア Software: Emotion recognition software, power exchange API, home appliance control software

具体例 Specific examples

例えば、ユーザーがスマートフォンを使用している場合、スマートフォンのカメラを使用して顔を認識させる。アプリがユーザーの感情を「ストレス」と認識した場合、サーバは「マッサージチェア」と「アロマディフューザー」の使用を提案する。現在の電力価格に基づいて、これらの家電の使用コストを計算し、ユーザーに通知する。 For example, if a user is using a smartphone, the app uses the smartphone's camera to recognize their face. If the app recognizes the user's emotion as "stress," the server will suggest using a "massage chair" and an "aroma diffuser." Based on the current electricity price, the server will calculate the cost of using these appliances and notify the user.

プロンプト文の例 Example prompt

ユーザーの感情を認識し、最適な家電の使用時間帯を提案するスマートフォンアプリを設計してください。アプリは電力取引所の取引価格情報を取得し、それに基づいて電気料金を計算します。ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェアやアロマディフューザー)の使用を提案します。 Design a smartphone app that recognizes the user's emotions and suggests optimal times to use home appliances. The app retrieves trading price information from the power exchange and calculates electricity bills based on that information. If the user is feeling stressed, it suggests using home appliances that contribute to relaxation (e.g., a massage chair or aroma diffuser).

応用例1における特定処理の流れについて図18を用いて説明する。 The flow of the specific processing in Application Example 1 is explained using Figure 18.

ステップ1: Step 1:

サーバは、電力取引所の取引価格情報を取得する。 The server obtains trading price information from the power exchange.

入力:電力取引所APIのエンドポイント Input: Power Exchange API endpoint

データ加工:APIリクエストを送信し、取引価格情報を取得する Data processing: Send API requests and obtain trading price information.

出力:取引価格情報(JSON形式) Output: Trading price information (JSON format)

ステップ2: Step 2:

サーバは、取得した取引価格情報を基に電気料金を計算する。 The server calculates electricity charges based on the acquired transaction price information.

入力:取引価格情報 Input: Transaction price information

データ演算:取引価格情報から現在の電力単価を抽出し、使用量に応じた電気料金を計算する Data calculation: Extracts current electricity unit prices from trading price information and calculates electricity charges based on usage.

出力:計算された電気料金 Output: Calculated electricity cost

ステップ3: Step 3:

ユーザは、スマートフォンを使用して家電使用情報を入力する。 Users enter home appliance usage information using their smartphones.

入力:家電の種類、使用時間 Input: Type of appliance, usage time

データ加工:入力された情報をサーバに送信する Data processing: Send the entered information to the server.

出力:家電使用情報 Output: Appliance usage information

ステップ4: Step 4:

サーバは、受け取った家電使用情報に基づき最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the received appliance usage information.

入力:家電使用情報、取引価格情報 Input: Appliance usage information, transaction price information

データ演算:家電使用情報と取引価格情報を組み合わせて、最もコスト効率の良い使用時間帯を算出する Data calculation: Combining appliance usage information and transaction price information to calculate the most cost-effective usage times.

出力:最適な使用時間帯 Output: Optimal usage time

ステップ5: Step 5:

サーバは、計算した最適な使用時間帯と電気料金をユーザに提案する。 The server then proposes the optimal usage time and electricity rates to the user.

入力:最適な使用時間帯、計算された電気料金 Input: Optimal usage time, calculated electricity rate

データ加工:提案内容を生成し、ユーザ端末に送信する Data processing: Generate proposals and send them to the user's device.

出力:提案内容(最適な使用時間帯と電気料金) Output: Recommendations (optimal usage time and electricity rates)

ステップ6: Step 6:

ユーザは、スマートフォンのカメラを使用して顔を認識させる。 The user uses their smartphone camera to recognize their face.

入力:ユーザの顔画像 Input: User's face image

データ加工:顔画像をサーバに送信する Data processing: Send facial images to the server

出力:顔画像データ Output: Facial image data

ステップ7: Step 7:

サーバは、感情認識ソフトウェアを使用してユーザの感情を認識する。 The server uses emotion recognition software to recognize the user's emotions.

入力:顔画像データ Input: Facial image data

データ演算:顔画像データを解析し、感情を認識する Data calculation: Analyze facial image data and recognize emotions

出力:認識された感情 Output: Recognized emotion

ステップ8: Step 8:

サーバは、認識した感情に基づいて最適な家電の使用を提案する。 The server then suggests the optimal use of home appliances based on the recognized emotions.

入力:認識された感情 Input: Recognized emotion

データ演算:感情に応じた家電の使用提案を生成する Data calculation: Generate home appliance usage suggestions based on emotions

出力:家電使用提案 Output: Home appliance usage suggestion

ステップ9: Step 9:

サーバは、提案された家電の使用コストを計算し、ユーザに通知する。 The server calculates the cost of using the proposed appliances and notifies the user.

入力:家電使用提案、取引価格情報 Input: Appliance usage proposals, transaction price information

データ演算:提案された家電の使用コストを計算する Data calculation: Calculate the usage costs of proposed appliances

出力:使用コスト通知 Output: Usage cost notification

(実施例2) (Example 2)

次に、形態例2の実施例2について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ヘッドセット型端末314を「端末」と称する。 Next, Example 2 of Form Example 2 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the headset-type terminal 314 will be referred to as the "terminal."

従来の電気料金計算システムでは、ユーザーの家電使用情報に基づいて最適な使用時間帯を計算することはできるが、ユーザーの感情状態を考慮した電気料金の提案ができないという課題があった。これにより、ユーザーの感情に応じた最適な家電使用提案ができず、ユーザーの満足度を向上させることが難しかった。 Conventional electricity bill calculation systems can calculate optimal usage times based on a user's appliance usage information, but they have the problem of not being able to propose electricity bills that take into account the user's emotional state. This makes it difficult to propose optimal appliance usage based on the user's emotions, making it difficult to improve user satisfaction.

実施例2におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 2 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、ユーザーの感情を認識する手段と、認識した感情に基づき電気料金の提案を調整する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、を含む。これにより、ユーザーの感情に応じた最適な家電使用提案と電気料金の調整が可能となる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from the user, means for calculating optimal usage time periods based on the received home appliance usage information, means for recognizing the user's emotions, means for adjusting the proposed electricity charge based on the recognized emotions, and means for proposing the calculated optimal usage time periods and electricity charges to the user. This makes it possible to propose optimal home appliance usage and adjust electricity charges according to the user's emotions.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、電力消費量と市場連動型プランに基づいて電気料金を算出するための機能である。 "Means for calculating electricity charges" is a function for calculating electricity charges based on electricity consumption and a market-linked plan.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが入力した家電の種類と使用時間をシステムに取り込むための機能である。 "Means for receiving home appliance usage information from users" is a function for incorporating the type of home appliance and usage time entered by the user into the system.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報を基に、電力消費パターンや過去のデータを考慮して、家電の最適な使用時間帯を算出するための機能である。 "Means for calculating optimal usage times" is a function that calculates the optimal usage times for home appliances based on received home appliance usage information, taking into account power consumption patterns and past data.

「ユーザーの感情を認識する手段」とは、ユーザーの感情状態を分析し、認識するための機能である。 "Means for recognizing user emotions" refers to a function for analyzing and recognizing the user's emotional state.

「電気料金の提案を調整する手段」とは、認識したユーザーの感情に基づいて、電気料金の提案内容を最適化するための機能である。 "Means for adjusting electricity rate proposals" is a function for optimizing electricity rate proposals based on recognized user emotions.

「計算した最適な使用時間帯と電気料金をユーザーに提案する手段」とは、算出された最適な使用時間帯と調整された電気料金をユーザーに通知するための機能である。 "Means for proposing the calculated optimal usage time periods and electricity charges to the user" is a function for notifying the user of the calculated optimal usage time periods and adjusted electricity charges.

発明を実施するための形態 Form for implementing the invention

この発明は、ユーザーからの家電使用情報を受け取り、それを基に最適な使用時間帯を計算し、さらにユーザーの感情に基づいて電気料金の提案を調整するシステムである。このシステムは、以下のようなハードウェアおよびソフトウェアを使用して実施される。 This invention is a system that receives information about home appliance usage from users, calculates optimal usage times based on that information, and adjusts electricity rate proposals based on the user's emotions. This system is implemented using the following hardware and software.

使用するハードウェアおよびソフトウェア Hardware and software used

ハードウェア Hardware

端末:ユーザーが入力情報を提供するためのデバイス(例:スマートフォン、タブレット、PC) Device: The device on which the user provides input information (e.g., smartphone, tablet, PC)

サーバ:データの処理と保存を行うためのサーバ Server: Server for processing and storing data

ソフトウェア Software

感情エンジン:ユーザーの感情を認識するためのソフトウェア(例:感情認識API) Emotion engine: Software for recognizing user emotions (e.g., emotion recognition API)

データベース:家電使用情報やユーザーの感情データを保存するためのデータベース(例:MySQL、PostgreSQL) Database: A database for storing appliance usage information and user emotion data (e.g., MySQL, PostgreSQL)

システムの具体的な動作 Specific system operation

1. ユーザーの入力情報の収集 1. Collection of user input information

ユーザーは、端末を使用して、使用したい家電の種類と希望する使用時間を入力する。 Users use the terminal to input the type of appliance they want to use and the desired usage time.

具体的な動作として、ユーザーはアプリケーションの入力フォームに「エアコン」「午後2時から午後4時まで」といった情報を入力する。 Specific actions involve the user entering information such as "air conditioner" and "2:00 PM to 4:00 PM" into the application's input form.

2. 入力情報の送信 2. Submitting input information

端末は、ユーザーが入力した情報をサーバに送信する。 The device sends the information entered by the user to the server.

具体的な動作として、端末はHTTPリクエストを使用して、入力情報をサーバに送信する。 Specific operations involve the device sending input information to the server using an HTTP request.

3. 家電の使用時間帯の計算 3. Calculating appliance usage times

サーバは、受け取った家電の種類と使用時間を基に、最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the type of appliance and usage time received.

具体的な動作として、サーバは過去の使用データや電力消費パターンを考慮するアルゴリズムを実行し、最適な使用時間帯を算出する。 Specifically, the server runs an algorithm that takes into account past usage data and power consumption patterns to calculate the optimal usage time period.

例えば、サーバは「エアコンの使用は午後2時から午後4時が最適」と計算する。 For example, the server might calculate that the best time to use the air conditioner is between 2:00 PM and 4:00 PM.

4. 感情エンジンによる感情認識 4. Emotion Recognition Using an Emotion Engine

サーバは、感情エンジンを使用して、ユーザーの感情を認識する。 The server uses an emotion engine to recognize the user's emotions.

具体的な動作として、サーバはユーザーの顔画像や音声データを感情エンジンに入力し、感情状態(例:喜び、ストレス)を取得する。 Specifically, the server inputs the user's facial image and voice data into the emotion engine to obtain their emotional state (e.g., joy, stress).

5. 電気料金の提案調整 5. Proposal for adjusting electricity rates

サーバは、感情エンジンの認識結果に基づき、電気料金の提案を調整する。 The server adjusts the electricity rate suggestions based on the emotion engine's recognition results.

具体的な動作として、サーバはユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電(例:テレビ)の使用時間帯を延長し、その結果として発生する電気料金の増加を提案する。 Specific behavior is that if the user expresses happiness, the server will extend the usage time of entertainment-oriented home appliances (e.g., televisions) and suggest an increase in the resulting electricity bill.

一方、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェア)の使用時間帯を延長する提案を行う。 On the other hand, if the user is feeling stressed, we will suggest extending the usage time of home appliances that contribute to relaxation (e.g., massage chairs).

6. 結果のユーザーへの通知 6. Notifying users of results

サーバは、計算結果と提案内容を端末に送信する。 The server sends the calculation results and suggestions to the device.

端末は、受け取った情報をユーザーに通知する。 The device will notify the user of the received information.

具体的な動作として、端末はプッシュ通知やアプリ内メッセージを使用して、ユーザーに「エアコンの使用は午後2時から午後4時が最適です。また、テレビの使用時間を延長することをお勧めします」と通知する。 Specific actions include the device informing the user via push notifications and in-app messages that "The best time to use the air conditioner is between 2:00 PM and 4:00 PM. We also recommend extending the TV usage time."

具体例 Specific examples

ユーザーの入力 User input

ユーザーがスマートフォンを使用して、「エアコンを午後2時から午後4時まで使用したい」と入力する。 A user uses their smartphone to enter, "I want to use the air conditioner from 2:00 PM to 4:00 PM."

サーバの処理 Server processing

サーバは、エアコンの使用時間帯を計算し、過去のデータや電力消費パターンを考慮して最適な時間帯を提案する。 The server calculates the hours when the air conditioner will be used and suggests the optimal times based on past data and power consumption patterns.

感情エンジンがユーザーの感情を「喜び」と認識した場合、エンターテイメント性の高い家電(例:テレビ)の使用時間帯を延長する提案を行う。 If the emotion engine recognizes the user's emotion as "joy," it will suggest extending the usage time of entertainment-oriented home appliances (e.g., television).

生成AIモデルへのプロンプト文の例 Example prompt for a generative AI model

「ユーザーがエアコンを午後2時から午後4時まで使用したいと入力しました。最適な使用時間帯を計算し、ユーザーの感情が喜びの場合、エンターテイメント性の高い家電の使用時間帯を延長する提案を行ってください。」 "The user inputs that they want to use the air conditioner from 2:00 PM to 4:00 PM. Calculate the optimal usage time, and if the user's emotion is joy, suggest extending the usage time of entertainment appliances."

このシステムにより、ユーザーは効率的に家電を使用できるだけでなく、感情に応じた最適な電気料金の提案を受けることができる。 This system not only allows users to use their home appliances efficiently, but also allows them to receive optimal electricity rate suggestions based on their emotions.

実施例2における特定処理の流れについて図19を用いて説明する。 The flow of the identification process in Example 2 will be explained using Figure 19.

ステップ1: Step 1:

ユーザーの入力情報の収集 Collecting user input information

ユーザーは、端末を使用して、使用したい家電の種類と希望する使用時間を入力する。 Users use the terminal to input the type of appliance they want to use and the desired usage time.

入力:ユーザーがアプリケーションの入力フォームに「エアコン」「午後2時から午後4時まで」といった情報を入力する。 Input: The user enters information such as "air conditioner" and "2:00 PM to 4:00 PM" into the application's input form.

出力:入力された家電の種類と使用時間のデータ。 Output: Data on the type of appliance and usage time entered.

具体的な動作:ユーザーがスマートフォンのアプリケーションを開き、家電の種類と使用時間を入力フォームに入力し、送信ボタンを押す。 Specific operation: The user opens the smartphone application, enters the type of appliance and usage time into the input form, and presses the submit button.

ステップ2: Step 2:

入力情報の送信 Submit input information

端末は、ユーザーが入力した情報をサーバに送信する。 The device sends the information entered by the user to the server.

入力:ユーザーが入力した家電の種類と使用時間のデータ。 Input: Data on the type of appliance and usage time entered by the user.

出力:サーバに送信された家電の種類と使用時間のデータ。 Output: Data on the type of appliance and usage time sent to the server.

具体的な動作:端末はHTTPリクエストを生成し、入力されたデータをサーバに送信する。 Specific operation: The device generates an HTTP request and sends the entered data to the server.

ステップ3: Step 3:

家電の使用時間帯の計算 Calculating appliance usage times

サーバは、受け取った家電の種類と使用時間を基に、最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the type of appliance and usage time received.

入力:サーバに送信された家電の種類と使用時間のデータ。 Input: Data on the type of appliance and usage time sent to the server.

出力:最適な使用時間帯のデータ。 Output: Data on optimal usage times.

具体的な動作:サーバは過去の使用データや電力消費パターンを考慮するアルゴリズムを実行し、最適な使用時間帯を算出する。例えば、「エアコンの使用は午後2時から午後4時が最適」と計算する。 Specific operation: The server runs an algorithm that takes into account past usage data and power consumption patterns to calculate the optimal usage time. For example, it may calculate that the optimal time to use the air conditioner is between 2:00 PM and 4:00 PM.

ステップ4: Step 4:

感情エンジンによる感情認識 Emotion recognition using an emotion engine

サーバは、感情エンジンを使用して、ユーザーの感情を認識する。 The server uses an emotion engine to recognize the user's emotions.

入力:ユーザーの顔画像や音声データ。 Input: User's facial image and voice data.

出力:ユーザーの感情状態(例:喜び、ストレス)。 Output: User's emotional state (e.g., happy, stressed).

具体的な動作:サーバはユーザーの顔画像や音声データを感情エンジンに入力し、感情状態を取得する。 Specific operation: The server inputs the user's facial image and voice data into the emotion engine to obtain their emotional state.

ステップ5: Step 5:

電気料金の提案調整 Proposed adjustment of electricity rates

サーバは、感情エンジンの認識結果に基づき、電気料金の提案を調整する。 The server adjusts the electricity rate suggestions based on the emotion engine's recognition results.

入力:ユーザーの感情状態と最適な使用時間帯のデータ。 Input: User's emotional state and optimal usage time data.

出力:調整された電気料金の提案データ。 Output: Proposed adjusted electricity rates.

具体的な動作:サーバはユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電(例:テレビ)の使用時間帯を延長し、その結果として発生する電気料金の増加を提案する。一方、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェア)の使用時間帯を延長する提案を行う。 Specific behavior: If the user is expressing happiness, the server will suggest extending the usage time of entertainment appliances (e.g., televisions) and reducing the resulting electricity bill increase. On the other hand, if the user is feeling stressed, the server will suggest extending the usage time of relaxation appliances (e.g., massage chairs).

ステップ6: Step 6:

結果のユーザーへの通知 Notifying users of results

サーバは、計算結果と提案内容を端末に送信する。 The server sends the calculation results and suggestions to the device.

端末は、受け取った情報をユーザーに通知する。 The device will notify the user of the received information.

入力:最適な使用時間帯と調整された電気料金の提案データ。 Input: Data suggesting optimal usage times and adjusted electricity rates.

出力:ユーザーへの通知メッセージ。 Output: Notification message to the user.

具体的な動作:端末はプッシュ通知やアプリ内メッセージを使用して、ユーザーに「エアコンの使用は午後2時から午後4時が最適です。また、テレビの使用時間を延長することをお勧めします」と通知する。 Specific behavior: The device will use push notifications and in-app messages to inform the user that "The best time to use the air conditioner is between 2:00 PM and 4:00 PM. We also recommend extending the TV usage time."

(応用例2) (Application Example 2)

次に、形態例2の応用例2について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ヘッドセット型端末314を「端末」と称する。 Next, we will explain Application Example 2 of Form Example 2. In the following explanation, the data processing device 12 will be referred to as the "server" and the headset-type terminal 314 will be referred to as the "terminal."

従来の家電使用情報を基にした電気料金の最適化システムでは、ユーザーの感情状態を考慮することができず、ユーザーの満足度を高めることが難しかった。また、店舗内の家電製品の使用時間帯を最適化する際に、顧客の感情に応じた調整が行われないため、顧客体験の向上が図れなかった Conventional electricity rate optimization systems based on appliance usage information were unable to take into account the user's emotional state, making it difficult to increase user satisfaction. Furthermore, when optimizing the usage times of in-store appliances, adjustments were not made based on the customer's emotions, preventing an improved customer experience.

応用例2におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、感情認識エンジンを用いてユーザーの感情を認識する手段と、認識された感情に基づいて電気料金の提案を調整する手段と、を含む。これにより、ユーザーの感情状態に応じた最適な家電使用時間帯と電気料金の提案が可能となり、ユーザーの満足度を高めることができる。また、店舗内の家電製品の使用時間帯を顧客の感情に応じて調整することで、顧客体験の向上が図れる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from a user, means for calculating optimal usage times based on the received home appliance usage information, means for proposing the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions using an emotion recognition engine, and means for adjusting the proposed electricity charges based on the recognized emotions. This makes it possible to propose optimal home appliance usage times and electricity charges according to the user's emotional state, thereby increasing user satisfaction. Furthermore, by adjusting the usage times of home appliances in the store according to the customer's emotions, the customer experience can be improved.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を計算するための装置またはプログラムである。 "Means for calculating electricity charges" means a device or program for calculating electricity charges based on a market-linked plan.

「家電使用情報を受け取る手段」とは、ユーザーから家電の種類や使用時間などの情報を入力として受け取るための装置またはプログラムである。 "Means for receiving home appliance usage information" refers to a device or program for receiving information such as the type of home appliance and usage time from the user as input.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報を基に、家電の最適な使用時間帯を計算するための装置またはプログラムである。 "Means for calculating optimal usage time periods" refers to a device or program for calculating optimal usage time periods for home appliances based on received home appliance usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知または表示するための装置またはプログラムである。 "Means for making suggestions to users" refers to a device or program that notifies or displays to users the calculated optimal usage time and electricity charges.

「感情認識エンジン」とは、ユーザーの感情を認識するためのアルゴリズムやプログラムである。 An "emotion recognition engine" is an algorithm or program that recognizes a user's emotions.

「感情を認識する手段」とは、感情認識エンジンを用いてユーザーの感情を検出するための装置またはプログラムである。 "Means for recognizing emotions" refers to a device or program for detecting a user's emotions using an emotion recognition engine.

「電気料金の提案を調整する手段」とは、認識されたユーザーの感情に基づいて電気料金の提案内容を変更するための装置またはプログラムである。 "Means for adjusting electricity rate proposals" is a device or program for changing the content of electricity rate proposals based on recognized user sentiment.

この発明を実施するための形態として、以下のシステム構成を説明する。 The following system configuration is described as an embodiment of this invention.

システム構成 System Configuration

このシステムは、サーバ、ユーザー端末、感情認識エンジン、電気料金計算エンジン、及び家電制御装置から構成される。サーバは、ユーザーからの家電使用情報を受け取り、最適な使用時間帯を計算し、感情認識エンジンを用いてユーザーの感情を認識し、電気料金の提案を調整する役割を担う。 This system consists of a server, user terminal, emotion recognition engine, electricity rate calculation engine, and home appliance control device. The server receives home appliance usage information from the user, calculates the optimal usage time, recognizes the user's emotions using the emotion recognition engine, and adjusts the electricity rate proposal.

プログラムの処理 Program processing

1. 家電使用情報の入力: 1. Enter your appliance usage information:

ユーザー端末は、ユーザーから家電の種類と使用時間を入力として受け取る。この情報はサーバに送信される。 The user device receives input from the user about the type of appliance and the amount of time it has been used. This information is sent to the server.

2. 感情認識: 2. Emotion recognition:

サーバは、感情認識エンジンを用いてユーザーの感情を認識する。感情認識エンジンは、カメラやセンサーから取得したユーザーの画像や音声データを解析し、ユーザーの感情状態を判定する。 The server recognizes the user's emotions using an emotion recognition engine. The emotion recognition engine analyzes the user's image and audio data acquired from cameras and sensors to determine the user's emotional state.

3. 最適な使用時間帯の計算: 3. Calculating the best time to use:

サーバは、受け取った家電使用情報を基に、電気料金計算エンジンを用いて最適な使用時間帯を計算する。電気料金計算エンジンは、市場連動型プランに基づいて電気料金を計算する。 The server uses an electricity rate calculation engine to calculate the optimal usage time based on the received home appliance usage information. The electricity rate calculation engine calculates electricity rates based on a market-linked plan.

4. 電気料金の提案調整: 4. Proposed electricity rate adjustment:

サーバは、認識されたユーザーの感情に基づいて、電気料金の提案を調整する。例えば、ユーザーが喜んでいる場合はエンターテイメント性の高い家電の使用時間を延長し、ストレスを感じている場合はリラクゼーションに寄与する家電の使用時間を延長する。 The server adjusts electricity rate suggestions based on the user's recognized emotions. For example, if the user is happy, it will extend the use of entertainment appliances, and if the user is stressed, it will extend the use of relaxation appliances.

5. ユーザーへの通知: 5. Notice to Users:

サーバは、計算した最適な使用時間帯と調整された電気料金をユーザー端末に通知する。ユーザーは、これに基づいて家電の使用を調整することができる。 The server then notifies the user's device of the calculated optimal usage time period and the adjusted electricity rate. The user can then adjust their home appliance usage accordingly.

使用するハードウェア及びソフトウェア Hardware and software used

ハードウェア: カメラ、センサー、ユーザー端末(スマートフォン、スマート眼鏡など) Hardware: Cameras, sensors, user devices (smartphones, smart glasses, etc.)

ソフトウェア: 感情認識エンジン(EmotionEngine)、電気料金計算エンジン(ElectricityPricing) Software: Emotion recognition engine (EmotionEngine), electricity bill calculation engine (ElectricityPricing)

具体例 Specific examples

例えば、店舗内の照明とエアコンの使用時間を最適化するシナリオを考える。店舗管理者は、スマートフォンを用いて照明とエアコンの使用時間を入力する。サーバは、店舗内のカメラを用いて顧客の感情を認識し、最適な使用時間帯を計算する。顧客が喜んでいる場合は、照明の使用時間を延長し、エンターテイメント性を高める。ストレスを感じている場合は、エアコンの使用時間を延長し、リラクゼーションを促進する。 For example, consider a scenario in which the usage times of lighting and air conditioning in a store are optimized. The store manager uses a smartphone to input the usage times of lighting and air conditioning. The server uses cameras in the store to recognize the customer's emotions and calculates the optimal usage times. If the customer is happy, the lighting usage time is extended to increase entertainment. If the customer is stressed, the air conditioning usage time is extended to promote relaxation.

プロンプト文の例 Example prompt

店舗内の照明とエアコンの使用時間を最適化し、顧客の感情に応じて電気料金の提案を調整するアプリケーションを開発してください。顧客が喜んでいる場合はエンターテイメント性の高い家電の使用時間を延長し、ストレスを感じている場合はリラクゼーションに寄与する家電の使用時間を延長します。 Develop an application that optimizes the use of lighting and air conditioning in stores and adjusts electricity rates based on customer emotions. If a customer is happy, extend the use of entertainment appliances, and if they are stressed, extend the use of relaxation appliances.

このようにして、ユーザーの感情状態に応じた最適な家電使用時間帯と電気料金の提案が可能となり、ユーザーの満足度を高めることができる。また、店舗内の家電製品の使用時間帯を顧客の感情に応じて調整することで、顧客体験の向上が図れる。 In this way, it becomes possible to propose optimal times for using home appliances and electricity rates based on the user's emotional state, thereby increasing user satisfaction. Furthermore, by adjusting the usage times of home appliances in the store based on the customer's emotions, the customer experience can be improved.

応用例2における特定処理の流れについて図20を用いて説明する。 The flow of the specific processing in Application Example 2 is explained using Figure 20.

ステップ1: Step 1:

ユーザー端末は、ユーザーから家電の種類と使用時間を入力として受け取る。具体的には、ユーザーがスマートフォンやスマート眼鏡を用いて、使用したい家電の種類(例えば、照明、エアコンなど)とその使用時間を入力する。この情報は、ユーザー端末からサーバに送信される。入力データは、家電の種類と使用時間であり、出力データはサーバに送信される家電使用情報である。 The user terminal receives the type of appliance and usage time from the user as input. Specifically, the user uses a smartphone or smart glasses to input the type of appliance they want to use (e.g., lighting, air conditioner, etc.) and the usage time. This information is sent from the user terminal to the server. The input data is the type of appliance and usage time, and the output data is the appliance usage information sent to the server.

ステップ2: Step 2:

サーバは、感情認識エンジンを用いてユーザーの感情を認識する。具体的には、サーバがカメラやセンサーから取得したユーザーの画像や音声データを感情認識エンジンに入力し、ユーザーの感情状態を判定する。入力データは、ユーザーの画像や音声データであり、出力データは認識されたユーザーの感情状態である。 The server uses an emotion recognition engine to recognize the user's emotions. Specifically, the server inputs the user's image and voice data acquired by the camera or sensor into the emotion recognition engine to determine the user's emotional state. The input data is the user's image and voice data, and the output data is the recognized emotional state of the user.

ステップ3: Step 3:

サーバは、受け取った家電使用情報を基に、電気料金計算エンジンを用いて最適な使用時間帯を計算する。具体的には、サーバが家電使用情報と市場連動型プランのデータを電気料金計算エンジンに入力し、最適な使用時間帯を計算する。入力データは、家電使用情報と市場連動型プランのデータであり、出力データは最適な使用時間帯である。 Based on the received appliance usage information, the server uses an electricity rate calculation engine to calculate the optimal usage time period. Specifically, the server inputs the appliance usage information and market-linked plan data into the electricity rate calculation engine and calculates the optimal usage time period. The input data is the appliance usage information and market-linked plan data, and the output data is the optimal usage time period.

ステップ4: Step 4:

サーバは、認識されたユーザーの感情に基づいて、電気料金の提案を調整する。具体的には、サーバが感情認識エンジンからの感情状態データを用いて、電気料金計算エンジンの提案を調整する。例えば、ユーザーが喜んでいる場合はエンターテイメント性の高い家電の使用時間を延長し、ストレスを感じている場合はリラクゼーションに寄与する家電の使用時間を延長する。入力データは、ユーザーの感情状態と最適な使用時間帯であり、出力データは調整された電気料金の提案である。 The server adjusts electricity rate suggestions based on the recognized user emotions. Specifically, the server uses emotional state data from the emotion recognition engine to adjust the suggestions of the electricity rate calculation engine. For example, if the user is happy, the server extends the use time of entertainment appliances, and if the user is stressed, the server extends the use time of relaxation appliances. The input data is the user's emotional state and optimal use time periods, and the output data is the adjusted electricity rate suggestions.

ステップ5: Step 5:

サーバは、計算した最適な使用時間帯と調整された電気料金をユーザー端末に通知する。具体的には、サーバが最適な使用時間帯と調整された電気料金のデータをユーザー端末に送信し、ユーザーがそれを確認できるようにする。入力データは、最適な使用時間帯と調整された電気料金であり、出力データはユーザー端末に表示される提案情報である。 The server notifies the user's device of the calculated optimal usage time period and adjusted electricity charges. Specifically, the server sends data on the optimal usage time period and adjusted electricity charges to the user's device, allowing the user to check it. The input data is the optimal usage time period and adjusted electricity charges, and the output data is the suggested information displayed on the user's device.

このようにして、ユーザーの感情状態に応じた最適な家電使用時間帯と電気料金の提案が可能となり、ユーザーの満足度を高めることができる。また、店舗内の家電製品の使用時間帯を顧客の感情に応じて調整することで、顧客体験の向上が図れる。 In this way, it becomes possible to propose optimal times for using home appliances and electricity rates based on the user's emotional state, thereby increasing user satisfaction. Furthermore, by adjusting the usage times of home appliances in the store based on the customer's emotions, the customer experience can be improved.

(実施例3) (Example 3)

次に、形態例3の実施例3について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ヘッドセット型端末314を「端末」と称する。 Next, we will explain Example 3 of Form Example 3. In the following explanation, the data processing device 12 will be referred to as the "server" and the headset-type terminal 314 will be referred to as the "terminal."

従来の電気料金計算システムでは、ユーザーが家電を使用する最適な時間帯を提案することはできるが、ユーザーの感情に基づいた提案は行われていなかった。そのため、ユーザーの感情状態に応じた最適な家電の使用時間帯を提案することができず、ユーザーの満足度を向上させることが難しかった。さらに、電力取引所の取引価格に基づく電気料金の計算も行われていなかったため、ユーザーが電気料金を抑えるための参考情報を得ることができなかった。 Conventional electricity bill calculation systems could suggest optimal times for users to use home appliances, but they did not make suggestions based on the user's emotions. As a result, they were unable to suggest optimal times to use home appliances based on the user's emotional state, making it difficult to improve user satisfaction. Furthermore, electricity bills were not calculated based on trading prices at the power exchange, meaning users were unable to obtain reference information for reducing their electricity bills.

実施例3におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 3 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーの感情を認識する手段と、認識した感情に基づいて最適な家電の使用時間帯を提案する手段と、を含む。これにより、ユーザーの感情状態に応じた最適な家電の使用時間帯を提案し、電力取引所の取引価格に基づく電気料金の計算を行うことが可能となる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from the user, means for calculating optimal usage times based on the received home appliance usage information, means for proposing the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions, and means for proposing optimal home appliance usage times based on the recognized emotions. This makes it possible to propose optimal home appliance usage times based on the user's emotional state and calculate electricity charges based on the trading price at the power exchange.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、電力取引所の取引価格や家電の消費電力を基にして、使用時間に応じた電気料金を算出する機能を持つ装置またはプログラムである。 "Means for calculating electricity charges" refers to a device or program that has the function of calculating electricity charges according to usage time based on the trading price at the electricity exchange and the power consumption of home appliances.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用したい家電の種類や使用時間を入力するためのインターフェースを提供し、その情報を受信する装置またはプログラムである。 "Means for receiving home appliance usage information from users" refers to a device or program that provides an interface for users to input the type of home appliance they wish to use and the usage time, and receives that information.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報と電力取引所の取引価格を基にして、家電を使用する最適な時間帯を算出する機能を持つ装置またはプログラムである。 "Means for calculating optimal usage time periods" refers to a device or program that has the function of calculating the optimal time periods for using home appliances based on the received home appliance usage information and the trading price at the electricity exchange.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知または表示するための装置またはプログラムである。 "Means for making suggestions to users" refers to a device or program that notifies or displays to users the calculated optimal usage time and electricity charges.

「ユーザーの感情を認識する手段」とは、ユーザーの声や表情、行動などを解析し、ユーザーの感情状態を判断する機能を持つ装置またはプログラムである。 "Means for recognizing user emotions" refers to a device or program that has the function of analyzing the user's voice, facial expressions, behavior, etc., and determining the user's emotional state.

「感情に基づいて最適な家電の使用時間帯を提案する手段」とは、認識したユーザーの感情状態に応じて、最適な家電の使用時間帯を提案する機能を持つ装置またはプログラムである。 "Means for suggesting optimal times to use home appliances based on emotions" refers to a device or program that has the function of suggesting optimal times to use home appliances based on the recognized emotional state of the user.

この発明は、ユーザーが家電を使用する最適な時間帯とその際の電気料金を計算し、ユーザーに提案するシステムである。さらに、ユーザーの感情を認識し、その感情に応じた家電の使用時間帯を提案する機能も備えている。 This invention is a system that calculates the optimal time periods for users to use home appliances and the electricity charges for those times, and makes suggestions to the user. It also has a function that recognizes the user's emotions and suggests times for using home appliances based on those emotions.

使用するハードウェアとソフトウェア Hardware and software used

ハードウェア: サーバ、ユーザー端末(スマートフォン、タブレット、PCなど) Hardware: Servers, user devices (smartphones, tablets, PCs, etc.)

ソフトウェア: 感情認識エンジン、電力取引所データ取得API、生成AIモデル Software: Emotion recognition engine, power exchange data acquisition API, generative AI model

システムの具体的な動作 Specific system operation

1. ユーザーの入力 1. User input

ユーザーが端末を使用して、使用したい家電の種類と使用時間を入力する。 The user uses the device to enter the type of appliance they want to use and the usage time.

例: ユーザーが「エアコンを午後3時から6時まで使用する」と入力する。 Example: User enters "Use the air conditioner from 3pm to 6pm."

2. 電力取引所データの取得 2. Obtaining Power Exchange Data

サーバが電力取引所データ取得APIを呼び出し、指定された時間帯の電力取引価格を取得する。 The server calls the power exchange data acquisition API and obtains the power trading price for the specified time period.

例: サーバがAPIを使用して、午後3時から6時までの電力取引価格データを取得する。 Example: The server uses an API to retrieve electricity trading price data from 3:00 PM to 6:00 PM.

3. 電気料金の計算 3. Calculating your electricity bill

サーバが取得した電力取引価格に基づいて、指定された時間帯の電気料金を計算する。 The electricity charges for the specified time period are calculated based on the electricity trading price obtained by the server.

例: サーバがエアコンの消費電力と取得した電力取引価格を用いて、午後3時から6時までの電気料金を計算する。 Example: The server calculates the electricity bill from 3:00 PM to 6:00 PM using the air conditioner's power consumption and the acquired electricity trading price.

4. 感情認識 4. Emotion recognition

ユーザーの声や表情、行動を端末のカメラやマイクを通じて感情認識エンジンに入力し、ユーザーの感情を認識する。 The user's voice, facial expressions, and actions are input into the emotion recognition engine via the device's camera and microphone, and the user's emotions are recognized.

例: ユーザーが端末のカメラに向かって話しかけると、感情認識エンジンがユーザーの声のトーンや表情を解析し、ユーザーがストレスを感じていると判断する。 Example: When a user speaks into the device's camera, the emotion recognition engine analyzes the user's tone of voice and facial expressions and determines that the user is feeling stressed.

5. 最適な使用時間帯の提案 5. Optimal usage time suggestions

サーバが計算した電気料金とユーザーの感情に基づいて、最適な家電の使用時間帯を提案する。 The server suggests optimal times to use home appliances based on the electricity bill calculated by the server and the user's emotions.

例: サーバがユーザーがストレスを感じていると判断し、リラクゼーションに寄与する家電(例:マッサージチェア)の使用を提案する。 Example: The server determines that the user is feeling stressed and suggests using a home appliance that will promote relaxation (e.g., a massage chair).

6. ユーザーへの提示 6. Presentation to the user

サーバが計算結果と提案をユーザー端末に送信し、ユーザーに提示する。 The server sends the calculation results and suggestions to the user's device and presents them to the user.

例: サーバが計算した電気料金とリラクゼーション家電の使用提案をユーザーのスマートフォンに表示する。 Example: The server displays calculated electricity bills and suggestions for using relaxation appliances on the user's smartphone.

プロンプト文の例 Example prompt

「エアコンを午後3時から6時まで使用する場合の電気料金を計算し、ユーザーがストレスを感じている場合にリラクゼーションに寄与する家電の使用を提案してください。」 "Calculate the electricity cost if the air conditioner is used from 3:00 PM to 6:00 PM, and suggest appliances that will contribute to relaxation if the user is feeling stressed."

このようにして、システムはユーザーの入力と感情に基づいて最適な家電の使用時間帯と電気料金を提案することができる。実施例3における特定処理の流れについて図21を用いて説明する。 In this way, the system can suggest optimal times to use home appliances and electricity rates based on the user's input and emotions. The flow of the identification process in Example 3 will be explained using Figure 21.

ステップ1: Step 1:

ユーザーが端末を使用して、使用したい家電の種類と使用時間を入力する。 The user uses the device to enter the type of appliance they want to use and the usage time.

入力: ユーザーが家電の種類(例:エアコン)と使用時間(例:午後3時から6時まで)を入力する。 Input: The user enters the type of appliance (e.g., air conditioner) and usage time (e.g., 3:00 PM to 6:00 PM).

具体的な動作: ユーザーが端末のアプリを開き、家電の種類と使用時間を入力するフォームにアクセスし、必要な情報を入力する。 Specific operation: The user opens the app on their device, accesses a form to enter the type of appliance and usage time, and enters the required information.

出力: 入力された家電の種類と使用時間のデータがサーバに送信される。 Output: The entered data on the type of appliance and usage time is sent to the server.

ステップ2: Step 2:

サーバが電力取引所データ取得APIを呼び出し、指定された時間帯の電力取引価格を取得する。 The server calls the power exchange data acquisition API and obtains the power trading price for the specified time period.

入力: ユーザーが入力した使用時間(例:午後3時から6時まで)。 Input: The usage time entered by the user (e.g., 3:00 PM to 6:00 PM).

具体的な動作: サーバが電力取引所データ取得APIにリクエストを送信し、指定された時間帯の電力取引価格データを取得する。 Specific operation: The server sends a request to the power exchange data acquisition API to obtain power trading price data for the specified time period.

出力: 取得した電力取引価格データがサーバに保存される。 Output: The acquired electricity trading price data is saved on the server.

ステップ3: Step 3:

サーバが取得した電力取引価格に基づいて、指定された時間帯の電気料金を計算する。 The electricity charges for the specified time period are calculated based on the electricity trading price obtained by the server.

入力: 取得した電力取引価格データと家電の消費電力(例:エアコンの消費電力1.5kW)。 Input: Obtained electricity trading price data and the power consumption of the home appliance (e.g., 1.5kW power consumption of an air conditioner).

具体的な動作: サーバがエアコンの消費電力と取得した電力取引価格を用いて、午後3時から6時までの電気料金を計算する。 Specific operation: The server calculates the electricity bill from 3:00 PM to 6:00 PM using the air conditioner's power consumption and the acquired electricity trading price.

出力: 計算された電気料金(例:3時間×1.5kW×20円=90円)が得られる。 Output: The calculated electricity cost (e.g., 3 hours x 1.5kW x 20 yen = 90 yen) will be obtained.

ステップ4: Step 4:

ユーザーの声や表情、行動を端末のカメラやマイクを通じて感情認識エンジンに入力し、ユーザーの感情を認識する。 The user's voice, facial expressions, and actions are input into the emotion recognition engine via the device's camera and microphone, and the user's emotions are recognized.

入力: ユーザーの声や表情、行動のデータ。 Input: User voice, facial expression, and behavioral data.

具体的な動作: ユーザーが端末のカメラに向かって話しかけると、端末が音声と映像データを感情認識エンジンに送信する。 Specific operation: When the user speaks into the device's camera, the device sends audio and video data to the emotion recognition engine.

出力: 感情認識エンジンが解析した結果として、ユーザーの感情状態(例:ストレスを感じている)が得られる。 Output: The emotion recognition engine analyzes the user's emotional state (e.g., feeling stressed).

ステップ5: Step 5:

サーバが計算した電気料金とユーザーの感情に基づいて、最適な家電の使用時間帯を提案する。 The server suggests optimal times to use home appliances based on the electricity bill calculated by the server and the user's emotions.

入力: 計算された電気料金とユーザーの感情状態。 Input: Calculated electricity bill and user's emotional state.

具体的な動作: サーバがユーザーの感情データと電気料金データを統合し、リラクゼーションに寄与する家電(例:マッサージチェア)の使用を提案する。 Specific operation: The server integrates the user's emotional data and electricity bill data and suggests the use of home appliances that contribute to relaxation (e.g., a massage chair).

出力: 提案内容として、「午後3時から6時までのエアコン使用は90円かかりますが、ストレスを感じているため、マッサージチェアの使用をおすすめします」と表示される。 Output: The suggestion is displayed as "Using the air conditioner between 3:00 PM and 6:00 PM will cost 90 yen, but since you are feeling stressed, we recommend using the massage chair."

ステップ6: Step 6:

サーバが計算結果と提案をユーザー端末に送信し、ユーザーに提示する。 The server sends the calculation results and suggestions to the user's device and presents them to the user.

入力: 計算結果と提案内容。 Input: Calculation results and suggestions.

具体的な動作: サーバが計算結果と提案をユーザー端末に送信する。 Specific operation: The server sends the calculation results and suggestions to the user's device.

出力: ユーザーのスマートフォンに通知が届き、アプリを開くと提案内容が表示される。 Output: The user will receive a notification on their smartphone and the suggestions will be displayed when they open the app.

(応用例3) (Application Example 3)

次に、形態例3の応用例3について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ヘッドセット型端末314を「端末」と称する。 Next, we will explain Application Example 3 of Form Example 3. In the following explanation, the data processing device 12 will be referred to as the "server" and the headset-type terminal 314 will be referred to as the "terminal."

従来のエネルギー管理システムは、電力取引価格に基づいて電気料金を最適化することはできるが、ユーザーの感情に応じた最適な家電の使用時間帯を提案することはできなかった。また、実店舗においては、顧客の感情に応じた快適な環境を提供することが難しく、顧客満足度の向上が課題であった Conventional energy management systems can optimize electricity rates based on electricity trading prices, but they cannot suggest optimal times for using home appliances based on user emotions. Furthermore, in physical stores, it is difficult to provide a comfortable environment that reflects customer emotions, making improving customer satisfaction a challenge.

応用例3におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーの感情を認識する手段と、認識した感情に基づいて最適な家電の使用時間帯を提案する手段と、店舗内の家電の使用状況をリアルタイムで確認する手段と、顧客の感情に応じた最適な環境設定を行う手段と、を含む。これにより、電気料金の最適化とともに、ユーザーや顧客の感情に応じた最適な家電の使用時間帯の提案および快適な環境の提供が可能となる。 The specific processing by the specific processing unit 290 of the data processing device 12 in Application Example 3 is realized by the following means. In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from the user, means for calculating optimal usage times based on the received home appliance usage information, means for proposing the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions, means for proposing optimal home appliance usage times based on the recognized emotions, means for checking the usage status of home appliances in the store in real time, and means for optimal environmental settings according to the customer's emotions. This makes it possible to optimize electricity charges, propose optimal home appliance usage times according to the user's or customer's emotions, and provide a comfortable environment.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を計算するための装置またはソフトウェアである。 "Means for calculating electricity charges" means a device or software for calculating electricity charges based on a market-linked plan.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用したい家電の種類と使用時間を入力するためのインターフェースである。 "Means for receiving home appliance usage information from users" refers to an interface that allows users to input the type of home appliance they wish to use and the usage time.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報に基づいて、電力取引価格を考慮しながら最適な使用時間帯を計算する装置またはソフトウェアである。 "Means for calculating optimal usage time periods" refers to a device or software that calculates optimal usage time periods based on received home appliance usage information, taking into account electricity trading prices.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知するためのインターフェースである。 "Means for making suggestions to users" refers to an interface that notifies users of the calculated optimal usage time and electricity charges.

「ユーザーの感情を認識する手段」とは、ユーザーの声や表情、行動などから感情を解析するための装置またはソフトウェアである。 "Means for recognizing user emotions" refers to devices or software that analyze emotions from the user's voice, facial expressions, behavior, etc.

「感情に基づいて最適な家電の使用時間帯を提案する手段」とは、認識したユーザーの感情に応じて、最適な家電の使用時間帯を計算し提案する装置またはソフトウェアである。 "Means for suggesting optimal times to use home appliances based on emotions" refers to a device or software that calculates and suggests optimal times to use home appliances based on the user's recognized emotions.

「店舗内の家電の使用状況をリアルタイムで確認する手段」とは、店舗内の家電の使用状況をリアルタイムで監視し、管理者に通知するための装置またはソフトウェアである。 "Means for checking the usage status of home appliances within a store in real time" refers to a device or software that monitors the usage status of home appliances within a store in real time and notifies the manager.

「顧客の感情に応じた最適な環境設定を行う手段」とは、顧客の感情を解析し、それに基づいて店舗内の照明、空調、音楽などの環境設定を最適化する装置またはソフトウェアである。 "Means for optimal environmental settings according to customer emotions" refers to devices or software that analyze customer emotions and, based on that, optimize environmental settings such as lighting, air conditioning, and music in the store.

この発明を実施するための形態として、以下のシステム構成を説明する。 The following system configuration is described as an embodiment of this invention.

システム構成 System Configuration

1. ハードウェア: 1. Hardware:

スマートフォン(iOS/Android) Smartphone (iOS/Android)

スマート眼鏡(例: Google Glass) Smart glasses (e.g., Google Glass)

ヘッドマウントディスプレイ(例: Oculus Rift) Head-mounted display (e.g., Oculus Rift)

ロボット(例: Pepper) Robots (e.g., Pepper)

2. ソフトウェア: 2. Software:

顔認識API(例: Microsoft Azure Face API) Facial recognition API (e.g., Microsoft Azure Face API)

感情認識API(例: Affectiva) Emotion recognition API (e.g. Affectiva)

電力取引価格API(例: EPEX SPOT API) Electricity trading price API (e.g., EPEX SPOT API)

データベース(例: Firebase) Database (e.g., Firebase)

プログラムの処理 Program processing

サーバは、まずユーザーからの家電使用情報を受け取る。ユーザーがスマートフォンアプリを通じて、使用したい家電の種類と使用時間を入力する。次に、サーバは電力取引価格APIを利用して、リアルタイムの電力価格を取得する。これに基づいて、最適な使用時間帯と電気料金を計算し、ユーザーに提案する。 The server first receives information about home appliance usage from the user. The user enters the type of appliance they wish to use and the usage time via a smartphone app. The server then uses an electricity trading price API to obtain real-time electricity prices. Based on this, the server calculates the optimal usage time and electricity rates and makes suggestions to the user.

さらに、サーバはユーザーの感情を認識するために、顔認識APIと感情認識APIを使用する。スマート眼鏡やヘッドマウントディスプレイ、ロボットがユーザーの表情や声をキャプチャし、これをサーバに送信する。サーバはこれらのデータを解析し、ユーザーの感情を認識する。 Furthermore, the server uses facial recognition APIs and emotion recognition APIs to recognize the user's emotions. Smart glasses, head-mounted displays, and robots capture the user's facial expressions and voice and send them to the server. The server analyzes this data and recognizes the user's emotions.

認識した感情に基づいて、サーバは最適な家電の使用時間帯を再計算し、ユーザーに提案する。例えば、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例: マッサージチェアやアロマディフューザー)の使用を提案する。 Based on the recognized emotions, the server recalculates the optimal times to use home appliances and suggests them to the user. For example, if the user is feeling stressed, it will suggest using home appliances that contribute to relaxation (e.g., a massage chair or aroma diffuser).

具体例 Specific examples

具体例として、実店舗におけるエネルギー管理システムを考える。店舗管理者がスマートフォンアプリを使用して、店舗内の家電の使用状況や電気料金の最適化情報をリアルタイムで確認する。スマート眼鏡を装着した店舗スタッフが顧客の表情を分析し、顧客がリラックスしている場合、店舗内の照明を暖色系に変更し、リラクゼーション音楽を再生する。 As a concrete example, consider an energy management system in a physical store. The store manager uses a smartphone app to check the usage status of home appliances in the store and electricity bill optimization information in real time. Store staff wearing smart glasses analyze customers' facial expressions, and if the customer appears relaxed, change the lighting in the store to warm colors and play relaxation music.

プロンプト文の例 Example prompt

顧客の表情データを入力し、感情を認識してください。次に、電力取引価格APIから現在の電力価格を取得し、顧客の感情に応じた最適な家電の使用時間帯を計算してください。計算結果をスマートフォンアプリ、スマート眼鏡、ヘッドマウントディスプレイ、ロボットに表示してください。 Enter customer facial expression data and recognize their emotions. Then, retrieve the current electricity price from the electricity trading price API and calculate the optimal time to use home appliances based on the customer's emotions. Display the calculation results on a smartphone app, smart glasses, a head-mounted display, or a robot.

このようにして、電気料金の最適化とともに、ユーザーや顧客の感情に応じた最適な家電の使用時間帯の提案および快適な環境の提供が可能となる。 In this way, it is possible to optimize electricity rates, suggest optimal times to use home appliances based on the emotions of users and customers, and provide a comfortable environment.

応用例3における特定処理の流れについて図22を用いて説明する。 The flow of the specific processing in Application Example 3 will be explained using Figure 22.

ステップ1: Step 1:

ユーザがスマートフォンアプリを使用して、使用したい家電の種類と使用時間を入力する。入力された情報は、家電の種類と使用時間である。これらの情報はサーバに送信される。 The user uses a smartphone app to input the type of appliance they wish to use and the amount of time they will be using it. The information entered is the type of appliance and the amount of time it will be used. This information is then sent to the server.

ステップ2: Step 2:

サーバは、電力取引価格APIを利用して、リアルタイムの電力価格を取得する。入力は現在の時刻であり、出力はその時刻に対応する電力価格である。サーバはこのデータを基に、家電の使用時間帯における電気料金を計算する。 The server uses the electricity trading price API to obtain real-time electricity prices. The input is the current time, and the output is the electricity price corresponding to that time. Based on this data, the server calculates the electricity charges for the appliances' usage times.

ステップ3: Step 3:

サーバは、計算した最適な使用時間帯と電気料金をユーザに提案する。提案内容は、最適な使用時間帯とその時間帯における電気料金である。これらの情報はスマートフォンアプリに表示される。 The server then proposes the calculated optimal usage time and electricity rates to the user. The proposal includes the optimal usage time and the electricity rate for that time. This information is displayed on the smartphone app.

ステップ4: Step 4:

ユーザがスマート眼鏡やヘッドマウントディスプレイ、ロボットを使用している場合、これらのデバイスがユーザの表情や声をキャプチャする。入力はユーザの表情データや音声データであり、これらのデータはサーバに送信される。 When a user uses smart glasses, a head-mounted display, or a robot, these devices capture the user's facial expressions and voice. The input is the user's facial expression data and voice data, which are sent to the server.

ステップ5: Step 5:

サーバは、顔認識APIと感情認識APIを使用して、ユーザの感情を解析する。入力は表情データや音声データであり、出力は解析された感情データである。サーバはこのデータを基に、ユーザの感情を認識する。 The server uses a facial recognition API and an emotion recognition API to analyze the user's emotions. The input is facial expression data and voice data, and the output is analyzed emotion data. The server recognizes the user's emotions based on this data.

ステップ6: Step 6:

サーバは、認識した感情に基づいて、最適な家電の使用時間帯を再計算する。入力は感情データと家電使用情報であり、出力は感情に応じた最適な使用時間帯である。例えば、ユーザがストレスを感じている場合、リラクゼーションに寄与する家電の使用を提案する。 The server recalculates the optimal time periods for using home appliances based on the recognized emotions. The input is emotion data and appliance usage information, and the output is the optimal usage time periods based on the emotion. For example, if the user is feeling stressed, it will suggest using appliances that will contribute to relaxation.

ステップ7: Step 7:

サーバは、再計算した最適な使用時間帯と電気料金をユーザに提案する。提案内容は、感情に応じた最適な使用時間帯とその時間帯における電気料金である。これらの情報はスマートフォンアプリ、スマート眼鏡、ヘッドマウントディスプレイ、ロボットに表示される。 The server then proposes the recalculated optimal usage times and electricity rates to the user. The proposals include the optimal usage times based on the user's emotions and the electricity rates for those times. This information is displayed on a smartphone app, smart glasses, a head-mounted display, and a robot.

ステップ8: Step 8:

店舗内の家電の使用状況をリアルタイムで確認するために、サーバはデータベースを使用して家電の使用状況を監視する。入力は家電の使用データであり、出力はリアルタイムの使用状況である。これにより、店舗管理者はスマートフォンアプリを通じて家電の使用状況を確認できる。 To check the usage status of home appliances in the store in real time, the server uses a database to monitor the usage status of home appliances. The input is the usage data of the appliances, and the output is the real-time usage status. This allows store managers to check the usage status of home appliances through a smartphone app.

ステップ9: Step 9:

顧客の感情に応じた最適な環境設定を行うために、サーバは照明、空調、音楽などの環境設定を最適化する。入力は顧客の感情データであり、出力は最適化された環境設定である。例えば、顧客がリラックスしている場合、照明を暖色系に変更し、リラクゼーション音楽を再生する。 The server optimizes environmental settings such as lighting, air conditioning, and music to provide optimal environmental settings according to the customer's emotions. The input is the customer's emotional data, and the output is the optimized environmental settings. For example, if the customer is relaxing, the lighting is changed to warm colors and relaxation music is played.

以上のステップにより、電気料金の最適化とともに、ユーザや顧客の感情に応じた最適な家電の使用時間帯の提案および快適な環境の提供が可能となる。 These steps will not only optimize electricity rates, but also suggest optimal times to use home appliances based on the emotions of users and customers, and provide a comfortable environment.

特定処理部290は、特定処理の結果をヘッドセット型端末314に送信する。ヘッドセット型端末314では、制御部46Aが、スピーカ240及びディスプレイ343に対して特定処理の結果を出力させる。マイクロフォン238は、特定処理の結果に対するユーザ入力を示す音声を取得する。制御部46Aは、マイクロフォン238によって取得されたユーザ入力を示す音声データをデータ処理装置12に送信する。データ処理装置12では、特定処理部290が音声データを取得する。 The specific processing unit 290 transmits the results of the specific processing to the headset terminal 314. In the headset terminal 314, the control unit 46A causes the speaker 240 and display 343 to output the results of the specific processing. The microphone 238 acquires audio indicating the user input regarding the results of the specific processing. The control unit 46A transmits audio data indicating the user input acquired by the microphone 238 to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the audio data.

データ生成モデル58は、いわゆる生成AI(Artificial Intelligence)である。データ生成モデル58の一例としては、ChatGPT(インターネット検索<URL: https://openai.com/blog/chatgpt>)等の生成AIが挙げられる。データ生成モデル58は、ニューラルネットワークに対して深層学習を行わせることによって得られる。データ生成モデル58には、指示を含むプロンプトが入力され、かつ、音声を示す音声データ、テキストを示すテキストデータ、及び画像を示す画像データ等の推論用データが入力される。データ生成モデル58は、入力された推論用データをプロンプトにより示される指示に従って推論し、推論結果を音声データ及びテキストデータ等のデータ形式で出力する。ここで、推論とは、例えば、分析、分類、予測、及び/又は要約等を指す。 Data generation model 58 is what is known as generative AI (artificial intelligence). An example of data generation model 58 is generative AI such as ChatGPT (Internet search <URL: https://openai.com/blog/chatgpt>). Data generation model 58 is obtained by performing deep learning on a neural network. A prompt containing an instruction is input to data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. Data generation model 58 performs inference on the input inference data in accordance with the instructions indicated by the prompt, and outputs the inference results in the form of data such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and/or summarization.

生成AIの他の例としては、Gemini(インターネット検索<URL: https://gemini.google.com/?hl=ja>)が挙げられる。 Another example of generative AI is Gemini (Internet search <URL: https://gemini.google.com/?hl=ja>).

上記実施形態では、データ処理装置12によって特定処理が行われる形態例を挙げたが、本開示の技術はこれに限定されず、ヘッドセット型端末314によって特定処理が行われるようにしてもよい。 In the above embodiment, an example was given in which the specific processing was performed by the data processing device 12, but the technology disclosed herein is not limited to this, and the specific processing may also be performed by the headset-type terminal 314.

[第4実施形態] [Fourth embodiment]

図7には、第4実施形態に係るデータ処理システム410の構成の一例が示されている。 Figure 7 shows an example of the configuration of a data processing system 410 according to the fourth embodiment.

図7に示すように、データ処理システム410は、データ処理装置12及びロボット414を備えている。データ処理装置12の一例としては、サーバが挙げられる。 As shown in FIG. 7, the data processing system 410 includes a data processing device 12 and a robot 414. An example of the data processing device 12 is a server.

データ処理装置12は、コンピュータ22、データベース24、及び通信I/F26を The data processing device 12 includes a computer 22, a database 24, and a communication I/F 26.

備えている。コンピュータ22は、本開示の技術に係る「コンピュータ」の一例である。コンピュータ22は、プロセッサ28、RAM30、及びストレージ32を備えている。プロセッサ28、RAM30、及びストレージ32は、バス34に接続されている。また、データベース24及び通信I/F26も、バス34に接続されている。通信I/F26は、ネットワーク54に接続されている。ネットワーク54の一例としては、WAN(Wide Area Network)及び/又はLAN(Local Area Network)等が挙げられる。 Computer 22 is an example of a "computer" according to the technology of the present disclosure. Computer 22 is equipped with a processor 28, RAM 30, and storage 32. Processor 28, RAM 30, and storage 32 are connected to bus 34. Database 24 and communication I/F 26 are also connected to bus 34. Communication I/F 26 is connected to network 54. Examples of network 54 include a WAN (Wide Area Network) and/or a LAN (Local Area Network).

ロボット414は、コンピュータ36、マイクロフォン238、スピーカ240、カメラ42、通信I/F44、及び制御対象443を備えている。コンピュータ36は、プロセッサ46、RAM48、及びストレージ50を備えている。プロセッサ46、RAM48、及びストレージ50は、バス52に接続されている。また、マイクロフォン238、スピーカ240、カメラ42、及び制御対象443も、バス52に接続されている。 The robot 414 includes a computer 36, a microphone 238, a speaker 240, a camera 42, a communication I/F 44, and a control target 443. The computer 36 includes a processor 46, RAM 48, and storage 50. The processor 46, RAM 48, and storage 50 are connected to a bus 52. The microphone 238, speaker 240, camera 42, and control target 443 are also connected to the bus 52.

マイクロフォン238は、ユーザ20が発する音声を受け付けることで、ユーザ20から指示等を受け付ける。マイクロフォン238は、ユーザ20が発する音声を捕捉し、捕捉した音声を音声データに変換してプロセッサ46に出力する。スピーカ240は、プロセッサ46からの指示に従って音声を出力する。 The microphone 238 receives instructions and the like from the user 20 by receiving voice uttered by the user 20. The microphone 238 captures the voice uttered by the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio in accordance with instructions from the processor 46.

カメラ42は、レンズ、絞り、及びシャッタ等の光学系と、CMOS(Complementary Metal-Oxide-Semiconductor)イメージセンサ又はCCD(Charge Coupled Device)イメージセンサ等の撮像素子とが搭載された小型デジタルカメラであり、ユーザ20の周囲(例えば、一般的な健常者の視界の広さに相当する画角で規定された撮像範囲)を撮像する。 Camera 42 is a small digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and captures images of the user 20's surroundings (e.g., an imaging range defined by an angle of view equivalent to the field of vision of a typical healthy person).

通信I/F44は、ネットワーク54に接続されている。通信I/F44及び26は、ネットワーク54を介してプロセッサ46とプロセッサ28との間の各種情報の授受を司る。通信I/F44及び26を用いたプロセッサ46とプロセッサ28との間の各種情報の授受はセキュアな状態で行われる。 The communication I/F 44 is connected to the network 54. The communication I/Fs 44 and 26 are responsible for the exchange of various information between the processor 46 and the processor 28 via the network 54. The exchange of various information between the processor 46 and the processor 28 using the communication I/Fs 44 and 26 is carried out in a secure manner.

制御対象443は、表示装置、目部のLED、並びに、腕、手及び足等を駆動するモータ等を含む。ロボット414の姿勢や仕草は、腕、手及び足等のモータを制御することにより制御される。ロボット414の感情の一部は、これらのモータを制御することにより表現できる。また、ロボット414の目部のLEDの発光状態を制御することによっても、ロボット414の表情を表現できる。 The control object 443 includes a display device, LEDs in the eyes, and motors that drive the arms, hands, and feet. The posture and gestures of the robot 414 are controlled by controlling the motors of the arms, hands, and feet. Some of the emotions of the robot 414 can be expressed by controlling these motors. In addition, the facial expressions of the robot 414 can also be expressed by controlling the light emission state of the LEDs in the eyes of the robot 414.

図8には、データ処理装置12及びロボット414の要部機能の一例が示されている。図8に示すように、データ処理装置12では、プロセッサ28によって特定処理が行われる。ストレージ32には、特定処理プログラム56が格納されている。 Figure 8 shows an example of the main functions of the data processing device 12 and the robot 414. As shown in Figure 8, in the data processing device 12, specific processing is performed by the processor 28. A specific processing program 56 is stored in the storage 32.

特定処理プログラム56は、本開示の技術に係る「プログラム」の一例である。プロセッサ28は、ストレージ32から特定処理プログラム56を読み出し、読み出した特定処理プログラム56をRAM30上で実行する。特定処理は、プロセッサ28がRAM30上で実行する特定処理プログラム56に従って、特定処理部290として動作することによって実現される。 The specific processing program 56 is an example of a "program" according to the technology of the present disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as the specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.

ストレージ32には、データ生成モデル58及び感情特定モデル59が格納されている。データ生成モデル58及び感情特定モデル59は、特定処理部290によって用いられる。 Storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.

ロボット414では、プロセッサ46によって受付出力処理が行われる。ストレージ5 In the robot 414, the processor 46 performs reception and output processing. Storage 5

0には、受付出力プログラム60が格納されている。プロセッサ46は、ストレージ50から受付出力プログラム60を読み出し、読み出した受付出力プログラム60をRAM48上で実行する。受付出力処理は、プロセッサ46がRAM48上で実行する受付出力プログラム60に従って、制御部46Aとして動作することによって実現される。 0 stores a reception output program 60. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.

次に、データ処理装置12の特定処理部290による特定処理について説明する。 Next, we will explain the identification process performed by the identification processing unit 290 of the data processing device 12.

「形態例1」 "Example 1"

本発明の形態は、市場連動型プランに基づく電気料金を計算するシステムである。このシステムは、電力取引所の取引価格情報を取得し、それに基づいて電気料金を計算する。具体的には、取引価格情報を基に電気料金の単価を算出し、それを用いて電気料金を計算する。 One aspect of the present invention is a system for calculating electricity rates based on a market-linked plan. This system acquires trading price information from the power exchange and calculates electricity rates based on that information. Specifically, it calculates the unit price of electricity based on the trading price information and uses that to calculate electricity rates.

「形態例2」 "Example 2"

また、本発明の形態は、ユーザーからの家電使用情報を受け取るシステムである。このシステムは、ユーザーからの入力情報を受け取り、それを基に家電の使用時間帯を計算する。具体的には、ユーザーから使用したい家電の種類と使用時間を入力してもらい、それを基に最適な使用時間帯を計算する。 Another aspect of the present invention is a system that receives home appliance usage information from a user. This system receives input information from the user and calculates the usage time periods for the home appliances based on that information. Specifically, the system has the user input the type of home appliance they wish to use and the usage time, and calculates the optimal usage time period based on that information.

「形態例3」 "Example 3"

さらに、本発明の形態は、計算した最適な使用時間帯と電気料金をユーザーに提案するシステムである。このシステムは、計算した最適な使用時間帯と電気料金をユーザーに提示し、ユーザーが電気料金を抑えるための参考情報とする。具体的には、ユーザーが使用したい家電の種類と使用時間を入力した場合、例えば「エアコンを午後3時から6時まで使用する」とした場合、その時間帯の電力取引所の取引価格に基づいて計算した電気料金を提示する。 Another aspect of the present invention is a system that proposes the calculated optimal usage time periods and electricity rates to users. This system presents the calculated optimal usage time periods and electricity rates to users, and uses them as reference information for reducing electricity bills. Specifically, when a user inputs the type of home appliance they wish to use and the usage time, for example, "I will use the air conditioner from 3:00 PM to 6:00 PM," the system presents them with an electricity rate calculated based on the trading price at the power exchange for that time period.

以下に、各形態例の処理の流れについて説明する。 The processing flow for each example form is explained below.

「形態例1」 "Example 1"

ステップ1:電力取引所から取引価格情報を取得する。 Step 1: Obtain trading price information from the power exchange.

ステップ2:取得した取引価格情報を基に電気料金の単価を算出する。 Step 2: Calculate the unit price of electricity based on the acquired transaction price information.

ステップ3:算出した電気料金の単価を用いて電気料金を計算する。 Step 3: Calculate the electricity bill using the calculated unit price of electricity.

「形態例2」 "Example 2"

ステップ1:ユーザーから使用したい家電の種類と使用時間の入力を受け取る。 Step 1: Receive input from the user about the type of appliance they wish to use and the usage time.

ステップ2:受け取った入力情報を基に最適な使用時間帯を計算する。 Step 2: Calculate the optimal usage time based on the received input information.

「形態例3」 "Example 3"

ステップ1:ユーザーが使用したい家電の種類と使用時間を入力する。 Step 1: The user enters the type of appliance they want to use and the usage time.

ステップ2:その時間帯の電力取引所の取引価格に基づいて電気料金を計算する。 Step 2: Calculate the electricity bill based on the trading price on the power exchange for that time period.

ステップ3:計算した電気料金をユーザーに提示する。 Step 3: Present the calculated electricity bill to the user.

(実施例1) (Example 1)

次に、形態例1の実施例1について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ロボット414を「端末」と称する。 Next, Example 1 of Form Example 1 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the robot 414 will be referred to as the "terminal."

従来の電気料金計算システムでは、電力取引所の取引価格情報をリアルタイムで反映させることが難しく、ユーザに対して最適な電気料金を提供することができなかった。また、ユーザの家電使用情報に基づいて最適な使用時間帯を提案する機能が不足しており、ユーザが効率的に電力を使用することが困難であった Conventional electricity rate calculation systems struggled to reflect real-time trading price information from the power exchange, making it impossible to provide users with optimal electricity rates. Furthermore, they lacked functionality for suggesting optimal usage times based on users' appliance usage information, making it difficult for users to use electricity efficiently.

実施例1におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 1 is realized by the following means.

この発明では、サーバは、電力取引所から取引価格情報を取得する手段と、取得した取引価格情報をデータベースに保存する手段と、保存された取引価格情報を基に電気料金の単価を算出する手段と、算出した電気料金の単価を用いてユーザの電気料金を計算する手段と、ユーザからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザに提案する手段を含む。これにより、リアルタイムで取引価格情報を反映させた電気料金の計算が可能となり、さらにユーザに対して最適な使用時間帯を提案することで、効率的な電力使用が可能となる。 In this invention, the server includes means for acquiring trading price information from the power exchange, means for saving the acquired trading price information in a database, means for calculating the unit price of electricity based on the saved trading price information, means for calculating the user's electricity bill using the calculated unit price of electricity, means for receiving home appliance usage information from the user, means for calculating the optimal usage time period based on the received home appliance usage information, and means for proposing the calculated optimal usage time period and electricity bill to the user. This makes it possible to calculate electricity bills that reflect trading price information in real time, and furthermore, by proposing the optimal usage time period to the user, efficient power use is possible.

「電力取引所」とは、電力の売買が行われる市場であり、取引価格情報を提供する機関である。 An "electricity exchange" is a market where electricity is bought and sold, and an institution that provides trading price information.

「取引価格情報」とは、電力取引所において取引される電力の価格に関する情報である。 "Trading price information" refers to information regarding the price of electricity traded at the power exchange.

「データベース」とは、データを効率的に保存、管理、検索するためのシステムである。 A "database" is a system for efficiently storing, managing, and searching data.

「電気料金の単価」とは、一定量の電力に対して設定される料金の単位価格である。 "Electricity unit price" is the unit price set for a certain amount of electricity.

「ユーザ」とは、電力を消費する個人または法人であり、このシステムを利用する主体である。 "User" refers to an individual or corporation that consumes electricity and is the entity that uses this system.

「家電使用情報」とは、ユーザが使用する家電の種類や使用時間に関する情報である。 "Home appliance usage information" refers to information about the types of home appliances used by users and the duration of use.

「最適な使用時間帯」とは、電力消費を効率的に行うために推奨される時間帯である。 "Optimal usage times" are the recommended times for efficient power consumption.

「提案する手段」とは、計算した最適な使用時間帯や電気料金をユーザに通知するための方法や装置である。 "Proposal means" refers to a method or device for notifying the user of the calculated optimal usage time period and electricity charges.

発明を実施するための形態 Form for implementing the invention

この発明は、市場連動型プランに基づく電気料金を計算するシステムであり、電力取引所の取引価格情報を取得し、それに基づいて電気料金を計算するものである。以下に、このシステムの具体的な実施形態を説明する。 This invention is a system for calculating electricity rates based on a market-linked plan, which acquires trading price information from the power exchange and calculates electricity rates based on that information. A specific embodiment of this system is described below.

使用するハードウェアおよびソフトウェア Hardware and software used

1. サーバ 1. Server

ハードウェア:一般的なサーバ機器 Hardware: General server equipment

ソフトウェア:APIクライアント、データベース管理システム(例:MySQL、PostgreSQL)、スクリプト言語(例:Python、JavaScript) Software: API clients, database management systems (e.g., MySQL, PostgreSQL), scripting languages (e.g., Python, JavaScript)

2. 端末 2. Device

ハードウェア:ユーザが使用するコンピュータやスマートフォン Hardware: The computer or smartphone used by the user

ソフトウェア:ウェブブラウザ、モバイルアプリケーション Software: Web browser, mobile application

3. ユーザ 3. User

ユーザは、電力を消費する個人または法人であり、このシステムを利用する主体である。 Users are individuals or corporations that consume electricity and are the entities that use this system.

プログラムの処理の説明 Program processing explanation

1. 取引価格情報の取得 1. Obtaining trading price information

サーバは、電力取引所のAPIにリクエストを送信し、最新の取引価格情報を取得する。 The server sends a request to the power exchange's API to obtain the latest trading price information.

具体的な動作:サーバは、HTTP GETリクエストを電力取引所のAPIエンドポイントに送信し、JSON形式の取引価格情報を受信する。 Specific operation: The server sends an HTTP GET request to the power exchange's API endpoint and receives trading price information in JSON format.

2. 取引価格情報の保存 2. Saving transaction price information

サーバは、取得した取引価格情報をデータベースに保存する。 The server stores the acquired trading price information in a database.

具体的な動作:サーバは、受信したJSONデータを解析し、MySQLデータベースの対応するテーブルにインサートクエリを実行する。 Specific operation: The server parses the received JSON data and executes an insert query into the corresponding table in the MySQL database.

3. 電気料金単価の算出 3. Calculating electricity unit prices

サーバは、保存された取引価格情報を基に電気料金の単価を算出する。 The server calculates the unit price of electricity based on the stored transaction price information.

具体的な動作:サーバは、Pythonスクリプトを実行し、データベースから取引価格情報を取得して、特定のアルゴリズムに基づいて電気料金の単価を計算する。 Specific operation: The server runs a Python script, retrieves trading price information from the database, and calculates the unit price of electricity based on a specific algorithm.

4. ユーザの電気料金の計算 4. Calculating the user's electricity bill

サーバは、算出した電気料金の単価を用いて、ユーザの電気料金を計算する。 The server calculates the user's electricity bill using the calculated electricity unit price.

具体的な動作:サーバは、ユーザの消費電力量データをデータベースから取得し、算出した単価と掛け合わせて電気料金を計算する。 Specific operation: The server retrieves the user's power consumption data from the database and multiplies it by the calculated unit price to calculate the electricity bill.

5. 家電使用情報の受け取り 5. Receiving appliance usage information

サーバは、ユーザからの家電使用情報を受け取る。 The server receives home appliance usage information from the user.

具体的な動作:ユーザは、ウェブブラウザやモバイルアプリケーションを通じて、使用したい家電の種類や使用時間を入力し、サーバに送信する。 Specific operation: The user enters the type of home appliance they wish to use and the usage time via a web browser or mobile application, and sends this information to the server.

6. 最適な使用時間帯の計算 6. Calculating the optimal usage time

サーバは、受け取った家電使用情報に基づき最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the received appliance usage information.

具体的な動作:サーバは、電気料金の単価と家電使用情報を基に、最適な使用時間帯を計算するアルゴリズムを実行する。 Specific operation: The server runs an algorithm to calculate the optimal usage time based on the electricity rate and appliance usage information.

7. 提案の通知 7. Proposal Notification

サーバは、計算した最適な使用時間帯と電気料金をユーザに提案する。 The server then proposes the optimal usage time and electricity rates to the user.

具体的な動作:サーバは、計算結果をユーザの端末に通知し、ユーザはウェブブラウザやモバイルアプリケーションを通じて提案を確認する。 Specific operation: The server notifies the user's device of the calculation results, and the user confirms the proposal through a web browser or mobile application.

具体例とプロンプト文 Examples and prompts

1. サーバは、電力取引所のAPIから「2023-10-01」の取引価格情報を取得する。 1. The server obtains trading price information for "2023-10-01" from the power exchange API.

2. サーバは、取得した取引価格情報をMySQLデータベースに保存する。 2. The server stores the acquired trading price information in a MySQL database.

3. サーバは、Pythonスクリプトを用いて、取引価格情報から「2023-10-01」の電気料金の単価を算出する。 3. The server uses a Python script to calculate the electricity rate for "2023-10-01" from the trading price information.

4. サーバは、ユーザの消費電力量データ(例:100kWh)と算出した単価(例:10円/kWh)を用いて、ユーザの電気料金(例:1000円)を計算する。 4. The server calculates the user's electricity bill (e.g., 1,000 yen) using the user's power consumption data (e.g., 100 kWh) and the calculated unit price (e.g., 10 yen/kWh).

プロンプト文の例 Example prompt

「電力取引所のAPIから最新の取引価格情報を取得し、それをMySQLデータベースに保存してください。その後、Pythonスクリプトを用いて電気料金の単価を算出し、ユーザの消費電力量データを基に電気料金を計算してください。」 "Get the latest trading price information from the power exchange's API and save it in a MySQL database. Then, use a Python script to calculate the electricity rate and calculate the electricity bill based on the user's power consumption data."

実施例1における特定処理の流れについて図11を用いて説明する。 The flow of the identification process in Example 1 will be explained using Figure 11.

ステップ1: Step 1:

取引価格情報の取得 Get trading price information

サーバは、電力取引所のAPIにリクエストを送信し、最新の取引価格情報を取得する。 The server sends a request to the power exchange's API to obtain the latest trading price information.

入力:電力取引所のAPIエンドポイントURL Input: Power exchange API endpoint URL

出力:JSON形式の取引価格情報 Output: Transaction price information in JSON format

具体的な動作:サーバは、HTTP GETリクエストを電力取引所のAPIエンドポイントに送信し、レスポンスとしてJSON形式の取引価格情報を受信する。例えば、requestsライブラリを使用して、https://api.electricity-market.com/pricesにリクエストを送信する。 Specific operation: The server sends an HTTP GET request to the power exchange's API endpoint and receives JSON-formatted trading price information in response. For example, use the requests library to send a request to https://api.electricity-market.com/prices.

ステップ2: Step 2:

取引価格情報の保存 Storing transaction price information

サーバは、取得した取引価格情報をデータベースに保存する。 The server stores the acquired trading price information in a database.

入力:JSON形式の取引価格情報 Input: Transaction price information in JSON format

出力:データベースに保存された取引価格情報 Output: Transaction price information stored in the database

具体的な動作:サーバは、受信したJSONデータを解析し、必要なフィールド(例:日時、価格)を抽出する。次に、pymysqlライブラリを使用して、MySQLデータベースに接続し、INSERT INTO prices (datetime, price) VALUES ('2023-10-01 00:00:00', 10.5)のようなクエリを実行する。 Specific behavior: The server parses the received JSON data and extracts the necessary fields (e.g., datetime, price). Then, using the pymysql library, it connects to a MySQL database and executes a query such as INSERT INTO prices (datetime, price) VALUES ('2023-10-01 00:00:00', 10.5).

ステップ3: Step 3:

電気料金単価の算出 Calculating electricity unit prices

サーバは、保存された取引価格情報を基に電気料金の単価を算出する。 The server calculates the unit price of electricity based on the stored transaction price information.

入力:データベースに保存された取引価格情報 Input: Trading price information stored in the database

出力:算出された電気料金の単価 Output: Calculated electricity unit price

具体的な動作:サーバは、Pythonスクリプトを実行し、データベースから取引価格情報を取得する。例えば、pymysqlライブラリを使用して、SELECT price FROM prices WHERE datetime = '2023-10-01 00:00:00'のようなクエリを実行し、取得した価格情報を基に特定のアルゴリズム(例:平均値、加重平均)で電気料金の単価を計算する。 Specific operation: The server executes a Python script to obtain trading price information from the database. For example, using the pymysql library, it executes a query such as SELECT price FROM prices WHERE datetime = '2023-10-01 00:00:00', and calculates the electricity price using a specific algorithm (e.g., average, weighted average) based on the obtained price information.

ステップ4: Step 4:

ユーザの電気料金の計算 Calculating your electricity bill

サーバは、算出した電気料金の単価を用いて、ユーザの電気料金を計算する。 The server calculates the user's electricity bill using the calculated electricity unit price.

入力:ユーザの消費電力量データ、算出された電気料金の単価 Input: User power consumption data, calculated electricity rate

出力:計算されたユーザの電気料金 Output: Calculated user electricity bill

具体的な動作:サーバは、ユーザの消費電力量データをデータベースから取得する。例えば、pymysqlライブラリを使用して、SELECT consumption FROM user_data WHERE user_id = 1のようなクエリを実行し、取得した消費電力量データ(例:100kWh)と算出した単価(例:10円/kWh)を掛け合わせて、ユーザの電気料金(例:1000円)を計算する。 Specific operation: The server retrieves the user's power consumption data from the database. For example, using the pymysql library, it executes a query such as SELECT consumption FROM user_data WHERE user_id = 1, multiplies the retrieved power consumption data (e.g., 100kWh) by the calculated unit price (e.g., 10 yen/kWh), and calculates the user's electricity bill (e.g., 1,000 yen).

ステップ5: Step 5:

家電使用情報の受け取り Receive appliance usage information

サーバは、ユーザからの家電使用情報を受け取る。 The server receives home appliance usage information from the user.

入力:ユーザが入力した家電使用情報(家電の種類、使用時間) Input: Appliance usage information entered by the user (type of appliance, usage time)

出力:サーバに保存された家電使用情報 Output: Appliance usage information stored on the server

具体的な動作:ユーザは、ウェブブラウザやモバイルアプリケーションを通じて、使用したい家電の種類や使用時間を入力し、サーバに送信する。サーバは、受信した情報をデータベースに保存する。 Specific operation: The user enters the type of home appliance they want to use and the usage time via a web browser or mobile application, and sends this information to the server. The server then stores the received information in a database.

ステップ6: Step 6:

最適な使用時間帯の計算 Calculating the best time to use

サーバは、受け取った家電使用情報に基づき最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the received appliance usage information.

入力:家電使用情報、電気料金の単価 Input: Appliance usage information, electricity unit price

出力:最適な使用時間帯 Output: Optimal usage time

具体的な動作:サーバは、電気料金の単価と家電使用情報を基に、最適な使用時間帯を計算するアルゴリズムを実行する。例えば、ピーク時間帯を避けるように計算する。 Specific operation: The server runs an algorithm to calculate the optimal usage time based on the electricity rate and appliance usage information. For example, it calculates the optimal usage time to avoid peak hours.

ステップ7: Step 7:

提案の通知 Proposal Notification

サーバは、計算した最適な使用時間帯と電気料金をユーザに提案する。 The server then proposes the optimal usage time and electricity rates to the user.

入力:最適な使用時間帯、計算された電気料金 Input: Optimal usage time, calculated electricity rate

出力:ユーザへの通知 Output: User notification

具体的な動作:サーバは、計算結果をユーザの端末に通知し、ユーザはウェブブラウザやモバイルアプリケーションを通じて提案を確認する。例えば、プッシュ通知やメールを送信する。 Specific operation: The server notifies the user's device of the calculation results, and the user confirms the proposal through a web browser or mobile application. For example, a push notification or email is sent.

(応用例1) (Application Example 1)

次に、形態例1の応用例1について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ロボット414を「端末」と称する。 Next, we will explain Application Example 1 of Form Example 1. In the following explanation, the data processing device 12 will be referred to as the "server" and the robot 414 will be referred to as the "terminal."

従来の市場連動型プランに基づく電気料金計算システムは、ユーザーの家電使用情報に基づいて最適な使用時間帯を提案するだけであり、リアルタイムでの電力消費の最適化が行われていなかった。そのため、電力取引所の取引価格情報をリアルタイムで取得し、電力消費を最適化することで、電力コストをさらに削減することが求められている Conventional electricity billing systems based on market-linked plans only suggest optimal usage times based on the user's appliance usage information, but do not optimize power consumption in real time. Therefore, there is a need to further reduce electricity costs by obtaining real-time trading price information from the power exchange and optimizing power consumption.

応用例1におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、電力取引所の取引価格情報をリアルタイムで取得する手段と、取得した価格情報に基づいて電力消費を最適化する手段と、高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる手段と、を含む。これにより、リアルタイムでの電力消費の最適化が可能となる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from a user, means for calculating optimal usage time periods based on the received home appliance usage information, means for proposing the calculated optimal usage time periods and electricity charges to the user, means for acquiring trading price information from the power exchange in real time, means for optimizing electricity consumption based on the acquired price information, and means for reducing electricity consumption during high-price time periods and increasing electricity consumption during low-price time periods. This enables optimization of electricity consumption in real time.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を算出するための方法や装置である。 "Means for calculating electricity charges" refers to a method or device for calculating electricity charges based on a market-linked plan.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用する家電の種類や使用時間などの情報を取得するための方法や装置である。 "Means for receiving home appliance usage information from users" refers to methods or devices for obtaining information such as the types of home appliances used by users and the duration of use.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報に基づいて、電力消費を最適化するための最適な使用時間帯を算出する方法や装置である。 "Means for calculating optimal usage time periods" refers to a method or device that calculates optimal usage time periods for optimizing power consumption based on received home appliance usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知するための方法や装置である。 "Means for making suggestions to users" refers to methods or devices for notifying users of the calculated optimal usage time periods and electricity charges.

「電力取引所の取引価格情報をリアルタイムで取得する手段」とは、電力取引所から取引価格情報をリアルタイムで取得するための方法や装置である。 "Means for obtaining trading price information from an electricity exchange in real time" refers to a method or device for obtaining trading price information from an electricity exchange in real time.

「電力消費を最適化する手段」とは、取得した取引価格情報に基づいて、電力消費を効率的に管理・調整するための方法や装置である。 "Means for optimizing electricity consumption" refers to methods or devices for efficiently managing and adjusting electricity consumption based on acquired trading price information.

「高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる手段」とは、電力取引価格が高い時間帯には電力消費を減少させ、取引価格が低い時間帯には電力消費を増加させるための方法や装置である。 "Means for reducing electricity consumption during high-price time periods and increasing electricity consumption during low-price time periods" refers to a method or device for reducing electricity consumption during times when the electricity trading price is high and increasing electricity consumption during times when the trading price is low.

この発明を実施するためには、以下のシステム構成とプログラムが必要である。 To implement this invention, the following system configuration and program are required.

システム構成 System Configuration

1. サーバ:市場連動型プランに基づく電気料金を計算し、電力取引所の取引価格情報をリアルタイムで取得する。 1. Server: Calculates electricity rates based on market-linked plans and obtains trading price information from the power exchange in real time.

2. 端末:ユーザーからの家電使用情報を受け取り、最適な使用時間帯を計算し、ユーザーに提案する。 2. Device: Receives information about home appliance usage from the user, calculates the optimal usage time, and makes suggestions to the user.

3. ネットワーク:サーバと端末間でデータを送受信するための通信手段。 3. Network: A communication method for sending and receiving data between the server and the terminal.

プログラムの処理説明 Program processing explanation

ハードウェア Hardware

サーバ:高性能なプロセッサと大容量のメモリを持つコンピュータ。 Server: A computer with a high-performance processor and large memory capacity.

端末:スマートフォンやタブレットなどのユーザーインターフェースを持つデバイス。 Device: A device with a user interface, such as a smartphone or tablet.

ネットワーク:インターネット接続。 Network: Internet connection.

ソフトウェア Software

Python:プログラムの主要な実装言語。 Python: The primary implementation language for the program.

Requestsライブラリ:APIから電力取引所の取引価格情報を取得するためのライブラリ。 Requests library: A library for obtaining electricity exchange trading price information from the API.

JSONデータ処理:取得したデータを解析するための形式。 JSON data processing: A format for parsing retrieved data.

データ加工・演算 Data processing and calculations

1. サーバは、電力取引所の取引価格情報をリアルタイムで取得する。これには、APIを利用してデータを取得し、JSON形式で保存する。 1. The server obtains trading price information from the power exchange in real time. To do this, it uses an API to obtain the data and saves it in JSON format.

2. サーバは、市場連動型プランに基づいて電気料金を計算する。取得した取引価格情報を基に、電気料金の単価を算出し、ユーザーの電力消費データと組み合わせて総電気料金を計算する。 2. The server calculates the electricity bill based on the market-linked plan. Based on the acquired trading price information, it calculates the unit price of the electricity bill and combines this with the user's power consumption data to calculate the total electricity bill.

3. 端末は、ユーザーからの家電使用情報を受け取る。これには、使用したい家電の種類と使用時間が含まれる。 3. The device receives appliance usage information from the user, including the type of appliance they want to use and the duration of their use.

4. サーバは、受け取った家電使用情報に基づき、最適な使用時間帯を計算する。これには、電力取引価格が低い時間帯を選定し、その時間帯に家電を使用するように提案する。 4. The server calculates the optimal usage time based on the received appliance usage information. To do this, it selects a time period when the electricity trading price is low and suggests using the appliance during that time period.

5. 端末は、計算した最適な使用時間帯と電気料金をユーザーに提案する。これには、通知機能を利用してユーザーに情報を提供する。 5. The device will then suggest the optimal usage time and electricity rates to the user. This will be done using the notification function to provide information to the user.

6. サーバは、取得した価格情報に基づいて電力消費を最適化する。高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる。 6. The server optimizes power consumption based on the acquired price information, reducing power consumption during high-price periods and increasing power consumption during low-price periods.

具体例 Specific examples

例えば、工場の生産ラインでこのシステムを利用する場合、電力取引所の価格が高い時間帯には機械の稼働を抑え、価格が低い時間帯に稼働を増やすことで電力コストを削減することができる。 For example, if this system is used on a factory production line, electricity costs can be reduced by reducing machine operation during times when prices on the electricity exchange are high and increasing operation during times when prices are low.

プロンプト文の例 Example prompt

「電力取引所の取引価格情報をリアルタイムで取得し、工場内の電力消費を最適化するPythonプログラムを作成してください。高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる機能を持たせてください。」 "Create a Python program that obtains real-time trading price information from the power exchange and optimizes power consumption within the factory. It should have the ability to reduce power consumption during high-price periods and increase power consumption during low-price periods."

応用例1における特定処理の流れについて図12を用いて説明する。 The flow of the specific processing in Application Example 1 will be explained using Figure 12.

ステップ1: Step 1:

サーバは、電力取引所の取引価格情報をリアルタイムで取得する。具体的には、APIを利用して電力取引所から取引価格情報を取得し、JSON形式で保存する。入力はAPIエンドポイントであり、出力は取得した取引価格情報である。 The server obtains trading price information from the power exchange in real time. Specifically, it uses an API to obtain trading price information from the power exchange and saves it in JSON format. The input is the API endpoint, and the output is the obtained trading price information.

ステップ2: Step 2:

サーバは、市場連動型プランに基づいて電気料金を計算する。取得した取引価格情報を基に、電気料金の単価を算出し、ユーザーの電力消費データと組み合わせて総電気料金を計算する。入力は取引価格情報とユーザーの電力消費データであり、出力は総電気料金である。 The server calculates electricity charges based on a market-linked plan. Based on the acquired trading price information, it calculates the unit price of electricity and combines it with the user's electricity consumption data to calculate the total electricity charge. The input is the trading price information and the user's electricity consumption data, and the output is the total electricity charge.

ステップ3: Step 3:

端末は、ユーザーからの家電使用情報を受け取る。ユーザーが使用したい家電の種類と使用時間を入力し、端末がそれを受け取る。入力はユーザーの家電使用情報であり、出力は受け取った家電使用情報である。 The terminal receives home appliance usage information from the user. The user inputs the type of home appliance they want to use and the usage time, and the terminal receives this. The input is the user's home appliance usage information, and the output is the received home appliance usage information.

ステップ4: Step 4:

サーバは、受け取った家電使用情報に基づき、最適な使用時間帯を計算する。電力取引価格が低い時間帯を選定し、その時間帯に家電を使用するように提案する。入力は家電使用情報と取引価格情報であり、出力は最適な使用時間帯である。 The server calculates the optimal usage time period based on the received appliance usage information. It selects a time period when the electricity trading price is low and suggests using the appliance during that time period. The input is appliance usage information and trading price information, and the output is the optimal usage time period.

ステップ5: Step 5:

端末は、計算した最適な使用時間帯と電気料金をユーザーに提案する。通知機能を利用してユーザーに情報を提供する。入力は最適な使用時間帯と電気料金であり、出力はユーザーへの通知である。 The device then proposes the calculated optimal usage time and electricity rate to the user. It uses the notification function to provide information to the user. The input is the optimal usage time and electricity rate, and the output is a notification to the user.

ステップ6: Step 6:

サーバは、取得した価格情報に基づいて電力消費を最適化する。高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる。入力は取引価格情報であり、出力は最適化された電力消費パターンである。 The server optimizes power consumption based on the acquired price information, reducing power consumption during high-price periods and increasing power consumption during low-price periods. The input is trading price information, and the output is the optimized power consumption pattern.

(実施例2) (Example 2)

次に、形態例2の実施例2について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ロボット414を「端末」と称する。 Next, Example 2 of Form Example 2 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the robot 414 will be referred to as the "terminal."

従来の家電使用情報を基にした電気料金の最適化システムでは、ユーザーが入力した情報を効率的に処理し、最適な使用時間帯を計算することが難しかった。また、計算結果をユーザーに迅速に提供する手段が不足していたため、ユーザーの利便性が低かった。さらに、市場連動型プランに基づく電気料金の計算と最適な使用時間帯の提案を統合的に行うシステムが求められていた Existing electricity rate optimization systems based on home appliance usage information struggled to efficiently process user-entered information and calculate optimal usage times. Furthermore, there was a lack of a way to quickly provide users with the results, resulting in poor user convenience. Furthermore, there was a need for a system that could comprehensively calculate electricity rates based on market-linked plans and suggest optimal usage times.

実施例2におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 2 is realized by the following means.

この発明では、サーバは、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報をデータベースに保存する手段と、保存されたデータを基に最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、計算結果をユーザーに表示する手段と、市場連動型プランに基づく電気料金を計算する手段を含む。これにより、ユーザーが入力した家電使用情報を効率的に処理し、最適な使用時間帯と電気料金を迅速に提供することが可能となる。 In this invention, the server includes means for receiving home appliance usage information from a user, means for storing the received home appliance usage information in a database, means for calculating the optimal usage time period based on the stored data, means for proposing the calculated optimal usage time period and electricity rate to the user, means for displaying the calculation results to the user, and means for calculating the electricity rate based on a market-linked plan. This makes it possible to efficiently process the home appliance usage information entered by the user and quickly provide the optimal usage time period and electricity rate.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を計算するためのアルゴリズムやソフトウェアを指す。 "Means for calculating electricity charges" refers to algorithms or software for calculating electricity charges based on market-linked plans.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが入力した家電の種類や使用時間などの情報を受け取るためのインターフェースやデバイスを指す。 "Means for receiving home appliance usage information from users" refers to interfaces or devices for receiving information such as the type of home appliance and usage time entered by the user.

「データベースに保存する手段」とは、受け取った家電使用情報をリレーショナルデータベース管理システム(RDBMS)などに保存するためのソフトウェアやハードウェアを指す。 "Means for storing in a database" refers to software or hardware for storing received home appliance usage information in a relational database management system (RDBMS) or similar.

「最適な使用時間帯を計算する手段」とは、保存されたデータを基に、過去の使用データや電力消費パターンを分析して最適な使用時間帯を計算するためのアルゴリズムやソフトウェアを指す。 "Means for calculating optimal usage times" refers to algorithms or software that use stored data to analyze past usage data and power consumption patterns to calculate optimal usage times.

「計算結果をユーザーに提案する手段」とは、計算された最適な使用時間帯と電気料金をユーザーに通知するためのインターフェースやデバイスを指す。 "Means for proposing calculation results to users" refers to interfaces or devices that notify users of the calculated optimal usage times and electricity charges.

「計算結果をユーザーに表示する手段」とは、計算結果をユーザーの端末に表示するためのソフトウェアやハードウェアを指す。 "Means for displaying calculation results to the user" refers to software or hardware for displaying calculation results on the user's device.

発明を実施するための形態 Form for implementing the invention

この発明は、ユーザーからの家電使用情報を受け取り、それを基に最適な使用時間帯と電気料金を計算し、ユーザーに提案するシステムである。以下に、このシステムの具体的な実施形態を説明する。 This invention is a system that receives information about home appliance usage from users, calculates optimal usage times and electricity rates based on that information, and makes recommendations to the user. A specific embodiment of this system is described below.

システムの構成 System Configuration

このシステムは、サーバ、端末、ユーザの三つの主要な要素から構成される。 This system consists of three main elements: a server, a terminal, and a user.

1. サーバ 1. Server

サーバは、ユーザーからの家電使用情報を受け取る手段を提供する。この手段は、ウェブブラウザやモバイルアプリケーションを通じてアクセスできるインターフェースである。 The server provides a means for receiving appliance usage information from users. This means is an interface that can be accessed through a web browser or mobile application.

サーバは、受け取った家電使用情報をデータベースに保存する。このデータベースは、MySQLやPostgreSQLなどのリレーショナルデータベース管理システム(RDBMS)を使用する。 The server stores the received appliance usage information in a database. This database uses a relational database management system (RDBMS) such as MySQL or PostgreSQL.

サーバは、保存されたデータを基に最適な使用時間帯を計算する。この計算には、PythonやRなどのプログラミング言語を使用し、データ分析ライブラリ(例:Pandas、NumPy)を活用する。 The server calculates the optimal usage time based on the stored data. This calculation is done using programming languages such as Python and R, and utilizing data analysis libraries (e.g., Pandas, NumPy).

サーバは、計算した最適な使用時間帯と電気料金をユーザーに提案する手段を持つ。この提案は、リアルタイムで行われる。 The server has a means of proposing the calculated optimal usage time and electricity rates to the user. This proposal is made in real time.

サーバは、計算結果をユーザーに表示するために、端末に送信する手段を持つ。この送信には、HTTPSプロトコルを使用してセキュアな通信を行う。 The server has a means of sending the calculation results to the terminal for display to the user. This transmission is securely performed using the HTTPS protocol.

2. 端末 2. Device

端末は、ユーザーが入力した家電使用情報をサーバに送信する。この送信には、HTTPSプロトコルを使用してセキュアな通信を行う。 The device sends the home appliance usage information entered by the user to the server. This transmission is secure, using the HTTPS protocol.

端末は、サーバから受け取った計算結果をユーザーに表示する。例えば、モバイルアプリケーションの画面に「最適な使用時間帯は19:00から21:00までです」と表示する。 The device displays the calculation results received from the server to the user. For example, the mobile application screen might display "The best time to use the device is between 7:00 PM and 9:00 PM."

3. ユーザ 3. User

ユーザは、ウェブブラウザやモバイルアプリケーションを使用して、使用したい家電の種類と希望する使用時間を入力する。例えば、ユーザがエアコンを使用したい場合、「エアコン」と「18:00から22:00まで」と入力する。 Users use a web browser or mobile application to enter the type of appliance they want to use and the time they want to use it. For example, if a user wants to use an air conditioner, they enter "air conditioner" and "from 18:00 to 22:00."

具体例 Specific examples

具体例として、ユーザがエアコンを使用したいと考えている場合を考える。 As a concrete example, consider the case where a user wants to use the air conditioner.

1. ユーザがモバイルアプリケーションを開き、「エアコン」と「18:00から22:00まで」と入力する。 1. The user opens the mobile application and enters "air conditioner" and "from 18:00 to 22:00."

2. 端末がこの情報をHTTPSプロトコルを使用してサーバに送信する。 2. The device sends this information to the server using the HTTPS protocol.

3. サーバが受け取った情報を「user_requests」テーブルに保存する。 3. The server stores the received information in the "user_requests" table.

4. サーバがPythonのPandasライブラリを使用して、過去の使用データや電力消費パターンを分析し、最適な使用時間帯を計算する。 4. The server uses Python's Pandas library to analyze past usage data and power consumption patterns and calculate the optimal usage time.

5. サーバが計算結果「19:00から21:00までが最適です」を端末に送信する。 5. The server sends the calculation result "The best time is between 7:00 PM and 9:00 PM" to the device.

6. 端末がこの結果をモバイルアプリケーションの画面に表示し、ユーザに通知する。 6. The device displays the results on the mobile application screen and notifies the user.

プロンプト文の例 Example prompt

生成AIモデルへ入力するプロンプト文の例: Example of a prompt to input to a generative AI model:

ユーザがエアコンを使用したいと考えています。使用時間は「18:00から22:00まで」と入力しました。過去の使用データや電力消費パターンを基に、最適な使用時間帯を計算してください。 The user wants to use the air conditioner. The usage time is entered as "18:00 to 22:00." Please calculate the optimal usage time based on past usage data and power consumption patterns.

このようにして、サーバ、端末、ユーザが連携して家電の最適な使用時間帯を計算し、ユーザに提供するシステムが実現される。 In this way, a system is realized in which the server, terminal, and user work together to calculate the optimal usage time for home appliances and provide it to the user.

実施例2における特定処理の流れについて図13を用いて説明する。 The flow of the identification process in Example 2 will be explained using Figure 13.

ステップ1: Step 1:

ユーザが家電使用情報を入力する。 The user enters appliance usage information.

ユーザは、ウェブブラウザやモバイルアプリケーションを使用して、使用したい家電の種類と希望する使用時間を入力する。例えば、ユーザがエアコンを使用したい場合、「エアコン」と「18:00から22:00まで」と入力する。入力された情報は、端末の入力フィールドに保存される。 Using a web browser or mobile application, users input the type of appliance they want to use and the desired usage time. For example, if a user wants to use an air conditioner, they enter "air conditioner" and "from 18:00 to 22:00." The entered information is saved in an input field on the device.

ステップ2: Step 2:

端末が入力情報をサーバに送信する。 The device sends the input information to the server.

端末は、ユーザが入力した家電使用情報をHTTPSプロトコルを使用してサーバに送信する。具体的には、入力された情報をJSON形式に変換し、サーバのAPIエンドポイントにPOSTリクエストを送信する。入力は家電の種類と使用時間であり、出力はサーバへの送信完了ステータスである。 The device sends the appliance usage information entered by the user to the server using the HTTPS protocol. Specifically, it converts the entered information into JSON format and sends a POST request to the server's API endpoint. The input is the type of appliance and usage time, and the output is the status of completion of transmission to the server.

ステップ3: Step 3:

サーバが入力情報をデータベースに保存する。 The server saves the input information in a database.

サーバは、受け取った家電使用情報をデータベースに保存する。具体的には、サーバは受信したJSONデータを解析し、MySQLやPostgreSQLなどのリレーショナルデータベース管理システム(RDBMS)に保存する。入力は受信した家電使用情報であり、出力はデータベースへの保存完了ステータスである。 The server stores the received appliance usage information in a database. Specifically, the server parses the received JSON data and stores it in a relational database management system (RDBMS) such as MySQL or PostgreSQL. The input is the received appliance usage information, and the output is the status of completion of saving to the database.

ステップ4: Step 4:

サーバが保存されたデータを基に最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the stored data.

サーバは、保存されたデータを基に最適な使用時間帯を計算する。具体的には、PythonのPandasライブラリを使用して過去の使用データや電力消費パターンを分析し、最適な使用時間帯を計算する。入力はデータベースに保存された家電使用情報と過去の使用データであり、出力は最適な使用時間帯である。 The server calculates the optimal usage time based on the stored data. Specifically, it uses Python's Pandas library to analyze past usage data and power consumption patterns to calculate the optimal usage time. The input is the appliance usage information and past usage data stored in the database, and the output is the optimal usage time.

ステップ5: Step 5:

サーバが計算結果を端末に送信する。 The server sends the calculation results to the device.

サーバは、計算結果を端末に送信する。具体的には、計算された最適な使用時間帯をJSON形式に変換し、HTTPSプロトコルを使用して端末に送信する。入力は最適な使用時間帯の計算結果であり、出力は端末への送信完了ステータスである。 The server sends the calculation results to the device. Specifically, it converts the calculated optimal usage time slot into JSON format and sends it to the device using the HTTPS protocol. The input is the calculation result of the optimal usage time slot, and the output is the status of completion of transmission to the device.

ステップ6: Step 6:

端末が計算結果をユーザに表示する。 The terminal displays the calculation results to the user.

端末は、サーバから受け取った計算結果をユーザに表示する。具体的には、モバイルアプリケーションの画面に「最適な使用時間帯は19:00から21:00までです」と表示する。入力はサーバから受信した最適な使用時間帯の計算結果であり、出力はユーザへの表示内容である。 The device displays the calculation results received from the server to the user. Specifically, the mobile application screen displays "The optimal usage time is from 19:00 to 21:00." The input is the calculation result of the optimal usage time received from the server, and the output is the content displayed to the user.

(応用例2) (Application Example 2)

次に、形態例2の応用例2について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ロボット414を「端末」と称する。 Next, we will explain Application Example 2 of Form Example 2. In the following explanation, the data processing device 12 will be referred to as the "server" and the robot 414 will be referred to as the "terminal."

従来の家電使用情報を基にした最適な使用時間帯の計算システムは、家電の使用に関する情報のみを対象としており、自動運転車両の充電スケジュールの最適化には対応していない。このため、ユーザーが自動運転車両の運行予定に基づいて最適な充電時間を計算し、エネルギー管理を効率化することが困難であった Existing systems that calculate optimal usage times based on home appliance usage information only consider information about home appliance usage and do not support optimizing charging schedules for autonomous vehicles. This makes it difficult for users to calculate optimal charging times based on autonomous vehicle operation schedules and improve energy management efficiency.

応用例2におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーからの運行予定情報を受け取り、最適な充電時間帯を計算する手段と、計算した最適な充電時間帯をユーザーに通知する手段と、を含む。これにより、ユーザーは自動運転車両の運行予定に基づいて最適な充電時間を計算し、エネルギー管理を効率化することが可能となる。 The specification processing by the specification processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means. In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from the user, means for calculating optimal usage time periods based on the received home appliance usage information, means for proposing the calculated optimal usage time periods and electricity charges to the user, means for receiving operation schedule information from the user and calculating optimal charging time periods, and means for notifying the user of the calculated optimal charging time periods. This allows the user to calculate the optimal charging time based on the operation schedule of the autonomous vehicle and improve energy management efficiency.

「市場連動型プラン」とは、電力取引所の取引価格に応じて電気料金が決まる料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を計算するための装置またはプログラムである。 "Means for calculating electricity charges" means a device or program for calculating electricity charges based on a market-linked plan.

「家電使用情報」とは、ユーザーが使用したい家電の種類とその使用時間に関する情報である。 "Home appliance usage information" refers to information about the type of home appliance the user wants to use and the duration of use.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報に基づいて、家電の最適な使用時間帯を計算するための装置またはプログラムである。 "Means for calculating optimal usage time periods" refers to a device or program for calculating optimal usage time periods for home appliances based on received home appliance usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知または表示するための装置またはプログラムである。 "Means for making suggestions to users" refers to a device or program that notifies or displays to users the calculated optimal usage time and electricity charges.

「運行予定情報」とは、ユーザーが自動運転車両の運行に関して入力する出発時間、到着時間、目的地などの情報である。 "Scheduled operation information" refers to information such as departure time, arrival time, and destination entered by the user regarding the operation of an autonomous vehicle.

「最適な充電時間帯を計算する手段」とは、受け取った運行予定情報に基づいて、自動運転車両の最適な充電時間帯を計算するための装置またはプログラムである。 "Means for calculating the optimal charging time slot" refers to a device or program for calculating the optimal charging time slot for an autonomous vehicle based on the received operation schedule information.

「通知する手段」とは、計算した最適な充電時間帯をユーザーに通知するための装置またはプログラムである。 "Notification means" refers to a device or program that notifies the user of the calculated optimal charging time period.

この発明を実施するためのシステムは、サーバ、ユーザー端末、および自動運転車両から構成される。サーバは、以下の手段を含む。 A system for implementing this invention consists of a server, a user terminal, and an autonomous vehicle. The server includes the following means:

1. 市場連動型プランに基づく電気料金を計算する手段 1. A method for calculating electricity rates based on market-linked plans

2. ユーザーからの家電使用情報を受け取る手段 2. How to receive appliance usage information from users

3. 受け取った家電使用情報に基づき最適な使用時間帯を計算する手段 3. A method for calculating optimal usage times based on received appliance usage information

4. 計算した最適な使用時間帯と電気料金をユーザーに提案する手段 4. A method for suggesting the calculated optimal usage time and electricity rates to users

5. ユーザーからの運行予定情報を受け取り、最適な充電時間帯を計算する手段 5. A means of receiving schedule information from users and calculating the optimal charging time slots

6. 計算した最適な充電時間帯をユーザーに通知する手段 6. A method for notifying users of the calculated optimal charging time slot

プログラムの処理説明 Program processing explanation

サーバは、Pythonなどのプログラミング言語を用いて実装される。サーバは、ユーザー端末から送信される家電使用情報および運行予定情報を受信し、それらの情報を基に最適な使用時間帯および充電時間帯を計算する。 The server is implemented using a programming language such as Python. It receives appliance usage information and operation schedule information sent from the user's device, and calculates the optimal usage and charging times based on this information.

具体的には、サーバは以下の処理を行う。 Specifically, the server performs the following processes:

1. 電気料金の計算: 1. Calculating electricity charges:

サーバは市場連動型プランに基づいて、電力取引所の取引価格を取得し、電気料金を計算する。この計算には、APIを通じて電力取引所のデータを取得する。 The server obtains the trading price from the power exchange based on the market-linked plan and calculates the electricity bill. This calculation involves obtaining data from the power exchange via an API.

2. 家電使用情報の受信と処理: 2. Receiving and processing home appliance usage information:

ユーザー端末から送信される家電使用情報(使用したい家電の種類と使用時間)を受信し、最適な使用時間帯を計算する。計算には、AIモデルを用いて電力消費のピーク時間を避けるようにする。 The system receives appliance usage information (type of appliance to be used and usage time) sent from the user's device and calculates the optimal usage time. It uses an AI model to calculate and avoid peak hours of power consumption.

3. 運行予定情報の受信と処理: 3. Receiving and processing schedule information:

ユーザー端末から送信される運行予定情報(出発時間、到着時間、目的地)を受信し、最適な充電時間帯を計算する。計算には、AIモデルを用いて運行スケジュールに基づく最適な充電時間を決定する。 The system receives flight schedule information (departure time, arrival time, destination) sent from the user's device and calculates the optimal charging time. The calculation uses an AI model to determine the optimal charging time based on the flight schedule.

4. 通知: 4. Notice:

計算した最適な使用時間帯および充電時間帯をユーザーに通知する。通知は、ユーザー端末にプッシュ通知やメールで送信される。 The user will be notified of the calculated optimal usage and charging times. Notifications will be sent to the user's device via push notification or email.

具体例 Specific examples

例えば、ユーザーがスマートフォンアプリに以下の情報を入力する。 For example, a user enters the following information into a smartphone app:

出発時間: 2023-10-01 08:00:00 Departure time: 2023-10-01 08:00:00

到着時間: 2023-10-01 10:00:00 Arrival time: 2023-10-01 10:00:00

目的地: Office Destination: Office

この情報を基に、サーバは最適な充電時間を計算し、出発の2時間前(2023-10-01 06:00:00)に充電を開始するよう通知する。 Based on this information, the server calculates the optimal charging time and notifies the driver to start charging two hours before departure (2023-10-01 06:00:00).

生成AIモデルへ入力するプロンプト文の例: Example of a prompt to input to a generative AI model:

ユーザーが自動運転車両の運行予定を入力しました。出発時間は2023-10-01 08:00:00、到着時間は2023-10-01 10:00:00、目的地はOfficeです。この情報を基に、最適な充電時間を計算してください。 The user has entered a scheduled autonomous vehicle trip. The departure time is 2023-10-01 08:00:00, the arrival time is 2023-10-01 10:00:00, and the destination is Office. Please calculate the optimal charging time based on this information.

このようにして、ユーザーの運行予定に基づいて最適な充電時間を計算し、エネルギー管理を効率化することが可能となる。 In this way, it is possible to calculate the optimal charging time based on the user's driving schedule and improve energy management efficiency.

応用例2における特定処理の流れについて図14を用いて説明する。 The flow of the specific processing in Application Example 2 will be explained using Figure 14.

ステップ1: Step 1:

ユーザーがスマートフォンアプリを使用して家電使用情報および運行予定情報を入力する。入力される情報には、使用したい家電の種類、使用時間、出発時間、到着時間、目的地が含まれる。これらの情報は、ユーザー端末からサーバに送信される。 Users use a smartphone app to input information about their appliance usage and scheduled operations. The information entered includes the type of appliance they want to use, usage time, departure time, arrival time, and destination. This information is sent from the user's device to the server.

ステップ2: Step 2:

サーバは、ユーザー端末から送信された家電使用情報を受信する。受信した情報には、使用したい家電の種類と使用時間が含まれる。サーバは、この情報を基に最適な使用時間帯を計算するためのデータ加工を行う。 The server receives appliance usage information sent from the user's device. The received information includes the type of appliance desired to be used and the usage time. Based on this information, the server processes the data to calculate the optimal usage time period.

ステップ3: Step 3:

サーバは、市場連動型プランに基づいて電力取引所の取引価格を取得する。取得した取引価格データを基に、電気料金を計算する。計算には、APIを通じて電力取引所のデータを取得し、リアルタイムでの価格変動を考慮する。 The server obtains trading prices from the power exchange based on a market-linked plan. It then calculates electricity charges based on the obtained trading price data. Calculations involve obtaining data from the power exchange via an API and taking real-time price fluctuations into account.

ステップ4: Step 4:

サーバは、受信した家電使用情報と取得した取引価格データを基に、最適な使用時間帯を計算する。計算には、AIモデルを用いて電力消費のピーク時間を避けるようにする。具体的には、電力消費のピーク時間帯を避けるためのアルゴリズムを適用する。 The server calculates the optimal usage time based on the received appliance usage information and the acquired trading price data. The calculation uses an AI model to avoid peak hours of electricity consumption. Specifically, it applies an algorithm to avoid peak hours of electricity consumption.

ステップ5: Step 5:

サーバは、計算した最適な使用時間帯と電気料金をユーザーに提案する。提案は、ユーザー端末にプッシュ通知やメールで送信される。ユーザーは、提案された最適な使用時間帯を確認し、家電の使用を計画することができる。 The server then proposes the calculated optimal usage time and electricity rates to the user. The proposal is sent to the user's device via push notification or email. The user can check the proposed optimal usage time and plan their home appliance usage.

ステップ6: Step 6:

サーバは、ユーザー端末から送信された運行予定情報を受信する。受信した情報には、出発時間、到着時間、目的地が含まれる。サーバは、この情報を基に最適な充電時間帯を計算するためのデータ加工を行う。 The server receives the scheduled vehicle information sent from the user's device. The received information includes departure time, arrival time, and destination. The server processes this information to calculate the optimal charging time slot.

ステップ7: Step 7:

サーバは、受信した運行予定情報を基に、最適な充電時間帯を計算する。計算には、AIモデルを用いて運行スケジュールに基づく最適な充電時間を決定する。具体的には、出発の2時間前に充電を開始するようなアルゴリズムを適用する。 The server calculates the optimal charging time based on the received flight schedule information. It uses an AI model to determine the optimal charging time based on the flight schedule. Specifically, it applies an algorithm that starts charging two hours before departure.

ステップ8: Step 8:

サーバは、計算した最適な充電時間帯をユーザーに通知する。通知は、ユーザー端末にプッシュ通知やメールで送信される。ユーザーは、通知された最適な充電時間帯を確認し、自動運転車両の充電を計画することができる。 The server notifies the user of the calculated optimal charging time. The notification is sent to the user's device via push notification or email. The user can check the optimal charging time and plan charging for their autonomous vehicle.

このようにして、ユーザーの家電使用情報および運行予定情報に基づいて、最適な使用時間帯および充電時間帯を計算し、エネルギー管理を効率化することが可能となる。 In this way, optimal usage and charging times can be calculated based on the user's home appliance usage information and operation schedule information, making it possible to improve energy management efficiency.

(実施例3) (Example 3)

次に、形態例3の実施例3について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ロボット414を「端末」と称する。 Next, Example 3 of Form Example 3 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the robot 414 will be referred to as the "terminal."

従来の電気料金計算システムでは、ユーザーが家電を使用する最適な時間帯を知ることが難しく、電気料金を効果的に抑えることができなかった。また、電力取引所の取引価格に基づくリアルタイムな電気料金の計算が行われていなかったため、ユーザーにとって最適な使用時間帯を提案することができなかった。これにより、ユーザーは高額な電気料金を支払うことが多く、エネルギーの効率的な使用が困難であった。 With conventional electricity bill calculation systems, it was difficult for users to know the optimal time to use their home appliances, making it difficult to effectively reduce electricity bills. Furthermore, because electricity bills were not calculated in real time based on trading prices at the power exchange, it was not possible to suggest the optimal time for users to use their appliances. This often resulted in users paying high electricity bills and making it difficult to use energy efficiently.

実施例3におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 3 is realized by the following means.

この発明では、サーバは、ユーザーからの家電使用情報を受け取る手段と、電力取引所の取引価格データを取得する手段と、取得した取引価格データを処理し、指定された時間帯の電気料金を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、計算結果をユーザーに提示する手段と、を含む。これにより、ユーザーは家電を使用する最適な時間帯とその時間帯の電気料金をリアルタイムで知ることが可能となり、電気料金を効果的に抑えることができる。 In this invention, the server includes means for receiving home appliance usage information from the user, means for acquiring trading price data from the power exchange, means for processing the acquired trading price data and calculating the electricity rate for a specified time period, means for proposing the calculated optimal usage time period and electricity rate to the user, and means for presenting the calculation results to the user. This allows the user to know the optimal time period for using home appliances and the electricity rate for that time period in real time, allowing for effective savings on electricity bills.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用したい家電の種類と使用時間を入力するためのインターフェースを提供し、その情報をサーバに送信する機能を持つ装置またはソフトウェアである。 "Means for receiving home appliance usage information from users" refers to a device or software that provides an interface for users to input the type of home appliance they wish to use and the usage time, and has the function of sending that information to a server.

「電力取引所の取引価格データを取得する手段」とは、電力取引所のAPIにアクセスし、最新の取引価格データを取得するための機能を持つ装置またはソフトウェアである。 "Means for obtaining trading price data from the power exchange" refers to devices or software that have the functionality to access the power exchange's API and obtain the latest trading price data.

「取得した取引価格データを処理し、指定された時間帯の電気料金を計算する手段」とは、取得した取引価格データを解析し、ユーザーが指定した時間帯における電気料金を計算するための機能を持つ装置またはソフトウェアである。 "Means for processing acquired transaction price data and calculating electricity charges for a specified time period" refers to a device or software that has the function of analyzing acquired transaction price data and calculating electricity charges for a time period specified by the user.

「計算した最適な使用時間帯と電気料金をユーザーに提案する手段」とは、計算結果に基づいて、ユーザーにとって最適な家電の使用時間帯とその時間帯の電気料金を提示するための機能を持つ装置またはソフトウェアである。 "Means for proposing the calculated optimal usage time periods and electricity rates to the user" refers to a device or software that has the function of presenting the optimal usage time periods for home appliances and the electricity rates for those times to the user based on the calculation results.

「計算結果をユーザーに提示する手段」とは、計算された電気料金と最適な使用時間帯をユーザーに視覚的または音声的に提示するための機能を持つ装置またはソフトウェアである。 "Means for presenting calculation results to the user" refers to a device or software that has the function of visually or audibly presenting the calculated electricity charges and optimal usage times to the user.

発明を実施するための形態 Form for implementing the invention

この発明は、ユーザーが家電を使用する最適な時間帯とその時間帯の電気料金を計算し、ユーザーに提案するシステムである。このシステムは、ユーザーからの家電使用情報を受け取り、電力取引所の取引価格データを取得し、取得したデータを処理して電気料金を計算し、その結果をユーザーに提示する。 This invention is a system that calculates the optimal time periods for users to use home appliances and the electricity rates for those times, and then suggests these to the user. This system receives home appliance usage information from the user, acquires trading price data from the power exchange, processes the acquired data to calculate the electricity rate, and presents the results to the user.

使用するハードウェアおよびソフトウェア Hardware and software used

このシステムは、以下のハードウェアおよびソフトウェアを使用する: This system uses the following hardware and software:

サーバ:データ処理および計算を行うためのコンピュータシステム。 Server: A computer system for data processing and calculations.

端末:ユーザーが情報を入力するためのデバイス(スマートフォン、タブレット、PCなど)。 Device: The device through which the user enters information (smartphone, tablet, PC, etc.).

Python:プログラムの開発に使用するプログラミング言語。 Python: A programming language used to develop programs.

Pandasライブラリ:データ処理および解析に使用するPythonのライブラリ。 Pandas library: A Python library used for data processing and analysis.

Requestsライブラリ:電力取引所のAPIからデータを取得するために使用するPythonのライブラリ。 Requests library: A Python library used to retrieve data from the power exchange API.

プログラムの処理 Program processing

サーバは、ユーザーからの入力を受け取る。ユーザーが使用したい家電の種類と使用時間を入力すると、サーバは電力取引所のAPIから最新の取引価格データを取得する。このデータを基に、サーバは指定された時間帯の電気料金を計算する。計算には、電力取引価格と家電の消費電力を掛け合わせることで行う。 The server receives input from the user. When the user enters the type of appliance they want to use and the duration of use, the server retrieves the latest trading price data from the power exchange's API. Based on this data, the server calculates the electricity rate for the specified time period. The calculation is done by multiplying the electricity trading price by the appliance's power consumption.

具体例 Specific examples

例えば、ユーザーが「エアコンを午後3時から6時まで使用する」と入力した場合、サーバは以下のように処理を行う: For example, if a user enters "I want the air conditioner to run from 3:00 PM to 6:00 PM," the server will process it as follows:

1. ユーザーが端末の入力フォームに「エアコン、15:00-18:00」と入力する。 1. The user enters "Air conditioning, 15:00-18:00" into the device's input form.

2. 端末はこの入力データをサーバに送信する。 2. The device sends this input data to the server.

3. サーバはRequestsライブラリを使用して、電力取引所のAPIにリクエストを送信する。 3. The server uses the Requests library to send a request to the power exchange API.

4. サーバはAPIから返された取引価格データを受け取り、Pandasを使用してデータフレームに変換する。 4. The server receives the trading price data returned from the API and converts it into a data frame using Pandas.

5. サーバはデータフレームから指定された時間帯(15:00-18:00)の取引価格を抽出する。 5. The server extracts trading prices for the specified time period (15:00-18:00) from the data frame.

6. サーバはエアコンの消費電力(例えば1.5kW)を取引価格に掛け合わせて電気料金を計算する。 6. The server calculates the electricity bill by multiplying the air conditioner's power consumption (for example, 1.5kW) by the transaction price.

7. サーバは計算結果を「エアコンを午後3時から6時まで使用すると、電気料金は〇〇円です」と生成する。 7. The server generates the calculation result: "If you use the air conditioner from 3:00 PM to 6:00 PM, the electricity bill will be XX yen."

8. サーバはこのメッセージを端末に送信する。 8. The server sends this message to the device.

9. 端末はユーザーにメッセージを表示する。 9. The device displays a message to the user.

プロンプト文の例 Example prompt

生成AIモデルへ入力するプロンプト文の例: Example of a prompt to input to a generative AI model:

ユーザーがエアコンを午後3時から6時まで使用したいと入力した場合、その時間帯の電力取引所の取引価格に基づいて電気料金を計算し、ユーザーに提示するプログラムを作成してください。 If a user inputs that they want to use the air conditioner from 3:00 PM to 6:00 PM, create a program that calculates the electricity rate based on the trading price on the power exchange for that time period and displays it to the user.

このようにして、ユーザーは最適な使用時間帯と電気料金を知ることができ、電気料金を抑えるための参考情報とすることができる。実施例3における特定処理の流れについて図15を用いて説明する。 In this way, users can learn the optimal usage times and electricity rates, and use this information as reference for reducing electricity costs. The flow of the identification process in Example 3 will be explained using Figure 15.

プログラムの処理の流れ Program processing flow

ステップ1:ユーザーの入力受け取り Step 1: Receive user input

ユーザーは端末を使用して、使用したい家電の種類と使用時間を入力する。例えば、ユーザーが「エアコンを午後3時から6時まで使用する」と入力する。 The user uses the device to input the type of appliance they want to use and the time they want to use it. For example, the user might input "I want to use the air conditioner from 3:00 to 6:00 PM."

具体的な動作: Specific actions:

入力:ユーザーが端末の入力フォームに「エアコン、15:00-18:00」と入力する。 Input: The user enters "Air conditioning, 15:00-18:00" into the device's input form.

出力:端末はこの入力データをサーバに送信する。 Output: The device sends this input data to the server.

ステップ2:電力取引価格データの取得 Step 2: Obtaining electricity trading price data

サーバは電力取引所のAPIから最新の取引価格データを取得する。このデータは、指定された時間帯の電気料金を計算するために使用される。 The server retrieves the latest trading price data from the power exchange's API. This data is used to calculate the electricity rate for the specified time period.

具体的な動作: Specific actions:

入力:サーバはユーザーから送信された家電使用情報を受け取る。 Input: The server receives home appliance usage information sent by the user.

データ加工:サーバはRequestsライブラリを使用して、電力取引所のAPIにリクエストを送信する。 Data processing: The server uses the Requests library to send requests to the power exchange API.

出力:サーバはAPIから返された取引価格データを受け取る。 Output: The server receives the trading price data returned from the API.

ステップ3:データの処理と電気料金の計算 Step 3: Process the data and calculate the electricity bill

サーバは取得した取引価格データをPandasライブラリを用いて処理し、指定された時間帯の電気料金を計算する。計算には、家電の消費電力と取引価格を掛け合わせる。 The server processes the acquired trading price data using the Pandas library and calculates the electricity rate for the specified time period. To do this, it multiplies the power consumption of the appliance by the trading price.

具体的な動作: Specific actions:

入力:サーバはAPIから取得した取引価格データを受け取る。 Input: The server receives trading price data obtained from the API.

データ加工:サーバはPandasを使用して、取引価格データをデータフレームに変換する。 Data processing: The server uses Pandas to convert trading price data into a data frame.

データ演算:サーバはデータフレームから指定された時間帯(15:00-18:00)の取引価格を抽出し、エアコンの消費電力(例えば1.5kW)を掛け合わせて電気料金を計算する。 Data calculation: The server extracts the trading price for the specified time period (15:00-18:00) from the data frame and multiplies it by the air conditioner's power consumption (e.g., 1.5kW) to calculate the electricity bill.

出力:計算された電気料金データ。 Output: Calculated electricity bill data.

ステップ4:計算結果の提示 Step 4: Presenting the calculation results

サーバは計算結果をユーザーに提示する。ユーザーはこれにより、電気料金を抑えるための参考情報を得ることができる。 The server then presents the calculation results to the user, allowing the user to obtain reference information for reducing electricity bills.

具体的な動作: Specific actions:

入力:計算された電気料金データ。 Input: Calculated electricity rate data.

データ加工:サーバは計算結果を「エアコンを午後3時から6時まで使用すると、電気料金は〇〇円です」といった形式で生成する。 Data processing: The server generates the calculation results in a format such as "If you use the air conditioner from 3:00 pm to 6:00 pm, your electricity bill will be XX yen."

出力:サーバはこのメッセージを端末に送信する。 Output: The server sends this message to the terminal.

動作:端末はユーザーにメッセージを表示する。 Action: The device displays a message to the user.

このようにして、ユーザーは最適な使用時間帯と電気料金を知ることができ、電気料金を抑えるための参考情報とすることができる。 In this way, users can learn the optimal times to use electricity and electricity rates, which can be used as reference information to reduce electricity bills.

(応用例3) (Application Example 3)

次に、形態例3の応用例3について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ロボット414を「端末」と称する。 Next, we will explain Application Example 3 of Form Example 3. In the following explanation, the data processing device 12 will be referred to as the "server" and the robot 414 will be referred to as the "terminal."

電力使用において、ユーザーが電気料金を抑えるための最適な使用時間帯を知ることが難しいという問題がある。また、特に電気自動車の充電においては、充電時間帯によって電気料金が大きく変動するため、ユーザーが最適な充電時間帯を選択することが困難である。このため、ユーザーが効率的に電力を使用し、電気料金を抑えるためのシステムが求められている。 When it comes to electricity usage, users often have difficulty knowing the optimal time of day to use the power in order to reduce their electricity bills. Furthermore, when charging electric vehicles in particular, electricity rates vary greatly depending on the time of day, making it difficult for users to select the optimal time of day to charge. For this reason, there is a demand for a system that allows users to use electricity efficiently and reduce their electricity bills.

応用例3におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 3 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの電力使用情報を受け取る手段と、受け取った電力使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーが入力した電力使用時間帯の中で最も電気料金が安い時間帯を計算する手段と、計算した最適な電力使用時間帯と予想電気料金をユーザーに提示する手段を含む。これにより、ユーザーは電気料金を抑えるための最適な使用時間帯を知ることが可能となる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving electricity usage information from the user, means for calculating optimal usage time periods based on the received electricity usage information, means for proposing the calculated optimal usage time periods and electricity charges to the user, means for calculating the time period with the lowest electricity charge among the electricity usage time periods entered by the user, and means for presenting the calculated optimal electricity usage time periods and estimated electricity charges to the user. This allows the user to know the optimal usage time periods for reducing electricity charges.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、電力取引所の取引価格を基にして、ユーザーが使用する電力の料金を計算する機能を持つ装置またはプログラムである。 "Means for calculating electricity charges" refers to a device or program that has the function of calculating the charges for electricity used by a user based on the trading price at the electricity exchange.

「電力使用情報」とは、ユーザーが使用する電力機器の種類や使用時間などの情報を指す。 "Electricity usage information" refers to information such as the type of electrical equipment used by the user and the duration of use.

「最適な使用時間帯を計算する手段」とは、受け取った電力使用情報に基づいて、電気料金が最も安くなる時間帯を計算する機能を持つ装置またはプログラムである。 "Means for calculating the optimal usage time period" refers to a device or program that has the function of calculating the time period with the lowest electricity rates based on the received electricity usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知する機能を持つ装置またはプログラムである。 "Means for making suggestions to users" refers to a device or program that has the function of notifying users of the calculated optimal usage time period and electricity charges.

「電力使用時間帯」とは、ユーザーが電力機器を使用する予定の時間帯を指す。 "Power usage time period" refers to the time period during which a user plans to use power equipment.

「最も電気料金が安い時間帯を計算する手段」とは、ユーザーが入力した電力使用時間帯の中で、電気料金が最も安くなる時間帯を計算する機能を持つ装置またはプログラムである。 "Means for calculating the time period with the cheapest electricity rates" refers to a device or program that has the function of calculating the time period with the cheapest electricity rates among the electricity usage time periods entered by the user.

「予想電気料金をユーザーに提示する手段」とは、計算した最適な電力使用時間帯とその時間帯における予想電気料金をユーザーに通知する機能を持つ装置またはプログラムである。 "Means for presenting estimated electricity charges to users" refers to a device or program that has the function of notifying users of the calculated optimal time periods for electricity usage and the estimated electricity charges for those times.

この発明を実施するためのシステムは、電気自動車の充電を最適化するためのものである。システムは、サーバ、ユーザー端末、および電力取引所のAPIを含む。以下に、システムの具体的な実施形態を説明する。 A system for implementing this invention is for optimizing the charging of electric vehicles. The system includes a server, a user terminal, and an API for a power exchange. A specific embodiment of the system is described below.

システム構成 System Configuration

1. サーバ 1. Server

サーバは、以下の機能を持つプログラムを実行する。 The server runs a program with the following functions:

市場連動型プランに基づく電気料金を計算する機能 Function to calculate electricity rates based on market-linked plans

ユーザーからの電力使用情報を受け取る機能 A function to receive power usage information from users

受け取った電力使用情報に基づき最適な使用時間帯を計算する機能 A function that calculates the optimal usage time based on received power usage information.

計算した最適な使用時間帯と電気料金をユーザーに提案する機能 A function that suggests optimal usage times and electricity rates to users.

ユーザーが入力した電力使用時間帯の中で最も電気料金が安い時間帯を計算する機能 A function that calculates the cheapest electricity rate among the electricity usage periods entered by the user.

計算した最適な電力使用時間帯と予想電気料金をユーザーに提示する機能 A function that displays the calculated optimal power usage times and estimated electricity charges to the user.

2. ユーザー端末 2. User Device

ユーザー端末は、スマートフォンやタブレットなどのデバイスであり、ユーザーが電力使用情報を入力するためのインターフェースを提供する。ユーザーは、充電したい時間帯を入力し、その情報がサーバに送信される。 The user terminal is a device such as a smartphone or tablet that provides an interface for users to enter power usage information. Users enter the time period they wish to charge, and that information is sent to the server.

3. 電力取引所のAPI 3. Power Exchange API

電力取引所のAPIは、電力取引所の取引価格を取得するためのインターフェースである。サーバは、このAPIを通じてリアルタイムの電力取引価格を取得し、電気料金の計算に使用する。 The power exchange API is an interface for obtaining trading prices from the power exchange. The server obtains real-time power trading prices through this API and uses them to calculate electricity charges.

プログラムの処理説明 Program processing explanation

サーバは、ユーザー端末から受け取った電力使用情報を基に、電力取引所のAPIから取得した取引価格を使用して電気料金を計算する。具体的には、以下の手順で処理が行われる。 The server calculates electricity charges based on the electricity usage information received from the user's device and the trading price obtained from the power exchange's API. Specifically, the process is carried out as follows:

1. 電力使用情報の受信 1. Receiving power usage information

ユーザーが端末から入力した電力使用情報(例えば、充電したい時間帯)がサーバに送信される。 Power usage information entered by the user on the device (for example, the time period during which they wish to charge) is sent to the server.

2. 電気料金の計算 2. Calculating your electricity bill

サーバは、電力取引所のAPIを使用して、指定された時間帯の取引価格を取得する。その後、取得した取引価格に基づいて電気料金を計算する。 The server uses the power exchange's API to obtain the trading price for the specified time period. It then calculates the electricity bill based on the obtained trading price.

3. 最適な使用時間帯の計算 3. Calculating the optimal usage time

サーバは、ユーザーが入力した時間帯の中で最も電気料金が安い時間帯を計算する。この計算には、リアルタイムの取引価格データが使用される。 The server calculates the cheapest electricity rate among the time periods entered by the user. This calculation uses real-time trading price data.

4. 結果の提示 4. Presentation of results

計算結果(最適な使用時間帯と予想電気料金)は、ユーザー端末に送信され、ユーザーに提示される。 The calculation results (optimal usage times and estimated electricity rates) are sent to the user's terminal and presented to the user.

具体例 Specific examples

例えば、ユーザーが「2023年10月1日の午後3時から午後6時までの間に充電したい」と入力した場合、サーバはその時間帯の取引価格を取得し、最も電気料金が安い時間帯を計算して提示する。 For example, if a user inputs "I want to charge between 3:00 PM and 6:00 PM on October 1, 2023," the server will retrieve the trading prices for that time period and calculate and present the time period with the cheapest electricity rates.

プロンプト文の例 Example prompt

生成AIモデルへ入力するプロンプト文の例: Example of a prompt to input to a generative AI model:

ユーザーが電気自動車の充電時間帯を入力すると、その時間帯の電力取引所の取引価格に基づいて最適な充電時間帯と電気料金を計算し、ユーザーに提示するシステムを設計してください。例えば、「2023年10月1日の午後3時から午後6時までの間に充電したい」と入力された場合、その時間帯の中で最も電気料金が安い時間帯を計算して提示します。 Design a system that, when a user inputs the time period they wish to charge their electric vehicle, calculates the optimal charging time and electricity rate based on the trading price on the power exchange for that time period and presents it to the user. For example, if a user inputs "I would like to charge between 3:00 PM and 6:00 PM on October 1, 2023," the system will calculate and present the time period with the cheapest electricity rate within that time period.

応用例3における特定処理の流れについて図16を用いて説明する。 The flow of the specific processing in Application Example 3 will be explained using Figure 16.

ステップ1: Step 1:

ユーザーが端末から電力使用情報を入力する。 The user enters power usage information from the device.

具体的には、ユーザーはスマートフォンやタブレットなどの端末を使用して、充電したい時間帯(例えば、「2023年10月1日の午後3時から午後6時まで」)を入力する。入力された情報は、端末からサーバに送信される。 Specifically, users use a device such as a smartphone or tablet to input the time period during which they would like to charge (for example, "October 1, 2023, from 3:00 PM to 6:00 PM"). The input information is then sent from the device to the server.

入力:充電したい時間帯 Input: Time of day you want to charge

出力:サーバに送信された電力使用情報 Output: Power usage information sent to the server

ステップ2: Step 2:

サーバが電力使用情報を受信する。 The server receives power usage information.

サーバは、ユーザー端末から送信された電力使用情報を受信し、その情報を解析する。受信した情報には、充電したい時間帯が含まれている。 The server receives and analyzes the power usage information sent from the user's device. The received information includes the time period during which the user wishes to charge.

入力:ユーザーから送信された電力使用情報 Input: Power usage information submitted by the user

出力:解析された電力使用情報 Output: Analyzed power usage information

ステップ3: Step 3:

サーバが電力取引所のAPIから取引価格を取得する。 The server obtains trading prices from the power exchange API.

サーバは、電力取引所のAPIを使用して、指定された時間帯の取引価格を取得する。取得された取引価格は、電気料金の計算に使用される。 The server uses the power exchange's API to obtain the trading price for the specified time period. The obtained trading price is used to calculate the electricity bill.

入力:解析された電力使用情報(充電したい時間帯) Input: Analyzed power usage information (time period you want to charge)

出力:指定された時間帯の取引価格 Output: Trading price for the specified time period

ステップ4: Step 4:

サーバが電気料金を計算する。 The server calculates the electricity bill.

サーバは、取得した取引価格に基づいて、ユーザーが指定した時間帯の電気料金を計算する。計算には、取引価格と使用時間が使用される。 The server calculates the electricity charges for the time period specified by the user based on the acquired transaction price. The transaction price and usage time are used for the calculation.

入力:指定された時間帯の取引価格、使用時間 Input: Trading price for the specified time period, usage time

出力:計算された電気料金 Output: Calculated electricity cost

ステップ5: Step 5:

サーバが最適な使用時間帯を計算する。 The server will calculate the optimal usage time.

サーバは、ユーザーが入力した時間帯の中で最も電気料金が安い時間帯を計算する。この計算には、リアルタイムの取引価格データが使用される。 The server calculates the cheapest electricity rate among the time periods entered by the user. This calculation uses real-time trading price data.

入力:指定された時間帯の取引価格、使用時間 Input: Trading price for the specified time period, usage time

出力:最適な使用時間帯 Output: Optimal usage time

ステップ6: Step 6:

サーバが計算結果をユーザーに提示する。 The server presents the calculation results to the user.

サーバは、計算した最適な使用時間帯と予想電気料金をユーザー端末に送信し、ユーザーに提示する。ユーザーは、提示された情報を基に最適な充電時間帯を選択することができる。 The server then sends the calculated optimal usage time and estimated electricity charges to the user's terminal and presents them to the user. The user can then select the optimal charging time based on the presented information.

入力:最適な使用時間帯、計算された電気料金 Input: Optimal usage time, calculated electricity rate

出力:ユーザーに提示された最適な使用時間帯と予想電気料金 Output: Optimal usage times and estimated electricity rates presented to the user

なお、更に、ユーザの感情を推定する感情エンジンを組み合わせてもよい。すなわち、特定処理部290は、感情特定モデル59を用いてユーザの感情を推定し、ユーザの感情を用いた特定処理を行うようにしてもよい。 It is also possible to further combine an emotion engine that estimates the user's emotion. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59 and perform identification processing using the user's emotion.

「形態例1」 "Example 1"

本発明の一実施形態として、感情エンジンを組み込んだシステムが提供される。このシステムは、ユーザーの声や表情、行動などから感情を認識し、その感情に応じて最適な家電の使用時間帯を提案する。例えば、ユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電(例:テレビやゲーム機)の使用を提案する。また、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェアやアロマディフューザー)の使用を提案する。これにより、ユーザーの感情に応じた最適な家電の使用時間帯を提案することが可能となる。 One embodiment of the present invention provides a system incorporating an emotion engine. This system recognizes emotions from the user's voice, facial expressions, actions, etc., and suggests optimal times to use home appliances based on those emotions. For example, if the user is expressing joy, the system suggests using home appliances that are highly entertaining (e.g., televisions or game consoles). Alternatively, if the user is feeling stressed, the system suggests using home appliances that contribute to relaxation (e.g., massage chairs or aroma diffusers). This makes it possible to suggest optimal times to use home appliances based on the user's emotions.

「形態例2」 "Example 2"

また、本発明の別の実施形態として、感情エンジンの認識結果に基づき、電気料金の提案を調整するシステムが提供される。このシステムは、ユーザーの感情に応じて電気料金の提案を最適化する。例えば、ユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電の使用時間帯を延長し、その結果として発生する電気料金の増加を提案する。一方、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電の使用時間帯を延長し、その結果として発生する電気料金の増加を提案する。これにより、ユーザーの感情に応じた最適な電気料金の提案を行うことが可能となる。 In another embodiment of the present invention, a system is provided that adjusts electricity rate proposals based on the recognition results of an emotion engine. This system optimizes electricity rate proposals according to the user's emotions. For example, if the user is expressing joy, the system extends the usage time periods for entertainment-oriented home appliances and proposes an increase in the resulting electricity bill. On the other hand, if the user is feeling stressed, the system extends the usage time periods for relaxation-oriented home appliances and proposes an increase in the resulting electricity bill. This makes it possible to propose optimal electricity rates according to the user's emotions.

「形態例3」 "Example 3"

本発明の一実施形態として、感情エンジンを組み込んだシステムが提供される。このシステムは、ユーザーの声や表情、行動などから感情を認識し、その感情に応じて最適な家電の使用時間帯を提案する。例えば、ユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電(例:テレビやゲーム機)の使用を提案する。また、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェアやアロマディフューザー)の使用を提案する。これにより、ユーザーの感情に応じた最適な家電の使用時間帯を提案することが可能となる。 One embodiment of the present invention provides a system incorporating an emotion engine. This system recognizes emotions from the user's voice, facial expressions, actions, etc., and suggests optimal times to use home appliances based on those emotions. For example, if the user is expressing joy, the system suggests using home appliances that are highly entertaining (e.g., televisions or game consoles). Alternatively, if the user is feeling stressed, the system suggests using home appliances that contribute to relaxation (e.g., massage chairs or aroma diffusers). This makes it possible to suggest optimal times to use home appliances based on the user's emotions.

以下に、各形態例の処理の流れについて説明する。 The processing flow for each example form is explained below.

「形態例1」 "Example 1"

ステップ1:システムは、ユーザーの声や表情、行動などから感情を認識する感情エンジンを起動する。 Step 1: The system activates an emotion engine that recognizes emotions from the user's voice, facial expressions, behavior, etc.

ステップ2:感情エンジンは、ユーザーの感情を認識し、その結果をシステムに伝える。ステップ3:システムは、感情エンジンからの結果に基づき、最適な家電の使用時間帯を計算する。 Step 2: The emotion engine recognizes the user's emotions and communicates the results to the system. Step 3: The system calculates the optimal time to use home appliances based on the results from the emotion engine.

ステップ4:システムは、計算した最適な使用時間帯をユーザーに提案する。 Step 4: The system will suggest the calculated optimal usage time to the user.

「形態例2」 "Example 2"

ステップ1:システムは、ユーザーの声や表情、行動などから感情を認識する感情エンジンを起動する。 Step 1: The system activates an emotion engine that recognizes emotions from the user's voice, facial expressions, behavior, etc.

ステップ2:感情エンジンは、ユーザーの感情を認識し、その結果をシステムに伝える。ステップ3:システムは、感情エンジンからの結果に基づき、電気料金の提案を調整する。 Step 2: The emotion engine recognizes the user's emotions and communicates the results to the system. Step 3: The system adjusts the electricity rate proposal based on the results from the emotion engine.

ステップ4:システムは、調整した電気料金の提案をユーザーに伝える。 Step 4: The system communicates the adjusted electricity rate proposal to the user.

「形態例3」 "Example 3"

ステップ1:システムは、ユーザーの声や表情、行動などから感情を認識する感情エンジンを起動する。 Step 1: The system activates an emotion engine that recognizes emotions from the user's voice, facial expressions, behavior, etc.

ステップ2:感情エンジンは、ユーザーの感情を認識し、その結果をシステムに伝える。ステップ3:システムは、感情エンジンからの結果に基づき、最適な家電の使用時間帯を計算する。 Step 2: The emotion engine recognizes the user's emotions and communicates the results to the system. Step 3: The system calculates the optimal time to use home appliances based on the results from the emotion engine.

ステップ4:システムは、計算した最適な使用時間帯をユーザーに提案する。 Step 4: The system will suggest the calculated optimal usage time to the user.

(実施例1) (Example 1)

次に、形態例1の実施例1について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ロボット414を「端末」と称する。 Next, Example 1 of Form Example 1 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the robot 414 will be referred to as the "terminal."

従来の電気料金計算システムでは、電力市場の取引価格に基づく電気料金の計算が行われているが、ユーザーの感情や行動に基づいた最適な家電の使用時間帯の提案が行われていない。そのため、ユーザーの感情に応じた家電の使用を促進することができず、ユーザーの満足度を向上させることが難しいという課題がある。 Conventional electricity bill calculation systems calculate electricity bills based on the trading price in the electricity market, but do not suggest optimal times to use home appliances based on the user's emotions or behavior. As a result, they are unable to promote the use of home appliances in accordance with the user's emotions, making it difficult to improve user satisfaction.

実施例1におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 1 is realized by the following means.

この発明では、サーバは、電力市場から取引価格情報を取得する手段と、取得した取引価格情報を解析し電気料金の単価を算出する手段と、ユーザーの消費電力量を取得する手段と、電気料金の単価と消費電力量を基に電気料金を計算する手段と、計算結果をユーザーに通知する手段と、ユーザーの声や表情、行動を収集する手段と、収集したデータを解析しユーザーの感情を認識する手段と、認識した感情に基づいて最適な家電の使用時間帯を提案する手段と、提案内容をユーザーに通知する手段を含む。これにより、ユーザーの感情に応じた最適な家電の使用時間帯を提案し、ユーザーの満足度を向上させることが可能となる。 In this invention, the server includes means for acquiring trading price information from the electricity market, means for analyzing the acquired trading price information and calculating the unit price of electricity, means for acquiring the user's power consumption, means for calculating the electricity bill based on the unit price of electricity and the power consumption, means for notifying the user of the calculation results, means for collecting the user's voice, facial expressions, and behavior, means for analyzing the collected data and recognizing the user's emotions, means for proposing optimal times for using home appliances based on the recognized emotions, and means for notifying the user of the proposed content. This makes it possible to suggest optimal times for using home appliances based on the user's emotions, thereby improving user satisfaction.

「電力市場」とは、電力の売買が行われる市場であり、電力の取引価格が決定される場所である。 An "electricity market" is a market where electricity is bought and sold, and where the trading price of electricity is determined.

「取引価格情報」とは、電力市場における電力の売買価格に関するデータである。 "Trading price information" refers to data regarding the buying and selling prices of electricity in the electricity market.

「電気料金の単価」とは、一定量の電力に対する料金を示す価格であり、取引価格情報に基づいて算出されるものである。 "Electricity unit price" refers to the price per unit of electricity, calculated based on transaction price information.

「消費電力量」とは、ユーザーが一定期間に消費した電力の量を示すデータである。 "Power consumption" is data that indicates the amount of electricity consumed by a user over a certain period of time.

「電気料金」とは、消費電力量に電気料金の単価を掛け合わせて算出される料金である。 "Electricity charge" is a charge calculated by multiplying the amount of electricity consumed by the unit price of electricity.

「ユーザーの声や表情、行動」とは、ユーザーが発する音声、顔の表情、身体の動きなどの情報を指す。 "User's voice, facial expressions, and actions" refers to information such as the voice, facial expressions, and body movements made by the user.

「感情を認識する手段」とは、ユーザーの声や表情、行動を解析し、ユーザーの感情を特定するための技術や装置である。 "Means for recognizing emotions" refers to technology or devices that analyze a user's voice, facial expressions, and behavior to identify the user's emotions.

「最適な家電の使用時間帯」とは、ユーザーの感情や行動に基づいて、家電を使用するのに最も適した時間帯を指す。 "Optimal time to use home appliances" refers to the most suitable time to use home appliances based on the user's emotions and behavior.

「提案内容をユーザーに通知する手段」とは、計算結果や提案内容をユーザーに伝えるための技術や装置である。 "Means for notifying users of proposal content" refers to technology or devices used to communicate calculation results and proposal content to users.

本発明は、市場連動型プランに基づく電気料金を計算し、ユーザーの感情に応じた最適な家電の使用時間帯を提案するシステムである。このシステムは、サーバと端末を含む複数のコンポーネントから構成される。 This invention is a system that calculates electricity rates based on market-linked plans and suggests optimal times for using home appliances based on the user's emotions. This system consists of multiple components, including a server and a terminal.

まず、サーバは電力市場から取引価格情報を取得する。取引価格情報は、電力市場における電力の売買価格に関するデータであり、APIを通じて取得される。例えば、HTTPリクエストを送信し、JSON形式で価格データを受け取る。サーバはこのデータを解析し、一定期間(例:1時間ごと)の平均価格を計算するために、Pythonのpandasライブラリを使用する。具体的には、JSONデータをpandasのDataFrameに変換し、resample('H').mean()メソッドを使用して1時間ごとの平均価格を計算する。 First, the server obtains trading price information from the electricity market. Trading price information is data on the buying and selling prices of electricity in the electricity market, and is obtained through an API. For example, an HTTP request is sent and price data is received in JSON format. The server analyzes this data and uses Python's pandas library to calculate the average price over a certain period (e.g., every hour). Specifically, it converts the JSON data into a pandas DataFrame and calculates the average price for each hour using the resample('H').mean() method.

次に、サーバはユーザーのスマートメーターから消費電力量データを取得する。スマートメーターのデータは、IoTデバイスからMQTTプロトコルを使用して送信される。サーバはMQTTブローカーに接続し、ユーザーの消費電力量データを受信する。受信したデータを基に、電気料金の単価と消費電力量を掛け合わせて電気料金を計算する。例えば、単価が10円/kWhで消費電力量が5kWhの場合、電気料金は50円となる。計算結果は、SMTPプロトコルを使用してメールを送信するか、Firebase Cloud Messagingを使用してプッシュ通知を送信することで、ユーザーに通知される。 Next, the server obtains power consumption data from the user's smart meter. Smart meter data is sent from the IoT device using the MQTT protocol. The server connects to the MQTT broker and receives the user's power consumption data. Based on the received data, the electricity bill is calculated by multiplying the electricity rate by the amount of power consumed. For example, if the unit price is 10 yen/kWh and the amount of power consumed is 5kWh, the electricity bill will be 50 yen. The calculation result is notified to the user by sending an email using the SMTP protocol or a push notification using Firebase Cloud Messaging.

一方、端末はユーザーの声や表情、行動を収集する。これには、カメラやマイクを使用し、音声認識にはGoogle Cloud Speech-to-Text API、顔認識にはOpenCVを使用する。端末はカメラでユーザーの顔をキャプチャし、OpenCVを使用して顔の特徴点を抽出する。また、マイクで音声を録音し、Google Cloud Speech-to-Text APIを使用してテキストに変換する。収集したデータを解析し、ユーザーの感情を認識するために、Microsoft Azure Emotion APIを使用する。端末は顔の特徴点データをMicrosoft Azure Emotion APIに送信し、感情ラベル(例:喜び、悲しみ、怒り)を取得する。 Meanwhile, the device collects the user's voice, facial expressions, and behavior. To do this, it uses a camera and microphone, and uses the Google Cloud Speech-to-Text API for voice recognition and OpenCV for facial recognition. The device captures the user's face with the camera and extracts facial feature points using OpenCV. It also records audio with the microphone and converts it into text using the Google Cloud Speech-to-Text API. The Microsoft Azure Emotion API is used to analyze the collected data and recognize the user's emotions. The device sends the facial feature point data to the Microsoft Azure Emotion API and obtains an emotion label (e.g., joy, sadness, anger).

認識した感情に基づいて、端末は最適な家電の使用時間帯を提案する。例えば、ユーザーが喜びの感情を示している場合、テレビの使用を提案する。また、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェアやアロマディフューザー)の使用を提案する。提案内容は、Firebase Cloud Messagingを使用してプッシュ通知を送信するか、音声アシスタントを通じて提案内容を音声で伝える。 Based on the recognized emotions, the device will suggest optimal times to use home appliances. For example, if the user is expressing joy, it will suggest using the television. If the user is feeling stressed, it will suggest using appliances that contribute to relaxation (e.g., a massage chair or aroma diffuser). Suggestions are sent via push notifications using Firebase Cloud Messaging or spoken through the voice assistant.

具体例として、ユーザーが1時間に5kWhの電力を消費し、その時間帯の取引価格が10円/kWhであった場合、電気料金は50円となる。また、ユーザーがカメラに向かって笑顔を見せた場合、システムはユーザーが喜びの感情を示していると認識し、テレビの使用を提案する。 For example, if a user consumes 5kWh of electricity in one hour and the trading price for that time period is 10 yen/kWh, the electricity bill will be 50 yen. Also, if the user smiles at the camera, the system recognizes that the user is expressing a happy emotion and suggests using the television.

プロンプト文の例としては、「電力取引所から取得した取引価格情報を基に、1時間ごとの電気料金を計算してください。」や「ユーザーの声や表情から感情を認識し、その感情に応じて最適な家電の使用時間帯を提案してください。」が挙げられる。 Examples of prompts include, "Calculate the hourly electricity bill based on trading price information obtained from the power exchange," and "Recognize the user's emotions from their voice and facial expressions, and suggest the optimal times to use home appliances based on those emotions."

実施例1における特定処理の流れについて図17を用いて説明する。 The flow of the identification process in Example 1 will be explained using Figure 17.

ステップ1: Step 1:

サーバは、電力市場から取引価格情報を取得する。 The server obtains trading price information from the electricity market.

入力: 電力市場のAPIエンドポイント。 Input: Power market API endpoint.

具体的な動作: サーバは「https://api.electricity-market.com/prices」のようなエンドポイントにHTTPリクエストを送信し、取引価格情報をJSON形式で受け取る。 Specific operation: The server sends an HTTP request to an endpoint such as "https://api.electricity-market.com/prices" and receives trading price information in JSON format.

出力: 取得した取引価格情報(JSONデータ)。 Output: Retrieved trading price information (JSON data).

ステップ2: Step 2:

サーバは、取得した取引価格情報を解析し、電気料金の単価を算出する。 The server analyzes the acquired transaction price information and calculates the unit price of electricity.

入力: 取引価格情報(JSONデータ)。 Input: Trading price information (JSON data).

具体的な動作: サーバはJSONデータをpandasのDataFrameに変換し、resample('H').mean()メソッドを使用して1時間ごとの平均価格を計算する。 Specific operation: The server converts the JSON data into a pandas DataFrame and calculates the average price for each hour using the resample('H').mean() method.

出力: 1時間ごとの平均価格(電気料金の単価)。 Output: Average hourly price (unit price of electricity).

ステップ3: Step 3:

サーバは、ユーザーのスマートメーターから消費電力量データを取得する。 The server obtains power consumption data from the user's smart meter.

入力: スマートメーターのデータ(MQTTメッセージ)。 Input: Smart meter data (MQTT message).

具体的な動作: サーバはMQTTブローカーに接続し、ユーザーの消費電力量データを受信する。 Specific operation: The server connects to the MQTT broker and receives the user's power consumption data.

出力: ユーザーの消費電力量データ。 Output: User power consumption data.

ステップ4: Step 4:

サーバは、電気料金の単価と消費電力量を基に電気料金を計算する。 The server calculates the electricity bill based on the unit price of electricity and the amount of electricity consumed.

入力: 電気料金の単価、消費電力量データ。 Input: Electricity unit price and power consumption data.

具体的な動作: サーバは計算式 料金 = 単価 消費電力量 を実行し、電気料金を算出する。 Specific operation: The server executes the formula: Charge = Unit Price Power Consumption to calculate the electricity charge.

出力: 計算された電気料金。 Output: Calculated electricity cost.

ステップ5: Step 5:

サーバは、計算結果をユーザーに通知する。 The server notifies the user of the calculation results.

入力: 計算された電気料金。 Input: Calculated electricity cost.

具体的な動作: サーバはSMTPプロトコルを使用してメールを送信するか、Firebase Cloud Messagingを使用してプッシュ通知を送信する。 Specific behavior: The server sends emails using the SMTP protocol or push notifications using Firebase Cloud Messaging.

出力: ユーザーに通知された電気料金。 Output: The electricity charge notified to the user.

ステップ6: Step 6:

端末は、ユーザーの声や表情、行動を収集する。 The device collects the user's voice, facial expressions, and behavior.

入力: ユーザーの声、表情、行動。 Input: User's voice, facial expressions, and actions.

具体的な動作: 端末はカメラでユーザーの顔をキャプチャし、OpenCVを使用して顔の特徴点を抽出する。また、マイクで音声を録音し、Google Cloud Speech-to-Text APIを使用してテキストに変換する。 Specific operations: The device captures the user's face with the camera and extracts facial feature points using OpenCV. It also records audio with the microphone and converts it to text using the Google Cloud Speech-to-Text API.

出力: ユーザーの声や表情、行動のデータ。 Output: User's voice, facial expression, and behavioral data.

ステップ7: Step 7:

端末は、収集したデータを解析し、ユーザーの感情を認識する。 The device analyzes the collected data and recognizes the user's emotions.

入力: ユーザーの声や表情、行動のデータ。 Input: User voice, facial expression, and behavioral data.

具体的な動作: 端末は顔の特徴点データをMicrosoft Azure Emotion APIに送信し、感情ラベル(例:喜び、悲しみ、怒り)を取得する。 Specific operation: The device sends facial feature point data to the Microsoft Azure Emotion API and obtains an emotion label (e.g., happy, sad, or angry).

出力: 認識された感情ラベル。 Output: Recognized emotion label.

ステップ8: Step 8:

端末は、認識した感情に基づいて最適な家電の使用時間帯を提案する。 The device will suggest optimal times to use home appliances based on the emotions it recognizes.

入力: 認識された感情ラベル。 Input: Recognized emotion label.

具体的な動作: 端末は感情ラベルを基に、事前に設定された家電のリストから最適な家電を選択し、使用時間帯を提案する。 Specific operation: Based on the emotion label, the device selects the most suitable appliance from a pre-defined list and suggests usage times.

出力: 提案された家電の使用時間帯。 Output: Suggested appliance usage times.

ステップ9: Step 9:

端末は、提案内容をユーザーに通知する。 The device will notify the user of the suggestions.

入力: 提案された家電の使用時間帯。 Input: Suggested appliance usage time period.

具体的な動作: 端末はFirebase Cloud Messagingを使用してプッシュ通知を送信するか、音声アシスタントを通じて提案内容を音声で伝える。 What happens: The device will send a push notification using Firebase Cloud Messaging or speak the suggestion through your voice assistant.

出力: ユーザーに通知された提案内容。 Output: The suggestion notified to the user.

(応用例1) (Application Example 1)

次に、形態例1の応用例1について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ロボット414を「端末」と称する。 Next, we will explain Application Example 1 of Form Example 1. In the following explanation, the data processing device 12 will be referred to as the "server" and the robot 414 will be referred to as the "terminal."

従来の電気料金計算システムは、市場連動型プランに基づく電気料金の計算や、ユーザーからの家電使用情報に基づく最適な使用時間帯の提案に限定されていた。しかし、ユーザーの感情状態を考慮した家電の使用提案が行われていないため、ユーザーの満足度や快適性を向上させることができなかった。また、感情に基づく家電の使用提案がないため、ユーザーの心理的なニーズに応じたエネルギー管理が実現できていなかった。 Conventional electricity bill calculation systems were limited to calculating electricity rates based on market-linked plans and suggesting optimal usage times based on information about home appliance usage from users. However, because they did not consider the user's emotional state when making suggestions about home appliance usage, they were unable to improve user satisfaction or comfort. Furthermore, because they did not make suggestions about home appliance usage based on emotions, energy management that responded to the user's psychological needs was not possible.

応用例1におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーの感情を認識する手段と、認識した感情に基づいて最適な家電の使用を提案する手段と、を含む。これにより、ユーザーの感情状態に応じた最適な家電の使用提案が可能となり、ユーザーの満足度や快適性を向上させることができる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from a user, means for calculating optimal usage times based on the received home appliance usage information, means for proposing the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions, and means for proposing optimal home appliance usage based on the recognized emotions. This makes it possible to suggest optimal home appliance usage based on the user's emotional state, thereby improving user satisfaction and comfort.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を算出するための装置またはソフトウェアである。 "Means for calculating electricity charges" means a device or software for calculating electricity charges based on a market-linked plan.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用したい家電の種類や使用時間を入力するためのインターフェースである。 "Means for receiving home appliance usage information from users" refers to an interface that allows users to input the type of home appliance they wish to use and the usage time.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報に基づいて、最も効率的な使用時間帯を算出する装置またはソフトウェアである。 "Means for calculating optimal usage time periods" refers to a device or software that calculates the most efficient usage time periods based on the received home appliance usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知するためのインターフェースである。 "Means for making suggestions to users" refers to an interface that notifies users of the calculated optimal usage time and electricity charges.

「ユーザーの感情を認識する手段」とは、ユーザーの声や表情、行動などから感情を検出するための装置またはソフトウェアである。 "Means for recognizing user emotions" refers to devices or software that detect emotions from the user's voice, facial expressions, behavior, etc.

「最適な家電の使用を提案する手段」とは、認識した感情に基づいて、ユーザーに最適な家電の使用を提案するための装置またはソフトウェアである。 "Means for suggesting optimal home appliance usage" refers to a device or software that suggests optimal home appliance usage to a user based on recognized emotions.

この発明を実施するための形態として、以下のシステム構成を説明する。 The following system configuration is described as an embodiment of this invention.

システム構成 System Configuration

サーバは、市場連動型プランに基づく電気料金を計算する手段、ユーザーからの家電使用情報を受け取る手段、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段、計算した最適な使用時間帯と電気料金をユーザーに提案する手段、ユーザーの感情を認識する手段、認識した感情に基づいて最適な家電の使用を提案する手段を含む。 The server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from a user, means for calculating optimal usage times based on the received home appliance usage information, means for suggesting the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions, and means for suggesting optimal home appliance usage based on the recognized emotions.

プログラムの処理 Program processing

サーバは、まず電力取引所の取引価格情報を取得する。この情報は、APIを通じて取得される。次に、取得した取引価格情報を基に電気料金を計算する。計算された電気料金は、ユーザーが入力した家電使用情報に基づいて最適な使用時間帯を算出するために使用される。 The server first obtains trading price information from the power exchange. This information is obtained via an API. Next, it calculates the electricity bill based on the obtained trading price information. The calculated electricity bill is used to calculate the optimal usage time based on the appliance usage information entered by the user.

ユーザーの感情を認識するために、サーバは感情認識ソフトウェアを使用する。このソフトウェアは、ユーザーの声や表情、行動などから感情を検出する。認識された感情に基づいて、サーバは最適な家電の使用を提案する。 To recognize the user's emotions, the server uses emotion recognition software. This software detects emotions from the user's voice, facial expressions, and behavior. Based on the recognized emotions, the server suggests the optimal use of home appliances.

使用するハードウェアおよびソフトウェア Hardware and software used

ハードウェア:サーバ、ユーザー端末(スマートフォン、タブレットなど) Hardware: Servers, user devices (smartphones, tablets, etc.)

ソフトウェア:感情認識ソフトウェア、電力取引所API、家電制御ソフトウェア Software: Emotion recognition software, power exchange API, home appliance control software

具体例 Specific examples

例えば、ユーザーがスマートフォンを使用している場合、スマートフォンのカメラを使用して顔を認識させる。アプリがユーザーの感情を「ストレス」と認識した場合、サーバは「マッサージチェア」と「アロマディフューザー」の使用を提案する。現在の電力価格に基づいて、これらの家電の使用コストを計算し、ユーザーに通知する。 For example, if a user is using a smartphone, the app uses the smartphone's camera to recognize their face. If the app recognizes the user's emotion as "stress," the server will suggest using a "massage chair" and an "aroma diffuser." Based on the current electricity price, the server will calculate the cost of using these appliances and notify the user.

プロンプト文の例 Example prompt

ユーザーの感情を認識し、最適な家電の使用時間帯を提案するスマートフォンアプリを設計してください。アプリは電力取引所の取引価格情報を取得し、それに基づいて電気料金を計算します。ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェアやアロマディフューザー)の使用を提案します。 Design a smartphone app that recognizes the user's emotions and suggests optimal times to use home appliances. The app retrieves trading price information from the power exchange and calculates electricity bills based on that information. If the user is feeling stressed, it suggests using home appliances that contribute to relaxation (e.g., a massage chair or aroma diffuser).

応用例1における特定処理の流れについて図18を用いて説明する。 The flow of the specific processing in Application Example 1 is explained using Figure 18.

ステップ1: Step 1:

サーバは、電力取引所の取引価格情報を取得する。 The server obtains trading price information from the power exchange.

入力:電力取引所APIのエンドポイント Input: Power Exchange API endpoint

データ加工:APIリクエストを送信し、取引価格情報を取得する Data processing: Send API requests and obtain trading price information.

出力:取引価格情報(JSON形式) Output: Trading price information (JSON format)

ステップ2: Step 2:

サーバは、取得した取引価格情報を基に電気料金を計算する。 The server calculates electricity charges based on the acquired transaction price information.

入力:取引価格情報 Input: Transaction price information

データ演算:取引価格情報から現在の電力単価を抽出し、使用量に応じた電気料金を計算する Data calculation: Extracts current electricity unit prices from trading price information and calculates electricity charges based on usage.

出力:計算された電気料金 Output: Calculated electricity cost

ステップ3: Step 3:

ユーザは、スマートフォンを使用して家電使用情報を入力する。 Users enter home appliance usage information using their smartphones.

入力:家電の種類、使用時間 Input: Type of appliance, usage time

データ加工:入力された情報をサーバに送信する Data processing: Send the entered information to the server.

出力:家電使用情報 Output: Appliance usage information

ステップ4: Step 4:

サーバは、受け取った家電使用情報に基づき最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the received appliance usage information.

入力:家電使用情報、取引価格情報 Input: Appliance usage information, transaction price information

データ演算:家電使用情報と取引価格情報を組み合わせて、最もコスト効率の良い使用時間帯を算出する Data calculation: Combining appliance usage information and transaction price information to calculate the most cost-effective usage times.

出力:最適な使用時間帯 Output: Optimal usage time

ステップ5: Step 5:

サーバは、計算した最適な使用時間帯と電気料金をユーザに提案する。 The server then proposes the optimal usage time and electricity rates to the user.

入力:最適な使用時間帯、計算された電気料金 Input: Optimal usage time, calculated electricity rate

データ加工:提案内容を生成し、ユーザ端末に送信する Data processing: Generate proposals and send them to the user's device.

出力:提案内容(最適な使用時間帯と電気料金) Output: Recommendations (optimal usage time and electricity rates)

ステップ6: Step 6:

ユーザは、スマートフォンのカメラを使用して顔を認識させる。 The user uses their smartphone camera to recognize their face.

入力:ユーザの顔画像 Input: User's face image

データ加工:顔画像をサーバに送信する Data processing: Send facial images to the server

出力:顔画像データ Output: Facial image data

ステップ7: Step 7:

サーバは、感情認識ソフトウェアを使用してユーザの感情を認識する。 The server uses emotion recognition software to recognize the user's emotions.

入力:顔画像データ Input: Facial image data

データ演算:顔画像データを解析し、感情を認識する Data calculation: Analyze facial image data and recognize emotions

出力:認識された感情 Output: Recognized emotion

ステップ8: Step 8:

サーバは、認識した感情に基づいて最適な家電の使用を提案する。 The server then suggests the optimal use of home appliances based on the recognized emotions.

入力:認識された感情 Input: Recognized emotion

データ演算:感情に応じた家電の使用提案を生成する Data calculation: Generate home appliance usage suggestions based on emotions

出力:家電使用提案 Output: Home appliance usage suggestion

ステップ9: Step 9:

サーバは、提案された家電の使用コストを計算し、ユーザに通知する。 The server calculates the cost of using the proposed appliances and notifies the user.

入力:家電使用提案、取引価格情報 Input: Appliance usage proposals, transaction price information

データ演算:提案された家電の使用コストを計算する Data calculation: Calculate the usage costs of proposed appliances

出力:使用コスト通知 Output: Usage cost notification

(実施例2) (Example 2)

次に、形態例2の実施例2について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ロボット414を「端末」と称する。 Next, Example 2 of Form Example 2 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the robot 414 will be referred to as the "terminal."

従来の電気料金計算システムでは、ユーザーの家電使用情報に基づいて最適な使用時間帯を計算することはできるが、ユーザーの感情状態を考慮した電気料金の提案ができないという課題があった。これにより、ユーザーの感情に応じた最適な家電使用提案ができず、ユーザーの満足度を向上させることが難しかった。 Conventional electricity bill calculation systems can calculate optimal usage times based on a user's appliance usage information, but they have the problem of not being able to propose electricity bills that take into account the user's emotional state. This makes it difficult to propose optimal appliance usage based on the user's emotions, making it difficult to improve user satisfaction.

実施例2におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 2 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、ユーザーの感情を認識する手段と、認識した感情に基づき電気料金の提案を調整する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、を含む。これにより、ユーザーの感情に応じた最適な家電使用提案と電気料金の調整が可能となる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from the user, means for calculating optimal usage time periods based on the received home appliance usage information, means for recognizing the user's emotions, means for adjusting the proposed electricity charge based on the recognized emotions, and means for proposing the calculated optimal usage time periods and electricity charges to the user. This makes it possible to propose optimal home appliance usage and adjust electricity charges according to the user's emotions.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、電力消費量と市場連動型プランに基づいて電気料金を算出するための機能である。 "Means for calculating electricity charges" is a function for calculating electricity charges based on electricity consumption and a market-linked plan.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが入力した家電の種類と使用時間をシステムに取り込むための機能である。 "Means for receiving home appliance usage information from users" is a function for incorporating the type of home appliance and usage time entered by the user into the system.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報を基に、電力消費パターンや過去のデータを考慮して、家電の最適な使用時間帯を算出するための機能である。 "Means for calculating optimal usage times" is a function that calculates the optimal usage times for home appliances based on received home appliance usage information, taking into account power consumption patterns and past data.

「ユーザーの感情を認識する手段」とは、ユーザーの感情状態を分析し、認識するための機能である。 "Means for recognizing user emotions" refers to a function for analyzing and recognizing the user's emotional state.

「電気料金の提案を調整する手段」とは、認識したユーザーの感情に基づいて、電気料金の提案内容を最適化するための機能である。 "Means for adjusting electricity rate proposals" is a function for optimizing electricity rate proposals based on recognized user emotions.

「計算した最適な使用時間帯と電気料金をユーザーに提案する手段」とは、算出された最適な使用時間帯と調整された電気料金をユーザーに通知するための機能である。 "Means for proposing the calculated optimal usage time periods and electricity charges to the user" is a function for notifying the user of the calculated optimal usage time periods and adjusted electricity charges.

発明を実施するための形態 Form for implementing the invention

この発明は、ユーザーからの家電使用情報を受け取り、それを基に最適な使用時間帯を計算し、さらにユーザーの感情に基づいて電気料金の提案を調整するシステムである。このシステムは、以下のようなハードウェアおよびソフトウェアを使用して実施される。 This invention is a system that receives information about home appliance usage from users, calculates optimal usage times based on that information, and adjusts electricity rate proposals based on the user's emotions. This system is implemented using the following hardware and software.

使用するハードウェアおよびソフトウェア Hardware and software used

ハードウェア Hardware

端末:ユーザーが入力情報を提供するためのデバイス(例:スマートフォン、タブレット、PC) Device: The device on which the user provides input information (e.g., smartphone, tablet, PC)

サーバ:データの処理と保存を行うためのサーバ Server: Server for processing and storing data

ソフトウェア Software

感情エンジン:ユーザーの感情を認識するためのソフトウェア(例:感情認識API) Emotion engine: Software for recognizing user emotions (e.g., emotion recognition API)

データベース:家電使用情報やユーザーの感情データを保存するためのデータベース(例:MySQL、PostgreSQL) Database: A database for storing appliance usage information and user emotion data (e.g., MySQL, PostgreSQL)

システムの具体的な動作 Specific system operation

1. ユーザーの入力情報の収集 1. Collection of user input information

ユーザーは、端末を使用して、使用したい家電の種類と希望する使用時間を入力する。 Users use the terminal to input the type of appliance they want to use and the desired usage time.

具体的な動作として、ユーザーはアプリケーションの入力フォームに「エアコン」「午後2時から午後4時まで」といった情報を入力する。 Specific actions involve the user entering information such as "air conditioner" and "2:00 PM to 4:00 PM" into the application's input form.

2. 入力情報の送信 2. Submitting input information

端末は、ユーザーが入力した情報をサーバに送信する。 The device sends the information entered by the user to the server.

具体的な動作として、端末はHTTPリクエストを使用して、入力情報をサーバに送信する。 Specific operations involve the device sending input information to the server using an HTTP request.

3. 家電の使用時間帯の計算 3. Calculating appliance usage times

サーバは、受け取った家電の種類と使用時間を基に、最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the type of appliance and usage time received.

具体的な動作として、サーバは過去の使用データや電力消費パターンを考慮するアルゴリズムを実行し、最適な使用時間帯を算出する。 Specifically, the server runs an algorithm that takes into account past usage data and power consumption patterns to calculate the optimal usage time period.

例えば、サーバは「エアコンの使用は午後2時から午後4時が最適」と計算する。 For example, the server might calculate that the best time to use the air conditioner is between 2:00 PM and 4:00 PM.

4. 感情エンジンによる感情認識 4. Emotion Recognition Using an Emotion Engine

サーバは、感情エンジンを使用して、ユーザーの感情を認識する。 The server uses an emotion engine to recognize the user's emotions.

具体的な動作として、サーバはユーザーの顔画像や音声データを感情エンジンに入力し、感情状態(例:喜び、ストレス)を取得する。 Specifically, the server inputs the user's facial image and voice data into the emotion engine to obtain their emotional state (e.g., joy, stress).

5. 電気料金の提案調整 5. Proposal for adjusting electricity rates

サーバは、感情エンジンの認識結果に基づき、電気料金の提案を調整する。 The server adjusts the electricity rate suggestions based on the emotion engine's recognition results.

具体的な動作として、サーバはユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電(例:テレビ)の使用時間帯を延長し、その結果として発生する電気料金の増加を提案する。 Specific behavior is that if the user expresses happiness, the server will extend the usage time of entertainment-oriented home appliances (e.g., televisions) and suggest an increase in the resulting electricity bill.

一方、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェア)の使用時間帯を延長する提案を行う。 On the other hand, if the user is feeling stressed, we will suggest extending the usage time of home appliances that contribute to relaxation (e.g., massage chairs).

6. 結果のユーザーへの通知 6. Notifying users of results

サーバは、計算結果と提案内容を端末に送信する。 The server sends the calculation results and suggestions to the device.

端末は、受け取った情報をユーザーに通知する。 The device will notify the user of the received information.

具体的な動作として、端末はプッシュ通知やアプリ内メッセージを使用して、ユーザーに「エアコンの使用は午後2時から午後4時が最適です。また、テレビの使用時間を延長することをお勧めします」と通知する。 Specific actions include the device informing the user via push notifications and in-app messages that "The best time to use the air conditioner is between 2:00 PM and 4:00 PM. We also recommend extending the TV usage time."

具体例 Specific examples

ユーザーの入力 User input

ユーザーがスマートフォンを使用して、「エアコンを午後2時から午後4時まで使用したい」と入力する。 A user uses their smartphone to enter, "I want to use the air conditioner from 2:00 PM to 4:00 PM."

サーバの処理 Server processing

サーバは、エアコンの使用時間帯を計算し、過去のデータや電力消費パターンを考慮して最適な時間帯を提案する。 The server calculates the hours when the air conditioner will be used and suggests the optimal times based on past data and power consumption patterns.

感情エンジンがユーザーの感情を「喜び」と認識した場合、エンターテイメント性の高い家電(例:テレビ)の使用時間帯を延長する提案を行う。 If the emotion engine recognizes the user's emotion as "joy," it will suggest extending the usage time of entertainment-oriented home appliances (e.g., television).

生成AIモデルへのプロンプト文の例 Example prompt for a generative AI model

「ユーザーがエアコンを午後2時から午後4時まで使用したいと入力しました。最適な使用時間帯を計算し、ユーザーの感情が喜びの場合、エンターテイメント性の高い家電の使用時間帯を延長する提案を行ってください。」 "The user inputs that they want to use the air conditioner from 2:00 PM to 4:00 PM. Calculate the optimal usage time, and if the user's emotion is joy, suggest extending the usage time of entertainment appliances."

このシステムにより、ユーザーは効率的に家電を使用できるだけでなく、感情に応じた最適な電気料金の提案を受けることができる。 This system not only allows users to use their home appliances efficiently, but also allows them to receive optimal electricity rate suggestions based on their emotions.

実施例2における特定処理の流れについて図19を用いて説明する。 The flow of the identification process in Example 2 will be explained using Figure 19.

ステップ1: Step 1:

ユーザーの入力情報の収集 Collecting user input information

ユーザーは、端末を使用して、使用したい家電の種類と希望する使用時間を入力する。 Users use the terminal to input the type of appliance they want to use and the desired usage time.

入力:ユーザーがアプリケーションの入力フォームに「エアコン」「午後2時から午後4時まで」といった情報を入力する。 Input: The user enters information such as "air conditioner" and "2:00 PM to 4:00 PM" into the application's input form.

出力:入力された家電の種類と使用時間のデータ。 Output: Data on the type of appliance and usage time entered.

具体的な動作:ユーザーがスマートフォンのアプリケーションを開き、家電の種類と使用時間を入力フォームに入力し、送信ボタンを押す。 Specific operation: The user opens the smartphone application, enters the type of appliance and usage time into the input form, and presses the submit button.

ステップ2: Step 2:

入力情報の送信 Submit input information

端末は、ユーザーが入力した情報をサーバに送信する。 The device sends the information entered by the user to the server.

入力:ユーザーが入力した家電の種類と使用時間のデータ。 Input: Data on the type of appliance and usage time entered by the user.

出力:サーバに送信された家電の種類と使用時間のデータ。 Output: Data on the type of appliance and usage time sent to the server.

具体的な動作:端末はHTTPリクエストを生成し、入力されたデータをサーバに送信する。 Specific operation: The device generates an HTTP request and sends the entered data to the server.

ステップ3: Step 3:

家電の使用時間帯の計算 Calculating appliance usage times

サーバは、受け取った家電の種類と使用時間を基に、最適な使用時間帯を計算する。 The server calculates the optimal usage time based on the type of appliance and usage time received.

入力:サーバに送信された家電の種類と使用時間のデータ。 Input: Data on the type of appliance and usage time sent to the server.

出力:最適な使用時間帯のデータ。 Output: Data on optimal usage times.

具体的な動作:サーバは過去の使用データや電力消費パターンを考慮するアルゴリズムを実行し、最適な使用時間帯を算出する。例えば、「エアコンの使用は午後2時から午後4時が最適」と計算する。 Specific operation: The server runs an algorithm that takes into account past usage data and power consumption patterns to calculate the optimal usage time. For example, it may calculate that the optimal time to use the air conditioner is between 2:00 PM and 4:00 PM.

ステップ4: Step 4:

感情エンジンによる感情認識 Emotion recognition using an emotion engine

サーバは、感情エンジンを使用して、ユーザーの感情を認識する。 The server uses an emotion engine to recognize the user's emotions.

入力:ユーザーの顔画像や音声データ。 Input: User's facial image and voice data.

出力:ユーザーの感情状態(例:喜び、ストレス)。 Output: User's emotional state (e.g., happy, stressed).

具体的な動作:サーバはユーザーの顔画像や音声データを感情エンジンに入力し、感情状態を取得する。 Specific operation: The server inputs the user's facial image and voice data into the emotion engine to obtain their emotional state.

ステップ5: Step 5:

電気料金の提案調整 Proposed adjustment of electricity rates

サーバは、感情エンジンの認識結果に基づき、電気料金の提案を調整する。 The server adjusts the electricity rate suggestions based on the emotion engine's recognition results.

入力:ユーザーの感情状態と最適な使用時間帯のデータ。 Input: User's emotional state and optimal usage time data.

出力:調整された電気料金の提案データ。 Output: Proposed adjusted electricity rates.

具体的な動作:サーバはユーザーが喜びの感情を示している場合、エンターテイメント性の高い家電(例:テレビ)の使用時間帯を延長し、その結果として発生する電気料金の増加を提案する。一方、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例:マッサージチェア)の使用時間帯を延長する提案を行う。 Specific behavior: If the user is expressing happiness, the server will suggest extending the usage time of entertainment appliances (e.g., televisions) and reducing the resulting electricity bill increase. On the other hand, if the user is feeling stressed, the server will suggest extending the usage time of relaxation appliances (e.g., massage chairs).

ステップ6: Step 6:

結果のユーザーへの通知 Notifying users of results

サーバは、計算結果と提案内容を端末に送信する。 The server sends the calculation results and suggestions to the device.

端末は、受け取った情報をユーザーに通知する。 The device will notify the user of the received information.

入力:最適な使用時間帯と調整された電気料金の提案データ。 Input: Data suggesting optimal usage times and adjusted electricity rates.

出力:ユーザーへの通知メッセージ。 Output: Notification message to the user.

具体的な動作:端末はプッシュ通知やアプリ内メッセージを使用して、ユーザーに「エアコンの使用は午後2時から午後4時が最適です。また、テレビの使用時間を延長することをお勧めします」と通知する。 Specific behavior: The device will use push notifications and in-app messages to inform the user that "The best time to use the air conditioner is between 2:00 PM and 4:00 PM. We also recommend extending the TV usage time."

(応用例2) (Application Example 2)

次に、形態例2の応用例2について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ロボット414を「端末」と称する。 Next, we will explain Application Example 2 of Form Example 2. In the following explanation, the data processing device 12 will be referred to as the "server" and the robot 414 will be referred to as the "terminal."

従来の家電使用情報を基にした電気料金の最適化システムでは、ユーザーの感情状態を考慮することができず、ユーザーの満足度を高めることが難しかった。また、店舗内の家電製品の使用時間帯を最適化する際に、顧客の感情に応じた調整が行われないため、顧客体験の向上が図れなかった Conventional electricity rate optimization systems based on appliance usage information were unable to take into account the user's emotional state, making it difficult to increase user satisfaction. Furthermore, when optimizing the usage times of in-store appliances, adjustments were not made based on the customer's emotions, preventing an improved customer experience.

応用例2におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Application Example 2 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、感情認識エンジンを用いてユーザーの感情を認識する手段と、認識された感情に基づいて電気料金の提案を調整する手段と、を含む。これにより、ユーザーの感情状態に応じた最適な家電使用時間帯と電気料金の提案が可能となり、ユーザーの満足度を高めることができる。また、店舗内の家電製品の使用時間帯を顧客の感情に応じて調整することで、顧客体験の向上が図れる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from a user, means for calculating optimal usage times based on the received home appliance usage information, means for proposing the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions using an emotion recognition engine, and means for adjusting the proposed electricity charges based on the recognized emotions. This makes it possible to propose optimal home appliance usage times and electricity charges according to the user's emotional state, thereby increasing user satisfaction. Furthermore, by adjusting the usage times of home appliances in the store according to the customer's emotions, the customer experience can be improved.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を計算するための装置またはプログラムである。 "Means for calculating electricity charges" means a device or program for calculating electricity charges based on a market-linked plan.

「家電使用情報を受け取る手段」とは、ユーザーから家電の種類や使用時間などの情報を入力として受け取るための装置またはプログラムである。 "Means for receiving home appliance usage information" refers to a device or program for receiving information such as the type of home appliance and usage time from the user as input.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報を基に、家電の最適な使用時間帯を計算するための装置またはプログラムである。 "Means for calculating optimal usage time periods" refers to a device or program for calculating optimal usage time periods for home appliances based on received home appliance usage information.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知または表示するための装置またはプログラムである。 "Means for making suggestions to users" refers to a device or program that notifies or displays to users the calculated optimal usage time and electricity charges.

「感情認識エンジン」とは、ユーザーの感情を認識するためのアルゴリズムやプログラムである。 An "emotion recognition engine" is an algorithm or program that recognizes a user's emotions.

「感情を認識する手段」とは、感情認識エンジンを用いてユーザーの感情を検出するための装置またはプログラムである。 "Means for recognizing emotions" refers to a device or program for detecting a user's emotions using an emotion recognition engine.

「電気料金の提案を調整する手段」とは、認識されたユーザーの感情に基づいて電気料金の提案内容を変更するための装置またはプログラムである。 "Means for adjusting electricity rate proposals" is a device or program for changing the content of electricity rate proposals based on recognized user sentiment.

この発明を実施するための形態として、以下のシステム構成を説明する。 The following system configuration is described as an embodiment of this invention.

システム構成 System Configuration

このシステムは、サーバ、ユーザー端末、感情認識エンジン、電気料金計算エンジン、及び家電制御装置から構成される。サーバは、ユーザーからの家電使用情報を受け取り、最適な使用時間帯を計算し、感情認識エンジンを用いてユーザーの感情を認識し、電気料金の提案を調整する役割を担う。 This system consists of a server, user terminal, emotion recognition engine, electricity rate calculation engine, and home appliance control device. The server receives home appliance usage information from the user, calculates the optimal usage time, recognizes the user's emotions using the emotion recognition engine, and adjusts the electricity rate proposal.

プログラムの処理 Program processing

1. 家電使用情報の入力: 1. Enter your appliance usage information:

ユーザー端末は、ユーザーから家電の種類と使用時間を入力として受け取る。この情報はサーバに送信される。 The user device receives input from the user about the type of appliance and the amount of time it has been used. This information is sent to the server.

2. 感情認識: 2. Emotion recognition:

サーバは、感情認識エンジンを用いてユーザーの感情を認識する。感情認識エンジンは、カメラやセンサーから取得したユーザーの画像や音声データを解析し、ユーザーの感情状態を判定する。 The server recognizes the user's emotions using an emotion recognition engine. The emotion recognition engine analyzes the user's image and audio data acquired from cameras and sensors to determine the user's emotional state.

3. 最適な使用時間帯の計算: 3. Calculating the best time to use:

サーバは、受け取った家電使用情報を基に、電気料金計算エンジンを用いて最適な使用時間帯を計算する。電気料金計算エンジンは、市場連動型プランに基づいて電気料金を計算する。 The server uses an electricity rate calculation engine to calculate the optimal usage time based on the received home appliance usage information. The electricity rate calculation engine calculates electricity rates based on a market-linked plan.

4. 電気料金の提案調整: 4. Proposed electricity rate adjustment:

サーバは、認識されたユーザーの感情に基づいて、電気料金の提案を調整する。例えば、ユーザーが喜んでいる場合はエンターテイメント性の高い家電の使用時間を延長し、ストレスを感じている場合はリラクゼーションに寄与する家電の使用時間を延長する。 The server adjusts electricity rate suggestions based on the user's recognized emotions. For example, if the user is happy, it will extend the use of entertainment appliances, and if the user is stressed, it will extend the use of relaxation appliances.

5. ユーザーへの通知: 5. Notice to Users:

サーバは、計算した最適な使用時間帯と調整された電気料金をユーザー端末に通知する。ユーザーは、これに基づいて家電の使用を調整することができる。 The server then notifies the user's device of the calculated optimal usage time period and the adjusted electricity rate. The user can then adjust their home appliance usage accordingly.

使用するハードウェア及びソフトウェア Hardware and software used

ハードウェア: カメラ、センサー、ユーザー端末(スマートフォン、スマート眼鏡など) Hardware: Cameras, sensors, user devices (smartphones, smart glasses, etc.)

ソフトウェア: 感情認識エンジン(EmotionEngine)、電気料金計算エンジン(ElectricityPricing) Software: Emotion recognition engine (EmotionEngine), electricity bill calculation engine (ElectricityPricing)

具体例 Specific examples

例えば、店舗内の照明とエアコンの使用時間を最適化するシナリオを考える。店舗管理者は、スマートフォンを用いて照明とエアコンの使用時間を入力する。サーバは、店舗内のカメラを用いて顧客の感情を認識し、最適な使用時間帯を計算する。顧客が喜んでいる場合は、照明の使用時間を延長し、エンターテイメント性を高める。ストレスを感じている場合は、エアコンの使用時間を延長し、リラクゼーションを促進する。 For example, consider a scenario in which the usage times of lighting and air conditioning in a store are optimized. The store manager uses a smartphone to input the usage times of lighting and air conditioning. The server uses cameras in the store to recognize the customer's emotions and calculates the optimal usage times. If the customer is happy, the lighting usage time is extended to increase entertainment. If the customer is stressed, the air conditioning usage time is extended to promote relaxation.

プロンプト文の例 Example prompt

店舗内の照明とエアコンの使用時間を最適化し、顧客の感情に応じて電気料金の提案を調整するアプリケーションを開発してください。顧客が喜んでいる場合はエンターテイメント性の高い家電の使用時間を延長し、ストレスを感じている場合はリラクゼーションに寄与する家電の使用時間を延長します。 Develop an application that optimizes the use of lighting and air conditioning in stores and adjusts electricity rates based on customer emotions. If a customer is happy, extend the use of entertainment appliances, and if they are stressed, extend the use of relaxation appliances.

このようにして、ユーザーの感情状態に応じた最適な家電使用時間帯と電気料金の提案が可能となり、ユーザーの満足度を高めることができる。また、店舗内の家電製品の使用時間帯を顧客の感情に応じて調整することで、顧客体験の向上が図れる。 In this way, it becomes possible to propose optimal times for using home appliances and electricity rates based on the user's emotional state, thereby increasing user satisfaction. Furthermore, by adjusting the usage times of home appliances in the store based on the customer's emotions, the customer experience can be improved.

応用例2における特定処理の流れについて図20を用いて説明する。 The flow of the specific processing in Application Example 2 is explained using Figure 20.

ステップ1: Step 1:

ユーザー端末は、ユーザーから家電の種類と使用時間を入力として受け取る。具体的には、ユーザーがスマートフォンやスマート眼鏡を用いて、使用したい家電の種類(例えば、照明、エアコンなど)とその使用時間を入力する。この情報は、ユーザー端末からサーバに送信される。入力データは、家電の種類と使用時間であり、出力データはサーバに送信される家電使用情報である。 The user terminal receives the type of appliance and usage time from the user as input. Specifically, the user uses a smartphone or smart glasses to input the type of appliance they want to use (e.g., lighting, air conditioner, etc.) and the usage time. This information is sent from the user terminal to the server. The input data is the type of appliance and usage time, and the output data is the appliance usage information sent to the server.

ステップ2: Step 2:

サーバは、感情認識エンジンを用いてユーザーの感情を認識する。具体的には、サーバがカメラやセンサーから取得したユーザーの画像や音声データを感情認識エンジンに入力し、ユーザーの感情状態を判定する。入力データは、ユーザーの画像や音声データであり、出力データは認識されたユーザーの感情状態である。 The server uses an emotion recognition engine to recognize the user's emotions. Specifically, the server inputs the user's image and voice data acquired by the camera or sensor into the emotion recognition engine to determine the user's emotional state. The input data is the user's image and voice data, and the output data is the recognized emotional state of the user.

ステップ3: Step 3:

サーバは、受け取った家電使用情報を基に、電気料金計算エンジンを用いて最適な使用時間帯を計算する。具体的には、サーバが家電使用情報と市場連動型プランのデータを電気料金計算エンジンに入力し、最適な使用時間帯を計算する。入力データは、家電使用情報と市場連動型プランのデータであり、出力データは最適な使用時間帯である。 Based on the received appliance usage information, the server uses an electricity rate calculation engine to calculate the optimal usage time period. Specifically, the server inputs the appliance usage information and market-linked plan data into the electricity rate calculation engine and calculates the optimal usage time period. The input data is the appliance usage information and market-linked plan data, and the output data is the optimal usage time period.

ステップ4: Step 4:

サーバは、認識されたユーザーの感情に基づいて、電気料金の提案を調整する。具体的には、サーバが感情認識エンジンからの感情状態データを用いて、電気料金計算エンジンの提案を調整する。例えば、ユーザーが喜んでいる場合はエンターテイメント性の高い家電の使用時間を延長し、ストレスを感じている場合はリラクゼーションに寄与する家電の使用時間を延長する。入力データは、ユーザーの感情状態と最適な使用時間帯であり、出力データは調整された電気料金の提案である。 The server adjusts electricity rate suggestions based on the recognized user emotions. Specifically, the server uses emotional state data from the emotion recognition engine to adjust the suggestions of the electricity rate calculation engine. For example, if the user is happy, the server extends the use time of entertainment appliances, and if the user is stressed, the server extends the use time of relaxation appliances. The input data is the user's emotional state and optimal use time periods, and the output data is the adjusted electricity rate suggestions.

ステップ5: Step 5:

サーバは、計算した最適な使用時間帯と調整された電気料金をユーザー端末に通知する。具体的には、サーバが最適な使用時間帯と調整された電気料金のデータをユーザー端末に送信し、ユーザーがそれを確認できるようにする。入力データは、最適な使用時間帯と調整された電気料金であり、出力データはユーザー端末に表示される提案情報である。 The server notifies the user's device of the calculated optimal usage time period and adjusted electricity charges. Specifically, the server sends data on the optimal usage time period and adjusted electricity charges to the user's device, allowing the user to check it. The input data is the optimal usage time period and adjusted electricity charges, and the output data is the suggested information displayed on the user's device.

このようにして、ユーザーの感情状態に応じた最適な家電使用時間帯と電気料金の提案が可能となり、ユーザーの満足度を高めることができる。また、店舗内の家電製品の使用時間帯を顧客の感情に応じて調整することで、顧客体験の向上が図れる。 In this way, it becomes possible to propose optimal times for using home appliances and electricity rates based on the user's emotional state, thereby increasing user satisfaction. Furthermore, by adjusting the usage times of home appliances in the store based on the customer's emotions, the customer experience can be improved.

(実施例3) (Example 3)

次に、形態例3の実施例3について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ロボット414を「端末」と称する。 Next, Example 3 of Form Example 3 will be described. In the following description, the data processing device 12 will be referred to as the "server" and the robot 414 will be referred to as the "terminal."

従来の電気料金計算システムでは、ユーザーが家電を使用する最適な時間帯を提案することはできるが、ユーザーの感情に基づいた提案は行われていなかった。そのため、ユーザーの感情状態に応じた最適な家電の使用時間帯を提案することができず、ユーザーの満足度を向上させることが難しかった。さらに、電力取引所の取引価格に基づく電気料金の計算も行われていなかったため、ユーザーが電気料金を抑えるための参考情報を得ることができなかった。 Conventional electricity bill calculation systems could suggest optimal times for users to use home appliances, but they did not make suggestions based on the user's emotions. As a result, they were unable to suggest optimal times to use home appliances based on the user's emotional state, making it difficult to improve user satisfaction. Furthermore, electricity bills were not calculated based on trading prices at the power exchange, meaning users were unable to obtain reference information for reducing their electricity bills.

実施例3におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。 The specific processing performed by the specific processing unit 290 of the data processing device 12 in Example 3 is realized by the following means.

この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーの感情を認識する手段と、認識した感情に基づいて最適な家電の使用時間帯を提案する手段と、を含む。これにより、ユーザーの感情状態に応じた最適な家電の使用時間帯を提案し、電力取引所の取引価格に基づく電気料金の計算を行うことが可能となる。 In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from the user, means for calculating optimal usage times based on the received home appliance usage information, means for proposing the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions, and means for proposing optimal home appliance usage times based on the recognized emotions. This makes it possible to propose optimal home appliance usage times based on the user's emotional state and calculate electricity charges based on the trading price at the power exchange.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、電力取引所の取引価格や家電の消費電力を基にして、使用時間に応じた電気料金を算出する機能を持つ装置またはプログラムである。 "Means for calculating electricity charges" refers to a device or program that has the function of calculating electricity charges according to usage time based on the trading price at the electricity exchange and the power consumption of home appliances.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用したい家電の種類や使用時間を入力するためのインターフェースを提供し、その情報を受信する装置またはプログラムである。 "Means for receiving home appliance usage information from users" refers to a device or program that provides an interface for users to input the type of home appliance they wish to use and the usage time, and receives that information.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報と電力取引所の取引価格を基にして、家電を使用する最適な時間帯を算出する機能を持つ装置またはプログラムである。 "Means for calculating optimal usage time periods" refers to a device or program that has the function of calculating the optimal time periods for using home appliances based on the received home appliance usage information and the trading price at the electricity exchange.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知または表示するための装置またはプログラムである。 "Means for making suggestions to users" refers to a device or program that notifies or displays to users the calculated optimal usage time and electricity charges.

「ユーザーの感情を認識する手段」とは、ユーザーの声や表情、行動などを解析し、ユーザーの感情状態を判断する機能を持つ装置またはプログラムである。 "Means for recognizing user emotions" refers to a device or program that has the function of analyzing the user's voice, facial expressions, behavior, etc., and determining the user's emotional state.

「感情に基づいて最適な家電の使用時間帯を提案する手段」とは、認識したユーザーの感情状態に応じて、最適な家電の使用時間帯を提案する機能を持つ装置またはプログラムである。 "Means for suggesting optimal times to use home appliances based on emotions" refers to a device or program that has the function of suggesting optimal times to use home appliances based on the recognized emotional state of the user.

この発明は、ユーザーが家電を使用する最適な時間帯とその際の電気料金を計算し、ユーザーに提案するシステムである。さらに、ユーザーの感情を認識し、その感情に応じた家電の使用時間帯を提案する機能も備えている。 This invention is a system that calculates the optimal time periods for users to use home appliances and the electricity charges for those times, and makes suggestions to the user. It also has a function that recognizes the user's emotions and suggests times for using home appliances based on those emotions.

使用するハードウェアとソフトウェア Hardware and software used

ハードウェア: サーバ、ユーザー端末(スマートフォン、タブレット、PCなど) Hardware: Servers, user devices (smartphones, tablets, PCs, etc.)

ソフトウェア: 感情認識エンジン、電力取引所データ取得API、生成AIモデル Software: Emotion recognition engine, power exchange data acquisition API, generative AI model

システムの具体的な動作 Specific system operation

1. ユーザーの入力 1. User input

ユーザーが端末を使用して、使用したい家電の種類と使用時間を入力する。 The user uses the device to enter the type of appliance they want to use and the usage time.

例: ユーザーが「エアコンを午後3時から6時まで使用する」と入力する。 Example: User enters "Use the air conditioner from 3pm to 6pm."

2. 電力取引所データの取得 2. Obtaining Power Exchange Data

サーバが電力取引所データ取得APIを呼び出し、指定された時間帯の電力取引価格を取得する。 The server calls the power exchange data acquisition API and obtains the power trading price for the specified time period.

例: サーバがAPIを使用して、午後3時から6時までの電力取引価格データを取得する。 Example: The server uses an API to retrieve electricity trading price data from 3:00 PM to 6:00 PM.

3. 電気料金の計算 3. Calculating your electricity bill

サーバが取得した電力取引価格に基づいて、指定された時間帯の電気料金を計算する。 The electricity charges for the specified time period are calculated based on the electricity trading price obtained by the server.

例: サーバがエアコンの消費電力と取得した電力取引価格を用いて、午後3時から6時までの電気料金を計算する。 Example: The server calculates the electricity bill from 3:00 PM to 6:00 PM using the air conditioner's power consumption and the acquired electricity trading price.

4. 感情認識 4. Emotion recognition

ユーザーの声や表情、行動を端末のカメラやマイクを通じて感情認識エンジンに入力し、ユーザーの感情を認識する。 The user's voice, facial expressions, and actions are input into the emotion recognition engine via the device's camera and microphone, and the user's emotions are recognized.

例: ユーザーが端末のカメラに向かって話しかけると、感情認識エンジンがユーザーの声のトーンや表情を解析し、ユーザーがストレスを感じていると判断する。 Example: When a user speaks into the device's camera, the emotion recognition engine analyzes the user's tone of voice and facial expressions and determines that the user is feeling stressed.

5. 最適な使用時間帯の提案 5. Optimal usage time suggestions

サーバが計算した電気料金とユーザーの感情に基づいて、最適な家電の使用時間帯を提案する。 The server suggests optimal times to use home appliances based on the electricity bill calculated by the server and the user's emotions.

例: サーバがユーザーがストレスを感じていると判断し、リラクゼーションに寄与する家電(例:マッサージチェア)の使用を提案する。 Example: The server determines that the user is feeling stressed and suggests using a home appliance that will promote relaxation (e.g., a massage chair).

6. ユーザーへの提示 6. Presentation to the user

サーバが計算結果と提案をユーザー端末に送信し、ユーザーに提示する。 The server sends the calculation results and suggestions to the user's device and presents them to the user.

例: サーバが計算した電気料金とリラクゼーション家電の使用提案をユーザーのスマートフォンに表示する。 Example: The server displays calculated electricity bills and suggestions for using relaxation appliances on the user's smartphone.

プロンプト文の例 Example prompt

「エアコンを午後3時から6時まで使用する場合の電気料金を計算し、ユーザーがストレスを感じている場合にリラクゼーションに寄与する家電の使用を提案してください。」 "Calculate the electricity cost if the air conditioner is used from 3:00 PM to 6:00 PM, and suggest appliances that will contribute to relaxation if the user is feeling stressed."

このようにして、システムはユーザーの入力と感情に基づいて最適な家電の使用時間帯と電気料金を提案することができる。実施例3における特定処理の流れについて図21を用いて説明する。 In this way, the system can suggest optimal times to use home appliances and electricity rates based on the user's input and emotions. The flow of the identification process in Example 3 will be explained using Figure 21.

ステップ1: Step 1:

ユーザーが端末を使用して、使用したい家電の種類と使用時間を入力する。 The user uses the device to enter the type of appliance they want to use and the usage time.

入力: ユーザーが家電の種類(例:エアコン)と使用時間(例:午後3時から6時まで)を入力する。 Input: The user enters the type of appliance (e.g., air conditioner) and usage time (e.g., 3:00 PM to 6:00 PM).

具体的な動作: ユーザーが端末のアプリを開き、家電の種類と使用時間を入力するフォームにアクセスし、必要な情報を入力する。 Specific operation: The user opens the app on their device, accesses a form to enter the type of appliance and usage time, and enters the required information.

出力: 入力された家電の種類と使用時間のデータがサーバに送信される。 Output: The entered data on the type of appliance and usage time is sent to the server.

ステップ2: Step 2:

サーバが電力取引所データ取得APIを呼び出し、指定された時間帯の電力取引価格を取得する。 The server calls the power exchange data acquisition API and obtains the power trading price for the specified time period.

入力: ユーザーが入力した使用時間(例:午後3時から6時まで)。 Input: The usage time entered by the user (e.g., 3:00 PM to 6:00 PM).

具体的な動作: サーバが電力取引所データ取得APIにリクエストを送信し、指定された時間帯の電力取引価格データを取得する。 Specific operation: The server sends a request to the power exchange data acquisition API to obtain power trading price data for the specified time period.

出力: 取得した電力取引価格データがサーバに保存される。 Output: The acquired electricity trading price data is saved on the server.

ステップ3: Step 3:

サーバが取得した電力取引価格に基づいて、指定された時間帯の電気料金を計算する。 The electricity charges for the specified time period are calculated based on the electricity trading price obtained by the server.

入力: 取得した電力取引価格データと家電の消費電力(例:エアコンの消費電力1.5kW)。 Input: Obtained electricity trading price data and the power consumption of the home appliance (e.g., 1.5kW power consumption of an air conditioner).

具体的な動作: サーバがエアコンの消費電力と取得した電力取引価格を用いて、午後3時から6時までの電気料金を計算する。 Specific operation: The server calculates the electricity bill from 3:00 PM to 6:00 PM using the air conditioner's power consumption and the acquired electricity trading price.

出力: 計算された電気料金(例:3時間×1.5kW×20円=90円)が得られる。 Output: The calculated electricity cost (e.g., 3 hours x 1.5kW x 20 yen = 90 yen) will be obtained.

ステップ4: Step 4:

ユーザーの声や表情、行動を端末のカメラやマイクを通じて感情認識エンジンに入力し、ユーザーの感情を認識する。 The user's voice, facial expressions, and actions are input into the emotion recognition engine via the device's camera and microphone, and the user's emotions are recognized.

入力: ユーザーの声や表情、行動のデータ。 Input: User voice, facial expression, and behavioral data.

具体的な動作: ユーザーが端末のカメラに向かって話しかけると、端末が音声と映像データを感情認識エンジンに送信する。 Specific operation: When the user speaks into the device's camera, the device sends audio and video data to the emotion recognition engine.

出力: 感情認識エンジンが解析した結果として、ユーザーの感情状態(例:ストレスを感じている)が得られる。 Output: The emotion recognition engine analyzes the user's emotional state (e.g., feeling stressed).

ステップ5: Step 5:

サーバが計算した電気料金とユーザーの感情に基づいて、最適な家電の使用時間帯を提案する。 The server suggests optimal times to use home appliances based on the electricity bill calculated by the server and the user's emotions.

入力: 計算された電気料金とユーザーの感情状態。 Input: Calculated electricity bill and user's emotional state.

具体的な動作: サーバがユーザーの感情データと電気料金データを統合し、リラクゼーションに寄与する家電(例:マッサージチェア)の使用を提案する。 Specific operation: The server integrates the user's emotional data and electricity bill data and suggests the use of home appliances that contribute to relaxation (e.g., a massage chair).

出力: 提案内容として、「午後3時から6時までのエアコン使用は90円かかりますが、ストレスを感じているため、マッサージチェアの使用をおすすめします」と表示される。 Output: The suggestion is displayed as "Using the air conditioner between 3:00 PM and 6:00 PM will cost 90 yen, but since you are feeling stressed, we recommend using the massage chair."

ステップ6: Step 6:

サーバが計算結果と提案をユーザー端末に送信し、ユーザーに提示する。 The server sends the calculation results and suggestions to the user's device and presents them to the user.

入力: 計算結果と提案内容。 Input: Calculation results and suggestions.

具体的な動作: サーバが計算結果と提案をユーザー端末に送信する。 Specific operation: The server sends the calculation results and suggestions to the user's device.

出力: ユーザーのスマートフォンに通知が届き、アプリを開くと提案内容が表示される。 Output: The user will receive a notification on their smartphone and the suggestions will be displayed when they open the app.

(応用例3) (Application Example 3)

次に、形態例3の応用例3について説明する。以下の説明では、データ処理装置12を「サーバ」と称し、ロボット414を「端末」と称する。 Next, we will explain Application Example 3 of Form Example 3. In the following explanation, the data processing device 12 will be referred to as the "server" and the robot 414 will be referred to as the "terminal."

従来のエネルギー管理システムは、電力取引価格に基づいて電気料金を最適化することはできるが、ユーザーの感情に応じた最適な家電の使用時間帯を提案することはできなかった。また、実店舗においては、顧客の感情に応じた快適な環境を提供することが難しく、顧客満足度の向上が課題であった Conventional energy management systems can optimize electricity rates based on electricity trading prices, but they cannot suggest optimal times for using home appliances based on user emotions. Furthermore, in physical stores, it is difficult to provide a comfortable environment that reflects customer emotions, making improving customer satisfaction a challenge.

応用例3におけるデータ処理装置12の特定処理部290による特定処理を、以下の各手段により実現する。この発明では、サーバは、市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、ユーザーの感情を認識する手段と、認識した感情に基づいて最適な家電の使用時間帯を提案する手段と、店舗内の家電の使用状況をリアルタイムで確認する手段と、顧客の感情に応じた最適な環境設定を行う手段と、を含む。これにより、電気料金の最適化とともに、ユーザーや顧客の感情に応じた最適な家電の使用時間帯の提案および快適な環境の提供が可能となる。 The specific processing by the specific processing unit 290 of the data processing device 12 in Application Example 3 is realized by the following means. In this invention, the server includes means for calculating electricity charges based on a market-linked plan, means for receiving home appliance usage information from the user, means for calculating optimal usage times based on the received home appliance usage information, means for proposing the calculated optimal usage times and electricity charges to the user, means for recognizing the user's emotions, means for proposing optimal home appliance usage times based on the recognized emotions, means for checking the usage status of home appliances in the store in real time, and means for optimal environmental settings according to the customer's emotions. This makes it possible to optimize electricity charges, propose optimal home appliance usage times according to the user's or customer's emotions, and provide a comfortable environment.

「市場連動型プラン」とは、電力取引所の取引価格に基づいて電気料金が決定される料金プランである。 A "market-linked plan" is a rate plan in which electricity rates are determined based on the trading price on the electricity exchange.

「電気料金を計算する手段」とは、市場連動型プランに基づいて電気料金を計算するための装置またはソフトウェアである。 "Means for calculating electricity charges" means a device or software for calculating electricity charges based on a market-linked plan.

「ユーザーからの家電使用情報を受け取る手段」とは、ユーザーが使用したい家電の種類と使用時間を入力するためのインターフェースである。 "Means for receiving home appliance usage information from users" refers to an interface that allows users to input the type of home appliance they wish to use and the usage time.

「最適な使用時間帯を計算する手段」とは、受け取った家電使用情報に基づいて、電力取引価格を考慮しながら最適な使用時間帯を計算する装置またはソフトウェアである。 "Means for calculating optimal usage time periods" refers to a device or software that calculates optimal usage time periods based on received home appliance usage information, taking into account electricity trading prices.

「ユーザーに提案する手段」とは、計算した最適な使用時間帯と電気料金をユーザーに通知するためのインターフェースである。 "Means for making suggestions to users" refers to an interface that notifies users of the calculated optimal usage time and electricity charges.

「ユーザーの感情を認識する手段」とは、ユーザーの声や表情、行動などから感情を解析するための装置またはソフトウェアである。 "Means for recognizing user emotions" refers to devices or software that analyze emotions from the user's voice, facial expressions, behavior, etc.

「感情に基づいて最適な家電の使用時間帯を提案する手段」とは、認識したユーザーの感情に応じて、最適な家電の使用時間帯を計算し提案する装置またはソフトウェアである。 "Means for suggesting optimal times to use home appliances based on emotions" refers to a device or software that calculates and suggests optimal times to use home appliances based on the user's recognized emotions.

「店舗内の家電の使用状況をリアルタイムで確認する手段」とは、店舗内の家電の使用状況をリアルタイムで監視し、管理者に通知するための装置またはソフトウェアである。 "Means for checking the usage status of home appliances within a store in real time" refers to a device or software that monitors the usage status of home appliances within a store in real time and notifies the manager.

「顧客の感情に応じた最適な環境設定を行う手段」とは、顧客の感情を解析し、それに基づいて店舗内の照明、空調、音楽などの環境設定を最適化する装置またはソフトウェアである。 "Means for optimal environmental settings according to customer emotions" refers to devices or software that analyze customer emotions and, based on that, optimize environmental settings such as lighting, air conditioning, and music in the store.

この発明を実施するための形態として、以下のシステム構成を説明する。 The following system configuration is described as an embodiment of this invention.

システム構成 System Configuration

1. ハードウェア: 1. Hardware:

スマートフォン(iOS/Android) Smartphone (iOS/Android)

スマート眼鏡(例: Google Glass) Smart glasses (e.g., Google Glass)

ヘッドマウントディスプレイ(例: Oculus Rift) Head-mounted display (e.g., Oculus Rift)

ロボット(例: Pepper) Robots (e.g., Pepper)

2. ソフトウェア: 2. Software:

顔認識API(例: Microsoft Azure Face API) Facial recognition API (e.g., Microsoft Azure Face API)

感情認識API(例: Affectiva) Emotion recognition API (e.g. Affectiva)

電力取引価格API(例: EPEX SPOT API) Electricity trading price API (e.g., EPEX SPOT API)

データベース(例: Firebase) Database (e.g., Firebase)

プログラムの処理 Program processing

サーバは、まずユーザーからの家電使用情報を受け取る。ユーザーがスマートフォンアプリを通じて、使用したい家電の種類と使用時間を入力する。次に、サーバは電力取引価格APIを利用して、リアルタイムの電力価格を取得する。これに基づいて、最適な使用時間帯と電気料金を計算し、ユーザーに提案する。 The server first receives information about home appliance usage from the user. The user enters the type of appliance they wish to use and the usage time via a smartphone app. The server then uses an electricity trading price API to obtain real-time electricity prices. Based on this, the server calculates the optimal usage time and electricity rates and makes suggestions to the user.

さらに、サーバはユーザーの感情を認識するために、顔認識APIと感情認識APIを使用する。スマート眼鏡やヘッドマウントディスプレイ、ロボットがユーザーの表情や声をキャプチャし、これをサーバに送信する。サーバはこれらのデータを解析し、ユーザーの感情を認識する。 Furthermore, the server uses facial recognition APIs and emotion recognition APIs to recognize the user's emotions. Smart glasses, head-mounted displays, and robots capture the user's facial expressions and voice and send them to the server. The server analyzes this data and recognizes the user's emotions.

認識した感情に基づいて、サーバは最適な家電の使用時間帯を再計算し、ユーザーに提案する。例えば、ユーザーがストレスを感じている場合、リラクゼーションに寄与する家電(例: マッサージチェアやアロマディフューザー)の使用を提案する。 Based on the recognized emotions, the server recalculates the optimal times to use home appliances and suggests them to the user. For example, if the user is feeling stressed, it will suggest using home appliances that contribute to relaxation (e.g., a massage chair or aroma diffuser).

具体例 Specific examples

具体例として、実店舗におけるエネルギー管理システムを考える。店舗管理者がスマートフォンアプリを使用して、店舗内の家電の使用状況や電気料金の最適化情報をリアルタイムで確認する。スマート眼鏡を装着した店舗スタッフが顧客の表情を分析し、顧客がリラックスしている場合、店舗内の照明を暖色系に変更し、リラクゼーション音楽を再生する。 As a concrete example, consider an energy management system in a physical store. The store manager uses a smartphone app to check the usage status of home appliances in the store and electricity bill optimization information in real time. Store staff wearing smart glasses analyze customers' facial expressions, and if the customer appears relaxed, change the lighting in the store to warm colors and play relaxation music.

プロンプト文の例 Example prompt

顧客の表情データを入力し、感情を認識してください。次に、電力取引価格APIから現在の電力価格を取得し、顧客の感情に応じた最適な家電の使用時間帯を計算してください。計算結果をスマートフォンアプリ、スマート眼鏡、ヘッドマウントディスプレイ、ロボットに表示してください。 Enter customer facial expression data and recognize their emotions. Then, retrieve the current electricity price from the electricity trading price API and calculate the optimal time to use home appliances based on the customer's emotions. Display the calculation results on a smartphone app, smart glasses, a head-mounted display, or a robot.

このようにして、電気料金の最適化とともに、ユーザーや顧客の感情に応じた最適な家電の使用時間帯の提案および快適な環境の提供が可能となる。 In this way, it is possible to optimize electricity rates, suggest optimal times to use home appliances based on the emotions of users and customers, and provide a comfortable environment.

応用例3における特定処理の流れについて図22を用いて説明する。 The flow of the specific processing in Application Example 3 will be explained using Figure 22.

ステップ1: Step 1:

ユーザがスマートフォンアプリを使用して、使用したい家電の種類と使用時間を入力する。入力された情報は、家電の種類と使用時間である。これらの情報はサーバに送信される。 The user uses a smartphone app to input the type of appliance they wish to use and the amount of time they will be using it. The information entered is the type of appliance and the amount of time it will be used. This information is then sent to the server.

ステップ2: Step 2:

サーバは、電力取引価格APIを利用して、リアルタイムの電力価格を取得する。入力は現在の時刻であり、出力はその時刻に対応する電力価格である。サーバはこのデータを基に、家電の使用時間帯における電気料金を計算する。 The server uses the electricity trading price API to obtain real-time electricity prices. The input is the current time, and the output is the electricity price corresponding to that time. Based on this data, the server calculates the electricity charges for the appliances' usage times.

ステップ3: Step 3:

サーバは、計算した最適な使用時間帯と電気料金をユーザに提案する。提案内容は、最適な使用時間帯とその時間帯における電気料金である。これらの情報はスマートフォンアプリに表示される。 The server then proposes the calculated optimal usage time and electricity rates to the user. The proposal includes the optimal usage time and the electricity rate for that time. This information is displayed on the smartphone app.

ステップ4: Step 4:

ユーザがスマート眼鏡やヘッドマウントディスプレイ、ロボットを使用している場合、これらのデバイスがユーザの表情や声をキャプチャする。入力はユーザの表情データや音声データであり、これらのデータはサーバに送信される。 When a user uses smart glasses, a head-mounted display, or a robot, these devices capture the user's facial expressions and voice. The input is the user's facial expression data and voice data, which are sent to the server.

ステップ5: Step 5:

サーバは、顔認識APIと感情認識APIを使用して、ユーザの感情を解析する。入力は表情データや音声データであり、出力は解析された感情データである。サーバはこのデータを基に、ユーザの感情を認識する。 The server uses a facial recognition API and an emotion recognition API to analyze the user's emotions. The input is facial expression data and voice data, and the output is analyzed emotion data. The server recognizes the user's emotions based on this data.

ステップ6: Step 6:

サーバは、認識した感情に基づいて、最適な家電の使用時間帯を再計算する。入力は感情データと家電使用情報であり、出力は感情に応じた最適な使用時間帯である。例えば、ユーザがストレスを感じている場合、リラクゼーションに寄与する家電の使用を提案する。 The server recalculates the optimal time periods for using home appliances based on the recognized emotions. The input is emotion data and appliance usage information, and the output is the optimal usage time periods based on the emotion. For example, if the user is feeling stressed, it will suggest using appliances that will contribute to relaxation.

ステップ7: Step 7:

サーバは、再計算した最適な使用時間帯と電気料金をユーザに提案する。提案内容は、感情に応じた最適な使用時間帯とその時間帯における電気料金である。これらの情報はスマートフォンアプリ、スマート眼鏡、ヘッドマウントディスプレイ、ロボットに表示される。 The server then proposes the recalculated optimal usage times and electricity rates to the user. The proposals include the optimal usage times based on the user's emotions and the electricity rates for those times. This information is displayed on a smartphone app, smart glasses, a head-mounted display, and a robot.

ステップ8: Step 8:

店舗内の家電の使用状況をリアルタイムで確認するために、サーバはデータベースを使用して家電の使用状況を監視する。入力は家電の使用データであり、出力はリアルタイムの使用状況である。これにより、店舗管理者はスマートフォンアプリを通じて家電の使用状況を確認できる。 To check the usage status of home appliances in the store in real time, the server uses a database to monitor the usage status of home appliances. The input is the usage data of the appliances, and the output is the real-time usage status. This allows store managers to check the usage status of home appliances through a smartphone app.

ステップ9: Step 9:

顧客の感情に応じた最適な環境設定を行うために、サーバは照明、空調、音楽などの環境設定を最適化する。入力は顧客の感情データであり、出力は最適化された環境設定である。例えば、顧客がリラックスしている場合、照明を暖色系に変更し、リラクゼーション音楽を再生する。 The server optimizes environmental settings such as lighting, air conditioning, and music to provide optimal environmental settings according to the customer's emotions. The input is the customer's emotional data, and the output is the optimized environmental settings. For example, if the customer is relaxing, the lighting is changed to warm colors and relaxation music is played.

以上のステップにより、電気料金の最適化とともに、ユーザや顧客の感情に応じた最適な家電の使用時間帯の提案および快適な環境の提供が可能となる。 These steps will not only optimize electricity rates, but also suggest optimal times to use home appliances based on the emotions of users and customers, and provide a comfortable environment.

特定処理部290は、特定処理の結果をロボット414に送信する。ロボット414では、制御部46Aが、スピーカ240及び制御対象443に対して特定処理の結果を出力させる。マイクロフォン238は、特定処理の結果に対するユーザ入力を示す音声を取得する。制御部46Aは、マイクロフォン238によって取得されたユーザ入力を示す音声データをデータ処理装置12に送信する。データ処理装置12では、特定処理部290が音声データを取得する。 The specific processing unit 290 transmits the results of the specific processing to the robot 414. In the robot 414, the control unit 46A causes the speaker 240 and the control target 443 to output the results of the specific processing. The microphone 238 acquires audio indicating the user input regarding the results of the specific processing. The control unit 46A transmits audio data indicating the user input acquired by the microphone 238 to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the audio data.

データ生成モデル58は、いわゆる生成AI(Artificial Intelligence)である。データ生成モデル58の一例としては、ChatGPT(インターネット検索<URL: https://openai.com/blog/chatgpt>)等の生成AIが挙げられる。データ生成モデル58は、ニューラルネットワークに対して深層学習を行わせることによって得られる。データ生成モデル58には、指示を含むプロンプトが入力され、かつ、音声を示す音声データ、テキストを示すテキストデータ、及び画像を示す画像データ等の推論用データが入力される。データ生成モデル58は、入力された推論用データをプロンプトにより示される指示に従って推論し、推論結果を音声データ及びテキストデータ等のデータ形式で出力する。ここで、推論とは、例えば、分析、分類、予測、及び/又は要約等を指す。 Data generation model 58 is what is known as generative AI (artificial intelligence). An example of data generation model 58 is generative AI such as ChatGPT (Internet search <URL: https://openai.com/blog/chatgpt>). Data generation model 58 is obtained by performing deep learning on a neural network. A prompt containing an instruction is input to data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. Data generation model 58 performs inference on the input inference data in accordance with the instructions indicated by the prompt, and outputs the inference results in the form of data such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and/or summarization.

生成AIの他の例としては、Gemini(インターネット検索<URL: https://gemini.google.com/?hl=ja>)が挙げられる。 Another example of generative AI is Gemini (Internet search <URL: https://gemini.google.com/?hl=ja>).

上記実施形態では、データ処理装置12によって特定処理が行われる形態例を挙げたが、本開示の技術はこれに限定されず、ロボット414によって特定処理が行われるようにしてもよい。 In the above embodiment, an example was given in which the specific processing was performed by the data processing device 12, but the technology disclosed herein is not limited to this, and the specific processing may also be performed by the robot 414.

なお、感情エンジンとしての感情特定モデル59は、特定のマッピングに従い、ユーザの感情を決定してよい。具体的には、感情特定モデル59は、特定のマッピングである感情マップ(図9参照)に従い、ユーザの感情を決定してよい。また、感情特定モデル59は、同様に、ロボットの感情を決定し、特定処理部290は、ロボットの感情を用いた特定処理を行うようにしてもよい。 The emotion identification model 59, which serves as an emotion engine, may determine the user's emotion according to a specific mapping. Specifically, the emotion identification model 59 may determine the user's emotion according to an emotion map (see Figure 9), which is a specific mapping. Similarly, the emotion identification model 59 may determine the robot's emotion, and the identification processing unit 290 may perform identification processing using the robot's emotion.

図9は、複数の感情がマッピングされる感情マップ400を示す図である。感情マップ400において、感情は、中心から放射状に同心円に配置されている。同心円の中心に近いほど、原始的状態の感情が配置されている。同心円のより外側には、心境から生まれる状態や行動を表す感情が配置されている。感情とは、情動や心的状態も含む概念である。同心円の左側には、概して脳内で起きる反応から生成される感情が配置されている。同心円の右側には概して、状況判断で誘導される感情が配置されている。同心円の上方向及び下方向には、概して脳内で起きる反応から生成され、かつ、状況判断で誘導される感情が配置されている。また、同心円の上側には、「快」の感情が配置され、下側には、「不快」の感情が配置されている。このように、感情マップ400では、感情が生まれる構造に基づいて複数の感情がマッピングされており、同時に生じやすい感情が、近くにマッピングされている。 Figure 9 shows an emotion map 400 on which multiple emotions are mapped. In emotion map 400, emotions are arranged in concentric circles radiating from the center. Emotions closer to the center of the concentric circles are more primitive. Emotions representing states and actions arising from a state of mind are arranged on the outer edges of the concentric circles. The concept of emotion includes both emotions and mental states. Emotions that are generally generated from reactions that occur in the brain are arranged on the left side of the concentric circles. Emotions that are generally induced by situational judgment are arranged on the right side of the concentric circles. Emotions that are generally generated from reactions that occur in the brain and are induced by situational judgment are arranged above and below the concentric circles. Furthermore, the emotion of "pleasure" is arranged on the top side of the concentric circles, and the emotion of "discomfort" is arranged on the bottom side. In this way, emotion map 400 maps multiple emotions based on the structure by which emotions are generated, with emotions that tend to occur simultaneously being mapped close together.

これらの感情は、感情マップ400の3時の方向に分布しており、普段は安心と不安のあたりを行き来する。感情マップ400の右半分では、内部的な感覚よりも状況認識の方が優位に立つため、落ち着いた印象になる。 These emotions are distributed in the 3 o'clock direction on emotion map 400, and usually fluctuate between relief and anxiety. In the right half of emotion map 400, situational awareness takes precedence over internal sensations, resulting in a sense of calm.

感情マップ400の内側は心の中、感情マップ400の外側は行動を表すため、感情マップ400の外側に行くほど、感情が目に見える(行動に表れる)ようになる。 The inside of emotion map 400 represents what is going on in the mind, and the outside of emotion map 400 represents behavior, so the further out you go on emotion map 400, the more visible (expressed in behavior) the emotion becomes.

ここで、人の感情は、姿勢や血糖値のような様々なバランスを基礎としており、それらのバランスが理想から遠ざかると不快、理想に近づくと快という状態を示す。ロボットや自動車やバイク等においても、姿勢やバッテリー残量のような様々なバランスを基礎として、それらのバランスが理想から遠ざかると不快、理想に近づくと快という状態を示すように感情を作ることができる。感情マップは、例えば、光吉博士の感情地図(音声感情認識及び情動の脳生理信号分析システムに関する研究、徳島大学、博士論文:https://ci.nii.ac.jp/naid/500000375379)に基づいて生成されてよい。感情地図の左半分には、感覚が優位にたつ「反応」と呼ばれる領域に属する感情が並ぶ。また、感情地図の右半分には、状況認識が優位にたつ「状況」と呼ばれる領域に属する感情が並ぶ。 Here, human emotions are based on various balances such as posture and blood sugar levels, and when these balances deviate from the ideal, it indicates discomfort, and when they approach the ideal, it indicates pleasure. Emotions can also be created for robots, cars, motorcycles, etc., based on various balances such as posture and remaining battery life, so that when these balances deviate from the ideal, it indicates discomfort, and when they approach the ideal, it indicates pleasure. Emotion maps may be generated, for example, based on Dr. Mitsuyoshi's emotion map (Research on speech emotion recognition and emotional brain physiological signal analysis systems, Tokushima University, doctoral dissertation: https://ci.nii.ac.jp/naid/500000375379). The left half of the emotion map is lined with emotions belonging to an area called "reaction," where sensation is dominant. The right half of the emotion map is lined with emotions belonging to an area called "situation," where situational awareness is dominant.

感情マップでは学習を促す感情が2つ定義される。1つは、状況側にあるネガティブな「懺悔」や「反省」の真ん中周辺の感情である。つまり、「もう2度とこんな想いはしたくない」「もう叱られたくない」というネガティブな感情がロボットに生じたときである。もう1つは、反応側にあるポジティブな「欲」のあたりの感情である。つまり、「もっと欲しい」「もっと知りたい」というポジティブな気持ちのときである。 The emotion map defines two emotions that encourage learning. One is the negative emotion around the middle of "repentance" or "reflection" on the situation side. In other words, this is when the robot experiences negative emotions such as "I never want to feel this way again" or "I don't want to be scolded again." The other is the positive emotion around "desire" on the response side. In other words, this is when the robot experiences positive feelings such as "I want more" or "I want to know more."

感情特定モデル59は、ユーザ入力を、予め学習されたニューラルネットワークに入力し、感情マップ400に示す各感情を示す感情値を取得し、ユーザの感情を決定する。このニューラルネットワークは、ユーザ入力と、感情マップ400に示す各感情を示す感情値との組み合わせである複数の学習データに基づいて予め学習されたものである。また、このニューラルネットワークは、図10に示す感情マップ900のように、近くに配置されている感情同士は、近い値を持つように学習される。図10では、「安心」、「安穏」、「心強い」という複数の感情が、近い感情値となる例を示している。 The emotion identification model 59 inputs user input into a pre-trained neural network, obtains emotion values indicating each emotion shown in the emotion map 400, and determines the user's emotion. This neural network is pre-trained based on multiple pieces of training data that are combinations of user input and emotion values indicating each emotion shown in the emotion map 400. Furthermore, this neural network is trained so that emotions that are close to each other have similar values, as in the emotion map 900 shown in Figure 10. Figure 10 shows an example in which multiple emotions, such as "relieved," "calm," and "reassuring," have similar emotion values.

上記実施形態では、1台のコンピュータ22によって特定処理が行われる形態例を挙げたが、本開示の技術はこれに限定されず、コンピュータ22を含めた複数のコンピュータによる特定処理に対する分散処理が行われるようにしてもよい。 In the above embodiment, an example was given in which a specific process is performed by a single computer 22, but the technology disclosed herein is not limited to this, and distributed processing of the specific process may also be performed by multiple computers, including computer 22.

上記実施形態では、ストレージ32に特定処理プログラム56が格納されている形態例を挙げて説明したが、本開示の技術はこれに限定されない。例えば、特定処理プログラム56がUSB(Universal Serial Bus)メモリなどの可搬型のコンピュータ読み取り可能な非一時的格納媒体に格納されていてもよい。非一時的格納媒体に格納されている特定処理プログラム56は、データ処理装置12のコンピュータ22にインストールされる。プロセッサ28は、特定処理プログラム56に従って特定処理を実行する。 In the above embodiment, an example was described in which the specific processing program 56 is stored in the storage 32, but the technology of the present disclosure is not limited to this. For example, the specific processing program 56 may be stored in a portable, computer-readable, non-transitory storage medium such as a USB (Universal Serial Bus) memory. The specific processing program 56 stored in the non-transitory storage medium is installed in the computer 22 of the data processing device 12. The processor 28 executes the specific processing in accordance with the specific processing program 56.

また、ネットワーク54を介してデータ処理装置12に接続されるサーバ等の格納装置に特定処理プログラム56を格納させておき、データ処理装置12の要求に応じて特定処理プログラム56がダウンロードされ、コンピュータ22にインストールされるようにしてもよい。 Alternatively, the specific processing program 56 may be stored in a storage device such as a server connected to the data processing device 12 via the network 54, and the specific processing program 56 may be downloaded and installed on the computer 22 in response to a request from the data processing device 12.

なお、ネットワーク54を介してデータ処理装置12に接続されるサーバ等の格納装置に特定処理プログラム56の全てを格納させておいたり、ストレージ32に特定処理プログラム56の全てを記憶させたりしておく必要はなく、特定処理プログラム56の一部を格納させておいてもよい。 It is not necessary to store the entire specific processing program 56 in a storage device such as a server connected to the data processing device 12 via the network 54, or to store the entire specific processing program 56 in the storage 32; only a portion of the specific processing program 56 may be stored.

特定処理を実行するハードウェア資源としては、次に示す各種のプロセッサを用いることができる。プロセッサとしては、例えば、ソフトウェア、すなわち、プログラムを実行することで、特定処理を実行するハードウェア資源として機能する汎用的なプロセッサであるCPUが挙げられる。また、プロセッサとしては、例えば、FPGA(Field-Programmable Gate Array)、PLD(Programmable Logic Device)、又はASIC(Application Specific Integrated Circuit)などの特定の処理を実行させるために専用に設計さ The hardware resources that execute specific processes can include the following types of processors. Examples of processors include a CPU, a general-purpose processor that functions as a hardware resource that executes specific processes by executing software, i.e., a program. Processors also include FPGAs (Field-Programmable Gate Arrays), PLDs (Programmable Logic Devices), and ASICs (Application Specific Integrated Circuits), which are specially designed to execute specific processes.

れた回路構成を有するプロセッサである専用電気回路が挙げられる。何れのプロセッサにもメモリが内蔵又は接続されており、何れのプロセッサもメモリを使用することで特定処理を実行する。 Specialized electrical circuits are processors with specialized circuit configurations. All processors have built-in or connected memory, and all processors use memory to perform specific processes.

特定処理を実行するハードウェア資源は、これらの各種のプロセッサのうちの1つで構成されてもよいし、同種又は異種の2つ以上のプロセッサの組み合わせ(例えば、複数のFPGAの組み合わせ、又はCPUとFPGAとの組み合わせ)で構成されてもよい。また、特定処理を実行するハードウェア資源は1つのプロセッサであってもよい。 The hardware resource that executes the specific processing may be composed of one of these various processors, or may be composed of a combination of two or more processors of the same or different types (for example, a combination of multiple FPGAs, or a combination of a CPU and an FPGA). The hardware resource that executes the specific processing may also be a single processor.

1つのプロセッサで構成する例としては、第1に、1つ以上のCPUとソフトウェアの組み合わせで1つのプロセッサを構成し、このプロセッサが、特定処理を実行するハードウェア資源として機能する形態がある。第2に、SoC(System-on-a-chip)などに代表されるように、特定処理を実行する複数のハードウェア資源を含むシステム全体の機能を1つのICチップで実現するプロセッサを使用する形態がある。このように、特定処理は、ハードウェア資源として、上記各種のプロセッサの1つ以上を用いて実現される。 As an example of a configuration using a single processor, first, there is a configuration in which one processor is configured using a combination of one or more CPUs and software, and this processor functions as a hardware resource that executes specific processing. Second, there is a configuration in which a processor is used to realize the functions of an entire system, including multiple hardware resources that execute specific processing, on a single IC chip, as typified by SoC (System-on-a-chip). In this way, specific processing is realized using one or more of the various processors listed above as hardware resources.

更に、これらの各種のプロセッサのハードウェア的な構造としては、より具体的には、半導体素子などの回路素子を組み合わせた電気回路を用いることができる。また、上記の特定処理はあくまでも一例である。従って、主旨を逸脱しない範囲内において不要なステップを削除したり、新たなステップを追加したり、処理順序を入れ替えたりしてもよいことは言うまでもない。 More specifically, the hardware structure of these various processors can be an electrical circuit that combines circuit elements such as semiconductor devices. Furthermore, the specific processing described above is merely an example. Therefore, it goes without saying that unnecessary steps can be deleted, new steps can be added, or the processing order can be rearranged, all within the scope of the spirit of the invention.

以上に示した記載内容及び図示内容は、本開示の技術に係る部分についての詳細な説明であり、本開示の技術の一例に過ぎない。例えば、上記の構成、機能、作用、及び効果に関する説明は、本開示の技術に係る部分の構成、機能、作用、及び効果の一例に関する説明である。よって、本開示の技術の主旨を逸脱しない範囲内において、以上に示した記載 The above description and illustrations are a detailed explanation of the technology disclosed herein and are merely an example of the technology disclosed herein. For example, the above description of the configuration, functions, actions, and effects is an example of the configuration, functions, actions, and effects of the technology disclosed herein. Therefore, the above description may be used within the scope of the gist of the technology disclosed herein.

内容及び図示内容に対して、不要な部分を削除したり、新たな要素を追加したり、置き換えたりしてもよいことは言うまでもない。また、錯綜を回避し、本開示の技術に係る部分の理解を容易にするために、以上に示した記載内容及び図示内容では、本開示の技術の実施を可能にする上で特に説明を要しない技術常識等に関する説明は省略されている。 It goes without saying that unnecessary parts may be deleted, new elements may be added, or elements may be substituted in the contents and illustrations. Furthermore, in order to avoid confusion and to facilitate understanding of the parts relating to the technology of this disclosure, explanations of common technical knowledge that do not require particular explanation to enable the implementation of the technology of this disclosure have been omitted from the descriptions and illustrations shown above.

本明細書に記載された全ての文献、特許出願及び技術規格は、個々の文献、特許出願及び技術規格が参照により取り込まれることが具体的かつ個々に記された場合と同程度に、本明細書中に参照により取り込まれる。 All publications, patent applications, and technical standards mentioned in this specification are incorporated by reference herein to the same extent as if each individual publication, patent application, and technical standard was specifically and individually indicated to be incorporated by reference.

以上の実施形態に関し、更に以下を開示する。 The following is further disclosed regarding the above embodiments.

(請求項1)
市場連動型プランに基づく電気料金を計算する手段と、ユーザーからの家電使用情報を受け取る手段と、受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、計算した最適な使用時間帯と電気料金をユーザーに提案する手段を含むシステム。
(Claim 1)
The system includes a means for calculating an electricity charge based on a market-linked plan, a means for receiving home appliance usage information from a user, a means for calculating an optimal usage time period based on the received home appliance usage information, and a means for proposing the calculated optimal usage time period and electricity charge to the user.

(請求項2)
前記市場連動型プランは、電力取引所の取引価格に応じて電気料金が決まるプランである、請求項1記載のシステム。
(Claim 2)
The system according to claim 1 , wherein the market-linked plan is a plan in which electricity rates are determined according to trading prices on an electricity exchange.

(請求項3)
前記ユーザーからの家電使用情報は、使用したい家電の種類と使用時間を含む、請求項1記載のシステム。
(Claim 3)
The system according to claim 1 , wherein the home appliance usage information from the user includes the type of home appliance desired to be used and the usage time.

(請求項4)
前記ユーザーの感情を認識する感情エンジンを更に含む、請求項1記載のシステム。
(Claim 4)
The system of claim 1 , further comprising an emotion engine that recognizes the user's emotion.

(請求項5)
前記感情エンジンは、ユーザーの声や表情、行動などから感情を認識する、請求項4記載のシステム。
(Claim 5)
The system according to claim 4 , wherein the emotion engine recognizes emotions from the user's voice, facial expressions, actions, etc.

(請求項6)
前記感情エンジンの認識結果に基づき、最適な使用時間帯の計算や電気料金の提案を調整する、請求項4記載のシステム。
(Claim 6)
The system according to claim 4 , wherein calculation of optimal usage times and electricity rate proposals are adjusted based on the recognition results of the emotion engine.

「実施例1」
(請求項1)
電力取引所から取引価格情報を取得する手段と、
取得した取引価格情報をデータベースに保存する手段と、
保存された取引価格情報を基に電気料金の単価を算出する手段と、
算出した電気料金の単価を用いてユーザの電気料金を計算する手段と、
ユーザからの家電使用情報を受け取る手段と、
受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、
計算した最適な使用時間帯と電気料金をユーザに提案する手段を含むシステム。
"Example 1"
(Claim 1)
A means for obtaining trading price information from an electricity exchange;
A means for storing the acquired transaction price information in a database;
A means for calculating the unit price of electricity based on the stored transaction price information;
a means for calculating the electricity charge of the user using the calculated unit price of the electricity charge;
means for receiving home appliance usage information from a user;
A means for calculating an optimal usage time period based on the received home appliance usage information;
The system includes a means for proposing the calculated optimal usage time period and electricity rate to the user.

(請求項2)
前記市場連動型プランは、電力取引所の取引価格に応じて電気料金が決まるプランである、請求項1記載のシステム。
(Claim 2)
The system according to claim 1 , wherein the market-linked plan is a plan in which electricity rates are determined according to trading prices on an electricity exchange.

(請求項3)
前記ユーザからの家電使用情報は、使用したい家電の種類と使用時間を含む、請求項1記載のシステム。
(Claim 3)
The system according to claim 1 , wherein the home appliance usage information from the user includes the type of home appliance desired to be used and the usage time.

「応用例1」
(請求項1)
市場連動型プランに基づく電気料金を計算する手段と、
ユーザーからの家電使用情報を受け取る手段と、
受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、
計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、
電力取引所の取引価格情報をリアルタイムで取得する手段と、
取得した価格情報に基づいて電力消費を最適化する手段と、
高価格帯の時間帯には電力消費を抑制し、低価格帯の時間帯に電力消費を増加させる手段を含むシステム。
"Application Example 1"
(Claim 1)
a means for calculating an electricity rate based on a market-linked plan;
A means for receiving home appliance usage information from a user;
A means for calculating an optimal usage time period based on the received home appliance usage information;
A means of proposing the calculated optimal usage time and electricity rates to the user;
A means for obtaining real-time trading price information from the power exchange;
means for optimizing power consumption based on the obtained price information;
A system including means for reducing power consumption during high price periods and increasing power consumption during low price periods.

(請求項2)
前記市場連動型プランは、電力取引所の取引価格に応じて電気料金が決まるプランである、請求項1記載のシステム。
(Claim 2)
The system according to claim 1 , wherein the market-linked plan is a plan in which electricity rates are determined according to trading prices on an electricity exchange.

(請求項3)
前記ユーザーからの家電使用情報は、使用したい家電の種類と使用時間を含む、請求項1記載のシステム。
(Claim 3)
The system according to claim 1 , wherein the home appliance usage information from the user includes the type of home appliance desired to be used and the usage time.

「実施例2」
(請求項1)
市場連動型プランに基づく電気料金を計算する手段と、
ユーザーからの家電使用情報を受け取る手段と、
受け取った家電使用情報をデータベースに保存する手段と、
保存されたデータを基に最適な使用時間帯を計算する手段と、
計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、
計算結果をユーザーに表示する手段を含むシステム。
"Example 2"
(Claim 1)
a means for calculating an electricity rate based on a market-linked plan;
A means for receiving home appliance usage information from a user;
A means for storing the received home appliance usage information in a database;
A means for calculating the optimal usage time period based on the stored data;
A means of proposing the calculated optimal usage time and electricity rates to the user;
The system includes a means for displaying the results of the calculation to the user.

(請求項2)
前記市場連動型プランは、電力取引所の取引価格に応じて電気料金が決まるプランである、請求項1記載のシステム。
(Claim 2)
The system according to claim 1 , wherein the market-linked plan is a plan in which electricity rates are determined according to trading prices on an electricity exchange.

(請求項3)
前記ユーザーからの家電使用情報は、使用したい家電の種類と使用時間を含む、請求項1記載のシステム。
(Claim 3)
The system according to claim 1 , wherein the home appliance usage information from the user includes the type of home appliance desired to be used and the usage time.

「応用例2」
(請求項1)
市場連動型プランに基づく電気料金を計算する手段と、
ユーザーからの家電使用情報を受け取る手段と、
受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、
計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、
ユーザーからの運行予定情報を受け取り、最適な充電時間帯を計算する手段と、
計算した最適な充電時間帯をユーザーに通知する手段を含むシステム。
"Application Example 2"
(Claim 1)
a means for calculating an electricity rate based on a market-linked plan;
A means for receiving home appliance usage information from a user;
A means for calculating an optimal usage time period based on the received home appliance usage information;
A means of proposing the calculated optimal usage time and electricity rates to the user;
A means for receiving schedule information from users and calculating the optimal charging time slot;
The system includes a means for notifying the user of the calculated optimal charging time period.

(請求項2)
前記市場連動型プランは、電力取引所の取引価格に応じて電気料金が決まるプランである、請求項1記載のシステム。
(Claim 2)
The system according to claim 1 , wherein the market-linked plan is a plan in which electricity rates are determined according to trading prices on an electricity exchange.

(請求項3)
前記ユーザーからの家電使用情報は、使用したい家電の種類と使用時間を含む、請求項1記載のシステム。
(Claim 3)
The system according to claim 1 , wherein the home appliance usage information from the user includes the type of home appliance desired to be used and the usage time.

(請求項4)
前記ユーザーからの運行予定情報は、出発時間、到着時間、目的地を含む、請求項1記載のシステム。
(Claim 4)
The system of claim 1 , wherein the schedule information from the user includes a departure time, an arrival time, and a destination.

「実施例3」
(請求項1)
ユーザーからの家電使用情報を受け取る手段と、
電力取引所の取引価格データを取得する手段と、
取得した取引価格データを処理し、指定された時間帯の電気料金を計算する手段と、
計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、
計算結果をユーザーに提示する手段と、
を含むシステム。
"Example 3"
(Claim 1)
A means for receiving home appliance usage information from a user;
A means for obtaining trading price data from an electricity exchange;
A means for processing the acquired transaction price data and calculating the electricity rate for a specified time period;
A means of proposing the calculated optimal usage time and electricity rates to the user;
a means for presenting the results of the calculation to the user;
A system including:

(請求項2)
前記市場連動型プランは、電力取引所の取引価格に応じて電気料金が決まるプランである、請求項1記載のシステム。
(Claim 2)
The system according to claim 1 , wherein the market-linked plan is a plan in which electricity rates are determined according to trading prices on an electricity exchange.

(請求項3)
前記ユーザーからの家電使用情報は、使用したい家電の種類と使用時間を含む、請求項1記載のシステム。
(Claim 3)
The system according to claim 1 , wherein the home appliance usage information from the user includes the type of home appliance desired to be used and the usage time.

「応用例3」
(請求項1)
市場連動型プランに基づく電気料金を計算する手段と、
ユーザーからの電力使用情報を受け取る手段と、
受け取った電力使用情報に基づき最適な使用時間帯を計算する手段と、
計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、
ユーザーが入力した電力使用時間帯の中で最も電気料金が安い時間帯を計算する手段と、
計算した最適な電力使用時間帯と予想電気料金をユーザーに提示する手段を含むシステム。
"Application example 3"
(Claim 1)
a means for calculating an electricity rate based on a market-linked plan;
a means for receiving power usage information from a user;
A means for calculating an optimal usage time period based on the received power usage information;
A means of proposing the calculated optimal usage time and electricity rates to the user;
A means for calculating the time period with the lowest electricity rates among the power usage time periods entered by the user;
The system includes a means for presenting the calculated optimal power usage time period and the estimated electricity charges to the user.

(請求項2)
前記市場連動型プランは、電力取引所の取引価格に応じて電気料金が決まるプランである、請求項1記載のシステム。
(Claim 2)
The system according to claim 1 , wherein the market-linked plan is a plan in which electricity rates are determined according to trading prices on an electricity exchange.

(請求項3)
前記ユーザーからの電力使用情報は、使用したい電力機器の種類と使用時間を含む、請求項1記載のシステム。
(Claim 3)
The system according to claim 1 , wherein the power usage information from the user includes the type of power device desired to be used and the time of use.

「感情エンジンを組み合わせた場合の実施例1」
(請求項1)
電力市場から取引価格情報を取得する手段と、
取得した取引価格情報を解析し電気料金の単価を算出する手段と、
ユーザーの消費電力量を取得する手段と、
電気料金の単価と消費電力量を基に電気料金を計算する手段と、
計算結果をユーザーに通知する手段と、
ユーザーの声や表情、行動を収集する手段と、
収集したデータを解析しユーザーの感情を認識する手段と、
認識した感情に基づいて最適な家電の使用時間帯を提案する手段と、
提案内容をユーザーに通知する手段を含むシステム。
"Example 1 of combining emotion engines"
(Claim 1)
A means for acquiring transaction price information from an electricity market;
A means for analyzing the acquired transaction price information and calculating the unit price of electricity;
A means for acquiring the amount of power consumed by the user;
A means for calculating electricity charges based on the unit price of electricity and the amount of power consumed;
a means for notifying the user of the results of the calculation;
A means of collecting user feedback, expressions, and behavior,
A means of analyzing the collected data and recognizing the user's emotions;
A means for suggesting optimal times to use home appliances based on the recognized emotions;
The system includes a means for notifying the user of the suggestions.

(請求項2)
前記市場連動型プランは、電力市場の取引価格に応じて電気料金が決まるプランである、請求項1記載のシステム。
(Claim 2)
The system according to claim 1 , wherein the market-linked plan is a plan in which the electricity rate is determined according to a trading price in an electricity market.

(請求項3)
前記ユーザーからの家電使用情報は、使用したい家電の種類と使用時間を含む、請求項1記載のシステム。
(Claim 3)
The system according to claim 1 , wherein the home appliance usage information from the user includes the type of home appliance desired to be used and the usage time.

「感情エンジンを組み合わせた場合の応用例1」
(請求項1)
市場連動型プランに基づく電気料金を計算する手段と、
ユーザーからの家電使用情報を受け取る手段と、
受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、
計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、
ユーザーの感情を認識する手段と、
認識した感情に基づいて最適な家電の使用を提案する手段を含むシステム。
"Application example 1 when combining emotion engines"
(Claim 1)
a means for calculating an electricity rate based on a market-linked plan;
A means for receiving home appliance usage information from a user;
A means for calculating an optimal usage time period based on the received home appliance usage information;
A means of proposing the calculated optimal usage time and electricity rates to the user;
a means of recognizing a user's emotions;
The system includes a means for suggesting optimal use of home appliances based on the recognized emotions.

(請求項2)
前記市場連動型プランは、電力取引所の取引価格に応じて電気料金が決まるプランである、請求項1記載のシステム。
(Claim 2)
The system according to claim 1 , wherein the market-linked plan is a plan in which electricity rates are determined according to trading prices on an electricity exchange.

(請求項3)
前記ユーザーからの家電使用情報は、使用したい家電の種類と使用時間を含む、請求項1記載のシステム。
(Claim 3)
The system according to claim 1 , wherein the home appliance usage information from the user includes the type of home appliance desired to be used and the usage time.

「感情エンジンを組み合わせた場合の実施例2」
(請求項1)
市場連動型プランに基づく電気料金を計算する手段と、
ユーザーからの家電使用情報を受け取る手段と、
受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、
ユーザーの感情を認識する手段と、
認識した感情に基づき電気料金の提案を調整する手段と、
計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、
を含むシステム。
"Example 2 when combining emotion engines"
(Claim 1)
a means for calculating an electricity rate based on a market-linked plan;
A means for receiving home appliance usage information from a user;
A means for calculating an optimal usage time period based on the received home appliance usage information;
a means of recognizing a user's emotions;
a means for adjusting electricity rate proposals based on the perceived sentiment;
A means of proposing the calculated optimal usage time and electricity rates to the user;
A system including:

(請求項2)
前記市場連動型プランは、電力取引所の取引価格に応じて電気料金が決まるプランである、請求項1記載のシステム。
(Claim 2)
The system according to claim 1 , wherein the market-linked plan is a plan in which electricity rates are determined according to trading prices on an electricity exchange.

(請求項3)
前記ユーザーからの家電使用情報は、使用したい家電の種類と使用時間を含む、請求項1記載のシステム。
(Claim 3)
The system according to claim 1 , wherein the home appliance usage information from the user includes the type of home appliance desired to be used and the usage time.

「感情エンジンを組み合わせた場合の応用例2」
(請求項1)
市場連動型プランに基づく電気料金を計算する手段と、
ユーザーからの家電使用情報を受け取る手段と、
受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、
計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、
感情認識エンジンを用いてユーザーの感情を認識する手段と、
認識された感情に基づいて電気料金の提案を調整する手段と、
を含むシステム。
"Application example 2 when combining emotion engines"
(Claim 1)
a means for calculating an electricity rate based on a market-linked plan;
A means for receiving home appliance usage information from a user;
A means for calculating an optimal usage time period based on the received home appliance usage information;
A means of proposing the calculated optimal usage time and electricity rates to the user;
means for recognizing a user's emotion using an emotion recognition engine;
a means for adjusting electricity rate proposals based on the perceived sentiment;
A system including:

(請求項2)
前記市場連動型プランは、電力取引所の取引価格に応じて電気料金が決まるプランである、請求項1記載のシステム。
(Claim 2)
The system according to claim 1 , wherein the market-linked plan is a plan in which electricity rates are determined according to trading prices on an electricity exchange.

(請求項3)
前記ユーザーからの家電使用情報は、使用したい家電の種類と使用時間を含む、請求項1記載のシステム。
(Claim 3)
The system according to claim 1 , wherein the home appliance usage information from the user includes the type of home appliance desired to be used and the usage time.

「感情エンジンを組み合わせた場合の実施例3」
(請求項1)
市場連動型プランに基づく電気料金を計算する手段と、
ユーザーからの家電使用情報を受け取る手段と、
受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、
計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、
ユーザーの感情を認識する手段と、
認識した感情に基づいて最適な家電の使用時間帯を提案する手段と、
を含むシステム。
"Example 3 when combining emotion engines"
(Claim 1)
a means for calculating an electricity rate based on a market-linked plan;
A means for receiving home appliance usage information from a user;
A means for calculating an optimal usage time period based on the received home appliance usage information;
A means of proposing the calculated optimal usage time and electricity rates to the user;
a means of recognizing a user's emotions;
A means for suggesting optimal times to use home appliances based on the recognized emotions;
A system including:

(請求項2)
前記市場連動型プランは、電力取引所の取引価格に応じて電気料金が決まるプランである、請求項1記載のシステム。
(Claim 2)
The system according to claim 1 , wherein the market-linked plan is a plan in which electricity rates are determined according to trading prices on an electricity exchange.

(請求項3)
前記ユーザーからの家電使用情報は、使用したい家電の種類と使用時間を含む、請求項1記載のシステム。
(Claim 3)
The system according to claim 1 , wherein the home appliance usage information from the user includes the type of home appliance desired to be used and the usage time.

「感情エンジンを組み合わせた場合の応用例3」
(請求項1)
市場連動型プランに基づく電気料金を計算する手段と、
ユーザーからの家電使用情報を受け取る手段と、
受け取った家電使用情報に基づき最適な使用時間帯を計算する手段と、
計算した最適な使用時間帯と電気料金をユーザーに提案する手段と、
ユーザーの感情を認識する手段と、
認識した感情に基づいて最適な家電の使用時間帯を提案する手段と、
店舗内の家電の使用状況をリアルタイムで確認する手段と、
顧客の感情に応じた最適な環境設定を行う手段と、
を含むシステム。
"Application example 3 when combining emotion engines"
(Claim 1)
a means for calculating an electricity rate based on a market-linked plan;
A means for receiving home appliance usage information from a user;
A means for calculating an optimal usage time period based on the received home appliance usage information;
A means of proposing the calculated optimal usage time and electricity rates to the user;
a means of recognizing a user's emotions;
A means for suggesting optimal times to use home appliances based on the recognized emotions;
A way to check the usage status of home appliances in the store in real time,
A means of optimally setting the environment according to the customer's emotions,
A system including:

(請求項2)
前記市場連動型プランは、電力取引所の取引価格に応じて電気料金が決まるプランである、請求項1記載のシステム。
(Claim 2)
The system according to claim 1 , wherein the market-linked plan is a plan in which electricity rates are determined according to trading prices on an electricity exchange.

(請求項3)
前記ユーザーからの家電使用情報は、使用したい家電の種類と使用時間を含む、請求項1記載のシステム。
(Claim 3)
The system according to claim 1 , wherein the home appliance usage information from the user includes the type of home appliance desired to be used and the usage time.

10、210、310、410 データ処理システム
12 データ処理装置
14 スマートデバイス
214 スマート眼鏡
314 ヘッドセット型端末
414 ロボット

10, 210, 310, 410 Data processing system 12 Data processing device 14 Smart device 214 Smart glasses 314 Headset type terminal 414 Robot

Claims (3)

電力市場から取引価格情報を取得する手段と、
取得した前記取引価格情報に基づいて市場連動型プランの電気料金の単価を算出する手段と、
ユーザーの消費電力量を取得する手段と、
前記電気料金の単価と前記消費電力量とに基づいて電気料金を計算する手段と、
電気料金の計算結果をユーザーに通知する手段と、
ユーザーの声、表情、及び行動を含むデータを収集する手段と、
収集したデータを解析しユーザーの感情を認識する手段と、
認識した前記感情に基づいて最適な家電の使用時間帯を計算すると共に、前記電気料金の提案を調整する場合において、認識した前記感情が喜びである場合にはエンターテイメント性を備えた家電の使用時間帯の延長及び電気料金の増加を提案、前記感情がストレスである場合にはリラクゼーションに寄与する家電の使用時間帯の延長及び電気料金の増加を提案、とするように調整する手段と、
調整された前記電気料金の提案内容をユーザーに通知する手段と、
を含むシステム。
A means for acquiring transaction price information from an electricity market;
A means for calculating the unit price of the electricity rate of the market-linked plan based on the acquired transaction price information;
A means for acquiring the amount of power consumed by the user;
a means for calculating an electricity charge based on the unit price of the electricity and the amount of power consumption;
a means for notifying the user of the calculated electricity charges;
A means for collecting data including user voice, facial expression, and behavior;
A means of analyzing the collected data and recognizing the user's emotions;
a means for calculating optimal usage time periods for home appliances based on the recognized emotion and adjusting the proposed electricity rate, so that if the recognized emotion is joy, the means proposes extending the usage time periods for entertainment-oriented home appliances and increasing the electricity rate, and if the recognized emotion is stress, the means proposes extending the usage time periods for home appliances that contribute to relaxation and increasing the electricity rate;
means for notifying a user of the proposed adjusted electricity rate ;
A system including:
前記市場連動型プランは、電力市場の取引価格に応じて電気料金が決まるプランである、請求項1記載のシステム。 The system of claim 1, wherein the market-linked plan is a plan in which electricity rates are determined based on trading prices in the electricity market. 前記ユーザーからの家電使用情報は、使用したい家電の種類と使用時間を含む、請求項1記載のシステム。
The system according to claim 1 , wherein the home appliance usage information from the user includes the type of home appliance desired to be used and the usage time.
JP2024161824A 2023-09-19 2024-09-19 system Active JP7749778B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2023151243 2023-09-19
JP2023151243 2023-09-19

Publications (2)

Publication Number Publication Date
JP2025044241A JP2025044241A (en) 2025-04-01
JP7749778B2 true JP7749778B2 (en) 2025-10-06

Family

ID=95204991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2024161824A Active JP7749778B2 (en) 2023-09-19 2024-09-19 system

Country Status (1)

Country Link
JP (1) JP7749778B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005316843A (en) 2004-04-30 2005-11-10 Masaharu Inoue Electricity rate reporting system, electricity rate reporting method, and program which make this method performed to computer
JP2009087074A (en) 2007-09-28 2009-04-23 Panasonic Electric Works Co Ltd Equipment control system
WO2022030385A1 (en) 2020-08-03 2022-02-10 ダイキン工業株式会社 Generation device, system, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005316843A (en) 2004-04-30 2005-11-10 Masaharu Inoue Electricity rate reporting system, electricity rate reporting method, and program which make this method performed to computer
JP2009087074A (en) 2007-09-28 2009-04-23 Panasonic Electric Works Co Ltd Equipment control system
WO2022030385A1 (en) 2020-08-03 2022-02-10 ダイキン工業株式会社 Generation device, system, and program

Also Published As

Publication number Publication date
JP2025044241A (en) 2025-04-01

Similar Documents

Publication Publication Date Title
JP7749778B2 (en) system
JP2025047382A (en) system
JP2025055796A (en) system
JP2025072320A (en) system
JP2026030563A (en) system
JP2026035401A (en) system
JP2026041510A (en) system
JP2026051583A (en) system
JP2025058360A (en) system
JP2026017978A (en) system
JP2025045096A (en) system
JP2026024091A (en) system
JP2025049502A (en) system
JP2026068475A (en) system
JP2026045671A (en) system
JP2025056041A (en) system
JP2025044739A (en) system
JP2026021007A (en) system
JP2026038009A (en) system
JP2025056396A (en) system
JP2025049280A (en) system
JP2026040027A (en) system
JP2025046215A (en) system
JP2025052596A (en) system
JP2026033267A (en) system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20241121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250520

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250722

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20250916

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250924

R150 Certificate of patent or registration of utility model

Ref document number: 7749778

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150