Data conversion device and data conversion method

The data conversion device addresses the resolution mismatch between user data and AI models by adjusting and inverse-converting data intervals, ensuring accurate and feature-preserving predictions.

JP2024119169AInactive Publication Date: 2024-09-03HITACHI SOFTWARE ENG
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023025885
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2024-09-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing AI prediction models face issues when the temporal resolution of user data differs from the supported resolution, leading to loss of features during downsampling and inaccurate predictions.

Method used

A data conversion device that adjusts the data interval of user data to match the AI model's requirements, performing temporal scale conversion and inverse conversion to ensure accurate data processing.

Benefits of technology

Enables high-accuracy output results from AI models regardless of the user data resolution by aligning data intervals, preserving critical features and preventing loss of information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024119169000001
    Figure 2024119169000001
Patent Text Reader

Abstract

To obtain an output result from a model with high accuracy regardless of the resolution of user data.SOLUTION: A data conversion device 101 assists in execution of a model to which data of a predetermined data interval is input and which outputs data of the predetermined data interval on the basis of the input data. The data conversion device 101 stores user data, determines the data interval of the user data, converts the user data into data to be input into the model by changing the determined data interval corresponding to the data interval of the user data to a data interval for input to the model, acquires output data of the data interval for the model that is output by inputting the converted data to the model and corresponds to the converted data, and converts and outputs the output data into data corresponding to the user data by changing the data interval of the output data to the data interval corresponding to the data interval for the user data.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a data conversion device and a data conversion method. [Background technology]

[0002] Artificial intelligence (AI) technology is being used in a variety of fields. For example, data prediction using AI models has made it possible to predict events with high accuracy.

[0003] However, depending on the AI ​​model, the type or format of data that can be input to the AI ​​model is predetermined, and data preprocessing must be performed accordingly.

[0004] For example, Patent Document 1 discloses a learning device that performs pre-processing and has a pre-learning data collection unit that collects consecutive input data measured in an environment simulating an estimated environment and output data corresponding to the consecutive input data as pre-learning data, and a conversion unit that converts the consecutive input data into consecutive input data of multiple sizes, including a size larger than the input data, and converts output data corresponding to the consecutive input data into output data respectively corresponding to the consecutive input data of the multiple sizes, and outputs the converted data as learning data. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2020-91535 A Summary of the Invention [Problem to be solved by the invention]

[0006] However, there are problems that cannot be easily dealt with by such preprocessing. For example, when performing data prediction using an AI prediction model, the time resolution of the original user data may differ from the time resolution supported by the prediction model. In such cases, the original user data is modified, for example, by downsampling, and the modified data is input to the prediction model.

[0007] However, when doing so, the characteristics of the original user data are lost during the downsampling process, which can result in incorrect predictions using the prediction model.

[0008] The present invention has been made in consideration of the above background, and its object is to provide a data conversion device and a data conversion method that are capable of obtaining accurate output results from a model regardless of the resolution of user data. [Means for solving the problem]

[0009] One aspect of the present invention for solving the above-mentioned problems is a data conversion device for supporting the execution of a model in which data of a predetermined data interval is input and data of the predetermined data interval is output based on the input data, the data conversion device comprising: a storage device for storing user data; and a control device that executes a user data interval identification process for identifying the data interval of the user data, a data conversion process for converting the user data into data to be input to the model by changing the data interval of the identified user data to a data interval corresponding to the data interval related to the input to the model, a model result acquisition process for acquiring output data of the data interval related to the model corresponding to the converted data output by inputting the converted data into the model, a data inverse conversion process for converting the output data into data corresponding to the user data by changing the data interval of the acquired output data to the data interval corresponding to the data interval related to the user data, and an output process for outputting the converted data. Effect of the Invention

