Address book data correction method and apparatus

By extracting and matching organizational affiliation and job information from address book data, and using an abstract organizational hierarchy tree for correction, the problem of inconsistent address book information was solved, improving the data accuracy and efficiency of collaborative government office work.

CN118535771BActive Publication Date: 2025-10-21JINGDONG CITY BEIJING DIGITS TECH CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410756816.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2025-10-21
Estimated Expiration
2044-06-12

AI Technical Summary

Technical Problem

Due to the lack of uniformity in address book information between different departments and units and changes in personnel organization, the address book information is incomplete and inaccurate, which brings troubles to government collaborative office work.

Method used

By extracting organizational affiliation information and job information from the address book data to be corrected, and matching them with an abstract organizational hierarchy tree, in response to a mismatch between the job information and the final level feature character of the organizational hierarchy information, the target level feature character is searched upwards level by level in the organizational hierarchy information, and the organizational affiliation information is corrected based on the target level feature character.

Benefits of technology

This improved the effectiveness and efficiency of address book data correction, ensuring the accuracy of matching job information with organizational affiliation information in the address book data of different units and departments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535771B_ABST
    Figure CN118535771B_ABST
Patent Text Reader

Abstract

The application discloses a method and device for correcting contact data, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: extracting organization affiliation information and post information from contact data to be corrected; matching the organization affiliation information with an abstract organization hierarchical tree to obtain organization hierarchical information; in response to determining that the post information and the last-level hierarchical feature character of the organization hierarchical information are not matched, searching for a target hierarchical feature character matched with the post information in the organization hierarchical information step by step upwards; and in response to finding the target hierarchical feature character, correcting the organization affiliation information based on the target hierarchical feature character. The embodiment realizes effective correction of contact data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method and device for correcting address book data. Background Art

[0002] With the acceleration of digital transformation, collaborative government work is becoming a growing trend. This requires frequent communication, coordination, and exchange between departments and units. The address book service is built upon the organizational structure. Each unit and region, based on their respective address book management permissions, authorizes the maintenance of organizational affiliation information for local government affairs personnel, allowing for real-time online updates of job titles, phone numbers, and other information.

[0003] However, due to the lack of uniformity in address book information between different departments and units, changes in personnel organization, etc., the address book information is incomplete and inaccurate, which has brought certain troubles to government collaborative office. Summary of the Invention

[0004] Embodiments of the present application provide a method, apparatus, device, and storage medium for correcting address book data.

[0005] According to the first aspect, an embodiment of the present application provides a method for correcting address book data, the method comprising: extracting organizational affiliation information and position information from the address book data to be corrected; matching the organizational affiliation information with the abstract organizational hierarchy tree to obtain organizational hierarchy information; in response to determining that the position information does not match the last-level hierarchical feature characters of the organizational hierarchy information, searching upward step by step in the organizational hierarchy information for target hierarchical feature characters that match the position information; in response to finding the target hierarchical feature characters, correcting the organizational affiliation information based on the target hierarchical feature characters.

[0006] According to the second aspect, an embodiment of the present application provides an address book data correction device, which includes: an extraction module, a matching module, a search module and a correction module, wherein the extraction module is configured to extract organizational affiliation information and position information from the address book data to be corrected; the matching module is configured to match the organizational affiliation information with the abstract organizational hierarchy tree to obtain organizational hierarchy information; the search module is configured to, in response to determining that the position information does not match the last-level hierarchical feature characters of the organizational hierarchy information, search for target hierarchical feature characters that match the position information in the organizational hierarchy information step by step; the correction module is configured to, in response to finding the target hierarchical feature characters, correct the organizational affiliation information based on the target hierarchical feature characters.

[0007] According to the third aspect, an embodiment of the present application provides an electronic device, which includes one or more processors; a storage device on which one or more programs are stored. When the one or more programs are executed by the one or more processors, the one or more processors implement the address book data correction method as any embodiment of the first aspect.

[0008] According to a fourth aspect, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements a method for correcting address book data as in any embodiment of the first aspect.

[0009] The present application extracts organizational affiliation information and position information from the address book data to be corrected; matches the organizational affiliation information with the abstract organizational hierarchy tree to obtain organizational hierarchy information; in response to determining that the position information does not match the last-level hierarchical feature characters of the organizational hierarchy information, searches upward step by step for target hierarchical feature characters that match the position information in the organizational hierarchy information; in response to finding the target hierarchical feature characters, corrects the organizational affiliation information based on the target hierarchical feature characters, that is, uses a unified abstract organizational hierarchy tree and hierarchical feature characters of each level to correct the problem of mismatch between position information and organizational affiliation information in the address book data of different units and departments, thereby improving the effectiveness and efficiency of correcting the address book data.

[0010] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;

[0012] Figure 2 is a flow chart of an embodiment of a method for correcting address book data according to the present application;

[0013] Figure 3 This is a schematic diagram of an application scenario of the address book data correction method according to the present application;

[0014] Figure 4a is a flowchart of another embodiment of the method for correcting address book data according to the present application;

[0015] Figure 4b is a flowchart of another embodiment of the method for correcting address book data according to the present application;

[0016] Figure 4c is a flowchart of another embodiment of the method for correcting address book data according to the present application;

[0017] Figure 5 is a schematic diagram of an embodiment of a device for correcting address book data according to the present application;

[0018] Figure 6 It is a structural diagram of a computer system suitable for implementing a server in an embodiment of the present application. DETAILED DESCRIPTION

