Address book generation method and device, equipment, medium and product

By generating contact lists through refined matching based on job level, region, and industry tags, the problem of unreasonable contact list access control in the public service sector has been solved, improving communication efficiency and information security.

CN121814732APending Publication Date: 2026-04-07DIGITAL GUANGDONG NETWORK CONSTR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-25
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

The existing contact access control in public service sectors fails to strike a balance between communication efficiency and information security, and often adopts a "one-size-fits-all" approach, which increases the risk of information leakage or dissemination.

Method used

By performing refined matching based on job title tags, region tags, and industry tags of current users and candidate users, a personalized address book is generated, ensuring that contact is only established with users whose permissions match.

Benefits of technology

It improved communication efficiency, reduced the risk of information leakage, enhanced information security, and ensured both horizontal and vertical communication needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121814732A_ABST
    Figure CN121814732A_ABST
Patent Text Reader

Abstract

The invention discloses an address book generation method and device, equipment, a medium and a product, and relates to the technical field of data processing, and the method comprises the steps: determining the current user job information of a current user according to an address book generation request sent by the current user, and determining a current user attribute tag corresponding to the current user according to the current user job information; wherein the current user attribute tag comprises at least one of a current level tag, a current area tag and a current industry tag; obtaining candidate user attribute tags corresponding to the at least one candidate user, and determining communication users from the candidate users according to the current user attribute tag and the candidate user attribute tags; and generating a target address book available for the current user according to the communication information of the communicable user. According to the invention, the requirements of transverse and longitudinal communication between users are guaranteed, the communication efficiency is improved, the risk of information leakage or diffusion between different levels of users in the address book is effectively reduced, and the information security is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus, device, medium, and product for generating an address book. Background Technology

[0002] Currently, the public service sector is comprehensively advancing digital reform, striving to build a new model of intelligent and efficient collaborative operation. Mobile office platforms, as key infrastructure, have been implemented on a large scale in multiple provinces. By integrating nationwide communication systems, they significantly enhance cross-agency collaboration capabilities and effectively improve work execution efficiency.

[0003] The global collaborative communication system integrates contact information of all registered users across multiple administrative levels, resulting in a massive dataset containing highly sensitive information. In this scenario, contact access control within the address book is of paramount importance.

[0004] Currently, the control of contact permissions in the public service sector usually adopts a "one-size-fits-all" control strategy, such as allowing all employees to communicate or allowing communication only within the same unit. This results in unreasonable control of contact permissions in the address book and fails to achieve a balance between communication efficiency and information security. Summary of the Invention

[0005] This invention provides a method, apparatus, device, medium, and product for generating an address book, in order to solve the problem that unreasonable control over contact permissions in existing public service address books leads to an inability to achieve a balance between communication efficiency and information security.

[0006] According to one aspect of the present invention, a method for generating an address book is provided, the method comprising:

[0007] Based on the address book generation request sent by the current user, determine the current user's current job information, and determine the current user attribute tag corresponding to the current user based on the current user's job information; wherein, the current user attribute tag includes at least one of the current job level tag, current region tag, and current industry tag;

[0008] Obtain candidate user attribute tags corresponding to at least one candidate user, and determine communicable users from each candidate user based on the current user attribute tag and each candidate user attribute tag; wherein, the candidate user attribute tags include at least one of candidate job level tags, candidate region tags, and candidate industry tags;

[0009] The target address book available to the current user is generated based on the communication information of the communicable users.

[0010] According to another aspect of the present invention, an apparatus for generating an address book is provided, the apparatus comprising:

[0011] The user attribute tag determination module is used to determine the current user's current job information based on the address book generation request sent by the current user, and to determine the current user attribute tag corresponding to the current user based on the current user's job information; wherein, the current user attribute tag includes at least one of the current job level tag, current region tag and current industry tag;

[0012] A communicable user determination module is used to obtain candidate user attribute tags corresponding to at least one candidate user, and determine communicable users from each candidate user based on the current user attribute tag and each candidate user attribute tag; wherein, the candidate user attribute tags include at least one of candidate job level tags, candidate region tags, and candidate industry tags;

[0013] The address book generation module is used to generate the target address book available to the current user based on the communication information of the communicable users.

[0014] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0015] At least one processor; and

[0016] A memory communicatively connected to the at least one processor; wherein,

[0017] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the address book generation method according to any one of the present invention.

[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the address book generation method according to any one of the present invention.

[0019] According to another aspect of the present invention, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the address book generation method according to any one of the present invention.

[0020] This invention utilizes the job title tags, region tags, and industry tags corresponding to the current user and each candidate user to filter out the current user's contactable users. This avoids the problem of a "one-size-fits-all" contact permission control strategy that fails to balance communication efficiency and information security. It not only ensures the horizontal and vertical communication needs between users and improves communication efficiency, but also effectively reduces the risk of information leakage or dissemination between users at different levels in the contact list, thereby improving information security.

[0021] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0022] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0023] Figure 1 A flowchart illustrating a method for generating an address book according to an embodiment of the present invention;

[0024] Figure 2 A flowchart illustrating another method for generating an address book according to an embodiment of the present invention;

[0025] Figure 3 A schematic diagram of a contact list generation device provided in an embodiment of the present invention;

[0026] Figure 4 This is a schematic diagram of the structure of an electronic device that implements the address book generation method of this invention. Detailed Implementation