[0010] According to the present invention, it is possible to obtain accurate output results from a model regardless of the resolution of the user data. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a diagram illustrating an example of a configuration of an information processing system according to an embodiment of the present invention. [Diagram 2] 2 is a diagram illustrating an example of hardware included in a data conversion device and functional units of the data conversion device. FIG. [Diagram 3] FIG. 4 illustrates an example of a log file. [Figure 4] FIG. 13 is a diagram showing an example of data items in a log intermediate file. [Diagram 5] FIG. 13 is a diagram showing an example of data items in an AI analysis intermediate file. [Figure 6] FIG. 13 is a diagram showing an example of data items in an AI analysis result file. [Figure 7] FIG. 13 illustrates an example of a log data time interval management table. [Figure 8] FIG. 13 is a diagram illustrating an example of an AI data time interval management table. [Figure 9] FIG. 1 is a diagram illustrating an example of an outline of a data analysis process. [Figure 10] FIG. 11 is a flow diagram illustrating details of a data conversion process. [Figure 11] FIG. 11 is a flow diagram illustrating an example of a log data timestamp interval specification process. [Figure 12] FIG. 13 is a flow diagram illustrating an example of an AI data timestamp interval specification process. [Figure 13] FIG. 11 is a flow diagram illustrating details of a timestamp conversion process. [Figure 14] FIG. 11 is a flow diagram illustrating details of a data inverse conversion process. [Figure 15] FIG. 11 is a flow diagram illustrating details of a timestamp inverse conversion process. [Figure 16]FIG. 13 is a diagram illustrating an example of processing of an AI model when data conversion processing is not executed. [Figure 17] 11A and 11B are diagrams illustrating an example of a process performed by the data conversion device when the data conversion process is executed. [Figure 18] 11A and 11B are diagrams illustrating an example of a process performed by the data conversion device when a data inverse conversion process is executed. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to the drawings. 1 is a diagram showing an example of the configuration of an information processing system 1 according to this embodiment. The information processing system 1 includes a data processing system 102, a data conversion device 101, and a user device 10. The data processing system 102, the data conversion device 101, and the user device 10 are communicatively connected to each other via a wired or wireless communication network 5 such as a local area network (LAN), a wide area network (WAN), or a dedicated line.

[0013] The user device 10 stores various types of user data 11 managed by the user. The user data 11 is composed of data values ​​(e.g., predetermined measurement values ​​at each time) observed at each point at a predetermined interval (e.g., time interval). The user data 11 is, for example, time-series data indicating the traffic performance of a network in an information processing system, and time-series measurement data obtained by various measuring devices. The data interval of the user data 11 differs depending on the type of the user data 11, etc.

[0014] On the other hand, the data processing system 102 stores a model (AI service 112) that outputs a predetermined output value (for example, a future predicted value of the user data) corresponding to the user data 11 when the user data 11 is input. The AI ​​service 112 is, for example, a database, a function, or a trained model (AI: Artificial Intelligence) generated by machine learning. The data processing system 102 is provided, for example, as SaaS (Software as a Service).

[0015] The data interval (data resolution) of the user data 11 that can be input to the AI ​​service 112 of the data processing system 102 is fixed by specifications, etc. Therefore, even if the user data 11 is input as is, the AI ​​service 112 may not be able to output an accurate output value.

[0016] In this regard, for example, if the data interval of the user data 11 is shorter than the data interval of the AI ​​service 112, it may be possible to process the user data 11 by downsampling or the like to make it compatible with the AI ​​service 112, but doing so would reduce the accuracy of the user data 11.

[0017] Therefore, the data conversion device 101 of this embodiment uses various data stored in a storage device 111 described later to perform temporary scale conversion and inverse conversion between the data intervals in the user data 11 and the data intervals that can be processed by the AI ​​service 112. This allows the AI ​​service 112 to perform highly accurate data processing of the user data 11 even if the intervals of the user data 11 differ from the data intervals of the AI ​​service 112.

[0018] In the following, the AI ​​service 112 of the data processing system 102 is assumed to be a trained model (AI model) generated based on a neural network such as a recurrent neural network (RNN). In the present embodiment, the user data 11 is assumed to be a data group consisting of data values ​​having a predetermined time interval.

[0019] FIG. 2 is a diagram showing an example of the hardware included in the data conversion device 101 and the functional units that the data conversion device 101 has. The data conversion device 101 includes a control device 201 (processor) such as a CPU (Central Processing Unit), a storage device 202 (memory) such as a RAM (Random Access Memory) or a ROM (Read Only Memory), a communication device 203 configured as a NIC (Network Interface Card), a wireless communication module, a USB (Universal Serial Interface) module, a serial communication module, or the like, a storage device 111 such as an HDD (Hard Disk Drive) or an SSD (Solid State Drive), an input device 204 configured as a keyboard, a mouse, a touch panel, or the like, and an output device 205 for displaying a screen configured as a monitor (display), or the like.

[0020] The data converter 101 also includes the following functional units: a log data timestamp interval specification unit 211 , an AI data timestamp interval specification unit 212 , a timestamp conversion unit 213 , and a timestamp inverse conversion unit 214 .

[0021] The log data time stamp interval specification unit 211 specifies a time interval of data in the user data (user data time interval).

[0022] The AI ​​data time stamp interval specification unit 212 specifies the time interval of the input data of the AI ​​model (AI data time interval).

[0023] In this embodiment, the user data time interval is shorter than the AI ​​data time interval, but the present invention is not limited to this.

[0024] The timestamp conversion unit 213 converts the user data into data to be input to the AI ​​model by changing the data interval of the user data (user data time interval) to a data interval corresponding to the data interval related to the input to the AI ​​model (AI data time interval).