[0019] The following description of exemplary embodiments of the present application is made in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding. These details should be considered as merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0020] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0021] Figure 1 An exemplary system architecture 100 is shown to which an embodiment of the contact directory data correction method of the present application can be applied.

[0022] like Figure 1 As shown, system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. Network 104 is a medium for providing communication links between terminal devices 101, 102, 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links or fiber optic cables.

[0023] The terminal devices 101, 102, 103 interact with the server 105 via the network 104 to receive or send messages, etc. Various communication client applications may be installed on the terminal devices 101, 102, 103, such as address book data correction applications, communication applications, etc.

[0024] Terminal devices 101, 102, and 103 can be hardware or software. When terminal devices 101, 102, and 103 are hardware, they can be various electronic devices with display screens, including but not limited to mobile phones and laptops. When terminal devices 101, 102, and 103 are software, they can be installed in the electronic devices listed above. They can be implemented as multiple software or software modules (for example, to provide address book data correction services), or as a single software or software module. No specific limitations are given here.

[0025] Server 105 can be a server that provides various services, for example, extracting organizational affiliation information and position information from the address book data to be corrected; matching the organizational affiliation information with the abstract organizational hierarchy tree to obtain organizational hierarchy information; in response to determining that the position information does not match the last-level hierarchical feature characters of the organizational hierarchy information, searching upward in the organizational hierarchy information for target hierarchical feature characters that match the position information step by step; in response to finding the target hierarchical feature characters, correcting the organizational affiliation information based on the target hierarchical feature characters.

[0026] It should be noted that the server 105 can be either hardware or software. When the server 105 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When the server is software, it can be implemented as multiple software programs or software modules (for example, to provide address book data correction services), or as a single software program or software module. No specific limitations are given here.

[0027] It should be noted that the address book data correction method provided in the embodiments of the present disclosure can be executed by the server 105, or by the terminal devices 101, 102, 103, or by the server 105 and the terminal devices 101, 102, 103 in cooperation with each other. Accordingly, the various parts (e.g., various units, sub-units, modules, and sub-modules) included in the address book data correction device can be all provided in the server 105, or all provided in the terminal devices 101, 102, 103, or provided separately in the server 105 and the terminal devices 101, 102, 103.

[0028] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as required.

[0029] Figure 2 A flowchart 200 of an embodiment of a method for correcting contact data that can be applied to the present application is shown. In this embodiment, the method for correcting contact data includes the following steps:

[0030] Step 201: extracting organizational information and position information from the address book data to be corrected.

