Information processing device, information processing method, and program

By converting time-series data into M-ary number data and generating image data with pixel values, the system achieves lossless compression and reduces calculation complexity, enabling efficient data restoration.

JP2025011834APending Publication Date: 2025-01-24TOYOTA JIDOSHA KK
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023114186
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-07-12
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

Existing data processing systems that perform window compression on time-series data leave the original data intact and suffer from increased calculation complexity due to window-based functions.

Method used

The system converts time-series data into M-ary number data, generates image data with pixel values corresponding to this data, and stores it, allowing for lossless compression and subsequent easy restoration.

Benefits of technology

Enables data compression without loss and reduces calculation complexity, while maintaining the ability to restore the original data efficiently.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025011834000001_ABST
    Figure 2025011834000001_ABST
Patent Text Reader

Abstract

To provide an information processing device capable of compressing data without loss.SOLUTION: An information processing device 10 according to the present disclosure includes an acquisition unit 11 that acquires time series data, an m-ary data generation unit 13 that converts the time series data into an m-ary number (m is an integer of 2 or more) to generate m-ary data, an image data generation unit 14 that generates image data having pixel values corresponding to the m-ary data, and a memory unit 19 that stores the image data.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an information processing device, an information processing method, and a program. [Background technology]

[0002] There is known a technique for processing and compressing time series data detected by a sensor or the like. As a related technique, Patent Document 1 discloses a data processing system having a processor and processing time series data. The processor is configured to execute generation of processed data by applying a window function used in frequency analysis of the time series data to the time series data. The data processing system executes compression processing of the time series data based on the window function (window compression processing). The data processing system also executes compression processing (normal compression processing) by a method other than the window compression processing on the window compressed data. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent Publication No. 2023-045915 Summary of the Invention [Problem to be solved by the invention]

[0004] The data processing system disclosed in Patent Document 1 calculates time series data at regular intervals using a window function and stores the calculation results, which causes a problem in that the original time series data is not retained.

[0005] The present disclosure provides an information processing device, an information processing method, and a program capable of compressing data without loss. [Means for solving the problem]

[0006] The information processing device according to the present disclosure includes: An acquisition unit that acquires time series data; an m-ary data generating unit that converts the time series data into an m-ary number (m is an integer equal to or greater than 2) to generate m-ary data; an image data generating unit that generates image data having pixel values ​​corresponding to the m-ary data; and a storage unit for storing the image data.

[0007] The information processing method according to the present disclosure includes: The computer An acquisition step of acquiring time series data; an m-ary data generating step of converting the time series data into an m-ary number (m is an integer of 2 or more) to generate m-ary data; an image data generating step of generating image data having pixel values ​​corresponding to the m-ary data; and a storing step of storing the image data.

[0008] The program according to the present disclosure is An acquisition step of acquiring time series data; an m-ary data generating step of converting the time series data into an m-ary number (m is an integer of 2 or more) to generate m-ary data; an image data generating step of generating image data having pixel values ​​corresponding to the m-ary data; and a storing step of storing the image data. Effect of the Invention

[0009] The information processing device, information processing method, and program according to the present disclosure can compress data without loss. [Brief description of the drawings]

[0010] [Figure 1] 1 is a block diagram showing a configuration of an information processing system according to an embodiment; [Diagram 2] 1 is a flowchart showing a measurement data compression process according to an embodiment. [Diagram 3] FIG. 4 is a diagram illustrating an example of measurement data according to the embodiment. [Figure 4] FIG. 2 is a diagram illustrating an example of m-ary data according to an embodiment. [Diagram 5] FIG. 4 is a diagram showing an example of image data according to an embodiment; [Figure 6] 1 is a flowchart illustrating a measurement data restoration process according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] The above-mentioned related techniques have a problem that the original time series data is not retained, and also a problem that the amount of calculation increases in pre-processing and window function calculation. The technique according to the present disclosure can solve such problems.

