Management method and system based on address book and bookkeeping book
By unifying the management of the address book and account book, and matching the account book template according to the contact information, the problem of not being able to understand the gift-giving or gift-receiving situation in traditional management is solved, and the conciseness of information display and the convenience of gift-giving and gift-exchange are achieved.
Patent Information
- Application Number
- CN202510715616.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-09-12
AI Technical Summary
Traditional address books and account books are managed independently, which makes it impossible for users to intuitively understand the gifts given or received by contacts, which is not conducive to gift-giving.
By unifying the management of the address book and the account book, presetting multiple account book templates, matching the templates according to the basic information of the contacts, and selecting the most suitable template combination through the selection algorithm and associating it with the favor tag, users can edit the accounting information according to the templates.
It enables users to intuitively understand the gift-giving or gift-receiving status of contacts based on the address book, simplifies the information display page, and promotes gift-giving exchanges.
Smart Images

Figure CN120632480A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of social network technology, and in particular to a management method and system based on an address book and an account book. Background Art
[0002] As interpersonal relationships become increasingly complex, communication methods are constantly evolving. In addition to traditional mail, phone calls, and mobile phones, we are now seeing the emergence of email and instant messaging, unique to the internet society. The innovation of communication tools and the accelerated pace of life have increased the difficulty of managing interpersonal relationships. The constant expansion and evolution of each individual's network of relationships has made address books a crucial tool for maintaining and sustaining connections.
[0003] The address book is a collection of people's addresses, contact information, identity information, etc. Through the relevant information in the address book, we can understand the relevant information of each person and establish social communication with the relevant contacts in the address book when necessary.
[0004] However, traditional address books only record basic communication information such as a contact's name and contact information, lacking additional fields for contact-related information. However, contacts and users may interact with each other frequently, such as giving gifts at weddings and funerals. In today's society, reciprocity is crucial in interpersonal relationships. Traditionally, people have kept separate ledgers for gift giving and receiving, completely independent of their address books. This prevents users from intuitively understanding the gift giving and receiving behavior of their contacts based on their address books, hindering the practice of reciprocity. Therefore, unifying the management of address books and ledgers is a pressing issue. Summary of the Invention
[0005] To address at least one of the aforementioned technical issues, the present invention proposes a management method and system based on an address book and an account book. By integrating the address book and the account book into a unified management system, users can intuitively understand the gift-giving and gift-receiving status of their corresponding contacts based on the address book, facilitating the exchange of gifts between users and their contacts. Furthermore, the present invention matches different contacts with corresponding account book templates, thereby simplifying the information fields for each contact in the address book and avoiding redundancy caused by unnecessary account book templates on the contact information display page. This ensures the integrity of the information while further concisely displaying the contact information page.
[0006] A first aspect of the present invention provides a management method based on an address book and an account book, the method comprising:
[0007] Multiple account book templates are preset, and the multiple account book templates include at least wedding gifts / return gifts, and full moon banquet gifts / return gifts;
[0008] Get the basic information of multiple contacts in the address book;
[0009] Based on the basic information of each contact, the corresponding account book template is matched through the preset matching algorithm;
[0010] Associate the account book template matched based on each contact with the corresponding contact's favor tag;
[0011] The user edits the accounting information based on the personal relationships with the corresponding contacts and in accordance with the corresponding account book template.
[0012] Furthermore, based on the basic information of each contact, a corresponding account book template is matched using a preset matching algorithm, specifically including:
[0013] According to the basic information of the corresponding contact, poll each account book template to determine whether it is suitable for the corresponding contact;
[0014] If it is compatible, the account book template is added to the pre-selected template library of the corresponding contact; if it is not compatible, it is not added to the pre-selected template library of the corresponding contact;
[0015] After all account book templates are polled, the number of account book templates in the pre-selected template library is counted as n;
[0016] Randomly combine n account book templates in the pre-selected template library to form (2n-1) template combinations;
[0017] According to the preset selection algorithm, the most suitable template combination is selected from the (2n-1) template combinations and associated with the corresponding contact's favor tag.
[0018] Furthermore, the most suitable template combination is selected from the (2n-1) template combinations according to a preset selection algorithm and associated with the corresponding contact's favor tag, specifically including:
[0019] Each template combination in the (2n―1) template combinations is challenged with the remaining template combinations for completeness and duplication removal;
[0020] During the integrity challenge process, if the template integrity of the former template combination is higher than that of the latter template combination, the integrity challenge of the former template combination is determined to be successful once;
[0021] During the deduplication challenge process, if the degree of repetition between the former template combination and the account book templates of other associated contacts is lower than the degree of repetition between the latter template combination and the account book templates of other associated contacts, the deduplication challenge for the former template combination is deemed successful.
[0022] After all (2n-1) template combinations have completed the above pairwise challenges, the total number of successful integrity challenges for each template combination is accumulated, and the total number of successful deduplication challenges for each template combination is accumulated;
[0023] Preset completeness and deduplication have different influence weights on the selection of template combinations;
[0024] For each template combination, the total number of successful integrity challenges is multiplied by the corresponding influence weight to obtain a first weight value, and the total number of successful deduplication challenges is multiplied by the corresponding influence weight to obtain a second weight value;
[0025] Add the first weight value and the second weight value of each template combination to obtain the selection score of each template combination;
[0026] The template combination with the highest selection score is selected as the most suitable template combination and is associated with the corresponding contact's favor tag.
[0027] Furthermore, during the integrity challenge process, the method includes:
[0028] Count the number of account book templates in the former template combination and the latter template combination respectively;
[0029] If the number of account book templates in the former template combination is greater than the number of account book templates in the latter template combination, the integrity challenge of the former template combination is determined to be successful once; if the number of account book templates in the former template combination is less than or equal to the number of account book templates in the latter template combination, the integrity challenge of the former template combination is determined to be unsuccessful and no record is made.
[0030] Furthermore, during the deduplication challenge process, the method includes:
[0031] Get other contacts associated with the corresponding contact;
[0032] Extract the existing account book templates of other related contacts;
[0033] Count the number of first duplicate templates between the account book template in the former template combination and the existing account book templates of other associated contacts, and count the number of second duplicate templates between the account book template in the latter template combination and the existing account book templates of other associated contacts;
[0034] If the number of the first repeated templates is less than the number of the second repeated templates, the deduplication challenge of the former template combination is determined to be successful once; if the number of the first repeated templates is greater than or equal to the number of the second repeated templates, the deduplication challenge of the former template combination is determined to be unsuccessful and no record is made.
[0035] Furthermore, other contacts associated with the corresponding contact are obtained, including:
[0036] Constructing a contact relationship graph based on the address book according to the basic information of multiple contacts in the address book;
[0037] Finding other contacts with a preset relationship in the contact relationship graph based on the corresponding contact;
[0038] According to the preset relationship, analyze the account book templates that can be shared by the corresponding contacts with the preset relationship and other contacts;
[0039] Corresponding contacts, other contacts, and shared account book templates are associated and stored in a database;
[0040] Get other contacts related to the corresponding contact from the database.
[0041] A second aspect of the present invention further provides a management system based on an address book and an account book, comprising a memory and a processor, wherein the memory includes a management method program based on an address book and an account book, and when the management method program based on an address book and an account book is executed by the processor, the following steps are implemented:
[0042] Multiple account book templates are preset, and the multiple account book templates include at least wedding gifts / return gifts, and full moon banquet gifts / return gifts;
[0043] Get the basic information of multiple contacts in the address book;
[0044] Based on the basic information of each contact, the corresponding account book template is matched through the preset matching algorithm;
[0045] Associate the account book template matched based on each contact with the corresponding contact's favor tag;
[0046] The user edits the accounting information based on the personal relationships with the corresponding contacts and in accordance with the corresponding account book template.
[0047] Furthermore, based on the basic information of each contact, a corresponding account book template is matched using a preset matching algorithm, specifically including:
[0048] According to the basic information of the corresponding contact, poll each account book template to determine whether it is suitable for the corresponding contact;
[0049] If it is compatible, the account book template is added to the pre-selected template library of the corresponding contact; if it is not compatible, it is not added to the pre-selected template library of the corresponding contact;
[0050] After all account book templates are polled, the number of account book templates in the pre-selected template library is counted as n;
[0051] Randomly combine n account book templates in the pre-selected template library to form (2n-1) template combinations;
[0052] According to the preset selection algorithm, the most suitable template combination is selected from the (2n-1) template combinations and associated with the corresponding contact's favor tag.
[0053] Furthermore, the most suitable template combination is selected from the (2n-1) template combinations according to a preset selection algorithm and associated with the corresponding contact's favor tag, specifically including:
[0054] Each template combination in the (2n―1) template combinations is challenged with the remaining template combinations for completeness and duplication removal;
[0055] During the integrity challenge process, if the template integrity of the former template combination is higher than that of the latter template combination, the integrity challenge of the former template combination is determined to be successful once;
[0056] During the deduplication challenge process, if the degree of repetition between the former template combination and the account book templates of other associated contacts is lower than the degree of repetition between the latter template combination and the account book templates of other associated contacts, the deduplication challenge for the former template combination is deemed successful.
[0057] After all (2n-1) template combinations have completed the above pairwise challenges, the total number of successful integrity challenges for each template combination is accumulated, and the total number of successful deduplication challenges for each template combination is accumulated;
[0058] Preset completeness and deduplication have different influence weights on the selection of template combinations;
[0059] For each template combination, the total number of successful integrity challenges is multiplied by the corresponding influence weight to obtain a first weight value, and the total number of successful deduplication challenges is multiplied by the corresponding influence weight to obtain a second weight value;
[0060] Add the first weight value and the second weight value of each template combination to obtain the selection score of each template combination;
[0061] The template combination with the highest selection score is selected as the most suitable template combination and is associated with the corresponding contact's favor tag.
[0062] Furthermore, during the integrity challenge process, the management method program based on the address book and the account book, when executed by the processor, further implements the following steps:
[0063] Count the number of account book templates in the former template combination and the latter template combination respectively;
[0064] If the number of account book templates in the former template combination is greater than the number of account book templates in the latter template combination, the integrity challenge of the former template combination is determined to be successful once; if the number of account book templates in the former template combination is less than or equal to the number of account book templates in the latter template combination, the integrity challenge of the former template combination is determined to be unsuccessful and no record is made.
[0065] The present invention proposes a management method and system based on an address book and an account book. The method first obtains the basic information of multiple contacts in the address book; matches the corresponding account book template based on the basic information of each contact through a preset matching algorithm; then associates the account book template matched based on each contact with the corresponding contact's favor label; and finally, the user edits the account information according to the favor exchanges with the corresponding contact and in accordance with the corresponding account book template. The present invention unifies the address book and the account book so that the user can intuitively understand the gift-giving or gift-receiving situation of the corresponding contact based on the address book, making it easier for the user to exchange gifts with the contact. At the same time, the present invention also matches the corresponding account book template according to different contacts, thereby simplifying the information field of each contact in the address book, avoiding unnecessary account book templates from causing redundancy to the contact information display page, and further making the contact information display page more concise while ensuring the completeness of the information.
[0066] Additional aspects and advantages of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description which follows, or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 A flowchart of a management method based on an address book and an account book according to the present invention is shown;
[0068] Figure 2 A block diagram of a management system based on an address book and an account book according to the present invention is shown. DETAILED DESCRIPTION
[0069] In order to more clearly understand the above-mentioned objects, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the absence of conflict, the embodiments of the present application and the features therein can be combined with each other.
[0070] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the scope of protection of the present invention is not limited to the specific embodiments disclosed below.
[0071] Figure 1 The flowchart of the management method based on the address book and the account book of the present invention is shown.
[0072] like Figure 1 As shown, the first aspect of the present invention proposes a management method based on an address book and an account book, the method comprising:
[0073] S102, presetting multiple account book templates, wherein the multiple account book templates include at least wedding gifts / return gifts and full moon banquet gifts / return gifts;
[0074] S104, obtaining basic information of multiple contacts in the address book;
[0075] S106, matching the corresponding account book template based on the basic information of each contact using a preset matching algorithm;
[0076] S108, associating the account book template matched based on each contact with the corresponding contact's favor tag;
[0077] S110, the user edits the accounting information according to the personal connections with the corresponding contact and the corresponding accounting book template.
[0078] It should be noted that in addition to wedding gifts / return gifts, full-month banquet gifts / return gifts, multiple account book templates can also include gift giving / return gifts, giving gifts when visiting the sick, receiving gifts when sick, paying for entertainment, etc., but are not limited to these.
[0079] It can be understood that each account book template has corresponding accounting information columns, such as a wedding gift / return gift template, which may include: income and expenditure method (gift or return gift), amount, time of occurrence, etc.
[0080] It should be noted that the basic information of the contact may include the contact's name, contact information, age, relationship with the user, marital status, etc.
[0081] It is understandable that each contact's information display page in the address book has different tags, such as relationship tags (such as classmates, relatives, friends, etc.), gender tags (male / female), etc. In this embodiment, it also includes a favor tag, which is used to record the interactions between the contact and the user, which is equivalent to a ledger between the two.
[0082] The present invention first obtains the basic information of multiple contacts in the address book; matches the corresponding account book template based on the basic information of each contact and through a preset matching algorithm; then associates the account book template matched based on each contact to the corresponding contact's favor label; finally, the user edits the accounting information according to the favor exchanges with the corresponding contact and in accordance with the corresponding account book template. The present invention unifies the address book and the account book so that the user can intuitively understand the corresponding contact's gift giving or receiving situation based on the address book, making it convenient for the user to exchange gifts with the contact. At the same time, the present invention also matches the corresponding account book template according to different contacts, thereby simplifying the information field of each contact in the address book, avoiding unnecessary account book templates from causing redundancy to the contact's information display page, and further making the contact's information display page more concise while ensuring the integrity of the information.
[0083] According to an embodiment of the present invention, based on the basic information of each contact, a corresponding account book template is matched using a preset matching algorithm, specifically including:
[0084] According to the basic information of the corresponding contact, poll each account book template to determine whether it is suitable for the corresponding contact;
[0085] If it is compatible, the account book template is added to the pre-selected template library of the corresponding contact; if it is not compatible, it is not added to the pre-selected template library of the corresponding contact;
[0086] After all account book templates are polled, the number of account book templates in the pre-selected template library is counted as n;
[0087] Randomly combine n account book templates in the pre-selected template library to form (2n-1) template combinations;
[0088] According to the preset selection algorithm, the most suitable template combination is selected from the (2n-1) template combinations and associated with the corresponding contact's favor tag.
[0089] It should be noted that, by randomly combining n account book templates, we can get By deducing and transforming the above formula, we can get (2n―1).
[0090] According to a specific embodiment of the present invention, each account book template is polled to determine whether it is compatible with the corresponding contact. If the corresponding contact is under 18 years old, the wedding gift template is not compatible with the contact; otherwise, it is determined to be compatible with the contact. If the corresponding contact is under 18 years old, the full moon banquet gift template is not compatible with the contact; otherwise, it is determined to be compatible with the contact. However, this is not limited to this.
[0091] It can be understood that the pre-selected template library is only a preliminary selection of account book templates based on the basic information of the corresponding contacts.
[0092] According to an embodiment of the present invention, the most suitable template combination is selected from the (2n-1) template combinations according to a preset selection algorithm and associated with the corresponding contact's favor tag, specifically including:
[0093] Each template combination in the (2n―1) template combinations is challenged with the remaining template combinations for completeness and duplication removal;
[0094] During the integrity challenge process, if the template integrity of the former template combination is higher than that of the latter template combination, the integrity challenge of the former template combination is determined to be successful once;
[0095] During the deduplication challenge process, if the degree of repetition between the former template combination and the account book templates of other associated contacts is lower than the degree of repetition between the latter template combination and the account book templates of other associated contacts, the deduplication challenge for the former template combination is deemed successful.
[0096] After all (2n-1) template combinations have completed the above pairwise challenges, the total number of successful integrity challenges for each template combination is accumulated, and the total number of successful deduplication challenges for each template combination is accumulated;
[0097] Preset completeness and deduplication have different influence weights on the selection of template combinations;
[0098] For each template combination, the total number of successful integrity challenges is multiplied by the corresponding influence weight to obtain a first weight value, and the total number of successful deduplication challenges is multiplied by the corresponding influence weight to obtain a second weight value;
[0099] Add the first weight value and the second weight value of each template combination to obtain the selection score of each template combination;
[0100] The template combination with the highest selection score is selected as the most suitable template combination and is associated with the corresponding contact's favor tag.
[0101] It should be noted that the present invention challenges the (2n-1) template combinations in pairs, rather than comparing the corresponding contacts with the (2n-1) template combinations at one time, and there is no need to form a unified and fixed comparison standard based on the (2n-1) template combinations. It can be understood that if the corresponding contacts are compared with the (2n-1) template combinations at one time, it is necessary to form a unified comparison standard in combination with the (2n-1) template combinations, and score each template combination based on this comparison standard. However, this comparison standard may be set in advance. If the comparison standard deviates, then the matching of the template combination of the corresponding contact will naturally be inaccurate. The present invention compares in pairs, and there is no need to set a unified comparison standard. However, after all template combinations have completed the pairwise comparison, each template combination has a relative challenge result, which makes it easy to select the most suitable template combination from the (2n-1) template combinations and associate it with the corresponding contact's favor label.
[0102] According to an embodiment of the present invention, during the integrity challenge process, the method includes:
[0103] Count the number of account book templates in the former template combination and the latter template combination respectively;
[0104] If the number of account book templates in the former template combination is greater than the number of account book templates in the latter template combination, the integrity challenge of the former template combination is determined to be successful once; if the number of account book templates in the former template combination is less than or equal to the number of account book templates in the latter template combination, the integrity challenge of the former template combination is determined to be unsuccessful and no record is made.
[0105] According to an embodiment of the present invention, during the deduplication challenge process, the method includes:
[0106] Get other contacts associated with the corresponding contact;
[0107] Extract the existing account book templates of other related contacts;
[0108] Count the number of first duplicate templates between the account book template in the former template combination and the existing account book templates of other associated contacts, and count the number of second duplicate templates between the account book template in the latter template combination and the existing account book templates of other associated contacts;
[0109] If the number of the first repeated templates is less than the number of the second repeated templates, the deduplication challenge of the former template combination is determined to be successful once; if the number of the first repeated templates is greater than or equal to the number of the second repeated templates, the deduplication challenge of the former template combination is determined to be unsuccessful and no record is made.
[0110] According to an embodiment of the present invention, obtaining other contacts associated with a corresponding contact specifically includes:
[0111] Constructing a contact relationship graph based on the address book according to the basic information of multiple contacts in the address book;
[0112] Finding other contacts with a preset relationship in the contact relationship graph based on the corresponding contact;
[0113] According to the preset relationship, analyze the account book templates that can be shared by the corresponding contacts with the preset relationship and other contacts;
[0114] Corresponding contacts, other contacts, and shared account book templates are associated and stored in a database;
[0115] Get other contacts related to the corresponding contact from the database.
[0116] It is understood that the basic information of each contact includes the identity relationship with the user, such as the identity relationship of the first contact is cousin, and the identity relationship of the second contact is cousin's wife. Accordingly, the identity relationship of other contacts can also be combined to construct the contact relationship map of the address book as a whole.
[0117] If the first contact's identity relationship is a cousin, and the second contact's identity relationship is a cousin's wife, and the relationship graph constructed based on other information indicates that the first and second contacts are married, then the first and second contacts can be identified as sharing a common account book template for wedding gifts / return gifts. If the first contact's account book template has already been matched and includes a wedding gift / return gift account book template, and the system is matching the account book template for the second contact, the template combination that includes a wedding gift / return gift account book template will contain duplicate templates.
[0118] Figure 2 A block diagram of a management system based on an address book and an account book according to the present invention is shown.
[0119] like Figure 2 As shown, the second aspect of the present invention further proposes a management system 2 based on an address book and an account book, comprising a memory 21 and a processor 22, wherein the memory includes a management method program based on an address book and an account book, and when the management method program based on an address book and an account book is executed by the processor, the following steps are implemented:
[0120] Multiple account book templates are preset, and the multiple account book templates include at least wedding gifts / return gifts, and full moon banquet gifts / return gifts;
[0121] Get the basic information of multiple contacts in the address book;
[0122] Based on the basic information of each contact, the corresponding account book template is matched through the preset matching algorithm;
[0123] Associate the account book template matched based on each contact with the corresponding contact's favor tag;
[0124] The user edits the accounting information based on the personal relationships with the corresponding contacts and in accordance with the corresponding account book template.
[0125] According to an embodiment of the present invention, based on the basic information of each contact, a corresponding account book template is matched using a preset matching algorithm, specifically including:
[0126] According to the basic information of the corresponding contact, poll each account book template to determine whether it is suitable for the corresponding contact;
[0127] If it is compatible, the account book template is added to the pre-selected template library of the corresponding contact; if it is not compatible, it is not added to the pre-selected template library of the corresponding contact;
[0128] After all account book templates are polled, the number of account book templates in the pre-selected template library is counted as n;
[0129] Randomly combine n account book templates in the pre-selected template library to form (2n-1) template combinations;
[0130] According to the preset selection algorithm, the most suitable template combination is selected from the (2n-1) template combinations and associated with the corresponding contact's favor tag.
[0131] It should be noted that, by randomly combining n account book templates, we can get By deducing and transforming the above formula, we can get (2n―1).
[0132] According to an embodiment of the present invention, the most suitable template combination is selected from the (2n-1) template combinations according to a preset selection algorithm and associated with the corresponding contact's favor tag, specifically including:
[0133] Each template combination in the (2n―1) template combinations is challenged with the remaining template combinations for completeness and duplication removal;
[0134] During the integrity challenge process, if the template integrity of the former template combination is higher than that of the latter template combination, the integrity challenge of the former template combination is determined to be successful once;
[0135] During the deduplication challenge process, if the degree of repetition between the former template combination and the account book templates of other associated contacts is lower than the degree of repetition between the latter template combination and the account book templates of other associated contacts, the deduplication challenge for the former template combination is deemed successful.
[0136] After all (2n-1) template combinations have completed the above pairwise challenges, the total number of successful integrity challenges for each template combination is accumulated, and the total number of successful deduplication challenges for each template combination is accumulated;
[0137] Preset completeness and deduplication have different influence weights on the selection of template combinations;
[0138] For each template combination, the total number of successful integrity challenges is multiplied by the corresponding influence weight to obtain a first weight value, and the total number of successful deduplication challenges is multiplied by the corresponding influence weight to obtain a second weight value;
[0139] Add the first weight value and the second weight value of each template combination to obtain the selection score of each template combination;
[0140] The template combination with the highest selection score is selected as the most suitable template combination and is associated with the corresponding contact's favor tag.
[0141] According to an embodiment of the present invention, during the integrity challenge process, the management method program based on the address book and the account book, when executed by the processor, further implements the following steps:
[0142] Count the number of account book templates in the former template combination and the latter template combination respectively;
[0143] If the number of account book templates in the former template combination is greater than the number of account book templates in the latter template combination, the integrity challenge of the former template combination is determined to be successful once; if the number of account book templates in the former template combination is less than or equal to the number of account book templates in the latter template combination, the integrity challenge of the former template combination is determined to be unsuccessful and no record is made.
[0144] The present invention proposes a management method and system based on an address book and an account book. The method first obtains the basic information of multiple contacts in the address book; matches the corresponding account book template based on the basic information of each contact through a preset matching algorithm; then associates the account book template matched based on each contact with the corresponding contact's favor label; and finally, the user edits the account information according to the favor exchanges with the corresponding contact and in accordance with the corresponding account book template. The present invention unifies the address book and the account book so that the user can intuitively understand the gift-giving or gift-receiving situation of the corresponding contact based on the address book, making it easier for the user to exchange gifts with the contact. At the same time, the present invention also matches the corresponding account book template according to different contacts, thereby simplifying the information field of each contact in the address book, avoiding unnecessary account book templates from causing redundancy to the contact information display page, and further making the contact information display page more concise while ensuring the completeness of the information.
[0145] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0146] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed across multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0147] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0148] Those skilled in the art will understand that all or part of the steps of the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROMs), random access memories (RAMs), magnetic disks, optical disks, and other media that can store program codes.
[0149] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0150] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A management method based on address book and account book, characterized in that: The method comprises: Multiple account book templates are preset, and the multiple account book templates include at least wedding gifts / return gifts, and full moon banquet gifts / return gifts; Get the basic information of multiple contacts in the address book; Based on the basic information of each contact, the corresponding account book template is matched through the preset matching algorithm; Associate the account book template matched based on each contact with the corresponding contact's favor tag; The user edits the accounting information based on the personal relationships with the corresponding contacts and in accordance with the corresponding account book template.
2. A management method based on address book and account book according to claim 1, characterized in that: Based on the basic information of each contact, a corresponding account book template is matched through a preset matching algorithm, including: According to the basic information of the corresponding contact, poll each account book template to determine whether it is suitable for the corresponding contact; If it is compatible, the account book template is added to the pre-selected template library of the corresponding contact; if it is not compatible, it is not added to the pre-selected template library of the corresponding contact; After all account book templates are polled, the number of account book templates in the pre-selected template library is counted as n; Randomly combine n account book templates in the pre-selected template library to form (2n-1) template combinations; According to the preset selection algorithm, the most suitable template combination is selected from the (2n-1) template combinations and associated with the corresponding contact's favor tag.
3. A management method based on address book and account book according to claim 2, characterized in that: For the (2n-1) template combinations, the most suitable template combination is selected according to the preset selection algorithm and associated with the corresponding contact's favor tag, specifically including: Each template combination in the (2n―1) template combinations is challenged with the remaining template combinations for completeness and duplication removal; During the integrity challenge process, if the template integrity of the former template combination is higher than that of the latter template combination, the integrity challenge of the former template combination is determined to be successful once; During the deduplication challenge process, if the degree of repetition between the former template combination and the account book templates of other associated contacts is lower than the degree of repetition between the latter template combination and the account book templates of other associated contacts, the deduplication challenge for the former template combination is deemed successful. After all (2n-1) template combinations have completed the pairwise challenge, the total number of successful integrity challenges for each template combination is accumulated, and the total number of successful deduplication challenges for each template combination is accumulated; Preset completeness and deduplication have different influence weights on the selection of template combinations; For each template combination, the total number of successful integrity challenges is multiplied by the corresponding influence weight to obtain a first weight value, and the total number of successful deduplication challenges is multiplied by the corresponding influence weight to obtain a second weight value; Add the first weight value and the second weight value of each template combination to obtain the selection score of each template combination; The template combination with the highest selection score is selected as the most suitable template combination and is associated with the corresponding contact's favor tag.
4. A management method based on address book and account book according to claim 3, characterized in that: During the integrity challenge, the method includes: Count the number of account book templates in the former template combination and the latter template combination respectively; If the number of account book templates in the former template combination is greater than the number of account book templates in the latter template combination, the integrity challenge of the former template combination is determined to be successful once; if the number of account book templates in the former template combination is less than or equal to the number of account book templates in the latter template combination, the integrity challenge of the former template combination is determined to be unsuccessful and no record is made.
5. A management method based on address book and account book according to claim 3, characterized in that: During the deduplication challenge, the method includes: Get other contacts associated with the corresponding contact; Extract the existing account book templates of other related contacts; Count the number of first duplicate templates between the account book template in the former template combination and the existing account book templates of other associated contacts, and count the number of second duplicate templates between the account book template in the latter template combination and the existing account book templates of other associated contacts; If the number of the first repeated templates is less than the number of the second repeated templates, the deduplication challenge of the former template combination is determined to be successful once; if the number of the first repeated templates is greater than or equal to the number of the second repeated templates, the deduplication challenge of the former template combination is determined to be unsuccessful and no record is made.
6. A management method based on address book and account book according to claim 5, characterized in that: Get other contacts associated with the corresponding contact, including: Constructing a contact relationship graph based on the address book according to the basic information of multiple contacts in the address book; Finding other contacts with a preset relationship in the contact relationship graph based on the corresponding contact; According to the preset relationship, analyze the account book templates that can be shared by the corresponding contacts with the preset relationship and other contacts; Corresponding contacts, other contacts, and shared account book templates are associated and stored in a database; Get other contacts related to the corresponding contact from the database.
7. A management system based on address book and account book, characterized in that: The system comprises a memory and a processor, wherein the memory comprises a management method program based on an address book and an account book, and when the management method program based on an address book and an account book is executed by the processor, the following steps are implemented: Multiple account book templates are preset, and the multiple account book templates include at least wedding gifts / return gifts, and full moon banquet gifts / return gifts; Get the basic information of multiple contacts in the address book; Based on the basic information of each contact, the corresponding account book template is matched through the preset matching algorithm; Associate the account book template matched based on each contact with the corresponding contact's favor tag; The user edits the accounting information based on the personal relationships with the corresponding contacts and in accordance with the corresponding account book template.
8. A management system based on address book and account book according to claim 7, characterized in that: Based on the basic information of each contact, a corresponding account book template is matched through a preset matching algorithm, including: According to the basic information of the corresponding contact, poll each account book template to determine whether it is suitable for the corresponding contact; If it is compatible, the account book template is added to the pre-selected template library of the corresponding contact; if it is not compatible, it is not added to the pre-selected template library of the corresponding contact; After all account book templates are polled, the number of account book templates in the pre-selected template library is counted as n; Randomly combine n account book templates in the pre-selected template library to form (2n-1) template combinations; According to the preset selection algorithm, the most suitable template combination is selected from the (2n-1) template combinations and associated with the corresponding contact's favor tag.
9. A management system based on address book and account book according to claim 8, characterized in that: For the (2n-1) template combinations, the most suitable template combination is selected according to the preset selection algorithm and associated with the corresponding contact's favor tag, specifically including: Each template combination in the (2n―1) template combinations is challenged with the remaining template combinations for completeness and duplication removal; During the integrity challenge process, if the template integrity of the former template combination is higher than that of the latter template combination, the integrity challenge of the former template combination is determined to be successful once; During the deduplication challenge process, if the degree of repetition between the former template combination and the account book templates of other associated contacts is lower than the degree of repetition between the latter template combination and the account book templates of other associated contacts, the deduplication challenge for the former template combination is deemed successful. After all (2n-1) template combinations have completed the pairwise challenge, the total number of successful integrity challenges for each template combination is accumulated, and the total number of successful deduplication challenges for each template combination is accumulated; Preset completeness and deduplication have different influence weights on the selection of template combinations; For each template combination, the total number of successful integrity challenges is multiplied by the corresponding influence weight to obtain a first weight value, and the total number of successful deduplication challenges is multiplied by the corresponding influence weight to obtain a second weight value; Add the first weight value and the second weight value of each template combination to obtain the selection score of each template combination; The template combination with the highest selection score is selected as the most suitable template combination and is associated with the corresponding contact's favor tag.
10. A management system based on address book and account book according to claim 9, characterized in that: During the integrity challenge process, the management method program based on the address book and the account book, when executed by the processor, further implements the following steps: Count the number of account book templates in the former template combination and the latter template combination respectively; If the number of account book templates in the former template combination is greater than the number of account book templates in the latter template combination, the integrity challenge of the former template combination is determined to be successful once; if the number of account book templates in the former template combination is less than or equal to the number of account book templates in the latter template combination, the integrity challenge of the former template combination is determined to be unsuccessful and no record is made.