[0031] In this embodiment, the execution subject (such as Figure 1 The server 105 or terminal devices 101, 102, 103 shown in the figure can obtain the address book data to be corrected locally or from a remote server storing the address book data to be corrected, and extract the organization affiliation information and position information from the address book data to be corrected.

[0032] Organizational affiliation information typically includes multiple organization names, each with a hierarchical relationship. These names can be connected by hierarchical separators, for example, City A - District B - Bureau C - Division D - Office E, City F - District G, etc. Position information can be any information representing a position, such as director, manager, etc.

[0033] Step 202 : Match the organizational affiliation information with the abstract organizational hierarchy tree to obtain organizational hierarchy information.

[0034] In this embodiment, the execution entity may determine the organizational hierarchy information according to the organizational affiliation information and the matching information corresponding to each organizational node in the abstract organizational hierarchy tree.

[0035] Among them, each organization node corresponds to a hierarchical characteristic character. For each organization node, the matching information corresponding to the organization node is the method information of matching the organization affiliation information to the current organization node according to the preset matching rules (for example, regular expression matching, LIKE operator matching, etc.). For example, if the hierarchical characteristic character corresponding to the current organization node is "bureau", then the matching information corresponding to the organization node is the search method information of searching whether "bureau" exists in the organization affiliation information according to regular expression matching.

[0036] Here, the abstract organizational hierarchy tree is constructed based on the preset organizational hierarchy and hierarchical character strings. Each level of the abstract organizational hierarchy tree can contain one or more organizational nodes. For example, if the preset organizational hierarchy is: City A - District B - Bureau C - Department D - Office E, the abstract organizational hierarchy tree constructed based on this organizational hierarchy is: City - District - Bureau - Department - Office.

[0037] The order of the characteristic characters of each level in the organizational hierarchy information conforms to the hierarchical relationship indicated by the abstract organizational hierarchy tree.

[0038] Specifically, the preset organizational hierarchy relationship is: City A - District B - Bureau C - Department D - Office E. The abstract organizational hierarchy tree constructed based on this organizational hierarchy relationship is: City - District - Bureau - Department - Office. The organizational affiliation information in the address book data to be corrected is: City M - District N - Department F. The executing entity can match the organizational affiliation information with the above-mentioned abstract organizational hierarchy tree to obtain the organizational hierarchy information, namely City - District - Department.

[0039] In some optional methods, the organizational affiliation information is matched with the abstract organizational hierarchy tree to obtain the organizational hierarchy information, including: mapping each organization name in the organizational affiliation information to a standard organization name according to a preset alias mapping table to generate standard organization affiliation information; matching the standard organization affiliation information with the abstract organizational hierarchy tree to obtain the organizational hierarchy information.

[0040] In this implementation, the organizational affiliation information includes multiple organizational names, and each organizational name can be connected by a hierarchical separator. The executing entity can first map each organizational name in the organizational affiliation information to a standard organization name according to a preset alias mapping table to generate standard organizational affiliation information; match the standard organization affiliation information with the abstract organizational hierarchy tree to obtain organizational hierarchy information.

[0041] The alias mapping table is used to represent the mapping relationship between the standard organization name and the candidate organization name.

[0042] Specifically, for example, the organizational affiliation information is: Executive Vice President-Engineering Department-Electrical Control. The executing entity can map each organization name in the organizational affiliation information, namely "Executive Vice President", "Engineering Department", and "Electrical Control" to a standard organization name according to the preset alias mapping table, and generate standard organizational affiliation information: Executive Vice President-Engineering Department-Electrical Control Group; for another example, the organizational affiliation information is: City A-District Medical Insurance Bureau. The executing entity can map each organization name in the organizational affiliation information, namely "City A" and "District Medical Insurance Bureau", to a standard organization name according to the preset alias mapping table, and generate standard organizational affiliation information: City A-District Medical Insurance Bureau.

[0043] This implementation method generates standard organization affiliation information by mapping each organization name in the organization affiliation information to a standard organization name according to a preset alias mapping table; matches the standard organization affiliation information with the abstract organization hierarchy tree to obtain organization hierarchy information, that is, determining the organization hierarchy information based on the standard organization affiliation information, effectively avoiding the problem of errors in the determined organization hierarchy information caused by the organization name in the organization affiliation information being an abbreviation or alias. This method effectively improves the accuracy and rationality of the determined organization hierarchy information.

[0044] Step 203 : In response to determining that the position information does not match the last level characteristic character of the organizational hierarchy information, searching the organizational hierarchy information for a target level characteristic character that matches the position information.

[0045] In this embodiment, the organizational hierarchy information includes multiple levels of hierarchical characteristic characters. The execution entity can determine whether the position information matches the last level of the organizational hierarchy information. If not, it will search the organizational hierarchy information step by step for the target level characteristic characters that match the position information.

[0046] Here, the method of judging whether the last-level characteristic characters of the position information and the organizational hierarchy information match can be to directly judge whether the position information and the last-level characteristic characters conform to the preset mapping relationship based on the preset mapping relationship table of position information and hierarchy characteristic characters; or the position information can be matched with each standard role in the standard role table corresponding to the last-level characteristic character to determine whether there is a target standard role that matches the position information. This application does not limit this.

[0047] In some optional methods, in response to determining that the position information does not match the last-level characteristic characters of the organizational hierarchy information, the target level characteristic characters that match the position information are searched for upward in the organizational hierarchy information step by step, including: matching the position information with each standard role in the standard role table corresponding to the last-level characteristic characters of the organizational hierarchy information; in response to determining that there is no target standard role that matches the position information, the target level characteristic characters that match the position information are searched for upward in the organizational hierarchy information step by step.

[0048] In this implementation method, the executing entity can calculate the role similarity of each standard role in the standard role table corresponding to the job information and the last-level hierarchical characteristic characters of the organizational hierarchy information; if the role similarities corresponding to each standard role do not meet the preset conditions, it is determined that there is no target standard role that matches the job information, and the target hierarchical characteristic characters that match the job information are searched upward step by step in the organizational hierarchy information; if there is a role similarity that meets the preset conditions, the standard role corresponding to the role similarity that meets the preset conditions is determined as the target standard role.

[0049] Among them, the preset conditions can be set according to experience and actual needs, for example, the role similarity is greater than or equal to a preset role similarity threshold, greater than a preset role similarity threshold, etc.

[0050] Specifically, the organizational affiliation information included in the address book data is: City A - District B - Bureau C - Department D, and the position information is: Director. The executing entity matches the organizational affiliation information with the abstract organizational hierarchy tree, and the obtained organizational hierarchy information is: City-District-Bureau-Department. The standard role table corresponding to the last-level hierarchical feature character "Department" of the organizational hierarchy information includes standard roles such as "Director, Deputy Director". Since the position information "Director" does not match the standard roles, the executing entity can search the organizational hierarchy information from the last-level hierarchical feature character upwards for the standard role table corresponding to each level feature character. For example, if the "Bureau" level feature character is searched, the standard role table corresponding to the level feature character includes standard roles such as "Director, Deputy Director". Since the position information "Director" matches the standard role "Director", the executing entity can determine the "Bureau" level feature character as the target level feature character.

[0051] This implementation method matches the job information with each standard role in the standard role table corresponding to the last-level characteristic character of the organizational hierarchy information; in response to determining that there is no target standard role matching the job information, the target level characteristic character matching the job information is searched for in the organizational hierarchy information step by step, that is, the target level characteristic character is determined directly based on whether the standard role table matches. Compared with determining whether the job information matches the last-level characteristic character based on a preset mapping relationship table, this method is more intuitive and specific, and further improves the accuracy and reliability of the determined matching results.

[0052] Step 204 : In response to finding the target-level characteristic character, correct the organization affiliation information based on the target-level characteristic character.

[0053] In this embodiment, after determining the target level characteristic characters, the execution entity may correct the organization affiliation information according to the target level characteristic characters.

[0054] Specifically, the organizational affiliation information included in the address book data is: City A-District B-Bureau C-Department D, the position information is: Director, and the target level characteristic character is "Bureau". The executing entity can correct the organizational affiliation information A City-District B-Bureau C-Department D to A City-District B-Bureau C based on the target level characteristic character.

[0055] In some optional embodiments, the method also includes: updating the abstract organizational hierarchy tree in the following manner: matching the newly added organizational affiliation information included in the newly added address book data with the abstract organizational hierarchy tree; in response to determining that the newly added organizational affiliation information partially matches the abstract organizational hierarchy tree, updating the abstract organizational hierarchy tree based on the last-level characteristic characters of the organizational hierarchy information corresponding to the matching part in the newly added organizational affiliation information and the organization name included in the unmatched part.

[0056] In this implementation, the execution entity may obtain the newly added address book data in real time or periodically, and match the newly added organization affiliation information included in the newly added address book data with the abstract organization hierarchy tree.

[0057] If it is determined that the newly added organizational affiliation information partially matches the abstract organizational hierarchy tree (that is, the organizational affiliation information includes a matching part and an unmatched part), the abstract organizational hierarchy tree is updated based on the last-level characteristic characters of the organizational hierarchy information corresponding to the matching part in the newly added organizational affiliation information and the organization name included in the unmatched part.

[0058] Here, the execution entity can directly update the abstract organizational hierarchy tree based on the last-level characteristic characters of the organizational hierarchy information corresponding to the matching part of the newly added organizational affiliation information and the organization name included in the unmatched part; or it can first perform word segmentation processing on the organization name included in the unmatched part to obtain the word segmentation result, and determine the word segmentation result whose text support (i.e., the frequency of the text appearing in the preset text data set) is greater than the preset support threshold as the target word segmentation result, and update the abstract organizational hierarchy tree based on the last-level characteristic characters of the organizational hierarchy information corresponding to the matching part of the newly added organizational affiliation information and the target word segmentation result. This application does not limit this.

[0059] Specifically, the abstract organizational hierarchy tree is: city-district-bureau, and the newly added organizational affiliation information included in the newly added address book data is: City A-District B-Bureau C-Department D. The executing entity matches the newly added organizational affiliation information with the abstract organizational hierarchy tree to obtain the organizational hierarchy information: City-District-Bureau. Since the newly added organizational affiliation information partially matches the abstract organizational hierarchy tree, the executing entity can update the abstract organizational hierarchy tree based on the last-level characteristic character of the organizational hierarchy information corresponding to the matching part (i.e. City A-District B-Bureau C), i.e. "Bureau", and the organization name included in the unmatched part, i.e. "Department D".

[0060] Here, the execution entity can directly update the abstract organizational hierarchy tree according to the preset hierarchical relationship table, based on the last-level hierarchical characteristic characters of the organizational hierarchy information corresponding to the matching part (i.e., City A-District B-Bureau C), i.e., "Bureau", and the organization name included in the unmatched part, i.e., "Department D"; or the last-level hierarchical characteristic characters of the organizational hierarchy information corresponding to the matching part (i.e., City A-District B-Bureau C), i.e., "Bureau", and the organization name included in the unmatched part, i.e., "Department D" can be presented to the user, and the user can update the abstract organizational hierarchy tree based on the correspondence between the last-level hierarchical characteristic characters and the organization name included in the unmatched part. This application does not limit this.

[0061] Specifically, according to the preset hierarchical relationship, the execution entity may add an organization node corresponding to the hierarchical characteristic character "bureau" under the organization node corresponding to the hierarchical characteristic character "bureau" in the abstract organization hierarchy tree.

[0062] This implementation method matches the newly added organization affiliation information included in the newly added address book data with the abstract organization hierarchy tree; in response to determining that the newly added organization affiliation information partially matches the abstract organization hierarchy tree, the abstract organization hierarchy tree is updated based on the last-level hierarchical feature characters of the organization hierarchy information corresponding to the matching part in the newly added organization affiliation information and the organization name included in the unmatched part, thereby achieving real-time updating of the abstract organization hierarchy tree according to the newly added address book data, thereby ensuring the validity and reliability of the abstract organization hierarchy tree.

[0063] Continue to see Figure 3 , Figure 3 FIG. 4 is a schematic diagram of an application scenario of the address book data correction method according to this embodiment.

[0064] exist Figure 3 In the application scenario, the execution subject 301 can obtain the address book data 302 to be corrected locally or on a remote server that stores the address book data to be corrected, and extract the organization affiliation information and position information from the address book data 302 to be corrected. For example, the organization affiliation information is: City A - District B - Bureau C - Department D, and the position information is: Director. The organization affiliation information is matched with the abstract organization hierarchy tree 303 to obtain the organization hierarchy information 304. The abstract organization hierarchy tree is constructed based on the preset organization hierarchy relationship and hierarchy feature characters, for example, city-district-bureau-department-office. Each organization node of the abstract organization hierarchy tree is a hierarchical feature character, namely "city", "district", "bureau", "department", "office" In the embodiment of the present invention, the organizational hierarchy information is: city-district-bureau-department, where "department" is the last-level hierarchical characteristic character of the organizational hierarchy information; in response to determining that the position information does not match the last-level hierarchical characteristic character of the organizational hierarchy information, that is, the position information "bureau director" does not match the last-level hierarchical characteristic character "department" of the organizational hierarchy information, the target hierarchical characteristic character 305 that matches the position information is searched for in the organizational hierarchy information step by step; in response to finding the target hierarchical characteristic character 305, that is, "bureau", the organizational affiliation information is corrected 306 based on the target hierarchical characteristic character, and the corrected organizational affiliation information is: city A-district B-bureau C, and the corrected address book data is: city A-district B-bureau C, bureau director.

[0065] The address book data correction method disclosed in the present invention extracts organizational affiliation information and position information from the address book data to be corrected; matches the organizational affiliation information with an abstract organizational hierarchy tree to obtain organizational hierarchy information; in response to determining that the position information does not match the last-level hierarchical feature characters of the organizational hierarchy information, searches upward step by step in the organizational hierarchy information for target hierarchical feature characters that match the position information; in response to finding the target hierarchical feature characters, corrects the organizational affiliation information based on the target hierarchical feature characters, that is, uses a unified abstract organizational hierarchy tree and hierarchical feature characters of each level to correct the problem of mismatch between position information and organizational affiliation information in the address book data of different units and departments, thereby improving the effectiveness and efficiency of correcting the address book data.

[0066] Further references Figure 4a , which shows a process 400 of another embodiment of the method for correcting contact data. In this embodiment, the process 400 of the method for correcting contact data may include the following steps:

[0067] Step 401: extracting organizational information and position information from the address book data to be corrected.

[0068] In this embodiment, the implementation details and technical effects of step 401 can be found in the description of step 201 and will not be repeated here.

[0069] Step 402: Match the organizational affiliation information with the abstract organizational hierarchy tree to obtain organizational hierarchy information.

[0070] In this embodiment, the implementation details and technical effects of step 402 can be found in the description of step 202 and will not be repeated here.

[0071] Step 403 : In response to determining that the position information does not match the last level characteristic characters of the organizational hierarchy information, searching the organizational hierarchy information for target level characteristic characters that match the position information.

[0072] In this embodiment, the implementation details and technical effects of step 403 can be found in the description of step 203 and will not be repeated here.

[0073] Step 404 : In response to finding the target-level characteristic character, correct the organization affiliation information based on the target-level characteristic character.

[0074] In this embodiment, the implementation details and technical effects of step 404 can be found in the description of step 204 and will not be repeated here.

[0075] Step 405 : In response to not finding the target hierarchical characteristic character, determining whether there is a target non-standard role based on the first similarity between the position information and each non-standard role in the preset non-standard role table.

[0076] In this embodiment, the execution entity searches for characteristic characters of each level in the organizational hierarchy information step by step to determine whether there are characteristic characters of the target level that match the position information. If the target level characteristic characters do not exist, that is, the position information does not match the characteristic characters of each level in the organizational hierarchy information, then the first similarity between the position information and each non-standard role in the preset non-standard role table can be calculated.

[0077] Here, the executing entity can directly calculate the first similarity between the job information and each non-standard role in the preset non-standard role table, or it can first segment the job information, for example, segment "director's assistant" into "director", "assistant", etc., and calculate the first similarity between the job information after segmentation and each non-standard role in the preset non-standard role table. This application does not limit this.

[0078] Step 406 : In response to determining that a target non-standard role exists, correct the position information based on the target non-standard role.

[0079] In this embodiment, the first similarity between the job information and the target non-standard role meets the first preset condition. After determining the target non-standard role, the executing entity can directly correct the job information according to the target non-standard role, or correct the job field according to the correction strategy corresponding to the target non-standard role. This application does not limit this.

[0080] The first preset condition may be set according to actual needs, for example, the first similarity is greater than or equal to a preset similarity threshold, greater than a preset similarity threshold, etc.

[0081] Here, the similarity threshold can be set based on experience and actual needs, for example, 0.8, 0.9, etc., and this application does not limit this.

[0082] Specifically, the job information is "employee" and the target non-standard role is "staff member". The executing entity can directly correct the job information "employee" to "staff member".

[0083] In some optional methods, the standard role table and the non-standard role table are generated in the following manner: each position data in the position data list is split according to the position separator to obtain a candidate position set; each candidate position in the candidate position set is clustered to obtain a position cluster set; based on the position cluster set, the standard role table and the non-standard role table are determined.

[0084] In this implementation, after obtaining the job data list, the execution subject may first split each job data in the job data list according to the job separator to obtain a set of candidate jobs.

[0085] The position separator can be any character used to separate fields, such as "-", ",", etc. This application does not limit this. For example, "Deputy Manager, Chief Engineer" can be split into "Deputy Manager" and "Chief Engineer"; "Deputy Mayor, Director" can be split into "Deputy Mayor" and "Director", etc.

[0086] Furthermore, the executing entity may cluster the candidate positions in the candidate position set to obtain a position cluster set. After obtaining the position cluster set, the executing entity may obtain a standard role table and a non-standard role table based on the position cluster set in accordance with the preset matching rules; the position cluster set may also be presented to the user, and based on the user's judgment, a standard role table and a non-standard role table may be obtained. This application does not limit this.

[0087] This implementation method splits each job data in the job data list according to the job separator to obtain a candidate job set; clusters each candidate job in the candidate job set to obtain a job cluster set; based on the job cluster set, determines the standard role table and non-standard role table, thereby improving the efficiency and accuracy of the generated standard role table and non-standard role table.

[0088] In some optional embodiments, the method further includes: mapping each organization name in the corrected organization affiliation information to a standard organization name according to a preset alias mapping table, to generate corrected standard organization affiliation information.

[0089] In this implementation, after obtaining the corrected organization affiliation information, the execution subject may map each organization name in the corrected organization affiliation information to a standard organization name according to a preset alias mapping table to generate corrected standard organization affiliation information.

[0090] This implementation method generates corrected standard organization attribution information by mapping each organization name in the corrected organization attribution information to a standard organization name according to a preset alias mapping table, thereby improving the validity and standardization of the corrected organization attribution information.

[0091] In some optional methods, the alias mapping table is generated in the following manner: for each level in the organizational hierarchy of the entity, the second similarity between each organization name in the level and the remaining organization names is determined, and the organization name whose second similarity meets the second preset condition is determined as: the candidate organization name corresponding to the standard organization name of the level; and an alias mapping table is constructed based on the standard organization name and the corresponding candidate organization name.

[0092] In this implementation, the execution entity can generate an alias mapping table in the following manner: determine each level in the entity's organizational hierarchy relationship based on the edit distance, and for each level, calculate the second similarity between each organization name in the level and each of the remaining organization names, and determine the organization name whose second similarity meets the second preset condition as the candidate organization name corresponding to the standard organization name of the level; further, construct an alias mapping table based on the standard organization name and the corresponding candidate organization name.

[0093] The second preset condition may be set according to actual needs, for example, the second similarity is greater than or equal to a preset similarity threshold, greater than a preset similarity threshold, etc.

[0094] Here, the similarity threshold can be set based on experience and actual needs, for example, 0.8, 0.9, etc., and this application does not limit this.

[0095] Specifically, for a level in the organizational hierarchy relationship of an entity, if the second similarity between organization name A and organization name B is greater than or equal to a preset similarity threshold, such as 0.8, then organization names A and B can be determined as candidate organization names corresponding to the standard organization names of this level, and an alias mapping table can be constructed based on the standard organization names and the corresponding candidate organization names.

[0096] In a specific example, Figure 4b As shown, offline synchronization is performed on the physical address book to obtain the existing physical address book. The physical address book may include multiple address book data items, including organizational affiliation information and position information. Based on the physical address book, the following operations are performed: standard role extraction is performed to obtain a standard role table; an alias mapping table is constructed and updated to obtain an alias mapping table; and an abstract organizational hierarchy is extracted to obtain an abstract organizational hierarchy tree. Furthermore, based on the standard role table, alias mapping table, and abstract organizational hierarchy tree, the address book data to be corrected is corrected using an address book data correction method to obtain corrected address book data. The physical address book is then updated based on the corrected address book data.

[0097] In another specific example, Figure 4c As shown, the process of address book data correction can specifically include the following parts: abstract organization hierarchy tree update, specifically including: matching the newly added organization affiliation information included in the newly added address book data with the abstract organization hierarchy tree; in response to determining that the newly added organization affiliation information partially matches the abstract organization hierarchy tree, the last-level characteristic characters of the organization hierarchy information corresponding to the matching part in the newly added organization affiliation information and the organization name included in the unmatched part can be presented to the user, and the user manually checks and updates the abstract organization hierarchy tree to obtain an updated abstract organization hierarchy tree.

[0098] Determining the alias mapping table specifically includes: for each level in the entity's organizational hierarchy, determining the second similarity between each organization name in that level and the remaining organization names, that is, calculating the similarity between the organization names at the same level to obtain a similarity pair list, and determining the organization names in the similarity pair list whose second similarity meets the second preset condition as: candidate organization names corresponding to the standard organization names at that level; and constructing an alias mapping table based on the standard organization names and the corresponding candidate organization names. Furthermore, after obtaining the alias mapping table, the alias mapping table can be verified for organizational rationality based on the updated abstract organizational hierarchy tree, that is, the rationality of the candidate organization names can be verified. Furthermore, the alias mapping table can be iteratively corrected through manual hierarchical verification.

[0099] The construction of the standard role table and the non-standard role table may specifically include: splitting each job data in the job data list according to the job delimiter to obtain a candidate job set; clustering each candidate job in the candidate job set to obtain a job cluster set; based on the job cluster set, determining the standard role table and the non-standard role table, and may also include: matching the standard role table with the job data list, if there is unmatched job data, extracting information for the unmatched job data, manually checking and updating the extracted data, and obtaining an updated standard role table and non-standard role table.

[0100] Here, the updated standard role table and non-standard role table can be stored together in the word segmentation library.

[0101] Address book data correction specifically includes: extracting organizational affiliation information and position information from the address book data to be corrected; performing standard verification on the organizational affiliation information and position information to obtain standard organizational affiliation information and standard position information, wherein the standard position information can overcome problems such as position information being abbreviations or aliases; matching the standard organizational affiliation information with an abstract organizational hierarchy tree to obtain organizational hierarchy information; matching the standardized and verified position information with a role table; in response to determining that the position information does not match each standard role in the standard role table corresponding to the last level characteristic character of the organizational hierarchy information, searching the organizational hierarchy information for a target level characteristic character that matches the position information; in response to finding the target level characteristic character, correcting the organizational affiliation information based on the target level characteristic character; in response to not finding the target level characteristic character, determining whether a target non-standard role exists based on a first similarity between the position information and each non-standard role in a preset non-standard role table; in response to determining that the target non-standard role exists, correcting the position information based on the target non-standard role. Finally, a log file is generated based on the address book data correction process.

[0102] This implementation method determines the second similarity between each organization name in each level of the entity's organizational hierarchy and the remaining organization names, and determines the organization name whose second similarity meets the second preset condition as: the candidate organization name corresponding to the standard organization name of the level; based on the standard organization name and the corresponding candidate organization name, constructs an alias mapping table, fully considering the possible organization aliases in the entity's organizational hierarchy, and improving the accuracy and reliability of the determined alias mapping table.

[0103] from Figure 4a It can be seen that Figure 2Compared with the corresponding embodiments, the process 400 of the address book data correction method in this embodiment reflects that in response to not finding the target hierarchical feature characters, based on the first similarity between the position information and each non-standard role in the preset non-standard role table, it is determined whether there is a target non-standard role; in response to determining that the target non-standard role exists, the position information is corrected based on the target non-standard role. This method realizes the correction of the position information in the address book data, and further improves the effectiveness and comprehensiveness of the address book data correction.

[0104] Further references Figure 5 As an implementation of the methods shown in the above figures, the present application provides an embodiment of a device for correcting address book data. Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0105] like Figure 5 As shown, the address book data correction device 500 of this embodiment includes: an extraction module 501 , a matching module 502 , a search module 503 and a correction module 504 .

