Information processing device, information processing method, and information processing program
The information processing device addresses the challenge of managing flat-structured label information by generating a hierarchical structure from sensor data, enhancing data aggregation and analysis capabilities.
Patent Information
- Application Number
- PCT/JP2024/027889
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-05-22
- Filing Date
- 2024-08-05
- Publication Date
- 2025-11-27
AI Technical Summary
Existing methods for managing sensor data in systems that collect and store data from homes, factories, and buildings face challenges in handling flat-structured label information, making it difficult for programs to aggregate and analyze data effectively, and there is a lack of methods for generating hierarchical structures from label information.
An information processing device that includes a word extraction unit to analyze and extract words from label information and a hierarchical structure generation unit to create a hierarchical structure between these words, allowing for the conversion of flat-structured label information into a hierarchical format.
This approach enables the generation of a hierarchical structure from label information, facilitating data aggregation and analysis, thereby enabling more effective data handling and providing various services and solutions.
Smart Images

Figure JP2024027889_27112025_PF_FP_ABST
Abstract
Description
Information processing device, information processing method, and information processing program
[0001] The present disclosure relates to a technique for generating a hierarchical structure among words included in description information.
[0002] In systems that collect and store sensor data (such as power consumption) obtained from homes, factories, buildings, etc., information about the sensors is managed. The information managed includes static information about the sensors and dynamic time-series data measured by the sensors. Generally, the static information and time-series data are stored and managed in separate tables. Here, static information about the sensors includes a description of the sensor's installation location and what the sensor is measuring. Furthermore, what the sensor is measuring is often managed in a hierarchical structure.
[0003] For example, Patent Literature 1 discloses a method for managing sensors in a hierarchical structure, and Patent Literature 2 discloses a method for dividing label information assigned to a sensor into a description of the sensor's installation location and the measurement target by morphological analysis of the label information.
[0004] Japanese Patent Application Laid-Open No. 2006-331372 International Publication No. WO2018 / 225192
[0005] When collecting and accumulating sensor data (such as power consumption) measured in homes, factories, buildings, etc., the data is saved in a sensor list table and a sensor accumulated data table. The sensor list table has a data format such as [sensor ID, label information]. The sensor accumulated data table has a data format such as [sensor ID, measurement date and time, measurement value]. ID stands for Identifier. The label information assigned to the sensor ID is text-format label information assigned by humans for sensor management. This makes it difficult for programs to handle label information. In addition, the label information has a flat data structure. On the other hand, the sensor's measurement targets are rooms, electrical equipment, etc., and are arranged hierarchically. Converting flat-structured label information into hierarchical label information makes it possible to represent information closer to the real environment. Therefore, converting label information into hierarchical label information makes it easier to aggregate and analyze data.
[0006] Patent Document 1 discloses a method for hierarchically managing sensors. However, Patent Document 1 does not disclose a method for generating a hierarchical structure from label information. Patent Document 2 proposes a method for dividing label information using label information and a word dictionary. However, it does not disclose a method for generating a hierarchical structure from the divided label information.
[0007] The main purpose of the present disclosure is to generate a hierarchical structure from description information in which words in a natural language are described, such as label information.
[0008] The information processing device according to the present disclosure has a word extraction unit that analyzes a plurality of description information, each of which describes one or more words in a natural language, and extracts words described in each description information by identifying the description position of the word in each description information, and a hierarchical structure generation unit that generates a hierarchical structure between words extracted from adjacent description positions.
[0009] According to the present disclosure, a hierarchical structure can be generated from description information in which words in a natural language such as label information are described.
[0010] FIG. 1 is a diagram showing an example of a functional configuration of an information processing device according to embodiment 1. FIG. 2 is a diagram showing an example of a sensor list table according to embodiment 1. FIG. 3 is a diagram showing an example of a sensor accumulation data table according to embodiment 1. FIG. 4 is a diagram showing morphological analysis processing according to embodiment 1. FIG. 5 is a diagram showing label layering processing according to embodiment 1. FIG. 6 is a diagram showing an example of operation in morphological analysis processing and label layering processing according to embodiment 1. FIG. 7 is a diagram showing an example of a layered label information DB according to embodiment 1. FIG. 8 is a diagram showing an example of a hardware configuration of an information processing device according to embodiment 1.
[0011] Hereinafter, embodiments will be described with reference to the drawings. In the following description of the embodiments and the drawings, the same reference numerals denote the same or corresponding parts.
[0012] Embodiment 1. ***Description of Configuration*** Fig. 1 shows an example of the functional configuration of an information processing device 100 according to this embodiment. Also, Fig. 8 shows an example of the hardware configuration of the information processing device 100 according to this embodiment. The information processing device 100 according to this embodiment is a computer. The operation procedure of the information processing device 100 corresponds to an information processing method. Also, a program that realizes the operation of the information processing device 100 corresponds to an information processing program. First, an example of the hardware configuration of the information processing device 100 will be described with reference to Fig. 8.
[0013] The information processing device 100 includes, as hardware, a processor 901, a main storage device 902, an auxiliary storage device 903, and a communication device 904. The functions of the morphological analysis unit 102, the label layering processing unit 103, and the sensor data analysis and compilation processing unit 106 shown in FIG. 1 are realized, for example, by programs, and the programs are stored in the auxiliary storage device 903. Hereinafter, the morphological analysis unit 102, the label layering processing unit 103, and the sensor data analysis and compilation processing unit 106 are referred to as functional components. The programs that realize the functions of the functional components are loaded from the auxiliary storage device 903 to the main storage device 902. The processor 901 then executes the programs to perform the operations of the functional components in FIG. 1. FIG. 8 schematically illustrates a state in which the processor 901 is executing programs that realize the functions of the functional components in FIG. 1.
[0014] Next, an example of the functional configuration of the information processing device 100 will be described with reference to FIG.
[0015] The sensor list table 101 stores static information related to sensors (hereinafter referred to as sensor static information). The sensor list table 101 is, for example, a CSV file table. The sensor list table 101 may also be an XML file table. The sensor list table 101 may also be a binary file table. Furthermore, the sensor list table 101 may also be a relational database table.
[0016] The morphological analysis unit 102 divides the label information included in the sensor list table 101 into words through morphological analysis processing. The sensor list table 101 contains a plurality of pieces of label information. Each piece of label information describes one or more words in a natural language that represent the attributes of the sensor (installation location, measurement target, etc.). The morphological analysis unit 102 analyzes each piece of label information and extracts the words described in each piece of label information from each piece of label information by identifying the position of the word. The label information corresponds to description information. The morphological analysis unit 102 also corresponds to a word extraction unit. The processing performed by the morphological analysis unit 102 also corresponds to word extraction processing.
[0017] The label layering processing unit 103 generates a hierarchical structure from the label information divided into words. More specifically, the label layering processing unit 103 generates a hierarchical structure between words extracted from adjacent description positions by the morphological analysis unit 102. The label layering processing unit 103 corresponds to a hierarchical structure generation unit. The processing performed by the label layering processing unit 103 corresponds to a hierarchical structure generation process.
[0018] The hierarchical label information DB 104 stores hierarchical label information. The hierarchical label information DB 104 is, for example, a CSV file. Alternatively, the hierarchical label information DB 104 may be an XML file or a binary file. Alternatively, the hierarchical label information DB 104 may be any of a table in a relational database, a document in a document database, a key-value in a key-value database, and a node and an edge in a graph database.
[0019] The sensor accumulated data table 105 stores time-series data of sensor measurement values. The sensor accumulated data table 105 is, for example, a CSV file table. The sensor accumulated data table 105 may also be an XML file table. The sensor accumulated data table 105 may also be a binary file table. Furthermore, the sensor accumulated data table 105 may also be a relational database table.
[0020] The sensor data analysis and aggregation processing unit 106 analyzes and aggregates the sensor data using the information in the hierarchical label information DB 104 and the information in the sensor accumulated data table 105. The sensor data analysis and aggregation processing unit 106 analyzes and aggregates the sensor data, thereby providing various services and solutions.
[0021] FIG. 2 shows an example of the sensor list table 101 .
[0022] Sensor static information is stored in the sensor list table 101. In the example of FIG. 2, sensor IDs and label information are stored in the sensor list table 101 as sensor static information. Other information that may be stored includes the sensor model number, installation date and time, installation location, size, and service life. When the sensor list table 101 is stored in the table format of a relational database, the sensor ID serves as the primary key. The sensor ID is an identifier for uniquely identifying a sensor. In the example of FIG. 2, the sensor ID is a numeric value, but the sensor ID may also be in text format.
[0023] Label information is text-formatted character string information assigned by humans for the purpose of managing sensors. The label information contains natural language words that describe the sensor's installation location and the sensor's measurement target. In the example in Figure 2, character strings (words) are separated by spaces. However, character strings (words) do not need to be separated.
[0024] FIG. 3 shows an example of the sensor accumulation data table 105 .
[0025] The sensor accumulated data table 105 stores time-series data measured by the sensor. In the example of FIG. 3, the sensor ID, the measurement date and time, and the measurement value are stored. Other information such as measurement accuracy and measurement error may also be stored. When the sensor accumulated data table 105 is stored in a relational database table format, the sensor ID and the measurement date and time form a composite primary key, and the sensor ID forms a foreign key. The sensor ID is an identifier for uniquely identifying the sensor. In the example of FIG. 3, the sensor ID is a number, but the sensor ID may also be in text format. The sensor ID in the sensor accumulated data table 105 uses the same value as the sensor ID in the sensor list table 101. The measurement date and time is the date and time when the sensor performed the measurement. In addition to the date and time, time zone information may also be stored. The measurement value is the value measured by the sensor. In the example of FIG. 3, the measurement value is a number, but it may also be binary data or text data.
[0026] ***Explanation of Operation*** Next, an outline of the operation of the information processing device 100 according to this embodiment will be described.
[0027] First, the user saves sensor static information in a sensor list table 101. The sensor measurement values are saved as time-series data in a sensor accumulated data table 105. The user runs a morphological analysis unit 102 and a label layering processing unit 103 to generate layered label information prior to analyzing the sensor accumulated data. Thereafter, a sensor data analysis and aggregation processing unit 106 performs analysis and aggregation processing of the sensor data.
[0028] FIG. 4 shows the morphological analysis process performed by the morphological analysis unit 102.
[0029] In step S41, the morphological analysis unit 102 determines whether or not morphological analysis has been performed on all label information included in the sensor list table 101. If morphological analysis has been performed on all label information (YES), the morphological analysis unit 102 ends the morphological analysis process. On the other hand, if there is label information for which morphological analysis has not been performed (NO), the process proceeds to step S42. By repeating steps S41, S42, and S43, the morphological analysis unit 102 performs the processes of steps S42 and S43 on all label information.
[0030] In step S42, the morphological analysis unit 102 acquires unprocessed label information from the sensor list table 101.
[0031] In step S43, the morphological analysis unit 102 performs morphological analysis on the label information acquired in step S42 and divides the label information into meaningful words. The morphological analysis unit 102 can perform morphological analysis using known technology (e.g., open-source morphological analysis software MeCab, etc.). In step S43, the morphological analysis unit 102 identifies the description position of each word in the label information and divides the label information into words. In the label information for sensor ID: 53 in FIG. 2, the morphological analysis unit 102 identifies "Instrument 1" as being written first. The morphological analysis unit 102 also identifies "(A Circuit)" as being written second. The morphological analysis unit 102 also identifies "1L-1" as being written third. The morphological analysis unit 102 also identifies "Air Conditioner_W" as being written fourth. After completing the process of step S43, the morphological analysis unit 102 marks the label information as having undergone morphological analysis processing, and returns to step S41.
[0032] FIG. 5 shows the label layering process performed by the label layering processor 103. As shown in FIG.
[0033] In step S51, the label layering processing unit 103 determines whether or not the processing has been performed on all strings of words segmented by the morphological analysis unit 102. If the processing has been performed on all strings (YES), the processing proceeds to step S53. On the other hand, if there are strings that have not been processed (NO), the processing proceeds to step S52.
[0034] The words segmented by the morphological analysis unit 102 are composed of multiple words for each piece of label information. For the sake of explanation, each piece of label information is represented as one row, and each segmented word is represented as one column. That is, for each piece of label information, the first segmented word is represented as the first column, the second segmented word is represented as the second column, and so on. The label layering processing unit 103 repeats steps S51 and S52 to perform the processing of step S52 for all columns.
[0035] In step S52, the label layering processor 103 performs a process of combining duplicate words in the target string into the same word. More specifically, the label layering processor 103 keeps only the first word that appears in the same string (words extracted from the same description position), and removes the same word that appears in the same string from the second time onwards. After completing the process in step S52, the label layering processor 103 marks the target string as processed and returns to step S51.
[0036] In step S53, it is determined whether the hierarchical structure generation process (S54, S55, S56) has been performed on all columns. If the hierarchical structure generation process has been performed on all columns (YES), the label layering processing unit 103 ends the label layering process. On the other hand, if there is a column for which the hierarchical structure generation process has not been performed (NO), the process proceeds to step S54.
[0037] In step S54, the label layering processor 103 compares the number of words in the nth column (A) with the number of words in the (n+1)th column (B). If the comparison result is "(A) < (B)," the process proceeds to step S55. On the other hand, if "(A) ≥ (B)," the process proceeds to step S56. Here, the nth column is a variable value ranging from the first column to "(the maximum value of the number of columns - 1)" when one piece of label information is represented as one row and one segmented word is represented as one column. The label layering processor 103 changes the value of n by 1 from 1 to "(the maximum value of the number of columns - 1)." By repeating steps S53 to S56, the label layering processor 103 executes the process of step S55 or step S56 for all columns.
[0038] In step S55, the label layering processor 103 generates a hierarchical structure with the word in the nth column as the parent and the word in the (n+1)th column as the child. When a word in the nth column and a word in the (n+1)th column are extracted from the same label information, the label layering processor 103 generates a hierarchical structure between the word in the nth column and the word in the (n+1)th column, both extracted from the same label information. That is, when a word is present in the nth column of the target row and also in the (n+1)th column, the label layering processor 103 generates a hierarchical structure with the word in the nth column as the parent and the word in the (n+1)th column as the child. On the other hand, when a word is not present in the nth column of the target row but is present in the (n+1)th column, the label layering processor 103 searches for a row above the target row in the nth column. The label layering processor 103 then generates a hierarchical structure with the first word found as the parent and the word in the (n+1)th column as the child. That is, the label layering processing unit 103 generates a layered structure between the word in the (n+1)th column and the word in the nth column of label information that is different from the label information from which the word in the (n+1)th column was extracted.
[0039] In step S56, unlike step S55, the label layering processing unit 103 does not generate a layer structure. A column for which a layer structure is not generated becomes a layer with no children. In addition, the (n+1)th column becomes a layer with no parent.
[0040] FIG. 6 shows an example of the operation of the morphological analysis process and the label hierarchical process according to the first embodiment.
[0041] Reference numeral 601 indicates the state before steps S41, S42, and S43 in Fig. 4 are executed. In the example of Fig. 6, two pieces of label information, "Instrument 1 (A circuit) 1L-1 Air Conditioner_W" and "Instrument 1 (A circuit) 2L-1 Air Conditioner_W," exist in the sensor list table 101.
[0042] Reference numeral 602 indicates the state after steps S41, S42, and S43 in Fig. 4 are executed and before steps S51 and S52 in Fig. 5 are executed. In the example of Fig. 6, "meter 1 (A circuit) 1L-1 air conditioner_W" is divided into four words, "meter 1," "(A circuit)," "1L-1," and "air conditioner_W," by the morphological analysis process (step S43). Also, "meter 1 (A circuit) 2L-1 air conditioner_W" is divided into four words, "meter 1," "(A circuit)," "2L-1," and "air conditioner_W," by the morphological analysis process (step S43).
[0043] Reference numeral 603 indicates the state after steps S51 and S52 in FIG. 5 are executed and before steps S53, S54, S55, and S56 in FIG. 5 are executed. In the example of FIG. 6, step S52 is first performed on the first column of reference numeral 602. The first column contains "Kei-ki 1" and "Kei-ki 1," and the same word appears multiple times. In this case, "Kei-ki 1" in the first row, which is the first word to appear, is retained, and "Kei-ki 1" in the second row, which is the word that appears the second or subsequent time, is removed. The second column of reference numeral 602 is processed in the same way as the first column. The third column of reference numeral 602 does not contain the same word multiple times, so no processing is performed. The fourth column of reference numeral 602 is processed in the same way as the first column.
[0044] Reference numeral 604 indicates the state after steps S53, S54, S55 and S56 of FIG. 5 have been executed.
[0045] In the example of FIG. 6, the first column of code 603 is first subjected to a determination in step S54. Since there is one type of word in the first column, (A) = 1. Since there is one type of word in the second column, (B) = 1. Since "(A) ≥ (B)", the process proceeds to step S56. In step S56, a hierarchical structure is not generated. Therefore, the first column becomes a layer with no children. Furthermore, since there is no parent node, the first column has a hierarchical structure with only one layer, with no parents or children.
[0046] Next, step S54 is performed to determine the second column of code 603. Since there is one type of word in the second column, (A) = 1. Since there are two types of words in the third column, (B) = 2. Since "(A) < (B)", processing proceeds to step S55. In step S55, a hierarchical structure is generated in which the words in the second column are parents and the words in the third column are children. In other words, the word in the second column, "(A circuit)", is the parent, and the two words in the third column, "1L-1" and "2L-1", are children.
[0047] Next, step S54 is performed on the third column of code 603. Since there are two types of words in the third column, (A) = 2. Since word 1 is a type in the fourth column, (B) = 1. Since "(A) ≥ (B)", the process proceeds to step S56. In step S56, a hierarchical structure is not generated. Therefore, the third column becomes a hierarchy with no children.
[0048] Since the process has been executed for all columns, the determination in step S53 becomes YES, and the process ends.
[0049] FIG. 7 shows an example of the layered label information DB 104 according to the first embodiment.
[0050] Fig. 7 shows an example in which the hierarchical processed label information 604 shown in Fig. 6 is represented as nodes and edges of a graph database and stored in the hierarchical label information DB 104. Although the example in Fig. 7 shows a graph database, the hierarchical structure may also be stored in the form of a relational database, a document database, or the like. Also, in the example in Fig. 7, there is a distinction between start points and end points of edges, but the distinction between start points and end points does not have to be made.
[0051] The word "Instrument 1" in the first column has become a single layer through the processing of step S56. Therefore, no edges are generated between words for the word "Instrument 1" in the first column. As a relationship with the sensor nodes, an edge is generated between the "Instrument 1" node and the "Sensor ID: 53" node. Also, an edge is generated between the "Instrument 1" node and the "Sensor ID: 54" node.
[0052] Between the word "(A Circuit)" in the second column and the words "1L-1" and "2L-1" in the third column, a hierarchical structure is generated by the processing of step S55, with the second column as the parent and the third column as the child. Therefore, an edge is generated between the "(A Circuit)" node and the "1L-1" node. Also, an edge is generated between the "(A Circuit)" node and the "2L-1" node. Furthermore, as a relationship with the sensor node, an edge is generated between the "1L-1" node and the "sensor ID: 53" node. Also, an edge is generated between the "2L-1" node and the "sensor ID: 54" node.
[0053] The word "air conditioner_W" in the fourth column has become a single hierarchical layer as a result of the processing in step S56. Therefore, no edges are generated between words for the word "air conditioner_W" in the fourth column. As a relationship with the sensor node, an edge is generated between the "air conditioner_W" node and the "sensor ID: 53" node. Also, an edge is generated between the "air conditioner_W" node and the "sensor ID: 54" node.
[0054] In this way, the hierarchical label information DB 104 stores the relationship between the hierarchical label information data and the sensor ID.
[0055] ***Explanation of Effects of the Embodiment*** As described above, according to this embodiment, a hierarchical structure between words can be generated from label information. This makes it possible to express information that is closer to the real environment, facilitating data aggregation and analysis. As a result, it becomes possible to provide a variety of services and solutions.
[0056] In the present embodiment, the label information representing the attributes of a sensor has been used as an example for explanation. However, the information for which the information processing device 100 according to the present embodiment can generate a hierarchical structure between words is not limited to label information. As long as the description information contains words in one or more natural languages, the information processing device 100 according to the present embodiment can generate a hierarchical structure between words included in the description information.
[0057] The procedure described in this embodiment is an example. Therefore, only a part of the procedure described in this embodiment may be implemented. Also, at least a part of the procedure described in this embodiment may be implemented in combination with a procedure not described in this embodiment. Also, the configuration and procedure described in this embodiment may be changed as necessary.
[0058] *** Supplementary Explanation of Hardware Configuration *** Here, a supplementary explanation of the hardware configuration of the information processing device 100 will be provided. The processor 901 shown in FIG. 8 is an IC (Integrated Circuit) that performs processing. The processor 901 is a CPU (Central Processing Unit), a DSP (Digital Signal Processor), or the like. The main storage device 902 shown in FIG. 8 is a RAM (Random Access Memory). The auxiliary storage device 903 shown in FIG. 8 is a ROM (Read Only Memory), a flash memory, an HDD (Hard Disk Drive), or the like. The communication device 904 shown in FIG. 8 is an electronic circuit that executes data communication processing. The communication device 904 is, for example, a communication chip or a NIC (Network Interface Card).
[0059] The auxiliary storage device 903 also stores an OS (Operating System). At least a portion of the OS is executed by the processor 901. The processor 901 executes programs that implement the functions of the functional components shown in FIG. 1 while executing at least a portion of the OS. The processor 901 executes the OS to perform task management, memory management, file management, communication control, and the like. At least one of information, data, signal values, and variable values indicating the results of processing of the functional components shown in FIG. 1 is stored in at least one of the main storage device 902, the auxiliary storage device 903, and registers and cache memory within the processor 901. The programs that implement the functions of the functional components shown in FIG. 1 may be stored on a portable recording medium such as a magnetic disk, a flexible disk, an optical disk, a compact disk, a Blu-ray (registered trademark) disk, or a DVD. Portable recording media storing the programs that implement the functions of the functional components shown in FIG. 1 may be distributed.
[0060] Furthermore, the term "unit" of at least one of the functional components shown in FIG. 1 may be interpreted as a "circuit," a "step," a "procedure," a "process," or a "circuitry." Furthermore, the information processing device 100 may be realized by a processing circuit. The processing circuit may be, for example, a logic IC (Integrated Circuit), a GA (Gate Array), an ASIC (Application Specific Integrated Circuit), or an FPGA (Field-Programmable Gate Array). In this case, the functional components shown in FIG. 1 are each realized as part of the processing circuit. In this specification, the generic concept of a processor and a processing circuit is referred to as "processing circuitry." In other words, the processor and the processing circuit are each specific examples of "processing circuitry."
[0061] Finally, various aspects of the present disclosure are summarized as appendices. (Appendix 1) An information processing device having: a word extraction unit that analyzes a plurality of description information, each of which describes one or more words in a natural language, and extracts words described in each description information from each description information by identifying the description position of the word in each description information; and a hierarchical structure generation unit that generates a hierarchical structure between words extracted from adjacent description positions. (Appendix 2) The information processing device according to Appendix 1, wherein the hierarchical structure generation unit eliminates duplication among multiple words extracted from the same description position, and generates a hierarchical structure between the words extracted from adjacent description positions after the duplication has been eliminated. (Appendix 3) The information processing device according to Appendix 1 or 2, wherein the hierarchical structure generation unit generates a hierarchical structure between the word extracted from the nth description position and the word extracted from the (n+1)th description position when the number of types of words extracted from the (n+1)th description position is greater than the number of words extracted from the nth description position. (Supplementary Note 4) The information processing device according to Supplementary Note 3, wherein the hierarchical structure generation unit generates a hierarchical structure between the word extracted from the nth description position and the word extracted from the (n+1)th description position, with the word extracted from the nth description position as a parent and the word extracted from the (n+1)th description position as a child. (Supplementary Note 5) The information processing device according to Supplementary Note 4, wherein, when the word extracted from the nth description position and the word extracted from the (n+1)th description position exist in the same description information, the hierarchical structure generation unit generates a hierarchical structure between the word extracted from the nth description position and the word extracted from the (n+1)th description position. (Appendix 6) The information processing device described in Appendix 4, wherein the hierarchical structure generation unit generates a hierarchical structure between the word extracted from the (n+1)th description position and the word extracted from the nth description position of description information different from the description information from which the word extracted from the (n+1)th description position was extracted, when a word extracted from the (n+1)th description position exists for any description information but a word extracted from the nth description position does not exist.(Supplementary Note 7) The information processing device according to any one of Supplements 1 to 6, wherein the word extraction unit analyzes a plurality of pieces of description information, each of which describes one or more words in a natural language that express attributes of a sensor. (Supplementary Note 8) An information processing method, wherein a computer analyzes a plurality of pieces of description information, each of which describes one or more words in a natural language, and extracts, from each piece of description information, words described in each piece of description information by identifying the description position of the word in each piece of description information, and the computer generates a hierarchical structure between the words extracted from adjacent description positions. (Supplementary Note 9) An information processing program, which causes a computer to execute a word extraction process that analyzes a plurality of pieces of description information, each of which describes one or more words in a natural language, and extracts, from each piece of description information, words described in each piece of description information by identifying the description position of the word in each piece of description information, and a hierarchical structure generation process that generates a hierarchical structure between the words extracted from adjacent description positions.
[0062] 100 Information processing device, 101 Sensor list table, 102 Morphological analysis unit, 103 Label hierarchical processing unit, 104 Hierarchical label information DB, 105 Sensor accumulated data table, 106 Sensor data analysis and aggregation processing unit, 901 Processor, 902 Main storage device, 903 Auxiliary storage device, 904 Communication device
Claims
1. An information processing device having: a word extraction unit that analyzes multiple pieces of description information, each of which describes one or more words in a natural language, and extracts words described in each piece of description information by identifying the description position of the word in each piece of description information; and a hierarchical structure generation unit that generates a hierarchical structure between words extracted from adjacent description positions.
2. The information processing device according to claim 1, wherein the hierarchical structure generation unit eliminates duplication among multiple words extracted from the same description position, and after the duplication has been eliminated, generates a hierarchical structure between words extracted from adjacent description positions.
3. An information processing device as described in claim 1 or 2, wherein the hierarchical structure generation unit generates a hierarchical structure between the words extracted from the nth description position and the words extracted from the (n+1)th description position when the number of types of words extracted from the (n+1)th description position is greater than the number of words extracted from the nth description position.
4. The information processing device according to claim 3, wherein the hierarchical structure generation unit generates a hierarchical structure between the word extracted from the nth description position and the word extracted from the (n+1)th description position, with the word extracted from the nth description position as the parent and the word extracted from the (n+1)th description position as the child.
5. The information processing device of claim 4, wherein the hierarchical structure generation unit generates a hierarchical structure between a word extracted from the nth description position and a word extracted from the (n+1)th description position, both extracted from the same description information, when both words exist.
6. The information processing device of claim 4, wherein the hierarchical structure generation unit generates a hierarchical structure between the word extracted from the (n+1)th description position and the word extracted from the nth description position of description information different from the description information from which the word extracted from the (n+1)th description position was extracted when a word extracted from the (n+1)th description position exists for any description information but a word extracted from the nth description position does not exist.
7. An information processing device according to any one of claims 1 to 6, wherein the word extraction unit analyzes a plurality of pieces of descriptive information, each of which describes one or more words in a natural language that each represent an attribute of a sensor.
8. An information processing method in which a computer analyzes multiple pieces of description information, each of which describes one or more words in a natural language, extracts words described in each piece of description information by identifying the position of the word in each piece of description information, and generates a hierarchical structure between words extracted from adjacent positions of description.
9. An information processing program that causes a computer to execute a word extraction process that analyzes multiple pieces of description information, each of which describes one or more words in a natural language, and extracts words described in each piece of description information by identifying the position of the word in each piece of description information, and a hierarchical structure generation process that generates a hierarchical structure between words extracted from adjacent positions of description.
Citation Information
Patent Citations
Log template determination method and device and computer readable storage medium
CN116362217A
Syntax checking device
JP1995013968A
Information analyzing apparatus, information analyzing method, and information analyzing program
JP2008027431A