[0025] The timestamp inverse converter 214 performs conversion in the opposite direction to the conversion performed by the timestamp converter 213. That is, the timestamp inverse converter 214 converts the data output by the AI ​​model into data corresponding to the user data by changing the data interval of the output data output by the AI ​​model to a data interval corresponding to the data interval related to the user data (user data time interval).

[0026] The data conversion device 101 also stores the following tables (databases): a log file 215, a log intermediate file 216, an AI analysis intermediate file 217, an AI analysis result file 218, a log data time interval management table 400, and an AI data time interval management table 500.

[0027] The log file 215 is a file that accumulates user data, that is, the log file 215 stores data values ​​at each time at a predetermined time interval.

[0028] (Log files) 3 is a diagram showing an example of the log file 215. The log file 215 has data items of a timestamp 2511 in which a time in the user data is set, and a data value 2512 in which a data value in the user data is set.

[0029] The time is set in a predetermined data format in the time stamp 2511. In this embodiment, the data format of the time stamp 2511 is made up of a first part (yyyy / mm / dd) which is the year, month, and day part of the time of the user data, and a second part (HH:MM:SS.fff) which is the part after the hour of the time of the user data (hours, minutes, seconds, milliseconds).

[0030] (Log intermediate file, AI analysis intermediate file, AI analysis file) The log intermediate file 216 is a database that stores data corresponding to the user data (hereinafter referred to as log intermediate data) obtained by converting the time intervals of the user data in the log file 215 into time intervals that can be input as input data for the AI ​​model.

[0031] The AI ​​analysis intermediate file 217 is a database that stores data (hereinafter, referred to as AI output data) that the AI ​​model of the data processing system 102 outputs based on the log intermediate data.

[0032] The AI ​​analysis result file 218 is a database that stores data that is converted from the time intervals of the AI ​​output data in the AI ​​analysis intermediate file 217 into time intervals of user data (hereinafter referred to as AI analysis intermediate data) that corresponds to the user data.

[0033] 4-6 are diagrams showing examples of data items in the log intermediate file 216, the AI ​​analysis intermediate file 217, and the AI ​​analysis result file 218. In the examples shown in the figures, the data items in the log intermediate file 216, the AI ​​analysis intermediate file 217, and the AI ​​analysis result file 218 are similar to those in the log file 215, but may have different data items.

[0034] Next, as shown in FIG. 7, a log data time interval management table 400 stores data for identifying a user data time interval.

[0035] The AI ​​data time interval management table 500 stores data for specifying the AI ​​data time interval.

[0036] (Log data time interval management table) 7 is a diagram showing an example of a log data time interval management table 400. The log data time interval management table 400 is a table that defines user data time intervals. That is, the log data time interval management table 400 has data items including a number 401 in which the number of the time interval is set, a time stamp category 402 in which the unit of the user data time interval (time stamp category) is set, and an interval value 403 in which the value of the time interval based on the time stamp category (hereinafter referred to as category value) is set.

[0037] When "01" is set in the time stamp category 402, the time stamp category is "hours", when "02" is set, the time stamp category is "minutes", when "03" is set, the time stamp category is "seconds", and when "04" is set, the time stamp category is "milliseconds". In this embodiment, it is assumed that "02" to "04" can be set.

[0038] Furthermore, in this embodiment, when "02" is set in the timestamp category 402, any of 1, 5, 10, 15, or 30 can be set as the interval value 403, when "03" is set, any of 1, 5, 10, 15, or 30 can be set as the interval value, and when "04" is set, any of 1, 5, 10, 25, 50, 100, 250, or 500 can be set as the interval value. In this way, the settable interval values ​​are multiples of a predetermined base.

[0039] (AI data time interval management table) 8 is a diagram showing an example of an AI data time interval management table 500. The AI ​​data time interval management table 500 is a table that defines the time intervals (AI data time intervals) of a model. That is, the AI ​​data time interval management table 500 has data items including number 501 in which the time interval number is set, timestamp category 502 in which the unit of the AI ​​data time interval (timestamp category) is set, and interval value 503 in which the value of the time interval based on the timestamp category (category value) is set.

[0040] When "01" is set in the time stamp category 502, the time stamp category is "hours", when "02" is set, the time stamp category is "minutes", when "03" is set, the time stamp category is "seconds", and when "04" is set, the time stamp category is "milliseconds". In this embodiment, it is assumed that "01" to "03" can be set.

[0041] In this embodiment, the values ​​of timestamp segment 502 and interval value 503 are fixed because the AI ​​data time interval in the AI ​​model is fixed.

[0042] In other words, in this embodiment, when the timestamp category 502 is set to "01", only 1 can be set to the interval value 503, when the timestamp category 502 is set to "02", only 1 can be set to the interval value 503, and when the timestamp category 502 is set to "03", only 1 can be set to the interval value 503.