[0012] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In each drawing, the same or corresponding elements are denoted by the same reference numerals. For clarity of explanation, duplicate explanations will be omitted as necessary.

[0013] An information processing system 1 according to this embodiment will be described with reference to FIG. 1. FIG. 1 is a block diagram showing the configuration of the information processing system 1. The information processing system 1 includes a measuring device 20 and an information processing device 10. The measuring device 20 and the information processing device 10 are connected via a network N. The network N is a wireless or wired communication line. For example, a wireless LAN (Local Area Network), a wired LAN, an Internet line, or the like can be used as the network N. The type of communication is not limited. The measuring device 20 and the information processing device 10 transmit and receive data via the network N.

[0014] An overview of the information processing system 1 will be described. The information processing system 1 is a system capable of compressing time series data acquired by a measuring device 20 in an information processing device 10. The information processing system 1 also restores the compressed time series data in the information processing device 10. The measuring device 20 and the information processing device 10 are, for example, a PC (Personal Computer) or the like.

[0015] The measuring device 20 performs a predetermined measurement and transmits measurement data including the measurement results to the information processing device 10. For example, the measuring device 20 transmits the measurement data to the information processing device 10 at a predetermined time interval. The information processing device 10 receives the measurement data from the measuring device 20 and stores the measurement data as time-series data. The measurement data includes information on the number of samples and the number of items. The information processing device 10 compresses the measurement data by processing the measurement data.

[0016] Specifically, the information processing device 10 converts the measurement data into m-ary numbers to generate m-ary data. Here, m is an integer equal to or greater than 2. For example, m is in the range of 2≦m≦255. The information processing device 10 generates image data having pixel values ​​corresponding to the generated m-ary data. In this way, the information processing device 10 compresses the measurement data. The information processing device 10 stores the generated image data in a storage device. In addition, the information processing device 10 restores the original measurement data from the image data by converting the m-ary number into a decimal number. Each component of the information processing system 1 will be described below.

[0017] (Measuring device 20) The measurement device 20 includes a sensor 21, a measurement unit 22, and a communication unit 27. The sensor 21 is a sensor that performs a predetermined measurement. The sensor 21 is, for example, a heat sensor, a temperature sensor, a light sensor, a humidity sensor, or a vibration sensor. The type of the sensor 21 is not limited. The sensor 21 outputs measurement data including the measurement result to the measurement unit 22. The measurement data includes, for example, a measurement value and a measurement date and time. The sensor 21 may perform measurement at a predetermined time interval.

[0018] The measurement unit 22 receives measurement data from the sensor 21 and transmits the measurement data to the information processing device 10 via the communication unit 27. The measurement unit 22 may transmit the measurement data every time it receives the measurement data, or may transmit the measurement data at a predetermined time interval. For example, the measurement unit 22 may accumulate the measurement data in a storage unit (not shown) and transmit the accumulated measurement data to the information processing device 10.

[0019] The communication unit 27 communicates with the information processing device 10. The communication unit 27 may be configured with a communication interface for performing wired or wireless communication.

[0020] (Information processing device 10) The information processing device 10 includes an acquisition unit 11, a correction unit 12, an m-ary data generation unit 13, an image data generation unit 14, a restoration unit 15, a communication unit 17, and a storage unit 19. The information processing device 10 includes a processor and a memory as components not shown. The storage unit 19, which is a storage device, stores a computer program in which the processing according to this embodiment is implemented. The processor can load the computer program from the storage unit 19 into the memory and execute the computer program. In this way, the processor realizes the functions of the acquisition unit 11, the correction unit 12, the m-ary data generation unit 13, the image data generation unit 14, and the restoration unit 15.

[0021] The acquisition unit 11, the correction unit 12, the m-ary data generation unit 13, the image data generation unit 14, and the restoration unit 15 may each be realized by dedicated hardware. In addition, a part or all of the components of each device may be realized by a general-purpose or dedicated circuit, processor, etc., or a combination of these. These may be configured by a single chip, or may be configured by multiple chips connected via a bus. A part or all of the components of each device may be realized by a combination of the above-mentioned circuits, etc., and a program. In addition, a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), an FPGA (field-programmable gate array), a quantum processor (quantum computer control chip), etc. can be used as the processor.

