Data recording and analysis system

The system addresses the challenge of quickly retrieving large datasets by using a controller to extract and classify data segments in real-time, enabling efficient data retrieval and analysis.

JP2024129032AActive Publication Date: 2024-09-26KEYSIGHT TECHNOLOGIES INC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2024093064
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2019-04-02
Filing Date
2024-06-07
Publication Date
2024-09-26
Estimated Expiration
2039-10-09

AI Technical Summary

Technical Problem

Existing data recording systems face challenges in quickly retrieving large datasets exceeding terabytes, as reading such data sequentially takes several hours, necessitating improved methods for data search and retrieval.

Method used

A system and method for recording and analyzing data streams using input and output ports, buffers, and a controller to identify and extract data segments (EDS) based on similarity protocols, allowing for real-time clustering and classification of data segments without prior knowledge of signal patterns.

Benefits of technology

Enables rapid identification and classification of data segments of interest, reducing the time required to understand large datasets by creating small clusters during recording, facilitating efficient data retrieval and analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024129032000001
    Figure 2024129032000001
Patent Text Reader

Abstract

To provide a system for recording and analyzing a data stream, a method for analyzing a data stream, and a computer readable memory that stores instructions that cause a computer to practice a method of analyzing a data stream.SOLUTION: The system comprises: an input port for receiving a data stream; an output port for outputting a compressed data stream to a disc; a FIFO buffer; and a controller. The controller identifies a segment, referred to as a new extracted data segment (EDS) of the data stream stored in the FIFO buffer, The new EDS satisfies an extraction protocol. The controller also compares the new EDS to each of reference data segments (RDSs) using a similarity protocol; if the new EDS is not similar to an existing EDS, a new RDS is created; and if the new EDS is similar to the existing EDS, the RDS stores information for identifying the new EDS in an RDS database.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Background technology]

[0001] Data recording systems are now capable of recording large amounts of data, and the amount Therefore, the time required to search for recorded data by sequentially reading the stored data becomes very long. Data sets exceeding terabytes are routinely recorded. It takes several hours to read a terabyte of data. Rapidly retrieving recorded data through a database presents a challenge. Summary of the Invention

[0002] The present invention relates to a system for recording and analyzing a data stream and a method for analyzing a data stream. and storing instructions for causing a computer to perform a method for analyzing a data stream. and a computer readable memory. The system includes an input port, an output port, a buffer, and The input port is adapted to receive a data stream, and the data A data stream contains an ordered sequence of data values. An output port is a The buffer is adapted to communicate the data stream to a mass storage device. Temporarily store a predetermined portion of the data stream as the stream is received by the system. The controller is connected to the input port to read the data stored in the buffer. The new extracted data segment (EDS) of the data stream The controller identifies the segments that are to be extracted and the new EDS satisfies the extraction protocol. First, a similarity protocol is used to map the new EDS to multiple reference data segments (RDs). S: reference data segments), and the controller creates a first similarity protocol If the col indicates that the new EDS is similar to one of the RDSs, the new ED The information identifying S is stored in the RDS database. The controller detects that the new EDS is If the RDS is not similar to any of the DSs, a new RDS is generated. The EDS was found to be similar to the RDS of the previous model, and a new RDS was generated in the controller. Includes a list of new EDSs that have been revised.

[0003] In one embodiment, the buffer comprises a FIFO buffer.

[0004] In another embodiment, the extraction protocol is based on the data value in the buffer where a new EDS starts. and the data value in the buffer where the new EDS ends.

[0005] In another embodiment, the data value at which the new EDS ends is the data value at which the new EDS begins. A fixed number of sample values ​​from

[0006] In another embodiment, the first similarity protocol is a measure of distance between two data segments. and a similarity threshold, and if the distance has a predetermined relationship with the similarity threshold, the two data segments are identified. The ment is defined as being similar.

[0007] In another embodiment, the controller may select a second similarity protocol that is less restrictive than the first similarity protocol. If the RDSs are similar to each other as determined by the similarity protocol, then Combine two of the RDSs accordingly.

[0008] In another embodiment, the controller may select a second affinity protocol that is more restrictive than the first affinity protocol. Using a compatibility protocol, the EDSs associated with the existing RDS are compared to each other. By this, multiple new RDSs are generated.

[0009] In another embodiment, the controller may select each EDS based on a set of EDSs that are known to be similar to the EDS. The compressed data stream is generated by replacing the RDS with symbols representing the RDS.

[0010] In another embodiment, the controller may assign each sequence of data values ​​that are not part of the EDS to with a count indicating the number of symbols in the sequence.

[0011] The present invention also relates to a method for converting a data stream, which includes an ordered sequence of data values, into a signal. Also included is a method for operating a data processing system to analyze the clusters. Receive the data stream sequentially and instantiate each data value as it is received. A portion of the received data stream is allocated to a buffer. , and a new EDS that satisfies the extraction protocol is extracted from the buffer. The data processing system first uses a similarity protocol to map the new EDS to multiple RDs. S, and the data processing system determines whether the first similarity protocol is a new E If the DS shows similarity to one of the RDS, information identifying the new EDS The new EDS is stored in the RDS database and is not similar to any of the RDSs. If not, a new RDS is generated.

[0012] In another embodiment, the extraction protocol is based on the data value in the buffer where a new EDS starts. and the data value in the buffer where the new EDS ends.

[0013] In another embodiment, the data value at which the new EDS ends is the data value at which the new EDS begins. A fixed number of sample values ​​from

[0014] In another embodiment, the data processing system is configured to calculate a distance between the two data segments. and a similarity threshold is calculated, and if the distance has a predetermined relationship with the similarity threshold, the two data segments are classified as one. The two are defined as being similar.