[0027] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0028] It should be noted that the terms "current," "candidate," "target," "first," "second," "third," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0029] Example

[0030] Figure 1 This is a flowchart illustrating a method for generating an address book according to an embodiment of the present invention. This embodiment is applicable to situations where the current user has contact permissions and a target address book is generated accordingly. This method can be executed by an address book generation device, which can be implemented in hardware and / or software. Figure 1 As shown, the method includes:

[0031] S101. Based on the address book generation request sent by the current user, determine the current user's current user position information, and determine the current user attribute tag corresponding to the current user based on the current user's position information.

[0032] Here, "current user" refers to the user currently initiating an operation in the system, i.e., the individual who logged in and triggered the contact list generation request. This represents a real user, such as government officials, company employees, or platform members. This embodiment does not limit the specific type of the current user.

[0033] A contact list generation request refers to a digital request initiated by the current user, requesting the system to create a contact list based on the current user's job information. This request usually includes a triggering action, such as clicking a button or sending a command light, to guide the system to execute the subsequent process of retrieving the current user's job information.

[0034] Current user employment information refers to structured data related to the current user's professional identity, such as the current employer and / or job title / rank. This employment information forms the basis for generating user attribute tags, ensuring that the tags reflect the user's true work background and improving the professional relevance of the contact list.

[0035] Current user attribute tags are classification identifiers extracted from the current user's job information, used to simplify user feature representation and matching processes. Current user attribute tags are discrete values, facilitating rapid comparison of candidate users by the system. Current user attribute tags include at least one of the following: current job level tag, current region tag, and current industry tag.

[0036] The current job level tag indicates the current user's job rank or level, such as "Junior Manager", "Senior Manager", "Junior Engineer" and "Senior Engineer". The current job level tag is used to match candidate users with similar permissions to avoid cross-level interference.

[0037] The current region tag indicates the current user's geographical location or work administrative region. The current region tag is used for regional matching, for example, prioritizing matching candidate users in the local area or related areas to optimize communication efficiency.

[0038] The current industry tag indicates the industry sector to which the current user belongs, such as "technology industry", "finance industry" and "education industry". The current industry tag is used to match candidate users in similar industries, ensuring industry relevance, reducing invalid communication and improving business efficiency.

[0039] In one implementation, the current user sends a contact list generation request through the system client. The system backend receives the request and retrieves the current user's employment information from the user profile database. Subsequently, the backend converts the specific content of the current user's employment information into corresponding current user attribute tags according to predefined mapping rules. Specifically, the job level field is mapped to the current job level tag through a job level classification table. The work area field is mapped to the current area tag based on geocoding or regional division standards, while the industry field is mapped to the current industry tag based on industry classification codes, thus completing the process of determining the current user's attribute tags.

[0040] In another implementation, the current user sends an address book generation request through the system client. The system backend receives the address book generation request, parses it to obtain the user information contained therein, and further parses the user information to determine the current user's employment information. Further, based on the current user's employment information, the system determines the current user's current employer information and current job title / rank information. Based on the current employer information, the system determines the current user's current region and industry tags, and based on the current job title / rank information, the system determines the current job title / rank tag.

[0041] S102. Obtain the candidate user attribute labels corresponding to at least one candidate user, and determine the communicable user from each candidate user based on the current user attribute label and the attribute labels of each candidate user.

[0042] Candidate users refer to the set of all users who might be considered during the address book generation process. These users come from the system database or potential contact pool and have not yet been screened. Candidate users can be determined based on the scope of the address book to be generated specified in the address book generation request. For example, assuming the address book generation request specifies the scope of the address book to be generated as "XX Provincial Government Affairs System", then a search will be performed in the potential contact pool using "XX Provincial Government Affairs System" as a keyword to determine all candidate users included in "XX Provincial Government Affairs System".

[0043] Candidate user attribute tags refer to the attribute identifiers associated with candidate users, used to describe their characteristics or categories. These tags are essentially metadata, helping the system to classify and match candidate users. Candidate user attribute tags include at least one of candidate job level tags, candidate region tags, and candidate industry tags.

[0044] Candidate job title tags indicate the candidate user's job level or rank, used to match the current user's current job title tag. Candidate region tags indicate the candidate user's geographical location or work administrative region, used to match the current user's current region tag. Candidate industry tags indicate the candidate user's industry sector, used to match the current user's current industry tag. It can be understood that candidate user attribute tags are pre-determined and bound to each candidate user; the method for determining candidate user attribute tags can refer to the method for determining current user attribute tags.

[0045] "Communicable users" refers to candidates who have been identified as contacts that the current user can actively reach after being filtered by matching the current user's attribute tags with those of candidate users. The candidate user attribute tags of communicable users closely match the current user's attribute tags, meeting communication rules or permission requirements.

[0046] In one implementation, the system accesses a user profile database to retrieve candidate user job information. Subsequently, the backend converts the specific content of the candidate user job information into corresponding candidate user attribute tags according to predefined mapping rules. Specifically, the job level field is mapped to candidate job level tags through a job level classification table. The work area field is mapped to candidate area tags based on geocoding or regional division standards, while the industry field is mapped to candidate industry tags based on industry classification codes, thus completing the process of determining candidate user attribute tags.

[0047] In another implementation, user information for each candidate user is obtained, and the user information for each candidate user is further parsed to determine the candidate user's employment information. Further, based on the candidate user's employment information, candidate unit information and candidate job title / level information are determined. Based on the candidate unit information, candidate region tags and candidate industry tags are determined. Based on the candidate job title / level information, candidate job title / level tags are determined.