[0043] Note that the specifications of the timestamp category 502 and interval value 503 are just an example. For example, if the time interval of the AI ​​data in the AI ​​model is changeable, the values ​​of the timestamp category 502 and interval value 503 may be changed according to that value.

[0044] Each function of the data conversion device 101 described above is realized by the hardware of the data conversion device 101, or by the control device 201 of the data conversion device 101 reading and executing each program stored in the storage device 202 or the storage device 111. In addition, these programs are stored in a storage device such as a secondary storage device, a non-volatile semiconductor memory, a hard disk drive, or an SSD, or a recording medium readable by an information processing device such as an IC card, an SD card, or a DVD. Note that the data conversion device 101 may be realized in whole or in part by using a virtual information processing resource provided by using a virtualization technology, a process space separation technology, or the like, such as a virtual server provided by a cloud system. In addition, all or in part of the functions provided by the data conversion device 101 may be realized by a service provided by a cloud system via an API (Application Programming Interface), or the like.

[0045] FIG. 9 is a diagram illustrating an example of an outline of a data analysis process for analyzing user data.

[0046] First, data conversion device 101 acquires user data and stores the acquired user data in log file 215 (s1). For example, data conversion device 101 may receive user data from user device 10, or may accept input of user data from user device 10.

[0047] The data conversion device 101 executes a data conversion process s3 in which the time interval of the user data acquired in s1 is converted into the time interval of the input data of the AI ​​model (AI data time interval), thereby converting the user data into AI model-compatible user data (data of the log intermediate file 216), which is data that can be input as input data for the AI ​​model.

[0048] The data conversion process s3 includes a log data timestamp interval specification process s31, an AI data timestamp interval specification process s32, and a timestamp conversion process s33. These processes will be described in detail later.

[0049] The data conversion device 101 executes the AI ​​model using the AI ​​model-compatible user data (data of the log intermediate file 216) output in the data conversion process s3 as input data (s5). Specifically, the data conversion device 101 transmits the data obtained by conversion in the data conversion process s3 to the data processing system 102. The data processing system 102 inputs the received data to the AI ​​model (AI service 112), thereby outputting corresponding output data, and stores the output data in the AI ​​analysis intermediate file 217.

[0050] The data conversion device 101 receives the output data output by the AI ​​model from the data processing system 102 (s7). Specifically, the data processing system 102 transmits the output data (AI analysis intermediate file 217) output in s5 to the data conversion device 101. The data conversion device 101 stores the received AI analysis intermediate file 217.

[0051] The data conversion device 101 executes a data inverse conversion process s9 in which the output data received in s7 (AI analysis intermediate file 217) is converted into the time interval of the user data, thereby converting the output data received in s7 into output data of the AI ​​model corresponding to the user data (AI analysis result file 218).

[0052] The data inverse conversion process s9 includes a log data timestamp interval specification process s91, an AI data timestamp interval specification process s92, and a timestamp inverse conversion process s93. These processes will be described in detail later.

[0053] Thereafter, the data conversion device 101 executes an output process for displaying on a screen the output data obtained by the conversion in the data inverse conversion process s9. Each of the above processes will now be described in detail.

[0054] <Data conversion process> 10 is a flow diagram illustrating the details of the data conversion process s3. First, the log data timestamp interval specification unit 211 of the data conversion process executes a log data timestamp interval specification process s31 for calculating the time interval of the user data in the log file 215 (user data time interval).

[0055] In addition, the AI ​​data time stamp interval specification unit 212 executes an AI data time stamp interval specification process s32 that calculates the time interval (AI data time interval) of the time series data of the AI ​​data supported by the AI ​​model (AI service) of the data processing system 102.

[0056] The timestamp conversion unit 213 executes a timestamp conversion process s33 that converts the user data into data corresponding to the AI ​​data time interval (AI model compatible user data) based on the user data time interval calculated in the log data timestamp interval specification process s31.

[0057] <Log data timestamp interval identification process>

[0058] 11 is a flow diagram explaining an example of the log data time stamp interval specification process s31. First, the log data time stamp interval specification unit 211 refers to the log data time interval management table 400 and acquires the time stamp category and category value of the time interval of the user data. Specifically, the log data time stamp interval specification unit 211 acquires the contents of the time stamp category 402 (time stamp category) and the contents of the interval value 403 (s311).

[0059] If the timestamp category is "02" (minutes), the log data timestamp interval determination unit 211 executes processing of s312; if the timestamp category is "03" (seconds), it executes processing of s313; and if the timestamp category is "04" (milliseconds), it executes processing of s314.

[0060] In S312, the log data timestamp interval specifying unit 211 calculates the user data time interval by multiplying the classification value obtained in S311 by 60 and 1000. Thus, the log data timestamp interval specifying process S31 ends.

[0061] In S313, the log data timestamp interval specifying unit 211 calculates the user data time interval by multiplying the classification value obtained in S311 by 1000. Thus, the log data timestamp interval specifying process S31 ends.