[0106] The extraction module 501 may be configured to extract organizational affiliation information and position information from the address book data to be corrected.

[0107] The matching module 502 may be configured to match the organizational affiliation information with the abstract organizational hierarchy tree to obtain organizational hierarchy information.

[0108] The search module 503 may be configured to, in response to determining that the position information does not match the last level characteristic character of the organizational hierarchy information, search the organizational hierarchy information for target level characteristic characters that match the position information.

[0109] The correction module 504 may be configured to correct the organization affiliation information based on the target-level characteristic characters in response to finding the target-level characteristic characters.

[0110] In some optional embodiments of this embodiment, the device also includes: a determination module, which is configured to determine whether there is a target non-standard role based on the first similarity between the job information and each non-standard role in a preset non-standard role table in response to not finding the target level feature character; in response to determining that the target non-standard role exists, correct the job information based on the target non-standard role.

[0111] In some optional embodiments of this embodiment, the search module is further configured to match the position information with each standard role in the standard role table corresponding to the last-level hierarchical characteristic characters of the organizational hierarchy information; in response to determining that there is no target standard role that matches the position information, the target hierarchical characteristic characters that match the position information are searched upward step by step in the organizational hierarchy information.

[0112] In some optional methods of this embodiment, the standard role table and the non-standard role table are generated in the following manner: each position data in the position data list is split according to the position separator to obtain a candidate position set; each candidate position in the candidate position set is clustered to obtain a position cluster set; based on the position cluster set, the standard role table and the non-standard role table are obtained.

