Activity data processing method and device in member system activity

By introducing activity pools and microservice architectures into the member system, separating activity information from user activity views, and using big data analysis engine and asynchronous message queues, the problems of high coupling and insufficient scalability of member activity systems are solved, and the system is improved Stability and scalability reduce database performance impact and maintenance costs.

CN119273402APending Publication Date: 2025-01-07CHINA CONSTRUCTION BANK +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411325301.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

Due to the simple structure of the existing member activity system, it has high coupling between activity management and user information, and poor system scalability and maintenance, which affects database performance and increases development, testing and maintenance costs.

Method used

By introducing activity pools and microservice architectures into member systems, using big data analysis engines and asynchronous message queues, separating activity information from user activity views, reducing dependence on databases, reducing code coupling, and improving system stability and scalability .

Benefits of technology

It effectively reduces database performance bottlenecks, improves the efficiency and stability of active data processing, enhances the maintainability and scalability of the system, and reduces maintenance and expansion costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119273402A_ABST
    Figure CN119273402A_ABST
Patent Text Reader

Abstract

The invention discloses an activity data processing method and device in member system activities, and the method comprises the steps: querying a current activity view of a user according to the personal information of the user; performing matching updating on the current activity view and activity information in the activity pool; in response to an operation of performing a target activity by a user under the updated view, triggering an activity completion state monitor of a server through a micro-service architecture; using a big data analysis engine to determine whether the activity state of the target activity performed by the user is a completed state; if so, initiating a request to an activity right management system of the server through an asynchronous message queue; and if the activity right and interest management system determines to issue the right and interest corresponding to the target activity to the user, recording issuing information of the right and interest in the update view. The method is used for reducing the performance bottleneck of the database, reducing the code coupling degree of a member activity system and improving the activity data processing efficiency and stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The method and device for processing activity data in member system activities of the present invention can be used in the financial field, and can also be used in any field other than the financial field. The application field of the method and device for processing activity data in member system activities of the present invention is not limited. Background Art

[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No admission is made that the description herein is prior art by inclusion in this section.

[0003] With the growth in the number of member users and the development of the user activity system, the original member activity system has poor scalability and maintainability due to its simple structure and high coupling between activity management and user information, making it difficult to meet current needs.

[0004] The existing member activity system directly uses the database to maintain an activity information table, and the records of users' completed activities are saved in another completed activity record table. When a user queries the activity list, the system directly displays the content of the activity information table; every time a user completes an activity, the system inserts a record in the user's completed activity record table.

[0005] The problems with existing technical solutions are:

[0006] 1. When querying and completing activities, the system is highly dependent on the activity information table, which will lead to frequent joint table query operations when the concurrency is large, thus affecting database performance.

[0007] 2. The activity information table and the user's activity record table are highly coupled at the code level, so a lot of supporting transformation work is required during maintenance and expansion, which increases the cost of development, testing and maintenance. Summary of the invention

[0008] The embodiment of the present invention provides a method for processing activity data in a member system activity, which is used to reduce database performance bottlenecks, reduce the code coupling degree of the member activity system, improve the efficiency and stability of activity data processing, and enhance maintainability and scalability. The method includes:

[0009] According to the user's personal information, query the user's current activity view; match the current activity view with the activity information in the activity pool; the activity pool is used to store a variety of activity information; the activity information includes activity type, activity audience, activity rules and activity time and space dimension restriction information;

[0010] Identifying the updated activities and the activities for which the user is no longer qualified through matching, updating the current activity view of the user to obtain an updated view;

[0011] In response to the user's operation of performing a target activity in the update view, triggering an activity completion status listener on the server side through the microservice architecture; the activity completion status listener is used to update the activity status of the target activity in the update view using event stream processing technology;

[0012] Using the big data analysis engine, determine whether the activity status of the user performing the target activity is completed; if it is completed, initiate a request to the activity rights management system of the server through an asynchronous message queue; the activity rights management system is used to determine whether to issue the rights corresponding to the target activity to the user according to the activity operation information carried in the request;

[0013] If the activity rights management system determines to issue the rights corresponding to the target activity to the user, the rights issuance information is recorded in the update view, and the activity status of the target activity is updated again.

[0014] The embodiment of the present invention also provides an activity data processing device in a member system activity, which is used to reduce database performance bottlenecks, reduce the code coupling degree of the member activity system, improve the efficiency and stability of activity data processing, and enhance maintainability and scalability. The device includes:

[0015] The activity matching module is used to query the user's current activity view according to the user's personal information; match the current activity view with the activity information in the activity pool; the activity pool is used to store a variety of activity information; the activity information includes activity type, activity customer group, activity rules and activity time and space dimension restriction information;

[0016] A view update module, configured to identify the update activities and the activities for which the user is no longer qualified through matching, and update the current activity view of the user to obtain an updated view;

[0017] A monitoring trigger module, configured to trigger an activity completion status listener on the server side through a microservice architecture in response to a user's operation of performing a target activity in the update view; the activity completion status listener is configured to update the activity status of the target activity in the update view using event stream processing technology;

[0018] The rights and interests issuing module is used to use the big data analysis engine to determine whether the activity status of the user performing the target activity is completed; if it is completed, a request is initiated to the activity rights and interests management system of the server through an asynchronous message queue; the activity rights and interests management system is used to determine whether to issue the rights and interests corresponding to the target activity to the user according to the activity operation information carried in the request;

[0019] The activity status update module is used for recording the issuance information of the rights in the update view and updating the activity status of the target activity again if the activity rights management system determines to issue the rights corresponding to the target activity to the user.

[0020] An embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for processing activity data in member system activities when executing the computer program.

[0021] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for processing activity data in the member system activities is implemented.

[0022] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the method for processing activity data in the member system activities is implemented.

[0023] In an embodiment of the present invention, the current activity view of the user is queried according to the user's personal information; the current activity view is matched with the activity information in the activity pool; the activity pool is used to store a variety of activity information; the activity information includes activity type, activity audience, activity rules and activity time and space dimension restriction information; after matching, the updated activities and activities for which the user is no longer qualified are identified, and the current activity view of the user is updated to obtain an updated view; in response to the user's operation of performing a target activity under the updated view, the activity completion status listener of the server is triggered through the microservice architecture; the activity completion status listener is used to use event stream processing technology to update the activity status of the target activity in the updated view; using the big data analysis engine, it is determined whether the activity status of the user performing the target activity is a completed state; if it is a completed state, a request is initiated to the activity rights management system of the server through an asynchronous message queue; the activity rights management system is used to determine whether to issue the rights corresponding to the target activity to the user according to the activity operation information carried in the request; if the activity rights management system determines to issue the rights corresponding to the target activity to the user, the issuance information of the rights is recorded in the updated view. , and update the activity status of the target activity again, thereby matching the current activity view with the activity information in the activity pool, the activity pool stores a variety of activity information, reduces the dependence on the activity information table, avoids frequent joint table queries, and thus reduces the impact on database performance; uses a big data analysis engine to determine the activity status, and initiates a request to the activity rights management system through an asynchronous message queue, which reduces the pressure of real-time synchronization requests on the database, greatly reduces the processing pressure of the server under high concurrency conditions, and improves the stability and processing capacity of the system; identifies the update activities and the activities for which the user is no longer eligible through matching, updates the current activity view, obtains the update view, realizes the separation of activity information and user activity view, and reduces the degree of coupling at the code level; in response to user operations, triggers the activity completion status listener through the microservice architecture, and uses event stream processing technology to update the activity status, making the update of the activity status more flexible and independent; the activity rights management system determines whether to issue rights based on the activity operation information carried in the request, and records the rights issuance information and updates the activity status again in the update view, further clarifies the responsibilities of each module, reduces the complexity of the code, and reduces the cost of maintenance and expansion. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0025] Figure 1 It is a flowchart of a method for processing activity data in a member system activity in an embodiment of the present invention;

[0026] Figure 2 A specific example diagram of a method for processing activity data in a member system activity in an embodiment of the present invention;

[0027] Figure 3 A specific example diagram of a method for processing activity data in a member system activity in an embodiment of the present invention;

[0028] Figure 4 A specific example diagram of a method for processing activity data in a member system activity in an embodiment of the present invention;

[0029] Figure 5 A specific example diagram of a method for processing activity data in a member system activity in an embodiment of the present invention;

[0030] Figure 6 It is a structural schematic diagram of an activity data processing device for member system activities in an embodiment of the present invention;

[0031] Figure 7 A specific example diagram of an activity data processing device for a member system activity in an embodiment of the present invention;

[0032] Figure 8 The present invention is a schematic block diagram of a system structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0033] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0034] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.

[0035] In the description of this specification, the terms "include", "including", "have", "contain", etc. are all open terms, which mean including but not limited to. The descriptions with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", etc. mean that the specific features, structures or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. The order of steps involved in each embodiment is used to schematically illustrate the implementation of the present application, and the order of steps is not limited and can be appropriately adjusted as needed.

[0036] The acquisition, storage, use, and processing of data in the technical solution of this application are in compliance with the relevant provisions of national laws and regulations. The information collected in this application is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure, and application of relevant data are in compliance with the relevant laws, regulations, and standards of relevant countries and regions, and necessary confidentiality measures are taken, which do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse. In addition, this application provides users with corresponding operation entrances for users to choose to agree or refuse the results of automated decision-making. If the user chooses to refuse, they can enter the expert decision-making process.