[0015] In another embodiment, the data processing system is configured to use a second similarity protocol that is less restrictive than the first similarity protocol. If the RDSs are similar to each other as determined by the two similarity protocols, the user Combine two of the RDSs depending on the input.

[0016] In another embodiment, the data processing system derives from an existing RDS a first similarity protocol. A second similarity protocol, which is more restrictive, is used to compare the EDSs associated with the RDSs with each other. By comparing the two, multiple new RDSs are generated.

[0017] In another embodiment, the data processing system may process each EDS by Generate a compressed data stream by substituting the symbols that represent the known RDS. do.

[0018] In another aspect, the data processing system may further include a step of: with a count indicating the number of symbols in the sequence.

[0019] The computer readable memory provides the data processing system with an ordered sequence of data values. instructions to perform a method of analyzing a data stream including signals for clusters of signals; The method includes sequentially receiving a data stream and, as the data values ​​are received, Assigning an index to each data value and extracting a portion of the received data stream and storing the extracted data in a memory buffer from the buffer, the extracted data satisfying the extraction protocol. A new EDS is extracted that matches the first similarity protocol. and the data processing system determines whether the first similarity protocol is Identify the new EDS if it shows similarity to one of the RDSs The information is stored in the RDS database, and the new EDS is similar to any of the RDS. If not, create a new RDS.

[0020] In another embodiment, the data processing system may process each EDS by Generate a compressed data stream by substituting the symbols that represent the known RDS. do.

[0021] In another aspect, the data processing system may further include a step of: with a count indicating the number of symbols in the sequence. [Brief description of the drawings]

[0022] [Figure 1] FIG. 1 illustrates a data recording device according to one embodiment of the present invention. [Diagram 2] FIG. 1 illustrates an exemplary plot of the distribution of distance as a function of distance from RDS. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0023] The manner in which the present invention provides its advantages is that the signal in the incoming data channel is digitized. This relates to a data logging system where the data is stored on a memory device such as a disk drive. The data stream can be more easily understood by the “extraction algorithm.” The following discussion will refer to the idle signals as the signals between the signals of interest. It can be considered to include.

[0024] Generally, users of recorded data need to understand the various signals in the data and search for signals of interest. For the purposes of this discussion, the user must be able to select the data stream to be recorded. We assume that we do not have detailed knowledge of all the signals in is assumed to be too many for the user to consider one at a time. , allowing you to fully understand the important features of a signal without having to look at the entire data stream. For this purpose it is useful to define clusters of similar signals. By inspecting representative members of selected clusters, the user can obtain a more accurate picture of the recorded signal. You can acquire sufficient knowledge to specify the parameters needed to search for the signal of interest. .

[0025] The present invention allows a user to use a similarity algorithm that calculates a similarity measure related to the similarity between two signals. Based on a classification algorithm, it is possible to define clusters in a collection of recorded signals. We provide users with tools to cluster objects based on their similarity. The algorithms are known in the art. Unfortunately, these algorithms The computational workload inherent in many of these applications is order of magnitude N2 or greater. Given that a data stream may have more than a million signals, It is often impractical to cluster recorded signals in the few minutes it takes to search for a

[0026] As will be explained in more detail below, the present invention involves extracting small clusters of the signal of interest during the recording process. These small clusters are then combined to find the Provide larger clusters that match the clusters of signals. The clusters are then clustered. Ideally, these classes should be constructed without requiring a given description of the signals to be Each of the data represents a small portion of a single cluster of the underlying signal present in the input stream. Each cluster begins with an observation in the input stream, as described below. The size of the cluster determines whether the second signal should be included in the same cluster as the first signal. The similarity is determined by a similarity algorithm that includes a threshold to determine whether clusters are merged or not. The manner in which clusters are decomposed into smaller clusters is described in more detail below.

[0027] The present invention examines the digitized data stream to obtain detailed knowledge of the data segments in advance. Detect segments of data in a data stream of interest without requiring identification Data segments are stored as data streams travel along the way to a mass storage device. The data stream is primarily a collection of data of interest. We assume that the signal consists of individual signals separated by regions that do not contain data segments. A data stream segment that satisfies the algorithm is called an extracted data segment (EDS ), and the data stream segments that contain signals that do not satisfy the extraction algorithm are called These are called idle data segments (IDS).

[0028] Ideally, each EDS would be a device that corresponds to one target signal without any background samples. However, the need to identify EDS in a short period of time is a major factor in the extraction Constrain the algorithm. To find the exact signal segment of interest, the defined threshold By an easily detectable event such as a rising or falling edge crossing a value level. Detects the start of a signal and defines the end of the signal to be a certain number of samples relative to the start of the signal. This requires significantly longer than the definition of the two signals being the same. However, the EDS for the two signals still match. Therefore, in one embodiment of the present invention, ,The extraction algorithm specifies a trigger condition that defines the ,start of the EDS and the end of the EDS. It is defined to be a fixed number of input samples relative to the start of the EDS. This approximation is the final If the clustering of the EDS is interfered with, the EDS may be retrieved from long-term storage, as described below. and more accurate end-based clustering of signals can be utilized.

[0029] When an EDS is encountered, it is copied to a buffer for further inspection and An index value is assigned that uniquely identifies the EDS with respect to its position in the stream. The similarity algorithm provides a "similarity measure" for the EDS. " is also defined. Similarity is the degree of similarity between any two extracted data segments. The similarity measure allows the system of the present disclosure to classify the extracted data segments as similar to each other. In one embodiment of the present invention, the similarity algorithm can be used to group the EDSs into clusters. The algorithm includes a threshold value. If the similarity has a predetermined relationship with the threshold value, the two EDSs are considered to be mutually similar. For example, if the similarity is below a threshold, two EDs are The S's can be defined to be similar to each other.

