Data deduplication processing method and device, equipment and storage medium
Through the classification and clustering of keyword data sets and sample area information, combined with key field information for deduplication processing, the problem of inaccurate deduplication results for real estate listing samples is solved, and accurate deduplication and consistency of property object data are achieved. merge.
Patent Information
- Application Number
- CN202410618406.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-08-23
AI Technical Summary
In the existing technology, the deduplication results of real estate listing samples are inaccurate, mainly because the weight of the core fields of the sample relies on manual experience judgment, resulting in poor validity of the similarity score.
By classifying and clustering samples based on keyword data sets and sample area information, and combining key field information for deduplication processing, deduplication data is obtained to ensure consistent merging of key features of object samples.
It achieves accurate deduplication of property object data, solves the problem of inaccurate deduplication results in real estate listing samples, and improves the accuracy and consistency of data processing.
Smart Images

Figure CN118535559A
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a data deduplication processing method, device, equipment and storage medium. Background Art
[0002] With the rapid development of the real estate market, there are a large number of intermediary agencies engaged in real estate sales and leasing. Due to the information isolation caused by the independent operation of each intermediary agency, when obtaining all the property listing samples, there are often a large number of duplicate and incomplete data, resulting in the inability to merge property listing samples from different sources for bank data backend processing and analysis.
[0003] In the prior art, the deduplication of real estate listing samples is based on the determination of identical samples after the similarity of the core fields of the samples reaches a certain similarity score, and then the identical samples are deduplicated.
[0004] However, since the weights of the core fields of the real estate listing samples rely on manual experience and judgment, the calculated similarity scores are less effective, resulting in inaccurate deduplication results for the real estate listing samples. Summary of the invention
[0005] The present application provides a data deduplication processing method, device, equipment and storage medium to solve the problem of inaccurate deduplication results of real estate listing samples.
[0006] In a first aspect, the present application provides a data deduplication processing method, comprising: obtaining sample classification data based on a keyword data set and at least one sample identifier to be classified, the keyword data set being a set of reference keywords determined based on a reference property object identifier, the sample identifier to be classified being used to indicate at least two similar keywords corresponding to the reference keyword, and property object data corresponding to the similar keywords, the sample classification data comprising a target reference keyword, and property object data corresponding to the target reference keyword; obtaining sample clustering data based on sample area information and the sample classification data, the sample area information representing a sample area corresponding to an object sample of the property object corresponding to the target reference keyword, the sample clustering data being a result of data aggregation of the property object data corresponding to the target reference keyword based on the sample area; performing deduplication processing on the sample clustering data based on key field information to obtain deduplication data corresponding to the target reference keyword, the key field information representing key sample features of the object sample.
[0007] In one possible design, the sample clustering data is obtained based on the sample area information and the sample classification data, including: obtaining target area information based on the sample area information, the target area information representing the sample area interval corresponding to the object sample of the property object corresponding to the target reference keyword; clustering the sample classification data based on the target area information to obtain the sample clustering data.
[0008] In one possible design, the method also includes: obtaining supplementary field information based on the deduplicated data and the sample clustering data, the supplementary field information representing the property object data corresponding to the supplementary sample features of the object sample, the supplementary sample features including sample area, sample price, number of kitchens, and number of bathrooms; obtaining object sample information based on the deduplicated data and the supplementary field information, the object sample information representing the property object data of the object sample determined based on the key sample features and the supplementary sample features.
[0009] In a possible design, before obtaining sample classification data based on a keyword data set and at least one sample identifier to be classified, the method includes: performing word segmentation on the reference property object identifier to obtain an identifier word segmentation data set, wherein the identifier word segmentation data set is used to indicate a word set of identifier word segments corresponding to the reference property object identifier; obtaining word segmentation frequency information based on the identifier word segmentation data set, wherein the word segmentation frequency information represents the number of times the identifier word segmentation appears in the identifier word segmentation data set; and obtaining the keyword data set based on the word segmentation frequency information.
[0010] In a possible design, obtaining the keyword data set according to the word segmentation frequency information includes: acquiring a preset interference word data set; and obtaining the keyword data set according to the word segmentation frequency information and the preset interference word data set.
[0011] In a possible design, the key sample features include: building year, building, floor, total floors, number of rooms, number of halls, indoor structure, object sample orientation, and location of the object sample on the floor.
[0012] In a second aspect, the present application provides a data deduplication processing device, comprising:
[0013] a classification module, configured to obtain sample classification data according to a keyword data set and at least one sample identifier to be classified, wherein the keyword data set is a set of reference keywords determined based on a reference property object identifier, the sample identifier to be classified is used to indicate at least two similar keywords corresponding to the reference keywords, and property object data corresponding to the similar keywords, the sample classification data including a target reference keyword, and property object data corresponding to the target reference keyword;
[0014] A clustering module, configured to obtain sample clustering data according to sample area information and the sample classification data, wherein the sample area information represents a sample area corresponding to an object sample of a property object corresponding to the target reference keyword, and the sample clustering data is a result of data aggregation of the property object data corresponding to the target reference keyword based on the sample area;
[0015] A determination module is used to perform deduplication processing on the sample clustering data according to key field information to obtain deduplication data corresponding to the target reference keyword, wherein the key field information represents key sample features of the object sample.
[0016] In one possible design, when the clustering module obtains the sample clustering data based on the sample area information and the sample classification data, it is specifically used to: obtain target area information based on the sample area information, wherein the target area information represents the sample area interval corresponding to the object sample of the property object corresponding to the target reference keyword; and cluster the sample classification data based on the target area information to obtain the sample clustering data.
[0017] In one possible design, the determination module is also used to: obtain supplementary field information based on the deduplicated data and the sample clustering data, the supplementary field information representing the property object data corresponding to the supplementary sample features of the object sample, the supplementary sample features including sample area, sample price, number of kitchens, and number of bathrooms; obtain object sample information based on the deduplicated data and the supplementary field information, the object sample information representing the property object data of the object sample determined based on the key sample features and the supplementary sample features.
[0018] In a possible design, before obtaining sample classification data based on a keyword data set and at least one sample identifier to be classified, the classification module is specifically used to: perform word segmentation on the reference property object identifier to obtain an identifier word segmentation data set, wherein the identifier word segmentation data set is used to indicate a word set of identifier word segments corresponding to the reference property object identifier; obtain word segmentation frequency information based on the identifier word segmentation data set, wherein the word segmentation frequency information represents the number of times the identifier word segmentation appears in the identifier word segmentation data set; and obtain the keyword data set based on the word segmentation frequency information.
[0019] In a possible design, when the classification module obtains the keyword data set according to the word segmentation frequency information, it is specifically used to: obtain a preset interference word data set; and obtain the keyword data set according to the word segmentation frequency information and the preset interference word data set.
[0020] In a possible design, the key sample features include: building year, building, floor, total floors, number of rooms, number of halls, indoor structure, object sample orientation, and location of the object sample on the floor.
[0021] In a third aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor and a memory; the memory stores computer-executable instructions; the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the data deduplication processing method described in the first aspect and various possible designs of the first aspect.
[0022] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the data deduplication processing method described in the first aspect and various possible designs of the first aspect is implemented.
[0023] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the data deduplication processing method described in the first aspect and various possible designs of the first aspect.
[0024] The data deduplication processing method, device, equipment and storage medium provided by the present application obtain sample classification data based on a keyword data set and at least one sample identifier to be classified, wherein the keyword data set is a set of reference keywords determined based on a reference property object identifier, and the sample identifier to be classified is used to indicate at least two similar keywords corresponding to the reference keyword, and the property object data corresponding to the similar keywords, and the sample classification data includes a target reference keyword and the property object data corresponding to the target reference keyword; sample clustering data is obtained based on sample area information and the sample classification data, the sample area information represents the sample area corresponding to the object sample of the property object corresponding to the target reference keyword, and the sample clustering data is the result of data aggregation of the property object data corresponding to the target reference keyword based on the sample area; the sample clustering data is deduplicated based on key field information to obtain deduplicated data corresponding to the target reference keyword, and the key field information represents the key sample characteristics of the object sample. On the basis of classifying at least two similar keywords and the property object data corresponding to the similar keywords into target reference keywords and property object data corresponding to the target reference keywords through the reference keywords in the keyword data set, the sample area of the object sample of the property object corresponding to the target reference keyword is further combined to perform data aggregation of each area segment to obtain the property object data for which data is aggregated based on the sample area, and then the data repeatability of the property object data for which data is aggregated based on the sample area is judged according to the key sample features of the object sample, and the object samples corresponding to the property object data with repeated key sample features are merged into the same object sample, thereby achieving deduplication of the property object data, that is, obtaining the deduplication data corresponding to the target reference keyword, thereby solving the problem of inaccurate deduplication results of the property object data, that is, solving the problem of inaccurate deduplication results of the real estate listing samples. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] 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.
[0026] Figure 1 An application scenario diagram of the data deduplication processing method provided in an embodiment of the present application;
[0027] Figure 2 A flowchart of a data deduplication processing method provided by an embodiment of the present application;
[0028] Figure 3 A schematic diagram of obtaining sample classification data based on the identification of samples to be classified provided in an embodiment of the present application;
[0029] Figure 4A schematic diagram of obtaining sample clustering data based on sample classification data provided in this application;
[0030] Figure 5 A schematic diagram of specific steps for supplementing sample features to obtain target sample features provided in this application;
[0031] Figure 6 Schematic diagram of the steps for obtaining a keyword dataset provided for this application;
[0032] Figure 7 A flowchart of a data deduplication processing method provided in another embodiment of the present application;
[0033] Figure 8 A schematic diagram of the structure of a data deduplication processing device provided in one embodiment of the present application;
[0034] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0035] 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
[0036] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0037] In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of information such as financial data or user data involved shall comply with the provisions of relevant laws and regulations and shall not violate public order and good morals.
[0038] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0039] Figure 1 This is an application scenario diagram of the data deduplication processing method provided in the embodiment of the present application. The data deduplication processing method provided in the embodiment of the present application can be applied to the scenario of real estate listing data analysis. For example, Figure 1 As shown, the execution subject of the method provided in the embodiment of the present application can be a cloud server, an electronic device or a terminal device. The cloud server is used as the execution subject for explanation. With the rapid development of the real estate market, there are a large number of intermediary agencies engaged in real estate sales and leasing. Due to the independent operation of each intermediary agency, information isolation is caused. After the cloud server receives the real estate listing information info_1 provided by the intermediary agency agen_1, the real estate listing information info_2 provided by the intermediary agency agen_2 and the real estate listing information info_3 provided by the intermediary agency agen_3, the cloud server deduplicates the real estate listing information info_1, the real estate listing information info_2 and the real estate listing information info_3 to obtain the deduplicated real estate listing information info_0; then, the cloud server sends the deduplicated real estate listing information info_0 to the bank data backend server, so that the bank data backend server generates the corresponding real estate listing data analysis results based on the deduplicated real estate listing information info_0, so as to facilitate the development of banking business.
[0040] Currently, the deduplication of real estate listing samples is carried out by calculating the text similarity of the sample core fields of the real estate listing samples. When the text similarity reaches the preset similarity score, it is determined to be the same real estate listing sample, and then the same real estate listing samples are deduplicated to obtain the deduplicated real estate listing information. However, since the weight of the sample core fields of the real estate listing samples depends on manual experience judgment, the calculated similarity score is not effective, resulting in inaccurate deduplication results of real estate listing samples.
[0041] 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.
[0042] Figure 2 A flowchart of a data deduplication processing method provided by an embodiment of the present application is as follows: Figure 2 As shown, the execution subject of the data deduplication processing method provided in this embodiment can be a cloud server, an electronic device or a terminal device. By way of example, this embodiment uses a cloud server as the execution subject of the method of this embodiment for explanation. The data deduplication processing method provided in this embodiment includes the following steps:
[0043] Step S101, obtaining sample classification data based on a keyword data set and at least one sample identifier to be classified, wherein the keyword data set is a set of reference keywords determined based on a reference property object identifier, and the sample identifier to be classified is used to indicate at least two similar keywords corresponding to the reference keywords, and property object data corresponding to the similar keywords, and the sample classification data includes a target reference keyword, and property object data corresponding to the target reference keyword.
[0044] Exemplarily, the keyword data set is determined based on the reference keyword corresponding to the reference property object identifier, and the similar keyword and the property object data of the similar keyword are matched with the corresponding sample identifier to be classified, and then based on the reference keyword and the corresponding at least two similar keywords, the property object data corresponding to the similar keyword are merged to obtain sample classification data, that is, the target reference keyword and the property object data corresponding to the target reference keyword are obtained. In a possible implementation, Figure 3 A schematic diagram of obtaining sample classification data based on the identification of samples to be classified provided in an embodiment of the present application, such as Figure 3 As shown, the sample identification to be classified is used to indicate Figure 1The real estate listing information info_1, real estate listing information info_2 and real estate listing information info_3 shown in the figure, the real estate listing information info_1 includes the sample identification to be classified simi_1_1 and the sample identification to be classified simi_1_2, the real estate listing information info_2 includes the sample identification to be classified simi_2_1 and the sample identification to be classified simi_2_2, and the real estate listing information info_3 includes the sample identification to be classified simi_3_1 and the sample identification to be classified simi_3_2. Then, through the reference keywords key_1, key_2, key_3 and key_4 in the keyword data set, the above sample identifications to be classified are matched and classified, and the corresponding target reference keyword key_1 can be obtained. and key_2, wherein the target reference keyword key_1 corresponds to the sample identification to be classified simi_1_1, the sample identification to be classified simi_2_1, and the sample identification to be classified simi_3_1, that is, it corresponds to the property object data of the sample identification to be classified simi_1_1, the sample identification to be classified simi_2_1, and the sample identification to be classified simi_3_1, and the target reference keyword key_2 corresponds to the sample identification to be classified simi_1_2, the sample identification to be classified simi_2_2, and the sample identification to be classified simi_3_2, that is, it corresponds to the property object data of the sample identification to be classified simi_1_2, the sample identification to be classified simi_2_2, and the sample identification to be classified simi_3_2, wherein the sample identification to be classified corresponds to a specific real estate listing, that is, a specific property object.
[0045] Step S102, obtaining sample clustering data based on sample area information and sample classification data, wherein the sample area information represents the sample area corresponding to the object sample of the property object corresponding to the target reference keyword, and the sample clustering data is the result of data aggregation of the property object data corresponding to the target reference keyword based on the sample area.
[0046] For example, in the same property object, there may be two or more object samples of two or more area types, and then, based on the sample areas corresponding to the object samples, the property object data corresponding to the target reference keyword are clustered to obtain sample cluster data. In a possible implementation, Figure 4 A schematic diagram of obtaining sample clustering data based on sample classification data provided in this application, such as Figure 4As shown, taking the property object data corresponding to the target reference keyword key_1 as an example, the property object data corresponding to the target reference keyword key_1 includes property object data data_1 with the sample identifier simi_1_1 to be classified, property object data data_2 with the sample identifier simi_2_1 to be classified, and property object data data_3 with the sample identifier simi_3_1 to be classified. The property object data data_1 includes object samples obj_1 with an area of 90, obj_2 with an area of 90, and obj_3 with an area of 80. The property object data data_2 includes object samples obj_4 with an area of 90, obj_5 with an area of 85. Like sample obj_5 and object sample obj_6 with an area of 80, property object data data_3 includes object sample obj_7 with an area of 90, object sample obj_8 with an area of 95, and object sample obj_9 with an area of 95; then the above object samples are clustered based on the sample areas of 80, 85, 90, and 95, and the sample clustering data is obtained, that is, the object samples with a sample area of 80 are obj_3 and obj_6, the object sample with a sample area of 85 is obj_5, the object samples with a sample area of 90 are obj_1, obj_2, obj_4, and obj_7, and the object samples with a sample area of 95 are obj_8 and obj_9.
[0047] Step S103, performing deduplication processing on the sample clustering data according to the key field information to obtain deduplication data corresponding to the target reference keyword, wherein the key field information represents the key sample features of the object sample.
[0048] Exemplarily, the fields of the key sample features of the same object sample are the same field. If the key sample features of different object samples are the same, the above object samples are merged into one object sample, that is, the sample clustering data is deduplicated based on the key sample features to obtain deduplicated data corresponding to the target reference keyword. Further, the key sample features include: building year, building, floor, total floors, number of rooms, number of halls, indoor structure, object sample orientation, and orientation of the object sample on the floor. In a possible implementation, taking the object samples obj_1, obj_2, obj_4, and obj_7 with a sample area of 90 as an example, if any sub-key sample feature of the key sample features of obj_1, obj_2, obj_4, and obj_7 is different, then obj_1, obj_2, obj_4, and obj_7 are determined to be four different object samples; if the key sample features of obj_1 and obj_4 are the same, and any sub-key sample feature of the key sample features of obj_1, obj_2, and obj_7 is different, then obj_1 and obj_4 are the same object sample, and obj_1, obj_2, and obj_7 are three different object samples, and then obj_1 and obj_4 are merged into one object sample obj_1, that is, the deduplicated sample clustering data is obtained, that is, the deduplicated data corresponding to the target reference keyword is obtained, and the deduplicated data includes the property object data corresponding to the key sample features of obj_1, obj_2, and obj_7.
[0049] Furthermore, on the basis of obtaining the deduplicated data, the sample characteristics of the object sample are further processed, that is, on the basis of the key sample characteristics, the sample characteristics are supplemented to obtain the target sample characteristics. Figure 5 A schematic diagram of specific steps for supplementing sample features to obtain target sample features provided by this application, such as Figure 5 As shown, the specific steps of supplementing the sample features to obtain the target sample features include:
[0050] Step S104, obtaining supplementary field information based on the deduplicated data and the sample clustering data, wherein the supplementary field information represents supplementary sample features of the object sample, and the supplementary sample features include sample area, sample price, number of kitchens, and number of bathrooms.
[0051] Step S105, obtaining object sample information based on the deduplicated data and the supplementary field information, wherein the object sample information represents the property object data of the object sample determined based on the key sample features and the supplementary sample features.
[0052] In one possible implementation, the object sample and the property object data corresponding to the key sample features of the object sample can be determined based on the deduplicated data, and then the property object data corresponding to the supplementary sample features can be determined from the sample clustering data based on the object sample and the supplementary sample features; and then based on the property object data corresponding to the key sample features corresponding to the deduplicated data and the property object data corresponding to the supplementary sample features, the property object data of the object sample can be obtained, that is, the object sample information can be obtained, wherein the supplementary sample features include the sample area, sample price, number of kitchens, and number of bathrooms.
[0053] Furthermore, if a sub-feature in the supplementary sample feature corresponds to one or two or more property object data, the data is confirmed by the method of unique value, mode value or average value; for example, taking the sample price as an example, the same object sample corresponds to three sample prices price_1, price_2, and price_3. If price_1, price_2, and price_3 are the same values, that is, the sample price is a unique value, and the unique value is determined as the sample price of the object sample; if any two of price_1, price_2, and price_3 are the same values, such as price_1 is the same as price_2 and different from price_3, then based on the mode value, price_1 (or price_2) is determined as the sample price of the object sample; if price_1, price_2, and price_3 are all different, then the average value of price_1, price_2, and price_3 is taken as the sample price of the object sample. In the steps of this embodiment, the property object data corresponding to the supplementary sample feature is processed by the method of unique value, mode value or average value, and then the unique value of each sub-feature in the supplementary sample feature is obtained, which solves the problem of data deviation when the user enters the relevant property object data.
[0054] In this embodiment, sample classification data is obtained based on a keyword data set and at least one sample identifier to be classified, the keyword data set being a set of reference keywords determined based on a reference property object identifier, the sample identifier to be classified being used to indicate at least two similar keywords corresponding to the reference keyword, and property object data corresponding to the similar keywords, the sample classification data including a target reference keyword, and property object data corresponding to the target reference keyword; sample clustering data is obtained based on sample area information and sample classification data, the sample area information characterizing the sample area corresponding to an object sample of a property object corresponding to the target reference keyword, the sample clustering data being the result of data aggregation of the property object data corresponding to the target reference keyword based on the sample area; the sample clustering data is deduplicated based on the key field information to obtain deduplicated data corresponding to the target reference keyword, the key field information characterizing the key sample features of the object sample. On the basis of classifying at least two similar keywords and the property object data corresponding to the similar keywords into target reference keywords and property object data corresponding to the target reference keywords through the reference keywords in the keyword data set, the sample area of the object sample of the property object corresponding to the target reference keyword is further combined to perform data aggregation of each area segment to obtain the property object data for which data is aggregated based on the sample area, and then the data repeatability of the property object data for which data is aggregated based on the sample area is judged according to the key sample features of the object sample, and the object samples corresponding to the property object data with repeated key sample features are merged into the same object sample, thereby achieving deduplication of the property object data, that is, obtaining the deduplication data corresponding to the target reference keyword, thereby solving the problem of inaccurate deduplication results of the property object data, that is, solving the problem of inaccurate deduplication results of the real estate listing samples.
[0055] Furthermore, before obtaining sample classification data according to the keyword data set and at least one to-be-classified sample identifier, the method includes obtaining the keyword data set, Figure 6 The schematic diagram of the steps for obtaining the keyword dataset provided for this application is as follows: Figure 6 As shown, the steps of obtaining the keyword data set include:
[0056] Step S1001, segmenting the reference property object identifier to obtain an identifier segmentation data set, where the identifier segmentation data set is used to indicate a word set of identifier segmentations corresponding to the reference property object identifier;
[0057] Step S1002, obtaining word segmentation frequency information according to the identification word segmentation data set, wherein the word segmentation frequency information represents the number of times the identification word segmentation occurs in the identification word segmentation data set;
[0058] Step S1003, obtaining a keyword data set according to the word segmentation frequency information.
[0059] In a possible implementation, the reference property object identifier is "Xingfu Community, Changrong Community, Dongyuan Community, Golden Mansion Community". By segmenting the reference property object identifier, a word set of identification segmentations "Xingfu, Changrong, Dongyuan, Golden, Mansion, Golden Mansion, Community" is obtained, and then the corresponding segmentation frequency information is determined by the number of times each identification segmentation appears in the word set; then the number of times each identification segmentation corresponding to the segmentation frequency information appears, and the identification segmentation whose number of appearances is greater than the preset number is determined as a stop word. For example, the identification segmentation "Community" appears 4 times, which is greater than the preset number of times 3 times, and then "Community" is determined as a stop word, and the number of appearances of other identification segmentations are all less than 3 times, and then the identification segmentations "Xingfu, Changrong, Dongyuan, Golden, Mansion, Golden Mansion" are determined as reference keywords, and a keyword data set is obtained.
[0060] Furthermore, in another possible implementation, a keyword data set is obtained according to the word segmentation frequency information, including: obtaining a preset interference word data set; obtaining a keyword data set according to the word segmentation frequency information and the preset interference word data set. More specifically, for example, a preset interference word data set is obtained, the preset interference word data set includes administrative area names and building construction status words, the administrative area names include provinces, cities, regions, towns and streets, and the building construction status words include built, developed, and completed; then, according to the word segmentation frequency information and the preset interference word data set, the identification word segmentation data set is deleted or retained, for example, the identification word segmentation data set includes "XX city, XY district, built, developed, happy, Evergreen, Dongyuan, golden, mansion, golden mansion, community ", the identification word "community" appears 4 times, which is greater than the preset number of times 3 times, and then "community" is determined as a stop word, "XX city, XY district" is the name of the administrative region, and "built, developed" are the status words of real estate construction. The identification words "happiness, Changrong, Dongyuan, Jinse, Mansion, Jinse Mansion" appear less than 3 times, and do not belong to the names of administrative regions and real estate construction status words, and then the identification words "happiness, Changrong, Dongyuan, Jinse, Mansion, Jinse Mansion" are determined as reference keywords, and the keyword data set is obtained.
[0061] In the steps of this embodiment, by segmenting the reference property object identification to calculate the frequency of occurrence of each identification segmentation, the identification segmentation with a frequency greater than the preset frequency is determined as a stop word, so as to reduce the data volume of the keyword data set and improve the comparison efficiency of the reference keyword and similar keywords. Furthermore, by introducing a preset interference word data set, the identification segmentation in the identification segmentation data set is further streamlined and eliminated, further reducing the data volume of the keyword data set and improving the comparison efficiency of the reference keyword and similar keywords.
[0062] Figure 7A flowchart of a data deduplication processing method provided by another embodiment of the present application is as follows: Figure 7 As shown, the data deduplication processing method provided in this embodiment is Figure 2 On the basis of the data deduplication processing method provided in the illustrated embodiment, step S102 is further refined, and the data deduplication processing method provided in this embodiment includes the following steps:
[0063] Step S201, obtaining sample classification data based on a keyword data set and at least one sample identifier to be classified, wherein the keyword data set is a set of reference keywords determined based on a reference property object identifier, and the sample identifier to be classified is used to indicate at least two similar keywords corresponding to the reference keywords, and property object data corresponding to the similar keywords, and the sample classification data includes a target reference keyword, and property object data corresponding to the target reference keyword.
[0064] Step S202 , obtaining target area information according to the sample area information, wherein the target area information represents a sample area interval corresponding to an object sample of a property object corresponding to a target reference keyword.
[0065] Exemplarily, when a user registers the sample area of an object sample, there may be differences in the sample areas registered in different institutions. Therefore, based on the sample area corresponding to the object sample of the property object corresponding to the target reference keyword, an area interval with a floating range is added to include the sample area registered by the user, thereby obtaining the sample area interval. In a possible implementation, taking the sample area 90 corresponding to the object sample as an example, the sample area registered by the user is "89.9, 90, 90.2, 90.4", and then based on the floating area interval of [-0.5, 0.5], the sample area interval is obtained as [89.5, 90.5] in combination with the sample area 90 corresponding to the object sample, so as to include the sample area "89.9, 90, 90.2, 90.4" registered by the user, thereby obtaining the target area information.
[0066] Step S203, clustering the sample classification data according to the target area information to obtain sample clustering data.
[0067] Exemplarily, by clustering the sample classification data based on the target area information, sample clustering data based on the sample area interval corresponding to the target area information can be obtained. More specifically, for example, the target area information is used to indicate the sample area interval of the object sample, and by clustering the sample classification data using the clustering algorithm and the sample area interval, sample clustering data clustered according to each sample area interval can be obtained. In a possible implementation, the sample area interval range_1 is [89.5, 90.5], the sample area interval range_2 is [95.5, 96.5], and the sample areas registered by users corresponding to the sample classification data are "89.9, 89.6, 90.1, 90, 95.8, 95.9, 95.6, 96.2". Then, the sample areas registered by users are clustered according to the sample area interval range_1 and the sample area interval range_2 through a clustering algorithm to obtain sample clustering data, that is, the sample clustering data determined based on the sample area interval range_1 includes "89.9, 89.6, 90.1, 90", and the sample clustering data determined based on the sample area interval range_2 includes "95.8, 95.9, 95.6, 96.2", wherein the clustering algorithm includes a density-based clustering algorithm.
[0068] In the steps of this embodiment, by introducing the sample area interval, the sample areas registered by users within the sample area interval are clustered based on the clustering algorithm, thereby solving the problem of inaccurate sample clustering data caused by errors in the sample areas registered by users.
[0069] Step S204, performing deduplication processing on the sample clustering data according to the key field information to obtain deduplication data corresponding to the target reference keyword, wherein the key field information represents the key sample features of the object sample.
[0070] In this embodiment, the implementation method of step S201 and step S204 is the same as that of the present application. Figure 2 The implementation methods of step S101 and step S103 in the illustrated embodiment are the same and will not be described in detail herein.
[0071] Figure 8 A structural diagram of a data deduplication processing device provided by an embodiment of the present application is as follows: Figure 8 As shown, the data deduplication processing device 3 provided in this embodiment includes:
[0072] The classification module 31 is used to obtain sample classification data according to the keyword data set and at least one sample identifier to be classified, wherein the keyword data set is a set of reference keywords determined based on the reference property object identifier, the sample identifier to be classified is used to indicate at least two similar keywords corresponding to the reference keywords, and the property object data corresponding to the similar keywords, and the sample classification data includes a target reference keyword and the property object data corresponding to the target reference keyword;
[0073] The clustering module 32 is used to obtain sample clustering data according to the sample area information and the sample classification data, wherein the sample area information represents the sample area corresponding to the object sample of the property object corresponding to the target reference keyword, and the sample clustering data is the result of data aggregation of the property object data corresponding to the target reference keyword based on the sample area;
[0074] The determination module 33 is used to perform deduplication processing on the sample clustering data according to the key field information to obtain deduplication data corresponding to the target reference keyword, and the key field information represents the key sample characteristics of the object sample.
[0075] In one possible design, when the clustering module 32 obtains the sample clustering data based on the sample area information and the sample classification data, it is specifically used to: obtain the target area information based on the sample area information, the target area information representing the sample area interval corresponding to the object sample of the property object corresponding to the target reference keyword; and cluster the sample classification data based on the target area information to obtain the sample clustering data.
[0076] In one possible design, the determination module 33 is also used to: obtain supplementary field information based on deduplicated data and sample clustering data, the supplementary field information representing property object data corresponding to supplementary sample features of the object sample, the supplementary sample features including sample area, sample price, number of kitchens, and number of bathrooms; obtain object sample information based on the deduplicated data and the supplementary field information, the object sample information representing the property object data of the object sample determined based on the key sample features and the supplementary sample features.
[0077] In one possible design, before obtaining sample classification data based on a keyword data set and at least one sample identifier to be classified, the classification module 31 is specifically used to: perform word segmentation on a reference property object identifier to obtain an identifier word segmentation data set, the identifier word segmentation data set is used to indicate a word set of identifier word segments corresponding to the reference property object identifier; obtain word segmentation frequency information based on the identifier word segmentation data set, the word segmentation frequency information represents the number of times the identifier word appears in the identifier word segmentation data set; and obtain a keyword data set based on the word segmentation frequency information.
[0078] In a possible design, when obtaining the keyword data set according to the word segmentation frequency information, the classification module 31 is specifically used to: obtain a preset interference word data set; and obtain the keyword data set according to the word segmentation frequency information and the preset interference word data set.
[0079] In a possible design, key sample features include: building year, building, floor, total floors, number of rooms, number of halls, indoor structure, orientation of object samples, and location of object samples on the floor.
[0080] The classification module 31, the clustering module 32 and the determination module 33 are connected in sequence. The data deduplication processing device 3 provided in this embodiment can perform the following steps: Figure 2-Figure 7 The technical solutions of any of the method embodiments shown have similar implementation principles and technical effects, which will not be described in detail here.
[0081] Fig. 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig. 9 As shown, the electronic device may include: a transceiver 121 , a processor 122 , and a memory 123 .
[0082] The processor 122 executes the computer execution instructions stored in the memory, so that the processor 122 executes the scheme in the above embodiment. The processor 122 can be a general-purpose processor, including a central processing unit CPU, a network processor (network processor, NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0083] The memory 123 is connected to the processor 122 via a system bus and completes communication between them. The memory 123 is used to store computer program instructions.
[0084] The transceiver 121 may be used to obtain a keyword data set and at least one to-be-classified sample identifier, as well as configuration information of the keyword data set and at least one to-be-classified sample identifier.
[0085] The system bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The transceiver is used to realize the communication between the database access device and other computers (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM) and may also include non-volatile memory.
[0086] The electronic device provided in the embodiment of the present application may be the terminal device of the above embodiment.
[0087] An embodiment of the present application also provides a chip for running instructions, which is used to execute the technical solution of the data deduplication processing method in the above embodiment.
[0088] An embodiment of the present application also provides a computer-readable storage medium, in which computer execution instructions are stored. When the computer execution instructions are executed on a computer, the computer executes the technical solution of the data deduplication processing method of the above embodiment.
[0089] An embodiment of the present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When at least one processor executes the computer program, it can implement the technical solution of the data deduplication processing method in the above embodiment.
[0090] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules 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 an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0091] The modules described as separate components may or may not be physically separated, and the components shown as modules 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 modules may be selected according to actual needs to implement the solution of this embodiment.
[0092] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
[0093] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods of various embodiments of the present application.
[0094] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
[0095] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.
[0096] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0097] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0098] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic control unit or a main control device.
[0099] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0100] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A data deduplication processing method, characterized in that: include: Obtaining sample classification data according to a keyword data set and at least one sample identifier to be classified, wherein the keyword data set is a set of reference keywords determined based on a reference property object identifier, the sample identifier to be classified is used to indicate at least two similar keywords corresponding to the reference keywords, and property object data corresponding to the similar keywords, and the sample classification data includes a target reference keyword, and property object data corresponding to the target reference keyword; Obtaining sample clustering data according to the sample area information and the sample classification data, wherein the sample area information represents the sample area corresponding to the object sample of the property object corresponding to the target reference keyword, and the sample clustering data is the result of data aggregation of the property object data corresponding to the target reference keyword based on the sample area; The sample clustering data is deduplicated according to the key field information to obtain deduplicated data corresponding to the target reference keyword, wherein the key field information represents key sample features of the object sample.
2. The method according to claim 1, characterized in that The obtaining of sample clustering data according to the sample area information and the sample classification data includes: According to the sample area information, target area information is obtained, wherein the target area information represents a sample area interval corresponding to an object sample of a property object corresponding to the target reference keyword; The sample classification data is clustered according to the target area information to obtain the sample clustering data.
3. The method according to claim 1, characterized in that The method further comprises: Obtaining supplementary field information according to the deduplicated data and the sample clustering data, wherein the supplementary field information represents property object data corresponding to supplementary sample features of the object sample, wherein the supplementary sample features include sample area, sample price, number of kitchens, and number of bathrooms; According to the deduplicated data and the supplementary field information, object sample information is obtained, wherein the object sample information represents the property object data of the object sample determined based on the key sample features and the supplementary sample features.
4. The method according to claim 1, characterized in that: Before obtaining sample classification data according to the keyword data set and at least one identifier of a sample to be classified, the method includes: Segmenting the reference property object identifier to obtain an identifier segmentation data set, wherein the identifier segmentation data set is used to indicate a word set of identifier segmentations corresponding to the reference property object identifier; According to the identification word segmentation data set, obtaining word segmentation frequency information, wherein the word segmentation frequency information represents the number of times the identification word segmentation appears in the identification word segmentation data set; The keyword data set is obtained according to the word segmentation frequency information.
5. The method according to claim 4, characterized in that The step of obtaining the keyword data set according to the word segmentation frequency information includes: Obtain a preset interference word data set; The keyword data set is obtained according to the word segmentation frequency information and the preset interference word data set.
6. The method according to claim 1, characterized in that The key sample features include: building year, building, floor, total floors, number of rooms, number of halls, indoor structure, object sample orientation and the location of the object sample on the floor.
7. A data deduplication processing device, characterized in that: include: a classification module, configured to obtain sample classification data according to a keyword data set and at least one sample identifier to be classified, wherein the keyword data set is a set of reference keywords determined based on a reference property object identifier, the sample identifier to be classified is used to indicate at least two similar keywords corresponding to the reference keywords, and property object data corresponding to the similar keywords, the sample classification data including a target reference keyword, and property object data corresponding to the target reference keyword; A clustering module, configured to obtain sample clustering data according to sample area information and the sample classification data, wherein the sample area information represents a sample area corresponding to an object sample of a property object corresponding to the target reference keyword, and the sample clustering data is a result of data aggregation of the property object data corresponding to the target reference keyword based on the sample area; A determination module is used to perform deduplication processing on the sample clustering data according to key field information to obtain deduplication data corresponding to the target reference keyword, wherein the key field information represents key sample features of the object sample.
8. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 6 when executed by a processor.
10. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 6 when being executed by a processor.
Citation Information
Patent Citations
Method for discriminating house property data identity of different information sources
CN109977287A
Business rule generation method and device
CN110083623A
Second-hand house data analysis method and system based on block chain
CN112633915A
Sample identification method and device based on big data and medium
CN115270790A
A system for generating a deduplicated property listing from a plurality of property listings and a method thereof
WO2022225455A1
