Application data duplicate checking method and device, equipment and storage medium

Through word segmentation analysis and weight calculation, data repeatability is judged, which solves the problems of low data duplication efficiency and poor accuracy in the existing technology, and achieves efficient and accurate data management.

CN118656392APending Publication Date: 2024-09-17CHINA UNITED NETWORK COMM GRP CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410796389.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing data duplication checking methods are inefficient and inaccurate, especially in scenarios where the scale is small or the amount of data is not large, resulting in inaccurate duplication checking results and affecting efficiency.

Method used

By obtaining the word segmentation set of the target application data, analysis and processing are performed to obtain the weight value of the word segmentation, determine the keywords, establish the association between the keywords and the target application data, and calculate the similarity between the keywords and the existing application data to determine the repeatability.

Benefits of technology

It improves the efficiency and accuracy of data duplication checking, can quickly identify and reduce duplicate data, and optimizes the data management process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656392A
    Figure CN118656392A
Patent Text Reader

Abstract

The invention provides an application data duplicate checking method and device, equipment and a storage medium. The method is applied to the technical field of computers. Analyzing and processing the plurality of word segmentation sets to obtain a weight value of each word segmentation in the word segmentation sets; according to the weight values of the plurality of segmented words, determining keywords in the segmented word set, and establishing an association relationship between the keywords and the target application data; and calculating the similarity between the keyword of the target application data and the keyword of the existing application data, and judging whether the target application data is repeated or not according to a similarity calculation result, so that the duplicate checking efficiency and accuracy of the application data are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of computer technology, and in particular, relates to a method, device, equipment and storage medium for checking duplicate application data. Background Art

[0002] With the rapid development of computer technology, units and institutions are increasingly relying on digital solutions in their daily operations. This digital transformation has brought many benefits, such as increased efficiency, enhanced transparency, and improved quality of public services. However, the accompanying data management challenges have also become more prominent. The irregularity and duplication of data may lead to inconsistent information, redundant waste, and wrong decisions.

[0003] By conducting duplication analysis, units and institutions can better manage and utilize data resources. This analysis not only helps to discover and eliminate duplicate data, but also improves data quality, reduces data storage costs, and provides a more reliable basis for data-driven decision-making. In addition, duplication analysis also helps to establish data consistency and integrity, laying the foundation for cross-departmental data sharing and integration.

[0004] However, in practical applications, common duplicate checking rules are usually based on similarity analysis, which is cumbersome. For some smaller scenarios or scenarios with small amounts of data, using complex duplicate checking rules will result in a loss of efficiency. Summary of the invention

[0005] The present application provides an application data duplication checking method, device, equipment and storage medium to solve the defects of low efficiency and poor accuracy in the prior art.

[0006] In a first aspect, the present application provides a method for checking duplicate application data, the method comprising:

[0007] Obtain a word segmentation set of target application data;

[0008] Analyze and process the word segmentation set to obtain a weight value of each word segmentation in the word segmentation set;

[0009] Determine the keywords in the word segmentation set according to the weight values ​​of the multiple word segments, and establish an association relationship between the keywords and the target application data;

[0010] The similarity between the keywords of the target application data and the keywords of the existing application data is calculated, and whether the target application data is repeated is determined according to the similarity calculation result.

[0011] Optionally, obtaining a word segmentation set of target application data includes:

[0012] Obtain target application data at regular intervals, and extract text of the target application data in multiple dimensions to obtain text content corresponding to the multiple dimensions;

[0013] Splitting the text contents corresponding to the multiple dimensions respectively to obtain a sub-word set of each dimension;

[0014] The stop words and punctuation marks in the sub-segmentation sets of the multiple dimensions are filtered, and the multiple sub-segmentation sets after filtering are used as the segmentation sets of the target application data.

[0015] Optionally, the analyzing and processing the word set to obtain a weight value of each word in the word set includes:

[0016] Count the number of occurrences of each word in multiple word sets in the corresponding dimension text;

[0017] Determine a position weight of each word in the plurality of word sets according to a position where each word in the plurality of word sets appears in the corresponding dimension text;

[0018] The weight value of each word in the word set is determined according to the number of occurrences of each word in the multiple word sets in the corresponding dimension text and the position weight of each word in the multiple word sets.

[0019] Optionally, determining the position weight of each word in the plurality of word sets according to the position where each word in the plurality of word sets appears in the corresponding dimension text includes:

[0020] If a participle appears in the first part of the corresponding text, the position weight value of the participle is determined to be X;

[0021] If the participle appears in the second part of the corresponding text, the position weight value of the participle is determined to be Y;

[0022] If a word segment appears in the remaining parts of the corresponding text except the first and second parts, the position weight value of the word segment is determined to be Z.

[0023] Optionally, determining the weight value of each segmentation in the segmentation set according to the number of occurrences of each segmentation in the plurality of segmentation sets in the corresponding dimension text and the position weight of each segmentation in the plurality of segmentation sets includes:

[0024] Determine whether each word in the sub-word sets of the multiple dimensions appears only once in the corresponding dimension text;

[0025] If yes, determining a first weight value of the word according to a position of a single occurrence of the word in the corresponding dimension text;

[0026] If not, then according to the multiple positions where the word segment appears in the corresponding dimension text, the sum of the position weights corresponding to the multiple positions is calculated to determine the first weight value of the word segment;

[0027] The number of occurrences and the first position weight values ​​of the sub-participle sets of the multiple dimensions in multiple different dimensions are combined to obtain the total number of occurrences and the second weight value of each participle in the total participle set.

[0028] Optionally, the step of combining the occurrence counts and first position weight values ​​of the sub-segmentation sets of the multiple dimensions in multiple different dimensions to obtain the total occurrence count and the second weight value of each segmentation in the total segmentation set includes:

[0029] Determine the total number of occurrences of each segmentation in the total segmentation set according to the number of occurrences of each segmentation in the multiple dimensional sub-segmentation sets in multiple different dimensions;

[0030] According to the first weight value of each word segmentation in the plurality of dimensional sub-word segmentation sets and the dimension to which the word segmentation belongs, a second weight value of each word segmentation in the total word segmentation set is determined.

[0031] Optionally, determining the keywords in the word segmentation set according to the weight values ​​of the multiple word segments includes:

[0032] Calculate the key index of each participle in the total set of participles according to the total number of occurrences of each participle in the total set of participles and the second weight value of each participle in the total set of participles;

[0033] Sorting the multiple key indicators in descending order of key indicators;

[0034] The segmented words corresponding to the first preset proportion of key indicators after sorting are used as keywords of the total set of segmented words.

[0035] In a second aspect, the present application provides an application data duplication checking device, the device comprising:

[0036] An acquisition module is used to acquire a word segmentation set of target application data;

[0037] A processing module, used for analyzing and processing the word set to obtain a weight value of each word in the word set;

[0038] The processing module is further used to determine the keywords in the word segmentation set according to the weight values ​​of the multiple word segments, and establish an association relationship between the keywords and the target application data;

[0039] A calculation module, used to calculate the similarity between the keywords of the target application data and the keywords of the existing application data;

[0040] A judgment module is used to judge whether the target application data is repeated according to the similarity result.

[0041] Optionally, the acquisition module is further used to periodically acquire target application data;

[0042] The processing module is further used to extract texts of the target application data in multiple dimensions to obtain text contents corresponding to the multiple dimensions;

[0043] The processing module is further used to split the text contents corresponding to the multiple dimensions respectively to obtain a sub-word set of each dimension;

[0044] The processing module is further used to filter the stop words and punctuation marks in the sub-segmentation sets of the multiple dimensions, and use the filtered multiple sub-segmentation sets as the segmentation sets of the target application data.

[0045] Optionally, the application data duplication checking device further includes: a determination module;

[0046] The processing module is further used to count the number of occurrences of each word in the plurality of word sets in the corresponding dimension text;

[0047] The determination module is used to determine the position weight of each word in the plurality of word sets according to the position where each word in the plurality of word sets appears in the corresponding dimension text;

[0048] The determination module is further used to determine the weight value of each segmentation in the segmentation set according to the number of occurrences of each segmentation in the corresponding dimensional text and the position weight of each segmentation in the multiple segmentation sets.

[0049] Optionally, the determination module is further configured to determine that the position weight value of the word is X if the word segmentation appears in the first part of the corresponding text;

[0050] The determination module is further configured to determine that the position weight value of the word is Y if the word segmentation appears in the second part of the corresponding text;

[0051] The determination module is further configured to determine the position weight value of the word as Z if the word segmentation appears in the remaining parts of the corresponding text except the first and second parts.

[0052] Optionally, the judgment module is further used to judge whether the number of occurrences of each word in the sub-word sets of the multiple dimensions in the corresponding dimension text is single;

[0053] The determination module is further configured to determine, when each segmentation word in the set of sub-segmentation words of the multiple dimensions appears only once in the text of the corresponding dimension, a first weight value of the segmentation word according to a position of the single appearance of the segmentation word in the text of the corresponding dimension;

[0054] The determination module is further configured to, when the number of occurrences of each segmentation word in the sub-segmentation word set of the multiple dimensions in the corresponding dimensional text is not single, calculate the sum of position weights corresponding to the multiple positions where the segmentation word appears in the corresponding dimensional text, and determine a first weight value of the segmentation word;

[0055] The processing module is further used to merge the occurrence times and first position weight values ​​of the sub-segmentation sets of the multiple dimensions in multiple different dimensions to obtain the total occurrence times and second weight value of each segmentation in the total segmentation set.

[0056] Optionally, the determination module is further configured to determine the total number of occurrences of each word in the total word set according to the number of occurrences of each word in the multiple dimensional sub-word sets in multiple different dimensions;