[0030] When a new EDS is found, the system checks whether the EDS is part of a cluster where it has already been found. If the EDS is part of an existing cluster, it is checked whether the EDS is part of the existing cluster. will be updated to reflect the addition of a new EDS. If none of them are sufficiently similar, a new cluster is defined and the EDS is assigned to that cluster. will be added.

[0031] Each cluster is represented by a Reference Data Segment (RDS). Extraction and Clusters The ringing is performed in real time during recording, so the user can easily see the newly stored data. The EDS present in the data stream can be detected without the need to recover the EDS from the data stream. The clusters can be seen in the data stream during data recording and initial clustering. Only the new EDSs identified in are kept in memory. The RDS is maintained in system memory to ensure that the data stream is recorded. After that, the clustered EDS can be recovered and used for further classification.

[0032] Reference is now made to FIG. 1, which illustrates a data recording device according to one embodiment of the present invention. The incoming data stream is digitized by an analog-to-digital converter (ADC) 11. The output of the DC is stored in a local FIFO buffer 12. It should be noted that the clock 13 can be implemented in the local memory 16. For each of these clock cycles, one sample is digitized. Controller 1 5 maintains an internal register that is incremented every clock cycle, Identify the data segment that begins with the data sample just transferred to buffer 12. The new data entry is added to the FIFO buffer. 12, and at each cycle of clock 13, At each clock cycle, the controller 15 reads the oldest entry. Determines whether the target data segment has started or is complete at that point. The controller 15 may include hardware to detect the start of a data segment of interest, or The controller 15 checks the contents of the FIFO buffer 12 and determines the target data segment It is possible to determine whether a measurement has started or completed at that point. Hardware triggers are used in the art and are known to those skilled in the art. At this time, if the target data sequence is in the FIFO buffer 12, the controller 15 copies the data sequence from the FIFO buffer to the new EDS buffer 17. It locates new EDS in the data stream and adds that information to the EDS database. Enter it in box 19.

[0033] To facilitate retrieval of the EDS from the disk 14, a disk database 22 is provided. The correspondence between the records on disk 14 and the index assigned to the start of each EDS Generally, the disk 14 contains multiple randomly accessible The controller 15 is stored on the disk 14. If you need to recover the EDS, use the disk database 22 to recover the EDS-related The disk record number where the index begins is determined.

[0034] If the data sequence of interest has just started in the preceding sample, the controller 15 Record the sample index where the data sequence started in the EDS database. do.

[0035] As mentioned above, there is a predefined extraction algorithm that defines the data segments to be extracted. In general, the extraction algorithm must select the data to be extracted. Defines the start and end of the sequence. The controller that executes the extraction algorithm It must be possible to identify the data sequence before it leaves the FIFO buffer 12. The extraction algorithm must operate in real time. The present invention provides a real-time trigger algorithm that identifies the start of a sequence of interest at the input of the Trigger algorithms are known in the art. Trigger algorithms can be based on simple features such as a rising edge, In the disclosed system, the target data sheet is Since the exact nature of the sequence is not known in advance, the extraction algorithm is preferably based on a wide range of A real-time trigger algorithm for signal selection and therefore for identifying a large class of signals Preferably, the start of the data sequence to be the extracted data segment is determined in real time. Note that the trigger does not have to occur on the sample that caused it. For example, , the extracted data segment is a predetermined number of samples before the real-time trigger is identified. You can start with the sample below.

[0036] The extraction algorithm must also specify the end of the target data sequence.1 In one exemplary embodiment, the extraction algorithm uses a trigger and a FIFO buffer 12 In this example, the extracted data segment ends at the end of the window, and the signal of interest The sampling period within a given window may end before the last data value in the window. All of the above are part of the EDS.

[0037] In another exemplary embodiment, the extraction algorithm determines the end of the data sequence to be extracted. For example, the extraction algorithm may terminate when a value falls below some threshold. Construct a falling edge that completes and remains below that value for some specified number of samples. A data value that constitutes the data segment may be required to signal the end of the data segment. Therefore, the EDS database also includes the length of the EDS, or the last It also includes equivalent information such as the index of the data sample.

[0038] In one embodiment of the invention, information designating the end of the EDS is also stored in the EDS database. Included in 9.

[0039] When a new EDS is extracted, it is automatically added to each of the dynamically generated reference libraries. RDS library stores information about each RDS in the library. The RDS database includes a database of 18 RDSs that can be used to identify new EDSs that are sufficiently similar to one of the RDSs. If so, the new EDS entry in the EDS database is updated to indicate the association. The RDS database is then added as part of the cluster associated with that RDS. The new EDS is updated to show the identity of the new EDS. If the new EDS is not fully compatible with one of the RDSs, No similarity, and sufficient treatment after comparing the new EDS with all the RDSs in the RDS database. If there is processing time remaining, the new EDS is used as the RDS and the RDS database is A new RDS is started with the relevant data entered. If sufficient processing time is not available No new EDS entries in the EDS database were assigned. For example, the EDS is checked against the RDS before the entire RDS is considered. It is possible that a new EDS may be discovered during the process, and the controller 15 must then For proper EDS a new EDS buffer must be used.

