Enterprise data processing method and system, storage medium and electronic equipment
By building correlations between project files, the problem of low efficiency in processing diverse files is solved, efficient query and retrieval of files is achieved, and file compatibility and analysis accuracy are enhanced.
Patent Information
- Application Number
- CN202410657423.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-25
- Publication Date
- 2024-08-23
AI Technical Summary
When enterprises process project documents, traditional methods are inefficient and require manual query and retrieval one by one. It is difficult to effectively manage and utilize a large number of files of different formats and contents, resulting in low efficiency of query and retrieval of related documents.
By building the association between project files, using metadata classification and data maintenance processing, standardized files are generated, the association between files is calculated, and the relationship graph is constructed to improve query and retrieval efficiency.
It realizes the intuitive expression and display of the relationships between files, improves the query and retrieval efficiency of related files, reduces the disorder of file processing, and enhances file compatibility and analysis accuracy.
Smart Images

Figure CN118535783A
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a data processing method, system, storage medium and electronic equipment for an enterprise. Background Art
[0002] When enterprises carry out various projects, they usually generate a large number of project files. These files usually exist in different formats, such as text documents, spreadsheets, pictures, etc., and the file content and format vary greatly. In order to better manage and utilize these valuable project file resources, they need to be systematically organized and processed.
[0003] At present, the processing of enterprise project file data mainly relies on manual experience to classify and label files. This method mainly focuses on the processing of single files. When a file needs to be viewed and retrieved, it is often necessary not only to view the single file, but also to obtain other related files at the same time to fully grasp the complete situation of the project. Especially when faced with a large amount of enterprise file data, the traditional file data processing method can only be used for one-by-one query and retrieval, resulting in low efficiency in querying and retrieving related files. Summary of the invention
[0004] The present application provides a data processing method, system, storage medium and electronic device for an enterprise, which characterizes the relationship between files by constructing an association relationship between project files, thereby improving the efficiency of subsequent query and retrieval of related files.
[0005] In a first aspect, the present application provides a data processing method for an enterprise, the method comprising: Acquire all project file sets to be processed, classify each project file in the project file set, and obtain a plurality of classified file groups; Performing data inspection and processing on the project files in each of the file groups to obtain standard project files; Calculating a first association relationship between the standard project files in each of the file groups and a second association relationship between each of the file groups, and constructing a relationship graph corresponding to the project file set based on the first association relationship and the second association relationship; The relationship diagram is stored in a preset visual format.
[0006] By adopting the above technical solution, all project file sets to be processed are obtained, and the files are intelligently classified according to metadata information and preset rules to obtain multiple file groups, avoiding the traditional single classification method. Then, based on the data inspection and processing of the files in each file group, a standard unified project file is generated, and then the first association relationship between the standard files within the file group and the second association relationship between different file groups are calculated. The calculation of the association relationship is based on the extraction of file feature information and the analysis of the correlation degree, which can automatically mine the inherent semantic association of the file, and the first and second association relationships are integrated to construct a relationship diagram of the entire project file set. The relationship diagram is stored in a graphical visualization format, and a data structure containing node data and edge data is constructed, which realizes the intuitive expression and display of the association relationship between files and improves the efficiency of subsequent query and retrieval of related files.
[0007] Optionally, obtaining all the project file sets to be processed, classifying each project file in the project file sets, and obtaining a plurality of classified file groups includes: obtaining metadata corresponding to each project file in the project file sets to be processed; and classifying each project file in the project file sets according to the metadata corresponding to each project file and preset classification rules, to obtain a plurality of classified file groups.
[0008] By adopting the above technical solution, each project file in the project file set is classified according to metadata, which reduces the disorder of file processing and enables subsequent directional analysis of the relationship between file groups or files within a file group.
[0009] Optionally, the project files in each of the file groups are respectively subjected to data inspection and processing to obtain a standard project file, including: obtaining a file type corresponding to each of the file groups; determining a data processing tool corresponding to the file group based on the file type; and performing data inspection and processing on each of the project files in the file group based on the data processing tool to obtain a standard project file.
[0010] By adopting the above technical solution, the system selects the corresponding data processing tools according to different file types. The system will use the corresponding data processing tools to perform normalization processing on each file group, realize format conversion, content extraction, etc., and convert the files into structured data. It realizes the compatibility processing of different file types in the project file set, and transforms the file content from an unstructured state to an ordered and parsable state, overcoming the difficulties brought by file heterogeneity and making the association analysis more accurate.
[0011] Optionally, performing data inspection and processing on each of the project files in the file group based on the data processing tool to obtain a standard project file includes: performing data cleaning on the data in each of the project files in the file group based on the data processing tool to obtain a project file after data cleaning; The project files after data cleaning are screened according to preset screening criteria to obtain screened project files; the data in each of the screened project files are converted into a standardized format to obtain a standard project file.
[0012] By adopting the above technical solution, data processing tools are used to clean various files, remove redundant information and erroneous data, retain valid data content, obtain cleaned and standardized data, filter data according to preset rules, delete irrelevant and useless data, and only retain data related to the analysis target, narrowing the scope of valid data, converting the format of the filtered data, and realizing the standardization of storage structure and expression, such as converting it into a structured database format, converting file data into high-quality standardized data, and standardizing data representation and storage.
[0013] Optionally, the calculating the first association relationship between the standard project files in each of the file groups and the second association relationship between the file groups includes: extracting feature information of each standard project file in each of the file groups, and determining a feature label corresponding to the file group based on each of the feature information; calculating a first degree of association between the feature information of each of the standard project files, and determining a first association relationship between each standard project file and other standard project files in the file group according to the first degree of association; calculating a second degree of association between the feature labels corresponding to each of the file groups, and determining a second association relationship between each file group and other file groups in the project file set according to the second degree of association.
[0014] By adopting the above technical scheme, key information such as feature words is extracted for each standard project file in the file group, and the feature label of the file is determined based on this information. In the same file group, the correlation between the feature information of each file is calculated, and the first association relationship between files is established based on the correlation. Among all file groups, the correlation between the feature labels of each group is calculated, and the second association relationship between file groups is established based on the correlation. In this way, the association between files in each file group and between file groups is determined, forming a hierarchical association network for constructing a file set.
[0015] Optionally, constructing the relationship graph corresponding to the project file set based on the first association relationship and the second association relationship includes: determining a first association attribute corresponding to the first association relationship, and a second association attribute corresponding to the second association relationship; for any file group, determining a sub-relationship construction model corresponding to the file group based on the first association attribute, and performing relationship construction on each standard project file in the file group according to the sub-relationship construction model to obtain a sub-relationship graph corresponding to each file group; determining a relationship construction model for the project file set based on the second relationship attribute, and performing relationship construction on each file group in the project file set according to the relationship construction model to obtain a relationship graph corresponding to the project file set.
[0016] By adopting the above technical solution, the association attributes corresponding to the first association relationship and the second association relationship, such as relevance, similarity, etc., are determined. These association attributes are the basis for constructing the relationship graph. Next, within each file group, a sub-graph is constructed based on the first association attribute to express the file relationship structure within the file group. Between all file groups, an overall relationship graph is constructed based on the second association attribute to express the macro knowledge structure of the file set. In this way, both the micro knowledge structure within the file group and the macro knowledge structure of the file set are expressed, forming a hierarchical and complete relationship graph.
[0017] Optionally, storing the relationship graph in a preset visualization format includes: obtaining a data structure of the relationship graph, the data structure including node data and edge data, the node data being used to store metadata information of each standard project file, and the edge data being used to store an association relationship attribute between two connected nodes; based on the data structure, storing the relationship graph in a graphical visualization format.
[0018] By adopting the above technical solution, the internal data structure of the relationship graph is obtained, including node data representing file nodes and edge data representing the relationship between files. Node data contains file metadata, and edge data contains file association attributes. The visualization style of the relationship graph is designed according to the data structure, such as determining the graphics, color, and position of the nodes, and determining the thickness and curvature of the edges and other visual expressions. The visualization tool is called to automatically render and generate a visualization image of the relationship graph according to the data structure and design style, and convert it into a standard graphic format file for storage. Converting the data structure of the relationship graph into an intuitive graphic visualization file not only retains the integrity of the structured information, but also realizes intuitive visualization expression, and can also improve the efficiency of subsequent query and retrieval of related files.
[0019] In a second aspect of the present application, a data processing system of an enterprise is provided, the system comprising: A file classification module is used to obtain all the project file sets to be processed, classify each project file in the project file set, and obtain a plurality of classified file groups; A data processing module, used for performing data inspection and processing on the project files in each of the file groups to obtain a standard project file; A relationship graph construction module, used for calculating the first association relationship between the standard project files in each of the file groups and the second association relationship between the file groups, and constructing a relationship graph corresponding to the project file set based on the first association relationship and the second association relationship; The file storage module is used to store the relationship diagram in a preset visual format.
[0020] In a third aspect of the present application, a computer storage medium is provided, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the above method steps.
[0021] In a fourth aspect of the present application, an electronic device is provided, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.
[0022] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: This application obtains all the project file sets to be processed, and intelligently classifies the files according to metadata information and preset rules to obtain multiple file groups, avoiding the traditional single classification method. Then, based on the data inspection and processing of the files in each file group, a standard unified project file is generated, and then the first association relationship between the standard files in the file group and the second association relationship between different file groups are calculated. The calculation of the association relationship is based on the extraction of file feature information and the analysis of the correlation degree, which can automatically mine the intrinsic semantic association of the file, integrate the first and second association relationships into a relationship diagram of the entire project file set, store the relationship diagram in a graphical visualization format, and construct a data structure containing node data and edge data, so as to realize the intuitive expression and display of the association relationship between files and improve the efficiency of subsequent query and retrieval of related files. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a flowchart of a data processing method for an enterprise provided in an embodiment of the present application; Figure 2 It is a module schematic diagram of a data processing system of an enterprise provided in an embodiment of the present application; Figure 3 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0024] Description of reference numerals: 300, electronic device; 301, processor; 302, communication bus; 303, user interface; 304, network interface; 305, memory. DETAILED DESCRIPTION
[0025] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0026] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.
[0027] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0028] The following will provide a clear and complete description of the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0029] Please refer to Figure 1 , a flow chart of a data processing method for an enterprise is proposed. The method can be implemented by a computer program, can be implemented by a single-chip microcomputer, or can be run on a data processing system of an enterprise. The computer program can be integrated in a computer device, or can be run as an independent tool application. Specifically, the method includes steps 10 to 40, and the above steps are as follows: Step 10: Obtain all project file sets to be processed, classify each project file in the project file set, and obtain multiple classified file groups.
[0030] The embodiments of the present application can be applied but not limited to any scenario involving the processing of a large number of diverse files and the need to reveal the inherent correlation structure of the files. For example, for complex infrastructure projects, manufacturing projects, etc., a large number of design documents, contract documents, acceptance reports, etc. in various formats are usually generated, and there are inherent correlations between these files. This solution can be used to classify, process and analyze the correlation of these project files, form a relationship diagram, and support efficient project management.
[0031] The set of project files to be processed in this embodiment of the application refers to a collection of all relevant files generated by an enterprise in the process of carrying out a specific project. These project files may include but are not limited to: project planning and requirements files, project design files, project implementation files, project testing files, project acceptance files, and other project-related documents, tables, pictures and other files.
[0032] Specifically, since the files generated by enterprises when carrying out projects are usually of various types and formats, if the entire file set is directly processed in a unified manner, it will face great challenges. Different types of files require different data processing tools and processes, and mixing all files can easily lead to problems such as low processing efficiency and misoperation. In the embodiment of the present application, the files in the project file set are first reasonably classified, and the project files in the project file set are divided into different file groups according to the file type or content. This classification is not simply based on the external characteristics of the file format, but based on the metadata information of each file obtained, and combined with the pre-set classification rules, the content semantic level is classified. For example, text files and table files related to project requirements can be divided into the requirement file group; the drawing files and model files generated in the design phase can be divided into the design file group; the report files generated during the test process can be divided into the test file group, etc. The different file groups divided in this way can better reflect the inherent correlation of project files.
[0033] Based on the above embodiment, as an optional embodiment, the step of obtaining all project file sets to be processed, classifying the project files in the project file sets, and obtaining a plurality of classified file groups may further include the following steps: Step 101: Obtain metadata corresponding to each project file in all project file sets to be processed.
[0034] Specifically, metadata can be obtained by reading the attribute information of each project file in the project file set, such as file name, file type, creation time, file size, project name, etc. The purpose of obtaining these metadata is to further determine the category to which each file belongs and realize automatic classification of massive project file sets.
[0035] For example, text files usually contain more text data, picture files contain image information, and spreadsheets contain tabular data. By extracting the metadata of these file types, we can determine the categories they belong to, such as document, image, table, etc. Further combined with metadata such as file name and creation time, the business attributes of the file can be determined. For example, a text file with the word "requirement document" in the file name can be determined to be in the requirement category, and a file created during a project can be determined to be in the project category.
[0036] Step 102: Classify each project file in the project file set according to the metadata corresponding to each project file and a preset classification rule to obtain a plurality of classified file groups.
[0037] Specifically, the purpose of classifying the file set according to the metadata corresponding to the project file and the preset classification rules is to reasonably divide the huge project file set into multiple categories, so as to facilitate the subsequent directional processing and analysis. According to the feature information extracted from the metadata of the project file, such as file type, keywords, project attributes, etc., matching and judgment can be performed according to the pre-defined classification rules to determine the classification type to which each file belongs. For example, the following rules can be preset: files with a file type of Word and a file name containing the word "demand" are classified into the demand document category. Files with a file type of Excel and a creation time during project X are classified into the table file category of project X. Image files with a file type of JPG and a file size greater than 2M are classified into the high-definition image category, etc. Through the matching and judgment of metadata information and classification rules, massive files can be automatically classified in multiple dimensions, and scattered project file sets can be aggregated by category to form multiple file groups, such as document groups, table groups, image groups, etc.
[0038] Step 20: Perform data inspection and processing on the project files in each file group to obtain standard project files.
[0039] Specifically, the purpose of data inspection and processing of project files in each file group is to obtain standardized structured data for subsequent calculation of association relationships and generation of relationship diagrams. Different data processing tools can be selected for different types of file groups to inspect the unstructured data in the files. For example, for document file groups, natural language processing technology can be used to extract key information from the text, perform word frequency statistics, keyword extraction, etc., and convert it into structured table data. For image file groups, computer vision technology can be used to achieve object recognition and scene analysis, and extract standardized features of images. For table file groups, header recognition, column type normalization, missing value processing, etc. can be performed to convert messy tables into unified structured data.
[0040] In the embodiments of the present application, data maintenance processing refers to the extraction, cleaning, conversion, normalization and other processing of unstructured data in each file group to obtain structured standardized data. Through data maintenance processing, the differences in data in each file group can be eliminated, and their expression formats and semantic representations can be standardized to make them computable structured data sets. This provides a basis for the subsequent calculation of the feature association relationship of files according to unified standards. Obtaining standardized project files is also convenient for extracting unified features and forming the data content of file nodes. Maintenance processing can also delete redundant and irrelevant content, extract key data required for association analysis, and improve the efficiency of subsequent relationship calculations. Regularizing various types of files into standardized data sets is the basis for realizing the association of heterogeneous files such as documents, tables, and images.
[0041] Based on the above embodiment, as an optional embodiment, the step of performing data inspection and processing on the project files in each file group to obtain a standard project file may also include the following steps: Step 201: Obtain the file type corresponding to each file group.
[0042] Step 202: Determine the data processing tool corresponding to the file group based on the file type.
[0043] Specifically, the file type of each file group is obtained, and the corresponding data processing tool is determined according to the file type, in order to select the optimal processing solution for different types of data files to improve the effect of data normalization. The files in each file group can be scanned, and metadata such as file header information can be extracted to determine the file type. For example, the file extension, encoding format, etc. can be used to determine whether it is a word document, an excel table, or a jpg image. A matching rule library for file types and processing tools can be established in advance. After the file type of the file group is determined, the system can query the rule library and determine the corresponding processing tool for annotation according to the file type. For example, for text documents, natural language processing tools are selected to achieve key information extraction and keyword annotation. For tables, table parsing tools are selected to achieve table header recognition, column type normalization, etc. For images, computer vision tools are used to achieve object recognition, scene parsing, etc. By determining the most suitable processing tools for different file types, the effect of data normalization can be effectively improved, and structured information can be extracted to the greatest extent. For example, table files can obtain structured data well using table tools, while the effect of using text processing tools is poor.
[0044] Step 203: Perform data inspection and processing on each project file in the file group based on a data processing tool to obtain a standard project file.
[0045] Specifically, the purpose of normalizing each file group based on the determined optimal data processing tool is to eliminate the unstructured information and heterogeneous formats in the file, obtain standardized and unified files, and establish subsequent file association analysis. The corresponding data processing tool matched will be applied to automatically process each project file in the file group. For example, natural language processing tools are used to extract key information from the document file group, table parsing tools are used to achieve structured conversion for the table file group, and computer vision tools are used to classify themes for the image file group. Through these targeted tool processing, the content format and semantic representation of each file in the file group can be effectively standardized to eliminate its heterogeneity. After processing, the unstructured text, messy tables, and scattered images in the file group are converted into standardized file forms of structured data tables. These standard files have unified structured data features, including unified header categories, data types, key attributes, etc. The formats and semantic representations between them are consistent, which facilitates subsequent comparison and calculation according to unified standards.
[0046] Based on the above embodiment, as an optional embodiment, the step of performing data inspection and processing on each project file in the file group based on a data processing tool to obtain a standard project file may also include the following steps: Step 2031: clean the data in each project file in the file group based on a data processing tool to obtain a cleaned project file.
[0047] Specifically, data cleaning of project files in the file group is to filter out useless and redundant information, obtain more refined and accurate key data, and improve the effect of subsequent relationship analysis. The system can use natural language processing tools to filter stop words and tag parts of speech on document project files to remove irrelevant text. For table files, table parsing tools can be used to implement operations such as null value filtering, duplicate data deletion, column verification, etc., to delete redundant records. For image files, visual recognition tools can be used to implement target detection and remove irrelevant background parts. After data cleaning, noise data, duplicate information, invalid records, etc. in the files will be removed, and streamlined valid information will be retained to form project files after data cleaning. These files only contain key data related to the analysis task, and their structure is clearer and the information is more accurate. The purpose of data cleaning is to improve the accuracy of subsequent association calculations. The presence of invalid data will introduce errors and reduce the quality of association results. The cleaned data can better reflect the true association relationship between files and support the construction of high-quality file association relationships.
[0048] Step 2032: Filter the cleaned project files according to preset filtering criteria to obtain filtered project files.
[0049] Specifically, you can preset filtering rules based on the analysis target, such as file size threshold, keyword inclusion, similarity threshold, etc. For example, if you only need to analyze files of a certain product line, you can filter out files that do not contain the product name in the file name. If you only focus on important documents, you can set a threshold based on file size for filtering.
[0050] The system will load the preset screening criteria and filter the cleaned project files one by one according to the preset screening rules. Only files that meet the criteria will be retained, and irrelevant files will be filtered out. In this way, the number of files left after screening is further reduced, but the relevance is higher. Calculating associations on a large number of file sets is time-consuming and inaccurate. By pre-screening relevant files, unnecessary calculations can be reduced, making the association results more accurate.
[0051] Step 2034: convert the data in each screened project file into a standardized format to obtain a standard project file.
[0052] Specifically, the system can define a standard structured data model, including predetermined header fields, data types, and storage formats. The screened project files are then converted and mapped to the standard model. For example, document files are converted into a table format, key attributes of image files are extracted to generate structured records, and non-standard tables are standardized into a unified model. Through format conversion, various files will be converted into a unified standard data table. These standardized files use the same structured model to organize and store data content. In this way, in subsequent feature extraction and association calculations, the system only needs to parse the standard format in a consistent manner to efficiently obtain the feature data of all files. The unified format greatly facilitates the extraction and comparison of file features.
[0053] Step 30: Calculate the first association relationship between the standard project files in each file group and the second association relationship between each file group, and construct a relationship graph corresponding to the project file set based on the first association relationship and the second association relationship.
[0054] Specifically, the calculation of the first association relationship within each file group is to characterize the degree of direct association between each standard project file in the same file group and reveal the internal knowledge structure of the file group. Feature information such as feature words and subject words can be extracted from all standard project files in each file group, and then the co-occurrence relationship between these feature words and other standard project files in the same file group can be calculated to calculate the first association degree between each standard project file. At the same time, the calculation of the second association relationship between each file group is to characterize the overall association structure of the file set and reveal the relevance of different file groups in business topics. The second association degree between the file groups can be calculated by the subject classification of the file group. According to the calculated first association degree, the standard project files in each file group are connected with other related standard project files to form a relationship network within each file group. According to the second association degree, the related files between different file groups are connected to form a global relationship diagram of the file set, which intuitively shows the knowledge structure and cross-correlation of files within the file set. Through the construction of the relationship diagram, the knowledge framework of a file set can be clearly understood, including the conceptual connection within the file and the association between different files. The related files can be quickly located according to the relationship diagram, and the association report between the file data sets can be generated.
[0055] Based on the above embodiment, as an optional embodiment, the step of constructing a relationship graph corresponding to the project file set based on the first association relationship and the second association relationship may further include the following steps: Step 301: Determine a first association attribute corresponding to a first association relationship and a second association attribute corresponding to a second association relationship.
[0056] Specifically, determining the association attributes corresponding to the association relationship is to describe the degree of association between different files and file groups, and to provide a basis for constructing a relationship network diagram. Based on the calculation results of the first association relationship, the co-occurrence frequency of feature words between files, the co-occurrence correlation, etc. can be extracted as the first association attribute. These attribute values represent the closeness of the direct association between files. For the second association relationship, the subject word correlation, subject classification distance, etc. between file groups can be obtained as the second association attribute, and these attribute values represent the degree of business association between different file groups. For example, files A and B have 10 feature words co-occurring, and the co-occurrence correlation is 0.8, then these quantitative indicators are determined as the first association attributes. The cosine similarity of the subject word vectors of file groups I and II is 0.6, then this value is taken as their second association attribute.
[0057] Step 302: For any file group, determine the sub-relationship construction model corresponding to the file group based on the first association attribute, and perform relationship construction on each standard project file in the file group according to the sub-relationship construction model to obtain a sub-relationship graph corresponding to each file group.
[0058] Specifically, the system can determine the sub-relationship construction model of the file group based on the first association attribute. The model can preset a connection closeness threshold to filter out file relationships with weaker associations. The system then makes association judgments on the files in the file group according to this model, and connects the files that meet the conditions to form a sub-relationship graph. For example, for file group A, the system extracts the co-occurrence frequency of file feature words as the first association attribute, and sets the frequency threshold to 5, that is, only files with a feature word co-occurrence frequency exceeding 5 are connected. According to this model, the association calculation is performed on each file in file group A, and the matching files are connected to finally form a sub-relationship graph of file group A. The sub-relationship graph of the file group can intuitively reflect the file relationship structure within the group, including the association between files. It should be noted that the sub-relationship construction model can be of various categories, such as clustering diagrams, heat maps, sequence diagrams, and relationship network diagrams, which are not limited here.
[0059] Step 303: Determine a relationship construction model of the project file set based on the second relationship attribute, and perform relationship construction on each file group in the project file set according to the relationship construction model to obtain a relationship graph corresponding to the project file set.
[0060] Specifically, the system can use the second relationship attribute between file groups, such as thematic relevance, to determine the construction model of the relationship graph. A relevance threshold will be set in the model, and only different file groups with higher relevance will be connected. Then the system will perform association calculations on each file group in the project file set according to this relationship model. If the business theme relevance of two file groups is higher than the threshold, a connection will be established in the relationship graph. Repeat this process to eventually form a relationship graph corresponding to the project file set. For example, if the theme relevance of file group A and file group B is 0.8, which is higher than the threshold of 0.7, the system will add a connecting line between A and B in the relationship graph. By analogy, the system constructs a relationship graph connecting file groups. The relationship graph fully reflects the knowledge framework of the project file set and reveals the degree of association between different file groups in business themes. The relationship graph provides a macro view of the project file set, allowing users to more clearly grasp the knowledge structure of the file set and improve the efficiency of subsequent query and retrieval of related files.
[0061] Step 40: Store the relationship diagram according to a preset visualization format.
[0062] Specifically, the internal data structure of the relationship graph is first obtained, including node data representing each file node and edge data representing the association between files. The node data contains file meta information, such as metadata attributes such as file name and creation time; the edge data contains measurement attributes representing the strength of the association between two files. Based on these data, the system designs the visualization mode of the relationship graph and determines the use of graphic elements such as node icons and relationship lines to map the data content of nodes and edges. For example, file nodes are represented by circular icons, and associated edges are displayed as connecting lines, and the thickness of the line represents the strength of the association. Then the graphic drawing tool is called to automatically draw the style and layout of the relationship graph according to the data structure and the set visualization mode. The data of nodes and edges are mapped to actual icons and lines, and the relationship abstraction is visualized. Finally, the drawn relationship graph is stored in a standard image format, such as PNG or SVG format, to obtain a visualization file of the relationship knowledge. The graphic file internalizes all the information of the original data structure and presents it externally in an intuitive diagram, which is convenient for subsequent users to access and query.
[0063] When a user needs to query a certain file and related files later, the user may not know which files are related to it or may not know them fully. In this case, the user can query or retrieve through the relationship graph. In the relationship graph, each node represents the information of a file. The user can quickly browse the nodes, find the file node to be viewed, and click the node to directly open or locate the corresponding file. The edges in the relationship graph represent the degree of association between files. When a user views a certain file, he can quickly access other related files along its associated edges to discover related knowledge. Alternatively, the user can first locate the sub-relationship graph part where a certain file is located, and then perform file retrieval within this range, which can greatly reduce the search space and improve retrieval efficiency. The relationship graph depicts the relationship between files in a visual and structured way, thereby improving the efficiency of subsequent query and retrieval of related files.
[0064] See also Figure 2 , is a module diagram of a data processing system of an enterprise provided in an embodiment of the present application. The data processing system of the enterprise may include: a file classification module, a data processing module, a relationship graph construction module and a file storage module, wherein: A file classification module is used to obtain all the project file sets to be processed, classify each project file in the project file set, and obtain a plurality of classified file groups; A data processing module, used for performing data inspection and processing on the project files in each of the file groups to obtain a standard project file; A relationship graph construction module, used for calculating the first association relationship between the standard project files in each of the file groups and the second association relationship between the file groups, and constructing a relationship graph corresponding to the project file set based on the first association relationship and the second association relationship; The file storage module is used to store the relationship diagram in a preset visual format.
[0065] Optionally, the file classification module is further used to obtain metadata corresponding to each project file in the project file set of all to-be-processed projects; classify each project file in the project file set according to the metadata corresponding to each project file and preset classification rules to obtain a plurality of classified file groups.
[0066] Optionally, the data processing module is also used to obtain the file type corresponding to each of the file groups; determine the data processing tool corresponding to the file group based on the file type; and perform data inspection and processing on each of the project files in the file group based on the data processing tool to obtain a standard project file.
[0067] Optionally, the data processing module is also used to perform data cleansing on the data in each of the project files in the file group based on the data processing tool to obtain a project file after data cleansing; filter the project files after data cleansing according to preset filtering criteria to obtain a filtered project file; and convert the data in each of the filtered project files into a standardized format to obtain a standard project file.
[0068] Optionally, the relationship graph construction module is further used to extract feature information of each standard project file in each file group, and determine a feature label corresponding to the file group based on each feature information; calculate a first degree of association between the feature information of each standard project file, and determine a first association relationship between each standard project file and other standard project files in the file group according to the first degree of association; calculate a second degree of association between the feature labels corresponding to each file group, and determine a second association relationship between each file group and other file groups in the project file set according to the second degree of association.
[0069] Optionally, the relationship graph construction module is also used to determine a first association attribute corresponding to the first association relationship, and a second association attribute corresponding to the second association relationship; for any file group, a sub-relationship construction model corresponding to the file group is determined based on the first association attribute, and a relationship is constructed for each standard project file in the file group according to the sub-relationship construction model to obtain a sub-relationship graph corresponding to each file group; a relationship construction model of the project file set is determined based on the second relationship attribute, and a relationship is constructed for each file group in the project file set according to the relationship construction model to obtain a relationship graph corresponding to the project file set.
[0070] Optionally, the file storage module is also used to obtain the data structure of the relationship graph, the data structure includes node data and edge data, the node data is used to store metadata information of each standard project file, and the edge data is used to store the association relationship attributes between two connected nodes; based on the data structure, the relationship graph is stored in a graphical visualization format.
[0071] It should be noted that: when the system provided in the above embodiment realizes its functions, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the system and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0072] An embodiment of the present application also provides a computer storage medium, which can store multiple instructions. The instructions are suitable for being loaded by a processor and executing a data processing method of an enterprise in the above embodiment. The specific execution process can be found in the specific description of the above embodiment, which will not be repeated here.
[0073] Please refer to Figure 3 The application also discloses an electronic device. Figure 3 The electronic device 300 may include: at least one processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .
[0074] The communication bus 302 is used to realize the connection and communication between these components.
[0075] The user interface 303 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.
[0076] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0077] Among them, the processor 301 may include one or more processing cores. The processor 301 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the processor 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 301, and it can be implemented separately through a chip.
[0078] Among them, the memory 305 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may optionally also be at least one storage device located away from the aforementioned processor 301. Refer to Figure 3 , the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module and an application program of an enterprise data processing method.
[0079] exist Figure 3 In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 301 can be used to call an application program storing a data processing method of an enterprise in the memory 305, and when executed by one or more processors 301, the electronic device 300 executes one or more of the methods described in the above embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited to the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
[0080] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0081] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0082] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0083] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0084] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.
[0085] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, those skilled in the art will easily think of other embodiments of the present disclosure.
[0086] This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not described in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A data processing method for an enterprise, characterized in that: The method comprises: Acquire all project file sets to be processed, classify each project file in the project file set, and obtain a plurality of classified file groups; Performing data inspection and processing on the project files in each of the file groups to obtain standard project files; Calculating a first association relationship between the standard project files in each of the file groups and a second association relationship between each of the file groups, and constructing a relationship graph corresponding to the project file set based on the first association relationship and the second association relationship; The relationship diagram is stored in a preset visual format.
2. The data processing method of an enterprise according to claim 1, characterized in that: The step of obtaining all the project file sets to be processed and classifying the project files in the project file sets to obtain a plurality of classified file groups includes: Obtain metadata corresponding to each project file in all project file sets to be processed; According to the metadata corresponding to each of the project files and a preset classification rule, each of the project files in the project file set is classified to obtain a plurality of classified file groups.
3. The data processing method of an enterprise according to claim 1, characterized in that: The project files in each of the file groups are respectively subjected to data inspection and processing to obtain standard project files, including: Obtaining the file type corresponding to each of the file groups; Determining a data processing tool corresponding to the file group based on the file type; Based on the data processing tool, data inspection and processing is performed on each of the project files in the file group to obtain a standard project file.
4. The data processing method of an enterprise according to claim 3, characterized in that: The step of performing data inspection and processing on each of the project files in the file group based on the data processing tool to obtain a standard project file includes: Cleaning the data in each of the project files in the file group based on the data processing tool to obtain a cleaned project file; Screening the project files after data cleaning according to preset screening criteria to obtain screened project files; The data in each of the screened project files is converted into a standardized format to obtain a standard project file.
5. The data processing method of an enterprise according to claim 1, characterized in that: The calculating of the first association relationship between the standard project files in each of the file groups and the second association relationship between the file groups includes: Extracting characteristic information of each standard project file in each file group, and determining a characteristic label corresponding to the file group based on each characteristic information; Calculating a first correlation degree between the characteristic information of each of the standard project files, and determining a first correlation relationship between each standard project file and other standard project files in the file group according to the first correlation degree; The second association degree between the feature tags corresponding to each of the file groups is calculated, and the second association relationship between each file group and other file groups in the project file set is determined according to the second association degree.
6. The data processing method of an enterprise according to claim 1, characterized in that: The constructing a relationship graph corresponding to the project file set based on the first association relationship and the second association relationship includes: Determine a first association attribute corresponding to the first association relationship, and a second association attribute corresponding to the second association relationship; For any file group, determining a sub-relationship construction model corresponding to the file group based on the first association attribute, and constructing relationships for each standard project file in the file group according to the sub-relationship construction model to obtain a sub-relationship graph corresponding to each file group; A relationship construction model of the project file set is determined based on the second relationship attribute, and relationships are constructed for each of the file groups in the project file set according to the relationship construction model to obtain a relationship graph corresponding to the project file set.
7. The data processing method of an enterprise according to claim 1, characterized in that: The storing the relationship diagram according to a preset visual format includes: Acquire a data structure of the relationship graph, the data structure comprising node data and edge data, the node data being used to store metadata information of each standard project file, and the edge data being used to store an association relationship attribute between two connected nodes; Based on the data structure, the relationship diagram is stored in a graphical visualization format.
8. A data processing system of an enterprise, characterized in that: The system comprises: A file classification module is used to obtain all the project file sets to be processed, classify each project file in the project file set, and obtain a plurality of classified file groups; A data processing module, used for performing data inspection and processing on the project files in each of the file groups to obtain a standard project file; A relationship graph construction module, used for calculating the first association relationship between the standard project files in each of the file groups and the second association relationship between the file groups, and constructing a relationship graph corresponding to the project file set based on the first association relationship and the second association relationship; The file storage module is used to store the relationship diagram in a preset visual format.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: It includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the method as described in any one of claims 1-7.