[0037] It should be noted that in the embodiments of the present invention, some existing solutions in the industry such as certain software, components, models, etc. may be mentioned. For example, some existing software tools, components, algorithm models or other well-known solutions in other technical fields may be cited. They should be considered as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of this application. These references should be understood as typical examples, and their core purpose is to explain and verify the rationality and feasibility of the implementation of the technical solution proposed in this application. However, it does not mean that the applicant has or will inevitably use the solution. Such references do not imply that the applicant has actually adopted these existing solutions, or will inevitably adopt these methods in the process of its technical implementation in the future. In other words, these references only serve to illustrate the nature of the description, to help understand the connection and transcendence between the innovation of this application and the prior art, and do not constitute an endorsement or reliance statement on a specific prior art product.

[0038] The original member activity system relies on the activity information table when querying and completing activities, and there will be frequent joint table query operations, which will affect the performance of the database when there is a large amount of concurrency. Moreover, the activity information table and the user's activity record table are highly coupled at the code level. During maintenance and expansion, a lot of supporting modifications are required, and the development, testing and maintenance costs are relatively high. Specifically, the original member activity system directly uses the database to maintain an activity information table, and the user's completed activities are recorded in the completed activity record table. When querying the activity list, the records of the activity information table are directly displayed. Each time an activity is completed, the user's completed activity record is inserted into the user's completed activity record table.

[0039] In order to solve the above problems, an embodiment of the present invention provides a method for processing activity data in member system activities. The present invention decouples activities from users and divides them into two relatively independent modules to improve the stability, scalability and maintainability of the entire system, and builds a more modular new member activity system. The activity system establishes an activity pool to manage all activities in a unified manner. After the activities are added to the activity pool, the activity system distributes them to specific users according to parameters such as the type and customer group of the activities. The activity pool is responsible for maintaining and managing all activities and distributing activities. When users complete an activity, they only modify their own copy of the activity. The two are managed separately, which solves the problems of high code coupling and insufficient scalability. The present invention is used to reduce database performance bottlenecks, reduce the code coupling of member activity systems, improve the efficiency and stability of activity data processing, and enhance maintainability and scalability. See. Figure 1 , the method may include:

[0040] Step 101: query the user's current activity view according to the user's personal information; match the current activity view with the activity information in the activity pool; the activity pool is used to store a variety of activity information; the activity information includes activity type, activity audience, activity rules and activity time and space dimension restriction information;

[0041] Step 102: Identify updated activities and activities for which the user is no longer qualified through matching, and update the current activity view of the user to obtain an updated view;

[0042] Step 103: In response to the user's operation of performing a target activity in the update view, triggering an activity completion status listener on the server side through the microservice architecture; the activity completion status listener is used to update the activity status of the target activity in the update view using event stream processing technology;

[0043] Step 104: using the big data analysis engine, determining whether the activity status of the user performing the target activity is completed; if it is completed, initiating a request to the activity rights management system of the server through an asynchronous message queue; the activity rights management system is used to determine whether to issue the rights corresponding to the target activity to the user according to the activity operation information carried in the request;

[0044] Step 105: If the activity rights management system determines to issue the rights corresponding to the target activity to the user, the rights issuance information is recorded in the update view, and the activity status of the target activity is updated again.

[0045] In an embodiment of the present invention, the current activity view of the user is queried according to the user's personal information; the current activity view is matched with the activity information in the activity pool; the activity pool is used to store a variety of activity information; the activity information includes activity type, activity audience, activity rules and activity time and space dimension restriction information; after matching, the updated activities and activities for which the user is no longer qualified are identified, and the current activity view of the user is updated to obtain an updated view; in response to the user's operation of performing a target activity under the updated view, the activity completion status listener of the server is triggered through the microservice architecture; the activity completion status listener is used to use event stream processing technology to update the activity status of the target activity in the updated view; using the big data analysis engine, it is determined whether the activity status of the user performing the target activity is a completed state; if it is a completed state, a request is initiated to the activity rights management system of the server through an asynchronous message queue; the activity rights management system is used to determine whether to issue the rights corresponding to the target activity to the user according to the activity operation information carried in the request; if the activity rights management system determines to issue the rights corresponding to the target activity to the user, the issuance information of the rights is recorded in the updated view. , and update the activity status of the target activity again, thereby matching the current activity view with the activity information in the activity pool, the activity pool stores a variety of activity information, reduces the dependence on the activity information table, avoids frequent joint table queries, and thus reduces the impact on database performance; uses a big data analysis engine to determine the activity status, and initiates a request to the activity rights management system through an asynchronous message queue, which reduces the pressure of real-time synchronization requests on the database, greatly reduces the processing pressure of the server under high concurrency conditions, and improves the stability and processing capacity of the system; identifies the update activities and the activities for which the user is no longer eligible through matching, updates the current activity view, obtains the update view, realizes the separation of activity information and user activity view, and reduces the degree of coupling at the code level; in response to user operations, triggers the activity completion status listener through the microservice architecture, and uses event stream processing technology to update the activity status, making the update of the activity status more flexible and independent; the activity rights management system determines whether to issue rights based on the activity operation information carried in the request, and records the rights issuance information and updates the activity status again in the update view, further clarifies the responsibilities of each module, reduces the complexity of the code, and reduces the cost of maintenance and expansion.

[0046] In specific implementation, firstly perform step 101: query the user's current activity view according to the user's personal information; match the current activity view with the activity information in the activity pool; the activity pool is used to store a variety of activity information; the activity information includes activity type, activity audience, activity rules and activity time and space dimension restriction information.

[0047] In the embodiment, based on the user's personal information, the system uses a specific query algorithm and mechanism to query the user's current activity view. The query process fully considers the user's various attributes and characteristics to ensure that the acquired activity view is highly matched with the user's actual situation and needs.

[0048] Subsequently, the current activity view is fully matched with the activity information in the activity pool. As a core component for storing a variety of activity information, the activity pool is extremely important. The activity information stored in the activity pool covers multiple aspects such as activity type, activity audience, activity rules, and activity time and space dimension restriction information. Activity types include but are not limited to promotional activities, points activities, and lucky draw activities; activity audiences are segmented according to user attributes, behaviors and other factors to ensure that activities can be accurately pushed to target users; activity rules clarify the specific content of the activity participation conditions, processes, rewards, etc.; activity time and space dimension restriction information stipulates the time range and applicable regions of the activity, making the activities more orderly and reasonable.

[0049] Through this matching process, the system can accurately filter out activity information that is relevant to the user and meets their conditions, providing users with more personalized and accurate services.

[0050] In the above embodiment, when the user enters the activity page for the first time after the activity is reset, the system will perform a series of precise operations. First, the system will comprehensively match the various activity information stored in the activity pool based on the user's personal information, including the user's physiological information, historical transaction information, and historical activity operation information. The activity information in the activity pool covers multiple aspects such as activity type, activity audience, activity rules, and activity time and space dimension restriction information. Through precise matching, all activities that meet the user's conditions are determined.

[0051] For some types of activities that can be completed repeatedly in different time periods, the system will assign a corresponding sub-activity ID when the activity is issued. This sub-activity ID plays an important role as the unique identifier of the activity within this period. It can clearly distinguish the same activity in different periods, ensuring the accuracy and clarity of the system when recording and managing activity data. The sub-activity ID carries the time limit indicator and effectiveness indicator of the activity, which can accurately specify the start and end time of the activity, as well as determine whether the activity is valid, such as whether the activity is in a participatory state and whether the participation conditions are met. In this way, the system can manage and organize activities more efficiently and provide users with a more personalized and accurate activity participation experience.

[0052] Here is an example:

[0053] 1. The activity pool is the core area for storing various activity information. The activity information has the following key aspects:

[0054] Activity types: including but not limited to promotional activities (such as limited-time discounts, discounts for purchases above a certain amount, buy one get one free, etc.), points activities (such as earning points for consumption, redeeming points for goods or services, etc.), lucky draw activities, etc. Different activity types target different user needs and business goals.

[0055] Activity audience: The activity target group is determined by segmenting based on user attributes, behaviors, and other factors. For example, exclusive activities for new users are for users who register for the first time; activities for old users are for users who have a certain consumption history on the platform; and exclusive activities for senior members are for users who have reached a certain membership level.

[0056] Activity rules: clarify the specific conditions for participation, process, and rewards of the activity. Participation conditions may include reaching a certain amount of consumption, participating within a specific time period, and meeting specific user identity requirements. In terms of the process, it may involve user operation steps, such as clicking a specific button, completing a shopping task, etc. Rewards can be coupons, points, physical prizes, etc.

[0057] Activity time and space dimension restriction information: In the time dimension, the start and end time of the activity are specified to ensure that users participate in the activity within the specified time period. In the space dimension, the applicable area of ​​the activity may be restricted, such as only being open to users in a specific city or country; or for specific sales channels, such as only being valid on online platforms or specific offline stores.

[0058] 2. Current active view

[0059] The current activity view is a personalized activity display interface presented to users after matching their personal information with the activity information in the activity pool. It has the following features:

[0060] Personalized customization: Based on the user's physiological information (such as age, gender, etc.), historical transaction information (including consumption amount, purchase frequency, purchase category, etc.) and historical activity operation information (such as the type of activities participated in, completion status, etc.), filter out activities that meet the user's conditions and provide the user with an exclusive activity view.

[0061] Real-time updates: As the activity information in the activity pool changes and the user's personal situation changes, the current activity view will be updated in a timely manner. For example, when a new activity is launched in the activity pool, the activity rules are adjusted, or the user completes certain activities that change their qualifications, the system will re-match and update the current activity view.

[0062] Sub-activity identifier: Each activity in the current activity view is assigned a unique sub-activity identifier. The sub-activity identifier carries the activity's time limit indicator (clarifies the start and end time of the activity) and validity indicator (used to determine whether the activity is valid, such as whether it is in a state where participation is possible, whether participation conditions are met, etc.), so as to better manage and distinguish different activities.

[0063] In specific implementation, step 101 is performed: based on the user's personal information, the user's current activity view is queried; after matching the current activity view with the activity information in the activity pool, step 102 is performed: after matching, the updated activities and the activities for which the user is no longer qualified are identified, and the user's current activity view is updated to obtain an updated view.

[0064] In the embodiment, through the matching process, the system can accurately identify updated activities and activities for which the user is no longer eligible. After identifying these activities, the system will comprehensively update the user's current activity view. Specifically, the system will add, delete, or modify the activity information in the current activity view based on the matching results to ensure the accuracy and timeliness of the activity view. Through such an update process, an updated view is finally obtained, which can accurately reflect the activities that the user is currently eligible to participate in, and provide users with a more accurate and effective display of activity information.

[0065] In one embodiment, it further includes:

[0066] A unique sub-activity identifier is assigned to each activity in the current activity view; the sub-activity identifier carries a time limit indicator and a validity indicator of the activity.

[0067] In an embodiment, a unique sub-activity identifier is assigned to each activity in the current activity view. The sub-activity identifier plays an important role, as it carries the time limit indicator and validity indicator of the activity. Specifically, the time limit indicator clearly specifies the start time and end time of the activity, ensuring that users participate in the activity within the specified time period. The validity indicator is used to determine whether the activity is valid, such as whether the activity is in a state where participation is possible, whether the participation conditions are met, etc. By assigning such a sub-activity identifier to each activity, the progress of the activity can be managed and controlled more accurately, thereby improving the efficiency of the organization and execution of the activity.

[0068] In one embodiment, the user's personal information includes the user's physiological information, historical transaction information, and historical activity operation information;

[0069] Match the current activity view with the activity information in the activity pool, including:

[0070] For each activity corresponding to a sub-activity identifier in the current activity view, personal information of a user corresponding to the activity corresponding to the sub-activity identifier is matched with information of the activity in the activity pool to determine updated activities in the activity pool and activities for which the user is no longer eligible.

[0071] In the above embodiment, the user's personal information includes the user's physiological information, historical transaction information and historical activity operation information. Among them, the physiological information covers the user's basic physical characteristics, health status and other related information; the historical transaction information records the user's past transaction behavior, consumption records, etc.; the historical activity operation information includes the user's specific operation records when participating in activities in the past, the completion status of the activities, etc.

[0072] Match the current activity view with the activity information in the activity pool, specifically including: for each activity corresponding to the sub-activity identifier in the current activity view, match the user's personal information corresponding to the activity corresponding to the sub-activity identifier with the information of the activity in the activity pool. During the matching process, the system will comprehensively consider the user's physiological information, historical transaction information, and historical activity operation information, and compare and analyze the relevant requirements and restrictions of the activities in the activity pool, so as to accurately determine the updated activities in the activity pool and the activities for which the user is no longer eligible. Through such precise matching, it can ensure that the activity view seen by the user is consistent with his or her real-time personal situation and activity requirements, and improve the accuracy and effectiveness of activity participation.

[0073] Here is an example:

[0074] 1. Determine the update activities

[0075] Dynamic changes of the activity pool:

[0076] The activity information in the activity pool is constantly changing. New activities may be added to the activity pool, such as the platform launching a new product activity with a limited time sale, special discount activities for specific festivals, etc. These new activities are part of the update activities.

[0077] Adjustments to the rules of existing activities will also result in updated activities. For example, the amount of discount for a certain discount activity has been increased, or the applicable product range of the activity has been expanded.

[0078] 2. Comparison with the currently active view

[0079] When the system compares the current activity view with the activity pool, it will identify newly added activities in the activity pool. These newly added activities are matched with the user's personal information. If they meet the user's conditions, they will be determined as updated activities and updated to the user's current activity view.

[0080] For ongoing activities, if there are changes in the activity pool, such as extension of activity time, reward upgrade, etc., they will also be considered updated activities. The system will adjust the user's current activity view accordingly based on these changes.

[0081] 3. Identify activities for which the user is no longer eligible

[0082] The user's physiological information, historical transaction information, and historical activity operation information may change over time. For example, as the user ages, he or she may no longer be eligible for certain activities for a specific age group; changes in the user's consumption behavior, such as a decrease in the amount of consumption, may make him or her no longer meet the requirements of certain activities with high consumption thresholds.

[0083] After a user participates in certain specific activities, it may affect his / her eligibility for other activities. For example, after a user receives a reward from a new user exclusive activity, he / she is no longer a new user and thus loses the eligibility to participate in other new user activities.

[0084] 4. Changes to activity rules

[0085] Adjustments to activity rules in an activity pool may result in users no longer being eligible for certain activities. For example, if a certain activity raises the membership level requirements for participation, users who were originally eligible may no longer be eligible for the activity because their membership level does not meet the new requirements.

[0086] The applicable conditions of the activity have changed, such as the applicable area of ​​the activity has been adjusted. If the user's area is no longer within the applicable scope, the user is no longer eligible for the activity.

[0087] By continuously monitoring the activity pool and comparing it with user personal information, the system can accurately determine updated activities in the activity pool and activities for which the user is no longer eligible, thereby providing users with a timely and accurate view of activities and ensuring that users can participate in activities that meet their qualifications.

[0088] In specific implementation, step 102 is performed: after matching and identifying the update activities and the activities for which the user is no longer qualified, the current activity view of the user is updated, and after the updated view is obtained, step 103 is performed: in response to the user's operation of performing the target activity under the updated view, an activity completion status listener on the server side is triggered through the microservice architecture; the activity completion status listener is used to use event stream processing technology to update the activity status of the target activity in the updated view.

[0089] In the embodiment, in response to the user's operation of performing the target activity in the update view, the system efficiently triggers the activity completion status listener on the server through the microservice architecture. The microservice architecture is highly flexible and scalable, and can ensure timely response to the user's operation request and accurately pass relevant information to the activity completion status listener.

[0090] The activity completion status listener is used to use event stream processing technology to update the activity status of the target activity in the update view in real time. Event stream processing technology can quickly process a large amount of event data, timely capture various events occurring in the target activity, and accurately update the activity status according to preset rules and logic. In this way, it is possible to ensure that the activity status is updated in a timely and accurate manner, providing a smooth experience for users, and also providing accurate activity status information for subsequent processing of the system.

[0091] In one embodiment, in response to the user performing an operation of a target activity in the update view, triggering an activity completion status listener on the server through the microservice architecture includes:

[0092] When it is detected that the user selects to perform a target activity in the update view, the user's operation behavior of performing the target activity is captured through the update view;

[0093] Send the operation behavior to the activity completion status listener on the server.

[0094] In the embodiment, in response to the user's operation of performing the target activity in the update view, the activity completion status listener of the server is triggered through the microservice architecture, which specifically includes the following steps: when the system detects that the user selects to perform the target activity in the update view, the user's operation behavior of performing the target activity is accurately captured through the function of the update view. The capture process can accurately record the user's operation details, including the time, method, related parameters and other information of the operation.

[0095] Then, the operation behavior is sent to the activity completion status listener of the server in an efficient and accurate manner. During the sending process, the integrity and timeliness of the information are ensured so that the activity completion status listener can receive the relevant information in time and perform subsequent processing and judgment.

[0096] In one embodiment, Figure 4 In the specific example diagram of a method for processing activity data in a member system activity in an embodiment of the present invention, the activity completion status listener is specifically used for:

[0097] Step 401: calling the user identity authentication service component of the server to verify the user's identity information;

[0098] Step 402: calling the activity permission check service component to verify whether the user meets the conditions for participating in the target activity;

[0099] Step 403: If the above verifications are all passed, monitor the operation events of the user in the target activity; the operation events include the start and end operation times of the activity, the activity operation phase and the operation behavior;

[0100] Step 404: Use event stream processing technology to perform real-time analysis and processing on operation events; for each event, determine the change in the target activity state caused by the event according to preset rules and algorithms; if the event stream of the continuously received operation events changes the target activity state to a completed state, update the activity state of the target activity in the update view.

[0101] In the above embodiment, the activity completion status listener is specifically used for:

[0102] First, the user identity verification service component on the server side is called to strictly verify the user's identity information. This verification process ensures the authenticity and legitimacy of the user's identity by comparing it with the stored user identity data. Next, the activity permission check service component is called to fully verify whether the user meets the conditions for participating in the target activity. This verification covers multiple aspects, including but not limited to the user's membership level, historical activity participation, specific qualification requirements, etc.