[0040] At the start of processing the data stream, the controller 15 determines the time between two data segments. In one embodiment of the present invention, the method includes: The similarity algorithm uses a threshold value to determine whether two data segments are similar. This algorithm is controlled by the controller 15 to generate a similarity measure that is compared. It is used to measure the similarity between the RDS and the RDS in the RDS library. Algorithms can be more easily understood by considering four types of algorithms: Yes, you can. The first three types of algorithms operate on the data values ​​themselves. The fourth This type of algorithm operates on a "signature" that is derived from each data sequence. Create.

[0041] The first type of similarity algorithm directly compares data segments to determine their similarity. In the simplest case, two data segments have the same length and the similarity relation The number measures the distance between two vectors whose components are data values. For example, EDS is For i = 1 to N, we have sample values ​​p(i), and RDS is sample values ​​p(i) for i = 1 to N. If q(i) has the Euclidean distance

number

[0042] The second type of similarity function is to calculate the distance between the data segments before measuring the distance between them. In some applications, the shape of the data segment is For example, data segments may differ in amplitude but have the same shape. In other words, p(i) = Kq(i). If the goal is to find signals that have the same shape regardless of the signal's amplitude, then each data The segments are first determined by their average amplitude before calculating the distance between the segments. It is divided by a constant. In one example, the constant is the maximum value of the data segment. In this example, the constant is the average of the absolute values ​​of the data values ​​in the data segment.

[0043] The third type of similarity function is to compare relatively small data segments with relatively large data segments. This means that the user can enter some relatively small sequence This situation is useful when you want to find a data segment that contains This occurs when the data is of different lengths. Basically, the user is We want to find relatively large data sequences that contain sequences similar to the one in In this example, the corresponding data segments of the relatively small and relatively large data are The distance between the part of the data that is smaller than ... p(i) is the number of data segments that are relatively large, and q(i) is the number of data segments that are relatively large for i = 1 to N. In some cases, for k=0~(Nm-1), the distance function

number

[0044] The above similarity functions operate directly on the data segments being compared. Similarity functions are intuitively understandable to those who are not experts in clustering analysis. However, the workload of calculating the similarity when classifying EDS is large when the EDS is large. In addition, the type of similarity that the user wants to use to classify the EDS can be Depending on the type, a fourth class of similarity functions may be preferred.

[0045] In the fourth class of similarity analysis, a signature vector is derived from each data segment. Then, a method similar to that described above is used to estimate the distance between the signature vectors. This type of similarity measurement allows us to measure the similarity of all EDSs. The signature vector has the same components even if the data segments are of different lengths. Generally, the number of components in the signature vector is much larger than the number of data values ​​in the EDS. This significantly reduces the computational workload of performing distance measurements. The savings in is the computational effort of deriving the components of the signature vector from the corresponding data segments. Generally, the components of a signature vector are Let be any function of a data segment that is likely to be distinguished from other data segments. If the extraction algorithm produces data segments of different lengths, the signature can be One component of the Necha vector can be the length of the data segment. can be derived from a finite impulse response filter applied to the data segment. For example, components representing the amplitudes of the frequency components of the data segment can be used.

[0046] Identifies EDS and updates the RDS library to account for each new EDS found The process of: The present invention allows the data stream to be completed without slowing down the rate at which it enters the data logger. If the data can be extracted, the process is said to be performed in real time. In this case, the input data stream passes through the FIFO and is then output to the disk storage device. Thus, the extraction process, i.e., the identification of a new EDS, allows the controller to Identify the data segment that satisfies the extraction algorithm and note the data segment. The buffer in the FIFO is moved before any part of the data segment leaves the FIFO buffer. It must be possible to do so.

[0047] The time to complete the preliminary classification and update the RDS library depends on the amount of memory and available parallelism. In one embodiment, the new EDS is stored in an EDS buffer in memory. The new EDS is then moved to step 17 and compared with the RDS in the library. The time required for inspection can be improved by keeping the RDS in memory during the comparison. It is possible.

[0048] Furthermore, the time to find a match is an order that reflects the likelihood of finding a match to an existing RDS. This can be improved by implementing matching in the RDS database. Contains the counts of EDS matches already found for S. These counts are The RDS is a measure of the likelihood that the next EDS is consistent. Therefore, there is a counter associated with each RDS. Performing the match in order improves the speed at which a match (if one exists) is found.

[0049] If the likelihood changes over time, a separate likelihood variable can be used that decays over time. Each time an EDS is assigned to an RDS, the likelihood count for that RDS is incremented by 1. Periodically, the likelihood count is multiplied by a decay factor that is less than 1. The search for a match is performed in the order defined by the likelihood count. will be done.

[0050] Finally, it should be noted that parallel processing can reduce the matching process time. Matching a new EDS to one of the RDSs does not match any other RDSs. This can be done in parallel with EDS matching, shortening the matching time by approximately M times. where M is the number of available parallel processors. The distance calculation can also be done with high performance It can also be implemented in the graphical processor core of a graphics display card. ,Thus, the speed improvement due to parallel processing can be ,more than a factor of 1000.

[0051] In the matching process, the controller calculates the average number of samples required to find and extract the EDS. It should also be noted that on average, one EDS needs to be processed per hour. If there is enough buffer space to store the new EDS waiting, the system will The average time to find a match is used to process one EDS, not the maximum time to find a match. It is only necessary to understand this.

[0052] Still, matching the EDS against the RDS in the RDS library is awaiting a match It is possible that the new EDS will fail to complete before the buffer capacity is exceeded. In this case, For unmatched EDSs, the EDS database entry is The file is marked as matched and processing continues to the next EDS waiting to be matched. Therefore, the buffer that held the unmatched EDS is used by the new EDS. Any unmatched EDS will be cleared at the end of the recording period or at the end of the recording period. During the subsequent parts of the Once that happens, it can be processed.

