A feature code analysis system and method based on data transmission

By generating and updating feature codes during the data transmission process, combined with file content editing and generation time intervals, the problem of excessive storage space occupation caused by file cache redundancy in large systems is solved, and the unique storage of files and the storage space are realized. optimization.

CN116016673BActive Publication Date: 2024-08-23SHENZHEN SHUCUN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310017444.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-06
Publication Date
2024-08-23
Estimated Expiration
2043-01-06

AI Technical Summary

Technical Problem

In large systems, excessive storage space is occupied due to redundant file caches during data transmission.

Method used

By setting a unique identification code after the data file is generated, and monitoring the content editing in real time during the data transmission process, additional codes are generated to form a feature code, which is used for analysis and comparison to determine whether the file is saved, and based on the feature code update and file generation time Duplicate file deletion is performed at intervals.

Benefits of technology

It effectively prevents the same version of files from being saved multiple times, reduces storage space usage, simplifies the intermediate process storage of file content editing, and avoids insufficient storage space.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116016673B
    Figure CN116016673B
Patent Text Reader

Abstract

The present invention proposes a feature code analysis system and method based on data transmission, the feature code analysis method includes: after the data file is generated, a unique identification code is set for the data file, and the unique identification code is identified in real time with the data file; during the data transmission process of the data file, whether the data file has been edited in real time is monitored, and an additional code is set according to the content editing operation; the unique identification code and the additional code are combined to form a feature code, and the feature code is associated with the data file; during the storage process of the data file, the feature code is analyzed and compared in real time, and according to the feature code comparison result, it is determined whether the current data file is saved during the data transmission process. The system includes modules corresponding to the steps of the method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention proposes a feature code analysis system and method based on data transmission, belonging to the technical field of data transmission. Background Art

[0002] Most systems have the need for data transmission. Currently, for large systems with multiple system nodes, during the data transmission process, as each working node runs, too many identical files will be cached in the entire system, causing redundancy in the number of file caches, which in turn leads to the problem of occupying too much storage space. Summary of the invention

[0003] The present invention provides a feature code analysis system and method based on data transmission, which is used to solve the problem that too many cache files often appear in the data transmission process in the prior art, resulting in too much storage space being occupied. The technical solution adopted is as follows:

[0004] A feature code analysis method based on data transmission, the feature code analysis method comprising:

[0005] After the data file is generated, a unique identification code is set for the data file, and the unique identification code is associated with the data file in real time;

[0006] During the data transmission process of the data file, real-time monitoring is performed to determine whether the data file has been content edited, and an additional code is set according to the content editing operation;

[0007] Combining the unique identification code and the additional code to form a feature code, and associating the feature code with the data file;

[0008] During the storage of the data file, feature code analysis and comparison are performed in real time, and according to the feature code comparison result, it is determined whether to save the current data file during the data transmission process.

[0009] Furthermore, during the data transmission process of the data file, whether the data file has been content edited is monitored in real time, and an additional code is set according to the content editing operation, including:

[0010] During the data transmission process of the data file, when the data file is transmitted to a system node, real-time monitoring is performed to determine whether the data file is opened;

[0011] When the data file is opened, whether content editing occurs after the data file is opened is monitored in real time; if content editing does not occur after the data file is opened, the unique identification code of the current file is maintained after the data file is closed, and no additional encoding is performed; if content editing occurs after the data file is opened, an additional code is generated according to the number of times the current content editing occurs.

[0012] Further, the unique identification code and the additional code are combined to form a feature code, and the feature code is combined with the data file, including:

[0013] Combining the unique identification code and the additional code to form a feature code;

[0014] When the data file is closed, the data file after content editing is saved separately to form the data file after content editing and the original file data before content editing;

[0015] Combining the feature code with the data file after content editing to form a data file with the feature code;

[0016] During the data transmission process, the feature code is updated according to the content editing status of the data file, and the updated feature code is associated with the corresponding data file after the content editing.

[0017] Furthermore, during the data transmission process, the feature code is updated according to the content editing of the data file, and the updated feature code is associated with the corresponding data file after the content editing, including:

[0018] During the data transmission process, the content editing of the data file is monitored in real time, and an additional code is added each time the content of the data file is edited;

[0019] The newly added additional code is combined with the original feature code to form an updated feature code;

[0020] After the data file being edited is closed, the data file after the content editing is saved separately to form the data file after the content editing and the original file data before the content editing;

[0021] The updated feature code is combined with the data file after content editing to form a data file with the updated feature code.