[0062] In S314, the log data timestamp interval specifying unit 211 sets the classification value obtained in S311 as the user data time interval. Thus, the log data timestamp interval specifying process S31 ends.

[0063] Note that if the user data time interval specified by the log data timestamp interval specifying unit 211 in S312 to S314 is different from the time interval of the user data in the log file 215, the user data may be corrected so that the user data is based on the user data time interval specified in S312 to S314 (for example, interpolation processing such as linear interpolation is performed) (S315).

[0064] <AI Data Timestamp Interval Specifying Process>

[0065] FIG. 12 is a flowchart for explaining an example of the AI data timestamp interval specifying process S32. First, the AI data timestamp interval specifying unit 212 refers to the AI data time interval management table 500 and acquires the timestamp classification and classification value of the AI data time interval. Specifically, the AI data timestamp interval specifying unit 212 acquires the content of the timestamp classification 502 (timestamp classification) and the content of the interval value 503 (classification value) of the AI data (S321).

[0066] If the timestamp category is "01" (hours), the AI ​​data timestamp interval determination unit 212 executes processing of s322; if the timestamp category is "02" (minutes), it executes processing of s323; and if the timestamp category is "03" (seconds), it executes processing of s324.

[0067] In s322, the AI ​​data time stamp interval specification unit 212 calculates the AI ​​data time interval by multiplying the division value acquired in s321 by 60, 60, and 1000, respectively. This ends the AI ​​data time stamp interval specification process s32.

[0068] In s323, the AI ​​data time stamp interval specification unit 212 calculates the AI ​​data time interval by multiplying the division value acquired in s321 by 60 and 1000. This ends the AI ​​data time stamp interval specification process s32.

[0069] In s324, the AI ​​data time stamp interval specification unit 212 obtains the AI ​​data time interval by multiplying the division value acquired in s321 by 1000. This ends the AI ​​data time stamp interval specification process s32.

[0070] <Time stamp conversion process> FIG. 13 is a flow diagram illustrating the time stamp conversion process s33 in detail.

[0071] First, the timestamp conversion unit 213 calculates the ratio of the AI ​​data time interval to the user data time interval (hereinafter referred to as the scale conversion ratio X) (s331). In this embodiment, the scale conversion ratio X is the expansion ratio from the user data time interval to the AI ​​data time interval (on the other hand, in the timestamp inverse conversion process s9 described later, the scale conversion ratio X functions as the contraction ratio from the AI ​​data time interval to the user data time interval).

[0072] The timestamp conversion unit 213 converts the time of the user data in the log file 215 into an elapsed time (log data elapsed time m) in milliseconds that is an offset from a predetermined reference time (in this embodiment, 0 hours, 0 minutes, 0 seconds, 0 milliseconds) (s332 to s335).

[0073] Specifically, the time stamp conversion unit 213 extracts the value of the "hour" part in the second part of the time stamp 2151 of a certain record (selected record) in the log file 215, and multiplies the extracted value by 60, 60, and 1000, respectively (s332). The time stamp conversion unit 213 also extracts the value of the "minute" part in the second part of the time stamp 2151 of the selected record in the log file 215, and multiplies the extracted value by 60 and 1000, respectively (s333). The time stamp conversion unit 213 also extracts the value of the "second" part in the second part of the time stamp 2151 of the selected record in the log file 215, and multiplies the extracted value by 1000 (s334). Then, the time stamp conversion unit 213 sets the total value of the multiplied values ​​calculated in s332 to s334 as the log data elapsed time m of the record.

[0074] Then, the time stamp conversion unit 213 converts the log data elapsed time m into the elapsed time in milliseconds from a predetermined time in the AI ​​data (in this embodiment, 0 hours, 0 minutes, 0 seconds, 0 milliseconds) (log data elapsed time Y) (s336). Specifically, the time stamp conversion unit 213 calculates the product of the log data elapsed time m and the scale conversion ratio X.

[0075] The timestamp conversion unit 213 converts the log data elapsed time Y calculated in s336 into data Y' in the format of the second part of the timestamp (s337). Specifically, the timestamp conversion unit 213 generates data Y' by converting the log data elapsed time Y calculated in s336 into the format of "hour:minute:second.millisecond".

[0076] Based on the data Y' converted in s337, the time stamp conversion unit 213 converts the time data of the user data in the log file 215 into time data in the log intermediate file 216 (s338). Specifically, it extracts the date portion (corresponding to the first portion) of the timestamp 2151 of the selected record, and generates data by combining the extracted date portion with the data Y' converted in s337 (corresponding to the second portion).