[0053] In one embodiment of the system, at the start of a data recording operation, the reference database is empty. When a new extracted data segment is encountered, how many of the new extracted data segments are For example, the first extracted data segment is the reference data segment. The second new extracted data segment becomes the new reference data segment. or simply represented by a previously generated reference data segment. The clusters can then be labeled as part of the cluster.

[0054] In another aspect of the invention, the user may select one or more reference data segments to be used in the comparison. Reference segments can be generated by the user or entered in the data. Analyzed by equipment similar to the present invention provided by the logging equipment manufacturer It may be found in another data stream.

[0055] In one embodiment of the present invention, the RDS database is stored in memory during recording and initial processing. The database and associated RDS help users understand the data streams being logged. In one embodiment, the user is provided with an RDS A list of RDSs was presented, and the list of RDSs was found to be similar to the RDS. The numbers are ordered by the count of the number of S's. The user can then select one to display. You can choose from the above RDS.

[0056] As mentioned above, the RDS database stores, for each RDS, In one embodiment, the identification includes an entry listing the identity of each EDS found to be , is the index in the data stream where the EDS is found. are listed if the measure of similarity between the EDS and the RDS meets some predefined threshold condition. For example, the distance between the EDS and the RDS is less than some threshold. If the threshold condition is too loose, a large amount of EDS will be associated with RDS. A single RDS can be used to distinguish between two or more different classes of signals in the input data stream. As will be explained in more detail later, these RDS should be avoided.

[0057] If the threshold condition is too strict, there will be more RDS and each RDS will determine The size of the clusters defined is smaller. In principle, during the post-recording process, Smaller RDS clusters can be combined to provide a larger cluster. However, However, due to the large number of small RDS clusters during data collection, the new EDS is This effectively increases the computational workload associated with matching to a DS cluster. ,There is a trade-off between the threshold condition and the ,specificity of the RDS clusters.

[0058] In one embodiment of the invention, the RDS database entry for each RDS also includes It also includes a measure of actual similarity for each EDS relative to the RDS. The RAM is optionally configured to, by a controller, notify a user during the recording process and during post-recording processing. The histogram is provided to the user upon request. When S is associated with an RDS, users can gain insight into the structure of the cluster. For example, if the histogram reveals multiple peaks, the clusters can be may contain EDS from multiple clusters of signals in the data stream, and therefore This may require the RDS to be expanded into multiple new RDSs, as described below. There is.

[0059] At the end of the recording step, the present invention will have generated two databases. The database identifies all of the data segments that satisfy the extraction algorithm. The database contains information about each EDS in the recorded data stream and about all EDSs similar to that EDS. Contains all the locations of RDS. Using this database, the controller can The second database is the record processor. The information in the RDS database identifies all of the RDSs that have been created during the process. All EDSs associated with a given RDS and RDS started in the recorded data stream Identifies the location of the EDS and other information about the RDS as described above.

[0060] In some cases, it may be useful to check one or more of the IDSs. For example, if the extraction algorithm defines a fixed window for the trigger position, the window It may be too small to capture all of the signals related to the eye after EDS. The dollar data segment can provide the missing portion of a truncated EDS. The on-disk index of the IDS after the DS is calculated from the last index of that EDS. It can be calculated.

[0061] As mentioned above, there was not enough time available to perform all of the comparisons. There may be EDS that have failed to be classified in the RDS library. The system will tag any such EDS. During post-recording processing, these failed EDSs will be The location of each such EDS is recorded in the EDS database. The EDS is then extracted from the recorded data stream at its location in the data stream. In addition, the recorded data stream is stored on the disk. to reach its EDS if it is on a drive or similar random access storage device. It is not necessary to play the entire recorded data stream at the same time. DS library. At this point, a similarity algorithm is used to The EDS can be related to one or more of the RDSs or is sufficiently similar to the RDS. If no DS is found, a new RDS can be defined for the EDS.

[0062] One of the purposes of the data logging process described herein is to identify signals that are similar to each other. It registers the signals, thus enabling users to understand the different signal types in the recorded data. Each RDS represents a cluster of EDSs, but a collection of RDSs does not necessarily It also allows the user to fully understand the clustering of the underlying EDS set. For example, there may be a much larger number of clusters than are in the underlying EDS set. RDS. The present invention provides insight into the underlying signal clustering. Two tools are provided:

[0063] The first tool finds groups of RDS that are part of the same underlying signal cluster. Each RDS entry in the RDS database is It includes EDS, which represents a small group of DS. Therefore, selected cases of RDS are By clustering, users can find larger clusters of similar EDSs. Since the number of RDSs is substantially less than the number of EDSs, the clustering of RDSs is Starring can be implemented with a substantially smaller computational workload. To simplify terminology, we refer to RDS clusters as groups.

[0064] The purpose of RDS clustering can be more easily understood with the help of a simple example. It is possible to locate the signal at or near the center of a cluster of signals in the input data stream. Consider RDS. Similarity algorithms measure the distance between two data segments. In particular, we assume that the EDS that forms the basis of the RDS is included in the EDS library. Consider the distance to each of the other EDSs in the RDS. An exemplary plot of the distribution of such distances is shown in FIG. 2. In the example shown in FIG. S indicates the cutoff distance used to define the EDS corresponding to the input It contains only the EDS corresponding to the first cluster 31 of signals. Ideally, the resulting This RDS is then scaled to the other RDS so that the group has a valid cutoff distance as shown in T3. Should be combined with RDS.