[0103] If all the above verifications are passed, the user's operation events in the target activity will be monitored. The operation events include the start and end operation time of the activity, which accurately records the time points of the start and end of the activity; the activity operation stage, which divides the activity process into different stages to better track and analyze the user's operation progress; and the operation behavior, which records the specific behavior actions of the user in the activity in detail.

[0104] Then, the operation events are analyzed and processed in real time using event stream processing technology. During the analysis and processing, for each event, the change in the target activity state caused by the event is accurately determined based on the preset rules and algorithms. These rules and algorithms are optimized to comprehensively consider various factors, such as the type of event, the impact of the user's operation behavior on the activity process, etc. If the event stream of the continuously received operation events changes the target activity state to the completed state, the activity state of the target activity in the update view is immediately updated. Ensure that the activity state is updated in a timely and accurate manner so that users and the system can keep up to date with the latest status of the activity.

[0105] For example, the activity completion status listener on the server is a key component in the entire system for real-time monitoring and management of the completion status of user activities. Its main function is to continuously track the user's operation behavior during the user's participation in the activity, accurately determine whether the activity is completed, and trigger the corresponding subsequent processing flow based on the completion status of the activity.

[0106] 1. User identity authentication and permission check

[0107] When the user performs the target activity in the update view, the activity completion status listener first calls the user identity authentication service component on the server to strictly verify the user's identity information. By comparing it with the stored user identity data, the authenticity and legitimacy of the user's identity are ensured.

[0108] Next, the activity permission check service component is called to fully verify whether the user meets the conditions for participating in the target activity. The verification covers multiple aspects, including the user's membership level, historical activity participation, specific qualification requirements, etc. Only when the user's identity authentication and permission check are passed will the user's actions in the target activity be monitored.

[0109] 2. Operation event monitoring and analysis

[0110] Once the verification is passed, the activity completion status listener starts to listen to the user's operation events in the target activity. Operation events include the start and end operation time of the activity, which accurately records the time points when the activity starts and ends; the activity operation stage, which divides the activity process into different stages to better track and analyze the user's operation progress; and the operation behavior, which records the user's specific behavior actions in the activity in detail.

[0111] Use event stream processing technology to analyze and process operation events in real time. For each event, according to the preset rules and algorithms, accurately determine the change of the event to the target activity state. These rules and algorithms are carefully designed and optimized to comprehensively consider various factors, such as the type of event and the impact of the user's operation behavior on the activity process.

[0112] 3. Activity status update

[0113] If the event stream of the continuously received operation events changes the target activity state to the completed state, the activity completion state listener will update the activity state of the target activity in the update view. Ensure that the activity state is updated in a timely and accurate manner so that users and the system can keep up to date with the latest status of the activity.

[0114] In specific implementation, after performing step 103: in response to the user's operation of performing the target activity under the update view, triggering the activity completion status listener on the server side through the microservice architecture, perform step 104: using the big data analysis engine, determine whether the activity status of the user performing the target activity is a completed status; if it is a completed status, initiate a request to the activity rights management system on the server side through an asynchronous message queue; the activity rights management system is used to determine whether to issue the rights corresponding to the target activity to the user based on the activity operation information carried in the request.

[0115] In the embodiment, a big data analysis engine is used to determine whether the activity status of the user performing the target activity is completed. The big data analysis engine first collects various types of data related to the target activity, including detailed operation records of the user in the activity, progress data of the activity, log information generated by the system, etc. By using advanced data processing algorithms and models, these data are deeply analyzed and mined. The analysis process comprehensively considers multiple factors, such as whether the user has completed all tasks specified in the activity, whether the specific conditions of the activity are met, etc. After rigorous analysis and judgment, it is accurately determined whether the activity status of the user performing the target activity is completed.

[0116] If it is in the completed state, the system initiates a request to the activity rights management system of the server through the asynchronous message queue. As an efficient data transmission mechanism, the asynchronous message queue can ensure the fast and stable transmission of the request. The request carries detailed activity operation information, which accurately records the user's specific operation steps, results, and related timestamps in the target activity. After receiving the request, the activity rights management system conducts a comprehensive analysis and evaluation based on the activity operation information carried in the request. The evaluation process comprehensively considers factors such as the activity rule setting and the user's historical rights collection to determine whether to issue the rights corresponding to the target activity to the user. In this way, the issuance of rights is ensured to be accurate and reasonable, and user satisfaction and participation are improved.

[0117] In one embodiment, a big data analysis engine is used to determine whether the activity status of the user performing the target activity is completed, such as Figure 5 The specific example diagram of a method for processing activity data in a member system activity in an embodiment of the present invention shown includes:

[0118] Step 501: Receive a data stream from an activity completion status listener using a big data analysis engine;

[0119] Step 502: Determine whether the activity status of the user performing the target activity is a completed status based on real-time processing of the data stream.

[0120] In the embodiment, a big data analysis engine is used to determine whether the activity status of the user performing the target activity is a completed status, specifically as follows: a data stream from an activity completion status listener is received using the big data analysis engine. The big data analysis engine has a powerful data receiving and processing capability, and can accurately and efficiently receive the data stream transmitted by the activity completion status listener. The data stream contains rich information related to the user performing the target activity, such as the user's operation details in the activity, the real-time progress of the activity, etc.

[0121] Next, based on the real-time processing of the data stream, determine whether the activity status of the user performing the target activity is completed. The big data analysis engine uses data processing algorithms and models to perform real-time analysis on the received data stream. During the analysis process, multiple key factors are considered comprehensively, including but not limited to whether the user has completed all the task steps specified in the activity and whether the various conditions of the activity are met. Through in-depth analysis and accurate judgment of the data stream, it is finally determined whether the activity status of the user performing the target activity is completed, providing accurate decision-making basis for subsequent processes.

[0122] In one embodiment, initiating a request to the activity equity management system of the server through an asynchronous message queue includes:

[0123] When the target activity state of the user is determined to be a completed state, a request corresponding to the target activity is generated; and the request is sent to a designated asynchronous message queue;

[0124] The activity rights management system on the server side is specifically used to: monitor the asynchronous message queue based on a pre-written consumer program; and determine, through the consumer program, whether to issue the rights corresponding to the target activity to the user according to the activity operation information carried in the request.

[0125] In the above embodiment, a request is initiated to the activity rights management system of the server through an asynchronous message queue, as follows: When the user's target activity status is determined to be completed, the system automatically generates a request corresponding to the target activity. The request contains detailed activity-related information, such as the user's specific operation record in the target activity, the timestamp of the activity completion, etc. After the request is generated, the request is sent to the specified asynchronous message queue. As an efficient data transmission mechanism, the asynchronous message queue can ensure the fast and stable transmission of requests, and avoid affecting the overall performance of the system due to data transmission delays or blockages.

[0126] The activity rights management system on the server side is specifically used to: monitor the asynchronous message queue based on a pre-written consumer program. The consumer program runs continuously and is always ready to receive request messages from the asynchronous message queue. When a request enters the asynchronous message queue, the consumer program can respond quickly and extract the information in the request. Through the consumer program, a comprehensive analysis and evaluation is performed based on the activity operation information carried by the request. During the evaluation process, multiple factors such as the activity rule settings and the user's historical rights collection are comprehensively considered to determine whether to issue the rights corresponding to the target activity to the user. This method ensures the accuracy and rationality of rights management and improves the stability and reliability of the system.

[0127] In the above embodiment, in the reward distribution stage after the activity is completed, the system adopts advanced technical means to ensure efficient and stable distribution of rights. Specifically, RabbitMQ is used to asynchronously request the backend system to distribute rights. RabbitMQ, as a powerful message queue tool, can play an important role in high concurrency situations.

[0128] When users complete an activity and need to issue rewards, the system sends the rights issuance request to the RabbitMQ queue. RabbitMQ can efficiently store and distribute these requests, avoiding the problem of excessive server processing pressure caused by direct synchronous requests to the back-end system. The back-end system can asynchronously obtain the rights issuance request from the RabbitMQ queue and process it according to its own processing capabilities.

[0129] This approach greatly reduces the processing pressure on the server under high concurrency conditions. Since the requests are processed asynchronously, the server will not be overloaded due to a large number of instantaneous equity issuance requests, thereby improving the stability of the system. At the same time, by making rational use of RabbitMQ's distributed characteristics and efficient message processing capabilities, the system's processing capacity has also been significantly improved. It can quickly respond to the equity issuance needs of a large number of users, ensure that users can obtain the rewards they deserve in a timely manner, and improve user experience.

[0130] During specific implementation, step 104 is performed: using the big data analysis engine, it is determined whether the activity status of the user performing the target activity is completed; if it is completed, a request is initiated to the activity rights management system of the server through the asynchronous message queue, and then step 105 is performed: if the activity rights management system determines to issue the rights corresponding to the target activity to the user, the issuance information of the rights is recorded in the update view, and the activity status of the target activity is updated again.

[0131] In the embodiment, if the activity rights management system determines to issue the rights corresponding to the target activity to the user, a detailed recording operation will be performed in the update view and the activity status of the target activity will be updated again.

[0132] Specifically, in the update view, the system will accurately record the issuance information of benefits. This issuance information includes the specific type of benefits, such as coupons, points, specific membership privileges, etc.; the issuance time of benefits is recorded, accurate to the specific moment, so as to facilitate subsequent query and statistical analysis; and the number of benefits is also recorded to ensure that users can clearly understand the scale of benefits obtained.