[0057] The determination module is further configured to determine a second weight value of each word in the total word set according to the first weight value of each word in the plurality of dimensional sub-word sets and the dimension to which the word belongs.

[0058] Optionally, the calculation module is further used to calculate the criticality index of each participle in the total participle set according to the total number of occurrences of each participle in the total participle set and the second weight value of each participle in the total participle set;

[0059] The processing module is further used to sort the multiple key indicators in descending order of key indicators;

[0060] The processing module is further used to use the segmented words corresponding to the first preset proportion of key indicators after sorting as keywords of the total set of segmented words.

[0061] In a third aspect, the present application provides an application data duplication checking device, comprising:

[0062] Memory;

[0063] processor;

[0064] Wherein, the memory stores computer-executable instructions;

[0065] The processor executes the computer-executable instructions stored in the memory to implement the application data duplication checking method as described in the first aspect and various possible implementation methods of the first aspect.

[0066] In a fourth aspect, the present application provides a computer storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the application data duplication checking method as described in the first aspect and various possible implementations of the first aspect.

[0067] The present application provides a method, device, equipment and storage medium for checking duplicate application data. The method obtains a word segmentation set of target application data; analyzes and processes multiple word segmentation sets to obtain the weight value of each word segmentation in the word segmentation set; determines the keywords in the word segmentation set according to the weight values ​​of the multiple word segmentations, and establishes an association relationship between the keywords and the target application data; calculates the similarity between the keywords of the target application data and the keywords of the existing application data, and determines whether the target application data is repeated according to the similarity calculation result, thereby improving the efficiency and accuracy of checking duplicate application data. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0069] Figure 1 Schematic diagram of the process of the application data duplication checking method provided for this application Figure 1 ;

[0070] Figure 2 Schematic diagram of the process of the application data duplication checking method provided for this application Figure 2 ;

[0071] Figure 3 A schematic diagram of the structure of the application data duplication checking device provided for this application;

[0072] Figure 4 A schematic diagram of the structure of the application data duplication checking device provided for this application.

[0073] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0074] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0075] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein.

[0076] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in 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 "exemplary" or "for example" is intended to present related concepts in a specific way.

[0077] With the rapid development of computer technology, units and institutions are increasingly relying on digital solutions in their daily operations. This digital transformation has brought revolutionary changes. First, digital solutions improve work efficiency, allowing units and institutions to process large amounts of data and information more quickly and accurately. Through automated processes and digital tools, workflows become more efficient, saving time and human resources. Second, digital transformation enhances transparency and information sharing. Through digital platforms and systems, units and institutions can share data and information more easily, promoting internal collaboration and communication. Improved transparency helps build trust and strengthen internal cooperation, while also improving transparency to external stakeholders and enhancing the credibility of the organization.

[0078] The irregularity and duplication of data may lead to inconsistent information, redundant waste and wrong decisions. While managing large amounts of data, ensuring the accuracy, completeness and consistency of data has become an important challenge for units and institutions. In order to meet these challenges, units and institutions can use data management systems, data quality tools and duplication analysis technology to optimize data management processes. By standardizing data entry rules, establishing data quality monitoring mechanisms, and regularly performing data cleaning and duplication analysis, data quality can be effectively improved, the existence of redundant data can be reduced, thereby ensuring data accuracy and consistency and providing reliable data support for decision-making.

[0079] However, existing methods for checking duplicate application data are usually based on similarity analysis, which is cumbersome and not applicable to some smaller-scale or data-intensive scenarios, thus affecting the accuracy of the duplicate checking results. Furthermore, the use of complex duplicate checking rules will lead to inefficient duplicate checking.

[0080] In response to the above problems, the present application proposes a method, device, equipment and storage medium for checking application data for duplication. The method analyzes the application data, determines the characterizing keywords of the application data, compares the characterizing keywords of the application data with the keywords of existing application data, and then determines whether there is a duplication with the existing application data based on the characterizing keywords. This method improves the efficiency and accuracy of data processing, helps to quickly discover duplicate data in large-scale data sets, and reduces the impact of duplicate data on data analysis and application.

[0081] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0082] Figure 1 Schematic diagram of the process of the application data duplication checking method provided for the application embodiment Figure 1 .like Figure 1 As shown, the application data duplication checking method provided in this embodiment includes:

[0083] S101, obtaining a word segmentation set of target application data.

[0084] The target application data is acquired at regular intervals, and word segmentation is performed on the target application data according to certain rules or algorithms, so that the text data of the target application data is divided into a set of short words or phrases.

[0085] The rule-based word segmentation method segments text by setting a series of rules, such as segmenting based on spaces, punctuation marks, or specific separators. This method is simple and direct and is suitable for data in some specific formats.

[0086] Specifically, target application data is obtained at regular intervals, and the text contents of the three parts of construction purpose, application introduction, and detailed description in the application record are obtained respectively, and the text contents are split into word sets under each dimension accordingly.