[0048] In another implementation, user information of each candidate user is obtained and input into a pre-trained label prediction model. The label prediction model then performs label prediction based on the user information to obtain the candidate region label, candidate industry label, and candidate job title label corresponding to each candidate user.

[0049] After obtaining the candidate user attribute tags corresponding to each candidate user, in one implementation, a preset communication policy rule is obtained, and candidate job level tags that can communicate with the current job level tag are determined as filtering job level tags according to the communication policy rule; candidate region tags that can communicate with the current region tag are determined as filtering region tags according to the communication policy rule; and candidate industry tags that can communicate with the current industry tag are determined as filtering industry tags according to the communication policy rule.

[0050] Initial screening users are determined from the candidate users based on job level tags, region tags, and industry tags. Further, the weights of the first tag (job level tag), the second tag (region tag), and the third tag (industry tag) are obtained.

[0051] The similarity between the current job level label and each selected job level label is calculated based on the first label weight. The similarity between the current region label and each selected region label is calculated based on the second label weight. The similarity between the current industry label and each selected industry label is calculated based on the third label weight. A similarity score is then determined between the current user and each initially screened user based on these three similarity scores. Finally, the initially screened users are further filtered based on their similarity scores to obtain contactable users.

[0052] After obtaining the candidate user attribute tags corresponding to each candidate user, in another implementation, the communicable region tag corresponding to the current region tag, the communicable industry tag corresponding to the current industry tag, and the non-communicable job level tag corresponding to the current job level tag are determined; based on the communicable region tag, the communicable industry tag, and the non-communicable job level tag, they are matched with the candidate region tag, the candidate industry tag, and the candidate job level tag, respectively, and the communicable users are determined from each candidate user based on the matching results.

[0053] S103. Generate the target address book available to the current user based on the communication information of the users who can communicate.

[0054] The communication information of available users refers to the set of contact data of other users who have been screened and determined to be able to communicate with the current user. This information includes specific contact details, including but not limited to email addresses, phone numbers, instant messaging accounts, and office addresses. This data is used to support the establishment of communication channels between the current user and available users.

[0055] The target address book refers to a personalized address book generated based on the communication information of the users who can communicate with the user. This address book only contains the communication information of the users who are currently authorized to communicate with the user, forming a concise and secure contact list.

[0056] In one implementation, communication information of all communicable users is extracted from the user database and standardized cleaning is performed on this information; then, the cleaned communication information is dynamically constructed into structured records based on a preset address book template, while embedding access control rules; finally, a target address book is generated based on the structured records through a multimodal output engine.

[0057] Optionally, after generating the target address book available to the current user, the following may also be included:

[0058] 1) Responding to the user's rendering operation, the target address book is rendered as an interactive list in real time.

[0059] 2) In response to the user's download operation, download the target address book to the local device.

[0060] 3) In response to user push operations, push the target address book to a third-party system via API interface.

[0061] This invention, through an embodiment of the present invention, determines the current user's job information based on a contact list generation request sent by the current user, and determines the current user attribute tags corresponding to the current user based on the current user's job information; wherein, the current user attribute tags include at least one of a current job title tag, a current region tag, and a current industry tag; obtains candidate user attribute tags corresponding to at least one candidate user, and determines communicable users from each candidate user based on the current user attribute tags and each candidate user attribute tag; wherein, the candidate user attribute tags include at least one of a candidate job title tag, a candidate region tag, and a candidate industry tag; and generates a target contact list available to the current user based on the communication information of the communicable users. The beneficial effects are:

[0062] Firstly, by utilizing the job title tags, regional tags, and industry tags corresponding to the current user and each candidate user, the system filters out the current user's contactable users. This avoids the problem of failing to balance communication efficiency and information security when using a "one-size-fits-all" contact permission control strategy. It not only ensures the horizontal and vertical communication needs between users and improves communication efficiency, but also effectively reduces the risk of information leakage or dissemination between users at different levels in the contact list, thereby improving information security.

[0063] Secondly, based on the current user's current job information, the association between the current user and the current user's attribute tags is automatically established, which simplifies the management of tags and improves the efficiency of address book generation.

[0064] Figure 2 This flowchart illustrates another method for generating an address book according to an embodiment of the present invention. It further optimizes and expands the above technical solution and can be combined with the various optional implementation methods described above. For example... Figure 2 As shown, the method includes:

[0065] S201. Based on the address book generation request sent by the current user, determine the current user's current job information, determine the current unit information corresponding to the current user based on the current user's job information, and determine the current job title and rank information corresponding to the current user based on the current user's job information.

[0066] The current organization information refers to the organizational entity identifier of the current user, extracted by parsing the current user's employment information. This identifier is used to uniquely identify the legal entity, branch, or department unit to which the current user belongs. Examples include "XX Technology Co., Ltd." and "XX Government Agency".

[0067] Current job title and rank information refers to the job attributes and / or level system data of the current user extracted by parsing the current user's current job information. For example, the current job title and rank information can be "Sales Director", "Backend Engineer", etc.; or it can be "P8 level", "Manager level", "Director level", etc.

[0068] S202. Match the current unit information with the first mapping relationship between unit information and area label, and determine the current area label corresponding to the current user based on the matching result.