[0133] After recording the information on the issuance of benefits, the system will update the activity status of the target activity again. The updated activity status will reflect the status of the benefits that have been issued, so that users and the system can accurately grasp the latest progress of the activity. This update operation ensures the accuracy and timeliness of the activity data, provides users with a clearer display of activity participation, and also provides a reliable basis for the subsequent management and analysis of the system.

[0134] Here is an example:

[0135] 1. Rights issuance information record

[0136] 1. Equity type record

[0137] When the activity rights management system determines to issue the rights corresponding to the target activity to the user, it will first record the specific type of the rights in the update view. The rights type can include coupons, points, specific member privileges, etc. For example, if a coupon is issued, the denomination, scope of application, validity period and other information of the coupon will be recorded; if it is points, the number of points and the rules for using the points will be recorded.

[0138] 2. Issue time record

[0139] Accurately record the time of the issuance of rights and interests, accurate to the specific moment. This is very important for subsequent queries and statistical analysis. By recording the issuance time, you can understand the timeliness of the issuance of rights and interests, as well as the frequency and trend of the issuance of rights and interests in a specific time period. At the same time, users can also check the issuance time to understand when they have obtained specific rights and interests.

[0140] 3. Quantity Record

[0141] If the benefit is quantifiable, such as the number of points, coupons, etc., the amount of the benefit will be recorded in the update view. This allows users to clearly understand the scale of the benefits obtained, and also facilitates the system to manage and count the benefits.

[0142] 2. Update the target activity status again

[0143] 1. Reflect the distribution of rights and interests

[0144] After recording the benefit issuance information, the system will update the activity status of the target activity again. The updated activity status will reflect that the benefits have been issued. For example, if the target activity is to complete a specific task to obtain points, when the user completes the task and the benefit management system issues points, the status of the target activity will be updated from "Unfinished (Benefits to be issued)" to "Completed (Benefits have been issued)".

[0145] 2. Provide accurate information for users and systems

[0146] Updating the activity status again can ensure that users and the system can accurately grasp the latest progress of the activity. For users, they can use the updated activity status to understand that they have obtained the corresponding benefits, and can judge whether there are other unfinished activities or opportunities to continue to participate based on the activity status. For the system, the updated activity status can be used as a basis for subsequent activity management and decision-making, such as whether to launch new activities, adjust activity rules, etc.

[0147] In short, this process ensures the accuracy and timeliness of activity data, provides users with a clearer display of activity participation, and also provides a reliable basis for subsequent management and analysis of the system.

[0148] Several specific embodiments are given below to illustrate the specific application of the method of the present invention.

[0149] In a first specific embodiment, the following steps may be included:

[0150] 1. Use a distributed computing framework (such as Apache Flink) to dynamically query the user's current activity view based on the user's personal information and combined with a machine learning algorithm:

[0151] (1) After the user logs in to the system, the system collects the user's personal information (such as age, gender, consumption habits, etc.) and sends this information to the Apache Flink cluster.

[0152] (2) Apache Flink uses pre-trained machine learning models (such as decision trees, random forests, or other suitable models) to dynamically calculate the current activity view based on the user's personal information. This may involve matching user features with activity features, and using machine learning models to evaluate the user's interest in a specific activity.

[0153] (3) Once the current active view is calculated, Flink sends it back to the frontend to display to the user.

[0154] 2. Efficiently match the current activity view with the activity information in the activity pool:

[0155] (1) The current activity view is sent to the activity matching module, which reads the activity information (activity type, activity customer group, activity rules, etc.) in the activity pool.

[0156] (2) The activity matching module uses efficient indexing mechanisms (such as B-trees, hash tables, etc.) to quickly search for activity information in the activity pool and compare this information with the current activity view.

[0157] 3. After matching, the behavior prediction model of deep learning is used to identify the updated activities and the activities for which the user is no longer eligible, and the current activity view of the user is updated to obtain an updated view:

[0158] (1) Deep learning behavior prediction models (such as convolutional neural networks (CNN) and recurrent neural networks (RNN)) are trained based on users’ historical behavior data to predict users’ interest in new activities.

[0159] (2) The model outputs the user’s interest score for each activity and decides which activities should be updated to the user’s current activity view based on the score threshold.

[0160] (3) The updated activity view is saved in the user activity view database.

[0161] 4. Allocate a unique sub-activity identifier to each activity in the update view, and ensure the uniqueness and immutability of each sub-activity identifier through blockchain technology:

[0162] (1) Each activity is assigned a sub-activity ID as a unique identifier, which is generated and recorded on the blockchain.

[0163] (2) Blockchain technology is used to ensure the uniqueness and tamper-proofness of each identifier. Whenever the activity status changes, a new block is created and linked to the previous block.

[0164] 5. In response to the user performing an operation on the target activity in the update view, the activity completion status listener on the server is triggered through the microservice architecture:

[0165] (1) When a user clicks an activity icon or performs a related operation, the front end sends an HTTP request to the back end, triggering the activity completion status listener.

[0166] (2) The listener runs in a separate microservice and subscribes to the topic of user activity events.

[0167] 7. Use a big data analysis engine (such as Apache Spark) combined with real-time data analysis technology to determine whether the activity status of the user performing the target activity is completed:

[0168] (1) The big data analysis engine Apache Spark receives the data stream from the activity completion status listener, processes the data in real time, and checks the user's activity status.

[0169] (2) If it is detected that the user's activity status has reached the completion criteria, it is marked as completed.

[0170] 8. If the activity status is completed, a request is initiated to the activity rights management system of the server through an asynchronous message queue (such as RabbitMQ) combined with a container orchestration tool (such as Kubernetes):

[0171] (1) Use RabbitMQ to publish a message to the activity completion queue. This message contains the user ID, activity ID, and completion status.

[0172] (2) Kubernetes schedules the activity rights management service container to process messages in the queue and decide whether to issue rights.

[0173] 9. If the activity rights management system determines to issue the rights corresponding to the target activity to the user, the rights issuance information is recorded in the update view, and a customized reward collection notification is generated through natural language processing technology (NLP), and the activity status of the target activity is updated again:

[0174] (1) After the activity rights management system confirms the issuance, it updates the rights status in the user activity view database.

[0175] (2) NLP technology is used to generate personalized reward notification messages, which are sent to users via email or SMS.

[0176] (3) Update the user’s activity status and record the receipt of benefits.

[0177] In the second specific embodiment, the following steps may be included:

[0178] 1. Basic transaction process of member activity system:

[0179] The user opens the member activity center, completes the login, and queries the user's original activity view based on the basic customer information obtained. The original activity view is compared with the activity pool, and after comparison, a user's actual effective activity view is obtained and returned to the front end. The user selects an activity from the activity list and clicks to complete it. After completion, it jumps back to the user activity interface. At this time, the client actively triggers the server's transaction to monitor the activity completion status and notifies the server to update the user's activity completion status. After the user receives the request notification to update the user's activity status, the user status information is updated in a timely manner to determine whether the user has reached the reward for completing the activity, and the rights and interests system interface is called in an asynchronous manner to issue user rights and interests, and record the user's reward collection status.

[0180] Specifically, after the user opens the member activity center, he logs in. The system uses specific query algorithms and mechanisms to accurately query the user's original activity view based on the user's detailed personal information, including the user's physiological information, historical transaction information, and historical activity operation information. The original activity view is then fully compared with the activity pool.

[0181] As a core component for storing a variety of activity information, the activity pool stores information on activity types, activity audiences, activity rules, activity time and space dimension restrictions, etc. Through a precise matching process, the system can accurately identify updated activities and activities for which users are no longer eligible, and update the user's current activity view to obtain a user's actual effective activity view, which is then returned to the front end.

[0182] The user selects an activity from the activity list and clicks to complete it. After the user completes the activity, the page jumps back to the user activity interface. At this point, the client efficiently triggers the activity completion status listener on the server through the microservice architecture. Specifically, when it is detected that the user selects to perform the target activity in the update view, the user's operation behavior of performing the target activity is captured through the update view, and the operation behavior is sent to the activity completion status listener on the server.

[0183] The activity completion status listener first calls the user authentication service component on the server side to strictly verify the user's identity information. Then, it calls the activity permission check service component to fully verify whether the user meets the conditions for participating in the target activity. If all the above verifications are passed, the user's operation events in the target activity are monitored, including the start and end operation times of the activity, the activity operation phase, and the operation behavior. Using event stream processing technology, the operation events are analyzed and processed in real time.

[0184] For each event, the change of the target activity state by the event is determined according to the preset rules and algorithms. If the event stream of the continuously received operation events changes the target activity state to the completed state, the activity state of the target activity in the update view is updated.

[0185] After receiving the request notification to update the user activity status, the user updates the user status information in time. The big data analysis engine is used to determine whether the activity status of the user performing the target activity is completed. The big data analysis engine first collects various types of data related to the target activity, and conducts in-depth analysis and mining of these data by using advanced data processing algorithms and models.

[0186] If it is determined to be completed, the system initiates a request to the activity rights management system on the server through an asynchronous message queue. Specifically, when the user's target activity status is determined to be completed, a request corresponding to the target activity is generated and sent to the specified asynchronous message queue.