[0087] S102: Analyze and process multiple word segmentation sets to obtain a weight value of each word segmentation in the word segmentation sets.

[0088] Among them, analyzing and processing multiple word sets to obtain the weight value of each word can help understand the importance and relevance of each word in the text. This analysis helps to mine the potential information and features of text data.

[0089] S103: Determine keywords in the word segmentation set according to the weight values ​​of the multiple word segments, and establish an association relationship between the keywords and the target application data.

[0090] Among them, according to the weight values ​​of multiple segmented words, determining the keywords in the segmented word set and establishing the association relationship between the keywords and the target application data can help understand the theme and key information of the text content. By analyzing the weight values ​​of multiple segmented words, it is possible to determine which words have higher importance in the text, thereby identifying keywords and establishing an association relationship with the target application data.

[0091] According to the weight value of the word segmentation, a certain threshold or algorithm can be selected to extract keywords; when determining keywords, keyword filtering can be performed according to business needs and text characteristics to exclude some irrelevant words. For example, stop words, common words or common words in a specific field can be excluded; the keywords and target application data are associated through the target application data to which the keywords belong.

[0092] Through the above methods and technologies, keywords can be determined based on the weight values ​​of multiple word segments, and the association between keywords and target application data can be established. This keyword analysis method helps to mine the potential information and features of text data, providing deeper insights and support for text understanding and application.

[0093] S104: Calculate the similarity between the keywords of the target application data and the keywords of the existing application data, and determine whether the target application data is repeated based on the similarity calculation result.

[0094] Among them, the similarity between the keywords of the target application data and the keywords of the existing application data is calculated, and whether the target application data is repeated is determined based on the similarity calculation result. This step can use a text similarity calculation method to compare the similarity between the keywords of the target application data and the keywords of the existing application data.

[0095] Convert keywords into word vector representations, and then calculate the similarity between word vectors. By comparing the distance or similarity between word vectors, the semantic similarity between keywords can be evaluated. Machine learning methods can also be used to calculate similarity based on keyword features and context information.

[0096] By calculating the similarity between the keywords of the target application data and the keywords of the existing application data, and judging whether the target application data is repeated based on the similarity calculation results, text deduplication and data matching can be effectively performed to improve the efficiency and accuracy of data processing. This method helps to identify duplicate information, reduce redundant data, and optimize data management and analysis processes.

[0097] This embodiment proposes an application data duplication checking method, which obtains a word segmentation set of target application data; analyzes and processes multiple word segmentation sets to obtain a weight value of each word in the word segmentation set; determines keywords in the word segmentation set based on the weight values ​​of the multiple word segmentations, and establishes an association between the keywords and the target application data; calculates the similarity between the keywords of the target application data and the keywords of the existing application data, and determines whether the target application data is repeated based on the similarity calculation result, thereby improving the efficiency and accuracy of application data duplication checking.

[0098] Figure 2 This is a flow chart of the application data duplication checking method provided in the embodiment of the present application. Figure 2 This embodiment is in Figure 1 Based on the embodiment, the method for checking duplicate application data is described in detail. Figure 2 As shown, the application data duplication checking method provided in this embodiment includes:

[0099] S201. Obtain target application data at a regular interval, and extract texts of the target application data in multiple dimensions to obtain text contents corresponding to the multiple dimensions.

[0100] Among them, web crawler technology or application programming interface (API) interface is used to regularly obtain target application data, and text extraction is performed on the obtained target application data. According to needs and business goals, the text content is analyzed and extracted according to multiple dimensions to obtain text content corresponding to multiple dimensions.

[0101] Specifically, the target application data is obtained at regular intervals every morning, and the text content of the target application data in three dimensions, namely, construction purpose, application introduction, and detailed description, is extracted to obtain the text content of the construction purpose dimension, the text content of the application introduction dimension, and the text content of the detailed description dimension.

[0102] S202: Split the text contents corresponding to the multiple dimensions respectively to obtain a sub-word set of each dimension.

[0103] Among them, for the text content of each dimension, the text content corresponding to multiple dimensions is split and processed respectively, and the sub-word set of each dimension is extracted.

[0104] Specifically, the text content corresponding to each dimension is segmented, the text content is split according to words, and the text content is split into a sequence consisting of multiple words.

[0105] By splitting the text content corresponding to multiple dimensions and obtaining a set of sub-words for each dimension, we can analyze and understand the text data more carefully, providing more details and information for subsequent text mining, information retrieval and data analysis.

[0106] S203. Filter out stop words and punctuation marks in the sub-tokenized sets of multiple dimensions, and use the filtered sub-tokenized sets of multiple dimensions as the tokenized set of the target application data.

