Computer, data management method, and data management program
The computer system addresses the inefficiencies in managing diagnostic data by processing and reducing duplicate data in edge systems through time data association, resulting in reduced data volume and operational costs while maintaining diagnostic accuracy.
Patent Information
- Application Number
- PCT/JP2024/000138
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-14
- Filing Date
- 2024-01-09
- Publication Date
- 2024-10-17
AI Technical Summary
Existing data management techniques for diagnostic data in edge systems do not effectively address the increasing data volume and operational costs, as they fail to consider the impact of subdividing data units on index data, leading to inefficient storage and management of diagnostic data.
A computer system with processors and memory resources processes diagnostic data from edge systems, stores associated time data, identifies duplicate data, and releases storage space by associating time data with primary diagnostic data, allowing for efficient data reduction and management.
This approach effectively reduces data volume and operational costs by deleting duplicate diagnostic data while maintaining diagnostic accuracy through the association of time data with primary diagnostic data, optimizing storage and handling of diagnostic data in edge systems.
Smart Images

Figure JP2024000138_17102024_PF_FP_ABST
Abstract
Description
Computer, data management method, and data management program
[0001] The present invention relates to a computer, a data management method, and a data management program. This invention claims priority from Japanese Patent Application No. 2023-066034, filed on April 14, 2023, and the contents of that application are incorporated by reference into this application in designated states where incorporation by reference of documents is permitted.
[0002] Patent Literature 1 discloses a technology that divides data stored in a storage system into preset sizes and compares each divided piece of data to see if it matches exactly. This technology reduces the division size based on the data duplication rate, and increases the rate of data duplication by determining whether it matches exactly, and then deletes and rearranges the duplicated parts to reduce the data capacity of the storage system.
[0003] International Publication No. 2012 / 053152
[0004] Edge systems, such as the moving mechanisms of moving objects, such as motors and engines, automobiles that house these moving mechanisms, and mechanisms that control the operating mechanisms of equipment, such as actuators, have safety requirements that take into account various environmental conditions.
[0005] For example, when an edge system detects an abnormality, it collects status information within the edge system and identifies the cause of the abnormality to ensure safety in the event of an abnormality. Furthermore, for example, in electronic systems installed in automobiles, it is necessary to consider not only abnormality detection information and the internal state of the system, but also the influence of driving conditions and surrounding environmental conditions when diagnosing an abnormality. Therefore, the edge system collects a variety of diagnostic data, such as abnormality detection and diagnostic information, data from sensors, environmental information, and user information, in a cloud system, and then comprehensively interprets this diagnostic data to diagnose an abnormality. When diagnosing an abnormality using diagnostic data collected in this way by a cloud system, diagnostic accuracy can be improved by using a large amount of past diagnostic data.
[0006] However, if the collected diagnostic data is stored for a long period of time, the amount of data will become enormous, increasing operational costs.
[0007] The technology described in the aforementioned Patent Document 1 deletes data when each piece of data matches perfectly, and increases the rate at which data matches by reducing the data size. However, this technology does not take into consideration the fact that the amount of information in index data, such as tag information, used to manage data increases as the data units to be managed become more fragmented.
[0008] The present invention has been made in view of the above circumstances, and has as its object to more appropriately reduce the amount of data when handling diagnostic data.
[0009] In order to solve the above problem, one aspect of the present invention provides a computer that has one or more processors and one or more memory resources and processes multiple diagnostic data transmitted from an edge system, wherein the one or more processors perform the following steps: storing multiple diagnostic data and multiple time data associated with each of the multiple diagnostic data in a memory unit; identifying first diagnostic data and second diagnostic data that have common content among the multiple diagnostic data; associating the time data associated with the second diagnostic data with the first diagnostic data; and freeing up the area in the memory unit where the second diagnostic data is stored.
[0010] According to the present invention, it is possible to more appropriately reduce the amount of data when handling diagnostic data.
[0011] Problems, configurations, and effects other than those described above will become apparent from the following description of the embodiments.
[0012] FIG. 1 is a schematic diagram showing an example of the functional configuration of a computer according to the first embodiment. FIG. 2 is a schematic diagram showing an example of the format of input data according to the first embodiment. FIG. 3 is a schematic diagram showing an example of the format of shaped data according to the first embodiment. FIG. 4 is a schematic diagram showing an example of a diagnostic data storage DB into which a time data storage DB has been merged according to the first embodiment. FIG. 5 is a flowchart showing an example of processing executed by a computer according to the first embodiment. FIG. 6 is a schematic diagram showing an example of the flow of processing for deleting diagnostic data with common content according to the first embodiment. FIG. 7 is a flowchart showing an example of processing executed by a computer when deleting diagnostic data with common content according to the first embodiment. FIG. 8 is a flowchart showing an example of processing executed by a computer when freeing an area in which time data is stored according to the first embodiment. FIG. 9 is a flowchart showing an example of processing executed by a computer when performing grouping according to the first embodiment. FIG. 10 is a schematic diagram showing an example of grouping conditions according to the first embodiment. FIG. 11 is a schematic diagram showing an example of a graph database according to the first embodiment. FIG. 12 is a schematic diagram showing an example of the functional configuration of a computer according to the second embodiment. Fig. 13 is a schematic diagram showing an example of the functional configuration of a computer according to the third embodiment. Fig. 14 is a diagram showing an example of the hardware configuration of a computer according to the first to third embodiments.
[0013] An embodiment of the present invention will be described below with reference to the drawings. In all drawings used to describe the embodiment, the same components are generally designated by the same reference numerals, and repeated description thereof will be omitted where appropriate. It goes without saying that, in the following embodiments, the components (including element steps, etc.) are not necessarily essential unless otherwise specified or considered to be fundamentally essential. It goes without saying that the terms "consisting of A," "made of A," "having A," and "including A" do not exclude other elements, unless otherwise specified to include only the relevant element. Similarly, in the following embodiments, when referring to the shape, positional relationship, etc. of components, etc., this includes those that are substantially similar or similar to the shape, etc., unless otherwise specified or considered to be fundamentally essential.
[0014] <First embodiment> Fig. 1 is a schematic diagram showing an example of the functional configuration of a computer 1 according to this embodiment. As shown in Fig. 1, the computer 1 is connected to an edge system 2 via a network 9 such as the Internet. The edge system 2 is, for example, a mobile object (e.g., a vehicle, a drone, or a robot) or equipment (e.g., a robot arm, a machine tool, a numerically controlled lathe, etc.) capable of automatic operation such as autonomous driving.
[0015] The computer 1 includes a data input processing unit 3, a data formatting processing unit 4, a data storage processing unit 5, a diagnostic processing unit 6, a diagnostic operation processing unit 7, a result display processing unit 8, a memory unit 10, a data read processing unit 13, a DB update unit 14, a time data link update unit 15, a diagnostic data duplication determination unit 16, a time link confirmation processing unit 17, a duplicate data deletion processing unit 18, and a data element grouping unit 19.
[0016] The data input processing unit 3 accepts input of input data transmitted by the edge system 2 .
[0017] 2 is a schematic diagram showing an example of the format of input data when the edge system 2 is an automobile. As shown in FIG. 2, the input data 20 has the fields TYP, SID, EOD, DCT, LOC, STD, and OTM.
[0018] The TYP field stores a code indicating the type of input data 20. For example, the TYP field stores codes indicating the type of vehicle internal data, probe data (such as vehicle internal temperature and vibration data), and environmental information of the driving location. Examples of the vehicle internal data include cause classification information such as processor abnormality, data communication abnormality, memory abnormality, and power supply abnormality, as well as record information such as internal state records at the time of an accident and driving operation records.
[0019] The SID field stores an identification code that identifies the edge system 2 that is the source of the input data 20 .
[0020] The EOD field stores the duration of the same event and its occurrence period. For example, if multiple abnormalities are observed, it is determined based on the EOD field whether these are the same abnormality.
[0021] The DCT field stores a code that indicates a formal, semantic, or notational classification of the data stored in the STD field.
[0022] The LOC field stores a code that indicates the location where the event occurred or the location where the data was acquired.
[0023] The STD field stores the actual value of the diagnostic data collected from inside the vehicle.
[0024] The OTM field stores the acquisition time when the computer 1 acquires the input data 20 or the time when an event occurs. The type of time to be stored is not limited, and may be, for example, the transmission time when the edge system 2 transmits the data.
[0025] The STD field may be divided into multiple subfields, and each subfield may store the actual value of each of the multiple diagnostic data. This allows multiple diagnostic data to be stored in association with one SID and OTM.
[0026] Referring again to Figure 1, the data reformatting processing unit 4 reformats the format of the input data 20 into a format suitable for storage in a database, and outputs the reformatted data.
[0027] 3 is a schematic diagram showing an example of a format of shaped data according to the first embodiment. As shown in FIG. 3, shaped data 30 includes time data 31, an identification code 32, time data 33, and diagnostic data 34.
[0028] The time stored in the OTM is stored in the time data 31. The identification code stored in the SID is stored in the identification code 32. As described above, the identification code is a code that identifies the edge system 2 that is the source of the input data 20. Therefore, by associating the identification code 32 with each of the data 31 and 34, it is possible to diagnose an abnormality in the source edge system 2.
[0029] The actual value of the diagnostic data stored in the STD field is stored in the diagnostic data 34. In addition to the STD field, the diagnostic data 34 may also include data in the TYP, EOD, DCT, and LOC fields.
[0030] The time data 33 is a field that stores the time of the link destination of the diagnostic data 34. There may be one or more link destination times. Note that the time data 33 is empty immediately after the data shaping processing unit 4 outputs the shaped data 30.
[0031] According to such a format, the shaped data 30 suitable for a key-value database in which the time data 31 is a key and the diagnostic data 34 is a value can be obtained.
[0032] 1 again, the data storage processing unit 5 generates control commands and programs for writing the identification code 32, time data 33, and diagnostic data 34 to the diagnostic data storage DB 11 in the storage unit 10, and stores these data in the diagnostic data storage DB 11. The data storage processing unit 5 also generates control commands and programs for writing time data 31 to the time data storage DB 12 in the storage unit 10, and stores the time data 31 in the time data storage DB 12.
[0033] The diagnostic processing unit 6 acquires the diagnostic data 34 stored in the diagnostic data storage DB 11 from the data reading processing unit 13, and diagnoses and distinguishes the cause of an abnormality that has occurred in the edge system 2 based on the diagnostic data 34. The target of diagnosis by the diagnostic processing unit 6 is not limited to abnormalities in the edge system 2, but may also be the time, number of times, duration, etc., when an event that occurred in the edge system 2 occurred.
[0034] The diagnostic operation processing unit 7 executes the selection of processing contents and operation instructions in the diagnostic processing unit 6 .
[0035] The result display processing unit 8 displays the diagnosis results from the diagnosis processing unit 6 on a UI (User Interface) device.
[0036] The storage unit 10 stores a diagnostic data storage DB 11 and a time data storage DB 12. The diagnostic data storage DB 11 is a database that stores an identification code 32, time data 33, and diagnostic data 34. The time data storage DB 12 is a database that stores time data 31.
[0037] The data read processing unit 13 reads out the diagnostic data 34 stored in the diagnostic data storage DB 11 and the time data 31 stored in the time data storage DB 12 .
[0038] The diagnostic data duplication determination unit 16 notifies each of the diagnostic data storage DB 11 and the time data storage DB 12 of a request to acquire multiple diagnostic data 34 and the associated time data 31. As a reply to the acquisition request, the diagnostic data duplication determination unit 16 acquires the multiple diagnostic data 34 and the associated time data 31 from the data reading processing unit 13. The diagnostic data duplication determination unit 16 then determines whether any diagnostic data 34 has common content among the acquired multiple diagnostic data 34. Hereinafter, of two diagnostic data 34 with common content, the one with the older time indicated by the corresponding time data 31 will be referred to as the first diagnostic data 34, and the one with the newer time will be referred to as the second diagnostic data 34. As described below, the newer second diagnostic data 34 will be deleted, but the older first diagnostic data 34 may also be deleted.
[0039] The time data link update unit 15 obtains the determination result from the diagnostic data duplication determination unit 16 and identifies the first diagnostic data 34 and the second diagnostic data 34 that have been determined to have common content. Furthermore, the time data link update unit 15 associates the time data 31 associated with the second diagnostic data 34 with the first diagnostic data 34. For example, the time data link update unit 15 associates the time data 31 associated with the second diagnostic data 34 with the time data 33 associated with the first diagnostic data 34. Furthermore, the time data link update unit 15 notifies the duplicate data deletion processing unit 18 of the location in the diagnostic data storage DB 11 where the second diagnostic data 34 is stored.
[0040] The duplicate data deletion processing unit 18 notifies the DB update unit 14 of the location where the second diagnostic data 34 is stored in the diagnostic data storage DB 11, and also issues an instruction to the DB update unit 14 to delete the second diagnostic data 34. In response to this instruction, the DB update unit 14 releases the area in the diagnostic data storage DB 11 where the second diagnostic data 34 is stored.
[0041] The time link confirmation processing unit 17 checks whether there is time data 31 that is not associated with the diagnostic data 34 stored in the diagnostic data storage DB 11. If such time data 31 exists, the time link confirmation processing unit 17 notifies the duplicate data deletion processing unit 18 of the location where the time data 31 is stored in the time data storage DB 12.
[0042] Upon receiving this notification, the duplicate data deletion processing unit 18 notifies the DB update unit 14 of the location in the time data storage DB 12 where the time data 31 is stored, and also issues an instruction to the DB update unit 14 to delete the time data 31. In response to this instruction, the DB update unit 14 releases the area in the time data storage DB 12 where the time data 31 is stored.
[0043] The data element grouping unit 19 acquires multiple pieces of diagnostic data 34 from the diagnostic data storage DB 11 from the data read processing unit 13. The data element grouping unit 19 then groups the multiple pieces of diagnostic data 34 into multiple groups based on their contents, and notifies the diagnostic data duplication determination unit 16 of the grouping results. The grouping conditions are stored in a grouping rule memory 19a. The grouping rule memory 19a may be a memory device different from the storage unit 10, or the grouping rule memory 19a may be provided in the storage unit 10.
[0044] Then, the diagnostic data duplication determination unit 16 identifies two diagnostic data belonging to the same group among the plurality of diagnostic data 34 as the first diagnostic data 34 and the second diagnostic data 34 having common content.
[0045] In the example of FIG. 1, the diagnostic data storage DB 11 and the time data storage DB 12 are stored separately in the storage unit 10, but the time data storage DB 12 may be merged into the diagnostic data storage DB 11.
[0046] FIG. 4 is a schematic diagram showing an example of the diagnostic data storage DB 11 into which the time data storage DB 12 has been merged in the first embodiment.
[0047] In this example, the data storage processing unit 5 does not separate the shaped data 30 into time data 31 and diagnostic data 34, but stores each shaped data 30 in each record of the diagnostic data storage DB 11. As a result, the diagnostic data storage DB 11 becomes a key-value database in which the time data 31 is a key and the diagnostic data 34 is a value. The following description will be given assuming a key-value diagnostic data storage DB 11 as shown in FIG. 4.
[0048] Next, a description will be given of a process for diagnosing an abnormality in the edge system 2. Fig. 5 is a flowchart showing an example of a process executed by the computer 1 according to this embodiment when diagnosing an abnormality in the edge system 2.
[0049] First, the data input processing unit 3 receives the input data 20 transmitted by the edge system 2, and the data shaping processing unit 4 outputs the shaped data 30 (step S50).
[0050] Next, the data saving processing unit 5 saves the shaped data 30 in the diagnostic data storage DB 11, thereby saving the time data 31 and the diagnostic data 34 included in the shaped data 30 in the storage unit 10 (step S51).
[0051] Next, the diagnostic processing unit 6 sends a request to acquire the diagnostic data 34 to the diagnostic data storage DB 11 (step S52).
[0052] Subsequently, the diagnostic data storage DB 11 notifies the diagnostic processing unit 6 of the diagnostic data 34 via the data read processing unit 13 as a response to the acquisition request, and the diagnostic processing unit 6 thereby acquires the diagnostic data 34 (step S53).
[0053] Then, the diagnostic processing unit 6 executes a diagnosis of the edge system 2 based on the diagnostic data 34 (step S54).
[0054] Thereafter, the result display processing unit 8 displays the diagnosis result from the diagnosis processing unit 6 on the UI device (step S55).
[0055] This completes the basic processing executed by the computer 1 when diagnosing an abnormality in the edge system 2.
[0056] Next, the process of deleting diagnostic data 34 having common contents will be described with reference to FIGS.
[0057] Fig. 6 is a schematic diagram showing an example of the process flow for deleting diagnostic data 34 with common content when using the key-value type diagnostic data storage DB 11 of Fig. 4. Fig. 7 is a flowchart showing an example of the process executed by the computer 1 when deleting diagnostic data 34 with common content. This process is an example of a data management method according to this embodiment.
[0058] This process may be executed by the computer 1 upon completion of step S51 in FIG. 5, or may be executed by the computer 1 periodically.
[0059] First, the data reading processing unit 13 notifies the diagnostic data storage DB 11 of a request to obtain the formatted data 30 stored in each record of the diagnostic data storage DB 11, and obtains multiple diagnostic data 34 and the associated time data 31 as a reply (step S70).
[0060] 6, the contents of the diagnostic data 34 are represented by a string of three characters, such as "aaa" or "bbb." Each character in the string represents one piece of data in the diagnostic data 34. For example, "aaa" is data consisting of three pieces of data "a." "aa0" is diagnostic data that differs from "aaa" because the last "0" is not an "a."
[0061] The time data 31 associated with the diagnostic data 34 is the time data 31 included in the same shaped data 30 as the diagnostic data 34, and in this example, each associated data is indicated by an arrow.
[0062] Next, the data element grouping unit 19 groups the plurality of diagnostic data 34 into a plurality of groups based on the contents of the diagnostic data 34, and notifies the diagnostic data duplication determination unit 16 of the grouping results (step S71).
[0063] In this example, diagnostic data 34 is classified into the same group if the data represented by at least the first two characters of the character string representing the diagnostic data 34 is the same. For example, "aaa" and "aa0" are classified into the same group, and "ccc" and "cc0" are classified into the same group.
[0064] Then, the diagnostic data duplication determination unit 16 identifies two diagnostic data belonging to the same group among the plurality of diagnostic data 34 as the first diagnostic data 34 and the second diagnostic data 34 having common content (step S72). Here, the diagnostic data duplication determination unit 16 identifies the first diagnostic data 34 and the second diagnostic data 34 from the plurality of diagnostic data 34 associated with the same identification code 32.
[0065] In this example, the diagnostic data 34 of "aaa" and "aa0" are identified as the first diagnostic data 34 and the second diagnostic data 34 having common content, respectively. Similarly, the diagnostic data 34 of "ccc" and "cc0" are identified as the first diagnostic data 34 and the second diagnostic data 34 having common content, respectively.
[0066] Next, the time data link update unit 15 changes the link destination of the time data 31 by associating the time data 31 associated with the second diagnostic data 34 with the first diagnostic data 34 (step S73). For example, the time data link update unit 15 stores the time data 31 associated with the diagnostic data 34 of "aa0" in the time data 33 of the formatted data 30 including the diagnostic data 34 of "aaa", thereby associating the time data 31 with the diagnostic data 34 of "aaa". In Figure 6, the newly associated time data 31 and diagnostic data 34 are connected by a dashed line.
[0067] Next, the duplicate data deletion processing unit 18 notifies the DB update unit 14 of an instruction to delete the second diagnostic data 34 and the location where the second diagnostic data 34 is stored. Upon receiving this instruction, the DB update unit 14 frees the area in the diagnostic data storage DB 11 where the second diagnostic data 34 is stored (step S74). In this example, multiple diagnostic data 34, including the "aaa" diagnostic data 34 and the "aa0" diagnostic data 34, belong to the same group, and the areas of the diagnostic data 34 other than the oldest "aaa" are freed. Similarly, the area of the "bb1" diagnostic data 34, which belongs to the same group as the "bbb" diagnostic data 34, is also freed. Furthermore, as described above, since the first diagnostic data 34 and the second diagnostic data 34 are each associated with the same identification code 32, the storage area of the second diagnostic data 34 is freed for each edge system 2 that is the source indicated by the identification code 32.
[0068] Thereafter, the computer 1 may execute step S70 periodically, or may execute step S70 again upon completion of step S51 (see FIG. 5).
[0069] According to this, the amount of data in the storage unit 10 is reduced by deleting the second diagnostic data 34. Furthermore, since the time data 31 of the second diagnostic data 34, which has the same content as the first diagnostic data 34, is associated with the first diagnostic data 34, even if the second diagnostic data 34 is deleted, it is possible to diagnose the time, number of times, duration, etc., when an event indicated by the second diagnostic data 34 occurred in the edge system 2 based on the time data 31. As a result, the amount of data when handling the diagnostic data 34 can be appropriately reduced.
[0070] When the area for the second diagnostic data 34 is released as described above, the time data 31 associated with the diagnostic data 34 before the release is no longer associated with any other diagnostic data 34. This time data 31 will unnecessarily occupy the storage area of the diagnostic data storage DB 11. Therefore, the area in the diagnostic data storage DB 11 where the time data 31 is stored may be released as follows.
[0071] FIG. 8 is a flowchart showing an example of the processing executed by the computer 1 when releasing the area in which the time data 31 is saved.
[0072] First, the time link confirmation processing unit 17 notifies the diagnostic data storage DB 11 of a request to acquire the shaped data 30 stored in the diagnostic data storage DB 11, and acquires the shaped data 30 as a reply (step S80).
[0073] Next, the time link confirmation processing unit 17 determines whether the time data 31 is linked to the diagnostic data 34 in the acquired shaped data 30 (step S81). For example, the diagnostic data duplication determination unit 16 determines that the time data 31 is linked (YES) if the area of the diagnostic data 34 in the acquired shaped data 30 is not released in the diagnostic data storage DB 11, and determines that the time data 31 is not linked (NO) if the area is released.
[0074] If it is determined that they are linked (YES), the process returns to step S80, and step S80 is performed on the next shaped data 30.
[0075] On the other hand, if it is determined that they are not linked (NO), the process proceeds to step S82. In step S82, the duplicate data deletion processing unit 18 notifies the DB update unit 14 of an instruction to delete the time data 31, 33 and the identification code 32, and the DB update unit 14, upon receiving the instruction, frees the area in the diagnostic data storage DB 11 where the time data 31, 33 and the identification code 32 are stored. After this, the process returns to step S80, and step S80 is performed on the next shaped data 30.
[0076] This allows the area in the diagnostic data storage DB 11 occupied by the unnecessary time data 31, 33 and the identification code 32 that are not associated with the diagnostic data 34 to be freed up.
[0077] Next, the grouping in step S71 (see FIG. 7) will be described in detail.
[0078] FIG. 9 is a flowchart showing an example of the processing executed by the computer 1 when performing grouping.
[0079] As described above, when the TYP, EOD, DCT, and LOC fields are included in the diagnostic data 34 of the shaped data 30, the values of all fields of the input data 20 are included in the shaped data 30. The calculator 1 performs the following process for each of these fields.
[0080] First, the data element grouping unit 19 determines whether the field to be processed is a target for grouping (step S91). This determination rule is set in advance by the user. Here, we will take an example in which the EOD and STD fields are targets for grouping.
[0081] If it is determined in step S91 that the field is not a target for grouping (NO), the process moves to the next field.
[0082] On the other hand, if it is determined in step S91 that the field is to be grouped (YES), the process proceeds to step S92, where the data element grouping unit 19 acquires the data of the field.
[0083] Next, the data element grouping unit 19 refers to the grouping conditions for the field stored in the grouping rule memory 19a (step S93).
[0084] Fig. 10 is a schematic diagram showing an example of grouping conditions, which exemplify grouping conditions for each field of EOD and STD.
[0085] In the EOD example, the data element grouper 19 determines the value T of the EOD field. EOD The grouping code Gid0 corresponding to the EOD field is assigned. EOD If ≦200, set Gid0 to "01", and if 201<T EOD If ≦1200, set Gid0 to "10". Also, if 1201<T EOD If so, set Gid0 to "11" and T EOD If ≦0, set Gid0 to “00”.
[0086] On the other hand, for STD, the value T STD The meaning of STD is defined by the code of the DCT field as described above. In this example, the meaning of each value of STD is defined by the code of the DCT field as T, which indicates the temperature range. d , which indicates the vibration range V d , P indicates the humidity range e In this case, the grouping code is defined as T d , V d , P e For example, T d , V d , P e Each value of R T , R V , R P At this time, the temperature R T Depending on the range, Tu , R Tm , R Ts , R To Then, the data element grouping unit 19 assigns a grouping code Gid1 corresponding to this classification to the STD field.
[0087] Hereinafter, the grouping codes Gid0 and Gid1 will be collectively referred to as grouping code 97.
[0088] Referring again to Fig. 9, the data element grouping unit 19 then calculates the grouping code 97 to be assigned to the field based on the grouping conditions, as shown in Fig. 10 (step S94).
[0089] Next, the data element grouping unit 19 assigns a grouping code 97 to the field (step S95), and thereafter repeats steps S91 to S95 for each field.
[0090] This completes the basic processing executed by the computer 1 when performing grouping.
[0091] In step S72 (see Figure 7), the diagnostic data duplication determination unit 16 determines that the contents of the diagnostic data 34 are common if the grouping codes 97 of all or part of the multiple fields contained in the diagnostic data 34 are the same in the multiple diagnostic data 34.
[0092] By grouping the diagnostic data 34 based on a predetermined condition in this way, even if the contents of the two diagnostic data 34 do not completely match, for example, two diagnostic data 34 in the same temperature range are determined to have common contents. As a result, the possibility that the contents of the two diagnostic data 34 will be determined to be common increases, and the possibility that the area occupied by these diagnostic data 34 in the diagnostic data storage DB 11 can be freed up increases.
[0093] In addition, the diagnostic data 34 may include image data and waveform data, and the data element grouping unit 19 may extract features from these data through image recognition processing or waveform recognition processing, and group the data based on the features and object type.
[0094] The diagnostic data 34 may also store the time indicated by the time data 31 and the URL (Uniform Resource Locator) of weather data for the vehicle's location at that time. In this case, the data element grouping unit 19 identifies diagnostic data 34 that include the same URL as diagnostic data 34 with common content.
[0095] Furthermore, data that changes continuously, such as location information about the vehicle's position, may be stored as is in the diagnostic data 34, or may be grouped according to the name or identification code of the administrative district in which the location information indicates the location.
[0096] The data element grouping unit 19 may also group multiple data elements included in the diagnostic data 34. For example, the data element grouping unit 19 may group a combination of temperature and humidity, or a combination of this and vibration data. This reduces the number of types of grouping codes 97. Furthermore, the number of diagnostic data elements 34 determined to have common content increases, allowing for a greater amount of data reduction.
[0097] In the example of FIG. 4, the diagnostic data storage DB 11 is a key-value database, but the type of the diagnostic data storage DB 11 is not limited to this and may be a graph database as described below.
[0098] Fig. 11 is a schematic diagram showing an example of a graph database. In the example shown in Fig. 11, the data storage processing unit 5 stores an identification code 32 and diagnostic data 34 as attribute values of each node in the graph database, and stores time data 31 as attribute values of each edge in the graph database.
[0099] In this case, the identification code 32 and the diagnostic data 34 associated with the same time data 31 in the shaped data 30 are connected by an edge having the time data 31 as an attribute value.
[0100] 11, it is assumed that the diagnostic data 34 of a and the diagnostic data 34 of c are the first diagnostic data 34 and the second diagnostic data 34 that have been determined to have overlapping contents by the diagnostic data duplication determination unit 16. In this case, the time data link update unit 15 connects the edge corresponding to the time data 31 of c to the node corresponding to the diagnostic data 34 of a. As a result, the time data 31 of c that was associated with the diagnostic data 34 of c is now associated with the diagnostic data 34 of a. Furthermore, the node corresponding to the diagnostic data 34 of c becomes an independent node that is not connected to any edge.
[0101] Then, the duplicate data deletion processing unit 18 notifies the DB update unit 14 of the location where the diagnostic data for c (second diagnostic data) 34 is stored in the diagnostic data storage DB 11, and also notifies the DB update unit 14 of an instruction to delete the second diagnostic data 34. In response to this instruction, the DB update unit 14 releases the area where the diagnostic data for c 34 is stored in the diagnostic data storage DB 11. This makes it possible to appropriately reduce the amount of data when handling the diagnostic data 34, similar to the key-value type diagnostic data storage DB 11 (see FIG. 4 ).
[0102] Second Embodiment Fig. 12 is a schematic diagram showing an example of the functional configuration of a computer according to this embodiment. Elements in Fig. 12 that differ from those in Fig. 1 will be described below.
[0103] 12, the computer 1 according to this embodiment includes an update processing unit 121. In this embodiment, it is assumed that the input data 20 includes location information 123 indicating the location of the edge system 2 that is the sender of the input data 20. The location information 123 is, for example, GPS (Global Positioning System) information.
[0104] The update processing unit 121 acquires location information 123 from the data input processing unit 3, and notifies the data element grouping unit 19 of information 124 indicating the location indicated by the location information 123 or an area identified from the location information 123. Such information 124 includes, for example, tag information indicating an area.
[0105] The data element grouping unit 19 determines whether the grouping conditions need to be updated based on the information 124. For example, if the edge system 2 is a mobile object such as an automobile, it moves across regions and therefore the grouping conditions may be changed for each region. In this case, the data element grouping unit 19 may determine that the grouping conditions need to be updated when the region indicated by the information 124 changes.
[0106] When the data element grouping unit 19 determines that the grouping conditions need to be updated, it reads the updated grouping conditions from the grouping rule memory 19a and groups the diagnostic data 34 based on the updated conditions. Note that when the area specified by the location information 123 changes, the update processing unit 121 may output an instruction 125 to the grouping rule memory 19a to notify the data element grouping unit 19 of the updated grouping conditions.
[0107] This allows, for example, when determining a temperature threshold as a grouping condition, to change the threshold for each region depending on whether the region has consistently low or high temperatures. Similarly, the humidity threshold can also be changed for each region. This allows for diagnosis that reflects the characteristics of each region.
[0108] <Third embodiment> Fig. 13 is a schematic diagram showing an example of the functional configuration of a computer 1 according to this embodiment. Elements common to the first embodiment are omitted in Fig. 13. The computer 1 according to this embodiment includes, in addition to the configuration of Fig. 1, a timer unit 131, a monitoring time setting unit 132, a time data comparison unit 133, and a time data deletion instruction unit 134.
[0109] The timer unit 131 outputs the current time to the time data comparison unit 133. The time data comparison unit 133 compares the time of the time data 31 acquired by the data read processing unit 13 with the current time output by the timer unit 131.
[0110] The monitoring time setting unit 132 outputs a predetermined time that is a threshold value for the difference between the time of the time data 31 and the current time.
[0111] When the difference between the time of the time data 31 and the current time is equal to or greater than a predetermined time, the time data comparison unit 133 instructs the time data deletion instruction unit 134 to delete the time data 31. Upon receiving this instruction, the time data deletion instruction unit 134 instructs the DB update unit 14 to make the time data 31 and the associated identification code 32, time data 33, and diagnostic data 34 overwritable, and the DB update unit 14 makes the data 31, 33, 34, and the identification code 32 overwritable in accordance with this instruction.
[0112] According to this, when the time data 31 is older than the current time by a predetermined amount or more, the area storing the time data 31 and the associated identification code 32, time data 33, and diagnostic data 34 is automatically released. This reduces the amount of data in the storage unit 10, eliminates the need for the user to monitor the storage unit 10 in order to reduce the amount of data, and reduces the amount of maintenance work required by the user.
[0113] The computer 1 may be configured to overwrite the oldest of the time data 31 and the associated diagnostic data 34 when the total data size of the multiple time data 31 stored in the storage unit 10 exceeds a set value. This prevents the total data size of the time data 31 from increasing beyond the set value.
[0114] <Hardware Configuration> FIG. 14 is a diagram showing an example of the hardware configuration of the computer 1 according to the first to third embodiments.
[0115] The computer 1 generates, transmits, receives, and processes data, and performs various other processes. The processor loads a data management program stored in a memory resource, and the processor executes processing in accordance with the data management program. The computer 1 may be, for example, a personal computer, a tablet computer, a smartphone, a server computer, a blade server, or a cloud server, and is a system that includes at least one of these. In other words, the computer 1 also encompasses a system that includes, for example, a cloud server and a display computer (e.g., a tablet computer or a smartphone). Another example of the computer 1 is a controller that controls or manages some kind of device, including a processor and memory resources.
[0116] 14, the computer 1 includes one or more processors 1a, one or more memory resources 1b, one or more UI devices 1c, and one or more NI (Network Interface) devices 1d. The computer 1 may also include other components. The processors 1a, memory resources 1b, UI devices 1c, and NI devices 1d are connected to one another via a bus 1e.
[0117] The processor 1a is an arithmetic unit that reads various programs stored in the memory resource 1b and executes processing corresponding to each program. Examples of the processor 1a include a microprocessor, a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), an FPGA (Field Programmable Gate Array), a quantum processor, or other semiconductor devices capable of performing calculations.
[0118] The memory resource 1b is a storage device that stores the data management program, and is exemplified by non-volatile memory and / or volatile memory. Examples of volatile memory include random access memory (RAM) and read-only memory (ROM). Examples of non-volatile memory include rewritable storage media such as flash memory, hard disks, and solid-state drives (SSDs), as well as universal serial bus (USB) memory, memory cards, and hard disks. RAMs such as magnetoresistive RAM (MRAM), phase-change RAM (PRAM), and resistive RAM (ReRAM) may also be considered non-volatile memory. The memory resource 1b implements the storage unit 10 (see FIGS. 1 and 12). The processor 1a may also provide a service for distributing the data management program stored in the memory resource b to other computers.
[0119] The UI device 1c is an input device that inputs instructions from a user (which may be an operator) into the computer 1, and an output device that outputs information generated by the computer 1. Examples of input devices include pointing devices such as a keyboard, a touch panel, and a mouse, and voice input devices such as a microphone. Examples of output devices include a display, a printer, and a voice synthesizer. Unless otherwise specified, input and output of information between the computer 1 and the user is performed via the UI device 1c. The UI device 1c may be only an input device or only an output device.
[0120] The NI device 1d is a communication device that communicates information with external devices such as the edge system 2. The NI device 1d communicates information with the external devices via the network 9. Unless otherwise specified, information communication between the computer 1 (or the processor 1a) and the external devices is performed via the NI device 1d.
[0121] In this computer 1, the processor 1a executes a data management program in cooperation with the memory resource 1b, thereby realizing the functions described in the first to third embodiments.
[0122] The effects described in this specification are merely examples and are not limiting, and other effects may also be present.
[0123] The present invention is not limited to the above-described embodiments and includes various modifications. For example, the above-described embodiments have been described in detail to clearly explain the present invention, and the present invention is not necessarily limited to those including all of the described components. Furthermore, it is possible to replace part of the configuration of one embodiment with the configuration of another embodiment, and it is also possible to add the configuration of another embodiment to the configuration of one embodiment. Furthermore, it is possible to add, delete, or replace part of the configuration of each embodiment with other configurations.
[0124] Furthermore, the above-described configurations, functions, processing units, processing means, etc. may be partially or entirely implemented in hardware, for example, by designing them as integrated circuits. Furthermore, the above-described configurations, functions, etc. may be implemented in software by a processor interpreting and executing a program that implements each function. Information such as the program, decision table, and files that implement each function can be stored in memory, a storage device such as an HDD or SSD, or a recording medium such as an IC (Integrated Circuit) card, an SD (Secure Digital) card, or a DVD (Digital Versatile Disc). Furthermore, the control lines and information lines shown are those considered necessary for explanation, and do not necessarily represent all control lines and information lines in the product. In reality, it can be assumed that almost all components are interconnected.
[0125] The computer 1 may be realized by a user (operator) performing some or all of the functions and processes realized by the data management program.
[0126] In some cases, the computer 1 does not have a UI device 1c, and instead delegates some of the processing of user output and user input to a processor system (referred to as an external processor system) such as a smartphone or tablet device external to the system. In such cases, the computer 1 (or the processor 1a, the data management program) may perform the following to execute the processing described above and other parts of the program.
[0127] *Instead of outputting to the user using the UI device 1c described above, data required for outputting to the user is sent to the external processor system via the NI device 1d. Examples of this data include the data to be output itself, data for generating output data in another processor system, but it may also be a program or web data that describes the process of outputting to the user in the external processor system.
[0128] *Instead of receiving input or operation from a user using the UI device 1c described above, data indicating a user input or operation is received from an external processor system via the NI device 1d. From another perspective, the meaning of outputting data to a user may include not only the computer 1 itself outputting the data, but also having another entity other than the computer 1 output the data (using it). Furthermore, the meaning of receiving input or operation from a user may include not only direct output or reception to a user using the UI device 1c of the computer 1, but also indirect reception by the computer 1.
[0129] 1...computer, 1a...processor, 1b...memory resource, 1c...UI device, 1d...NI device, 1d...NI device, 1e...bus, 2...edge system, 3...data input processing unit, 4...data formatting processing unit, 5...data storage processing unit, 6...diagnosis processing unit, 7...diagnosis operation processing unit, 8...result display processing unit, 9...network, 10...storage unit, 13...data read processing unit, 14...DB update unit, 15...time data link update unit, 16...diagnosis data duplication determination unit, 17...time link Verification processing unit, 18...duplicate data deletion processing unit, 19...data element grouping unit, 19a...grouping rule memory, 20...input data, 30...formatted data, 31...time data, 32...identification code, 33...time data, 34...diagnostic data, 34...diagnostic data, 97...grouping code, 121...update processing unit, 123...position information, 124...information, 125...instruction, 131...timer unit, 132...monitoring time setting unit, 133...time data comparison unit, 134...time data deletion instruction unit.
Claims
1. A computer having one or more processors and one or more memory resources, and processing a plurality of diagnostic data transmitted from an edge system, wherein the one or more processors execute the steps of: storing the plurality of diagnostic data and a plurality of time data associated with each of the diagnostic data in a memory unit; identifying a first diagnostic data and a second diagnostic data having common content among the plurality of diagnostic data; associating the time data associated with the second diagnostic data with the first diagnostic data; and freeing an area in the memory unit in which the second diagnostic data is stored.
2. A computer according to claim 1, wherein the one or more processors execute a step of grouping the plurality of diagnostic data into a plurality of groups based on their contents, and identifying two of the plurality of diagnostic data that belong to the same group as the first diagnostic data and the second diagnostic data, respectively.
3. A computer according to claim 2, wherein the one or more processors execute a step of updating the grouping conditions.
4. A computer according to claim 3, wherein the one or more processors update the conditions for the grouping based on location information indicating the location of the edge system that is the source of each of the time data and the diagnostic data.
5. A computer according to claim 1, wherein the time data and the diagnostic data are associated with an identification code indicating a source of the time data and the diagnostic data.
6. A computer according to claim 1, wherein the one or more processors store the diagnostic data as an attribute value of a node of a graph database stored in the memory unit, and store the time data as an attribute value of an edge of the graph database.
7. A computer according to claim 1, wherein the one or more processors execute a step of enabling the oldest of the multiple time data and the diagnostic data associated therewith to be overwritten when the total data size of the multiple time data stored in the memory unit exceeds a set value.
8. A computer according to claim 1, wherein the one or more processors execute a step of: when the time indicated by the time data is older than the current time by a predetermined time or more, enabling the time data and the diagnostic data associated therewith to be overwritten.
9. A data management method executed by a computer having one or more processors and one or more memory resources, and processing a plurality of diagnostic data transmitted from an edge system, comprising: a step of storing the plurality of diagnostic data and a plurality of time data associated with each of the plurality of diagnostic data in a memory unit; a step of identifying a first diagnostic data and a second diagnostic data having common content among the plurality of diagnostic data; a step of associating the time data associated with the second diagnostic data with the first diagnostic data; and a step of freeing an area in the memory unit in which the second diagnostic data is stored.
10. A data management method as described in claim 9, further comprising a step of grouping the plurality of diagnostic data into a plurality of groups based on their contents, and identifying two of the plurality of diagnostic data that belong to the same group as the first diagnostic data and the second diagnostic data, respectively.
11. The data management method according to claim 10, further comprising the step of updating the grouping conditions.
12. A data management method according to claim 11, further comprising updating the conditions for grouping based on location information indicating a location of the edge system that is the source of each of the time data and the diagnostic data.
13. A data management method according to claim 9, wherein the time data and the diagnostic data are associated with an identification code indicating a source of the time data and the diagnostic data.
14. A data management method according to claim 9, further comprising the steps of: storing the diagnostic data as an attribute value of a node of a graph database stored in the memory unit; and storing the time data as an attribute value of an edge of the graph database.
15. A data management program for causing a computer to execute the data management method according to any one of claims 9 to 14.
Citation Information
Patent Citations
History storing device, image formation device, and program
JP2015210777A
Distributed system and data transmission method
JP2022081952A
Dynamic system log preprocessing
US20200065179A1
File compression systems and methods for use in multi-file data stores
US20210216506A1