[0022] Furthermore, during the storage of the data file, feature code analysis and comparison are performed in real time, and according to the feature code comparison result, it is determined whether to save the current data file during the data transmission process, including:

[0023] Real-time determination of all corresponding storage data files of the data file in the path system through which the data is transmitted;

[0024] Each time a feature code is updated, all feature codes with the same unique identification code are compared, and data files with duplicate feature codes are retained as unique files, and duplicate data files are deleted; wherein the principle of retaining unique files and deleting duplicate data files is as follows: among the data files with duplicate feature codes, the data file with the earliest data file generation time is retained, and other data files with the same feature code are deleted.

[0025] Furthermore, the feature code analysis method further includes:

[0026] Real-time monitoring of the number of data files with the same unique identifier and different signature codes in each system node;

[0027] When the number of data files with the same unique identifier and different feature codes exceeds a preset number threshold, detecting the data file generation time interval between the data files with the same unique identifier and different feature codes; wherein the value range of the number threshold is n≥6;

[0028] The time interval threshold is set according to the data file generation time interval, wherein the time interval threshold is obtained by the following formula:

[0029]

[0030] T0=T p -0.63·(T max1 +T max2 )+0.37·(T min1 +T min2 )

[0031] Among them, T y represents the time interval threshold; T p represents the average value of the time interval; T min1 and T min2 Represent the minimum time interval and the second minimum time interval respectively; T max1 and max2 Represent the maximum time interval and the second largest time interval respectively;

[0032] Among the files whose time interval between two adjacent data files at generation time points is less than the time interval threshold, one is selectively deleted; wherein the criterion for selective deletion is: deleting the data file with an earlier data file generation time among the two adjacent data files whose time interval is less than the time interval threshold.

[0033] A feature code analysis system based on data transmission, the feature code analysis system comprising:

[0034] An identification code setting module, used to set a unique identification code for the data file after the data file is generated, and to identify the unique identification code in real time with the data file;

[0035] The additional code setting module is used to monitor in real time whether the data file has been edited during data transmission of the data file, and to set the additional code according to the content editing operation;

[0036] A combining module, used for combining the unique identification code and the additional code to form a feature code, and combining the feature code with the data file;

[0037] The saving module is used to perform feature code analysis and comparison in real time during the storage of the data file, and determine whether to save the current data file during the data transmission process according to the feature code comparison result.

[0038] Furthermore, the additional code setting module includes:

[0039] An opening monitoring module is used to monitor in real time whether the data file is opened when the data file is transmitted to a system node during the data transmission process of the data file;

[0040] The editing detection module is used to monitor in real time whether content editing occurs after the data file is opened when the data file is opened; if content editing does not occur after the data file is opened, the unique identification code of the current file is maintained after the data file is closed, and no additional encoding is performed; if content editing occurs after the data file is opened, an additional code is generated according to the number of times the current content editing occurs.

[0041] Furthermore, the combined module includes:

[0042] A feature code generation module, used for combining the unique identification code and the additional code to form a feature code;

[0043] A file splitting module, used for saving the data file after content editing separately when the data file is closed, so as to form the data file after content editing and the original file data before content editing;

[0044] A combination module, used for combining the feature code with the data file after the content is edited to form a data file with the feature code;

[0045] The update association module is used to update the feature code according to the content editing status of the data file during the data transmission process, and associate the updated feature code with the corresponding data file after the content editing.

[0046] Furthermore, the update joint module includes:

[0047] An additional code adding module is used to monitor the content editing of the data file in real time during the data transmission process, and to add an additional code each time the content of the data file is edited;

[0048] A feature code update module, used for combining the newly added additional code with the original feature code to form an updated feature code;

[0049] A save module is used to save the data file after content editing after the data file is closed, so as to form the data file after content editing and the original file data before content editing;

[0050] The file forming module is used to combine the updated feature code with the data file after content editing to form a data file with the updated feature code.

[0051] Furthermore, the storage module includes:

[0052] A real-time determination module, used for determining in real time all corresponding storage data files of the data file in the path system through which the data file passes during the data transmission process;

[0053] The comparison processing module is used to compare all feature codes with the same unique identification code every time a feature code is updated, and the data files with repeated feature codes are retained as unique files and duplicate data files are deleted; wherein the principle of the unique file retention and duplicate data file deletion processing is: among the data files with repeated feature codes, the data file with the earliest data file generation time is retained, and other data files with the same feature code are deleted.

[0054] Furthermore, the feature code analysis system further includes:

[0055] A quantity monitoring module is used to monitor in real time the number of data files with the same unique identifier and different signature codes in each system node;

[0056] An interval acquisition module, used for detecting the data file generation time interval between data files having the same unique identifier and different feature codes when the number of data files having the same unique identifier and different feature codes exceeds a preset number threshold; wherein the value range of the number threshold is n≥6;

[0057] The threshold setting module is used to set the time interval threshold according to the data file generation time interval, wherein the time interval threshold is obtained by the following formula:

[0058]

[0059] T0=T p -0.63·(T max1 +T max2 )+0.37·(T min1 +T min2 )

[0060] Among them, T y represents the time interval threshold; T p represents the average value of the time interval; T min1 and T min2 Represent the minimum time interval and the second minimum time interval respectively; T max1 and max2 Represent the maximum time interval and the second largest time interval respectively;

[0061] The deletion module is used to selectively delete one of the files whose time interval between two adjacent data files with generation time points is less than the time interval threshold; wherein the standard for selective deletion is: delete the data file with an earlier data file generation time among the two adjacent data files whose time interval is less than the time interval threshold.

[0062] Beneficial effects of the present invention:

[0063] The feature code analysis system and method based on data transmission proposed by the present invention can uniquely identify the files after each content editing process through the feature code mode formed by the combination of the unique identification code and the additional code, and the automatic saving mode of the files after each file content editing, so that each content editing file under each initial file can be uniquely saved, preventing the problem of excessive storage space occupation caused by multiple saving of the same version file as multiple files. At the same time, the storage data files after different file content editing are screened by setting the storage time interval of files with close distances, indirectly realizing the simplification of the storage of the intermediate process files of the file content editing based on the original file, further reducing the storage space occupation ratio, and preventing the problem of insufficient data storage space caused by excessive storage space occupation ratio. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 is a flow chart of the method of the present invention;

[0065] Figure 2 This is a system block diagram of the present invention. DETAILED DESCRIPTION

[0066] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0067] The embodiment of the present invention proposes a feature code analysis method based on data transmission, such as Figure 1 As shown, the feature code analysis method includes:

[0068] S1. After the data file is generated, a unique identification code is set for the data file, and the unique identification code is associated with the data file in real time;

[0069] S2. During the data transmission process of the data file, real-time monitoring is performed to determine whether the data file has been content edited, and an additional code is set according to the content editing operation;

[0070] S3, combining the unique identification code and the additional code to form a feature code, and combining the feature code with the data file;

[0071] S4. During the storage of the data file, feature code analysis and comparison are performed in real time, and according to the feature code comparison result, it is determined whether to save the current data file during the data transmission process.

[0072] The working principle of the above technical solution is: first, after the data file is generated, a unique identification code is set for the data file, and the unique identification code is identified in real time with the data file; then, during the data transmission process of the data file, it is monitored in real time whether the data file has been content edited, and an additional code is set according to the content editing operation; thereafter, the unique identification code and the additional code are combined to form a feature code, and the feature code is associated with the data file; finally, during the storage process of the data file, feature code analysis and comparison are performed in real time, and based on the feature code comparison result, it is determined whether the current data file is saved during the data transmission process.

[0073] The effect of the above technical solution is as follows: the characteristic code analysis method based on data transmission proposed in this embodiment can uniquely identify the files after each content editing process through the characteristic code method formed by the combination of the unique identification code and the additional code, and the automatic saving method after each file content editing, so that each content editing file under each initial file can be uniquely saved, preventing the problem of excessive storage space occupation caused by multiple saving of the same version file as multiple files. At the same time, the stored data files after different file content editing are screened by setting the storage time interval of files with close distances, indirectly realizing the simplification of the storage of the intermediate process files of the file content editing based on the original file, further reducing the storage space occupation ratio, and preventing the problem of insufficient data storage space caused by excessive storage space occupation ratio.

[0074] In one embodiment of the present invention, during the data transmission process of the data file, whether the data file has been content edited is monitored in real time, and an additional code is set according to the content editing operation, including:

[0075] S201, during the data file data transmission process, when the data file is transmitted to a system node, real-time monitoring of whether the data file is opened;

[0076] S202. When the data file is opened, monitor in real time whether content editing occurs after the data file is opened; if content editing does not occur after the data file is opened, maintain the unique identification code of the current file after the data file is closed, and no additional encoding is performed; if content editing occurs after the data file is opened, generate an additional code according to the number of times the current content editing occurs.