[0065] As mentioned above, if the original cutoff distance is too large, as shown in T2, the RDS will be The EDS corresponding to the second cluster 32 in the input signal. When combined with DS, the resulting RDS also reduces the two class The resulting group contains the EDSs belonging to the cluster, so that the As mentioned above, a frequency distribution such as the one shown in Fig. 2 is not limited to a single cluster. can be useful in identifying RDS that are too large.

[0066] The RDS was generated by grouping in a manner similar to that used to generate the RDS from the EDS. In forming the groups, the similarity relations and thresholds are set in a manner similar to that described above. These definitions are defined by the user through the user interface 21 or the system. In the simplest case, the RDS can be generated via the We use the same similarity relation used in the previous study to set the similarity threshold to group the candidate RDSs. This creates groups by modifying the However, different similarity relations can be utilized.

[0067] Initially, there were no groups, so the first group was determined from the first RDS tested. In one embodiment of the present invention, the most EDS is used to start this first group. In this embodiment, the RDS having the underlying cluster in the EDS is selected. Based on a model centered on or near one of the It is likely that RDS is located at or near the center of these clusters. If the similarity measure for two RDSs indicates that the two RDSs satisfy the similarity condition Then, the remaining RDSs that have not yet been assigned to a group are checked against that group. Then, the maximum count that has not yet been assigned to a group is filled by If there are no more unallocated RDSs, the process is repeated. The process is completed.

[0068] The users are responsible for controlling the operation of each group in response to appropriate commands given to the data processing system. You can see the data segments that correspond to the RDSs in each RDS. The study could be limited to EDS defined as mental health or to all EDS related to the group. These displays allow the user to see that signals are grouped using similarity relationships. In fact, it is possible to determine whether the person looks similar to the user. To help determine whether the grouping process has been carried out to an extreme, we present the following graph in Figure 2: A frequency distribution like the one shown can be seen.

[0069] If the number of groups is still too large, use the same similarity algorithm, but The process was carried out using different thresholds that were chosen to be less strict for detecting Additionally, the process can be repeated using different similarity algorithms. The restriction on the similarity algorithm is that for any two EDSs It just has to be able to work. For example, EDs of different lengths The similarity algorithm operating on S will not work if the two EDSs are not substantially the same length. By setting the similarity index so that the two EDSs are dissimilar when If the two EDS lengths are substantially the same, a distance function is calculated and compared to a threshold. In another example, a similarity algorithm is used to determine whether two EDSs are similar. The algorithm first derives a signature for each of the EDSs to be compared, and then The distance between the chas can be measured to determine whether the two EDSs are similar.

[0070] The above description describes a specific type of clustering algorithm that re-clusters an RDS. However, the first tool is used to apply other clustering techniques. It is possible.

[0071] As mentioned above, the similarity criterion used to generate one of the RDSs was too lenient. In some cases, the RDS may contain a very large number of EDSs. , there is a possibility that the input signal cluster may span more than one cluster. By replacing the RDS with multiple RDSs, each with a smaller number of EDSs associated with it, In one embodiment of the present invention, the RDS is a complete set of EDSs associated with the RDS. Search for and reclassify their EDSs using a more restrictive similarity cutoff threshold. By re-clustering, it is possible to divide the data into smaller RDSs. The clustering proceeds in a manner similar to that described above for the original clustering of EDS. A new RDS is defined to include the first EDS of the group of extracted EDSs. Each successive EDS is then compared to the new RDS. If an EDS is similar to an RDS when determining whether it is a new RDS, the EDS is included in the new RDS. If the EDS is not sufficiently similar to one of the new RDSs, another new An RDS is defined and the EDS is used to start the RDS. When a set of RDSs is included in the RDS library, you can iterate over the RDS groupings. do.

[0072] Clustering of RDS after recording is useful for selecting EDSs grouped into RDS. First, as mentioned above, each RDS consists of multiple clusters. Such an RDS can be regenerated as described above. or if computational resources permit, load all EDSs associated with the RDS and By running the clustering algorithm directly on the EDS, smaller clusters were obtained. Alternatively, for example, the extraction algorithm can be If we operate by selecting all of the samples within a fixed-size window of positions, the result is The resulting EDS simply approximates the data segment that contains only the signal of interest. If is too large, EDS will introduce a significant number of background samples that can distort the distance calculation. Similarly, if the window is too small, part of the signal of interest will be cut off. As mentioned above, the IDS can be accessed following the EDS, and the fixed window allows Therefore, EDS can restore the missing part of the signal that was truncated by the It is only an approximation to the observed data signal.

[0073] The second tool mentioned above allows the user to correct these approximations and therefore For example, if the EDS extraction algorithm is based on a fixed window, In this case, the data processing system determines the stop position relative to the EDS from the end of the fixed window to the object signal. It is possible to perform a trimming algorithm that changes the position of the For example, the end of the EDS may be a stream of samples representing the background level in a data channel. If the EDS is a filter, the end of the EDS is defined to be the position of the last data value above the background. Similarly, if the EDS is truncated by a window and adjacent If there is an idle data segment, the end of the data in the idle data segment is As shown, the end of the EDS can be modified.

[0074] After the EDS has been updated to correct for these approximations, the same similarity algorithm or a different Cluster the new collection of EDSs into RDSs using a similarity algorithm. Then, a new set of RDSs can be created as described above for the first tool. If sufficient computational resources are available, Reclassify to provide a new set of RDS to replace the original large RDS. Assemble all EDSs corresponding to the RDS being tagged as a group and reclassify them. It is possible to perform tagging.