[0107] Among them, punctuation marks usually do not contain actual information in text analysis, so punctuation marks need to be removed from the sub-tokenized sets. Regular expressions or string processing methods can be used to filter out punctuation marks. In addition to stop words and punctuation marks, there may also be some special characters or symbols that need to be processed. These special characters can be identified and filtered according to specific situations to ensure the cleanliness and standardization of the tokenized set. Sometimes, words also need to be filtered according to their parts of speech. For example, only retain parts of speech with actual meanings such as nouns and verbs. A part-of-speech tagging tool can be used to identify the parts of speech, and then words can be filtered according to needs.

[0108] Filter out stop words and punctuation marks in the sub-tokenized sets of multiple dimensions. Stop words refer to words that have no actual meaning or are unimportant in text analysis, such as "de", "shi", "zai", etc. A predefined stop word list or automatic identification of stop words based on text data can be used, and then these stop words are removed from the sub-tokenized sets. Merge the sub-tokenized sets of multiple dimensions that have been filtered by stop words and punctuation marks into the final tokenized set of the target application data.

[0109] By filtering out stop words and punctuation marks in the sub-tokenized sets of multiple dimensions, a cleaner and more useful tokenized set can be obtained, providing a more reliable data basis for subsequent text analysis and mining, and helping to improve the quality and accuracy of text data.

[0110] S204. Count the number of occurrences of each token in the corresponding dimension text in multiple tokenized sets.

[0111] Among them, perform word frequency statistics on the tokenized set of each dimension, that is, count the number of occurrences of each token in the corresponding dimension text. By analyzing the number of occurrences of each token in the corresponding dimension text, store the number of occurrences of each token in the corresponding dimension text in a database or file. Subsequently, keywords or key phrases can be extracted according to the number of occurrences of each token in the corresponding dimension text, providing support for subsequent data mining and decision-making.

[0112] S205. If a token appears in the first part of the corresponding text, determine that the position weight value of the token is X.

[0113] S206. If a token appears in the second part of the corresponding text, determine that the position weight value of the token is Y.

[0114] S207: If the word segmentation appears in the remaining parts of the corresponding text except the first and second parts, the position weight value of the word segmentation is determined to be Z.

[0115] Among them, different weight values ​​are assigned according to the position information of the segmentation in the text to reflect its importance and influence in the text. According to the needs, the position weight values ​​of the segmentation in different parts are determined in advance. For example: if the segmentation appears in the first part of the corresponding text, the position weight value of the segmentation is determined to be X; if the segmentation appears in the second part of the corresponding text, the position weight value of the segmentation is determined to be Y; if the segmentation appears in the remaining parts of the corresponding text except the first and second parts, the position weight value of the segmentation is determined to be Z. Among them, X, Y, and Z are greater than 0, and the size of X, Y, and Z is not limited. X, Y, and Z can be any positive number and are not limited to a specific range. The size relationship between X, Y, and Z can be arbitrary, and there is no specific size limit between them. Therefore, X, Y, and Z can take different positive real values ​​respectively, and the size relationship between them depends on the specific project requirements.

[0116] Identify and mark the position of each word in the text to determine the part it belongs to; assign a corresponding position weight value to each word according to its position in the text. Specifically, according to the set rules, assign X, Y, and Z values ​​to the word respectively, so as to determine the position weight of each word in the multiple word sets.

[0117] S208, determining whether each word in the sub-word sets of multiple dimensions appears once in the corresponding dimension text, if so, executing step S209; otherwise, executing step S210.

[0118] S209: Determine a first weight value of the word segmentation according to the position of a single occurrence of the word segmentation in the corresponding dimension text.

[0119] S210. According to multiple positions where the segmented word appears in the corresponding dimension text, calculate the sum of the position weights corresponding to the multiple positions to determine the first weight value of the segmented word.

[0120] Among them, the number of occurrences of the sub-segmentation set of each dimension in the corresponding dimension text is counted. It is determined whether the number of occurrences of each segmentation is single, that is, whether it only appears once; if the segmentation only appears once in the corresponding dimension text, the first weight value of the segmentation is determined according to the position of the segmentation in the text; if the segmentation appears multiple times in the corresponding dimension text, it is necessary to calculate the sum of the position weights corresponding to multiple positions. Obtain the first weight value of the segmentation.

[0121] Specifically, the number of occurrences of the sub-word set of each dimension in the text of the corresponding dimension is counted. If the word appears only once in the corresponding dimension, the first weight value of the word is determined according to the position where the word appears. For example, when the word appears in the first part of the text of the corresponding dimension, the position weight value of the word is X, and the first weight value of the word is determined to be X; if the word appears more than once in the corresponding dimension, the sum of the position weights corresponding to the multiple positions where the word appears is calculated, for example, when the word appears in the first part and the second part of the corresponding dimension, the position weight of the word in the first part of the corresponding dimension is X, and the position weight in the second part of the corresponding dimension is Y, and the first weight of the word is determined to be X+Y.

[0122] S211. Determine the total number of occurrences of each word in the total word set according to the number of occurrences of each word in the multiple dimensional sub-word sets in multiple different dimensions.