[0077] The working principle of the above technical solution is: first, during the data transmission process of the data file, when the data file is transmitted to a system node, it is monitored in real time whether the data file is opened; then, when the data file is opened, it is monitored in real time whether content editing occurs after the data file is opened; if content editing does not occur after the data file is opened, the unique identification code of the current file is maintained after the data file is closed, and no additional encoding is performed; if content editing occurs after the data file is opened, an additional code is generated according to the number of times the current content editing occurs.

[0078] The effect of the above technical solution is that the above method can effectively improve the efficiency and accuracy of file content editing judgment. At the same time, the unique identification code and the additional code can be used to uniquely identify and distinguish the files generated by each file content editing, thereby improving the unique identification of the files corresponding to the content editing.

[0079] In one embodiment of the present invention, the unique identification code and the additional code are combined to form a feature code, and the feature code is combined with the data file, including:

[0080] S301, combining the unique identification code and the additional code to form a feature code;

[0081] S302, when the data file is closed, the data file after content editing is saved separately to form the data file after content editing and the original file data before content editing;

[0082] S303, combining the feature code with the data file after content editing to form a data file with the feature code;

[0083] S304: During the data transmission process, the feature code is updated according to the content editing of the data file, and the updated feature code is associated with the corresponding data file after the content editing.

[0084] The working principle of the above technical solution is: first, the unique identification code and the additional code are combined to form a feature code; then, when the data file is closed, the data file after content editing is saved separately to form the data file after content editing and the original file data before content compilation; then, the feature code is combined with the data file after content editing to form a data file with a feature code; finally, during the data transmission process, the feature code is updated according to the content editing status of the data file, and the updated feature code is combined with its corresponding data file after content editing.

[0085] The effect of the above technical solution is that the above method can effectively improve the efficiency and accuracy of file content editing judgment. At the same time, the unique identification code and the additional code can be used to uniquely identify and distinguish the files generated by each file content editing, thereby improving the unique identification of the files corresponding to the content editing.

[0086] In one embodiment of the present invention, during the data transmission process, the feature code is updated according to the content editing status of the data file, and the updated feature code is associated with the corresponding data file after the content editing, including:

[0087] S3041. During the data transmission process, the content editing of the data file is monitored in real time, and an additional code is added each time the content of the data file is edited;

[0088] S3042, combining the newly added additional code with the original feature code to form an updated feature code;

[0089] S3043, after the data file for content editing is closed, the data file after content editing is saved separately to form the data file after content editing and the original file data before content editing;

[0090] S3044: Combine the updated feature code with the data file after content editing to form a data file with the updated feature code.

[0091] The working principle of the above technical solution is: first, during the data transmission process, the content editing status of the data file is monitored in real time, and an additional code is added each time the content of the data file is edited; then, the newly added additional code is combined with the original feature code to form an updated feature code; then, after the data file with content editing is closed, the data file with content editing is saved separately to form the data file with content editing and the original file data before content compilation; finally, the updated feature code is combined with the data file with content editing to form a data file with an updated feature code.

[0092] The effect of the above technical solution is: the above method can effectively improve the efficiency and accuracy of file content editing judgment. At the same time, the file entity and unique identification of each file content editing can be distinguished by the unique identification code and the additional code combined with the automatic file saving method, thereby improving the unique identification of the file corresponding to the content editing. On the other hand, the corresponding user can obtain the unique file corresponding to each content editing, effectively preventing the problem of file storage confusion.

[0093] In one embodiment of the present invention, during the storage process of the data file, feature code analysis and comparison are performed in real time, and according to the feature code comparison result, whether to save the current data file during the data transmission process is determined, including:

[0094] S401, determining in real time all corresponding storage data files of the data file in the path system through which the data transmission process passes;

[0095] S402. Each time a feature code is updated, all feature codes with the same unique identification code are compared, and data files with duplicate feature codes are retained as unique files and duplicate data files are deleted; wherein the principle of retaining unique files and deleting duplicate data files is as follows: among data files with duplicate feature codes, the data file with the earliest data file generation time is retained, and other data files with the same feature code are deleted.

[0096] The working principle of the above technical solution is: first, all corresponding storage data files of the data file in the path system passed by the data transmission process are judged in real time; then, every time the feature code is updated, all feature codes with the same unique identification code are compared, and the data files with repeated feature codes are retained as unique files, and the duplicate data files are deleted; wherein, the principle of the unique file retention and duplicate data file deletion is: among the data files with repeated feature codes, the data file with the earliest data file generation time is retained, and other data files with the same feature code are deleted.