[0069] The first mapping relationship refers to the pre-defined association rule base between unit information and regional labels, which is used to map unit information in an administrative sense to abstract communication regional labels.

[0070] In one implementation, a first mapping relationship is loaded from a pre-built region label mapping database. The first mapping relationship is stored in key-value pairs, where the key is the unit information and the value is the corresponding region label. Then, a multi-level matching query is performed between the current unit information and the first mapping relationship.

[0071] First, perform an exact match between the current unit information and the first mapping relationship using the full name of the identifier. If the match is successful, determine the current region label corresponding to the current user. If the match fails, perform a fuzzy match between the current unit information and the first mapping relationship. If the match is successful, determine the current region label corresponding to the current user. If the match fails, trigger a fallback rule, such as calling a third-party geographic API to parse the registration address of the current unit information to determine the current region label corresponding to the current user.

[0072] For example, suppose the current unit information is "XX Group - XX Branch". Suppose that in the first mapping relationship between unit information and regional label, the unit information "XX Group - XX Branch" has a mapping relationship with the regional label "Province A". Then "Province A" will be used as the current regional label corresponding to the current user.

[0073] Optionally, for current users who have both primary and secondary positions, multiple current area tags can be matched based on the current unit information corresponding to their primary and secondary positions.

[0074] By determining the current user's current employer information based on their employment information, and then matching this current employer information with the first mapping relationship between employer information and regional tags, and determining the current user's current regional tag based on the matching result, the following benefits are achieved:

[0075] Firstly, by using a pre-defined mapping relationship, scattered unit information is automatically converted into standardized region labels, eliminating ambiguity from manual input and improving data consistency.

[0076] Secondly, regional labels, as a key attribute for screening communicable users, are directly linked to access control policies. By mapping organizational information to regional labels, the principle of "data minimization" can be strictly followed, preventing the leakage of sensitive information across regions.

[0077] Thirdly, the region labels are automatically derived through the preset first mapping relationship, avoiding label deviations or omissions caused by manual input, improving data accuracy and consistency, and reducing human error.

[0078] Optionally, the current region label corresponding to the current user can be determined based on the matching results, including:

[0079] S2021. If there is no region label matching the current unit information in the first mapping relationship, then determine the superior unit information corresponding to the current unit information according to the unit structure relationship.

[0080] Among them, the unit structure relationship refers to the association rules of hierarchical affiliation, functional cooperation, or management subordination between units within an organization. The superior unit information refers to the information of the direct management entity of the unit to which the current user belongs.

[0081] In one implementation, if there is no region label matching the current unit information in the first mapping relationship, the unit structure relationship is obtained, and the corresponding current node is retrieved in the unit structure relationship according to the current unit information. The parent node of the current node is determined according to the unit structure relationship, and the parent unit information is determined according to the parent node.

[0082] S2022. Match the superior unit information with the first mapping relationship, determine the superior area label associated with the superior unit information based on the matching result, and use the superior area label as the current area label corresponding to the current user.

[0083] Among them, the superior region label refers to the geographical region identifier where the superior unit is located or under its jurisdiction.

[0084] In one implementation, the parent unit information is matched with a first mapping relationship between unit information and region labels to determine whether a parent region label associated with the parent unit information can be matched from the first mapping relationship. If so, the matched parent region label is used as the current region label corresponding to the current user. If not, the second-level parent node corresponding to the current node in the unit structure relationship is determined, and new parent unit information is determined based on the second-level parent node. The new parent unit information is then matched with the first mapping relationship between unit information and region labels to determine whether a new parent region label associated with the parent unit information can be matched from the first mapping relationship. If so, the matched parent region label is used as the current region label corresponding to the current user. If not, the third-level parent node corresponding to the current node in the unit structure relationship is determined, and so on, until a parent region label is matched or the root node in the unit structure relationship is reached.

[0085] If no matching region label exists in the first mapping relationship, the superior unit information corresponding to the current unit information is determined based on the unit structure relationship. The superior unit information is then matched with the first mapping relationship, and the superior region label associated with the superior unit information is determined based on the matching result. This superior region label is then used as the current region label corresponding to the current user. The beneficial effects are:

[0086] Firstly, when a newly established unit fails to promptly enter the first mapping relationship of "unit information - regional label", the association is directly inherited through the superior regional label corresponding to its superior unit information, avoiding process interruption due to data loss and improving the fault tolerance and data continuity of address book generation.

[0087] Secondly, if there is no area label matching the current unit information in the first mapping relationship, the traditional solution requires manual entry of the missing mapping relationship, while this solution automatically completes the derivation of the current area label through the upper-level unit association mechanism, shortening the operation and maintenance response time and improving the efficiency of address book generation.

[0088] S203. Match the current unit information with the second mapping relationship between unit information and industry tag, and determine the current industry tag corresponding to the current user based on the matching result.

[0089] The second mapping relationship refers to a pre-defined rule base for associating unit information with industry tags, which is used to map unit information to industry tags.

[0090] In one implementation, a second mapping relationship is loaded from a pre-built industry tag mapping database. The second mapping relationship is stored in key-value pairs, where the key is the unit information and the value is the corresponding industry tag. Then, a multi-level matching query is performed between the current unit information and the second mapping relationship.