[0113] In some optional embodiments of this embodiment, the matching module is further configured to map each organization name in the organization affiliation information to a standard organization name according to a preset alias mapping table to generate standard organization affiliation information; and match the standard organization affiliation information with the abstract organization hierarchy tree to obtain organization hierarchy information.

[0114] In some optional aspects of this embodiment, the device further includes: a mapping module configured to map each organization name in the corrected organization affiliation information to a standard organization name according to a preset alias mapping table to generate corrected standard organization affiliation information.

[0115] In some optional methods of this embodiment, the alias mapping table is generated in the following manner: for each level in the organizational hierarchy of the entity, the second similarity between each organization name in the level and the remaining organization names is determined, and the organization name whose second similarity meets the second preset condition is determined as: the candidate organization name corresponding to the standard organization name of the level; and an alias mapping table is constructed based on the standard organization name and the corresponding candidate organization name.

[0116] In some optional embodiments of this embodiment, the device also includes an update module, which is configured to match the newly added organization affiliation information included in the newly added address book data with the abstract organization hierarchy tree; in response to determining that the newly added organization affiliation information partially matches the abstract organization hierarchy tree, the abstract organization hierarchy tree is updated based on the last-level hierarchical feature characters of the organization hierarchy information corresponding to the matching part in the newly added organization affiliation information and the organization name included in the unmatched part.