[0097] The effect of the above technical solution is: by setting the storage time interval of files with close distances, the stored data files after editing of different file contents are screened, thereby indirectly realizing the simplification of the storage of intermediate process files based on the file content editing of the original file, further reducing the storage space occupancy ratio, and preventing the problem of insufficient data storage space due to excessive storage space occupancy.

[0098] In one embodiment of the present invention, the feature code analysis method further includes:

[0099] Step 1: Real-time monitoring of the number of data files with the same unique identifier and different signature codes in each system node;

[0100] Step 2: when the number of data files having the same unique identifier and different feature codes exceeds a preset number threshold, detecting the data file generation time interval between the data files having the same unique identifier and different feature codes; wherein the value range of the number threshold is n≥6;

[0101] Step 3: Set a time interval threshold according to the data file generation time interval, wherein the time interval threshold is obtained by the following formula:

[0102]

[0103] T0=T p -0.63·(T max1 +T max2 )+0.37·(T min1 +T min2 )

[0104] Among them, T y represents the time interval threshold; T p represents the average value of the time interval; T min1 and T min2 Represent the minimum time interval and the second minimum time interval respectively; T max1 and max2 Represent the maximum time interval and the second largest time interval respectively;

[0105] Step 4: Deleting one of the two adjacent data files whose time interval between the data file generation time points is less than the time interval threshold; wherein the criterion for deleting one is: deleting the data file with the earlier data file generation time among the two adjacent data files whose time interval is less than the time interval threshold.

[0106] The working principle of the above technical solution is: first, monitor in real time the number of data files with the same unique identifier and different feature codes in each system node; then, when the number of data files with the same unique identifier and different feature codes exceeds a preset number threshold, detect the data file generation time interval between the data files with the same unique identifier and different feature codes; wherein the value range of the number threshold is n≥6; then, set the time interval threshold according to the data file generation time interval; finally, select and delete one of the files whose time interval between two data files with adjacent data file generation time points is less than the time interval threshold; wherein the criterion for selective deletion is: delete the data file with an earlier data file generation time among the two adjacent data files whose time interval is less than the time interval threshold.

[0107] The effect of the above technical solution is: by setting the storage time interval of files with close distances, the stored data files after editing of different file contents are screened, thereby indirectly realizing the simplification of the storage of intermediate process files based on the file content editing of the original file, further reducing the storage space occupancy ratio, and preventing the problem of insufficient data storage space due to excessive storage space occupancy.

[0108] At the same time, the time interval obtained through the above method and formula can effectively improve the rationality of the time interval setting and the accuracy of the screening and judgment of file deletion, and prevent the problem of too many intermediate files being deleted due to the time interval being set too short, resulting in the deletion of important files. At the same time, it can also prevent the problem of the time interval being set too long, resulting in the inability to effectively delete the intermediate files, and then resulting in the inability to effectively reduce the storage space occupancy.

[0109] The embodiment of the present invention proposes a feature code analysis system based on data transmission, such as Figure 2 As shown, the feature code analysis system includes:

[0110] An identification code setting module, used to set a unique identification code for the data file after the data file is generated, and to identify the unique identification code in real time with the data file;

[0111] The additional code setting module is used to monitor in real time whether the data file has been edited during data transmission of the data file, and to set the additional code according to the content editing operation;

[0112] A combining module, used for combining the unique identification code and the additional code to form a feature code, and combining the feature code with the data file;

[0113] The saving module is used to perform feature code analysis and comparison in real time during the storage of the data file, and determine whether to save the current data file during the data transmission process according to the feature code comparison result.

[0114] The working principle of the above technical solution is: first, after the data file is generated, a unique identification code is set for the data file through the identification code setting module, and the unique identification code is identified in real time with the data file; then, during the data transmission process of the data file, the additional code setting module is used to monitor in real time whether the data file has been content edited, and the additional code is set according to the content editing operation; then, the unique identification code and the additional code are combined by the combination module to form a feature code, and the feature code is associated with the data file; finally, during the storage process of the data file, the saving module is used to analyze and compare the feature codes in real time, and according to the feature code comparison result, it is determined whether the current data file is saved during the data transmission process.

