Member rights management method, device, computer equipment and readable storage medium
By receiving user-side member rights display requests and using membership system identification and account information to screen effective rights and interests, it solves the problem of low efficiency in member rights screening in e-commerce platforms and achieves efficient member rights management.
Patent Information
- Application Number
- CN202010954313.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-11
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2040-09-11
AI Technical Summary
In the field of Internet e-commerce, as the number of e-commerce platforms and the amount of data increase, the screening efficiency of member rights gradually decreases, making it difficult to effectively improve the membership rights enjoyed by users on various e-commerce platforms.
By receiving the user's member rights display request, the member system identifier is used to obtain the corresponding rights type list, and the effective rights and interests are screened out based on the target account information, and a valid rights list is generated and sent to the user, thereby improving the screening efficiency of member rights.
Quickly locate the rights type list through the membership system identification, perform preliminary filtering based on account information, narrow the screening scope, and only filter valid rights and interests in the target rights type list, which significantly improves the screening efficiency of member rights.
Smart Images

Figure CN112101994B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a member rights management method, device, computer equipment and readable storage medium. Background Art
[0002] In the field of Internet e-commerce, e-commerce platforms set up a membership system and issue membership benefits to members' membership accounts, which is an effective way to increase user activity and user stickiness.
[0003] At present, each e-commerce platform has set up corresponding rights distribution strategies for different member accounts. After a user logs in to a member account on an e-commerce platform, he clicks on the rights view button such as "My Rights", and the server selects the member rights enjoyed by the user and sends them to the user end, and the user can see the relevant member rights enjoyed by him on the e-commerce platform.
[0004] However, with the dramatic increase in the number of e-commerce platforms and the amount of data, as well as the increasing complexity of membership rights distribution strategies, how to improve the efficiency of screening membership rights when screening the membership rights enjoyed by users on various e-commerce platforms has become a problem that needs to be solved urgently. Summary of the invention
[0005] Based on this, it is necessary to provide a member rights management method, device, computer equipment and readable storage medium that can improve the screening efficiency of member rights in response to the above technical problems.
[0006] In a first aspect, an embodiment of the present application provides a member rights management method, the method comprising:
[0007] Receiving a member rights display request for a target account sent by a user terminal, wherein the member rights display request carries a member system identifier;
[0008] According to the member system identifier, a plurality of equity type lists under the member system corresponding to the member system identifier are acquired, and according to the first account information of the target account, a target equity type list is determined from each of the equity type lists, wherein the target equity type list includes at least one candidate equity;
[0009] Based on the second account information of the target account, valid rights matching the second account information are screened out from the candidate rights in the target rights type list, and a valid rights list is generated according to the valid rights, and the valid rights list is sent to the user terminal.
[0010] In one embodiment, the target equity type list further includes a logical expression corresponding to each candidate equity, the logical expression includes at least one equity claiming condition, and the filtering out valid equity matching the second account information from each candidate equity in the target equity type list based on the second account information of the target account includes:
[0011] For each candidate benefit in the target benefit type list, detecting whether the second account information satisfies each benefit claiming condition included in the logical expression corresponding to the candidate benefit;
[0012] If the second account information satisfies the conditions for claiming the rights and interests, the candidate rights and interests are determined to be valid rights and interests.
[0013] In one embodiment, after detecting whether the second account information satisfies each of the rights and interests claiming conditions included in the logical expression corresponding to the candidate rights and interests, the method further includes:
[0014] If it is detected for the first time that the second account information does not satisfy the target benefit claiming condition among the benefit claiming conditions, the candidate benefit is determined as an invalid benefit.
[0015] In one embodiment, the method further comprises:
[0016] For the logical expression corresponding to each candidate right, if a modification instruction for the logical expression is received, the new right collection condition is spliced into the logical expression according to the instruction of the modification instruction, or the expired right collection condition is deleted from the logical expression according to the instruction of the modification instruction.
[0017] In one embodiment, the method further comprises:
[0018] For each candidate benefit in the target benefit type list, obtaining at least one benefit claiming condition of the candidate benefit;
[0019] The rights and interests collection conditions of the candidate rights and interests are concatenated to obtain a logical expression corresponding to the candidate rights and interests, and the logical expression is stored in the target rights and interests type list corresponding to the candidate rights and interests.
[0020] In one embodiment, obtaining, according to the membership system identifier, a list of multiple rights and interests types under the membership system corresponding to the membership system identifier includes:
[0021] According to the membership system identifier, a plurality of rights and interests type identifiers under the membership system corresponding to the membership system identifier are obtained, wherein different rights and interests type identifiers correspond to different rights and interests type lists;
[0022] Correspondingly, determining a target equity type list from each of the equity type lists according to the first account information of the target account includes:
[0023] According to the first account information, determining a target equity type identifier that matches the first account information from each of the equity type identifiers;
[0024] The target equity type list is acquired according to the target equity type identifier.
[0025] In one embodiment, the first account information includes membership level or membership points;
[0026] In the case where the first account information includes the membership level, the second account information includes at least one of the membership points, account activation days, account consumption amount, account order quantity, and account benefit redemption times;
[0027] When the first account information includes the member points, the second account information includes at least one of the member level, the account activation days, the account consumption amount, the account order quantity and the account benefit collection times.
[0028] In a second aspect, an embodiment of the present application provides a member rights management device, the device comprising:
[0029] A receiving module, configured to receive a member rights display request for a target account sent by a user terminal, wherein the member rights display request carries a member system identifier;
[0030] an acquisition module, configured to acquire, according to the membership system identifier, a plurality of equity type lists under the membership system corresponding to the membership system identifier, and determine a target equity type list from each of the equity type lists according to the first account information of the target account, wherein the target equity type list includes at least one candidate equity;
[0031] A screening module is used to screen out valid rights and interests that match the second account information from each candidate right and interest in the target right and interest type list based on the second account information of the target account, generate a valid right and interest list based on the valid right and interest, and send the valid right and interest list to the user terminal.
[0032] In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method of the first aspect when executing the computer program.
[0033] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method of the first aspect described above are implemented.
[0034] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:
[0035] By receiving a member rights display request for a target account sent by a user terminal, a plurality of rights type lists under the member system corresponding to the member system identifier are obtained according to the member system identifier carried in the member rights display request. In this way, different member systems are distinguished by the member system identifier, and the plurality of rights type lists under the corresponding member system can be quickly located based on the member system identifier; then, according to the first account information of the target account, a target rights type list is determined from each rights type list, and the target rights type list includes at least one candidate rights, that is, the plurality of rights type lists are preliminarily filtered in combination with the first account information, thereby narrowing the scope; then, based on the second account information of the target account, valid rights matching the second account information are screened out from each candidate rights in the target rights type list after the scope is narrowed, thus, compared with directly screening valid rights from multiple rights type lists, the embodiment of the present application only screens valid rights based on the target rights type list, which greatly narrows the screening scope, and then generates a valid rights list based on the valid rights, and sends the valid rights list to the user terminal, thereby improving the efficiency of screening the member rights enjoyed by the user under the member system. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 An application environment diagram of a member rights management method in an embodiment;
[0037] Figure 2 A schematic diagram of a flow chart of a member rights management method in one embodiment;
[0038] Figure 3 is a flow chart of step 203 in one embodiment;
[0039] Figure 4 A schematic diagram of a process for a server to obtain a logical expression corresponding to each candidate equity in an embodiment;
[0040] Figure 5 This is a schematic diagram of an exemplary interface for setting conditions for claiming benefits;
[0041] Figure 6 is a flow chart of step 202 in one embodiment;
[0042] Figure 7 A schematic diagram of a flow chart of a member rights management method in one embodiment;
[0043] Figure 8 is a structural block diagram of a member rights management device in an embodiment;
[0044] Fig. 9 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0046] E-commerce platforms can effectively improve user activity and stickiness by setting up a membership system and issuing membership rights to members' membership accounts. As a public service platform, the rights and interests middle platform needs to connect to different e-commerce platforms. The rights and interests middle platform can be a server. Each e-commerce platform has different rights and interests issuance strategies for different member accounts, and some e-commerce platforms also include different stores. Each store also has corresponding rights and interests issuance strategies for different member accounts. After a user logs in to a member account on an e-commerce platform and clicks on the rights and interests viewing button such as "My Rights", the rights and interests middle platform needs to filter the membership rights and interests of the e-commerce platform that the user needs to view or the membership rights and interests of a certain store and send them to the user end for the user to view.
[0047] With the advent of the big data era, e-commerce business has grown explosively, the amount of data has become larger and larger, and the complexity of each member rights distribution strategy has also increased. Therefore, when the rights and interests middle platform screens the membership rights enjoyed by users on various e-commerce platforms, how to improve the screening efficiency of member rights has become a problem that needs to be solved urgently.
[0048] In view of this, an embodiment of the present application proposes a member rights management method, in which a member rights display request for a target account sent by a user terminal is received, and according to a member system identifier carried in the member rights display request, multiple rights type lists under the member system corresponding to the member system identifier are obtained. In this way, different member systems are distinguished by the member system identifier. The member system can be a member system of an e-commerce platform or a member system corresponding to a store in the e-commerce platform. Based on the member system identifier, multiple rights type lists under the corresponding member system can be quickly located; then, according to the first account information of the target account, a target rights type list is determined from each rights type list, The target equity type list includes at least one candidate equity, that is, multiple equity type lists are preliminarily filtered in combination with the first account information to narrow the scope; then, based on the second account information of the target account, valid equity matching the second account information is screened out from the candidate equity in the target equity type list after the scope is narrowed. In this way, compared with directly screening valid equity from multiple equity type lists, the embodiment of the present application only screens valid equity based on the target equity type list, which greatly narrows the screening scope, and then generates a valid equity list based on the valid equity, and sends the valid equity list to the user end, thereby improving the efficiency of screening the membership rights enjoyed by the user under the membership system.
[0049] Below, the implementation environment involved in the member rights management method provided in the embodiment of the present application will be briefly described.
[0050] like Figure 1 As shown, the implementation environment may include a server 101 and at least one client 102 ( Figure 1 Only one client 102 is exemplarily shown in the figure. The client 102 may communicate with the server 101 via a wired or wireless network.
[0051] The server 101 may be a single server or a server cluster consisting of multiple servers. The server 101 may be a tower server, a rack server, a blade server, a high-density server, a single-channel server, a dual-channel server, or a multi-channel server, etc. The embodiment of the present application does not specifically limit the type of the server 101. The user terminal 102 may be a personal computer, a laptop computer, a media player, a smart TV, a smart phone, a tablet computer, a portable wearable device, etc. The embodiment of the present application does not specifically limit the type of the user terminal 102.
[0052] In one embodiment, Figure 2 As shown, a member rights management method is provided, which is applied to Figure 1 Taking the server shown in FIG. 1 as an example, the method includes steps 201, 202 and 203:
[0053] Step 201: The server receives a member benefit display request for a target account sent by a client.
[0054] In order to improve user activity and stickiness, e-commerce platforms or stores on e-commerce platforms (hereinafter collectively referred to as users) usually set up a membership system. After users register for a membership account, different membership accounts will enjoy different membership benefits based on different benefit collection conditions. Membership benefits include shopping credits for orders over a certain amount, product discount coupons, shipping discount coupons, member red envelopes, etc.
[0055] In an embodiment of the present application, if a user needs to view the membership rights and interests enjoyed by his or her membership account (i.e., the target account) under a certain membership system, the user can click on a rights and interests viewing button such as "My Rights and Interests" on the user side, triggering the user side to send a membership rights and interests display request to the server, and the membership rights and interests display request carries the membership system identifier corresponding to the membership system.
[0056] In a possible implementation, the membership system can be a membership system of an e-commerce platform, or a membership system of a store in the e-commerce platform. The membership system can divide members according to membership levels or membership points. Taking the membership system of a store in an e-commerce platform as an example, for example, store a in e-commerce platform A divides members into three membership levels: silver card members, gold card members, and diamond members, or divides members into the first member points interval, the second member points interval, and the third member points interval. Users in different membership levels and in different member points intervals enjoy different membership rights. This embodiment does not specifically limit the way the membership system is divided. For example, store a can further subdivide silver card members, gold card members, and diamond members into multiple levels, such as dividing diamond members into 5 levels, and diamond members at each level enjoy the membership rights corresponding to the diamond members at that level, and so on.
[0057] After receiving the member rights display request for the target account sent by the client, the server needs to filter out the member rights enjoyed by the target account from a batch of member rights under the member system corresponding to the member system identifier.
[0058] Step 202 , the server obtains multiple equity type lists under the membership system corresponding to the membership system identifier according to the membership system identifier, and determines the target equity type list from each equity type list according to the first account information of the target account.
[0059] In the embodiment of the present application, each rights type list includes at least one candidate rights, and the candidate rights are candidate membership rights. Taking the membership system divided according to membership levels as an example, each membership level corresponds to a rights type list, and the membership system corresponds to multiple rights type lists. The rights type list of a membership level includes all candidate rights that the membership level may enjoy, and the candidate rights can be stored in the rights type list in the form of rights name and rights introduction information.
[0060] In a possible implementation, for multiple benefit type lists under each membership system, the server may pre-add the membership system identifier of the corresponding membership system to the multiple benefit type lists, so that the server can obtain multiple benefit type lists including the membership system identifier according to the membership system identifier carried in the member benefit display request. For example, the server can obtain the benefit type list of the silver card member, the benefit type list of the gold card member, and the benefit type list of the diamond member of the store a in the e-commerce platform A according to the membership system identifier.
[0061] The server determines a target equity type list from each equity type list according to the first account information of the target account, and the target equity type list includes at least one candidate equity, that is, the server determines a target equity type list matching the first account information from each equity type list.
[0062] In a possible implementation, the first account information includes a member level or member points. Taking the member level as an example, if the member level of the target account is "Silver Card Member", the server determines the benefit type list of the Silver Card Member in the multiple benefit type lists as the target benefit type list. Taking the member points as an example, if the member points of the target account correspond to the first member points interval, the server determines the benefit type list of the first member points interval in the multiple benefit type lists as the target benefit type list.
[0063] In an embodiment of the present application, the server may pre-add corresponding member level information or member points interval information to each rights and interests type list. Taking member level information as an example, the server adds member level information as "silver card member" to the rights and interests type list of silver card members, adds member level information as "gold card member" to the rights and interests type list of gold card members, and adds member level information as "diamond member" to the rights and interests type list of diamond members.
[0064] In this way, after the server obtains multiple rights and interests type lists under the membership system corresponding to the membership system identifier based on the membership system identifier, the server determines the target rights and interests type list that matches the first account information of the target account from each rights and interests type list, thereby realizing preliminary filtering of multiple rights and interests type lists, and narrowing the scope of valid rights and interests enjoyed by the target account to the candidate rights and interests range corresponding to the membership level of the target account or the candidate rights and interests range corresponding to the membership points of the target account.
[0065] In other embodiments, the e-commerce platform or store may not set a membership level, and the membership level may be set to 0. The server may determine the target benefit type list from each benefit type list based only on the membership points of the target account, and no specific limitation is made here.
[0066] Step 203: based on the second account information of the target account, the server selects valid rights and interests that match the second account information from the candidate rights and interests in the target rights and interests type list, generates a valid rights and interests list based on the valid rights and interests, and sends the valid rights and interests list to the user terminal.
[0067] Among them, the target benefit type list includes at least one candidate benefit, and each candidate benefit has different benefit collection conditions. The benefit collection conditions can be a limit on the number of days the account is activated, a limit on the amount of consumption, a limit on the number of orders, a limit on the number of times the benefit is collected, and so on.
[0068] The target account may enjoy some of the candidate benefits in the target benefit type list. The server detects whether the target account enjoys each candidate benefit in the target benefit type list based on the second account information of the target account, that is, detects whether the second account information meets the benefit collection conditions of each candidate benefit in the target benefit type list. Only the candidate benefits whose second account information meets the benefit collection conditions are valid benefits of the target account, that is, the membership benefits that the target account can enjoy.
[0069] In a possible implementation, taking the example that the first account information includes the membership level, when the first account information includes the membership level, the second account information includes at least one of membership points, account activation days, account consumption amount, account order quantity, and account benefit collection times.
[0070] For example, after the server determines the target benefit type list based on the membership level of the target account "Silver Card Member", the benefit collection condition of the candidate benefit 1 in the target benefit type list is "the member points are between 10 and 20 and the account activation days are 10 days or 20 days". The server detects whether the second account information meets the benefit collection conditions of the candidate benefit 1 based on the member points and account activation days included in the second account information. If so, the first candidate benefit is determined to be a valid benefit.
[0071] In another possible implementation, when the first account information includes membership points, the second account information includes at least one of membership level, account activation days, account consumption amount, account order quantity, and account benefit collection times.
[0072] As an implementation mode, the server selects valid rights and interests that match the second account information from the candidate rights and interests in the target right and interest type list based on the second account information of the target account. The server may compare the second account information with the threshold corresponding to the right and interest collection conditions of the candidate rights and interests, thereby selecting the valid rights and interests.
[0073] In an embodiment of the present application, the first account information and the second account information may be carried by the user end in a member rights display request sent to the server, or the member rights display request may carry the account identifier of the target account, and the server obtains the first account information and the second account information corresponding to the account identifier based on the account identifier, without specific limitation herein.
[0074] The server generates a valid rights list according to the valid rights, and sends the valid rights list to the user terminal, so that the user terminal can display the valid rights list, and thus the user can see the valid rights displayed in the valid rights list.
[0075] In the above embodiment, by receiving a member rights display request for a target account sent by a user terminal, a plurality of rights type lists under the member system corresponding to the member system identifier are obtained according to the member system identifier carried in the member rights display request. In this way, different member systems are distinguished by the member system identifier, and the plurality of rights type lists under the corresponding member system can be quickly located based on the member system identifier; then, according to the first account information of the target account, a target rights type list is determined from each rights type list, and the target rights type list includes at least one candidate rights, that is, the plurality of rights type lists are preliminarily filtered in combination with the first account information, thereby narrowing the scope; then, based on the second account information of the target account, valid rights matching the second account information are screened out from each candidate rights in the target rights type list after the scope is narrowed, thus, compared with directly screening valid rights from multiple rights type lists, the embodiment of the present application only screens valid rights based on the target rights type list, which greatly narrows the screening scope, and then generates a valid rights list based on the valid rights, and sends the valid rights list to the user terminal, thereby improving the efficiency of screening the member rights enjoyed by the user under the member system.
[0076] In one embodiment, based on the above Figure 2 The embodiment shown, see Figure 3, this embodiment relates to the process of how the server selects valid rights and interests that match the second account information from each candidate right and interest in the target right and interest type list based on the second account information of the target account. In this embodiment, the target right and interest type list also includes a logical expression corresponding to each candidate right and interest, and the logical expression includes at least one right and interest claiming condition, such as Figure 3 As shown, the process includes step 2031 and step 2032:
[0077] Step 2031: For each candidate benefit in the target benefit type list, the server detects whether the second account information satisfies each benefit claiming condition included in the logical expression corresponding to the candidate benefit.
[0078] In the embodiment of the present application, each candidate interest corresponds to a logical expression, and the logical expression includes at least one interest collection condition of the corresponding candidate interest, and each logical expression is independent and does not affect each other. The logical expression can be a Fel (Fast expression language) expression. Fel is a lightweight and efficient expression calculation tool that supports interpretation and compilation. The Fel expression is a conditional rule string. The Fel expression can be understood as a container of interest collection conditions. Each interest collection condition in the container has mathematical logic and conditions, or conditions, and non-conditions. For example, the logical expression of a candidate interest is: A interest collection condition && B interest collection condition, which indicates that the second account information needs to meet the A interest collection condition and the B interest collection condition before the target account can enjoy the candidate interest.
[0079] After the server determines the target equity type list according to the first account information of the target account, for each candidate equity in the target equity type list, the server detects whether the second account information satisfies each equity claiming condition included in the logical expression corresponding to the candidate equity.
[0080] Taking the first account information including the membership level as an example, after the server determines the target benefit type list according to the membership level of the target account, the logical expression of the candidate benefit 1 of the target benefit type list is: threshold_type==point&&threshold_value>=10&&threshold<20&&(activeDay==10||activeDay==20), which means that a member account with a membership point greater than or equal to 10 and a membership point less than 20 and an account activation number of 10 days can enjoy the candidate benefit 1, or a member account with a membership point greater than or equal to 10 and a membership point less than 20 and an account activation number of 20 days can enjoy the candidate benefit 1.
[0081] For the candidate benefit 1, the server detects whether the member points and account activation days included in the first account information meet the logical expression of the candidate benefit 1. If they do, the candidate benefit 1 is determined to be a valid benefit of the target account. Specifically, if the server detects the keyword "threshold_value", the server detects whether the member points of the second account information meet the benefit claiming condition "threshold_value>=10&&threshold<20". If the member points in the second account information meet the benefit claiming condition "threshold_value>=10&&threshold<20", the server continues to detect whether the account activation days of the second account information meet the benefit claiming condition "activeDay==10||activeDay==20". If the account activation days in the second account information meet the benefit claiming condition "active Day==10||activeDay==20", the server determines that the second account information meets each benefit claiming condition included in the logical expression corresponding to the candidate benefit 1.
[0082] According to the same implementation, the server may detect whether the second account information satisfies each benefit claiming condition included in each logical expression of the target benefit type list, thereby determining the effective benefit of the target account.
[0083] Step 2032: If the second account information satisfies the conditions for claiming each benefit, the server determines that the candidate benefit is a valid benefit.
[0084] Through the above implementation, the server determines the candidate rights whose second account information in the target rights type list satisfies the rights collection conditions included in the logical expression as valid rights, thereby screening out the membership rights enjoyed by the target account under the membership system corresponding to the membership system identifier.
[0085] In a possible implementation, for each candidate benefit in the target benefit type list, when the server detects whether the second account information satisfies each benefit claiming condition included in the logical expression corresponding to the candidate benefit, if the server detects for the first time that the second account information does not satisfy the target benefit claiming condition in each benefit claiming condition, the candidate benefit is determined as an invalid benefit. For example, taking the logical expression of candidate benefit 1 in the target benefit type list as threshold_type==point&&threshold_value>=10&&threshold<20&&(activeDay==10||activeDay==20) as an example, if the server detects that the member points of the second account information do not satisfy the benefit claiming condition "threshold_value>=10&&threshold<20", the server directly determines the candidate benefit 1 as an invalid benefit, and does not detect whether the account activation days of the second account information meet the benefit claiming condition "activeDay==10||activeDay==20". In this way, invalid detection of the server can be avoided, thereby improving the efficiency of the server in screening the valid benefits of the target account and saving the processing resources of the server.
[0086] In one embodiment, based on the above Figure 3 The embodiment shown, see Figure 4 , this embodiment involves the process of how the server obtains the logical expression corresponding to each candidate equity. Figure 4 As shown, the process includes step 401 and step 402:
[0087] Step 401: For each candidate benefit in the target benefit type list, the server obtains at least one benefit claiming condition of the candidate benefit.
[0088] In an embodiment of the present application, the user can set the conditions for receiving the candidate rights and interests by himself. Taking a store as an example, the store staff enters the conditions for receiving the rights and interests in the terminal, and the terminal sends the conditions for receiving the rights and interests entered by the staff to the server, and the server receives the conditions for receiving the rights and interests.
[0089] See also Figure 5 , Figure 5 This is a schematic diagram of an exemplary interface for setting conditions for claiming benefits. Staff can set the conditions for claiming benefits themselves in the interface for setting conditions for claiming benefits.
[0090] In step 402, the server concatenates the rights and interests collection conditions of the candidate rights and interests to obtain the logical expression corresponding to the candidate rights and interests, and stores the logical expression corresponding to the candidate rights and interests in the target rights and interests type list.
[0091] For each candidate benefit, the server concatenates the benefit collection conditions of the benefit collection conditions. For example, benefit collection condition 1 corresponding to candidate benefit 1 is "membership points are greater than or equal to 10 and member points are less than 20", that is, threshold_type==point&&threshold_value>=10&&threshold<20, and benefit collection condition 2 corresponding to candidate benefit 1 is "account activation days are 10 days or 20 days", that is, active Day==10||activeDay==20. The server concatenates benefit collection condition 1 and benefit collection condition 2 to obtain the logical expression corresponding to candidate benefit 1: threshold_type==point&&threshold_value>=10&&threshold<20&&(activeDay==10||activeDay==20). The server stores the logical expression in the target benefit type list corresponding to the candidate benefit.
[0092] It is understandable that for each candidate equity in each equity type list, the server can use the above Figure 4 In the manner of the illustrated embodiment, a logical expression for each candidate interest is generated, and the logical expression is stored in a corresponding interest type list corresponding to the candidate interest.
[0093] In the embodiment of the present application, the user can set the conditions for receiving the candidate rights under its membership system. The server splices the logical expression corresponding to the candidate rights according to the conditions for receiving the candidate rights set by the user.
[0094] In one possible implementation, for the logical expression corresponding to each candidate right, if the server receives a modification instruction for the logical expression, it will add new right collection conditions to the logical expression according to the instructions of the modification instruction, or delete expired right collection conditions from the logical expression according to the instructions of the modification instruction.
[0095] Taking the e-commerce platform as an example, in the actual implementation process, if the administrator of the e-commerce platform needs to modify the rights collection conditions corresponding to a candidate right, the administrator sends a modification instruction of the logical expression of the candidate right to the server through the terminal. The modification instruction can be an instruction to add a rights collection condition or an instruction to delete a rights collection condition.
[0096] Taking the instruction for adding conditions for receiving benefits as an example, the instruction for adding conditions for receiving benefits carries the conditions for receiving benefits that need to be added. For example, the e-commerce platform needs to add the condition for receiving benefits "only Huawei devices can receive benefits" to the above candidate benefit 1. The server then adds the condition for receiving benefits "device = huawei" to the logical expression of candidate benefit 1, thereby obtaining the modified logical expression of candidate benefit 1: threshold_type == point&&threshold_value>=10&&threshold<20&&(activeDay == 10||activeDay == 20)&&device = huawei.
[0097] Therefore, the user of the embodiment of the present application can define the conditions for receiving benefits by himself, and can add or delete the conditions for receiving benefits. Moreover, the modification of the conditions for receiving benefits based on the fel expression will not affect the existing conditions for receiving benefits, and the various conditions for receiving benefits of a candidate benefit can still satisfy the logical OR and NOT of the data.
[0098] The server of the embodiment of the present application serves as a rights and interests middle platform. Through the above-mentioned embodiment method, multiple business sides can be easily accessed. The newly added rights and interests collection conditions will not affect the existing rights and interests collection conditions, and the deletion of expired rights and interests collection conditions will not affect the retained rights and interests collection conditions. It has strong scalability.
[0099] In one embodiment, based on the above Figure 2 For an example, see Figure 6 This embodiment relates to the process of how the server obtains the target equity type list based on the equity type identifier. Figure 6 As shown, the process of the server obtaining a list of multiple rights and interests types under the membership system corresponding to the membership system identifier according to the membership system identifier can be implemented by executing the following step 21:
[0100] In step 2021, the server obtains multiple rights and interests type identifiers under the membership system corresponding to the membership system identifier according to the membership system identifier.
[0101] In the embodiment of the present application, each equity type list is provided with a corresponding equity type identifier, and different equity type identifiers correspond to different equity type lists.
[0102] The server can store the mapping relationship between the member system identifier and the benefit type identifier, that is, for a member system, the server stores the benefit type identifiers of all benefit type lists under the member system corresponding to the member system identifier of the member system. In this way, the server can find all benefit type lists under the member system according to the member system identifier.
[0103] The process of the server determining the target equity type list from each equity type list according to the first account information of the target account can be implemented by executing the following steps 222 and 223:
[0104] Step 2022: The server determines, based on the first account information, from among the equity type identifiers a target equity type identifier that matches the first account information.
[0105] Step 2023: The server obtains a target equity type list according to the target equity type identifier.
[0106] After the server obtains multiple benefit type identifiers under the membership system corresponding to the membership system identifier based on the membership system identifier, the server determines the target benefit type identifier that matches the member level or the member points from each benefit type identifier based on the first account information, such as the member level or the member points, and can find the target benefit type list based on the target benefit type identifier.
[0107] In the embodiment of the present application, for different membership systems, by associating the membership system identifier with the rights type identifier of all rights type lists under the membership system, different membership systems will not be affected, thereby achieving effective isolation of each membership system.
[0108] In one embodiment, please refer to Figure 7 , which shows a flowchart of an exemplary member rights management method provided in an embodiment of the present application, which can be applied to Figure 1 In the implementation environment shown. Figure 7 As shown, the method may include the following steps:
[0109] Step 1001: The client sends a member benefit display request for a target account to the server.
[0110] Among them, the member rights display request carries the membership system logo.
[0111] Step 1002: The server receives a member benefit display request for a target account sent by a client.
[0112] Step 1003: The server obtains multiple rights and interests type identifiers under the membership system corresponding to the membership system identifier according to the membership system identifier.
[0113] Among them, different equity type identifiers correspond to different equity type lists.
[0114] Step 1004: The server determines, based on the first account information, from among the equity type identifiers a target equity type identifier that matches the first account information.
[0115] Step 1005: The server obtains a target equity type list according to the target equity type identifier.
[0116] The target equity type list includes at least one candidate equity, and the target equity type list also includes a logical expression corresponding to each candidate equity, and the logical expression includes at least one equity claiming condition.
[0117] Step 1006: For each candidate benefit in the target benefit type list, the server detects whether the second account information satisfies each benefit claiming condition included in the logical expression corresponding to the candidate benefit.
[0118] Step 1007: If the second account information meets the conditions for claiming each benefit, the server determines that the candidate benefit is a valid benefit.
[0119] Among them, when the first account information includes membership level, the second account information includes at least one of membership points, account activation days, account consumption amount, account order quantity and account benefit collection number; when the first account information includes membership points, the second account information includes at least one of membership level, account activation days, account consumption amount, account order quantity and account benefit collection number.
[0120] Step 1008: The server generates a valid rights list according to the valid rights, and sends the valid rights list to the user terminal.
[0121] Step 1009: The client receives the valid rights and interests list sent by the server and displays the valid rights and interests list.
[0122] Step 1010, for the logical expression corresponding to each candidate right, if the server receives a modification instruction for the logical expression, it will add new right collection conditions to the logical expression according to the instructions of the modification instruction, or delete expired right collection conditions from the logical expression according to the instructions of the modification instruction.
[0123] It should be understood that although Figure 2-7 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-7 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0124] In one embodiment, Figure 8 As shown, a member rights management device is provided, the device comprising:
[0125] The receiving module 10 is used to receive a member rights display request for a target account sent by a user terminal, wherein the member rights display request carries a member system identifier;
[0126] The acquisition module 20 is used to acquire, according to the membership system identifier, a plurality of equity type lists under the membership system corresponding to the membership system identifier, and determine a target equity type list from each of the equity type lists according to the first account information of the target account, wherein the target equity type list includes at least one candidate equity;
[0127] The screening module 30 is used to screen out valid rights and interests matching the second account information from the candidate rights and interests in the target right and interest type list based on the second account information of the target account, generate a valid right and interest list according to the valid right and interest, and send the valid right and interest list to the user terminal.
[0128] Optionally, the target equity type list further includes a logical expression corresponding to each candidate equity, the logical expression includes at least one equity claiming condition, and the screening module 30 includes:
[0129] a detection unit, configured to detect, for each candidate benefit in the target benefit type list, whether the second account information satisfies each benefit claiming condition included in the logical expression corresponding to the candidate benefit;
[0130] The first determining unit is configured to determine that the candidate benefit is a valid benefit if the second account information satisfies each benefit claiming condition.
[0131] Optionally, the screening module 30 further includes:
[0132] The second determining unit is configured to determine the candidate benefit as an invalid benefit if it is detected for the first time that the second account information does not satisfy a target benefit claiming condition among the benefit claiming conditions.
[0133] Optionally, the screening module 30 further includes:
[0134] A modification unit is used for adding new benefit collection conditions to the logical expression corresponding to each candidate benefit if a modification instruction for the logical expression is received, or deleting expired benefit collection conditions from the logical expression according to the modification instruction.
[0135] Optionally, the screening module 30 further includes:
[0136] A first acquisition unit, configured to acquire, for each candidate benefit in the target benefit type list, at least one benefit claiming condition of the candidate benefit;
[0137] The splicing unit is used to splice the rights and interests of the candidate rights and interests to obtain the logical expression corresponding to the candidate rights and interests, and store the logical expression corresponding to the candidate rights and interests in the target rights and interests type list.
[0138] Optionally, the acquisition module 20 includes:
[0139] A second acquisition unit is used to acquire, according to the membership system identifier, a plurality of rights and interests type identifiers under the membership system corresponding to the membership system identifier, wherein different rights and interests type identifiers correspond to different rights and interests type lists;
[0140] A third determining unit, configured to determine, according to the first account information, from among the equity type identifiers, a target equity type identifier that matches the first account information;
[0141] The third acquisition unit is configured to acquire the target equity type list according to the target equity type identifier.
[0142] Optionally, the first account information includes membership level or membership points;
[0143] In the case where the first account information includes the membership level, the second account information includes at least one of the membership points, account activation days, account consumption amount, account order quantity, and account benefit redemption times;
[0144] When the first account information includes the member points, the second account information includes at least one of the member level, the account activation days, the account consumption amount, the account order quantity and the account benefit collection times.
[0145] For the specific definition of the member rights management device, please refer to the definition of the member rights management method applied to the target terminal above, which will not be repeated here. Each module in the above-mentioned member rights management device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0146] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig. 9 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store member rights management data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a member rights management method is implemented.
[0147] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0148] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0149] Receiving a member rights display request for a target account sent by a user terminal, wherein the member rights display request carries a member system identifier;
[0150] According to the member system identifier, a plurality of equity type lists under the member system corresponding to the member system identifier are acquired, and according to the first account information of the target account, a target equity type list is determined from each of the equity type lists, wherein the target equity type list includes at least one candidate equity;
[0151] Based on the second account information of the target account, valid rights matching the second account information are screened out from the candidate rights in the target rights type list, and a valid rights list is generated according to the valid rights, and the valid rights list is sent to the user terminal.
[0152] In one embodiment, the target equity type list further includes a logical expression corresponding to each candidate equity, the logical expression includes at least one equity claiming condition, and the processor further implements the following steps when executing the computer program:
[0153] For each candidate benefit in the target benefit type list, detecting whether the second account information satisfies each benefit claiming condition included in the logical expression corresponding to the candidate benefit;
[0154] If the second account information satisfies the conditions for claiming the rights and interests, the candidate rights and interests are determined to be valid rights and interests.
[0155] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0156] If it is detected for the first time that the second account information does not satisfy the target benefit claiming condition among the benefit claiming conditions, the candidate benefit is determined as an invalid benefit.
[0157] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0158] For the logical expression corresponding to each candidate right, if a modification instruction for the logical expression is received, the new right collection condition is spliced into the logical expression according to the instruction of the modification instruction, or the expired right collection condition is deleted from the logical expression according to the instruction of the modification instruction.
[0159] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0160] For each candidate benefit in the target benefit type list, obtaining at least one benefit claiming condition of the candidate benefit;
[0161] The rights and interests collection conditions of the candidate rights and interests are concatenated to obtain a logical expression corresponding to the candidate rights and interests, and the logical expression is stored in the target rights and interests type list corresponding to the candidate rights and interests.
[0162] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0163] According to the membership system identifier, a plurality of rights and interests type identifiers under the membership system corresponding to the membership system identifier are obtained, wherein different rights and interests type identifiers correspond to different rights and interests type lists;
[0164] Correspondingly, determining a target equity type list from each of the equity type lists according to the first account information of the target account includes:
[0165] According to the first account information, determining a target equity type identifier that matches the first account information from each of the equity type identifiers;
[0166] The target equity type list is acquired according to the target equity type identifier.
[0167] In one embodiment, the first account information includes membership level or membership points;
[0168] In the case where the first account information includes the membership level, the second account information includes at least one of the membership points, account activation days, account consumption amount, account order quantity, and account benefit redemption times;
[0169] When the first account information includes the member points, the second account information includes at least one of the member level, the account activation days, the account consumption amount, the account order quantity and the account benefit collection times.
[0170] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0171] Receiving a member rights display request for a target account sent by a user terminal, wherein the member rights display request carries a member system identifier;
[0172] According to the member system identifier, a plurality of equity type lists under the member system corresponding to the member system identifier are acquired, and according to the first account information of the target account, a target equity type list is determined from each of the equity type lists, wherein the target equity type list includes at least one candidate equity;
[0173] Based on the second account information of the target account, valid rights matching the second account information are screened out from the candidate rights in the target rights type list, and a valid rights list is generated according to the valid rights, and the valid rights list is sent to the user terminal.
[0174] In one embodiment, the target equity type list further includes a logical expression corresponding to each candidate equity, the logical expression includes at least one equity claiming condition, and when the computer program is executed by the processor, the following steps are further implemented:
[0175] For each candidate benefit in the target benefit type list, detecting whether the second account information satisfies each benefit claiming condition included in the logical expression corresponding to the candidate benefit;
[0176] If the second account information satisfies the conditions for claiming the rights and interests, the candidate rights and interests are determined to be valid rights and interests.
[0177] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0178] If it is detected for the first time that the second account information does not satisfy the target benefit claiming condition among the benefit claiming conditions, the candidate benefit is determined as an invalid benefit.
[0179] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0180] For the logical expression corresponding to each candidate right, if a modification instruction for the logical expression is received, the new right collection condition is spliced into the logical expression according to the instruction of the modification instruction, or the expired right collection condition is deleted from the logical expression according to the instruction of the modification instruction.
[0181] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0182] For each candidate benefit in the target benefit type list, obtaining at least one benefit claiming condition of the candidate benefit;
[0183] The rights and interests collection conditions of the candidate rights and interests are concatenated to obtain a logical expression corresponding to the candidate rights and interests, and the logical expression is stored in the target rights and interests type list corresponding to the candidate rights and interests.
[0184] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0185] According to the membership system identifier, a plurality of rights and interests type identifiers under the membership system corresponding to the membership system identifier are obtained, wherein different rights and interests type identifiers correspond to different rights and interests type lists;
[0186] Correspondingly, determining a target equity type list from each of the equity type lists according to the first account information of the target account includes:
[0187] According to the first account information, determining a target equity type identifier that matches the first account information from each of the equity type identifiers;
[0188] The target equity type list is acquired according to the target equity type identifier.
[0189] In one embodiment, the first account information includes membership level or membership points;
[0190] In the case where the first account information includes the membership level, the second account information includes at least one of the membership points, account activation days, account consumption amount, account order quantity, and account benefit redemption times;
[0191] When the first account information includes the member points, the second account information includes at least one of the member level, the account activation days, the account consumption amount, the account order quantity and the account benefit collection times.
[0192] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0193] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0194] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A member rights management method, characterized in that: The method comprises: Receiving a member rights display request for a target account sent by a user terminal, wherein the member rights display request carries a member system identifier; According to the membership system identifier, a plurality of benefit type lists under the membership system corresponding to the membership system identifier are obtained, and according to the first account information of the target account, a target benefit type list is determined from each of the benefit type lists, wherein the target benefit type list includes at least one candidate benefit, each of the benefit type lists includes the membership system identifier added in advance, and the first account information includes a membership level or a membership point; Based on the second account information of the target account, valid rights and interests matching the second account information are screened out from the candidate rights and interests in the target right and interest type list, and a valid right and interest list is generated according to the valid rights and interests, and the valid right and interest list is sent to the user terminal. In the case where the first account information includes the member level, the second account information includes at least one of the member points, the account activation days, the account consumption amount, the account order quantity and the account right and interest collection times. In the case where the first account information includes the member points, the second account information includes at least one of the member level, the account activation days, the account consumption amount, the account order quantity and the account right and interest collection times.
2. The method according to claim 1, characterized in that The target equity type list further includes a logic expression corresponding to each candidate equity, the logic expression includes at least one equity claiming condition, and the filtering out a valid equity matching the second account information from each candidate equity in the target equity type list based on the second account information of the target account includes: For each candidate benefit in the target benefit type list, detecting whether the second account information satisfies each benefit claiming condition included in the logical expression corresponding to the candidate benefit; If the second account information satisfies the conditions for claiming the rights and interests, the candidate rights and interests are determined to be valid rights and interests.
3. The method according to claim 2, characterized in that After detecting whether the second account information satisfies each of the rights and interests claiming conditions included in the logical expression corresponding to the candidate rights and interests, the method further includes: If it is detected for the first time that the second account information does not satisfy the target benefit claiming condition among the benefit claiming conditions, the candidate benefit is determined as an invalid benefit.
4. The method according to claim 2, characterized in that: The method further comprises: For the logical expression corresponding to each candidate right, if a modification instruction for the logical expression is received, the new right collection condition is spliced into the logical expression according to the instruction of the modification instruction, or the expired right collection condition is deleted from the logical expression according to the instruction of the modification instruction.
5. The method according to claim 2, characterized in that: The method further comprises: For each candidate benefit in the target benefit type list, obtaining at least one benefit claiming condition of the candidate benefit; The rights and interests collection conditions of the candidate rights and interests are concatenated to obtain a logical expression corresponding to the candidate rights and interests, and the logical expression is stored in the target rights and interests type list corresponding to the candidate rights and interests.
6. The method according to claim 1, characterized in that The acquiring, according to the membership system identifier, a list of multiple rights and interests types under the membership system corresponding to the membership system identifier includes: According to the membership system identifier, a plurality of rights and interests type identifiers under the membership system corresponding to the membership system identifier are obtained, wherein different rights and interests type identifiers correspond to different rights and interests type lists; Correspondingly, determining a target equity type list from each of the equity type lists according to the first account information of the target account includes: According to the first account information, determining a target equity type identifier that matches the first account information from each of the equity type identifiers; The target equity type list is acquired according to the target equity type identifier.
7. A member rights management device, characterized in that: The device comprises: A receiving module, configured to receive a member rights display request for a target account sent by a user terminal, wherein the member rights display request carries a member system identifier; an acquisition module, configured to acquire, according to the membership system identifier, a plurality of benefit type lists under the membership system corresponding to the membership system identifier, and determine a target benefit type list from each of the benefit type lists according to the first account information of the target account, wherein the target benefit type list includes at least one candidate benefit, each of the benefit type lists includes the membership system identifier added in advance, and the first account information includes a membership level or a membership point; A screening module is used to screen out valid rights and interests that match the second account information from the candidate rights and interests in the target right and interest type list based on the second account information of the target account, generate a valid right and interest list based on the valid rights and interests, and send the valid right and interest list to the user terminal. In the case where the first account information includes the member level, the second account information includes at least one of the member points, the account activation days, the account consumption amount, the account order quantity, and the account right and interest collection times. In the case where the first account information includes the member points, the second account information includes at least one of the member level, the account activation days, the account consumption amount, the account order quantity, and the account right and interest collection times.
8. The device according to claim 7, characterized in that The target equity type list also includes a logical expression corresponding to each candidate equity, and the logical expression includes at least one equity claiming condition. The screening module includes: a detection unit, configured to detect, for each candidate benefit in the target benefit type list, whether the second account information satisfies each benefit claiming condition included in the logical expression corresponding to the candidate benefit; The first determining unit is configured to determine that the candidate benefit is a valid benefit if the second account information satisfies each benefit claiming condition.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