[0117] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, and storage of user personal information involved in the technical solutions disclosed herein all comply with relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken with respect to user personal information to prevent unauthorized access to user personal information data and to safeguard the security of user personal information, network security, and national security.

[0118] According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.

[0119] like Figure 6 , which is a block diagram of an electronic device according to the address book data correction method of an embodiment of the present application.

[0120] 600 is a block diagram of an electronic device for use with a method for correcting address book data according to an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are provided for illustrative purposes only and are not intended to limit the implementation of the present application as described and / or claimed herein.

[0121] like Figure 6 As shown, the electronic device includes: one or more processors 601, a memory 602, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 601 is taken as an example.

[0122] Memory 602 is the non-transitory computer-readable storage medium provided in this application. The memory stores instructions executable by at least one processor, causing the at least one processor to perform the contact data correction method provided in this application. The non-transitory computer-readable storage medium of this application stores computer instructions for causing a computer to perform the contact data correction method provided in this application.

[0123] The memory 602 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as the program instructions / modules corresponding to the address book data correction method in the embodiment of the present application (for example, the attached Figure 5 The processor 601 executes the non-transient software programs, instructions, and modules stored in the memory 602 to execute various functional applications and data processing of the server, thereby implementing the address book data correction method in the above method embodiment.

[0124] The memory 602 may include a program storage area and a data storage area. The program storage area may store an operating system and applications required for at least one function; the data storage area may store data created by the use of the electronic device for address book data correction, etc. Furthermore, the memory 602 may include high-speed random access memory and may also include non-transient memory, such as at least one disk storage device, flash memory device, or other non-transient solid-state memory device. In some embodiments, the memory 602 may optionally include a memory remotely located relative to the processor 601. These remote memories may be connected to the electronic device for address book data correction via a network. Examples of the aforementioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0125] The electronic device of the address book data correction method may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected via a bus or other means. Figure 6 The bus connection is taken as an example.