[0123] Among them, the sub-segmentation sets of multiple dimensions are merged into a total segmentation set, and the number of occurrences of each segmentation in the total segmentation set is counted. According to the number of occurrences of each segmentation in multiple different dimensions, the number of occurrences of each segmentation in the total segmentation set is accumulated. The sub-segmentation set of each dimension can be traversed, and the number of occurrences of each segmentation in the corresponding dimension can be accumulated to the total segmentation set to determine the total number of occurrences of each segmentation in the total segmentation set.

[0124] S212: Determine a second weight value of each word in the total word set according to the first weight value of each word in the multiple dimensional sub-word sets and the dimension to which the word belongs.

[0125] Among them, the sub-word sets of multiple dimensions are merged into a total word set, and the first weight value of the word in the total set is obtained according to the first weight value of each word in each dimension. The second weight value of the word is calculated according to the first weight value of the word in the total set and the dimension to which the word belongs. The calculation method can be determined according to specific needs and rules. For example, a weighted average or sum operation can be performed according to the first weight values ​​of the word in different dimensions.

[0126] In a possible implementation, the dimension to which the participle belongs is assigned different dimensional weights. If the participle belongs to the construction purpose dimension, the dimensional weight of the participle is 2; if the participle belongs to the application introduction dimension, the dimensional weight of the participle is 1; if the participle belongs to the detailed description dimension, the dimensional weight of the participle is 3. If the participle only appears in the construction purpose dimension and the first weight of the participle is X, then the second weight value of the participle is determined to be: 2X; if the participle appears in both the construction purpose dimension and the application introduction dimension, and the first weight value of the participle is X, then the second weight value of the participle is determined to be: 2X+X.

[0127] S213: Calculate the criticality index of each participle in the total participle set according to the total number of occurrences of each participle in the total participle set and the second weight value of each participle in the total participle set.

[0128] According to the total number of occurrences of each word in the total word set and the second weight value of each word in the total word set, the following formula is used to calculate the key index of each word in the total word set:

[0129]

[0130] F i represents the total weight of the jth word in text i, represents the total weight of all word segments in application data i, Represents the total word frequency of all application data, Indicates the average value of the total frequency of occurrence in the historical application data text library.

[0131] S214. Sort the multiple key indicators in descending order.

[0132] S215: Use the segmented words corresponding to the first preset proportion of key indicators after sorting as keywords of the total set of segmented words, and establish an association relationship between the keywords and the target application data.

[0133] Among them, according to the calculated key indicators, the segmented words are sorted in order from large to small according to the key indicators, and according to the preset ratio, the segmented words corresponding to the first preset ratio of key indicators after sorting are selected as the keywords of the total set of segmented words. An association relationship between keywords and target application data is established for subsequent application and analysis. This can be achieved by establishing a mapping table, database or other data structure between keywords and target application data. The established association relationship between keywords and target application data is stored in a database or file for subsequent data analysis and application.

[0134] S216: Calculate the similarity between the keywords of the target application data and the keywords of the existing application data.

[0135] S217: Determine whether the target application data is repeated based on the similarity calculation result.

[0136] Among them, a text similarity algorithm is used to calculate the similarity between the keywords of the target application data and the keywords of the existing application data, a similarity threshold is set, and whether the target application data is repeated with the existing application data is determined based on the similarity calculation result. If the similarity is higher than the set threshold, it can be considered that the target application data is repeated with the existing application data. Based on the result of the similarity calculation, it can be automatically or manually determined whether the target application data is repeated with the existing application data, and corresponding processing measures can be taken, such as merging duplicate data, deleting duplicate data, etc.

[0137] This embodiment proposes an application data duplicate checking method, which obtains target application data at a fixed time, extracts text content of the target application data in multiple dimensions; splits the text content of multiple dimensions respectively to obtain a sub-segmentation set of each dimension; filters stop words and punctuation marks in the sub-segmentation sets of multiple dimensions, and uses the filtered sub-segmentation sets as the segmentation sets of target application data; counts the number of occurrences of each segmentation in the multiple segmentation sets in the corresponding dimension text and determines the position weight value of the segmentation according to the position of the segmentation in the corresponding text; and calculates the position weight value of each segmentation in the sub-segmentation sets of multiple dimensions according to the number of occurrences of each segmentation in the corresponding dimension. The first weight value of each word segmentation is determined according to the number of occurrences and position in the text; multiple dimensional sub-word segmentation sets are merged to obtain a total word segmentation set; the key index of each word segmentation in the total word segmentation set is calculated according to the total number of occurrences of each word segmentation in the total word segmentation set and the second weight value of each word segmentation; the word segmentation corresponding to the first preset proportion of key indexes after sorting is used as the keyword of the total word segmentation set and the association relationship between the keyword and the target application data is established; the similarity between the keyword of the target application data and the keyword of the existing application data is calculated, and whether the target application data is repeated is judged according to the similarity calculation result, so as to improve the efficiency and accuracy of the duplicate checking of the application data.