[0075] During post-processing of recordings using the above two tools, the user can select one or more clusters You can see the actual EDS. If the EDS in a cluster is similar enough to the user, If the similarity does not appear to be correct, the user may choose to In one aspect of the invention, the user can change the algorithm and / or threshold. , the similarity algorithm can be selected from a predefined list of similarity algorithms.

[0076] In the embodiment described above, the RDS database starts out empty and fills up as records are added. However, embodiments in which one or more RDSs are defined before the start of recording are also possible. These initial RDSs allow users to Searching for specific signals while still being aware of the content of the data stream as it is taken Other information analyzed by a device similar to the present invention or generated by a user can be In some cases, a reference data segment may be found in the data stream.

[0077] EDS and RDS are normalized before measuring the similarity between two data segments. Similarity algorithms can also be used. For example, each data segment is compared measures the similarity in shape, we use the maximum value of the samples in the data segment. In another example, the EDS is multiplied by a constant to calculate the similarity. The process can be completed for different predefined constants and the highest similarity measure is used. This can be done.

[0078] In one embodiment of the present invention, the data stream is recorded in real time while, as much as possible, The process is organized to provide as much preliminary data as possible. Or higher level processing is performed after data recording is completed. The processing at the time of extraction allows extraction of data segments that satisfy the extraction conditions, Preliminary classification of similar data segments based on the characteristics and real-time performance Detection and registration of reference data segments while recording input data, which requires First, the results of the preliminary classification are used to generate a preliminarily classified reference data segment. Classification can be performed by cluster analysis on the members. However, analysis processing time and user time can be reduced without having to wait for data to be recovered from long-term recording devices. The system can provide responses to user queries.

[0079] In other words, the process prioritizes fast processing and therefore the R with the highest similarity. The method does not identify DS, but instead identifies RDS that resembles EDS with a given threshold accuracy. As soon as a matching RDS is found, it is adopted as the tag for the EDS, thereby terminating the process. The complete data segmentation is performed until further classification is performed by clustering. The process of obtaining a classification decision is deferred.

[0080] The number of stored data segments and RDSs sets the classification threshold for similarity evaluation. As a result, the classification error can be reduced during preprocessing by The time for preliminary classification can be reduced.

[0081] As mentioned above, parallel processing as described above can be used to reduce processing time. In addition, by examining the RDSs in an order that reflects the number of EDSs associated with each RDS, This can further reduce processing time. The value function can be selected to have a low computational load so that in subsequent processing, More complex similarity measures can be used to improve the accuracy of the clustering.

[0082] Although the above embodiment uses a data logger as an example, the present invention is also applicable to cases where two signals are similar. It is possible to define an extraction algorithm together with a similarity algorithm that determines whether or not the data are similar. The present invention can be applied to a wide range of data signals.

[0083] In the above described embodiment, the input data stream was scalar in nature, i.e. The input data stream consists of a single value at each clock cycle. However, The teachings of the present invention can be applied to vector input data streams. In the data stream, each channel is configured to provide an input vector at each clock cycle. There are multiple input data channels processed by the ADC. The trigger circuit, which defines the trigger circuit, operates on one of the channels or on more than one of the channels. The teachings above can be applied to such vector data streams. can.

[0084] In the above-described embodiment, the original data stream is a digitalized version of an original analog signal. can be stored on disk or other long-term storage without loss, except for any quantization errors introduced by As mentioned above, the original data stream can be recovered from the device. The storage requirements for the data can be in the tens of terabytes. In some applications, lossy compression is Advantageously, an algorithm can be used to provide a compressed data stream. There are two types of approximations that can be used to provide a compressed data stream: A first approximation is to replace the IDSs with a count of the number of data samples in each IDS. This reduces each IDS to just a code that identifies it as an IDS and a count. do.

[0085] The second approximation is to replace each EDS with the EDS in the RDS that contains it. The RDS contains a representative EDS, and the remaining EDSs related to that RDS are similar to that EDS. For this reason, each EDS in the data stream is However, this approximation does not include the RDS in the data stream. The library needs to be included once. However, the average number of RDSs is The level of compression is significant, assuming that the number of EDSs is much smaller than the number of It can be replaced by a compressed version of the EDS. A lossless compression algorithm such as trope encoding can be used. Alternatively, a representative E DS is one of the lossy data compression algorithms known in the data compression art. These traditional data compression techniques are lossless compression algorithms. It should be noted that this may include both lossy and non-lossy compression algorithms. be.

[0086] The present invention also provides an analytical tool for understanding signals in pre-recorded data sets. In this case, the pre-recorded data set can be used in a similar manner to the device shown in FIG. If the recorded data is already in digital form, ADC11 is omitted. In such applications, the controller 15 can optionally You can control the rate at which the next new EDS is input to the system. If there is not enough time to compare the new EDS with each of the RDS before it is necessary , the controller 15 simply stops inputting data to allow the system to catch up. It is possible.

[0087] If a compressed version of the pre-recorded data is desired, it should be used in the compressed data stream. After determining the RDS, the data set can be read out at a second time. And The compressed data stream can be output to a disk 14 .

[0088] As mentioned above, the controller of the present invention may be implemented using a conventional computer or multiprocessor. The EDS to RDS matching can be done by using multiple processors. This is a process that can increase the rate of growth, because of the new EDS and RDS The results of a match between one of them are compared in parallel with a match between that EDS and another of the RDS. Multiprocessors are different from conventional multicore computers because they can run multiple programs simultaneously. The processor may be a single processor, a single memory controller, or a graphics processing board with thousands of cores.