[0126] The input device 603 can receive input digital or character information, such as an input device such as a touch screen, a keypad, a mouse, a trackpad, a touch pad, a pointer, one or more mouse buttons, a trackball, a joystick, etc. The output device 604 can include a display device, an auxiliary lighting device (e.g., an LED), and a tactile feedback device (e.g., a vibration motor). The display device can include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some embodiments, the display device can be a touch screen.

[0127] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0128] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for a programmable processor and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., a magnetic disk, an optical disk, a memory, a programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0129] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0130] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[0131] Computer systems may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The client and server relationship arises through computer programs running on the respective computers and having a client-server relationship to each other.

[0132] According to the technical solution of the embodiment of the present application, effective correction of address book data is achieved.

[0133] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this application can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this application can be achieved. This is not a limitation herein.

[0134] The above specific embodiments do not constitute a limitation on the scope of protection of this application. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application shall be included within the scope of protection of this application.

Claims

1. A method for correcting address book data, the method comprising: Extracting organizational affiliation information and position information from the address book data to be corrected; Matching the organizational affiliation information with an abstract organizational hierarchy tree to obtain organizational hierarchy information, wherein the abstract organizational hierarchy tree is constructed based on a preset organizational hierarchy relationship and hierarchy characteristic characters, the organizational hierarchy information includes a plurality of hierarchy characteristic characters, and the order of the hierarchy characteristic characters in the organizational hierarchy information conforms to the hierarchy relationship indicated by the abstract organizational hierarchy tree; In response to determining that the position information does not match the last level characteristic character of the organizational hierarchy information, searching the organizational hierarchy information for a target level characteristic character that matches the position information step by step upward; In response to finding the target-level characteristic character, the organization affiliation information is corrected based on the target-level characteristic character.