[0022] Furthermore, when some or all of the components of the information processing device 10 are realized by a plurality of information processing devices, circuits, etc., the plurality of information processing devices, circuits, etc. may be centrally arranged or distributed. For example, the information processing devices, circuits, etc. may be realized as a client-server system, a cloud computing system, etc., in a form in which each is connected via a communication network. Furthermore, the functions of the information processing device 10 may be provided in a SaaS (Software as a Service) format.

[0023] The acquiring unit 11 acquires measurement data (time-series data). For example, the acquiring unit 11 acquires measurement data received at a predetermined time interval by the communication unit 17, and stores the acquired measurement data in the storage unit 19 as measurement data 191. As a result, the measurement data is stored in the storage unit 19 as time-series data. When performing the compression process according to this embodiment, the acquiring unit 11 refers to the storage unit 19 and acquires the measurement data 191.

[0024] The acquisition unit 11 also stores information related to the acquired measurement data in the storage unit 19 as a setting file 192. The setting file 192 is a file that includes various information related to the processing of the information processing device 10. For example, the acquisition unit 11 stores the measurement time and column names included in the measurement data in the setting file 192. The measurement time indicates the elapsed time from the start of measurement. The number of measurement times corresponds to the number of samplings of the measurement data. The column names indicate the items of the measurement data. The number of column names corresponds to the number of items of the measurement data.

[0025] The correction unit 12 corrects the measurement data acquired by the acquisition unit 11. For example, the correction unit 12 calculates a correction value for correcting the measurement data, and corrects the measurement data using the calculated correction value. For example, the correction unit 12 calculates a correction value a so that the minimum value of each item of the measurement data is 0. The correction unit 12 also calculates a correction value b so that the minimum number of digits of each item of the measurement data is the ones digit. The correction unit 12 corrects the measurement data using the correction values ​​a and b. The correction unit 12 also stores the correction values ​​a and b in the setting file 192.

[0026] The m-ary data generating unit 13 converts the measurement data corrected by the correction unit 12 into an m-ary number (m is an integer equal to or greater than 2) to generate m-ary data. For example, m is in the range of 2≦m≦255. The m-ary data generating unit 13 performs a predetermined process on the measurement values ​​included in the corrected measurement data to convert the measurement values ​​into m-ary numbers. The m-ary data generating unit 13 generates m-ary data by converting all measurement values ​​included in the measurement data into m-ary numbers.

[0027] For example, in the m-ary data, each data is represented by a symbol such as a three-digit number or an alphabet. Each data may be represented only by numbers or only by symbols. Also, each data may be represented by a combination of numbers and symbols. A specific processing method of the m-ary data generating unit 13 will be described later. The m-ary data generating unit 13 and the image data generating unit 14 described below may be collectively referred to as a "compression unit."

[0028] The image data generating unit 14 generates image data having pixel values ​​corresponding to the m-ary data, using the m-ary data generated by the m-ary data generating unit 13. Specifically, the image data generating unit 14 assigns a numerical value indicated by each data of the m-ary data to the pixel value of each pixel of the image data. In this way, the image data generating unit 14 generates image data having, as pixel values, RGB values ​​corresponding to, for example, a three-digit number or symbol.

[0029] For example, each data of the m-ary data is represented by a three-digit number (X, Y, Z). For the sake of explanation, the three-digit numbers are expressed by separating them with commas. The image data generating unit 14 assigns the three-digit numbers to the pixel values ​​of each pixel of the image data. The image data generating unit 14 generates image data such that (X, Y, Z) of the m-ary data corresponds to the pixel values ​​(R, G, B) of the image data. In this way, the image data generating unit 14 generates image data in which the measurement values ​​are replaced with the colors of the pixels.

