Equity distribution method, device, electronic device and computer readable medium
By dynamically determining the target cycle of equity distribution in the middle platform system and obtaining users to be distributed within the target cycle, the problem of low equity distribution efficiency in the massive user environment is solved, efficient equity distribution is achieved, and user stickiness and website transactions are improved. Amount.
Patent Information
- Application Number
- CN202011551417.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-24
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2040-12-24
AI Technical Summary
In the online platform of massive users, the equity distribution middle platform needs to traverse all user information every day to determine the users who need to issue equity on the same day, resulting in inefficiency and large amounts of invalid data scanning. In the case of massive users, the existing technology cannot be effective. Improve the efficiency of equity distribution.
By obtaining the target business parameters in the middle platform system, dynamically determine the target cycle of equity issuance, and only obtain the time for equity issuance of users to be issued during this cycle, so as to achieve efficient distribution of equity and reduce the scope and number of data queries.
It improves the efficiency of equity distribution, reduces invalid data query, reduces the computing load of the middle platform system in a massive user environment, and enhances user stickiness and overall website transaction amount.
Smart Images

Figure CN112581178B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and more specifically, to a rights issuance method, device, electronic device and computer-readable medium. Background Art
[0002] The distribution of rights and interests has become an effective solution for online platforms to maintain relationships with members. By distributing different rights and interests to users, the platform can enrich the interactive content between it and users and increase user stickiness, which is conducive to the increase of the overall website transaction amount (Gross Merchandise Volume, GMV). To this end, the middle platform responsible for the distribution of rights and interests plays an important role in the process of executing the distribution of rights and interests. However, since online platforms often have a huge number of users, the efficiency of the middle platform in distributing rights and interests will also be greatly affected. Summary of the invention
[0003] The present application proposes a rights distribution method, device, electronic device and computer-readable medium to improve the above-mentioned defects.
[0004] In a first aspect, an embodiment of the present application provides a method for issuing rights and interests, including: obtaining business parameters of a target business in the middle office system; determining a target period for issuing rights and interests in the target business based on the business parameters; obtaining users to be issued whose rights and interests issuance time is within the target period from all business users of the target business; and issuing rights and interests to the client of the user to be issued within the target period according to the rights and interests issuance time of the user to be issued.
[0005] In the second aspect, the embodiment of the present application also provides a rights issuance device, including: a first acquisition module, used to obtain business parameters of the target business in the middle office system; a determination module, used to determine the target period for rights issuance in the target business based on the business parameters; a second acquisition module, used to obtain users to be issued whose rights issuance time is within the target period from all business users of the target business; and a issuance module, used to issue rights to the client of the user to be issued within the target period according to the rights issuance time of the user to be issued.
[0006] In a third aspect, an embodiment of the present application also provides an electronic device, comprising: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the above method.
[0007] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the readable storage medium stores a program code executable by a processor, and when multiple instructions in the program code are executed by the processor, the processor executes the above method.
[0008] The rights issuance method, device, electronic device and computer-readable medium provided in the present application determine the target period for rights issuance in the target business by obtaining the business parameters of the target business in the middle office system, and obtain the users to be issued whose rights issuance time is within the target period from all business users of the target business. Within the target period, the rights can be issued to the client of the user to be issued according to the rights issuance time of the user to be issued. Therefore, in the present application, the middle office system can dynamically determine the target period for rights issuance according to the business parameters of the rights issuance business. Furthermore, based on the users to be issued whose rights issuance time is within the target period, the rights issuance within the target period can be achieved by simply obtaining the rights issuance time of the user to be issued, without polling the rights issuance time of all users, that is, the original data query object is reduced from the scope of all users to the scope of users within the target period, thereby greatly reducing the number of data acquisitions and improving the efficiency of rights issuance. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0010] Figure 1 A schematic diagram of a system architecture provided by an embodiment of the present application is shown;
[0011] Figure 2 A method flow chart of a method for issuing rights according to an embodiment of the present application is shown;
[0012] Figure 3 A method flow chart showing a method for issuing rights according to another embodiment of the present application is shown;
[0013] Figure 4 Another embodiment of the present application is shown Figure 3 The method flow chart of S206;
[0014] Figure 5 A schematic diagram of an interface of an embodiment of the present application is shown;
[0015] Figure 6 A method flow chart showing a method for issuing rights in another embodiment of the present application is shown;
[0016] Figure 7 A method flow chart showing a method for issuing rights in another embodiment of the present application is shown;
[0017] Figure 8 A method flow chart of a method for issuing rights according to another embodiment of the present application is shown;
[0018] Fig. 9 A method flow chart of a method for issuing rights according to an embodiment of the present application is shown;
[0019] Fig.10 A module block diagram of a rights distribution device provided by an embodiment of the present application is shown;
[0020] Fig.11 A structural block diagram of an electronic device provided in an embodiment of the present application is shown;
[0021] Fig.12 A storage unit for storing or carrying program codes for implementing the rights distribution method according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0022] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0023] See also Figure 1 , shows a system architecture, such as Figure 1 As shown in the figure, the architecture includes the front-end, middle-end and back-end. The front-end is the front-end platform of the system, which is the application layer that directly interacts with the end users and includes specific front-end applications. The back-end is the back-end platform of the system, which is used to store and calculate the core data of the enterprise. The middle-end is a platform between the front-end and back-end of the system, with the general ability to provide shared services and support the rapid innovation function of the upper-level business.
[0024] In the process of platform business development, many business requirements or functional requirements are highly similar and universal, but due to the lack of a dedicated team responsible for planning and management, a large number of systems are repeatedly developed, resulting in low reusability, low efficiency, and inconsistent user experience. In order to solve these problems in a mechanism-based and productized way, the highly universal data, functions, and products within the enterprise are uniformly planned and the middle platform is developed.
[0025] The middle platform packages and integrates the universal capabilities of the system and empowers external systems in the form of interfaces, thereby achieving the goal of rapidly supporting business development. When faced with interrelated needs of different systems, the middle platform can directly obtain relevant functions.
[0026] At present, many online platforms use the middle platform to complete specific tasks according to their actual business needs. In order to improve their own competitiveness, platforms or merchants often carry out marketing activities online. Among them, issuing rights and interests has become the most commonly used marketing plan. For example, rights and interests are issued at the time point according to user characteristics to improve the interaction effect. As a way, the middle platform generally adopts a timed trigger strategy to execute the issuance of rights and interests. Specifically, at a specified time point, the user machines that meet the issuance conditions are scanned in a task-driven manner to issue rights and interests.
[0027] For example, if the network platform needs to issue birthday gift rights to users, the middle platform first needs to retrieve the unique identifiers (UID) of all users who can enjoy the rights, and then traverse all the UIDs of users who enjoy the rights to query the birthday time corresponding to each user UID, and then determine whether the birthday time is today's date. If a user's birthday time is today's date, the user will be issued a birthday gift.
[0028] Since users only have one chance to claim their rewards per year, if all users’ birthday information is polled every day of the year, this will result in a very low success rate (one in three hundred and sixty-five or one in three hundred and sixty-six), which means that there will be a lot of invalid data scans. And as the executor of the rights distribution, the middle platform may have to serve multiple different network platforms. Therefore, in the case of a massive user base, querying all user data according to the previous rights distribution strategy will result in a lot of invalid data scans.
[0029] Therefore, in order to overcome the above defects, the present application embodiment provides a method for issuing rights and interests. Figure 2 , Figure 2 A method for issuing rights and interests provided by an embodiment of the present application is shown. The method is applied to a middle-office system, which can be configured in various electronic devices that support data storage and computing capabilities. Specifically, the method includes: steps S101 to S104.
[0030] S101: Obtain business parameters of the target business in the middle office system.
[0031] At present, since the middle office system usually needs to traverse and query the user information of all business users every day to determine the users who need to issue rights and interests on that day, there will be a large number of invalid information queries. Therefore, in the embodiment of the present application, rights and interests can be issued only to users within a period of time, so that only the user information of users within the time period needs to be traversed, and there is no need to traverse the user information of all users for rights and interests issuance, thereby greatly reducing invalid information queries. In the embodiment of the present application, the time period can be configured according to the specific business situation of the business.
[0032] It is understandable that the business volume, i.e., the number of users, of different network platforms using the middle office system for equity issuance may be different, and for the same network platform, the number of users in different operating periods may also change. Therefore, in the embodiment of the present application, the middle office system can also configure different time periods according to different business conditions, and appropriately realize the dynamic configuration of time periods. In the process of equity issuance, the middle office system can issue equity based on the time period.
[0033] In an embodiment of the present application, when it is necessary to issue rights and interests to users under the target business, the business parameters of the target business in the middle office system can be obtained first. Among them, the target business can be a rights and interests issuance task for the network platform to access the middle office system. For example, a birthday gift issuance activity of a game platform. Business parameters can be used to characterize the business volume of rights and interests issued corresponding to the target business, for example, the total number of business users.
[0034] For example, when an e-commerce platform uses the middle-office system to distribute birthday gift shopping privileges, the middle-office system can obtain the number of users corresponding to the e-commerce platform's privilege distribution task from the user information database as the business parameter of the target business.
[0035] S102: Determine a target period for issuing rights and interests in the target business according to the business parameters.
[0036] In an embodiment of the present application, the electronic device can set the target period for the issuance of rights and interests of the target business according to the business parameters of the target business obtained. Among them, the target period can be selected as a time range with a certain regularity such as one week, two weeks, one month, two months, etc., which can be reasonably set according to the specific application scenario, and this application does not limit this. For example, when the target period is one month, when the electronic device issues rights and interests every month, it can only obtain the users to be issued whose rights and interests issuance time is within the month, so as to issue rights and interests to the users to be issued within the month.
[0037] As an implementation method, after obtaining the service parameters of the target service, the electronic device can make reasonable settings based on the specific number of service users in the actual application scenario of the target service. For example, since large e-commerce platforms have a huge number of users compared to small and medium-sized e-commerce platforms, when setting the target period, the target period can be set to a length of one month, while for small and medium-sized e-commerce platforms, since they have a small number of users, the target period can be set to a length of one week.
[0038] As another implementation method, when the electronic device uses the middle office system to determine the target period for the same network platform, it can dynamically adjust the target period during different operation periods of the network platform. For example, as the game platform continues to develop, the number of users of the game platform will continue to increase. When the middle office system distributes rights and interests at different periods of the game platform's operation, it can dynamically adjust the target period for the distribution of rights and interests in the target business according to the different number of users.
[0039] S103: Acquire users to be issued rights whose rights issuance time is within the target period from all service users of the target service.
[0040] At present, it is usually necessary to traverse and query the user information of all business users every day to determine the users who need to issue rights and interests on that day, and there will be a large number of invalid information queries. Therefore, in the embodiment of the present application, when the electronic device needs to issue rights and interests, it can only obtain the users whose rights and interests issuance time is within the target period from the business users of the target business, so as to issue rights and interests to the users who are within the target period, so as to issue rights and interests, thereby eliminating the need to traverse the user information of all users for issuing rights and interests. Among them, the rights and interests can be red envelopes, coupons, gift coupons, vouchers, discount coupons, shopping money, points and other rewards issued to users at a specific time point, and the time of issuing rights and interests can be birthday time, membership activation time, wedding time, other anniversary time, etc. The specific rights and interests type and time of issuing rights and interests are not limited here.
[0041] In some embodiments, the users to be issued rights whose issuance time is within the target period can be predetermined, so that during the issuance of rights within the target period, the users to be issued rights whose issuance time is within the target period can be directly obtained to perform corresponding rights issuance.
[0042] As a method, the electronic device can obtain a list of all user UIDs that can enjoy the rights before the target period starts, and retrieve the corresponding user information one by one according to the user UID list to determine the time of issuing rights for each user, so that the electronic device can obtain the users whose rights issuance time is within the target period according to the time of issuing rights for each user. That is, before the target period starts, the electronic device can fully scan the user information of all users who enjoy the rights to determine the users whose rights issuance time is within the target period. Then the electronic device can store the users to be issued, so that after the target period starts, the electronic device can directly read the users whose rights issuance time is within the target period from the storage space.
[0043] As another method, at the beginning of the target period, the user information of all users who enjoy the rights and interests can be fully scanned to determine the users whose rights and interests are to be issued within the target period, and store them until the end of the subsequent target period. The electronic device can directly read the users whose rights and interests are to be issued within the target period from the storage space.
[0044] That is to say, when the electronic device performs the rights issuance task within the target period, whether it determines the users to be issued before the target period or determines the users to be issued at the beginning of the target period, the electronic device can perform a full scan of the user information only once. As long as the users to be issued whose rights issuance time is within the target period are determined and stored this time, each time the rights issuance task is performed in the subsequent target period, it is not necessary to perform a full scan again, and the users to be issued can be directly read. At this time, the target period can also be understood as the frequency of the middle office system performing a full scan on all users.
[0045] As another way, the above-mentioned full scan to obtain the operation of the users to be issued can also be performed by other devices, so that after the target period starts, the electronic device can directly obtain the users to be issued whose rights issuance time is within the target period from other devices. That is to say, when the electronic device executes the rights issuance task within the target period, it will not perform the full scan operation of user information.
[0046] S104: within the target period, according to the time of issuing rights to the user to be issued, issuing rights to the client of the user to be issued.
[0047] In an embodiment of the present application, after the electronic device obtains the user to be issued the rights whose rights issuance time is within the target period, it can issue the rights to the client of the user to be issued within the target period according to the rights issuance time of the user to be issued.
[0048] That is to say, when the electronic device issues rights within the target period, the rights issuance time of the user to be issued can be used as the basis for judging the issuance of rights. Specifically, during the target period, when the electronic device issues rights every day, it can obtain the rights issuance time of each user to be issued one by one based on the UID list of the user to be issued, and issue rights to the user to be issued whose rights issuance time is the time of the day. In this way, during the target period, when the electronic device issues rights every day, it will only enter the acquisition link of the rights issuance time of each user to be issued for the users to be issued whose rights issuance time is within the target period, and not all users who enjoy rights will enter the acquisition link of the rights issuance time. That is, within the scope of the original data query object being all users, the query object is narrowed to users within the target period, thereby ensuring the issuance of rights for users to be issued within the target period, while also avoiding the acquisition link of the rights issuance time of users outside the target period, which not only reduces the acquisition of invalid data, but also improves the efficiency of rights issuance.
[0049] In some embodiments, the client can be a computer application (Application, APP) installed on a terminal device used by the user to be issued, or it can be a Web client, which can refer to an application developed based on a Web architecture. The user to be issued can log in to the client through an account, enter the corresponding business platform, and trigger the corresponding platform service, such as receiving various rights and interests issued by the platform through the client. Among them, the specific client type can correspond to the specific scenario of the issuance of rights and interests, which is not limited here. For example, for the issuance of rights and interests under the e-commerce system, the client can be an application of an Internet e-commerce platform, such as an application of a shopping platform; for the issuance of rights and interests in a video interaction scenario, the client can be an application of a real-time video exchange platform, such as an application of a live broadcast platform,
[0050] The rights issuance method, device, electronic device and computer-readable medium provided in the present application determine the target period for rights issuance in the target business by obtaining the business parameters of the target business in the middle office system, and obtain the users to be issued whose rights issuance time is within the target period from all business users of the target business. Within the target period, rights can be issued to the client of the user to be issued based on the rights issuance time of the user to be issued. Therefore, in the present application, the middle office system can dynamically determine the target period for rights issuance based on the business parameters of the rights issuance business, and further, based on the users to be issued whose rights issuance time is within the target period, rights issuance within the target period can be achieved by simply obtaining the rights issuance time of the user to be issued, without polling the rights issuance time of all users, that is, the original data query object is reduced from the scope of all users to the scope of users within the target period, thereby greatly reducing the number of data acquisitions and improving the efficiency of rights issuance.
[0051] See also Figure 3 , Figure 3 It is shown that the embodiment of the present application provides another method for issuing rights. Specifically, the method is applied to a middle platform system, which can be configured in various electronic devices with data storage and computing capabilities. Specifically, the method includes: steps S201 to S208.
[0052] S201: Obtain business parameters of the target business in the middle office system.
[0053] S202: Determine a target period for issuing rights and interests in the target business according to the business parameters.
[0054] In the embodiment of the present application, the specific description of step S201 and step S202 can refer to the content of the aforementioned embodiment and will not be repeated here.
[0055] S203: Polling the rights and interests information of all service users of the target service.
[0056] In an embodiment of the present application, after receiving the target business for rights issuance, the electronic device can use the middle office system to poll the rights information of all business users in the target business, so as to determine the rights issuance time of each equity user among all equity users who enjoy the rights, and at the same time, it is beneficial for the middle office system to generate corresponding rights issuance plans for different users. Among them, the rights information refers to the basis used by the middle office system for rights issuance, which may include the rights issuance time of each user, the user level, and the information that the user can feedback the rights benefits when participating in specific rights issuance activities, including equity points and voucher values, among which the equity points can be used to calculate the equity value, which is not limited here.
[0057] As an implementation method, the electronic device can first obtain a user UID list containing all business user data, and then, based on the user UID list, retrieve the rights and interests information of the corresponding users one by one to determine the time and number of rights and interests of each user. For example, in the issuance of birthday gift rights, the middle-end system of the electronic device can obtain the user UID list of the e-commerce store, and then find out the time and number of rights and interests of the user by polling the rights and interests information corresponding to each user UID in the user UID list.
[0058] S204: Obtaining the rights issuance time of each rights user among all rights users who enjoy the rights according to the rights information.
[0059] In the embodiment of the present application, when the electronic device performs the rights issuance task, the rights issuance time of each user among all users who enjoy the rights can be obtained, and then the user to be issued can be determined by using the rights issuance time of each user. In some embodiments, since there may be users who do not enjoy the rights, the electronic device can first obtain all users who enjoy the rights from all business users of the target business when issuing the rights.
[0060] As a method, the electronic device can determine all users who enjoy the rights and interests according to the rights and interests issuance requirements set by the rights and interests issuance party corresponding to the target business. When a user meets the rights and interests issuance requirements, the user can be determined as a user who enjoys the rights and interests. Among them, the rights and interests issuance party may be a service party that has enabled the rights and interests issuance service, such as various business platforms, various service merchant stores, etc., and the rights and interests issuance requirements set may be the user's attention, collection, membership or account registration for the rights and interests issuance party, which is not limited here. Furthermore, since there may be service parties that have not enabled the rights and interests issuance function. Therefore, when issuing rights and interests, the electronic device can first obtain all the rights and interests issuance parties that have enabled the rights and interests issuance service, and then determine all users who enjoy the rights and interests under each rights and interests issuance party according to the rights and interests issuance requirements set by each rights and interests issuance party, so that all users who enjoy the rights and interests can be obtained from all business users of the target business.
[0061] For example, when the rights issuer is a store on an e-commerce platform, the store administrator can set up a membership rights issuance function for members who follow the store, such as issuing coupons, shopping credits and other birthday gifts to members who have birthdays on that day. In this way, the electronic device can first poll the stores that have set up membership rights issuance, and then obtain the UID list of members under the store based on the store ID.
[0062] In other embodiments, the electronic device can obtain the equity points of each equity user among all equity users who enjoy the equity based on the equity information, and can generate the equity value to be issued based on the equity points of the user, thereby issuing different equity to different equity users.
[0063] S205: According to the equity issuance time of each equity user, users to be issued equity whose equity issuance time is within the target period are obtained from all equity users.
[0064] In the embodiment of the present application, after obtaining the rights issuance time of each user among all users who enjoy the rights, the electronic device can obtain the users whose rights issuance time is within the target period from all users according to the rights issuance time of each user. As an implementation mode, the electronic device can determine whether the rights issuance time exists within the target period according to the rights issuance time of each user for all users who enjoy the rights, and if the rights issuance time of the user is within the target period, the user is determined to be a user to be issued.
[0065] For example, after the electronic device obtains the rights issuance time of a certain user based on the user information of the user, it can detect whether the rights issuance time of the user is included in the target period. If the rights issuance time of the user is included in the target period, the user can be determined as a user to be issued. In this way, all users to be issued whose rights issuance time is within the target period can be obtained from all users who enjoy the rights.
[0066] In order to avoid the electronic device repeatedly scanning the user information of all users who enjoy the rights and interests every day during the process of rights and interests issuance, and repeatedly determining all users to be issued whose rights and interests issuance time is within the target period every day, the electronic device can store the above-obtained users to be issued, so that when issuing rights and interests within the target period, the electronic device can directly read the users to be issued whose rights and interests issuance time is within the target period from the storage space. The electronic device can use different storage methods to store the users to be issued.
[0067] In some embodiments, the electronic device can obtain the UID of the user to be issued whose rights issuance time is within the target period, and store the UID of the user to be issued. As an implementation method, when the electronic device obtains the UID of the user to be issued, the list of the UID of the user to be issued can be saved in a specific database, for example, using BerkeleyDB to store the UID of the user to be issued. Berkeley DB is a non-relational database engine based on key-value storage, which can greatly improve the efficiency of querying UID compared to relational databases. It can also be to save the UID of the user to be issued in a certain file, which is not limited here.
[0068] In real applications, the number of objects that need to be queried for executing rights issuance is very large. If all the UIDs of users to be issued are stored in the database, when the number of UIDs in the database is large, it will cause inefficiency during query. Therefore, as another implementation method, the idea of Bloom filter can also be adopted. The electronic device saves all the UIDs of users to be issued on a Bloom filter, and then can query the UIDs of users to be issued. The Bloom filter returns the result of whether the query object exists.
[0069] In some embodiments, the above process of acquiring and storing users to be issued may be performed before the target period to avoid excessive current network load and relieve system computing pressure. Of course, it may also be performed at the beginning of the target period to ensure the accuracy of the users to be issued determined in real time.
[0070] S206: within the target period, according to the time of issuing the rights to the user to be issued, issuing the rights to the client of the user to be issued.
[0071] In the embodiment of the present application, during the target period, when the electronic device issues benefits every day, it can determine the users who will enter the benefit issuance time acquisition phase later by obtaining the above-mentioned pre-stored users to be issued. Specifically, the electronic device can obtain the benefit issuance time of each user to be issued one by one according to the UID list of the users to be issued, and determine whether to issue benefits to the client of the corresponding user to be issued according to the benefit issuance time of each user to be issued. For details, please refer to Figure 4 , step S206 may include:
[0072] S2061: Within the target period, poll the rights and interests information of the user to be issued.
[0073] As an implementation method, after obtaining the users whose rights issuance time is within the target period from all rights users, the electronic device can poll the rights information of the users to be issued within the target period, so as to determine the rights issuance time of the users to be issued and the corresponding rights points for the rights issuance, wherein the rights points can be used to calculate the rights value actually issued to the users to be issued. For example, the middle office system can obtain the consumption records of the users to be issued rights, determine the corresponding rights points according to the level of user consumption in the consumption records, and when issuing rights, calculate the preferential rights of the user based on the rights points, and then provide the corresponding preferential exemptions for the user.
[0074] S2062: Obtaining the time of issuing rights and interests to each of the users to be issued rights and interests according to the rights and interests information.
[0075] In the embodiment of the present application, when the rights are issued every day within the target period, the electronic device can compare the rights issuance time of the user to be issued with the time of the day to determine whether to issue the rights to the user to be issued on that day. Specifically, after obtaining the pre-stored users to be issued whose rights issuance time is within the target period, the electronic device can obtain the rights issuance time of each user to be issued among the users to be issued according to the UID of the user to be issued.
[0076] As an implementation method, the electronic device can use the UID of each user to be issued to obtain the user information corresponding to each user to be issued, and then obtain the rights issuance time of the user to be issued from the user information. For example, when the middle station executes the task of issuing birthday gift rights, it can obtain the user information of the corresponding user through the UID list of the user to be issued, wherein the user information may include the birthday information of the user, so that the electronic device can obtain the birthday information as the rights issuance time of the corresponding user.
[0077] S2063: According to the rights issuance time of each to-be-issued user, a target user whose rights issuance time matches the current system date is obtained from the to-be-issued users.
[0078] In an embodiment of the present application, after obtaining the rights issuance time of each of the to-be-issued users, the electronic device can determine the target user to whom the rights can be issued currently according to the rights issuance time of the to-be-issued users.
[0079] As an implementation method, when the rights are issued every day within the target period, the electronic device can match the rights issuance time obtained from the users to be issued with the current system date, and determine the target users to whom the rights are currently issued based on the matching results. Specifically, the electronic device can determine whether the rights issuance time of each user to be issued is the same as the current system date. If there is a user to be issued whose rights issuance time is the same as the current system date, then the user to be issued is determined to be the target user to whom the rights are currently issued.
[0080] The current system date may be a specific date of the day in a year, may be in the form of a certain year, month, and day, or may be in the form of only a certain month, and day. It is understood that when the payment month and payment day in the equity payment time are the same as the payment month and payment day of the current system date, it can be determined that the equity payment time is the same as the current system date.
[0081] S2064: Issue the rights to the client of the target user.
[0082] In an embodiment of the present application, after the electronic device determines the target user to whom the rights and interests can be currently issued, the rights and interests can be issued to the client of the target user. In some embodiments, the rights and interests values set by each rights and interests issuer can be the same or different. When the electronic device issues rights and interests to the target user, it can issue adapted rights and interests to different target users according to the specific rights and interests values set by the rights and interests issuer. As a way, the rights and interests value of each user can correspond to the user level of each user, that is, the higher the user level, the higher the corresponding rights and interests value. The electronic device can obtain the user level of each user to be issued at the same time as obtaining the rights and interests issuance time of each user to be issued.
[0083] In other embodiments, after the platform introduces a middle-office system to perform rights issuance tasks, when the platform needs to issue rights to users who meet the rights issuance conditions on that day, the middle-office system can provide the platform's rights issuance administrator with rights issuance rule creation services by displaying the rights issuance setting interface.
[0084] For example, in a birthday gift rights distribution scenario, platform merchants can choose to create different templates when creating a birthday gift rights process, where one template can only be used for one rights distribution task. Figure 5 , the setting items in the template may include: equity name, equity value, usage period, and equity usage instructions. The equity value setting can be calculated based on user information and user level.
[0085] S207: Obtain the user identifier corresponding to the user to be issued.
[0086] In an embodiment of the present application, after the electronic device obtains the to-be-issued users whose rights issuance time is within the target period, it can store the to-be-issued users for use in issuing rights. Among them, the user identifier refers to the user identifier defined by the electronic device itself according to actual needs, and the user identifier can be composed of three aspects: letters, underscores, and numbers. As the only basis for confirming the user's identity, the electronic device can store user information through the user identifier. More importantly, in any process of executing the rights issuance by the electronic device, the user identifier can be used to call the rights user. As an implementation method, the electronic device can generate the user identifier of the to-be-issued user by obtaining the UID list of the to-be-issued users. Specifically, the electronic device can use a mapping function to map the user ID of the to-be-issued user to a function value as the user identifier.
[0087] S208: The to-be-issued user identifier is stored through a first Bloom filter.
[0088] In the embodiment of the present application, after the electronic device obtains the user ID of the user to be issued whose rights issuance time is within the target period, the first Bloom filter can be used to store the user ID of the user to be issued. Among them, the Bloom filter is a probabilistic data structure, specifically a very long binary vector and a series of random mapping functions. Compared with data structures such as List, Set, and Map, its query effect is better and it occupies less space.
[0089] See also Figure 6, shows a schematic diagram of a Bloom filter application example. The purpose of the application example is to store certain data in a Bloom filter, and then query whether the data exists in the Bloom filter. Specifically, first create a new Bloom filter of custom length, which can be a bit vector, and the default value of the vector element is 0. Use multiple hash functions to map the data to multiple hash values, and set the vector element pointed to by each hash value to 1. When it is necessary to query whether the data exists, the hash function will return the same hash value, and use this hash value to determine whether the element pointed to is 1. If all elements are 1, it proves that the data exists.
[0090] As an implementation method, the electronic device can store the user to be issued according to the user identification of the user to be issued. Specifically, by performing a hash function (Hash) calculation on the user identification, using MurmurHash to obtain a unique Hash value, and mapping this Hash value through a hash function to obtain a point in a bit matrix. In order to prevent Hash conflicts, multiple hash function mappings can be used to map elements to obtain different points in the bit matrix, and these points are stored in the memory accordingly. In the memory bit matrix, 0 means not stored, 1 means stored, and the mapped point will store data 1. In this way, the first Bloom filter is used to store user records. Since the Bloom filter occupies less memory, the storage space of the system is greatly reduced.
[0091] The rights issuance method, device, electronic device and computer-readable medium provided by the present application obtain the rights issuance time of each user to be issued among the users to be issued by polling the rights issuance information of the users to be issued within the target period, and then obtain the target user whose rights issuance time matches the current system date from the users to be issued according to the rights issuance time of each user to be issued, and issue the rights to the client of the target user, thereby reducing the invalid scanning of users outside the target period and speeding up the efficiency of the execution of the rights issuance task. At the same time, the users to be issued are stored through the first Bloom filter, so that the amount of scanning of the users' rights information by the middle office system is gradually reduced, which greatly improves the efficiency of rights issuance.
[0092] See also Figure 7 , Figure 7 Another method for issuing rights and interests provided by an embodiment of the present application is shown. The method is applied to a middle-office system, which can be configured in various electronic devices that support data storage and computing capabilities. Specifically, the method includes: steps S301 to S310.
[0093] S301: Obtain the business parameters of the target business in the middle office system.
[0094] S302: Determine a target period for issuing rights and interests in the target business according to the business parameters.
[0095] In the embodiment of the present application, the specific description of step S301 and step S302 can refer to the content of the aforementioned embodiment and will not be repeated here.
[0096] S303: Determine whether the current system date is the first day of the target cycle.
[0097] In an embodiment of the present application, when the electronic device determines the target period for the issuance of rights and interests in the target business, it can first determine whether the system date of the current middle office system is on the first day of the target period, thereby determining the specific plan for polling the user's rights and interests information, minimizing the number of polling times and improving the efficiency of rights and interests issuance. In some embodiments, the electronic device may perform the aforementioned process of acquiring and storing the users to be issued on the first day of each target period, so that on non-first days of each target period, the pre-stored users to be issued can be directly read from the storage space. Specifically, when the electronic device receives a task to execute the issuance of rights and interests, it can determine the process of executing the issuance of rights and interests by determining whether the current system date is on the first day of the target period.
[0098] As an implementation method, when the electronic device performs a rights distribution business, the current system date can be matched with the first day of the target cycle to determine whether the first day of the target cycle is the same as the current system date. When the first day of the target cycle is the same as the current system date, it can be determined that the current system date is on the first day of the target cycle; when the first day of the target cycle is different from the current system date, it can be determined that the current system date is not on the first day of the target cycle.
[0099] S304: When the current system date is the first day of the target cycle, poll the rights and interests information of all business users of the target business.
[0100] In an embodiment of the present application, when the electronic device executes a rights issuance task, if it is determined that the current system date is on the first day of the target period, it can poll the rights information of all business users of the target business, that is, scan the rights information of each user among all users who enjoy the rights, so as to obtain the rights issuance time of each user among all users who enjoy the rights, and then determine the users to be issued whose rights issuance time is within the target period.
[0101] As an implementation method, the electronic device can determine that the target period is one month based on the business parameters of the target business. When executing the birthday gift rights distribution business, the rights and interests information of all users in the business can be fully scanned on the first day of each month. For example, the electronic device can use the middle office system to query the UID list of all member users under the merchant store, and then obtain the rights and interests information of the corresponding user based on the UID list. After determining whether the current system date is on the first day of the target period, a reasonable distribution process can be carried out according to different judgment results to improve the efficiency of task execution.
[0102] In some embodiments, when the electronic device receives a scheduled task triggering the issuance of benefits, if the current system date is on the first day of the target period, the aforementioned process of obtaining and storing the users to be issued can be performed. That is, the information of each user among all users who enjoy the benefits is scanned to obtain the benefit issuance time of each user among all users who enjoy the benefits, and then determine the users to be issued whose benefit issuance time is within the target period.
[0103] For example, if the target period is one month, when the middle office system executes the distribution of birthday gift rights, it can trigger a full scan of user information on the first day of each month. That is, the middle office can query the UID list of all member users under the merchant store, and obtain the corresponding user information based on the UID list, and then obtain the user's birthday date from the user information. The electronic device can obtain the users whose birthdays are to be distributed in that month based on each user's birthday.
[0104] S305: According to the rights and interests information, obtain the rights and interests issuance time of each rights and interests user among all rights and interests users who enjoy the rights and interests.
[0105] In an embodiment of the present application, after obtaining the rights and interests information of the rights and interests user, the electronic device can obtain from the rights and interests information the rights and interests issuance time for determining the users to be issued and the rights and interests points for calculating the rights and interests issuance. As an implementation method, after obtaining the rights and interests information of the rights and interests user, the electronic device can obtain from the rights and interests information the rights and interests issuance time corresponding to each rights and interests user. For example, the electronic device can query the UID list of all member users under the merchant store using the middle office system, thereby generating the corresponding user's rights and interests information list based on the UID list, and then obtaining the rights and interests issuance time corresponding to the rights and interests user.
[0106] As another implementation method, after the electronic device obtains the rights and interests information of the rights and interests user, it can obtain the rights and interests points used to calculate the rights and interests from the rights and interests information. For example, the middle office system can query the UID list of all member users under the merchant store, and then obtain the corresponding user's shopping gold graded acquisition quantity from the UID list, and calculate the specific rights and interests value issued to the corresponding user based on the shopping gold graded acquisition quantity. Specifically, the calculation algorithm can use big data analysis algorithms and deep learning algorithms, which are not limited in this embodiment.
[0107] S306: According to the equity issuance time of each equity user, users to be issued equity whose equity issuance time is within the target period are obtained from all equity users.
[0108] In an embodiment of the present application, after the electronic device obtains the rights issuance time of each user among all users who enjoy the rights on the first day of the target period, it can obtain the users whose rights issuance time is within the target period from all users based on the rights issuance time of each user.
[0109] In some embodiments, in order to reduce invalid scanning of user information, the rights issuance time of all users who enjoy the rights can be scanned at one time on the first day of the target period, so as to obtain the users whose rights issuance time is within the target period and to filter out the users outside the target period directly, so that there is no need to repeatedly scan the user information in the future. As an implementation mode, when the electronic device obtains the rights issuance time of each user among all users who enjoy the rights, it can match and calculate the rights issuance time of each user with the target period to obtain the users who are within the target period and to be issued.
[0110] For example, the time of rights issuance is the membership activation date. When the middle platform executes the membership anniversary gift rights issuance on the first day of this month, after obtaining the membership activation date of each user, the middle platform can obtain the users whose membership activation date is within this month from all users based on the membership activation date of each user.
[0111] S307: When the current system date is not the first day of the target period, all user identifiers corresponding to all service users of the target service are obtained.
[0112] In the embodiment of the present application, in order to determine the users to be issued from the rights and interests users of the target business, the rights and interests of the users can be determined by obtaining the rights and interests issuance time. However, in the target period, querying the rights and interests issuance time of all rights and interests users will increase the computing load of the middle office system, and there will be more invalid requests for obtaining user rights and interests information. For this reason, only users whose rights and interests issuance time is in the target period can be queried, thereby reducing invalid requests for obtaining user rights and interests information.
[0113] As an implementation method, the electronic device can obtain all user identifiers corresponding to all business users of the target business when the system date of the middle-office system is not the first day in the target period, and then obtain the user to be issued based on the user identifier. The specific description of obtaining the user identifier can refer to the content in the aforementioned embodiment and will not be repeated here.
[0114] S308: Acquire the target user identifier successfully mapped to the first Bloom filter from all the user identifiers.
[0115] It is understandable that when the user identifier is successfully mapped to the first Bloom filter, it can be considered that the user identifier is the to-be-issued user identifier of the to-be-issued user pre-stored in the first Bloom filter. When the user identifier is not successfully mapped to the first Bloom filter, it can be considered that the user identifier is not the to-be-issued user identifier of the to-be-issued user pre-stored in the first Bloom filter, so there is no need to issue rights to the user corresponding to the user identifier. Therefore, by obtaining the target user identifier, the electronic device can further obtain the to-be-issued user corresponding to the target user identifier, thereby directly removing the service users who are not in the target period, without the need to request the time for issuing rights to all users.
[0116] S309: The target service user corresponding to the target user identifier is used as a user to be issued rights and interests whose issuance time is within the target period.
[0117] As an implementation mode, after obtaining the target user identification, the electronic device can determine the corresponding target service user as the user to be issued the rights and interests within the target period through the target user identification. Specifically, the electronic device can use the target user identification, according to the aforementioned method of mapping the user UID to the function value as the user identification using the mapping function, and reversely calculate using the same mapping function to calculate the corresponding user UID from the target user identification, thereby determining the target service user.
[0118] S310: within the target period, according to the time of issuing the rights to the user to be issued, issuing the rights to the client of the user to be issued.
[0119] In the embodiment of the present application, the specific description of step S310 can refer to the content of the aforementioned embodiment and will not be repeated here.
[0120] The rights issuance method provided in the embodiment of the present application determines the specific plan for polling user rights information by judging whether the current system date is on the first day of the target cycle, thereby minimizing the number of polling times and improving the efficiency of rights issuance. When the current system date is on the first day of the target cycle, the rights information of all service users of the target service is polled, and the rights issuance time of each of all rights users who enjoy the rights is obtained based on the rights information. Based on the rights issuance time of each rights user, the users to be issued whose rights issuance time is within the target cycle are obtained from all rights users, thereby obtaining the rights issuance time of each user among all users who enjoy the rights, and then determining the users to be issued whose rights issuance time is within the target cycle.
[0121] When the current system date is not on the first day of the target period, all user identifiers corresponding to all business users of the target business are obtained, and the target user identifier successfully mapped to the first Bloom filter is obtained from all user identifiers, and the target business user corresponding to the target user identifier is used as the user to be issued whose rights issuance time is within the target period, and then within the target period, according to the rights issuance time of the user to be issued, the rights are issued to the client of the user to be issued. Therefore, only the users whose rights issuance time is within the target period are queried, thereby reducing invalid requests for obtaining user rights information
[0122] See also Figure 8 , Figure 8 Another method for issuing rights and interests provided by an embodiment of the present application is shown. The method is applied to a middle-office system, which can be configured in various electronic devices that support data storage and computing capabilities. Specifically, the method includes: steps S401 to S409.
[0123] S401: Obtain business parameters of the target business in the middle office system.
[0124] S402: Determine a target period for issuing rights and interests in the target business according to the business parameters.
[0125] In the embodiment of the present application, the specific description of step S401 and step S402 can refer to the content of the aforementioned embodiment and will not be repeated here.
[0126] S403: Acquire the issued users to whom the rights have been issued in the target business.
[0127] In the embodiment of the present application, when issuing rights, the electronic device can first obtain the issued users who have issued the rights in the target business, so as to prevent the same user from repeatedly receiving the rights, that is, the rights user cannot receive the rights again after having received the rights in this target business. In some embodiments, after the electronic device completes the rights issuance task, the electronic device can save the rights issuance record, for example, for the user who has been issued the rights, the UID of the user can be stored.
[0128] As an implementation method, the electronic device can obtain the user record of the issued rights from the saved rights issuance record, wherein the user record can be used to record information that can be used to determine that the user has received the rights. For example, a UID rights history file of the user who has received the rights is saved, and the UID rights history file may include the user's identity information, the time of receiving the rights, etc.
[0129] As another implementation, other devices may also store user records of issued benefits. For example, the electronic device may retrieve user records of issued benefits from a network server storing the records of issued benefits.
[0130] Furthermore, after obtaining the user record, the electronic device can determine the issued user to whom the rights have been issued according to the user record. For example, the user record stores information about the rights that the user has received, including the time when the rights were received and the object to whom the rights were received. The middle office system can determine that the object to whom the rights were received is the issued user according to the time when the rights were received.
[0131] S404: storing the issued user identifier corresponding to the issued user through a second Bloom filter.
[0132] As an implementation mode, after obtaining the issued user, the electronic device can generate a corresponding issued user identifier based on the issuing user, and further store the issued user identifier in a second Bloom filter. The specific description of generating the user identifier and storing the user identifier can refer to the contents of the aforementioned embodiments and will not be repeated here.
[0133] S405: Acquire all user identifiers corresponding to all service users of the target service.
[0134] In the embodiment of the present application, the specific description of step S405 can refer to the content of the aforementioned embodiment and will not be repeated here.
[0135] S406: Acquire, from all the user identifiers, a designated user identifier that is not successfully mapped to the second Bloom filter.
[0136] In the embodiment of the present application, in order to prevent the same user from repeatedly receiving the rights and interests, the electronic device can map all user identifiers in the target service, obtain the designated user identifier that has not been successfully mapped to the second Bloom filter, and then obtain the unissued users in the target service who have not been issued the rights and interests according to the designated user identifier. Thus, the electronic device can also reduce the number of scans of the rights and interests information of the unissued users when obtaining the users to be issued whose rights and interests issuance time is within the target period from all the unissued users.
[0137] In some embodiments, when the electronic device uses the second Bloom filter to store the issued user identifiers, the second Bloom filter can be used to filter out the designated user identifier from the user identifiers of all equity users who enjoy the rights. As an implementation mode, the electronic device can query the user identifiers of all equity users in the target service in the second Bloom filter, and determine the user identifier that is not queried in the second Bloom filter as the designated user identifier.
[0138] For example, when a network platform uses the middle platform to start a membership anniversary gift method, it obtains a user UID list of the network platform, further obtains the user IDs of all corresponding users in the user UID list based on the user UID list, and polls the user IDs of all users in the second Bloom filter. If the user ID is not in the second Bloom filter, it can be determined that the user ID is a specified user ID.
[0139] S407: The target service user corresponding to the designated user identifier is used as an unissued user to whom the rights and interests are not issued in the target service.
[0140] As an implementation mode, when an electronic device obtains a designated user identifier, it can obtain a corresponding target service user based on the designated user identifier. Specifically, the electronic device can calculate the corresponding user UID based on the designated user identifier to determine the target service user. The specific description of the calculation method can be referred to the content in the aforementioned embodiment and will not be repeated here.
[0141] S408: Acquire the users to be issued benefits whose benefit issuance time is within the target period from all the users who have not been issued benefits.
[0142] S409: within the target period, according to the time of issuing the rights to the user to be issued, issuing the rights to the client of the user to be issued.
[0143] In the embodiment of the present application, the specific description of step S408 and step S409 can refer to the content of the aforementioned embodiment and will not be repeated here.
[0144] The rights issuance method, device, electronic device and computer-readable medium provided in the present application obtain the issued users of the target business to which the rights have been issued, and then store the issued user identifiers corresponding to the issued users through a second Bloom filter, and further obtain all user identifiers corresponding to all business users of the target business, and obtain the designated user identifier that has not been successfully mapped to the second Bloom filter from all user identifiers, and use the target business user corresponding to the designated user identifier as the unissued user of the target business to which the rights have not been issued, and obtain the to-be-issued users whose rights issuance time is within the target period from all unissued users, thereby preventing the same user from receiving rights repeatedly, and at the same time, reducing the number of scans of the rights information of the unissued users when the electronic device obtains the to-be-issued users whose rights issuance time is within the target period from all unissued users.
[0145] For example, see Fig. 9 , Fig. 9 The overall flow chart of a method for issuing rights and interests provided by an embodiment of the present application is shown. Specifically, in the application scenario of issuing rights and interests for birthday gifts, the electronic device can use the middle office system to obtain the user UID list of the network platform. Through the second Bloom filter, the unclaimed users who have not received the rights and interests in this target business are obtained. Furthermore, it is determined whether the system time when the middle office system performs the rights and interests issuance operation is the first day of the target period.
[0146] If the system time is the first day within the target period, poll the birthdays of all unclaimed users. Determine whether the birthdays of unclaimed users are within the target period. If the birthdays of unclaimed users are within the target period, the UID of the unclaimed user is stored in the first Bloom filter as a user to be issued through a Hash function and a hash function. If the birthday of the unclaimed user is not within the target period, no processing is performed. Furthermore, birthday gift rights are issued to users whose birthdays are within today's time. After the birthday gift rights are issued, the UID of the user to whom the rights are issued is stored in the second Bloom filter through a Hash function and a hash function.
[0147] If the system time is not the first day within the target period, the second Bloom filter is used to obtain the unclaimed users who have not received the rights in this target business. Furthermore, the first Bloom filter is used to obtain the users who have the rights to receive birthday gifts within the target period. It is determined whether the birthday time of the user to be issued is today. If so, the birthday gift rights will be issued to the user to be issued. After the birthday gift rights are issued, the UID of the user to whom the rights are issued is also stored in the second Bloom filter through the Hash function and the hash function. As a result, invalid requests for user information acquisition are reduced through the first Bloom filter and the second Bloom filter, respectively, so as to achieve the effect of efficiently processing the issuance of birthday gifts.
[0148] See also Fig.10 , which shows a structural block diagram of a rights issuance device 600 provided in an embodiment of the present application. The device may include: a first acquisition module 610, used to obtain the business parameters of the target business in the middle office system; a determination module 620, used to determine the target period for the issuance of rights in the target business according to the business parameters; a second acquisition module 630, used to obtain the users to be issued whose rights issuance time is within the target period from all business users of the target business; an issuance module 640, used to issue rights to the client of the user to be issued within the target period according to the rights issuance time of the user to be issued.
[0149] In some embodiments, the second acquisition module 630 may include: a polling unit, used to poll the rights and interests information of all business users of the target business; a time acquisition unit, used to obtain the rights and interests issuance time of each equity user among all equity users who enjoy the rights and interests based on the rights and interests information; a user acquisition unit, used to obtain the users to be issued rights and interests whose rights and interests issuance time is within the target period from all equity users based on the rights and interests issuance time of each equity user.
[0150] In some embodiments, the rights issuance device 600 may further include: a first identification acquisition module, used to acquire the to-be-issued user identification corresponding to the to-be-issued user; and a first storage module, used to store the to-be-issued user identification through a first Bloom filter.
[0151] In some embodiments, the equity distribution device 600 may further include: a judgment module, configured to judge whether the current system date is the first day of the target period;
[0152] In this embodiment, the polling unit may be specifically configured to: when the current system date is the first day of the target period, poll the rights and interests information of all service users of the target service.
[0153] In some embodiments, the rights issuance device 600 may further include: a second identification acquisition module, used to acquire the issued user to whom the rights have been issued in the target business; and a second storage module, used to store the issued user identification corresponding to the issued user through a second Bloom filter.
[0154] In some embodiments, the second acquisition module 630 can also be specifically used to: obtain all user identifiers corresponding to all business users of the target business; obtain, from all the user identifiers, a specified user identifier that has not been successfully mapped to the second Bloom filter; use the target business user corresponding to the specified user identifier as an unissued user to whom the rights and interests have not been issued in the target business; and obtain, from all the unissued users, users to be issued whose rights and interests issuance time is within the target period.
[0155] In some embodiments, the issuance module 640 can be specifically used to: poll the rights and interests information of the users to be issued within the target period; obtain the rights and interests issuance time of each user to be issued according to the rights and interests information; obtain the target users whose rights and interests issuance time matches the current system date from the users to be issued according to the rights and interests issuance time of each user to be issued; and issue the rights and interests to the client of the target user.
[0156] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0157] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0158] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0159] The rights issuance method, device, electronic device and computer-readable medium provided in the present application determine the target period for rights issuance in the target business by obtaining the business parameters of the target business in the middle office system, and obtain the users to be issued whose rights issuance time is within the target period from all business users of the target business. Within the target period, rights can be issued to the client of the user to be issued based on the rights issuance time of the user to be issued. Therefore, in the present application, the middle office system can dynamically determine the target period for rights issuance based on the business parameters of the rights issuance business, and further, based on the users to be issued whose rights issuance time is within the target period, rights issuance within the target period can be achieved by simply obtaining the rights issuance time of the user to be issued, without polling the rights issuance time of all users, that is, the original data query object is reduced from the scope of all users to the scope of users within the target period, thereby greatly reducing the number of data acquisitions and improving the efficiency of rights issuance.
[0160] Please refer to Fig.11 , which shows a structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 100 can be an electronic device capable of running applications, such as a smart phone, a tablet computer, an e-book, or a server. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and one or more programs are configured to execute the method described in the aforementioned method embodiment.
[0161] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.
[0162] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 100 during use.
[0163] Please refer to Fig.12 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 800 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0164] The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 that performs any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 810 can be compressed, for example, in an appropriate form.
[0165] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for issuing rights, characterized in that: Applied to the middle office system, the method includes: Obtaining business parameters of the target business in the middle office system, where the business parameters represent the number of business users for which rights and interests corresponding to the target business are issued; According to the business parameters, determine the target period for equity issuance in the target business, where the target period represents the frequency with which the middle office system performs a full scan on all users; From all the service users of the target service, the users whose rights issuance time is within the target period are obtained. The obtaining of the users whose rights issuance time is within the target period from all the service users of the target service comprises: polling the rights information of all the service users of the target service; obtaining the rights issuance time of each of all the rights users who enjoy the rights according to the rights information; obtaining the users whose rights issuance time is within the target period from all the rights users according to the rights issuance time of each of the rights users; During the target period, rights and interests are issued to the client of the user to be issued according to the rights and interests issuance time of the user to be issued. During the target period, rights and interests are issued to the client of the user to be issued according to the rights and interests issuance time of the user to be issued, including: polling rights and interests information of the users to be issued within the target period; obtaining the rights and interests issuance time of each user to be issued among the users to be issued according to the rights and interests information; obtaining a target user whose rights and interests issuance time matches the current system date from the users to be issued according to the rights and interests issuance time of each user to be issued; and issuing rights and interests to the client of the target user.
2. The method according to claim 1, characterized in that After acquiring, from all the equity users, the users whose equity issuance time is within the target period, according to the equity issuance time of each equity user, the method further includes: Obtaining a to-be-issued user identifier corresponding to the to-be-issued user; The to-be-issued user identifier is stored via a first Bloom filter.
3. The method according to claim 2, characterized in that Before polling the rights and interests information of all service users of the target service, the method further includes: Determine whether the current system date is the first day of the target period; The polling of the rights and interests information of all service users of the target service includes: When the current system date is the first day of the target period, the rights and interests information of all service users of the target service is polled.
4. The method according to claim 3, characterized in that The step of acquiring, from among all service users of the target service, users to be issued rights whose rights issuance time is within the target period, includes: When the current system date is not the first day of the target period, obtaining all user identifiers corresponding to all service users of the target service; Acquire a target user identifier successfully mapped to the first Bloom filter from among all the user identifiers; The target service user corresponding to the target user identifier is used as a user to be issued rights and interests whose issuance time is within the target period.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Obtain the issued users to whom the rights have been issued in the target business; The issued user identifier corresponding to the issued user is stored through the second Bloom filter.
6. The method according to claim 5, characterized in that The step of acquiring, from among all the service users of the target service, the users to be issued rights whose rights issuance time is within the target period, comprises: Obtain all user identifiers corresponding to all business users of the target business; Acquire, from all the user identifiers, a designated user identifier that is not successfully mapped to the second Bloom filter; The target service user corresponding to the designated user identifier is regarded as an unissued user to whom the rights and interests are not issued in the target service; From all the unissued users, the to-be-issued users whose rights issuance time is within the target period are obtained.
7. A rights distribution device, characterized in that: Applied to the middle platform system, the device includes: A first acquisition module is used to acquire business parameters of a target business in the middle office system, where the business parameters represent the number of business users for which rights and interests corresponding to the target business are issued; A determination module, used to determine a target period for issuing rights in the target business according to the business parameters, wherein the target period represents the frequency with which the middle office system performs a full scan on all users; The second acquisition module is used to acquire the users whose rights issuance time is within the target period from all the service users of the target service, wherein acquiring the users whose rights issuance time is within the target period from all the service users of the target service comprises: polling the rights information of all the service users of the target service; acquiring the rights issuance time of each of all the rights users who enjoy the rights according to the rights information; acquiring the users whose rights issuance time is within the target period from all the rights users according to the rights issuance time of each of the rights users; The issuing module is used to issue the rights and interests to the client of the user to be issued within the target period according to the rights and interests issuance time of the user to be issued. The issuing of the rights and interests to the client of the user to be issued within the target period according to the rights and interests issuance time of the user to be issued includes: polling the rights and interests information of the users to be issued within the target period; obtaining the rights and interests issuance time of each user to be issued among the users to be issued according to the rights and interests information; obtaining the target user whose rights and interests issuance time matches the current system date from the users to be issued according to the rights and interests issuance time of each user to be issued; and issuing the rights and interests to the client of the target user.
8. An electronic device, characterized in that: include: one or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that: The readable storage medium stores a program code executable by a processor, and when multiple instructions in the program code are executed by the processor, the processor executes the method according to any one of claims 1 to 6.