[0187] The activity rights management system on the server monitors the asynchronous message queue based on a pre-written consumer program. Through the consumer program, it determines whether to issue the rights corresponding to the target activity to the user according to the activity operation information carried in the request. If the activity rights management system determines to issue the rights corresponding to the target activity to the user, the issuance information of the rights is recorded in the update view, including the specific type, issuance time, quantity, etc. of the rights, and the activity status of the target activity is updated again. The interface of the rights system is called asynchronously to issue user rights and interests, and the user's reward collection is accurately recorded.

[0188] For an example, see Figure 2 The specific example diagram of a method for processing activity data in a member system activity in an embodiment of the present invention shown in FIG. 1 specifically includes the following:

[0189] 1. Log in to the member center and query member activities based on the customer's basic information: The user opens the member activity center, completes the login, and queries the user's original activity view based on the obtained customer basic information. The original activity view is compared with the activity pool, and after comparison, a user's actual effective activity view is obtained and returned to the front end.

[0190] 2. Participate in activities. After the activity task is completed, the callback interface is used to notify the member activity system: the user selects an activity from the activity list and clicks to complete it. After completion, the system jumps back to the user activity interface. At this time, the client actively triggers the server's transaction to monitor the activity completion status and notifies the server to update the user's activity completion status.

[0191] 3. The activity task system records the completion status of activity tasks and calls the rights and interests system interface to issue rewards: After the user receives the request notification to update the user's activity status, the user status information is updated in a timely manner to determine whether the user has reached the reward for completing the activity, and the rights and interests system interface is called in an asynchronous manner to issue user rights and interests and record the user's reward collection status.

[0192] 2. User activity collection process:

[0193] When a user enters the member activity center, the process of claiming an activity will be triggered. The server first obtains the user's currently claimed activity view information from the database according to the user's basic information, compares it with the activity pool data in the cache, updates the newly added or modified activity information in the activity pool to the user's user activity view table, and filters out expired / delisted and other invalid activity data in the user view information, and obtains a final valid user activity view list and returns it to the front end. Every time there is a data change in the activity pool, it will be synchronously updated to the cache to ensure the consistency of the cache and database data.

[0194] Specifically, when a user enters the member activity center, the process of claiming an activity is triggered. The server first obtains the user's currently claimed activity view information from the database based on the user's detailed basic information. Then, this information is comprehensively compared with the activity pool data in the cache.

[0195] The activity pool is a key component for storing a variety of activity information, including activity types, activity audiences, activity rules, activity time and space dimension restriction information, etc. During the comparison process, the newly added or modified activity information in the activity pool is updated to the user's user activity view table in a timely manner to ensure the accuracy and timeliness of the user activity view.

[0196] At the same time, the expired, delisted and other invalid activity data in the user view information are strictly filtered. After these operations, a final valid user activity view list is finally obtained and returned to the front end.

[0197] Every time there is a data change in the activity pool, the system will immediately start the synchronization update mechanism to synchronize the changed data to the cache. In this way, the consistency of cache and database data is guaranteed, ensuring that users can obtain accurate and effective activity information at any time. Such a process design can improve the response speed and stability of the system and provide users with a smoother activity collection experience.

[0198] For an example, see Figure 3 The specific example diagram of a method for processing activity data in a member system activity in an embodiment of the present invention shown in the figure specifically includes:

[0199] Compare the user activity view and activity pool data, update and return the user view information:

[0200] When a user enters the member activity center, the process of claiming an activity will be triggered. The server first obtains the user's currently claimed activity view information from the database according to the user's basic information, compares it with the activity pool data in the cache, updates the newly added or modified activity information in the activity pool to the user's user activity view table, and filters out expired / delisted and other invalid activity data in the user view information, and obtains a final valid user activity view list and returns it to the front end. Every time there is a data change in the activity pool, it will be synchronously updated to the cache to ensure the consistency of the cache and database data.

[0201] When a user enters the member activity center, the process of claiming an activity is triggered. The server first obtains the user's currently claimed activity view information from the database based on the user's basic information. Then, this information is compared with the activity pool data in the cache.

[0202] The activity pool is a key area for storing a variety of activity information, including activity types (such as promotional activities, points activities, lucky draw activities, etc.), activity customer groups (for different user segments, such as new user exclusive, old user feedback, senior member exclusive, etc.), activity rules (clear participation conditions, processes and rewards, such as consumption amount requirements, participation in a specific time period, reward form, etc.), and activity time and space dimension restriction information (activity start and end time, applicable areas, sales channel restrictions, etc.). For example, the user activity view, activity pool, and activity view seen by the user can all include activity types such as basic activities, exclusive activities, local activities, limited-time activities, and combination activities.

[0203] In the third specific embodiment, the following steps are given in combination with a specific application scenario:

[0204] 1. Scene Setting

[0205] Suppose there is a membership activity system of an e-commerce platform. The platform has many different types of activities, including limited-time discounts, discounts for purchases over a certain amount, points redemption, and other types of activities. Specific activity rules are set for different user groups, such as new users, old users, and premium members. There are also certain restrictions on the time and space dimensions of the activities. For example, some activities are only open to users in a specific area during a specific time period.

[0206] 2. Implementation steps

[0207] (1) User login and activity query

[0208] The user opens the member activity center of the e-commerce platform and logs in. The system queries the user's original activity view based on the user's personal information, including his age, gender and other physiological information, previous shopping transaction records and operation history of participating in activities.

[0209] The original activity view is compared with the activity pool. The activity pool stores various activity information, such as the ongoing "Limited-time discount for new users" activity for newly registered users. The activity rules are that the first purchase can enjoy a 20% discount, and the activity time is valid for one month; the "Old user discount" activity is for old users who have spent a certain amount of money on the platform. 50 yuan discount for purchases over 200 yuan, the activity time is two weeks, and there is no restriction on the applicable area. After comparison, it is determined that the user meets the conditions of the "Old user discount" activity, and this activity is updated to the user's user activity view table, and returned to the front end to display to the user.

[0210] (2) Activity participation and status monitoring

[0211] The user selects the "Old User Full Discount" activity from the activity list and clicks to complete, and then makes purchases to meet the full discount conditions. After completing the shopping, the page jumps back to the user activity interface. At this point, the client triggers the activity completion status listener on the server.

[0212] The listener first calls the user authentication service component on the server to confirm that the user's identity information is correct. Then, the activity permission check service component is called to verify that the user does meet the conditions for participating in the "Old User Discount" activity. Then, the user's operation events in the activity are monitored, such as shopping time, payment stage, and specific purchase behavior. These operation events are analyzed and processed in real time using event stream processing technology, and the changes in the target activity status caused by the event are determined based on preset rules and algorithms. If the user successfully meets the discount conditions and completes the shopping, the activity status will change to the completed state, and the activity status of the activity in the update view will be updated.

[0213] (3) Determination of activity status and distribution of benefits

[0214] After receiving the request notification to update the activity status, the user updates the user status information. The big data analysis engine is used to determine whether the status of the "Old User Discount" activity in which the user participated is completed. The big data analysis engine collects the user's relevant data in the activity, such as shopping time, amount, payment method, etc., and determines that the activity has been completed through analysis and mining.

[0215] The system initiates a request to the activity rights management system on the server through an asynchronous message queue. When the user's activity status is determined to be completed, a corresponding request is generated and sent to the specified asynchronous message queue. The activity rights management system monitors the asynchronous message queue based on a pre-written consumer program, and determines the rights corresponding to the "Old User Full Discount Discount" activity to be issued to the user based on the activity operation information carried in the request, such as issuing coupons or increasing points. At the same time, the issuance information of the rights is recorded in the update view, and the activity status of the activity is updated again. The interface of the rights system is called asynchronously to issue user rights and accurately record the user's reward collection.

[0216] 3. Effect summary

[0217] Through this specific implementation, the member activity system of the e-commerce platform achieves more efficient and accurate activity management and rights distribution. Users can actively receive activities that meet their own conditions, and the system batch updates the user activity record table, reducing the number of database operations, optimizing code logic, reducing code complexity, improving system stability and processing capabilities, and providing users with a better member activity experience.

[0218] Of course, it is understandable that the above detailed process may have other variations, and the relevant variations should all fall within the protection scope of the present invention.

[0219] In an embodiment of the present invention, the current activity view of the user is queried according to the user's personal information; the current activity view is matched with the activity information in the activity pool; the activity pool is used to store a variety of activity information; the activity information includes activity type, activity audience, activity rules and activity time and space dimension restriction information; after matching, the updated activities and activities for which the user is no longer qualified are identified, and the current activity view of the user is updated to obtain an updated view; in response to the user's operation of performing a target activity under the updated view, the activity completion status listener of the server is triggered through the microservice architecture; the activity completion status listener is used to use event stream processing technology to update the activity status of the target activity in the updated view; using the big data analysis engine, it is determined whether the activity status of the user performing the target activity is a completed state; if it is a completed state, a request is initiated to the activity rights management system of the server through an asynchronous message queue; the activity rights management system is used to determine whether to issue the rights corresponding to the target activity to the user according to the activity operation information carried in the request; if the activity rights management system determines to issue the rights corresponding to the target activity to the user, the issuance information of the rights is recorded in the updated view. , and update the activity status of the target activity again, thereby matching the current activity view with the activity information in the activity pool, the activity pool stores a variety of activity information, reduces the dependence on the activity information table, avoids frequent joint table queries, and thus reduces the impact on database performance; uses a big data analysis engine to determine the activity status, and initiates a request to the activity rights management system through an asynchronous message queue, which reduces the pressure of real-time synchronization requests on the database, greatly reduces the processing pressure of the server under high concurrency conditions, and improves the stability and processing capacity of the system; identifies the update activities and the activities for which the user is no longer eligible through matching, updates the current activity view, obtains the update view, realizes the separation of activity information and user activity view, and reduces the degree of coupling at the code level; in response to user operations, triggers the activity completion status listener through the microservice architecture, and uses event stream processing technology to update the activity status, making the update of the activity status more flexible and independent; the activity rights management system determines whether to issue rights based on the activity operation information carried in the request, and records the rights issuance information and updates the activity status again in the update view, further clarifies the responsibilities of each module, reduces the complexity of the code, and reduces the cost of maintenance and expansion.