[0030] One of the number of vertical pixels and the number of horizontal pixels in the generated image data corresponds to the number of samples of the measurement data, and the other corresponds to the number of items of the measurement data. Here, the number of vertical pixels corresponds to the number of samples of the measurement data, and the number of horizontal pixels corresponds to the number of items of the measurement data. Details of the processing of the image data generating unit 14 will be described later. The image data generating unit 14 stores the generated image data in the storage unit 19 as image data 193.

[0031] For example, when 2≦m≦255, the image data generating unit 14 can apply the processing according to this embodiment to values ​​up to the cube of 255. In this way, the image data generating unit 14 can compress the amount of data without losing raw data. Also, the image data generating unit 14 can store measurement data with a small data capacity. Note that, when more colors can be expressed, m larger than 255 may be used.

[0032] The restoration unit 15 restores the measurement data using the image data generated by the image data generation unit 14. Specifically, the restoration unit 15 reads the setting file 192 and the image data 193, and converts the pixel value of each pixel of the image data 193 into a decimal number. The restoration unit 15 also restores the values ​​corrected by the correction values ​​a and b to their original values. In this way, the restoration unit 15 restores the original measurement values ​​from the image data. In this way, the restoration unit 15 can easily restore the original measurement data from the image data. A specific processing method of the restoration unit 15 will be described later.

[0033] The communication unit 17 communicates with the measurement device 20. The communication unit 17 may be configured with a communication interface for performing wired or wireless communication.

[0034] The storage unit 19 stores measurement data 191, a setting file 192, and image data 193. The storage unit 19 also stores various data and programs. The storage unit 19 is configured with, for example, a semiconductor memory. At least a part of the storage unit 19 may be configured with a non-volatile memory so that data is retained even when the information processing device 10 is turned off. The storage unit 19 may be provided in a device other than the information processing device 10.

[0035] Next, the processing performed by the information processing device 10 will be described with reference to Fig. 2 to Fig. 6. Fig. 2 to Fig. 5 are diagrams for explaining the compression processing of the measurement data. Fig. 6 is a diagram for explaining the restoration processing of the measurement data.

[0036] (Compression process) 2 is a flowchart showing the measurement data compression process. In step S11, the acquisition unit 11 reads the measurement data 191 from the storage unit 19.

[0037] FIG. 3 is a diagram showing an example of measurement data 191. Measurement data 191 is data in which measurement time is associated with the measurement value of each item. Each row shows measurement data obtained in one measurement. Measurement time indicates the elapsed time from the start of measurement. Measurement time is expressed, for example, in seconds. Here, data from 0 seconds, 0.02 seconds, 0.04 seconds, ... n seconds from the start of measurement is shown. An item indicates the type of measurement target. Measurement data 191 may include multiple items. Here, data for item 1, item 2, item 3, ... is shown in each column in association with measurement time.

[0038] Returning to Fig. 2, in step S12, the acquiring unit 11 stores the measured time in the setting file 192 of the storage unit 19. In step S13, the acquiring unit 11 stores the column names in the setting file 192.

[0039] In step S14, the correction unit 12 calculates a correction value a for correcting the measurement data 191 so that the minimum value of each column of the measurement data 191 becomes 0. Specifically, the correction unit 12 calculates the minimum value of each column of the measurement data 191 as the correction value a. The correction unit 12 corrects the measurement value using the correction value a. In step S15, the correction unit 12 stores the correction value a in the setting file 192.

[0040] In step S16, the correction unit 12 calculates the correction value b so that the minimum number of digits in each column of the measurement data 191 is the ones digit. Specifically, the correction unit 12 calculates the least significant digit of each column of the measurement data 191 as b. The correction unit 12 corrects the measurement value using the correction value b. In step S17, the correction unit 12 stores the correction value b in the setting file 192.

[0041] Here, assuming that each measurement value included in the measurement data 191 is a measurement value A1, the correction unit 12 corrects the measurement value A1 using the correction values ​​a and b to obtain a corrected measurement value A2. The corrected measurement value A2 is expressed by the following formula (1). A2=(A1-a)*10 b (1)