[0091] First, a precise match is performed between the current unit information and the second mapping relationship using the full name of the identifier. If the match is successful, the current industry label corresponding to the current user is determined. If the match fails, a fuzzy match is performed between the current unit information and the second mapping relationship. If the match is successful, the current industry label corresponding to the current user is determined. If the match fails, a fallback rule is triggered, such as calculating the similarity between the core words in the current unit information and the industry label, and selecting the industry label with the highest similarity as the current industry label corresponding to the current user.

[0092] For example, assuming the current organization information is "XX Innovation Technology Co., Ltd.", and assuming that in the second mapping relationship between organization information and industry tags, the organization information "XX Innovation Technology Co., Ltd." has a mapping relationship with the industry tag "Information Technology", then "Information Technology" will be used as the current industry tag corresponding to the current user.

[0093] Optionally, for current users who have both primary and secondary positions, multiple current industry tags can be matched based on their primary and secondary positions and the corresponding current employer information.

[0094] By determining the current user's current employer information based on their employment information, and then matching this employer information with the second mapping relationship between employer information and industry tags, and determining the current user's current industry tag based on the matching results, the beneficial effects are:

[0095] Firstly, by using a pre-defined second mapping relationship, scattered unit information is automatically converted into standardized industry labels, eliminating ambiguity in manual data entry and improving data consistency.

[0096] Secondly, industry tags, as a key attribute for screening communicable users, are directly linked to access control policies. By mapping organization information to industry tags, the principle of "data minimization" can be strictly followed, preventing the leakage of sensitive information across industries.

[0097] Thirdly, industry labels are automatically derived through a preset second mapping relationship, avoiding label deviations or omissions caused by manual input, improving data accuracy and consistency, and reducing human error.

[0098] S204. Match the current job title and rank information with the third mapping relationship between job title and rank information and rank tags, and determine the current rank tag corresponding to the current user based on the matching result.

[0099] The third mapping relationship refers to the pre-defined association rule library between job title and rank information and job title tags, which is used to standardize complex job title and rank information into job title tags that reflect the hierarchy of authority.

[0100] In one implementation, a third mapping relationship is loaded from a pre-built job title tag mapping database. This third mapping relationship is stored as key-value pairs, where the key is the job title information and the value is the corresponding job title tag. Then, a multi-level matching query is performed between the current job title information and the third mapping relationship.

[0101] First, perform an exact match between the current job title / rank information and the third mapping relationship using the full name of the identifier. If the match is successful, determine the current job title / rank label for the current user. If the match fails, perform a fuzzy match between the current job title / rank information and the third mapping relationship. If the match is successful, determine the current job title / rank label for the current user. If the match fails, trigger a fallback rule, such as manually assigning the current job title / rank label to the current user.

[0102] Optionally, for current users who have both primary and secondary positions, multiple current job level tags can be matched based on the current unit information corresponding to their primary and secondary positions.

[0103] By determining the current job title and rank information of the current user based on their employment information, and then matching this job title and rank information with the third mapping relationship between job title and rank information and rank tags, and determining the current rank tag of the current user based on the matching results, the beneficial effects are as follows:

[0104] Firstly, by using a pre-defined third mapping relationship, scattered job title and rank information is automatically converted into standardized job title and rank labels, eliminating ambiguity from manual data entry and improving data consistency.

[0105] Secondly, job title tags, as a key attribute for filtering communicable users, are directly linked to access control policies. By mapping job title information to job title tags, the principle of "data minimization" can be strictly followed to prevent the leakage of sensitive information across job titles.

[0106] Thirdly, job title labels are automatically derived through a preset third mapping relationship, avoiding label deviations or omissions caused by manual input, improving data accuracy and consistency, and reducing human error.

[0107] Optional, also includes:

[0108] If the current user's job information does not include the current job title or rank information, then the default job title or rank label will be used as the current job title or rank label for the current user.

[0109] The default job level label refers to the baseline job level identifier automatically assigned by the system according to preset rules when the current job level information is not available. It serves as a fallback value in the job level system, ensuring that users can still be classified into a reasonable job level even when current job level information is lacking.

[0110] For example, assuming the address book generation scenario is a government address book scenario, if the current user's employment information does not include the current position and rank information, then "personnel at the township / section level and below" will be used as the current rank label corresponding to the current user.

[0111] By using the default job title tag as the current job title tag for the current user if the current user's job information does not include the current job title level information, the advantages are:

[0112] Firstly, when the current job title and rank information is not entered or fails to be retrieved, the default job title and rank label can serve as a fallback mechanism to ensure that the address book generation process is not interrupted and to guarantee the stability and continuity of address book generation.

[0113] Secondly, the default job level label is usually set to a lower job level to limit the range of users who can communicate with the company and prevent unauthorized access to sensitive data due to missing information.

[0114] S205. Obtain candidate user attribute tags corresponding to at least one candidate user, and determine the communicable region tag corresponding to the current region tag, the communicable industry tag corresponding to the current industry tag, and the non-communicable job level tag corresponding to the current job level tag.

[0115] The communicable region label is a set of labels defined based on the current user's current region label, representing the geographical area that the current user is allowed to communicate with. It reflects which other regions within the current user's current location are considered "communicable." For example, if the current region label is "East China," then according to predefined region label mapping rules, communicable region labels might include "East China" and "North China," meaning only candidate users from these regions can be added to the address book.

[0116] A communicable industry tag is a set of tags defined based on the current user's current industry tag, representing the range of industry types that the current user is allowed to communicate with. It describes which other industries are considered "communicable" within the current user's industry. For example, if the current industry tag is "finance," then according to predefined industry tag mapping rules, communicable industry tags might include "finance" and "technology," meaning that only candidate users from these industries are considered communicable.