[0115] The effect of the above technical solution is as follows: the characteristic code analysis system based on data transmission proposed in this embodiment forms a characteristic code method through a combination of a unique identification code and an additional code, and a method of automatically saving files after each file content editing. It can uniquely identify the files after each content editing process, so that each content editing file under each initial file can be uniquely saved, preventing the same version of the file from being saved as multiple files multiple times, resulting in excessive storage space occupation. At the same time, by setting the storage time interval of files with close distances, the stored data files after different file content editing are screened, indirectly realizing the simplification of the storage of the intermediate process files of the file content editing based on the original file, further reducing the storage space occupation ratio, and preventing the problem of insufficient data storage space due to excessive storage space occupation.

[0116] In one embodiment of the present invention, the additional code setting module includes:

[0117] An opening monitoring module is used to monitor in real time whether the data file is opened when the data file is transmitted to a system node during the data transmission process of the data file;

[0118] The editing detection module is used to monitor in real time whether content editing occurs after the data file is opened when the data file is opened; if content editing does not occur after the data file is opened, the unique identification code of the current file is maintained after the data file is closed, and no additional encoding is performed; if content editing occurs after the data file is opened, an additional code is generated according to the number of times the current content editing occurs.

[0119] The working principle of the above technical solution is: first, by opening the monitoring module during the data transmission process of the data file, when the data file is transmitted to a system node, it is monitored in real time whether the data file is opened; then, using the editing detection module when the data file is opened, it is monitored in real time whether content editing occurs after the data file is opened; if content editing does not occur after the data file is opened, the unique identification code of the current file is maintained after the data file is closed, and no additional encoding is performed; if content editing occurs after the data file is opened, an additional code is generated according to the number of times the current content editing occurs.

[0120] The effect of the above technical solution is that the above method can effectively improve the efficiency and accuracy of file content editing judgment. At the same time, the unique identification code and the additional code can be used to uniquely identify and distinguish the files generated by each file content editing, thereby improving the unique identification of the files corresponding to the content editing.

[0121] In one embodiment of the present invention, the combined module comprises:

[0122] A feature code generation module, used for combining the unique identification code and the additional code to form a feature code;

[0123] A file splitting module, used for saving the data file after content editing separately when the data file is closed, so as to form the data file after content editing and the original file data before content editing;

[0124] A combination module, used for combining the feature code with the data file after the content is edited to form a data file with the feature code;

[0125] The update association module is used to update the feature code according to the content editing status of the data file during the data transmission process, and associate the updated feature code with the corresponding data file after the content editing.

[0126] The working principle of the above technical solution is: first, the unique identification code and the additional code are combined by the feature code generation module to form a feature code; then, when the data file is closed, the data file after content editing is saved separately by the file splitting module to form the data file after content editing and the original file data before content editing;

[0127] The combination module is used to combine the feature code with the data file after content editing to form a data file with the feature code; finally, the update combination module is used to update the feature code according to the content editing status of the data file during data transmission, and the updated feature code is combined with the corresponding data file after content editing.

[0128] The effect of the above technical solution is that the above method can effectively improve the efficiency and accuracy of file content editing judgment. At the same time, the unique identification code and the additional code can be used to uniquely identify and distinguish the files generated by each file content editing, thereby improving the unique identification of the files corresponding to the content editing.

[0129] In one embodiment of the present invention, the update joint module includes:

[0130] An additional code adding module is used to monitor the content editing of the data file in real time during the data transmission process, and to add an additional code each time the content of the data file is edited;

[0131] A feature code update module, used for combining the newly added additional code with the original feature code to form an updated feature code;

[0132] A save module is used to save the data file after content editing after the data file is closed, so as to form the data file after content editing and the original file data before content editing;

[0133] The file forming module is used to combine the updated feature code with the data file after content editing to form a data file with the updated feature code.

[0134] The working principle of the above technical solution is: first, the content editing status of the data file is monitored in real time during the data transmission process through the additional code adding module, and an additional code is added each time the content of the data file is edited; then, the newly added additional code is combined with the original feature code by using the feature code updating module to form an updated feature code; thereafter, the data file after the content editing is closed by using the save module to save the data file after the content editing is completed, so as to form the data file after the content editing and the original file data before the content is compiled; finally, the updated feature code is combined with the data file after the content editing by using the file forming module to form a data file with an updated feature code.

[0135] The effect of the above technical solution is: the above method can effectively improve the efficiency and accuracy of file content editing judgment. At the same time, the file entity and unique identification of each file content editing can be distinguished by the unique identification code and the additional code combined with the automatic file saving method, thereby improving the unique identification of the file corresponding to the content editing. On the other hand, the corresponding user can obtain the unique file corresponding to each content editing, effectively preventing the problem of file storage confusion.

[0136] In one embodiment of the present invention, the storage module includes:

[0137] A real-time determination module, used for determining in real time all corresponding storage data files of the data file in the path system through which the data file passes during the data transmission process;

[0138] The comparison processing module is used to compare all feature codes with the same unique identification code every time a feature code is updated, and the data files with repeated feature codes are retained as unique files and duplicate data files are deleted; wherein the principle of the unique file retention and duplicate data file deletion processing is: among the data files with repeated feature codes, the data file with the earliest data file generation time is retained, and other data files with the same feature code are deleted.

[0139] The working principle of the above technical solution is: first, a real-time judgment module is used to judge in real time all corresponding storage data files of the data file in the path system passed by the data transmission process; then, a comparison processing module is used to compare all feature codes with the same unique identification code every time a feature code is updated, and data files with repeated feature codes are retained as unique files and duplicate data files are deleted; wherein, the principle of the unique file retention and duplicate data file deletion processing is: among the data files with repeated feature codes, the data file with the earliest data file generation time is retained, and other data files with the same feature code are deleted.

[0140] The effect of the above technical solution is: by setting the storage time interval of files with close distances, the stored data files after editing of different file contents are screened, thereby indirectly realizing the simplification of the storage of intermediate process files based on the file content editing of the original file, further reducing the storage space occupancy ratio, and preventing the problem of insufficient data storage space due to excessive storage space occupancy.

[0141] In one embodiment of the present invention, the feature code analysis system further includes:

[0142] A quantity monitoring module is used to monitor in real time the number of data files with the same unique identifier and different signature codes in each system node;

[0143] An interval acquisition module, used for detecting the data file generation time interval between data files having the same unique identifier and different feature codes when the number of data files having the same unique identifier and different feature codes exceeds a preset number threshold; wherein the value range of the number threshold is n≥6;

[0144] The threshold setting module is used to set the time interval threshold according to the data file generation time interval, wherein the time interval threshold is obtained by the following formula:

[0145]

[0146] T0=T p -0.63·(T max1 +T max2 )+0.37·(T min1 +T min2 )

[0147] Among them, T y represents the time interval threshold; T p represents the average value of the time interval; T min1 and T min2 Represent the minimum time interval and the second minimum time interval respectively; T max1 and max2 Represent the maximum time interval and the second largest time interval respectively;

[0148] The deletion module is used to selectively delete one of the files whose time interval between two adjacent data files with generation time points is less than the time interval threshold; wherein the standard for selective deletion is: delete the data file with an earlier data file generation time among the two adjacent data files whose time interval is less than the time interval threshold.

[0149] The working principle of the above technical solution is: using a quantity monitoring module to monitor in real time the number of data files with the same unique identifier and different feature codes in each system node; then, using an interval acquisition module to detect the data file generation time interval between data files with the same unique identifier and different feature codes when the number of data files with the same unique identifier and different feature codes exceeds a preset quantity threshold; wherein the value range of the quantity threshold is n≥6; using a threshold setting module to set a time interval threshold according to the data file generation time interval; finally, using a deletion module to selectively delete one of the files whose time interval between two data files adjacent to the data file generation time point is less than the time interval threshold; wherein the criterion for selective deletion is: deleting the data file with an earlier data file generation time among the two adjacent data files whose time interval is less than the time interval threshold.

[0150] The effect of the above technical solution is: by setting the storage time interval of files with close distances, the stored data files after editing of different file contents are screened, thereby indirectly realizing the simplification of the storage of intermediate process files based on the file content editing of the original file, further reducing the storage space occupancy ratio, and preventing the problem of insufficient data storage space due to excessive storage space occupancy.

[0151] At the same time, the time interval obtained through the above method and formula can effectively improve the rationality of the time interval setting and the accuracy of the screening and judgment of file deletion, and prevent the problem of too many intermediate files being deleted due to the time interval being set too short, resulting in the deletion of important files. At the same time, it can also prevent the problem of the time interval being set too long, resulting in the inability to effectively delete the intermediate files, and then resulting in the inability to effectively reduce the storage space occupancy.