[0220] As mentioned above, the present invention optimizes the logic of activity collection and distribution of the original member activity system solution, and changes it to users actively collecting activities when entering the activity page, synchronizing all eligible activities to the user activity record table, and subsequently only needs to monitor the activity completion status to update the activity status in real time. Users change from passively completing a single activity to updating the activity record table to batch updates, reducing the number of database operations, optimizing the logic of the code, and greatly reducing the complexity of the code.

[0221] Specifically, the present invention comprehensively optimizes the logic of activity collection and distribution of the original member activity system solution. In the new solution, users take the initiative to collect activities when entering the activity page. The system matches the user's personal information, including physiological information, historical transaction information, and historical activity operation information, with the activity information in the activity pool. The activity pool stores a variety of activity information, covering aspects such as activity type, activity audience, activity rules, and activity time and space dimension restriction information. Through precise matching, all activities that meet the user's conditions are determined, and these activities are synchronized to the user activity record table.

[0222] In the subsequent process, the system only needs to monitor the completion of the activity to update the activity status in real time. Compared with the original solution in which users passively update the activity record table after completing a single activity, the new solution implements batch updates. This method significantly reduces the number of database operations and avoids the impact of frequent database queries and updates on database performance.

[0223] At the same time, the optimized code logic is clearer and more reasonable. By clarifying the responsibilities and functions of each module, the complexity of the code is reduced. For example, during the activity matching and updating process, the system can accurately identify the updated activities and the activities for which the user is no longer eligible, and update the user's current activity view to obtain a user's actual effective activity view. In the process of monitoring and processing the activity completion status, the activity completion status listener on the server is triggered through the microservice architecture, and the event stream processing technology and big data analysis engine are used to accurately determine the activity status, and a request is initiated to the activity rights management system through the asynchronous message queue to realize the issuance of rights and the update of activity status records.

[0224] In summary, the present invention greatly reduces the complexity of the code, improves the stability and processing efficiency of the system, and provides users with a smoother and more convenient membership activity experience.

[0225] The embodiment of the present invention also provides a member system activity data processing device, as described in the following embodiment. Since the principle of solving the problem by the device is similar to the member system activity data processing method, the implementation of the device can refer to the implementation of the member system activity data processing method, and the repeated parts will not be repeated.

[0226] The embodiment of the present invention also provides an activity data processing device in a member system activity, which is used to reduce database performance bottlenecks, reduce the code coupling degree of the member activity system, improve the efficiency and stability of activity data processing, and enhance maintainability and scalability. Figure 6 As shown, the device comprises:

[0227] The activity matching module 601 is used to query the user's current activity view according to the user's personal information; match the current activity view with the activity information in the activity pool; the activity pool is used to store a variety of activity information; the activity information includes activity type, activity audience, activity rules and activity time and space dimension restriction information;

[0228] A view update module 602, configured to identify the update activities and the activities for which the user is no longer qualified through matching, and update the current activity view of the user to obtain an updated view;

[0229] A monitoring trigger module 603 is used to trigger an activity completion status listener on the server side through a microservice architecture in response to a user's operation of performing a target activity in the update view; the activity completion status listener is used to update the activity status of the target activity in the update view using event stream processing technology;

[0230] The rights and interests issuing module 604 is used to use the big data analysis engine to determine whether the activity status of the user performing the target activity is completed; if it is completed, a request is initiated to the activity rights and interests management system of the server through an asynchronous message queue; the activity rights and interests management system is used to determine whether to issue the rights and interests corresponding to the target activity to the user according to the activity operation information carried in the request;

[0231] The activity status updating module 605 is used to record the issuance information of the rights in the update view and update the activity status of the target activity again if the activity rights management system determines to issue the rights corresponding to the target activity to the user.

[0232] In one embodiment, if Figure 7 The specific example diagram of a member system activity data processing device in an embodiment of the present invention is shown, and the member system activity data processing device also includes:

[0233] The identifier adding module 701 is used to assign a unique sub-activity identifier to each activity in the current activity view; the sub-activity identifier carries a time limit indicator and a validity indicator of the activity.

[0234] In one embodiment, the user's personal information includes the user's physiological information, historical transaction information, and historical activity operation information;

[0235] Match the current activity view with the activity information in the activity pool, including:

[0236] For each activity corresponding to a sub-activity identifier in the current activity view, personal information of a user corresponding to the activity corresponding to the sub-activity identifier is matched with information of the activity in the activity pool to determine updated activities in the activity pool and activities for which the user is no longer eligible.

[0237] In one embodiment, in response to the user performing an operation of a target activity in the update view, triggering an activity completion status listener on the server through the microservice architecture includes:

[0238] When it is detected that the user selects to perform a target activity in the update view, the user's operation behavior of performing the target activity is captured through the update view;

[0239] Send the operation behavior to the activity completion status listener on the server.

[0240] In one embodiment, the activity completion status listener is specifically used to:

[0241] Call the user authentication service component on the server to verify the user's identity information;

[0242] Call the activity permission check service component to verify whether the user meets the conditions for participating in the target activity;

[0243] If the above verifications are all passed, the user's operation events in the target activity are monitored; the operation events include the start and end operation times of the activity, the activity operation stage and the operation behavior;

[0244] Use event stream processing technology to analyze and process operation events in real time; for each event, determine the change of the event to the target activity state according to preset rules and algorithms; if the event stream of continuously received operation events changes the target activity state to a completed state, then update the activity state of the target activity in the update view.

[0245] In one embodiment, using a big data analysis engine, determining whether the activity status of the user performing the target activity is a completed status includes:

[0246] Using the big data analysis engine to receive the data stream from the activity completion status listener;

[0247] According to the real-time processing of the data stream, it is determined whether the activity status of the user performing the target activity is a completed status.

[0248] In one embodiment, initiating a request to the activity equity management system of the server through an asynchronous message queue includes:

[0249] When the target activity status of the user is determined to be completed, a request corresponding to the target activity is generated; the request is sent to a specified asynchronous message queue; the activity rights management system on the server is specifically used to: monitor the asynchronous message queue based on a pre-written consumer program; through the consumer program, determine whether to issue the rights corresponding to the target activity to the user according to the activity operation information carried by the request.

[0250] The embodiment of the present invention provides an embodiment of a computer device for implementing all or part of the content of the activity data processing method in the above-mentioned member system activity. The computer device specifically includes the following content:

[0251] Processor, memory, communication interface and bus; wherein the processor, memory and communication interface communicate with each other through the bus; the communication interface is used to realize information transmission between related devices; the computer device can be a desktop computer, a tablet computer and a mobile terminal, etc., and this embodiment is not limited thereto. In this embodiment, the computer device can be implemented with reference to the embodiment of the method for processing activity data in the member system activity and the embodiment of the device for processing activity data in the member system activity, and the contents thereof are incorporated herein and the repeated parts are not repeated.

[0252] Figure 8 FIG. 1 is a schematic block diagram of the system structure of the computer device 1000 according to an embodiment of the present invention. Figure 8 As shown, the computer device 1000 may include a central processor 1001 and a memory 1002; the memory 1002 is coupled to the central processor 1001. It is worth noting that Figure 8 is exemplary; other types of structures may also be used to supplement or replace this structure to implement telecommunication functions or other functions.

[0253] In one embodiment, the activity data processing function in the member system activity can be integrated into the central processor 1001. The central processor 1001 can be configured to perform the following control:

[0254] According to the user's personal information, query the user's current activity view; match the current activity view with the activity information in the activity pool; the activity pool is used to store a variety of activity information; the activity information includes activity type, activity audience, activity rules and activity time and space dimension restriction information;

[0255] Identifying the updated activities and the activities for which the user is no longer qualified through matching, updating the current activity view of the user to obtain an updated view;

[0256] In response to the user's operation of performing a target activity in the update view, triggering an activity completion status listener on the server side through the microservice architecture; the activity completion status listener is used to update the activity status of the target activity in the update view using event stream processing technology;

[0257] Using the big data analysis engine, determine whether the activity status of the user performing the target activity is completed; if it is completed, initiate a request to the activity rights management system of the server through an asynchronous message queue; the activity rights management system is used to determine whether to issue the rights corresponding to the target activity to the user according to the activity operation information carried in the request;

[0258] If the activity rights management system determines to issue the rights corresponding to the target activity to the user, the rights issuance information is recorded in the update view, and the activity status of the target activity is updated again.

