A mobile storage medium storage file virus isolation system
By designing virus detection and transfer modules in mobile storage media, combining file characteristics and path probability calculation, effective isolation of virus files is achieved, solving the problem of virus infection in mobile storage media, and ensuring safe storage and transfer of files.
Patent Information
- Application Number
- CN202311167208.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-11
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2043-09-11
AI Technical Summary
There is a lack of security software in the mobile storage media, which cannot effectively find and isolate virus files, resulting in the stored files being easily infected by viruses, causing security risks.
Design a mobile storage medium to store files virus isolation system, including virus detection module, framework determination module, probability determination module and file transfer module, virus detection through file feature matching, storage location and isolation area, and calculation of the probability of success of the transfer path , and set up a firewall on unsafe paths to transfer virus files to quarantine.
Improve virus detection efficiency, ensure safe storage of files, and use a dedicated firewall to separate unsafe paths, realizing the secure transfer of files to the isolation area, ensuring the security of files in the storage medium.
Smart Images

Figure CN117407873B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of virus isolation, and in particular to a mobile storage medium storage file virus isolation system. Background Art
[0002] As the frequency of use of mobile storage media gradually increases, security issues are also becoming more frequent. This is mainly because there is no security software installed in the mobile storage media, which makes it impossible to effectively find and isolate virus files and ensure the security of files stored in the mobile storage media. As a result, when the mobile storage media is used, the stored files are easily infected by viruses, causing damage to files and devices, and posing a security risk to the stored data.
[0003] Therefore, the present invention provides a mobile storage medium storage file virus isolation system. Summary of the invention
[0004] The present invention provides a virus isolation system for files stored in a mobile storage medium, which is used for performing virus detection in a suitable manner by matching virus features to improve detection efficiency, ensures successful file transfer by setting a firewall on an inappropriate transfer path, and isolates the viruses of stored files by transferring virus files to corresponding isolation areas, thereby ensuring the safety of files stored in the storage medium.
[0005] The present invention provides a mobile storage medium storage file virus isolation system, comprising:
[0006] Virus detection module: used to obtain file features of files stored in the mobile storage medium, and perform detection based on the file features matching the virus detection method, and then determine the virus status of each stored file based on the detection results;
[0007] Framework determination module: used to determine the storage location of each stored file in the same virus state, and at the same time, determine the file isolation area in the same virus state;
[0008] According to the storage location and file quarantine area, a file transfer path framework with the same virus status is constructed;
[0009] Probability determination module: used to perform virus scanning on each transfer path in each file transfer path framework, and determine the transfer success probability corresponding to each transfer path in combination with the frequency of transfer to be performed on each transfer section of each transfer path;
[0010] File transfer module: used to keep unchanged the path whose transfer success probability is higher than the preset probability, and at the same time, set up a dedicated firewall and update the path for the transfer path whose transfer success probability is not higher than the preset probability;
[0011] Based on the last path, the files with corresponding virus status are transferred to the corresponding file quarantine area.
[0012] Preferably, the virus detection module includes:
[0013] A feature acquisition unit is used to acquire the file type of the file stored in the mobile storage medium, and determine the first sub-file feature of the stored file using a type-feature mapping table;
[0014] Acquire a file attribute of a file stored in a mobile storage medium, and determine a second sub-file feature of the stored file based on an attribute-feature mapping table;
[0015] Acquire the file size of the file stored in the mobile storage medium, and determine the third sub-file feature of the stored file based on the size-feature mapping table;
[0016] Feature determination unit: used for combining the first sub-file feature, the second sub-file feature and the third sub-file feature of the same storage file to obtain the file feature of the corresponding storage file.
[0017] Preferably, the virus detection module includes:
[0018] Virus detection unit: used for matching the file feature, the first sub-file feature, the second sub-file feature and the third sub-file feature of the same storage file with the feature-detection mapping table respectively, and obtaining the virus detection method of each feature;
[0019] The status determination unit is used to detect the same storage file based on the virus detection method, and to perform a comprehensive analysis on the detection results to determine the virus status of the corresponding storage file.
[0020] Preferably, the framework determination module includes:
[0021] Location tracing unit: used to trace the file source of the mobile storage medium and determine the storage location of each stored file;
[0022] Isolation area determination unit: used to obtain the file features of each storage file involved in the same virus state, and perform feature area mapping to determine the file isolation area in the same virus state;
[0023] A set determining unit: used for determining a path set of corresponding storage files based on the storage location of each storage file with the same virus status and the file isolation area of the corresponding virus status;
[0024] Path framework unit: used to construct a file transfer path framework with the same virus status based on the starting point, end point and coverage area of each path in the path set.
[0025] Preferably, the probability determination module includes:
[0026] Frequency determination unit: used to determine the number of reachable forks and the number of unreachable forks of each transfer node in each transfer path in the file transfer path framework under the same virus state, and set the frequency to be transferred to the corresponding transfer section in combination with the virus scanning result of each transfer section in the corresponding transfer path;
[0027] A parallel construction acquisition unit is used for performing parallel processing on all file transfer path structures to obtain a parallel structure, and setting a transfer set to each first section in the parallel structure;
[0028] A value calculation unit: used for determining the number of segmentation of the corresponding transfer section under the same virus state according to the AND framework, and calculating the section congestion value of the corresponding transfer section;
[0029]
[0030] Among them, D1 represents the frequency of pending transfer set to the corresponding transfer section; YD represents the full transfer frequency of the corresponding transfer section; n1 represents the number of divisions of the corresponding transfer section; L1 i represents the length L1 of the i-th first segment after the corresponding transfer segment is divided i ; Indicates the total length of the corresponding transfer section; x0 i represents the coverage information amount of the i-th first road section after the corresponding transfer road section is divided; Represents the total coverage information of the corresponding transfer section; y1 i,j represents the average transfer path damage coefficient of the jth virus state under the transfer set corresponding to the i-th first section; y0 i,j,max represents the historical maximum transfer path damage coefficient of the jth virus state under the transfer set corresponding to the i-th first road section; Y represents the road section congestion value of the corresponding transfer path;
[0031] A road section probability determination unit is used to determine the probability of a road section being blocked when the road section congestion value is greater than a corresponding preset value. As the probability of success of the road segment;
[0032] Otherwise, As the success probability of the road section, where Y is the corresponding preset value;
[0033] Path probability determination unit: used to obtain the transfer success rate of the corresponding transfer path based on the section success rate of the transfer section involved in each transfer path under the same virus state.
[0034] Preferably, the frequency determination unit comprises:
[0035]
[0036] Among them, N1 represents the total number of reachable forks of all transfer nodes in the corresponding transfer section; N2 represents the total number of unreachable forks of all transfer nodes in the corresponding transfer section; ceiling represents the rounding up symbol; N3 represents the number of valid connection nodes between the transfer node and the next adjacent node in the corresponding transfer section determined based on the virus scanning result; P1 represents the transfer destruction coefficient of the corresponding transfer section determined based on the virus scanning result under the corresponding virus state.
[0037] Preferably, the file transfer module includes:
[0038] Extraction unit: used for extracting the overlapping first path and the independent second path from the transfer paths whose transfer success probability is not higher than the preset probability after all the file transfer frames are overlapped and placed;
[0039] A first retrieving unit: configured to retrieve the relevant first firewall from the security database to cover the corresponding first path according to the virus involvement of each first path and the minimum transfer frequency of the involved virus;
[0040] The second retrieving unit is used to retrieve the relevant second firewall from the security database according to the virus type and the frequency to be transferred of each second path, so as to cover the corresponding second path.
[0041] Preferably, the file transfer module includes:
[0042] Probability updating unit: used for updating the path of the transfer section where the dedicated firewall is set, and recalculating the transfer success probability of each transfer path under the same virus state after the update;
[0043] If the transfer success probability of the transfer path after the path update is higher than the preset probability, the updated path is retained;
[0044] Otherwise, re-set the firewall to the corresponding transfer path and update the path until the transfer success probability of the corresponding transfer path is higher than the preset probability;
[0045] File transfer unit: used to transfer the corresponding virus files to the corresponding file isolation area based on the updated path.
[0046] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0047] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0049] Figure 1 This is a structural diagram of a mobile storage medium storage file virus isolation system in an embodiment of the present invention;
[0050] Figure 2 This is a structural diagram of file isolation areas in different virus states in an embodiment of the present invention;
[0051] Figure 3 This is a diagram of the file transfer path architecture in the same virus state in an embodiment of the present invention. DETAILED DESCRIPTION
[0052] 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.
[0053] The embodiment of the present invention provides a mobile storage medium storage file virus isolation system, such as Figure 1 As shown, including:
[0054] Virus detection module: used to obtain file features of files stored in the mobile storage medium, and perform detection based on the file features matching the virus detection method, and then determine the virus status of each stored file based on the detection results;
[0055] Framework determination module: used to determine the storage location of each stored file in the same virus state, and at the same time, determine the file isolation area in the same virus state;
[0056] According to the storage location and file quarantine area, a file transfer path framework with the same virus status is constructed;
[0057] Probability determination module: used to perform virus scanning on each transfer path in each file transfer path framework, and determine the transfer success probability corresponding to each transfer path in combination with the frequency of transfer to be performed on each transfer section of each transfer path;
[0058] File transfer module: used to keep unchanged the path whose transfer success probability is higher than the preset probability, and at the same time, set up a dedicated firewall and update the path for the transfer path whose transfer success probability is not higher than the preset probability;
[0059] Based on the last path, the files with corresponding virus status are transferred to the corresponding file quarantine area.
[0060] In this embodiment, the mobile storage medium is a non-fixed storage device, which is a carrier for data storage. There are different types of storage media and different device forms, such as a mobile hard disk, a USB flash drive, a recordable optical disk, MP3, MP4, etc.
[0061] In this embodiment, file features are used to classify different files, including file attributes, file types, file sizes, etc. In this embodiment, there are many ways to analyze whether a file is a virus, and virus detection methods correspond to file features one by one, for example, file feature 1 corresponds to virus detection method 1.
[0062] In this embodiment, the detection result refers to whether each detected file contains a virus, and the type of the virus that exists.
[0063] In this embodiment, the virus status refers to classifying each detected file according to the detection result to obtain the virus status.
[0064] In this embodiment, the storage location refers to the storage directory information of each file, which is used to find the file. For example, if file 1 is in folder A of the mobile storage medium, the storage location of file 1 is folder A.
[0065] In this embodiment, the file quarantine area is set according to different virus states. For example, virus state A corresponds to file quarantine area A, and virus state B corresponds to file quarantine area B. Virus state A indicates the presence of type 1 virus, and virus state B indicates the presence of type 2 virus. Figure 2 shown.
[0066] In this embodiment, the transfer path framework includes all transfer paths of all files of the same virus type, and is obtained by combining each transfer path.
[0067] In this embodiment, the transfer path refers to a corresponding path for transferring files to a corresponding file isolation area.
[0068] In this embodiment, virus scanning refers to a comprehensive scan of each file to further obtain the virus status of each file.
[0069] In this embodiment, the frequency of transfer refers to the number of files to be transferred that need to be passed on the corresponding path. For example, file 1, file 2, and file 3 all need to pass through path A, and the frequency of transfer of path A is 3 times.
[0070] In this embodiment, the transfer success probability of the transfer path refers to the probability that the transfer path can successfully transfer the file to be transferred to the corresponding file isolation area without being infected by a virus during the transfer.
[0071] In this embodiment, the dedicated firewall refers to a dedicated firewall on each transfer section for specific files to be transferred with a relatively low probability of successful transfer, and the dedicated firewall will not affect the passage of other files.
[0072] In this embodiment, path updating refers to updating a path with a lower transfer success probability. For example, if the transfer success probability of path A is 0.9 and is lower than the preset probability, and the transfer success probability of path B is 0.95, path A is updated to path B.
[0073] In this embodiment, the last path refers to the corresponding path where the corresponding file is transferred to the file isolation area.
[0074] The beneficial effects of the above technical solution are: determining the appropriate virus detection method through the file characteristics of the stored files improves the file detection efficiency of the stored files, storing each file in a suitable file isolation area according to different virus statuses, ensuring the safe storage of files with different virus statuses, and ensuring that each file can be safely transferred to a suitable file isolation area through the calculation of the probability of file transfer paths, and achieving the isolation of unsafe paths through a dedicated firewall.
[0075] The embodiment of the present invention provides a mobile storage medium storage file virus isolation system, a virus detection module, including:
[0076] A feature acquisition unit is used to acquire the file type of the file stored in the mobile storage medium, and determine the first sub-file feature of the stored file using a type-feature mapping table;
[0077] Acquire a file attribute of a file stored in a mobile storage medium, and determine a second sub-file feature of the stored file based on an attribute-feature mapping table;
[0078] Acquire the file size of the file stored in the mobile storage medium, and determine the third sub-file feature of the stored file based on the size-feature mapping table;
[0079] Feature determination unit: used for combining the first sub-file feature, the second sub-file feature and the third sub-file feature of the same storage file to obtain the file feature of the corresponding storage file.
[0080] In this embodiment, the first sub-file feature is related to the file type of the stored file and is determined by a type-feature mapping table, and the file type in the type-feature mapping table corresponds one-to-one to the first sub-file feature. For example, the file type of file 1 is a video type, and the first sub-file feature of the video type is feature 1, then the first sub-file feature of file 1 is feature 1.
[0081] In this embodiment, the second sub-file feature is related to the file attributes of the stored file, and the file attributes in the attribute-feature mapping table correspond one-to-one to the second sub-file feature. For example, if the file type of file 1 is a read-only type, and the second sub-file feature of the read-only type is feature 2, then the second sub-file feature of file 1 is feature 2.
[0082] In this embodiment, the third sub-file feature is related to the file size of the stored file, and each file size range in the size-feature mapping table corresponds to a third sub-file feature. For example, the file size of file 1 is 1.5G, and the third sub-file feature of the file size 1G-2G is feature 1, then the third sub-file feature of file 1 is feature 1.
[0083] In this embodiment, feature combination refers to combining the first sub-file feature, the second sub-file feature and the third sub-file feature of each file to obtain the file feature of the corresponding storage file. For example, the file feature of file 1 is "feature 1-feature 2-feature 1".
[0084] The beneficial effect of the above technical solution is: by arranging and combining different types of file features of each stored file to obtain the file features of each stored file, it is possible to effectively arrange the features of different types of files, so that the file features can effectively reflect the file characteristics of each file, and provide strong support for the subsequent matching of virus detection methods.
[0085] The embodiment of the present invention provides a mobile storage medium storage file virus isolation system, a virus detection module, including:
[0086] Virus detection unit: used for matching the file feature, the first sub-file feature, the second sub-file feature and the third sub-file feature of the same storage file with the feature-detection mapping table respectively, and obtaining the virus detection method of each feature;
[0087] The status determination unit is used to detect the same storage file based on the virus detection method, and to perform a comprehensive analysis on the detection results to determine the virus status of the corresponding storage file.
[0088] In this embodiment, the feature-detection mapping table is used to select an appropriate virus detection method based on the file features of each storage file and the first sub-file features, the second sub-file features, and the third sub-file features. Different storage files with the same file features can use the same virus detection method, and storage files with different file features also have different virus detection methods.
[0089] In this embodiment, the detection results correspond to the file features one by one, for example, the first virus status of the first sub-file feature of each file, the second virus status of the second sub-file feature of each file, and the third virus status of the third sub-file feature of each file.
[0090] In this embodiment, the virus status refers to the virus type of each file and the different virus types corresponding to the infection probability of the infected virus. Data analysis is performed on each virus status of each file, and the final virus status is obtained through the final range of the analysis results.
[0091] The beneficial effects of the above technical solution are: by matching the file features with the corresponding detection method, and detecting each sub-feature in the file features with the corresponding detection method, the detection result is made more accurate, and by combining each detection result to obtain the final detection result, the classification of the virus status of each file is made more accurate.
[0092] The embodiment of the present invention provides a mobile storage medium storage file virus isolation system, the architecture determination module includes:
[0093] Location tracing unit: used to trace the file source of the mobile storage medium and determine the storage location of each stored file;
[0094] Isolation area determination unit: used to obtain the file features of each storage file involved in the same virus state, and perform feature area mapping to determine the file isolation area in the same virus state;
[0095] A set determining unit: used for determining a path set of corresponding storage files based on the storage location of each storage file with the same virus status and the file isolation area of the corresponding virus status;
[0096] Path framework unit: used to construct a file transfer path framework with the same virus status based on the starting point, end point and coverage area of each path in the path set.
[0097] In this embodiment, file tracing can be implemented through the log file of the mobile storage medium to obtain the storage location of each stored file, that is, the file location pointer of each file in the mobile medium.
[0098] In this embodiment, feature area mapping refers to a process of determining a corresponding file quarantine area based on the file features and virus status of files stored in a removable medium.
[0099] In this embodiment, the path set is a set of paths for transferring each file that needs to be isolated from a storage location to a file isolation area.
[0100] In this embodiment, the coverage area under the path refers to the corresponding area of the interval points in the path.
[0101] In this embodiment, the file transfer framework of the same virus status includes all transfer paths of files of the same virus type, which is a file transfer path network obtained by constructing each transfer path. Figure 3 shown.
[0102] The beneficial effects of the above technical solution are: by performing data analysis on the file information of the stored files, the corresponding file storage location is obtained, thereby ensuring the accuracy of the file storage location; by classifying the virus status and dividing the isolation area according to the classification results, the mutual isolation between files with different virus statuses can be effectively achieved, providing strong support for subsequent file transfer.
[0103] The embodiment of the present invention provides a mobile storage medium storage file virus isolation system, a probability determination module, including:
[0104] Frequency determination unit: used to determine the number of reachable forks and the number of unreachable forks of each transfer node in each transfer path in the file transfer path framework under the same virus state, and set the frequency to be transferred to the corresponding transfer section in combination with the virus scanning result of each transfer section in the corresponding transfer path;
[0105] A parallel construction acquisition unit is used for performing parallel processing on all file transfer path structures to obtain a parallel structure, and setting a transfer set to each first section in the parallel structure;
[0106] A value calculation unit: used for determining the number of segmentation of the corresponding transfer section under the same virus state according to the AND framework, and calculating the section congestion value of the corresponding transfer section;
[0107]
[0108] Among them, D1 represents the frequency of pending transfer set to the corresponding transfer section; YD represents the full transfer frequency of the corresponding transfer section; n1 represents the number of divisions of the corresponding transfer section; L1 i represents the length L1 of the i-th first segment after the corresponding transfer segment is divided i ; Indicates the total length of the corresponding transfer section; x0 i represents the coverage information amount of the i-th first road section after the corresponding transfer road section is divided; Represents the total coverage information of the corresponding transfer section; y1 i,j represents the average transfer path damage coefficient of the jth virus state under the transfer set corresponding to the i-th first section; y0 i,j,max represents the historical maximum transfer path damage coefficient of the jth virus state under the transfer set corresponding to the i-th first road section; Y represents the road section congestion value of the corresponding transfer path;
[0109] A road section probability determination unit is used to determine the probability of a road section being blocked when the road section congestion value is greater than a corresponding preset value. As the probability of success of the road segment;
[0110] Otherwise, As the success probability of the road section, where Y is the corresponding preset value;
[0111] Path probability determination unit: used to obtain the transfer success rate of the corresponding transfer path based on the section success rate of the transfer section involved in each transfer path under the same virus state.
[0112] In this embodiment, the number of forks is used to indicate the number of files that can be transferred by each transfer node, which is related to the capacity of the transfer node and the amount of information of the files that need to be transferred.
[0113] In this embodiment, the frequency to be transferred refers to the number of files required to be transferred on the corresponding road section.
[0114] In this embodiment, the combined processing refers to merging the same path of the file transfer path structures of different virus states, and the combined structure refers to merging all the file transfer path structures with the same path to obtain the file transfer path structures of all virus types.
[0115] In this embodiment, the transfer section means that there are many transfer sections in each file transfer path. For example, the file transfer path A includes transfer section 1 and transfer section 2.
[0116] In this embodiment, the first section refers to the section that the file in the framework needs to pass through for path transfer, and the transfer set refers to the set of sections corresponding to each path for each file to perform path transfer.
[0117] In this embodiment, the number of divisions refers to dividing the transfer section according to the number of files that need to be passed on the corresponding section. The section needs to be divided according to the number of files and the amount of information in the files.
[0118] In this embodiment, the road section congestion value refers to the total number of files that need to pass through the corresponding road section, the amount of information that needs to be occupied, and the amount of coverage information that can pass through the corresponding road section.
[0119] In this embodiment, the transfer success probability of a section refers to the probability value that each file transfer section passing through is not infected by the virus.
[0120] In this embodiment, the transfer path success probability is obtained by multiplying the segment success probability of each segment on the same transfer path. For example, the transfer success probability of transfer segment 1 in transfer path A is 0.97, and the transfer success probability of transfer segment 2 is 0.99, then the transfer path A is 0.9603.
[0121] The beneficial effect of the above technical solution is: by setting the frequency of transfer to be transferred for the transfer sections in the file transfer path structure under the same virus state, and processing all file transfer structures to obtain a union structure, and calculating the corresponding section congestion value based on the union structure, the probability that the corresponding section can successfully complete the file transfer is further obtained, thereby ensuring the accuracy of the success probability.
[0122] The embodiment of the present invention provides a mobile storage medium storage file virus isolation system, the frequency determination unit includes:
[0123]
[0124] Among them, N1 represents the total number of reachable forks of all transfer nodes in the corresponding transfer section; N2 represents the total number of unreachable forks of all transfer nodes in the corresponding transfer section; ceiling represents the rounding up symbol; N3 represents the number of valid connection nodes between the transfer node and the next adjacent node in the corresponding transfer section determined based on the virus scanning result; P1 represents the transfer destruction coefficient of the corresponding transfer section determined based on the virus scanning result under the corresponding virus state.
[0125] The beneficial effect of the above technical solution is: by calculating the total number of forks that can be reached and the total number of forks that cannot be reached of all transfer nodes in the corresponding transfer section, the frequency of pending transfers of the corresponding transfer section is obtained, which ensures the accuracy of the transfer frequency calculation results and further ensures the accuracy of the calculated path success probability.
[0126] The embodiment of the present invention provides a mobile storage medium storage file virus isolation system, a file transfer module, including:
[0127] Extraction unit: used for extracting the overlapping first path and the independent second path from the transfer paths whose transfer success probability is not higher than the preset probability after all the file transfer frames are overlapped and placed;
[0128] A first retrieving unit: configured to retrieve the relevant first firewall from the security database to cover the corresponding first path according to the virus involvement of each first path and the minimum transfer frequency of the involved virus;
[0129] The second retrieving unit is used to retrieve the relevant second firewall from the security database according to the virus type and the frequency to be transferred of each second path, so as to cover the corresponding second path.
[0130] In this embodiment, the first path is a path in which the same partial portion exists in all transfer paths in all file structures, and the second path is a path in which the same partial portion does not exist after overlapping.
[0131] In this embodiment, the first firewall is used to isolate viruses on the first path, and the second firewall is used to isolate viruses on the second path.
[0132] In this embodiment, the security database contains all possible virus types and transfer frequencies as well as corresponding firewalls capable of protecting against viruses.
[0133] The beneficial effect of the above technical solution is: by distinguishing the first path from the second path, accurate protection can be performed, and the use of a firewall corresponding to the virus type can ensure protection against viruses on the corresponding path, ensuring that the files to be transferred will not be infected by viruses on the transfer path during the transfer process, thereby providing a guarantee for the realization of file transfer.
[0134] The embodiment of the present invention provides a mobile storage medium storage file virus isolation system, a file transfer module, including:
[0135] Probability updating unit: used for updating the path of the transfer section where the dedicated firewall is set, and recalculating the transfer success probability of each transfer path under the same virus state after the update;
[0136] If the transfer success probability of the transfer path after the path update is higher than the preset probability, the updated path is retained;
[0137] Otherwise, re-set the firewall to the corresponding transfer path and update the path until the transfer success probability of the corresponding transfer path is higher than the preset probability;
[0138] File transfer unit: used to transfer the corresponding virus files to the corresponding file isolation area based on the updated path.
[0139] The beneficial effect of the above technical solution is: by updating the path of the path set with the firewall, and recalculating the transfer success probability after the path update until the transfer success probability exceeds the preset probability, the successful transfer of the files to be transferred can be effectively guaranteed, and the corresponding files can be transferred through the corresponding transfer path, so that the corresponding files can be effectively transferred to the corresponding file isolation area, thereby realizing virus isolation of files stored in the mobile storage medium.
[0140] 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 mobile storage medium storage file virus isolation system, characterized in that: include: Virus detection module: used to obtain file features of files stored in the mobile storage medium, and perform detection based on the file features matching the virus detection method, and then determine the virus status of each stored file based on the detection results; Framework determination module: used to determine the storage location of each stored file in the same virus state, and at the same time, determine the file isolation area in the same virus state; According to the storage location and file quarantine area, a file transfer path framework with the same virus status is constructed; Probability determination module: used to perform virus scanning on each transfer path in each file transfer path framework, and determine the transfer success probability corresponding to each transfer path in combination with the frequency of transfer to be performed on each transfer section of each transfer path; File transfer module: used to keep unchanged the path whose transfer success probability is higher than the preset probability, and at the same time, set up a dedicated firewall and update the path for the transfer path whose transfer success probability is not higher than the preset probability; Transfer files with corresponding virus status to corresponding file quarantine areas based on the last path; Wherein, the framework determination module includes: Location tracing unit: used to trace the file source of the mobile storage medium and determine the storage location of each stored file; Isolation area determination unit: used to obtain the file features of each storage file involved in the same virus state, and perform feature area mapping to determine the file isolation area in the same virus state; A set determining unit: used for determining a path set of corresponding storage files based on the storage location of each storage file with the same virus status and the file isolation area of the corresponding virus status; Path construction unit: used to construct a file transfer path framework with the same virus status based on the starting point, end point and coverage area of each path in the path set; The transfer path framework includes all transfer paths of all files of the same virus type, which is obtained by combining each transfer path; The transfer path refers to the corresponding path for transferring files to the corresponding file isolation area.
2. A mobile storage medium storage file virus isolation system according to claim 1, characterized in that: The virus detection module comprises: A feature acquisition unit is used to acquire the file type of the file stored in the mobile storage medium, and determine the first sub-file feature of the stored file using a type-feature mapping table; Acquire a file attribute of a file stored in a mobile storage medium, and determine a second sub-file feature of the stored file based on an attribute-feature mapping table; Acquire the file size of the file stored in the mobile storage medium, and determine the third sub-file feature of the stored file based on the size-feature mapping table; Feature determination unit: used for combining the first sub-file feature, the second sub-file feature and the third sub-file feature of the same storage file to obtain the file feature of the corresponding storage file.
3. A mobile storage medium storage file virus isolation system according to claim 2, characterized in that: The virus detection module further includes: Virus detection unit: used for matching the file feature, the first sub-file feature, the second sub-file feature and the third sub-file feature of the same storage file with the feature-detection mapping table respectively, and obtaining the virus detection method of each feature; The status determination unit is used to detect the same storage file based on the virus detection method, and to perform a comprehensive analysis on the detection results to determine the virus status of the corresponding storage file.
4. A mobile storage medium storage file virus isolation system according to claim 1, characterized in that: The probability determination module comprises: Frequency determination unit: used to determine the number of reachable forks and the number of unreachable forks of each transfer node in each transfer path in the file transfer path framework under the same virus state, and set the frequency to be transferred to the corresponding transfer section in combination with the virus scanning result of each transfer section in the corresponding transfer path; A parallel construction acquisition unit is used for performing parallel processing on all file transfer path structures to obtain a parallel structure, and setting a transfer set to each first section in the parallel structure; A value calculation unit: used for determining the number of segmentation of the corresponding transfer section under the same virus state according to the AND framework, and calculating the section congestion value of the corresponding transfer section; in, Indicates the frequency of pending transfer set to the corresponding transfer section; Indicates the full transfer frequency of the corresponding transfer section; Indicates the number of divisions of the corresponding transfer section; Indicates the length of the i-th first segment after the corresponding transfer segment is divided ; Indicates the total length of the corresponding transfer section; represents the coverage information amount of the i-th first road section after the corresponding transfer road section is divided; Indicates the total coverage information volume of the corresponding transfer section; represents the average transfer path damage coefficient of the jth virus state under the transfer set corresponding to the i-th first segment; represents the historical maximum transfer path damage coefficient of the jth virus state under the transfer set corresponding to the i-th first road section; Y represents the road section congestion value of the corresponding transfer path; A road section probability determination unit is used to determine the probability of a road section being blocked when the road section congestion value is greater than a corresponding preset value. As the probability of success of the road segment; Otherwise, As the success probability of the road section, where Y is the corresponding preset value; Path probability determination unit: used to obtain the transfer success rate of the corresponding transfer path based on the section success rate of the transfer section involved in each transfer path under the same virus state.
5. A mobile storage medium storage file virus isolation system according to claim 4, characterized in that: The frequency determination unit includes: Wherein, N1 represents the total number of reachable forks of all transfer nodes in the corresponding transfer section; N2 represents the total number of unreachable forks of all transfer nodes in the corresponding transfer section; ceiling represents the rounding symbol; represents the number of valid connection nodes between the transfer node and the next adjacent node in the corresponding transfer section determined based on the virus scanning result; It represents the transfer destruction coefficient of the corresponding transfer section determined based on the virus scanning result based on the corresponding virus state.
6. A mobile storage medium storage file virus isolation system according to claim 1, characterized in that: The file transfer module comprises: Extraction unit: used for extracting the overlapping first path and the independent second path from the transfer paths whose transfer success probability is not higher than the preset probability after all the file transfer frames are overlapped and placed; A first retrieving unit: configured to retrieve the relevant first firewall from the security database to cover the corresponding first path according to the virus involvement of each first path and the minimum transfer frequency of the involved virus; The second retrieving unit is used to retrieve the relevant second firewall from the security database according to the virus type and the frequency to be transferred of each second path, so as to cover the corresponding second path.
7. A mobile storage medium storage file virus isolation system according to claim 1, characterized in that: The file transfer module further includes: Probability updating unit: used for updating the path of the transfer section where the dedicated firewall is set, and recalculating the transfer success probability of each transfer path under the same virus state after the update; If the transfer success probability of the transfer path after the path update is higher than the preset probability, the updated path is retained; Otherwise, re-set the firewall to the corresponding transfer path and update the path until the transfer success probability of the corresponding transfer path is higher than the preset probability; File transfer unit: used to transfer the corresponding virus files to the corresponding file isolation area based on the updated path.
Citation Information
Patent Citations
System and method for processing virus files
CN103793647A
Intelligent U disc with self-protection function and working method thereof
CN107480755A
File backup method and device and file restoration method and device
CN108038028A
Method and device for controlling electronic equipment, terminal and storage medium
CN112083871A
Linux ransomware virus prevention method and system
CN112906001A