[0042] In step S18, the m-ary data generation unit 13 converts the corrected measurement value A2 into a three-digit m-ary number. m is an integer equal to or greater than 2. The three-digit m-ary number indicates three numbers corresponding to the RGB values ​​of the image data. The three-digit m-ary number may include symbols such as alphabets. The m-ary data generation unit 13 may determine m according to the range of measurement values ​​that the measurement data 191 can take. For example, the m-ary data generation unit 13 determines m that satisfies 2≦m≦255.

[0043] Here, it is assumed that the m-ary data generating unit 13 has determined m=255. The m-ary data generating unit 13 converts the corrected measurement value A2 into a three-digit 255-ary number to obtain a converted measurement value A3. As a result, the m-ary data generating unit 13 can express numerical values ​​from 0 to 16581374 through the above conversion.

[0044] The converted measurement value A3 is expressed by the following formula (2): where B=A2 / m 2 The quotient of C=A2 / m 2 remainder of, D=quotient of C / m, E=remainder of C / m. A3 = (B, D, E) (2)

[0045] The m-ary data generating unit 13 generates m-ary data 191a by obtaining converted measurement values ​​A3 for all measurement values ​​of the measurement data 191. In step S19, the image data generating unit 14 generates image data 193 by using the three-digit m-ary numbers in the m-ary data 191a as RGB values.

[0046] 4 is a diagram showing an example of the m-ary data 191a. The image data generating unit 14 visualizes the data of the imaging target area 100 indicated by a thick solid line. The imaging target area 100 is an area of ​​the m-ary data 191a excluding the measurement time and the item name. The imaging target area 100 includes the measurement value after being converted into an m-ary number.

[0047] 5 is a diagram showing an example of image data 193. In image data 193, the number of pixels vertically indicates the number of samples. Also, the number of pixels horizontally indicates the number of items. For example, P1 shown in the figure is a pixel corresponding to the measurement value of item 1, whose measurement time is 0 seconds. The pixel value of pixel P1 is (R,G,B)=(0,1,0).

[0048] Returning to Fig. 2, in step S20, the image data generating unit 14 stores the column name, the measurement time, the correction value a, and the correction value b in the setting file 192. In step S21, the image data generating unit 14 outputs the setting file 192 and the image data 193. For example, the image data generating unit 14 stores the setting file 192 and the image data 193 in association with each other in the storage unit 19. As a result, the information processing device 10 saves these data.

[0049] (Restore process) 6 is a flowchart showing the restoration process of the measurement data. By the above-mentioned compression process, the setting file 192 and the image data 193 are stored in the storage unit 19. In step S31, the restoration unit 15 reads the image data 193. In step S32, the restoration unit 15 reads the setting file 192. The order of steps S31 and S32 may be reversed.

[0050] In step S33, the restoration unit 15 converts the pixel value of each pixel of the image data 193 into a decimal number. Here, as described above, the converted measurement value A3 is expressed as A3=(B, D, E) by the formula (2). When the converted measurement value A3 is converted into a decimal number, the converted measurement value A3 is expressed as the following formula (3). A3=B*m 2 +D*m+E ···(3)

[0051] Moreover, the original measurement value A1 is expressed as the following formula (4) using the converted measurement value A3, the correction values ​​a and b. A1=A3*10 -b +a...(4)

[0052] In order to reconstruct the measurement value A1 using the formula (4), in step S34, the reconstruction unit 15 reconstructs the converted measurement value A3 by 10 -b The restoration unit 15 performs the processes of steps S33 to S35 for all pixels of the image data 193.

[0053] In step S36, the restoration unit 15 adds the measurement time to the data after the above processing. In step S37, the restoration unit 15 further adds a column name to the data after the measurement time is added. In this way, the restoration unit 15 restores the original measurement data 191 from the image data 193. In step S38, the restoration unit 15 outputs the restored data. For example, the restoration unit 15 stores the restored data in the storage unit 19 in association with date and time information when the restoration process was performed.