[0117] The "Uncommunicable Job Level" tag is a set of tags defined based on the current user's current job level tag, indicating the job level categories with which the current user is prohibited from communicating. It defines which job level users are "uncommunicable," meaning the current user cannot contact candidate users at those levels. For example, if the current job level tag is "Manager," then according to predefined job level tag mapping rules, the "Uncommunicable Job Level" tags might include "Senior Executive" and "Director," meaning users at these levels will be excluded from the contact list.

[0118] In one implementation, the communicable area label corresponding to the current area label is determined according to a predefined area label mapping rule. For example, an area label that is exactly the same as the current area label is used as the communicable area label. For example, if the current area label is "Province A", then the communicable area label is "Province A"; or if the current area label is "City B", then the communicable area label is "City B", and so on.

[0119] Based on predefined industry label mapping rules, determine the communicable industry label corresponding to the current industry label. For example, the industry label that is exactly the same as the current industry label is used as the communicable industry label. For example, if the current industry label is "finance industry", then the communicable industry label is "finance industry"; or if the current industry label is "technology industry", then the communicable industry label is "technology industry", and so on.

[0120] Based on predefined job title tag mapping rules, determine the non-communication job title tag corresponding to the current job title tag. For example, if the current job title tag is "county-level personnel", the non-communication job title tag can be "provincial-level personnel"; if the current job title tag is "township-level and below personnel", the non-communication job title tag can be "provincial-level personnel"; if the current job title tag is "township-level and below personnel", the non-communication job title tag can be "department-level personnel", etc.

[0121] Among them, the predefined regional label mapping rules, industry label mapping rules, and job title label mapping rules can be set and adjusted according to needs.

[0122] S206. Match the communicable region label, communicable industry label, and non-communicable job title label with the attribute labels of each candidate user, and determine the communicable users from each candidate user based on the matching results.

[0123] In one implementation, the communicable area label is matched with the candidate area label, the communicable industry label with the candidate industry label, and the non-communicable job level label with the candidate job level label, and the communicable user is determined from each candidate user based on the matching results.

[0124] By determining the communicable region label corresponding to the current region label, the communicable industry label corresponding to the current industry label, and the non-communicable job level label corresponding to the current job level label; and by matching the communicable region label, communicable industry label, and non-communicable job level label with the attribute labels of each candidate user, and determining the communicable users from among the candidate users based on the matching results, the beneficial effects are:

[0125] By using negative filtering with "non-communicable job level tags," unauthorized cross-level communication is forcibly blocked, protecting organizational hierarchy and sensitive information and reducing the risk of management loss of control. By using "communicable region tags" and "communicable industry tags," geographical and business dual boundaries are constructed to prevent unrelated personnel from accessing the network across regions / industries and reduce information interference.

[0126] Optionally, based on the matching results, determine the communicable users from among the candidate users, including:

[0127] S2061. Based on the matching results between the communicable area label and each candidate area label, determine the target area label from each candidate area label, and based on the matching results between the communicable industry label and each candidate industry label, determine the target industry label from each candidate industry label.

[0128] The target area label is the final geographic area identifier determined by matching the "communicable area label" and the "candidate area label". It represents the actual geographic range of the current user's communicable location and is used for subsequent candidate user filtering.

[0129] The target industry tag is the final industry domain identifier determined by matching the "communicable industry tag" and the "candidate industry tag". It represents the industry background in which the current user can communicate and is used to identify the relevance of candidate users.

[0130] In one implementation, a matching algorithm is used to compare each candidate region label with a communicable region label one by one to check whether the exact matching condition is met. If the match is successful, the candidate region label is included in the target region label set. Similarly, for industry labels, a matching algorithm is used to compare each candidate industry label with a communicable industry label one by one to check whether the exact matching condition is met. If the match is successful, the candidate industry label is included in the target industry label set.

[0131] S2062. Based on the matching results between the non-communicable job title label and each candidate job title label, determine the target job title label from each candidate job title label.

[0132] The target job level label is the final job level identifier determined by matching the "non-communicable job level label" and the "candidate job level label". It represents the job level at which the current user is not communicable and is used to exclude unsuitable candidate users.

[0133] In one implementation, a matching algorithm is used to compare each candidate job title tag with a non-communicable job title tag one by one to check whether the exact matching condition is met. If the match is successful, the candidate job title tag is included in the target job title tag set.

[0134] S2063. Based on the target region label and target industry label, determine the pre-screened users from each candidate user, and based on the target job level label, determine the non-communication users from each candidate user.

[0135] Among them, pre-screened users refer to the group of users who initially meet the criteria from the candidate users based on target region tags and target industry tags. Non-communication users refer to the group of users who are prohibited from communication from the candidate users based on target job level tags.

[0136] For example, assuming the target region label is "East China" and the target industry label is "finance", then all candidate users whose corresponding candidate region label is "East China" and whose corresponding candidate industry label is "finance" will be used as pre-screened users.

[0137] For example, if the target job title is labeled "Director", then all candidate users whose corresponding job title is labeled "Director" will be treated as non-communication users.

[0138] S2064. Pre-screened users, excluding those who cannot communicate, are considered as communicable users.