[0152] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A feature code analysis method based on data transmission, characterized in that: The feature code analysis method comprises: After the data file is generated, a unique identification code is set for the data file, and the unique identification code is associated with the data file in real time; During the data transmission process of the data file, real-time monitoring is performed to determine whether the data file has been content edited, and an additional code is set according to the content editing operation; Combining the unique identification code and the additional code to form a feature code, and associating the feature code with the data file; During the storage of the data file, feature code analysis and comparison are performed in real time, and according to the feature code comparison result, it is determined whether to save the current data file during the data transmission process; During the data transmission process of the data file, real-time monitoring of whether the data file has been content edited, and setting an additional code according to the content editing operation, include: During the data transmission process of the data file, when the data file is transmitted to a system node, real-time monitoring is performed to determine whether the data file is opened; When the data file is opened, whether content editing occurs after the data file is opened is monitored in real time; if content editing does not occur after the data file is opened, the unique identification code of the current file is kept after the data file is closed, and no additional encoding is performed; if content editing occurs after the data file is opened, an additional code is generated according to the number of times the current content editing occurs; The combining the unique identification code and the additional code to form a feature code, and associating the feature code with the data file, comprises: Combining the unique identification code and the additional code to form a feature code; When the data file is closed, the data file after content editing is saved separately to form the data file after content editing and the original file data before content editing; Combining the feature code with the data file after content editing to form a data file with the feature code; During the data transmission process, the feature code is updated according to the content editing of the data file, and the updated feature code is associated with the corresponding data file after the content editing; In the data transmission process, the feature code is updated according to the content editing of the data file, and the updated feature code is associated with the corresponding data file after the content editing, including: During the data transmission process, the content editing of the data file is monitored in real time, and an additional code is added each time the content of the data file is edited; The newly added additional code is combined with the original feature code to form an updated feature code; After the data file being edited is closed, the data file after the content editing is saved separately to form the data file after the content editing and the original file data before the content editing; Combining the updated feature code with the data file after content editing to form a data file with the updated feature code; In the process of storing the data file, performing feature code analysis and comparison in real time, and determining whether to save the current data file during the data transmission process according to the feature code comparison result, including: Real-time determination of all corresponding storage data files of the data file in the path system through which the data is transmitted; Each time a feature code is updated, all feature codes with the same unique identification code are compared, and data files with duplicate feature codes are retained as unique files, and duplicate data files are deleted; wherein the principle of retaining unique files and deleting duplicate data files is as follows: among the data files with duplicate feature codes, the data file with the earliest data file generation time is retained, and other data files with the same feature code are deleted.

2. A feature code analysis system based on data transmission, characterized in that: The feature code analysis system comprises: An identification code setting module, used to set a unique identification code for the data file after the data file is generated, and to identify the unique identification code in real time with the data file; The additional code setting module is used to monitor in real time whether the data file has been edited during data transmission of the data file, and to set the additional code according to the content editing operation; A combining module, used for combining the unique identification code and the additional code to form a feature code, and combining the feature code with the data file; A saving module, used for performing feature code analysis and comparison in real time during the storage of the data file, and determining whether to save the current data file during the data transmission process according to the feature code comparison result; The additional code setting module includes: An opening monitoring module is used to monitor in real time whether the data file is opened when the data file is transmitted to a system node during the data transmission process of the data file; The editing detection module is used to monitor in real time whether content editing occurs after the data file is opened when the data file is opened; if content editing does not occur after the data file is opened, the unique identification code of the current file is kept after the data file is closed without additional encoding; if content editing occurs after the data file is opened, an additional code is generated according to the number of times the current content editing occurs; The combined module comprises: A feature code generation module, used for combining the unique identification code and the additional code to form a feature code; A file splitting module, used for saving the data file after content editing separately when the data file is closed, so as to form the data file after content editing and the original file data before content editing; A combination module, used for combining the feature code with the data file after the content is edited to form a data file with the feature code; An update and association module, used for updating the feature code according to the content editing of the data file during the data transmission process, and associating the updated feature code with the corresponding data file after the content editing; The update joint module includes: An additional code adding module is used to monitor the content editing of the data file in real time during the data transmission process, and to add an additional code each time the content of the data file is edited; A feature code update module, used for combining the newly added additional code with the original feature code to form an updated feature code; A save module is used to save the data file after content editing after the data file is closed, so as to form the data file after content editing and the original file data before content editing; A file forming module, used for combining the updated feature code with the data file after content editing to form a data file with the updated feature code; The storage module comprises: A real-time determination module, used for determining in real time all corresponding storage data files of the data file in the path system through which the data file passes during the data transmission process; The comparison processing module is used to compare all feature codes with the same unique identification code every time a feature code is updated, and the data files with repeated feature codes are retained as unique files and duplicate data files are deleted; wherein the principle of the unique file retention and duplicate data file deletion processing is: among the data files with repeated feature codes, the data file with the earliest data file generation time is retained, and other data files with the same feature code are deleted.