[0259] In another embodiment, the activity data processing device in the member system activities can be configured separately from the central processor 1001. For example, the activity data processing device in the member system activities can be configured as a chip connected to the central processor 1001, and the activity data processing function in the member system activities is realized through the control of the central processor.

[0260] like Figure 8 As shown, the computer device 1000 may also include: a communication module 1003, an input unit 1004, an audio processor 1005, a display 1006, and a power supply 1007. It is worth noting that the computer device 1000 does not necessarily have to include Figure 8 In addition, the computer device 1000 may also include Figure 8 For components not shown, reference may be made to the prior art.

[0261] like Figure 8 As shown, the central processor 1001 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor devices and / or logic devices. The central processor 1001 receives inputs and controls the operations of various components of the computer device 1000 .

[0262] The memory 1002 may be, for example, a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices, or one or more thereof. The memory may store the above-mentioned information related to the device, and may also store a program for executing the related information. The CPU 1001 may execute the program stored in the memory 1002 to implement information storage or processing, etc.

[0263] The input unit 1004 provides input to the CPU 1001. The input unit 1004 is, for example, a key or a touch input device. The power supply 1007 is used to provide power to the computer device 1000. The display 1006 is used to display display objects such as images and text. The display may be, for example, an LCD display, but is not limited thereto.

[0264] The memory 1002 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that saves information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 1002 may also be some other type of device. The memory 1002 includes a buffer memory 1021 (sometimes referred to as a buffer). The memory 1002 may include an application / function storage unit 1022, which is used to store application programs and function programs or processes for executing the operation of the computer device 1000 through the central processor 1001.

[0265] The memory 1002 may also include a data storage unit 1023 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the computer device. The driver storage unit 1024 of the memory 1002 may include various drivers for the computer device for communication functions and / or for executing other functions of the computer device (such as messaging applications, address book applications, etc.).

[0266] The communication module 1003 is a transmitter / receiver 1003 that sends and receives signals via the antenna 1008. The communication module (transmitter / receiver) 1003 is coupled to the central processor 1001 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.

[0267] Based on different communication technologies, multiple communication modules 1003 may be provided in the same computer device, such as a cellular network module, a Bluetooth module and / or a wireless local area network module, etc. The communication module (transmitter / receiver) 1003 is also coupled to a speaker 1009 and a microphone 1010 via an audio processor 1005 to provide an audio output via the speaker 1009 and receive an audio input from the microphone 1010, thereby realizing a common telecommunication function. The audio processor 1005 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 1005 is also coupled to the central processor 1001, so that recording can be performed on the local machine through the microphone 1010, and the sound stored on the local machine can be played through the speaker 1009.

[0268] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for processing activity data in the member system activities is implemented.

[0269] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the method for processing activity data in the member system activities is implemented.

[0270] In an embodiment of the present invention, the current activity view of the user is queried according to the user's personal information; the current activity view is matched with the activity information in the activity pool; the activity pool is used to store a variety of activity information; the activity information includes activity type, activity audience, activity rules and activity time and space dimension restriction information; after matching, the updated activities and activities for which the user is no longer qualified are identified, and the current activity view of the user is updated to obtain an updated view; in response to the user's operation of performing a target activity under the updated view, the activity completion status listener of the server is triggered through the microservice architecture; the activity completion status listener is used to use event stream processing technology to update the activity status of the target activity in the updated view; using the big data analysis engine, it is determined whether the activity status of the user performing the target activity is a completed state; if it is a completed state, a request is initiated to the activity rights management system of the server through an asynchronous message queue; the activity rights management system is used to determine whether to issue the rights corresponding to the target activity to the user according to the activity operation information carried in the request; if the activity rights management system determines to issue the rights corresponding to the target activity to the user, the issuance information of the rights is recorded in the updated view. , and update the activity status of the target activity again, thereby matching the current activity view with the activity information in the activity pool, the activity pool stores a variety of activity information, reduces the dependence on the activity information table, avoids frequent joint table queries, and thus reduces the impact on database performance; uses a big data analysis engine to determine the activity status, and initiates a request to the activity rights management system through an asynchronous message queue, which reduces the pressure of real-time synchronization requests on the database, greatly reduces the processing pressure of the server under high concurrency conditions, and improves the stability and processing capacity of the system; identifies the update activities and the activities for which the user is no longer eligible through matching, updates the current activity view, obtains the update view, realizes the separation of activity information and user activity view, and reduces the degree of coupling at the code level; in response to user operations, triggers the activity completion status listener through the microservice architecture, and uses event stream processing technology to update the activity status, making the update of the activity status more flexible and independent; the activity rights management system determines whether to issue rights based on the activity operation information carried in the request, and records the rights issuance information and updates the activity status again in the update view, further clarifies the responsibilities of each module, reduces the complexity of the code, and reduces the cost of maintenance and expansion.

[0271] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0272] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0273] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0274] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0275] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for processing activity data in a member system activity, characterized in that: include: Query the user's current activity view based on the user's personal information; Match the current activity view with the activity information in the activity pool; The activity pool is used to store a variety of activity information; the activity information includes activity type, activity customer group, activity rules and activity time and space dimension restriction information; Identifying the updated activities and the activities for which the user is no longer qualified through matching, updating the current activity view of the user to obtain an updated view; In response to the user performing an operation of a target activity in the update view, triggering an activity completion status listener on the server side through the microservice architecture; The activity completion status listener is used to update the activity status of the target activity in the update view using event stream processing technology; Using a big data analysis engine, determining whether the activity status of the user performing the target activity is completed; If it is in the completed state, a request is initiated to the activity rights management system of the server through an asynchronous message queue; The activity rights management system is used to determine whether to issue rights corresponding to the target activity to the user according to the activity operation information carried in the request; If the activity rights management system determines to issue the rights corresponding to the target activity to the user, the rights issuance information is recorded in the update view, and the activity status of the target activity is updated again.

2. The method according to claim 1, characterized in that Also includes: A unique sub-activity identifier is assigned to each activity in the current activity view; the sub-activity identifier carries a time limit indicator and a validity indicator of the activity.

3. The method according to claim 2, characterized in that The user's personal information includes the user's physiological information, historical transaction information, and historical activity operation information; Match the current activity view with the activity information in the activity pool, including: For each activity corresponding to a sub-activity identifier in the current activity view, personal information of a user corresponding to the activity corresponding to the sub-activity identifier is matched with information of the activity in the activity pool to determine updated activities in the activity pool and activities for which the user is no longer eligible.

4. The method according to claim 1, characterized in that In response to the user performing an operation of the target activity in the update view, triggering the activity completion status listener of the server through the microservice architecture, including: When it is detected that the user selects to perform a target activity in the update view, the user's operation behavior of performing the target activity is captured through the update view; Send the operation behavior to the activity completion status listener on the server.

5. The method according to claim 1, characterized in that The activity completion status listener is specifically used for: Call the user authentication service component on the server to verify the user's identity information; Call the activity permission check service component to verify whether the user meets the conditions for participating in the target activity; If the above verifications are all passed, the user's operation events in the target activity are monitored; the operation events include the start and end operation times of the activity, the activity operation stage and the operation behavior; Use event stream processing technology to analyze and process operation events in real time; For each event, determine the change in the target activity state caused by the event according to preset rules and algorithms; If the event stream of the continuously received operation events changes the target activity state to a completed state, the activity state of the target activity in the update view is updated.

6. The method according to claim 1, characterized in that Using a big data analysis engine, determining whether the activity status of the user performing the target activity is completed includes: Using the big data analysis engine to receive the data stream from the activity completion status listener; According to the real-time processing of the data stream, it is determined whether the activity status of the user performing the target activity is a completed status.

7. The method according to claim 1, characterized in that Initiate a request to the activity rights management system of the server through an asynchronous message queue, including: When the target activity status of the user is determined to be completed, a request corresponding to the target activity is generated; the request is sent to a specified asynchronous message queue; the activity rights management system on the server is specifically used to: monitor the asynchronous message queue based on a pre-written consumer program; through the consumer program, determine whether to issue the rights corresponding to the target activity to the user according to the activity operation information carried by the request.

8. An activity data processing device in a member system activity, characterized in that: include: The activity matching module is used to query the user's current activity view based on the user's personal information; Match the current activity view with the activity information in the activity pool; the activity pool is used to store a variety of activity information; the activity information includes activity type, activity customer group, activity rules and activity time and space dimension restriction information; A view update module, configured to identify the update activities and the activities for which the user is no longer qualified through matching, and update the current activity view of the user to obtain an updated view; A monitoring trigger module, configured to trigger an activity completion status listener on the server side through a microservice architecture in response to a user's operation of performing a target activity in the update view; the activity completion status listener is configured to update the activity status of the target activity in the update view using event stream processing technology; The rights distribution module is used to use the big data analysis engine to determine whether the activity status of the user performing the target activity is completed; If it is in the completed state, a request is initiated to the activity rights management system of the server through an asynchronous message queue; the activity rights management system is used to determine whether to issue the rights corresponding to the target activity to the user according to the activity operation information carried in the request; The activity status update module is used for recording the issuance information of the rights in the update view and updating the activity status of the target activity again if the activity rights management system determines to issue the rights corresponding to the target activity to the user.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

11. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.