[0077] Based on the time data generated in s338, the time stamp conversion unit 213 stores data corresponding to the user data in the log file 215 in the log intermediate file 216 (s339). Specifically, the time stamp conversion unit 213 generates a new record in the log intermediate file 216, stores the data generated in s338 in the timestamp 2161 of the generated record, and sets the content of the data value 2152 of the selected record to the data value 2162.

[0078] The time stamp conversion unit 213 repeats the processes of s 332 to s 339 for all records in the log file 215 .

[0079] <Data Reverse Conversion Processing> FIG. 14 is a flow diagram illustrating the details of the data inverse conversion process s9. First, the log data timestamp interval specifying unit 211 executes a log data timestamp interval specifying process s91 for calculating a user data time interval, similar to the log data timestamp interval specifying process s31 of the data conversion process s3.

[0080] Furthermore, the AI ​​data time stamp interval specification unit 212 executes an AI data time stamp interval specification process s92 for calculating the AI ​​data time interval, similar to the AI ​​data time stamp interval specification process s32 of the data conversion process s3.

[0081] The timestamp conversion unit 213 executes a timestamp inverse conversion process s93 that converts the data output by the AI ​​(AI output data) into data corresponding to the log data time interval (AI output data corresponding to the user data) based on the user data time interval calculated in the log data timestamp interval identification process s91.

[0082] <Timestamp reverse conversion process> FIG. 15 is a flow diagram illustrating the details of the timestamp inverse conversion process s93.

[0083] First, the time stamp inverse converter 214 calculates the ratio of the AI ​​data time interval to the user data time interval (scale conversion ratio X) in the same manner as in s331 (s931).

[0084] The timestamp inverse conversion unit 214 converts the time of the AI ​​output data in the AI ​​analysis intermediate file 217 into an elapsed time in milliseconds (AI output data elapsed time m2) that is an offset from a predetermined reference time (in this embodiment, 0 hours, 0 minutes, 0 seconds, 0 milliseconds) (s932 to s935).

[0085] Specifically, the timestamp inverse conversion unit 214 extracts the value of the "hour" part in the second part of the timestamp 2171 of a certain record (selected record) of the AI ​​analysis intermediate file 217, and multiplies the extracted value by 60, 60, and 1000, respectively (s932). The timestamp inverse conversion unit 214 also extracts the value of the "minute" part in the second part of the timestamp 2171 of the selected record of the AI ​​analysis intermediate file 217, and multiplies the extracted value by 60 and 1000, respectively (s933). The timestamp inverse conversion unit 214 also extracts the value of the "second" part in the second part of the timestamp 2171 of the selected record of the AI ​​analysis intermediate file 217, and multiplies the extracted value by 1000 (s934). Then, the timestamp inverse conversion unit 214 sets the total value of the multiplied values ​​calculated in s932 to s934 as the AI ​​output data elapsed time m2 of the record.

[0086] Then, the timestamp inverse converter 214 converts the AI ​​output data elapsed time m into an elapsed time in milliseconds (AI analysis result data elapsed time Y2) from a predetermined time (0 hours, 0 minutes, 0 seconds, 0 milliseconds in this embodiment) that corresponds to the AI ​​analysis result file 218 (s936). Specifically, the timestamp inverse converter 214 divides the AI ​​output data elapsed time m2 by the scale conversion ratio X (m2 / X).

[0087] The timestamp inverse conversion unit 214 converts the AI ​​analysis output data elapsed time Y2 calculated in s936 into data Y2' in the format of the second part of the timestamp of the AI ​​analysis result file 218 (s937). Specifically, the timestamp inverse conversion unit 214 generates data Y2' by converting the AI ​​analysis result data elapsed time Y2 calculated in s936 into the format of "hours:minutes:seconds.milliseconds".

[0088] Based on the data Y2' converted in s937, the timestamp inverse conversion unit 214 converts the time data of the AI ​​output data in the AI ​​analysis intermediate file 217 into time data of the AI ​​analysis result file 218 (s938). Specifically, the timestamp inverse conversion unit 214 extracts the date portion (corresponding to the first portion) of the timestamp 2171 of the selected record, and generates data that combines the extracted date portion with the data Y2' converted in s937 (corresponding to the second portion).

[0089] Based on the time data generated in s938, the timestamp inverse conversion unit 214 stores data corresponding to the AI ​​output data in the AI ​​analysis intermediate file 217 in the AI ​​analysis result file 218 (s939). Specifically, the timestamp inverse conversion unit 214 generates a new record in the AI ​​analysis result file 218, stores the data generated in s938 in timestamp 2181 of the generated record, and sets the content of data value 2172 of the selected record to data value 2182.

[0090] The time stamp inverse conversion unit 214 repeats the processes of s932 to s939 for all records in the AI ​​analysis intermediate file 217.

[0091] <Effects of data conversion processing> Here, the effects of data conversion device 101 will be described.