[0054] As described above, in the information processing system 1 according to this embodiment, the information processing device 10 converts the time series data acquired from the measurement device 20 into m-ary (m is an integer equal to or greater than 2) to generate m-ary data. The information processing device 10 also generates image data having pixel values ​​corresponding to the m-ary data, and stores the image data. This allows the information processing device 10 to compress data without loss. The information processing device 10 can also solve the problem of an increase in the amount of calculation in preprocessing and window function calculation. Furthermore, the information processing device 10 can easily restore compressed data.

[0055] Each of the functional components of the information processing device 10 described above may be realized by hardware that realizes each functional component (e.g., a hardwired electronic circuit, etc.), or may be realized by a combination of hardware and software (e.g., a combination of an electronic circuit and a program that controls it, etc.). For example, any process in the present disclosure may be realized by having a CPU execute a computer program.

[0056] The program includes instructions (or software code) that, when loaded into a computer, cause the computer to perform one or more functions described in the embodiments. The program may be stored on various types of non-transitory computer readable medium or tangible storage medium. By way of example and not limitation, non-transitory computer readable medium or tangible storage medium includes random-access memory (RAM), read-only memory (ROM), flash memory, solid-state drive (SSD) or other memory technology, CD-ROM, digital versatile disc (DVD), Blu-ray® disk or other optical disk storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage device. The program may also be transmitted on various types of transitory computer readable medium or communication medium. By way of example and not limitation, transitory computer readable medium or communication medium includes electrical, optical, acoustic, or other form of propagated signal.

[0057] The present disclosure is not limited to the above-described embodiment, and can be modified as appropriate without departing from the spirit and scope of the present disclosure. [Explanation of symbols]

[0058] 1: information processing system, 10: information processing device, 11: acquisition unit, 12: correction unit, 13: m-ary data generation unit, 14: image data generation unit, 15: restoration unit, 17: communication unit, 19: storage unit, 20: measurement device, 21: sensor, 22: measurement unit, 27: communication unit, 100: imaging target area, 191: measurement data, 191a: m-ary data, 192: setting file, 193: image data, a: correction value, b: correction value, A1: measurement value, A2: corrected measurement value, A3: converted measurement value, N: network, P1: pixel

Claims

1. An acquisition unit that acquires time series data; an m-ary data generating unit that converts the time series data into an m-ary number (m is an integer equal to or greater than 2) to generate m-ary data; an image data generating unit that generates image data having pixel values ​​corresponding to the m-ary data; A storage unit that stores the image data. Information processing device.

2. One of the number of vertical pixels and the number of horizontal pixels in the image data corresponds to the number of samples of the time series data, and the other corresponds to the number of items of the time series data. The information processing device according to claim 1 .

3. The m-ary data is represented by a three-digit number or symbol, The image data generating unit generates the image data having RGB values ​​corresponding to the three-digit number or symbol as the pixel values.

3. The information processing device according to claim 1 or 2.

4. The computer An acquisition step of acquiring time series data; an m-ary data generating step of converting the time series data into an m-ary number (m is an integer of 2 or more) to generate m-ary data; an image data generating step of generating image data having pixel values ​​corresponding to the m-ary data; A storage step of storing the image data. Information processing methods.

5. An acquisition step of acquiring time series data; an m-ary data generating step of converting the time series data into an m-ary number (m is an integer of 2 or more) to generate m-ary data; an image data generating step of generating image data having pixel values ​​corresponding to the m-ary data; and a storing step of storing the image data. program.

Citation Information

Patent Citations

  • Image compression device, image decompression device, image compression program, image decompression program, and data structure

    JP2014165678A

  • depth offset compression

    JP2017525003A

  • Numeric, decimal and date field compression

    US20120173496A1

  • Method, apparatus and computer program

    US20230069767A1

  • Data processing system, data processing device, data processing method and data processing program

    JP2023045915A