[0138] Figure 3 The structural diagram of the application data duplication checking device provided for this application is as follows: Figure 3 As shown, the application data duplication checking device 300 provided in this embodiment includes:

[0139] An acquisition module 301 is used to acquire a word segmentation set of target application data;

[0140] The processing module 302 is used to analyze and process the word segmentation set to obtain a weight value of each word segmentation in the word segmentation set;

[0141] The processing module 302 is further used to determine the keywords in the word segmentation set according to the weight values ​​of the multiple word segments, and establish an association relationship between the keywords and the target application data;

[0142] A calculation module 303, used to calculate the similarity between the keywords of the target application data and the keywords of the existing application data;

[0143] The judgment module 304 is used to judge whether the target application data is repeated according to the similarity result.

[0144] Optionally, the acquisition module 301 is further used to periodically acquire target application data;

[0145] The processing module 302 is further used to extract texts of the target application data in multiple dimensions to obtain text contents corresponding to the multiple dimensions;

[0146] The processing module 302 is further used to split the text contents corresponding to the multiple dimensions respectively to obtain a sub-word set of each dimension;

[0147] The processing module 302 is further configured to filter the stop words and punctuation marks in the sub-segmentation sets of the multiple dimensions, and use the filtered sub-segmentation sets as the segmentation sets of the target application data.

[0148] Optionally, the application data duplication checking device further includes: a determination module 305;

[0149] The processing module 302 is further used to count the number of occurrences of each word in the plurality of word sets in the corresponding dimension text;

[0150] The determination module 305 is used to determine the position weight of each word in the multiple word sets according to the position where each word in the multiple word sets appears in the corresponding dimension text;

[0151] The determination module 305 is further configured to determine a weight value of each word in the word set according to the number of occurrences of each word in the multiple word sets in the corresponding dimension text and the position weight of each word in the multiple word sets.

[0152] Optionally, the determination module 305 is further configured to determine a position weight value of X for a segmented word if the segmented word appears in the first part of the corresponding text;

[0153] The determination module 305 is further configured to determine the position weight value of the word as Y if the word segmentation appears in the second part of the corresponding text;

[0154] The determination module 305 is further configured to determine the position weight value of the word as Z if the word segmentation appears in the remaining part of the corresponding text except the first part and the second part.

[0155] Optionally, the judgment module 304 is further configured to judge whether the number of occurrences of each word in the sub-word sets of the multiple dimensions in the corresponding dimension text is single;

[0156] The determination module 305 is further configured to determine a first weight value of each segmentation in the sub-segmentation set of the multiple dimensions according to a position of the single appearance of the segmentation in the corresponding dimensional text when the number of appearances of each segmentation in the corresponding dimensional text is single;

[0157] The determination module 305 is further configured to, when the number of occurrences of each segmentation word in the sub-segmentation word set of the multiple dimensions in the corresponding dimension text is not single, calculate the sum of position weights corresponding to the multiple positions where the segmentation word appears in the corresponding dimension text, and determine the first weight value of the segmentation word;

[0158] The processing module 302 is further configured to merge the occurrence counts and first position weight values ​​of the sub-segmented word sets of the multiple dimensions in multiple different dimensions to obtain the total occurrence count and second weight value of each segmented word in the total segmented word set.

[0159] Optionally, the determination module 305 is further configured to determine the total number of occurrences of each word in the total word set according to the number of occurrences of each word in the multiple dimensional sub-word sets in multiple different dimensions;

[0160] The determination module 305 is further configured to determine a second weight value of each word in the total word set according to the first weight value of each word in the multiple dimensional sub-word sets and the dimension to which the word belongs.

[0161] Optionally, the calculation module 303 is further configured to calculate a criticality index of each participle in the total participle set according to the total number of occurrences of each participle in the total participle set and the second weight value of each participle in the total participle set;

[0162] The processing module 302 is further used to sort the multiple key indicators in descending order of key indicators;

[0163] The processing module 302 is further configured to use the segmented words corresponding to the first preset proportion of key indicators after sorting as keywords of the total set of segmented words.

[0164] Figure 4 This is a schematic diagram of the structure of the application data duplication checking device provided by this application. Figure 4 As shown, the present application provides an application data duplication checking device, and the application data duplication checking device 400 includes: a receiver 401, a transmitter 402, a processor 403 and a memory 404.

[0165] Receiver 401, used for receiving instructions and data;

[0166] A transmitter 402, used for sending instructions and data;

[0167] Memory 404, for storing computer-executable instructions;

[0168] The processor 403 is used to execute the computer-executable instructions stored in the memory 404 to implement the various steps performed by the application data duplication checking method in the above embodiment. For details, please refer to the relevant description in the above application data duplication checking method embodiment.

