A method, device and storage medium for dynamic parameter data management and operation
By analyzing the structural difference characteristics and transmission characteristics of execution records, dividing explicit structural discrete categories and selecting adaptive anomaly analysis methods, the problem of low verification efficiency of massive data and high computing power usage is solved, and efficient execution record verification is achieved.
Patent Information
- Application Number
- CN202410866213.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-07-01
AI Technical Summary
When faced with execution records generated by a large number of terminals executing scheduled tasks, the verification efficiency of massive data is low and the computing power is high, resulting in poor verification efficiency.
By obtaining execution records in real time, analyzing structural difference characteristics and transmission characteristics, classifying explicit structural discrete categories, selecting adaptive anomaly analysis methods, adjusting extraction granularity, reducing computing power consumption and improving verification efficiency.
On the premise of ensuring the verification effect, the computing power consumption when analyzing a large number of execution records is significantly reduced, and the verification efficiency is improved.
Smart Images

Figure CN118394350B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data management, and in particular to a method, device and storage medium for dynamic parameter data management operation. Background Art
[0002] With the development of computer technology and Internet technology, the number of controllable terminals has increased significantly. When the main control end manages a large number of terminals, due to the continuous operation of the terminals, a large number of dynamic parameters are updated and stored, such as execution records. The main control end needs to process a large amount of terminal operation data to monitor the operation of the terminals. Therefore, a management system for dynamic parameters is crucial.
[0003] For example, Chinese patent publication number: CN114116507A discloses a source code detection system and method based on Devops intrinsic security, wherein the system includes: an interface unit, a WebService server, a driver engine, an automated test system (QTP), and a power platform database. The present invention collects, analyzes, records, and alarms abnormal updates and / or abnormal operations of the source code to be detected based on Devops. After abnormal updates and / or abnormal operations of the source code to be detected occur, real-time monitoring, recording, and alarming can be performed through an electronic data platform, thereby realizing intrinsic security management based on Devops source code.
[0004] However, there are still the following problems in the prior art:
[0005] When faced with execution records generated by a large number of terminals executing scheduled tasks, faced with massive amounts of data, high computing power is consumed when verifying the execution records, and the verification efficiency is low. Summary of the invention
[0006] To this end, the present invention provides a method, device and storage medium for dynamic parameter data management and operation, so as to overcome the problems in the prior art of high computing power consumption and low verification efficiency when verifying execution records generated by a large number of terminals executing predetermined tasks and facing massive data.
[0007] To achieve the above object, a method for dynamic parameter data management operation is provided, comprising:
[0008] Step S1, acquiring execution records of several work tasks executed by the execution end in real time, so as to perform structural analysis on the execution records to determine structural difference features, wherein the structural difference features include code structure similarity and context structure correlation coefficient of the execution records;
[0009] Step S2, determining an explicit structural discrete parameter for the execution record according to the structural difference feature combined with the discrete difference of the transmission feature when the execution record is acquired, so as to classify the explicit structural discrete category of the execution record, wherein the transmission feature includes the amount of data transmitted and the rate of change of the data amount;
[0010] Step S3, performing an exception analysis on the execution record according to the explicit structure discrete categories of the execution record to determine the exception code, including:
[0011] Based on the difference of the explicit structure discrete parameters in different time domain segments, the specific record segment in the explicit structure weak discrete category execution record is identified, the code in the specific record segment is traversed and extracted to determine whether the code is abnormal, and the reference extraction granularity is adjusted to extract the code in the non-specific record segment corresponding to the extraction granularity to determine whether the code is abnormal;
[0012] Or, extracting the execution record of the explicit structure strong discrete category and extracting the code in the execution record at the reference extraction granularity to determine whether the code is abnormal;
[0013] Step S4, calibrating the abnormal code and issuing a prompt message for the abnormal code.
[0014] Furthermore, in step S1, the process of determining the code structure similarity includes:
[0015] Determine the execution record into a plurality of record slices to determine the code features in each of the record slices;
[0016] Abstracting and vectorizing each of the code features to obtain a vector of each record slice;
[0017] The mean of the vector similarity between each record slice is determined as the code structure similarity.
[0018] Furthermore, in step S1, the process of determining the context structure correlation coefficient includes:
[0019] The execution record is selected by moving the sliding window to obtain a plurality of execution record subsets;
[0020] Determine the basic structural features of each execution record subset to calculate the difference ratio of the basic structural features between each execution record subset;
[0021] The difference ratio mean was determined as the context structure association coefficient;
[0022] The basic structural features include the average length of each line of code and the code repetition rate.
[0023] Furthermore, in step S2, the explicit structural discrete parameter is calculated according to formula (1):
[0024] ,
[0025] In formula (1), M represents an explicit structural discrete parameter, V represents the rate of change of the amount of data within a reference duration, V0 represents a preset reference threshold value of the rate of change of the amount of data, t represents a reference duration, N(i) represents the amount of data transmitted at the ith moment, ΔN represents the average amount of data transmitted within the reference duration, P represents the code structure similarity, G represents the context structure association coefficient, P0 represents the preset code structure similarity reference threshold value, G0 represents the preset context structure association coefficient reference threshold value, α represents the structure similarity weight coefficient, and β represents the structure association weight coefficient.
[0026] Furthermore, in step S2, the process of dividing the explicit structure discrete categories of the execution record includes:
[0027] If the explicit structure discrete parameter is greater than or equal to a preset explicit structure discrete parameter benchmark threshold, the execution record is determined to be an explicit structure strong discrete category;
[0028] If the explicit structure discrete parameter is less than a preset explicit structure discrete parameter reference threshold, the execution record is determined to be an explicit structure weak discrete category.
[0029] Furthermore, in step S3, the process of identifying the unique recording segment includes:
[0030] Determine the average difference between the discrete parameters of the explicit structure corresponding to the recorded slices in the time domain segment and the recorded slices in the remaining time domain segments;
[0031] If the average difference value corresponding to the record slices in the time domain segment is greater than a predetermined standard difference threshold, the record slices are identified as specific record segments.
[0032] Further, including, in the step S3, when adjusting the extraction granularity,
[0033] The adjusted extraction granularity is positively correlated with the explicit structural discrete parameters.
[0034] Furthermore, the step S3 further includes verifying the code structure of the execution record of the explicit structure strong discrete category every predetermined number of extractions to determine whether the abnormal analysis method needs to be changed, including:
[0035] Determine the record slice where the extracted execution code is located;
[0036] Comparing the code structure similarity between the record slices;
[0037] If the code structure similarity is less than a predetermined benchmark similarity evaluation threshold, it is determined that the abnormality analysis method needs to be changed;
[0038] Among them, changing the abnormal analysis method includes traversing and extracting the code in the execution record of the explicit structure strong discrete category until the code structure is verified again.
[0039] A storage medium for storing a method for managing and operating rights dynamic parameter data is also provided, which stores a computer program, and when the computer program is executed by a processor, it is used to execute the method for managing and operating dynamic parameter data.
[0040] A device for dynamic parameter data management operation is also provided, comprising:
[0041] one or more processors;
[0042] Memory;
[0043] and one or more programs,
[0044] The one or more programs are configured to be executed by one or more processors, and the memory includes the storage medium.
[0045] Compared with the prior art, the present invention determines the structural difference characteristics by structural analysis of the execution records, determines the explicit structural discrete parameters for the execution records based on the structural difference characteristics combined with the discrete differences of the transmission characteristics when being transmitted, and divides the explicit structural discrete categories, and subsequently adaptively selects different exception analysis methods for the explicit structural discrete categories, in particular, identifies specific record segments for the execution records of the explicit structural weak discrete category, traverses and extracts the codes in the specific record segments to determine whether there are exceptions, and adjusts the extraction granularity to extract the codes in the non-specific record segments to determine whether there are exceptions, and extracts the codes in the execution records of the explicit structural weak discrete category at the benchmark extraction granularity to determine the exceptions. Through the above steps, the structural differences between the execution records are taken into consideration, and the exception analysis method is adaptively selected. On the premise of ensuring reliability, the computing power consumption when analyzing a large number of execution records is reduced, and the verification efficiency and verification effect are guaranteed.
[0046] In particular, the present invention performs structural analysis on the execution record to determine the structural difference characteristics. The execution record is composed of the running code record. Due to the differences in the tasks executed by the execution end, there are also certain differences in the execution records. In actual situations, the repeatability of the tasks executed by some execution ends is high. Therefore, the execution records are also highly repeatable in structure, which is manifested in the high similarity of the code structure in the execution record and the strong correlation of the context structure. In extreme cases, it may be reflected in the form of a periodic cycle. In this case, if there is an abnormality in the operation of the execution end, the code structure may have a more obvious change, and the data representation is strong. Similarly, the transmission characteristics may have a more obvious change, and the data representation is also strong. Therefore, the present invention considers the structural difference characteristics, and calculates the explicit structural discrete parameters based on the structural difference characteristics combined with the discrete differences of the transmission characteristics when the execution records are obtained, so as to characterize the discrete differences in the structure of the execution records and the stability of the execution end operation, provide data support for the subsequent selection of different abnormal analysis methods, and then adaptively select the abnormal analysis method, while ensuring reliability, reduce the computing power consumption when analyzing a large number of execution records, and ensure verification efficiency and verification effect.
[0047] In particular, the present invention extracts specific record segments when executing records for weakly discrete categories of explicit structures. In this case, the data representativeness of the explicit structure discrete parameters is stronger. Furthermore, when the explicit structure discrete parameters are higher, it indicates that the specific record segments have an abnormal tendency. Therefore, for the specific record segments, a traversal extraction method is adopted to ensure the accuracy of the abnormal codes and reduce omissions. For the remaining non-specific record segments, the benchmark extraction granularity is adaptively reduced. Under the premise of ensuring reliability, the computing power consumption when analyzing a large number of execution records is reduced, thereby ensuring verification efficiency and verification effect.
[0048] In particular, when the present invention performs execution records for strongly discrete categories with explicit structures, since the code structures corresponding to the execution records are greatly different under the execution records for strongly discrete categories with explicit structures, and the discrete differences of the transmission characteristics are also large, the code in the execution records is extracted at the benchmark extraction granularity for the execution records of this category, and the execution records are uniformly analyzed for exceptions to ensure verification efficiency and verification effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 A schematic diagram of the method steps for dynamic parameter data management operation according to an embodiment of the invention;
[0050] Figure 2 A logical block diagram of the explicit structure of discrete categories of partitioning execution records for an embodiment of the invention;
[0051] Figure 3 A logic block diagram of identifying a specific record segment in a record of a weakly discrete category execution of an explicit structure according to an embodiment of the invention;
[0052] Figure 4 A logic block diagram for identifying and determining whether an abnormal analysis method needs to be changed according to an embodiment of the present invention. DETAILED DESCRIPTION
[0053] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0054] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0055] See also Figures 1 to 3 As shown, Figure 1 This is a schematic diagram of the steps of the method for dynamic parameter data management operation according to an embodiment of the invention. Figure 2 A logical block diagram of the explicit structure of the partitioning execution record discrete categories of the embodiment of the invention, Figure 3 The logic block diagram of the embodiment of the invention for identifying a specific record segment in a weakly discrete category execution record of an explicit structure is shown in the following figure. The method for dynamic parameter data management and operation of the invention includes:
[0056] Step S1, acquiring execution records of several work tasks executed by the execution end in real time, so as to perform structural analysis on the execution records to determine structural difference features, wherein the structural difference features include code structure similarity and context structure correlation coefficient of the execution records;
[0057] Step S2, determining an explicit structural discrete parameter for the execution record according to the structural difference feature combined with the discrete difference of the transmission feature when the execution record is acquired, so as to classify the explicit structural discrete category of the execution record, wherein the transmission feature includes the amount of data transmitted and the rate of change of the data amount;
[0058] Step S3, performing an exception analysis on the execution record according to the explicit structure discrete categories of the execution record to determine the exception code, including:
[0059] Based on the difference of the explicit structure discrete parameters in different time domain segments, the specific record segment in the explicit structure weak discrete category execution record is identified, the code in the specific record segment is traversed and extracted to determine whether the code is abnormal, and the reference extraction granularity is adjusted to extract the code in the non-specific record segment corresponding to the extraction granularity to determine whether the code is abnormal;
[0060] Or, extracting the execution record of the explicit structure strong discrete category and extracting the code in the execution record at the reference extraction granularity to determine whether the code is abnormal;
[0061] Step S4, calibrating the abnormal code and issuing a prompt message for the abnormal code.
[0062] Specifically, the present invention does not limit the method of obtaining the execution records of the execution end performing several work tasks. Preferably, a communication protocol can be established with the execution end in advance to synchronously obtain the execution records generated by the execution end. Preferably, the amount of data transmitted and the rate of change of the data amount at each moment during the execution record process are synchronously obtained.
[0063] Specifically, the present invention does not limit the specific structure of the execution record. The execution record can be a running log in the form of code, a code transmission record, or other relevant records that record the execution status of the execution end on the work task, which will not be repeated here.
[0064] Specifically, the present invention does not limit the specific structure of the execution end, which only needs to be able to execute work tasks and generate execution records.
[0065] In some possible ways, the execution end is a computer, the work task is that the computer runs various programs, and the computer synchronously generates operation logs of running various programs as execution records, which will not be repeated here.
[0066] In some possible embodiments, the execution end is a programmable mechanical device that can execute predetermined programming instructions, such as a robot, and synchronously generates operation logs when executing various actions as execution records, which will not be repeated here.
[0067] Specifically, there is no specific limitation on the method of determining whether there is an abnormality in the code in the execution record. An open source processing model can be used, such as the LogRobust model, which uses an attention-based Bi-LSTM neural network to capture contextual information in the execution record sequence for detection and identification of abnormal code. Of course, other forms can also be used. This is a prior art and will not be elaborated on.
[0068] Specifically, in step S1, the process of determining the code structure similarity includes:
[0069] Determine the execution record into a plurality of record slices to determine the code features in each of the record slices;
[0070] Abstracting and vectorizing each of the code features to obtain a vector of each record slice;
[0071] The mean of the vector similarity between each record slice is determined as the code structure similarity.
[0072] Specifically, there is no limitation on the form of code feature vectorization. A pre-trained word embedding model can be used to take words in the code as code features, convert the code features into vector form, and obtain the vector for the record slice by summing the vectors of each code feature in the record slice.
[0073] The code structure similarity is calculated using the cosine similarity method, and the vector similarity is determined by the cosine value of the angle between two vectors, which will not be described in detail here.
[0074] Specifically, in step S1, the process of determining the context structure correlation coefficient includes:
[0075] The execution record is selected by moving the sliding window to obtain a plurality of execution record subsets;
[0076] Determine the basic structural features of each execution record subset to calculate the difference ratio of the basic structural features between each execution record subset;
[0077] The difference ratio mean was determined as the context structure association coefficient;
[0078] The basic structural features include the average length of each line of code and the code repetition rate.
[0079] Specifically, the width of the sliding window should be three times the width of a single line of code in the execution record, and the length of the sliding window should be the maximum length of a single line of code in the execution record, so as to select at least three lines of code in the execution record as the execution record subset.
[0080] The sliding window moves in the direction of increasing line numbers, and the step size of a single movement is the width of a single line of code.
[0081] The difference ratio Ge of the basic structural features is the sum of the difference ratio of the mean value of the length of each line of code and the difference ratio of the code repetition rate, which can be obtained by the following formula:
[0082] Ge=|A1-A2| / (A1+A2)+|B1-B2| / (B1+B2)
[0083] A1 represents the average length of each line of code of the first execution record subset, A2 represents the average length of each line of code of the second execution record subset, B1 represents the code repetition rate of the first execution record subset, and B2 represents the code repetition rate of the second execution record subset.
[0084] Specifically, in step S2, the explicit structural discrete parameters are calculated according to formula (1):
[0085] ,
[0086] In formula (1), M represents an explicit structural discrete parameter, V represents the rate of change of the amount of data within a reference duration, V0 represents a preset reference threshold value of the rate of change of the amount of data, t represents a reference duration, N(i) represents the amount of data transmitted at the ith moment, ΔN represents the average amount of data transmitted within the reference duration, P represents the code structure similarity, G represents the context structure association coefficient, P0 represents the preset code structure similarity reference threshold value, G0 represents the preset context structure association coefficient reference threshold value, α represents the structure similarity weight coefficient, and β represents the structure association weight coefficient.
[0087] Specifically, the data volume change rate benchmark threshold is obtained in advance, wherein the execution records of the execution end executing a number of work tasks within a certain period of time are obtained in advance, and the average data volume change rate △V is solved, and V0=△V is set.
[0088] The code structure similarity benchmark threshold P0 and the context structure correlation coefficient benchmark threshold G0 are obtained in advance, wherein a number of execution record samples are obtained, the structural difference characteristics are determined, the code structure similarity mean △P and the context structure correlation coefficient mean △G are solved, and P0=△P×g1, G0=△G×g2 are set, g1 represents the first precision coefficient, g2 represents the first precision coefficient, 1.05<g1<1.15, 1.15<g2<1.2.
[0089] α is 0.35 and β is 0.65.
[0090] The present invention performs structural analysis on the execution record to determine the structural difference characteristics. The execution record is composed of the running code record. Due to the differences in the tasks executed by the execution end, there are also certain differences in the execution records. In actual situations, the repeatability of the tasks executed by some execution ends is high. Therefore, the execution records are also highly repeatable in structure, which is manifested in the high similarity of the code structure in the execution record and the strong correlation of the context structure. In extreme cases, it may be reflected in the form of a periodic cycle. In this case, if there is an abnormality in the operation of the execution end, the code structure may have a more obvious change, and the data representation is strong. Similarly, the transmission characteristics may have a more obvious change, and the data representation is also strong. Therefore, the present invention considers the structural difference characteristics, and calculates the explicit structural discrete parameters based on the structural difference characteristics combined with the discrete differences of the transmission characteristics when the execution records are obtained, so as to characterize the discrete differences in the structure of the execution records and the stability of the execution end operation, provide data support for the subsequent selection of different abnormal analysis methods, and then adaptively select the abnormal analysis method, while ensuring reliability, reduce the computing power consumption when analyzing a large number of execution records, and ensure verification efficiency and verification effect.
[0091] Specifically, in step S2, the process of dividing the explicit structure discrete categories of the execution record includes:
[0092] If the explicit structure discrete parameter is greater than or equal to a preset explicit structure discrete parameter benchmark threshold, the execution record is determined to be an explicit structure strong discrete category;
[0093] If the explicit structure discrete parameter is less than a preset explicit structure discrete parameter reference threshold, the execution record is determined to be an explicit structure weak discrete category.
[0094] Specifically, the explicit structural discrete parameter benchmark threshold is selected in the interval [0.5, 1].
[0095] Specifically, in step S3, the process of identifying the special record segment includes:
[0096] Determine the average difference between the discrete parameters of the explicit structure corresponding to the recorded slices in the time domain segment and the recorded slices in the remaining time domain segments;
[0097] If the average difference value corresponding to the record slices in the time domain segment is greater than a predetermined standard difference threshold, the record slices are identified as specific record segments.
[0098] In order to reflect the difference in explicit structural discrete parameters between the recorded slices in the time domain segment and the recorded slices in the remaining time domain segments, the standard difference threshold Me is determined based on the mean △M of the explicit structural discrete parameters corresponding to each recorded slice, and ME is set to r×△M, where r represents the multiplication factor, 0.25<r<0.5.
[0099] Specifically, in step S3, when adjusting the extraction granularity,
[0100] The adjusted extraction granularity is positively correlated with the explicit structural discrete parameters.
[0101] The extraction granularity is the extraction ratio of the code in the execution record.
[0102] In implementation, optionally,
[0103] If M>M2, the extraction granularity is 0.8M0;
[0104] If M1≤M≤M2, extract granularity 0.7M0
[0105] If M<M1, the extraction granularity is 0.5M0;
[0106] Among them, M1 represents the first comparison value of the explicit structural discrete parameter, M1=0.6M0, M2 represents the second comparison value of the explicit structural discrete parameter, M2=0.8M0, M0 represents the benchmark extraction granularity, and M0 is selected in the interval [50%, 80%].
[0107] When executing records for weakly discrete categories of explicit structures, the present invention extracts specific record segments. In this case, the data representativeness of the explicit structure discrete parameters is stronger. Furthermore, when the explicit structure discrete parameters are higher, it indicates that the specific record segments have an abnormal tendency. Therefore, for the specific record segments, a traversal extraction method is adopted to ensure the accuracy of the abnormal codes and reduce omissions. For the remaining non-specific record segments, the benchmark extraction granularity is adaptively reduced. Under the premise of ensuring reliability, the computing power consumption when analyzing a large number of execution records is reduced, thereby ensuring verification efficiency and verification effect.
[0108] Specifically, see Figure 4 As shown, Figure 4 The logic block diagram of the embodiment of the invention for identifying and determining whether the abnormal analysis method needs to be changed is shown in step S3, wherein the code structure of the execution record of the explicit structure strong discrete category is verified every predetermined number of extractions to determine whether the abnormal analysis method needs to be changed, including:
[0109] Determine the record slice where the extracted execution code is located;
[0110] Comparing the code structure similarity between the record slices;
[0111] If the code structure similarity is less than a predetermined benchmark similarity evaluation threshold, it is determined that the abnormality analysis method needs to be changed;
[0112] Among them, changing the abnormal analysis method includes traversing and extracting the code in the execution record of the explicit structure strong discrete category until the code structure is verified again.
[0113] Specifically, the reference similarity evaluation threshold value Pe0 is determined based on the code structure similarity reference threshold value P0, and is set to Pe0=1.15×P0.
[0114] When the present invention performs execution records for explicit structure strong discrete categories, since the code structures corresponding to the execution records are greatly different under the explicit structure strong discrete category execution records, and the discrete differences of the transmission characteristics are also large, the code in the execution records is extracted at the benchmark extraction granularity for the execution records of this category, and the execution records are uniformly analyzed for exceptions to ensure verification efficiency and verification effect.
[0115] A storage medium for storing a method for managing and operating rights dynamic parameter data is also provided, which stores a computer program, and when the computer program is executed by a processor, it is used to execute the method for managing and operating dynamic parameter data.
[0116] A device for dynamic parameter data management operation is also provided, comprising:
[0117] one or more processors;
[0118] Memory;
[0119] and one or more programs,
[0120] The one or more programs are configured to be executed by one or more processors, and the memory includes the storage medium.
[0121] If the method for state parameter data management and operation of the present invention is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention, and the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0122] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A method for dynamic parameter data management operation, It is characterized in that include: Step S1, acquiring execution records of several work tasks executed by the execution end in real time, so as to perform structural analysis on the execution records to determine structural difference features, wherein the structural difference features include code structure similarity and context structure correlation coefficient of the execution records; Step S2, determining an explicit structural discrete parameter for the execution record according to the structural difference feature combined with the discrete difference of the transmission feature when the execution record is acquired, so as to classify the explicit structural discrete category of the execution record, wherein the transmission feature includes the amount of data transmitted and the rate of change of the data amount; Step S3, performing an exception analysis on the execution record according to the explicit structure discrete categories of the execution record to determine the exception code, including: Based on the difference of the explicit structure discrete parameters in different time domain segments, the specific record segment in the explicit structure weak discrete category execution record is identified, the code in the specific record segment is traversed and extracted to determine whether the code is abnormal, and the reference extraction granularity is adjusted to extract the code in the non-specific record segment corresponding to the extraction granularity to determine whether the code is abnormal; Or, extracting the execution record of the explicit structure strong discrete category and extracting the code in the execution record at the reference extraction granularity to determine whether the code is abnormal; Step S4, calibrating the abnormal code and issuing a prompt message for the abnormal code; In step S2, the explicit structural discrete parameters are calculated according to formula (1): , In formula (1), M represents an explicit structural discrete parameter, V represents the rate of change of the amount of data within a reference duration, V0 represents a preset reference threshold value of the rate of change of the amount of data, t represents a reference duration, N(i) represents the amount of data transmitted at the ith moment, ΔN represents the average amount of data transmitted within the reference duration, P represents the code structure similarity, G represents the context structure association coefficient, P0 represents the preset code structure similarity reference threshold value, G0 represents the preset context structure association coefficient reference threshold value, α represents the structure similarity weight coefficient, and β represents the structure association weight coefficient.
2. The method for dynamic parameter data management operation according to claim 1, It is characterized in that In step S1, the process of determining the code structure similarity includes: Determine the execution record into a plurality of record slices to determine the code features in each of the record slices; Abstracting and vectorizing each of the code features to obtain a vector of each record slice; The mean of the vector similarity between each record slice is determined as the code structure similarity.
3. The method for dynamic parameter data management operation according to claim 1, It is characterized in that In step S1, the process of determining the context structure correlation coefficient includes: The execution record is selected by moving the sliding window to obtain a plurality of execution record subsets; Determine the basic structural features of each execution record subset to calculate the difference ratio of the basic structural features between each execution record subset; The difference ratio mean was determined as the context structure association coefficient; The basic structural features include the average length of each line of code and the code repetition rate.
4. The method for dynamic parameter data management operation according to claim 3, It is characterized in that In step S2, the process of dividing the explicit structure discrete categories of the execution record includes: If the explicit structure discrete parameter is greater than or equal to a preset explicit structure discrete parameter benchmark threshold, the execution record is determined to be an explicit structure strong discrete category; If the explicit structure discrete parameter is less than a preset explicit structure discrete parameter reference threshold, the execution record is determined to be an explicit structure weak discrete category.
5. The method for dynamic parameter data management operation according to claim 1, It is characterized in that In step S3, the process of identifying the unique recording segment includes: Determine the average difference between the discrete parameters of the explicit structure corresponding to the recorded slices in the time domain segment and the recorded slices in the remaining time domain segments; If the average difference value corresponding to the record slices in the time domain segment is greater than a predetermined standard difference threshold, the record slices are identified as specific record segments.
6. The method for dynamic parameter data management operation according to claim 1, It is characterized in that Including, in the step S3, when adjusting the extraction granularity, The adjusted extraction granularity is positively correlated with the explicit structural discrete parameters.
7. The method for dynamic parameter data management operation according to claim 2, It is characterized in that The step S3 also includes verifying the code structure of the execution record of the explicit structure strong discrete category every predetermined number of extractions to determine whether the abnormal analysis method needs to be changed. include, Determine the record slice where the extracted execution code is located; Comparing the code structure similarity between the record slices; If the code structure similarity is less than a predetermined benchmark similarity evaluation threshold, it is determined that the abnormality analysis method needs to be changed; Among them, changing the abnormal analysis method includes traversing and extracting the code in the execution record of the explicit structure strong discrete category until the code structure is verified again.
8. A storage medium for storing the method according to any one of claims 1 to 7, storing a computer program, It is characterized in that The computer program is used to execute the method of dynamic parameter data management operation when being executed by a processor.
9. A device for dynamic parameter data management operation, It is characterized in that include: one or more processors; Memory; and one or more programs, The one or more programs are configured to be executed by one or more processors, and the memory includes the storage medium described in claim 8.