[0092] First, Fig. 16 is a diagram for explaining an example of the processing of the AI ​​model when the data conversion process s3 is not executed. As shown in the figure, it is assumed that the log file 215 stores user data at time intervals of every 10 seconds. On the other hand, it is assumed that the AI ​​model can process only data at time intervals of every minute as an input value.

[0093] If the data conversion process s3 is not executed, it is necessary to perform downsampling (reducing the data resolution) to convert the user data in the log file 215 at a time interval of 10 seconds into data at a time interval of 1 minute by calculating the average value 1303 for each minute, thereby generating a log intermediate file 216, and inputting this log intermediate file 216 to the AI ​​model (AI service 112). However, if the user data in the log file 215 contains a peak (short-term abnormal value 1301) of the data value that occurred within a span of 10 seconds, downsampling generates an input value (log intermediate file 216) in which this short-term abnormal value 1301 has disappeared. If this input value is input to the AI ​​model, the AI ​​model may not recognize this short-term abnormal value 1301, and as a result, the AI ​​analysis result file 218 may be output that contains an incorrect output value 1302 (predicted value).

[0094] 17 is a diagram for explaining an example of processing by the data conversion device 101 when data conversion processing s3 is executed. As shown in the figure, by executing data conversion processing s3 on a log file 215 of user data with a time interval of 10 seconds, a log intermediate file 216 is generated in which the time interval is expanded from 10 seconds to 1 minute. As a result, even if a short-term anomalous value 1301 exists in the user data, the corresponding short-term anomalous value 1401 remains in the log intermediate file 216. Then, when this log intermediate file 216 is input to an AI model (AI service 112), the AI ​​model can output an output value 1402 based on the result of recognizing the short-term anomalous value 1401.

[0095] 18 is a diagram for explaining an example of processing of the data conversion device 101 when the data inverse conversion process s9 is executed following the data conversion process s3. As shown in the figure, by executing the data inverse conversion process s9 on the AI ​​analysis intermediate file 217 storing the above-mentioned output value 1402 by the AI ​​model, an AI analysis result file 218 is generated in which the time interval is contracted from 1 second to 10 seconds. As a result, even if a short-term abnormal value exists in the user data, the user device 10 can obtain a predicted value 1501 that reflects the short-term abnormal value and also corresponds in time interval to the user data.

[0096] As described above, the data conversion device 101 of this embodiment converts user data into data to be input to the AI ​​model by changing the data interval (user data time interval) of the user data to a data interval (AI data time interval) corresponding to the data interval related to the input to the AI ​​model (log intermediate file 216), inputs the converted data to the AI ​​model to output data of the data interval related to the AI ​​model corresponding to the converted data (AI analysis intermediate file 217), converts the output data into data corresponding to the user data by changing the data interval of the output data to a data interval corresponding to the data interval related to the user data (AI analysis result file 218), and outputs the converted data.

[0097] That is, the data conversion device 101 of this embodiment inputs user data, whose data interval has been changed to a data interval supported by the AI ​​model, to the AI ​​model for execution, and also converts the output data of the AI ​​model into data whose data interval has been returned to the data interval of the original user data, and outputs this. As a result, even if the data resolution of the user data differs from that of the AI ​​model, it is possible to obtain a highly accurate output result based on the AI ​​model without changing the resolution.

[0098] In this way, according to the data conversion device 101 of this embodiment, it is possible to obtain an output result from the model with high accuracy, regardless of the resolution of the user data.

[0099] Furthermore, in this embodiment, the data interval of the user data is shorter than the data interval of the data input to the AI ​​model, and the data conversion device 101 converts the user data into data input to the AI ​​model by expanding the user data time interval to the AI ​​data time interval, and converts the output data of the AI ​​model into data corresponding to the user data by contracting the data interval of the data output by the AI ​​model to a data interval corresponding to the user data.

[0100] This makes it possible to prevent, for example, a situation in which downsampling is performed to reduce the resolution of user data in order to input the user data into an AI model, resulting in data output from the AI ​​model not reflecting important data (abnormal values ​​that occur within a short period of time) as a result of the downsampling, making it impossible to obtain valid output data.

[0101] Furthermore, the data conversion device 101 of this embodiment converts the user data into data to be input to the AI ​​model by changing the elapsed time from a specified reference time in the user data by a scale conversion ratio X based on the time interval of the data input to the AI ​​model and the time interval of the user data, and converts the data output from the AI ​​model into data corresponding to the user data by changing the elapsed time from a specified time in the data output from the AI ​​model by a scale conversion ratio X.

[0102] In this way, by performing conversion and inverse conversion between user data time intervals and AI data time intervals based on the elapsed time (offset) from a predetermined time, reliable scale conversion can be performed.

[0103] Furthermore, data conversion device 101 of this embodiment receives input of information relating to data intervals in the user data, and identifies the data intervals of the user data based on the input information.