[0169] Optionally, the memory 404 may be independent or integrated with the processor 403 .

[0170] When the memory 404 is independently provided, the electronic device further includes a bus for connecting the memory 404 and the processor 403 .

[0171] The present application also provides a computer storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, an application data duplication checking method as performed by the above-mentioned application data duplication checking device is implemented.

[0172] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0173] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0174] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for checking duplicate application data, characterized in that: The method comprises: Obtain a word segmentation set of target application data; Analyze and process the word segmentation set to obtain a weight value of each word segmentation in the word segmentation set; Determine the keywords in the word segmentation set according to the weight values ​​of the multiple word segments, and establish an association relationship between the keywords and the target application data; The similarity between the keywords of the target application data and the keywords of the existing application data is calculated, and whether the target application data is repeated is determined according to the similarity calculation result.

2. The method according to claim 1, characterized in that The step of obtaining a word segmentation set of target application data includes: Obtain target application data at regular intervals, and extract text of the target application data in multiple dimensions to obtain text content corresponding to the multiple dimensions; Splitting the text contents corresponding to the multiple dimensions respectively to obtain a sub-word set of each dimension; The stop words and punctuation marks in the sub-segmentation sets of the multiple dimensions are filtered, and the multiple sub-segmentation sets after filtering are used as the segmentation sets of the target application data.

3. The method according to claim 1, characterized in that: The analyzing and processing the word set to obtain a weight value of each word in the word set includes: Count the number of occurrences of each word in multiple word sets in the corresponding dimension text; Determine a position weight of each word in the plurality of word sets according to a position where each word in the plurality of word sets appears in the corresponding dimension text; The weight value of each word in the word set is determined according to the number of occurrences of each word in the multiple word sets in the corresponding dimension text and the position weight of each word in the multiple word sets.

4. The method according to claim 3, characterized in that The determining, according to the position where each word in the plurality of word sets appears in the corresponding dimension text, the position weight of each word in the plurality of word sets comprises: If a participle appears in the first part of the corresponding text, the position weight value of the participle is determined to be X; If the participle appears in the second part of the corresponding text, the position weight value of the participle is determined to be Y; If a word segment appears in the remaining parts of the corresponding text except the first and second parts, the position weight value of the word segment is determined to be Z.

5. The method according to claim 3, characterized in that: Determining the weight value of each segmentation in the segmentation set according to the number of occurrences of each segmentation in the corresponding dimension text and the position weight of each segmentation in the segmentation set includes: Determine whether each word in the sub-word sets of the multiple dimensions appears only once in the text of the corresponding dimension; If yes, determining a first weight value of the segmentation according to a position of a single occurrence of the segmentation in the corresponding dimension text; If not, then according to the multiple positions where the word segment appears in the corresponding dimension text, the sum of the position weights corresponding to the multiple positions is calculated to determine the first weight value of the word segment; The number of occurrences and the first position weight values ​​of the sub-participle sets of the multiple dimensions in multiple different dimensions are combined to obtain the total number of occurrences and the second weight value of each participle in the total participle set.

6. The method according to claim 5, characterized in that The merging of the occurrence counts and first position weight values ​​of the sub-participle sets of the multiple dimensions in multiple different dimensions to obtain the total occurrence count and second weight value of each participle in the total participle set includes: Determine the total number of occurrences of each segmentation in the total segmentation set according to the number of occurrences of each segmentation in the multiple dimensional sub-segmentation sets in multiple different dimensions; According to the first weight value of each word segmentation in the plurality of dimensional sub-word segmentation sets and the dimension to which the word segmentation belongs, a second weight value of each word segmentation in the total word segmentation set is determined.

7. The method according to claim 6, characterized in that The step of determining the keywords in the word segmentation set according to the weight values ​​of the plurality of word segments includes: Calculate the key index of each participle in the total set of participles according to the total number of occurrences of each participle in the total set of participles and the second weight value of each participle in the total set of participles; Sorting the multiple key indicators in descending order of key indicators; The segmented words corresponding to the first preset proportion of key indicators after sorting are used as keywords of the total set of segmented words.

8. An application data duplication checking device, characterized in that: The device comprises: An acquisition module is used to acquire a word segmentation set of target application data; A processing module, used for analyzing and processing the word set to obtain a weight value of each word in the word set; The processing module is further used to determine the keywords in the word segmentation set according to the weight values ​​of the multiple word segments, and establish an association relationship between the keywords and the target application data; A calculation module, used to calculate the similarity between the keywords of the target application data and the keywords of the existing application data; A judgment module is used to judge whether the target application data is repeated according to the similarity result.

9. An application data duplication checking device, characterized in that: include: Memory; processor; Wherein, the memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the application data duplication checking method as described in any one of claims 1-7.

10. A computer storage medium, characterized in that: The computer storage medium stores computer execution instructions, which, when executed by a processor, are used to implement the application data duplication checking method as described in any one of claims 1 to 7.