[0139] For example, assuming the pre-screened users include {u1, u2, u3, u4, u5}, and the non-communicable users include {u2, u3}, then it can be determined that the communicable users include {u1, u4, u5}.

[0140] By matching the communicable region label with each candidate region label, the target region label is determined from the candidate region labels; by matching the communicable industry label with each candidate industry label, the target industry label is determined from the candidate industry labels; by matching the non-communicable job level label with each candidate job level label, the target job level label is determined from the candidate job level labels; by matching the target region label with the target industry label, pre-screened users are determined from each candidate user, and non-communicable users are determined from each candidate user based on the target job level label; the pre-screened users, excluding non-communicable users, are considered communicable users. The beneficial effects are:

[0141] Firstly, by accurately matching "communicable region tags" and "communicable industry tags", the system can quickly narrow down the user range and avoid scanning all candidate users, thereby significantly reducing computational complexity; combined with secondary filtering using "non-communicable job level tags", unsuitable users are further eliminated.

[0142] Secondly, the plan strictly distinguishes between "communication allowed" and "non-communication allowed" labels to ensure that communication activities comply with privacy regulations.

[0143] S207. Generate the target address book available to the current user based on the communication information of the communicable users.

[0144] Figure 3 This is a schematic diagram of a contact list generation device provided in an embodiment of the present invention. It is applicable to situations where the current user has contact permissions and can generate a target contact list accordingly. Figure 3 As shown, the device includes:

[0145] The user attribute tag determination module 31 is used to determine the current user's current job information based on the address book generation request sent by the current user, and to determine the current user attribute tag corresponding to the current user based on the current user's job information; wherein, the current user attribute tag includes at least one of the current job level tag, current region tag and current industry tag;

[0146] The communicable user determination module 32 is used to obtain candidate user attribute tags corresponding to at least one candidate user, and determine communicable users from each candidate user according to the current user attribute tag and each candidate user attribute tag; wherein, the candidate user attribute tag includes at least one of candidate job level tag, candidate region tag and candidate industry tag;

[0147] The address book generation module 33 is used to generate the target address book available to the current user based on the communication information of the communicable users.

[0148] Optionally, the user attribute tag determination module 31 is specifically used for:

[0149] Determine the current unit information corresponding to the current user based on the current user's employment information;

[0150] The current unit information is matched with the first mapping relationship between unit information and region label, and the current region label corresponding to the current user is determined based on the matching result.

[0151] Optionally, the user attribute tag determination module 31 is further used for:

[0152] If there is no region label matching the current unit information in the first mapping relationship, then the superior unit information corresponding to the current unit information is determined according to the unit structure relationship;

[0153] The superior unit information is matched with the first mapping relationship, and the superior region label associated with the superior unit information is determined according to the matching result. The superior region label is then used as the current region label corresponding to the current user.

[0154] Optionally, the user attribute tag determination module 31 is further used for:

[0155] Determine the current unit information corresponding to the current user based on the current user's employment information;

[0156] The current unit information is matched with the second mapping relationship between unit information and industry tags, and the current industry tag corresponding to the current user is determined based on the matching result.

[0157] Optionally, the user attribute tag determination module 31 is further used for:

[0158] Determine the current job title and rank information corresponding to the current user based on the current user's employment information;

[0159] The current job title and rank information is matched with the third mapping relationship between job title and rank information and rank tags, and the current rank tag corresponding to the current user is determined based on the matching result.

[0160] Optionally, the device further includes a job title label generation module, specifically used for:

[0161] If the current user's job information does not include the current job title information, then the default job title label will be used as the current job title label for the current user.

[0162] Optionally, the communicable user determination module 32 is specifically used for:

[0163] Determine the communicable region label corresponding to the current region label, determine the communicable industry label corresponding to the current industry label, and determine the non-communicable job level label corresponding to the current job level label;

[0164] The communicable area label, the communicable industry label, and the non-communicable job title label are matched with the attribute labels of each candidate user, and the communicable user is determined from each candidate user based on the matching results.

[0165] Optionally, the communicable user determination module 32 is further used for:

[0166] Based on the matching results between the communicable area label and each of the candidate area labels, a target area label is determined from each of the candidate area labels, and based on the matching results between the communicable industry label and each of the candidate industry labels, a target industry label is determined from each of the candidate industry labels.

[0167] Based on the matching results between the non-communicable job title tags and each of the candidate job title tags, the target job title tag is determined from each of the candidate job title tags;

[0168] Based on the target region label and the target industry label, pre-screened users are determined from each of the candidate users, and non-communication users are determined from each of the candidate users based on the target job level label;

[0169] The pre-screened users, excluding the non-communication users, are designated as the communication users.

[0170] The address book generation device provided in this embodiment of the invention can execute the address book generation method provided in this embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the method.

[0171] According to embodiments of this disclosure, embodiments of the present invention also provide an electronic device, a readable storage medium, and a computer program product.

[0172] Figure 4 A schematic diagram of an electronic device 40 that can be used to implement embodiments of the present invention is shown. 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 can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0173] like Figure 4 As shown, the electronic device 40 includes at least one processor 41 and a memory, such as a read-only memory (ROM) 42 or a random access memory (RAM) 43, communicatively connected to the at least one processor 41. The memory stores computer programs executable by the at least one processor. The processor 41 can perform various appropriate actions and processes based on the computer program stored in the ROM 42 or loaded from storage unit 48 into the RAM 43. The RAM 43 may also store various programs and data required for the operation of the electronic device 40. The processor 41, ROM 42, and RAM 43 are interconnected via a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.