[0104] This allows the user to appropriately set the user data time interval.

[0105] The above description of the embodiment is for the purpose of facilitating understanding of the present invention, and is not intended to limit the present invention. The present invention may be modified or improved without departing from the spirit of the present invention, and the present invention includes equivalents thereof.

[0106] For example, part of the hardware included in each device of this embodiment may be provided in another device.

[0107] Furthermore, each program of each device may be provided in another device, a program may consist of multiple programs, or multiple programs may be integrated into one program.

[0108] In the present embodiment, the data interval of the user data is a time interval (time of day) (the user data is time-series data), but other types of intervals may be used. For example, the data interval may be a space interval or a length interval. [Explanation of symbols]

[0109] 1 Information processing system, 101 Data conversion device, 102 Data processing system

Claims

1. A data conversion device that supports execution of a model that receives input data of a predetermined data interval and outputs data of the predetermined data interval based on the input data, a storage device for storing user data; and a user data interval specification process for specifying a data interval of the user data; a data conversion process for converting the identified user data into data to be input to the model by changing a data interval of the identified user data to a data interval corresponding to a data interval related to an input to the model; a model result acquisition process for acquiring output data of a data interval related to the model, the output data corresponding to the converted data being output by inputting the converted data into the model; a data inverse conversion process for converting the output data into data corresponding to the user data by changing a data interval of the acquired output data into a data interval corresponding to the data interval related to the user data; An output process for outputting the converted data; A data conversion device comprising a control device that executes the above.

2. the storage device stores user data having a data interval shorter than a data interval of data input to the model; The control device includes: In the data conversion process, a data interval of the identified user data is expanded to a data interval corresponding to a data interval related to an input to the model, thereby converting the user data into data to be input to the model; In the data inverse conversion process, a data interval of the output data is contracted to a data interval corresponding to the data interval of the user data, thereby converting the output data into data corresponding to the user data.

2. The data conversion device according to claim 1.

3. The model receives data at each time in a predetermined time interval, and outputs data at each time in the predetermined time interval based on the input data, the storage device stores data values ​​at each time point at a predetermined time interval as user data; The control device includes: In the data conversion process, a time elapsed from a predetermined time in the identified user data is changed by a predetermined ratio based on a time interval of the data input to the model and a time interval of the user data, thereby converting the user data into data to be input to the model; In the data inverse conversion process, the elapsed time from a predetermined time in the output data is changed by a predetermined ratio based on a time interval of the data input to the model and a time interval of the user data, thereby converting the output data into data corresponding to the user data.

2. The data conversion device according to claim 1.

4. the control device, in the user data interval identification process, accepts input of information regarding a data interval of data in the user data, and identifies the data interval of the user data based on the input information.

2. The data conversion device according to claim 1.

5. A data conversion method for supporting execution of a model in which data of a predetermined data interval is input and data of the predetermined data interval is output based on the input data, comprising: An information processing device, Store user data; a user data interval specification process for specifying a data interval of the user data; a data conversion process for converting the identified user data into data to be input to the model by changing a data interval of the identified user data to a data interval corresponding to a data interval related to an input to the model; a model result acquisition process for acquiring output data of a data interval related to the model, the output data corresponding to the converted data being output by inputting the converted data into the model; a data inverse conversion process for converting the output data into data corresponding to the user data by changing a data interval of the acquired output data into a data interval corresponding to the data interval related to the user data; An output process for outputting the converted data; Perform the data transformation method.

6. The information processing device, storing user data having a data interval shorter than the data interval of data input to said model; In the data conversion process, a data interval of the identified user data is expanded to a data interval corresponding to a data interval related to an input to the model, thereby converting the user data into data to be input to the model; In the data inverse conversion process, a data interval of the output data is contracted to a data interval corresponding to the data interval of the user data, thereby converting the output data into data corresponding to the user data. The data conversion method according to claim 5 .

7. The model receives data at each time in a predetermined time interval, and outputs data at each time in the predetermined time interval based on the input data, The information processing device, storing data values ​​at each time point at a predetermined time interval as user data; In the data conversion process, a time elapsed from a predetermined time in the identified user data is changed by a predetermined ratio based on a time interval of the data input to the model and a time interval of the user data, thereby converting the user data into data to be input to the model; In the data inverse conversion process, the elapsed time from a predetermined time in the output data is changed by a predetermined ratio based on a time interval of the data input to the model and a time interval of the user data, thereby converting the output data into data corresponding to the user data. The data conversion method according to claim 5 .

8. the information processing device, in the user data interval identification process, accepts an input of information regarding a data interval of data in the user data, and identifies the data interval of the user data based on the input information. The data conversion method according to claim 5 .

Citation Information

Patent Citations

  • Preprocessing device, preprocessing method and preprocessing program

    JP2020091535A