[0089] The present invention also provides a computer-implemented method for implementing the method of the present invention. Computer-readable media is also included in the patents under 35 U.S.C. § 101. is defined as any medium that constitutes subject matter that can be patented under Section 101 of the U.S. Patent Act. Excludes any media that does not constitute permissible subject matter. Examples of such media include A computer that stores information in a format that is readable by a computer or data processing system. non-transitory media such as digital memory devices.

[0090] The above-described embodiments of the present invention are provided to illustrate various aspects of the present invention. However, the different aspects of the invention shown in different specific embodiments may be combined to form the present invention. It is understood that other embodiments of the present invention may be provided. Various modifications of the present invention will become apparent from the above description and accompanying drawings. is limited only by the scope of the appended claims. [Explanation of symbols]

[0091] 11 Analog-to-Digital Converter (ADC) 12 FIFO Buffers 13. Clock 14 Discs 15 Controller 16 Local Memory 17 EDS Buffer 18 RDS Database 19 EDS Database 21 User Interface 22 Disk Database

Claims

1. 1. A system for recording and analyzing data streams, comprising: an input port adapted to receive the data stream, A stream has an input port, which contains an ordered sequence of data values; an output port adapted to communicate said data stream to a mass storage device; 、 The location of the data stream as it is received by the system. a buffer connected to said input port for temporarily storing a constant portion of said signal; A new extraction protocol is satisfied for the data stream stored in the buffer. A segment called an extracted data segment (EDS) is identified and a first similarity protocol is created. The new EDS is compared to each of a plurality of reference data segments (RDS) using a col a controller that performs a first affinity protocol on the new If the new EDS shows similarity to one of the RDSs, the new EDS is The identifying information is stored in the RDS database, and the controller determines whether the new EDS is If the RDS is not similar to any of the RDSs, generate a new RDS, and each RDS has The EDS that is found to be similar to the RDS and the new RDS is a controller including a list of the new EDS and the DS that generated the new EDS; A system comprising:

2. The first similarity protocol comprises a distance measure and a similarity threshold between two data segments. and the two data segments are determined such that the distance has a predetermined relationship with the similarity threshold. The system of claim 1 , wherein the two are defined as similar if they have:

3. The controller may select from an existing RDS a protocol that is more restrictive than the first similarity protocol. A second similarity protocol is used to compare the EDSs associated with that RDS to each other. The system of claim 2 , further comprising:

4. A data stream including an ordered sequence of data values ​​is divided into clusters of said signals.

1. A method of operating a data processing system to analyze a receiving said data stream sequentially, and for each data value, Assigning an index; storing a portion of the received data stream in a buffer; Extracting a new EDS from the buffer that satisfies an extraction protocol; A first similarity protocol is used to compare the new EDS to each of a plurality of RDSs. and wherein the data processing system detects whether the first affinity protocol is If a new EDS shows similarity to one of the RDSs, the new EDS is identified. The data processing system stores the new ED identification information in the RDS database. If S is not similar to any of the RDSs, generating a new RDS. 、 A method comprising:

5. The extraction protocol determines the data value in the buffer where the new EDS begins. , the data value in the buffer where the new EDS ends; The data value at which the DS ends is a fixed number of times from the data value at which the new EDS begins. The method of claim 4 or the system of claim 1, wherein the sample values ​​are:

6. The data processing system determines a distance measure and a similarity threshold between two data segments. and if the distance has a predetermined relationship with the similarity threshold, the two data segments are classified as a similarity. The data processing system defines the first similarity as being similar to the first similarity. The RD as determined by a second similarity protocol that is less restrictive than the protocol If S are similar to each other, combine two of the RDSs according to user input; The method of claim 4 or the system of claim 1.

7. The data processing system determines a distance measure and a similarity threshold between two data segments. and if the distance has a predetermined relationship with the similarity threshold, the two data segments are classified as a similarity. The data processing system defines the first similarity as being similar to the first similarity. A second similarity protocol, which is more restrictive than the protocol, is used to extract the RDS from the existing RDS. By comparing the EDSs related to the RDSs of the two, multiple new RDSs are generated. The method according to claim 4 or the system according to claim 1.

8. A data stream comprising an ordered sequence of data values ​​in a data processing system. A computer readable medium comprising instructions for performing a method of analyzing the clusters of signals. The method comprises: receiving said data stream sequentially, and for each data value, Assigning an index; storing a portion of the received data stream in a memory buffer; Extracting a new EDS from the buffer that satisfies an extraction protocol; A first similarity protocol is used to compare the new EDS to each of a plurality of RDSs. and wherein the data processing system detects whether the first affinity protocol is If a new EDS shows similarity to one of the RDSs, the new EDS is identified. The data processing system stores the identifying information in the RDS database, and the new EDS is generating a new RDS if it is not similar to any of the RDSs; 2. A computer readable memory comprising:

9. The data processing system processes each EDS by comparing it with the previous EDSs found to be similar to the EDS. A compressed data stream is generated by replacing the RDS with a symbol representing the RDS. A computer readable memory according to claim 8, a system according to claim 1, or a method according to claim 4. Method of posting.

10. The data processing system processes each EDS by comparing it with the previous EDSs found to be similar to the EDS. a compressed data stream by replacing the RDS with a symbol representing the RDS; The data processing system processes each sequence of data values ​​that are not part of the EDS by 9. The computer readable method of claim 8, wherein the first and second symbols are replaced with a count indicating the number of symbols in the first and second symbols. A memory, a system according to claim 1, or a method according to claim 4.

Citation Information

Patent Citations

  • Waveform recording apparatus

    JP2016050830A

  • Waveform recording apparatus

    JP2018084557A

  • Information processing device, information processing system, information processing method and program

    JP2019020785A

  • Querying compressed time-series signals

    US20100325132A1