[0174] Multiple components in electronic device 40 are connected to I / O interface 45, including: input unit 46, such as keyboard, mouse, etc.; output unit 47, such as various types of monitors, speakers, etc.; storage unit 48, such as disk, optical disk, etc.; and communication unit 49, such as network card, modem, wireless transceiver, etc. Communication unit 49 allows electronic device 40 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0175] Processor 41 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 41 performs the various methods and processes described above, such as the address book generation method.

[0176] In some embodiments, the address book generation method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 48. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 40 via ROM 42 and / or communication unit 49. When the computer program is loaded into RAM 43 and executed by processor 41, one or more steps of the address book generation method described above may be performed. Alternatively, in other embodiments, processor 41 may be configured to perform the address book generation method by any other suitable means (e.g., by means of firmware).

[0177] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include: implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0178] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0179] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0180] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device 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 provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, 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 sound input, voice input, or tactile input).

[0181] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0182] A computing system can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product within the cloud computing service system to address the shortcomings of traditional physical hosts and virtual private servers, such as high management difficulty and weak business scalability.

[0183] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0184] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for generating an address book, characterized in that, The method includes: Based on the address book generation request sent by the current user, determine the current user's current job information, and determine the current user attribute tag corresponding to the current user based on the current user's job information; wherein, the current user attribute tag includes at least one of the current job level tag, current region tag, and current industry tag; Obtain candidate user attribute tags corresponding to at least one candidate user, and determine communicable users from each candidate user based on the current user attribute tag and each candidate user attribute tag; wherein, the candidate user attribute tags include at least one of candidate job level tags, candidate region tags, and candidate industry tags; The target address book available to the current user is generated based on the communication information of the communicable users.

2. The method according to claim 1, characterized in that, The step of determining the current user attribute tag corresponding to the current user based on the current user's employment information includes: Determine the current unit information corresponding to the current user based on the current user's employment information; The current unit information is matched with the first mapping relationship between unit information and region label, and the current region label corresponding to the current user is determined based on the matching result.

3. The method according to claim 2, characterized in that, Determining the current region label corresponding to the current user based on the matching result includes: If there is no region label matching the current unit information in the first mapping relationship, then the superior unit information corresponding to the current unit information is determined according to the unit structure relationship; The superior unit information is matched with the first mapping relationship, and the superior region label associated with the superior unit information is determined according to the matching result. The superior region label is then used as the current region label corresponding to the current user.

4. The method according to claim 1, characterized in that, The step of determining the current user attribute tag corresponding to the current user based on the current user's employment information includes: Determine the current unit information corresponding to the current user based on the current user's employment information; The current unit information is matched with the second mapping relationship between unit information and industry tags, and the current industry tag corresponding to the current user is determined based on the matching result.

5. The method according to claim 1, characterized in that, The step of determining the current user attribute tag corresponding to the current user based on the current user's employment information includes: Determine the current job title and rank information corresponding to the current user based on the current user's employment information; The current job title and rank information is matched with the third mapping relationship between job title and rank information and rank tags, and the current rank tag corresponding to the current user is determined based on the matching result.

6. The method according to claim 5, characterized in that, Also includes: If the current user's job information does not include the current job title information, then the default job title label will be used as the current job title label for the current user.

7. The method according to claim 1, characterized in that, The step of determining the communicable user from the candidate users based on the current user attribute tags and the candidate user attribute tags includes: Determine the communicable region label corresponding to the current region label, determine the communicable industry label corresponding to the current industry label, and determine the non-communicable job level label corresponding to the current job level label; The communicable area label, the communicable industry label, and the non-communicable job title label are matched with the attribute labels of each candidate user, and the communicable user is determined from each candidate user based on the matching results.

8. The method according to claim 7, characterized in that, The step of determining the communicable user from each of the candidate users based on the matching results includes: Based on the matching results between the communicable area label and each of the candidate area labels, a target area label is determined from each of the candidate area labels, and based on the matching results between the communicable industry label and each of the candidate industry labels, a target industry label is determined from each of the candidate industry labels. Based on the matching results between the non-communicable job title tags and each of the candidate job title tags, the target job title tag is determined from each of the candidate job title tags; Based on the target region label and the target industry label, pre-screened users are determined from each of the candidate users, and non-communication users are determined from each of the candidate users based on the target job level label; The pre-screened users, excluding the non-communication users, are designated as the communication users.

9. An apparatus for generating an address book, characterized in that, The device includes: The user attribute tag determination module is used to determine the current user's current job information based on the address book generation request sent by the current user, and to determine the current user attribute tag corresponding to the current user based on the current user's job information; wherein, the current user attribute tag includes at least one of the current job level tag, current region tag and current industry tag; A communicable user determination module is used to obtain candidate user attribute tags corresponding to at least one candidate user, and determine communicable users from each candidate user based on the current user attribute tag and each candidate user attribute tag; wherein, the candidate user attribute tags include at least one of candidate job level tags, candidate region tags, and candidate industry tags; The address book generation module is used to generate the target address book available to the current user based on the communication information of the communicable users.

10. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the address book generation method according to any one of claims 1-8.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a processor to perform the address book generation method according to any one of claims 1-8.

12. A computer program product comprising a computer program that, when executed by a processor, implements the method for generating an address book according to any one of claims 1-8.