2. The method according to claim 1, further comprising: In response to not finding the target hierarchical characteristic character, determining whether there is a target non-standard role based on a first similarity between the position information and each non-standard role in a preset non-standard role table; In response to determining that a target non-standard role exists, the position information is corrected based on the target non-standard role.

3. The method according to claim 2, wherein: In response to determining that the position information does not match the last level characteristic character of the organizational hierarchy information, searching the organizational hierarchy information for a target level characteristic character that matches the position information step by step upwards includes: Matching the position information with each standard role in the standard role table corresponding to the last level characteristic character of the organizational hierarchy information; In response to determining that there is no target standard role matching the position information, the target hierarchical characteristic characters matching the position information are searched for in the organizational hierarchy information step by step.

4. The method according to claim 3, wherein: The standard role table and the non-standard role table are generated in the following manner: Split each job data in the job data list according to the job separator to obtain a set of candidate jobs; Clustering each candidate position in the candidate position set to obtain a position cluster set; Based on the position cluster set, a standard role table and a non-standard role table are determined.

5. The method according to claim 1, wherein The organization affiliation information includes multiple organization names, and the organization affiliation information is matched with the abstract organization hierarchy tree to obtain the organization hierarchy information, including: According to a preset alias mapping table, each organization name in the organization attribution information is mapped to a standard organization name to generate standard organization attribution information, wherein the alias mapping table is used to represent the mapping relationship between the standard organization name and the candidate organization name; The standard organization affiliation information is matched with the abstract organization hierarchy tree to obtain organization hierarchy information.

6. The method according to claim 1, further comprising: According to a preset alias mapping table, each organization name in the corrected organization attribution information is mapped to a standard organization name to generate corrected standard organization attribution information. The alias mapping table is used to represent the mapping relationship between the standard organization name and the candidate organization name.

7. The method according to any one of claims 5 or 6, wherein: The alias mapping table is generated in the following way: For each level in the organizational hierarchical relationship of the entity, determining a second similarity between each organization name in the level and the remaining organization names, and determining the organization name whose second similarity meets the second preset condition as: a candidate organization name corresponding to the standard organization name of the level; An alias mapping table is constructed based on the standard organization name and the corresponding candidate organization name.

8. The method according to any one of claims 1 to 6, further comprising: The abstract organization hierarchy tree is updated in the following ways: Matching the newly added organization affiliation information included in the newly added address book data with the abstract organization hierarchy tree; In response to determining that the newly added organization affiliation information partially matches the abstract organization hierarchy tree, the abstract organization hierarchy tree is updated based on the last-level characteristic characters of the organization hierarchy information corresponding to the matching part in the newly added organization affiliation information and the organization name included in the unmatched part.

9. A device for correcting address book data, comprising: an extraction module configured to extract organizational affiliation information and position information from the address book data to be corrected; a matching module configured to match the organizational affiliation information with an abstract organizational hierarchy tree to obtain organizational hierarchy information, wherein the abstract organizational hierarchy tree is constructed based on a preset organizational hierarchy relationship and hierarchy characteristic characters, the organizational hierarchy information includes a plurality of hierarchy characteristic characters, and the order of the hierarchy characteristic characters in the organizational hierarchy information conforms to the hierarchy relationship indicated by the abstract organizational hierarchy tree; A search module is configured to, in response to determining that the position information does not match the last level characteristic character of the organizational hierarchy information, search the organizational hierarchy information for a target level characteristic character that matches the position information. The correction module is configured to correct the organization affiliation information based on the target hierarchical characteristic character in response to finding the target hierarchical characteristic character.

10. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, so that the at least one processor can perform the method according to any one of claims 1 to 8.

11. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Position name identification method and device, computing processing equipment, program and medium

    CN114461900A

  • Intelligent management method and system for organizational structure and medium

    CN114548914A

  • Multi-level block chain system, role management method thereof and related products

    CN114626803A