General activity operation method, device, system and computer equipment
By receiving activity operation requests, determining the activity identifier or rule identifier, identifying the target activity type, and calling a general abstract interface, the problem of a single activity operation mode in existing technologies is solved, enabling low-cost operation of multiple types of activities and improving operational efficiency.
Patent Information
- Application Number
- CN202010013556.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-07
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2040-05-31
AI Technical Summary
Existing technologies have a single operational model, which cannot meet the low-cost operation needs of various types of business activities, resulting in the inability to operate various types of activities efficiently.
By receiving an activity operation request, determining the activity identifier or rule identifier, identifying the target activity type, and calling a general abstract interface, an operation matching the activity operation mode is implemented.
It enables low-cost operation of various types of activities, reduces development costs, improves activity operation efficiency, and facilitates the efficient operation of external activities.
Smart Images

Figure CN113157750B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer, in particular to a general activity operation method, device, system, computer readable storage medium and computer equipment. BACKGROUND
[0002] With the continuous development of computer technology, the activity operation mode designed for business activity demand is also more and more diversified.
[0003] However, the operation mode of each platform business activity is high in demand matching degree, but also has the problem of single mode operation, that is, it is generally limited to solving the operation of a certain type of activity and does not provide a general operation mode for multiple types of business activities, so as to fail to meet the user's demand for low-cost operation of multiple types of activities.
[0004] Therefore, the activity operation method in the prior art has the problem of failing to meet the user's demand. SUMMARY
[0005] Therefore, it is necessary to provide a general activity operation method, device, system, computer readable storage medium and computer equipment to solve the technical problem that the activity operation method in the prior art fails to meet the user's demand.
[0006] In one aspect, the embodiment of the present application provides a general activity operation method, comprising: receiving an activity operation request of a target activity; the activity operation request comprises activity basic data; determining an activity identifier in the activity basic data in response to the activity operation request; if the activity identifier does not exist in the activity basic data, extracting an activity rule identifier in the activity basic data, and determining a target activity type according to the activity rule identifier; determining an activity operation mode and a general abstract interface matched with the target activity type; calling the general abstract interface to calculate the activity basic data, so that the target activity operates according to the activity operation mode.
[0007] In another aspect, the embodiment of the present application provides a general activity operation device, comprising: an operation request receiving module, configured to receive an activity operation request of a target activity; the activity operation request comprises activity basic data; an activity identifier determining module, configured to determine an activity identifier in the activity basic data in response to the activity operation request; an activity type determining module, configured to extract an activity rule identifier in the activity basic data if the activity identifier does not exist in the activity basic data, and determine a target activity type according to the activity rule identifier; a mode interface determining module, configured to determine an activity operation mode and a general abstract interface matched with the target activity type; a target activity operation module, configured to call the general abstract interface to calculate the activity basic data, so that the target activity operates according to the activity operation mode.
[0008] In yet another aspect, the embodiments of the present application provide a general activity operation system, comprising: an independent data collection module, an activity participation module, an activity award module, and a processing engine; the independent data collection module is configured to collect activity basic data of a target activity, and perform basic filtering on the activity basic data to obtain the activity basic data after basic filtering; the activity participation module is configured to collect activity basic data of a target activity, and perform optimized filtering on the activity basic data to obtain the activity basic data after optimized filtering, and then calculate an account award qualification according to the activity basic data after optimized filtering, and if the account award qualification meets a preset qualification condition, feedback an account award prize, and count and store the account award qualification; the activity award module is configured to record changes of the reward qualification and changes of the prize inventory of the target activity, and then generate an account binding virtual prize according to the account award qualification, so that the account binding virtual prize is collected by a binding account; the processing engine is configured to receive an activity operation request of a target activity, and control the independent data collection module or the activity participation module to obtain activity basic data in response to the activity operation request, and then determine a target activity type according to an activity identifier in the activity basic data, and an activity operation mode and a general abstract interface matched with the target activity type, and finally call the general abstract interface to calculate the activity basic data, or control the activity award module to calculate the activity basic data, so that the target activity is operated according to the activity operation mode.
[0009] In yet another aspect, the embodiments of the present application provide a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the following steps: receiving an activity operation request of a target activity; the activity operation request comprises activity basic data; in response to the activity operation request, determining an activity identifier in the activity basic data; if the activity identifier does not exist in the activity basic data, extracting an activity rule identifier in the activity basic data, and determining a target activity type according to the activity rule identifier; determining an activity operation mode and a general abstract interface matched with the target activity type; calling the general abstract interface to calculate the activity basic data, so that the target activity is operated according to the activity operation mode.
[0010] In yet another aspect, the embodiments of the present application provide a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the following steps when executing the computer program: receiving an activity operation request of a target activity; the activity operation request comprises activity basic data; in response to the activity operation request, determining an activity identifier in the activity basic data; if the activity identifier does not exist in the activity basic data, extracting an activity rule identifier in the activity basic data, and determining a target activity type according to the activity rule identifier; determining an activity operation mode and a general abstract interface matched with the target activity type; calling the general abstract interface to calculate the activity basic data, so that the target activity is operated according to the activity operation mode.
[0011] The stream configuration method, device, system, computer readable storage medium and computer device of the business activity, the server can determine the activity identification in the activity basic data by receiving and responding to the activity operation request of the target activity, if the activity identification does not exist in the activity basic data, further extract the activity rule identification in the activity basic data, and determine the target activity type according to the activity rule identification, thus determine the activity operation mode and the general abstract interface matched with the target activity type, finally call the general abstract interface to calculate the activity basic data, so that the target activity operates according to the activity operation mode. By using the method, not only can meet the needs of users for low-cost operation of multiple types of activities, reduce the development cost of multiple types of activities, but also can improve the activity operation efficiency by using the pre-set activity operation mode, and facilitate the efficient operation of external activities. BRIEF DESCRIPTION OF DRAWINGS
[0012] Figure 1 The application environment diagram of the general activity operation method in one embodiment;
[0013] Figure 2 The structural block diagram of the general activity operation system in one embodiment;
[0014] Figure 3 The structural block diagram of the computer device in one embodiment;
[0015] Figure 4 The flowchart of the general activity operation method in one embodiment;
[0016] Figure 5 The flowchart of the mode interface determination step in one embodiment;
[0017] Figure 6 The flowchart of the mode interface determination step in one embodiment;
[0018] Figure 7 The flowchart of the mode interface determination step in another embodiment;
[0019] Figure 8 The flowchart of the target activity type determination step in one embodiment;
[0020] Figure 9 The structural block diagram of the general activity operation device in one embodiment;
[0021] Figure 10 The flowchart of the general activity operation method in one specific embodiment. DETAILED DESCRIPTION
[0022] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0023] Figure 1 This is an application environment diagram of a general activity operation method in one embodiment. (Refer to...) Figure 1 This general activity operation method can be applied to a general activity operation system. The general activity operation system includes a terminal 110 and a server 120. The terminal 110 can be a device that sends activity operation requests to the server 120. The terminal 110 and the server 120 are connected via network communication. The terminal 110 can be a desktop terminal or a mobile terminal; specifically, a mobile terminal can be at least one of a mobile phone, tablet computer, or laptop computer. The server 120 can be a standalone server or a server cluster composed of multiple servers. The network includes, but is not limited to, a wide area network (WAN), a metropolitan area network (MAN), or a local area network (LAN).
[0024] It should also be noted that, since the general activity operation system of this application is designed for the operation modes of multiple types of activities, different types of activities actually share some common core operation modes (also known as core processing flows). Therefore, the general activity operation system proposed in this application has the general function to meet the operation modes of different types of activities, and can provide general hardware facilities for different types of activities to be operated, so that they can run smoothly.
[0025] The general functions of the above specific modes can be accessed through... Figure 2 The implementation of each module in the general activity operation system structure diagram shown is illustrated. Figure 2 The diagram shown is a structural block diagram of a general activity operation system 200 in one embodiment. This system 200 specifically includes an independent data acquisition module 202, an activity participation module 204, an activity prize distribution module 206, and a processing engine 208, which can actually be loaded into... Figure 1 The server 120 shown implements the following functions: an independent data acquisition module 202, which is used to collect basic activity data of the target activity and perform basic filtering on the basic activity data to obtain basic filtered basic activity data. For example, the basic activity data includes the activity recharge amount. The basic filtering rule is: if the activity recharge amount is greater than 500 yuan, the independent data acquisition module 202 will filter out the data that does not meet the above conditions according to the basic filtering rule, and obtain the basic filtered valid basic activity data to continue to execute the subsequent calculation steps.
[0026] The activity participation module 204 is configured to collect activity basic data of a target activity, and perform optimized filtering on the activity basic data to obtain optimized filtered activity basic data, and then calculate account reward qualification based on the optimized filtered activity basic data, and if the account reward qualification meets a preset qualification condition, further calculate an account reward prize, so as to avoid insufficient prize inventory to cause failure in normal prize distribution in the process of operating a business activity, and if the calculated account reward prize meets a prize inventory condition, feed back the account reward prize to the activity prize distribution module 206, so that the activity prize distribution module 206 can normally distribute prizes. For example, some types of activities do not have an independent data collection process, and therefore the operating mode configured for the activities does not need to trigger the independent data collection module 202, but instead triggers the activity participation module 204 to first collect activity basic data of a target activity and perform optimized filtering, and the optimized filtered activity basic data can be used to continue to perform subsequent steps. In another case, the operation of the activity type not only triggers the independent data collection module 202 to perform basic filtering of the activity basic data, but also triggers the activity participation module 204 to perform optimized filtering of the activity basic data after the basic filtering. For example, the independent data collection module 202 performs basic filtering to obtain data of an activity with a recharge amount greater than 500 yuan, and the optimized filtering rule of the activity participation module 204 is that the activity recharge direction is a charge recharge, and therefore the data of the activity with a recharge amount greater than 500 yuan needs to be analyzed and filtered in terms of the recharge direction to remove data other than the charge recharge amount greater than 500 yuan, and further calculate account reward qualification, calculate a reward prize, freeze the prize inventory, and store the reward qualification. That is to say, if the activity participation module 204 calculates an account reward prize, and the output result of the activity participation module 204 needs to change the prize inventory, such as reducing the prize inventory when a currently bound user account needs to be distributed, the activity participation module 204 will further record the change of the prize inventory and freeze it in real time, and store the account reward qualification to record whether the account has corresponding prize collection qualification.
[0027] The activity prize distribution module 206 is configured to change a reward qualification of a target activity, change a prize inventory, and then generate a virtual prize bound to an account according to the account reward qualification, so that the account bound to the virtual prize can collect the virtual prize.
[0028] The processing engine 208 is configured to receive an activity operation request of a target activity, and control the independent data collection module 202 or the activity participation module 204 to obtain activity basic data in response to the activity operation request, and then determine a target activity type according to an activity identifier in the activity basic data, and an activity operation mode and a general abstract interface 210 matched with the target activity type, and finally call the general abstract interface 210 to calculate the activity basic data, or control the activity prize distribution module 206 to calculate the activity basic data, so that the target activity can be operated according to the activity operation mode.
[0029] It should also be noted that the general abstract interface 210 involved in the above embodiments actually includes: a scanning activity data source list interface 211, an activity data acquisition and calculation interface 212, a prize-giving eligibility condition judgment interface 213, a prize-giving calculation interface 214, and an activity progress reading interface 215; wherein, the scanning activity data source list interface 211 is used by the processing engine 208 to control the operation of timed target activities in order to obtain the basic data source data of timed target activities; the activity data acquisition and calculation interface 212 is used by the processing engine 208 to control the activity participation module 204 to filter the basic activity data. The data is called during the process, specifically by the activity participation module 204 when optimizing and filtering the basic activity data; the gift eligibility condition judgment interface 213 is called by the processing engine 208 when controlling the activity participation module 204 to calculate account reward eligibility; the gift calculation interface 214 is called by the processing engine 208 when controlling the activity participation module 204 to calculate and return account reward prizes, which can return the prizes configured for the activity, or return the corresponding prizes according to the historical total recharge amount as required by the product; the activity progress reading interface 215 is called by the processing engine 208 when connecting with the user interaction model. In addition, Figure 2 The dashed arrows between some of the sub-processes shown indicate whether or not subsequent sub-processes can be executed based on the calculation results of the activity's basic data.
[0030] Figure 3 An internal structural diagram of a computer device in one embodiment is shown. Specifically, this computer device may be... Figure 1 Server 120 in the middle. For example... Figure 3 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and may also store computer programs that, when executed by the processor, enable the processor to perform general-purpose operations. The internal memory may also store computer programs that, when executed by the processor, enable the processor to perform general-purpose operations.
[0031] Those skilled in the art will understand that Figure 3 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0032] like Figure 4 As shown, in one embodiment, a general activity operation method is provided. This embodiment mainly applies this method to the above-mentioned... Figure 1 Let's take server 120 as an example. (Refer to...)Figure 4 The general activity operation method specifically includes the following steps:
[0033] S402, receiving an activity operation request of a target activity; the activity operation request includes activity basic data.
[0034] The target activity can be a target business activity, and the target activity can be classified according to the attributes of the activity. For example, the categories of the target activity according to the participation attribute can include system timing participation type activities (participation is triggered by a timer at a certain time), system real-time participation type activities (triggered by other systems to report in real time), user active participation type activities (users participate directly through the front-end interface), and the like. According to the recipient attribute, it can include system receiving type activities (awards are uniformly executed by a timer), user receiving type activities (users actively receive rewards through the front-end interface and then execute the award); according to the participant list attribute, it can include unconditional restriction list type activities, fixed personnel list type activities (white list, non-gray list, statistical list), task type cumulative list type activities; according to the participation or receiving batch attribute, it can include one-time activities, daily activities, weekly activities, and lifelong activities. Of course, the above classification conditions or bases can also be combined for use, for example, system timing participation user receiving activities.
[0035] The activity basic data can include data for activity operation configuration, such as activity name, activity start and end time, activity identifier, and the like.
[0036] Specifically, the server 120 can receive, through the terminal 110, an activity operation request of a target activity, and the activity operation request includes activity basic data, which is used for the server 120 to analyze and determine the activity operation mode of the target activity.
[0037] S404, in response to the activity operation request, determining the activity identifier in the activity basic data.
[0038] The activity identifier can be an activity ID, and each activity in actual application should have a specific activity ID to identify the unique attribute of the activity.
[0039] Specifically, since the activity identifier is not submitted by the terminal 110, some types of activities to be operated do not necessarily have a specific activity identifier before operation, so the server 120 can first determine whether the activity identifier exists in the activity basic data in response to the activity operation request after receiving the activity operation request of the target activity.
[0040] For example, when the terminal 110 sends an activity operation request of a timing type target activity, the activity operation request can have a timing type activity identification, while when the terminal 110 sends an activity operation request of a real time type target activity, the activity operation request does not necessarily have a real time type activity identification.
[0041] S406, if the activity identification does not exist in the activity base data, extracting the activity rule identification in the activity base data, and determining the target activity type according to the activity rule identification.
[0042] The activity rule identification can be identification information representing an activity rule condition, for example, a recharge amount identification (an identification of a recharge amount greater than 500 yuan), a recharge direction identification (a charge recharge identification), etc.
[0043] The target activity type can be an activity type matched with the target activity, for example, a next day sending, a next month sending, a next day taking, etc. a stay activity type, a white list sending, a white list participating sending and taking activity, etc. a regular promotion activity type, etc.
[0044] Specifically, if the server 120 determines that the activity base data of the current analyzed target activity does not have an activity identification, the activity rule identification of the target activity can be used to determine the target activity type, that is, the activity rule identification can be extracted from the activity base data, and then the activity rule identification is matched with the pre-stored rule identification in the database. Since the pre-stored rule identification and the activity type have a pre-set mapping relationship, when the rule identification matched with the activity rule identification is determined, the activity type associated therewith can be obtained as the target activity type of the target activity.
[0045] S408, determining an activity operation mode and a general abstract interface matched with the target activity type.
[0046] The activity operation mode can be a pre-stored operation scheme corresponding to different types of activities, and the activity operation mode can also be an activity operation mode formed by the server 120 controlling the operation of each module in the general activity operation system 200.
[0047] The general abstract interface can be an abstract calling interface that can be used for multi-type activity operation, and the abstract meaning specifically lies in the abstraction of the specific algorithm for the activity base data.
[0048] Specifically, the server 120 can first store the activity operation mode preset by the developer before responding to the activity operation request of the terminal 110, but the activity operation mode is an activity operation mode formed by the server 120 controlling the operation of each module in the general activity operation system 200, that is, the activity operation mode of each target activity includes the activity operation scheme embodied by the three modules of the general activity operation system 200, namely, the independent data acquisition module 202, the activity participation module 204, and the activity award module 206, individually or in combination. The specific modules used to generate the operation mode for the target activity preset activity operation mode can be determined by the developer according to the activity operation requirement setting, and then according to the preset association encapsulation relationship between the modules and the general abstract interface, the general abstract interface required to be called in the execution process of the activity operation mode can be determined.
[0049] More specifically, the application proposes an activity operation mode for the three modules in the general activity operation system 200: the independent data acquisition module 202, the activity participation module 204, and the activity award module 206, individually or in combination to constitute a target activity, which aims to reduce the activity configuration development cost, that is, for the common core process existing in different types of activity operation, the corresponding operation mode can be pre-abstracted and configured, which can be embodied by the control calculation of the three modules, and then the subsequent operation of different types of activities does not need to be reprogrammed for independent development, but is realized by the above-mentioned three modules and the general abstract interface for superposition and reuse or separate calling, thereby meeting the demand for low-cost operation of multiple types of activities.
[0050] S410, calling the general abstract interface to calculate the activity basic data, so that the target activity operates according to the activity operation mode.
[0051] Specifically, the general abstract interface has been specifically explained in the above examples and will not be repeated here, and the general abstract interface is called to control the basic operation of the three modules in the general activity operation system 200: the independent data acquisition module 202, the activity participation module 204, and the activity award module 206, so that the module running logic can embody the preset activity operation mode, and finally the target activity can operate according to the activity operation mode.
[0052] In this embodiment, the server can determine the activity identification in the activity base data by receiving and responding to the activity operation request of the target activity, if the activity identification does not exist in the activity base data, further extract the activity rule identification in the activity base data, and determine the target activity type according to the activity rule identification, thereby determining the activity operation mode and the general abstract interface matched with the target activity type, and finally calling the general abstract interface to calculate the activity base data, so that the target activity operates according to the activity operation mode. By using the method, the demand of the user for low-cost operation of multiple types of activities can be met, the development cost of the operation of multiple types of activities is reduced, the activity operation efficiency is improved by using the pre-set activity operation mode, and the efficient operation of the external activity is facilitated.
[0053] As shown in FIG. 8, in one embodiment, the step S408 of determining the activity operation mode and the general abstract interface matched with the target activity type comprises the following steps: Figure 5
[0054] S4082, determining the activity operation mode and the general abstract interface matched with the target activity type based on the general activity kernel abstract model.
[0055] The general activity kernel abstract model can be a model composed of the independent data acquisition module 202, the activity participation module 204, the activity award module 206 and the general abstract interface 210 in the general activity operation system 200, and aims to abstract the activity core operation mode for generalization.
[0056] Specifically, for the general activity kernel abstract model, which is actually the running logic of the three modules and the general abstract interface in the general activity operation system 200, mainly includes three processes: the independent data acquisition module process, the activity participation module process and the activity award module process. The three processes can not only be abstracted and transformed into three modules for the reuse and standardization of various activities, but also can be flexibly combined according to the actual application scene, so as to meet the demand of most activity operation. In addition, the server 120 determines the activity operation mode and the general abstract interface matched with the target activity type based on the general activity kernel abstract model, which actually provides hardware support for the activity operation mode according to the composition of the general activity kernel abstract model.
[0057] In this embodiment, the determination of the activity operation mode and the general abstract interface matched with the target activity type based on the general activity kernel abstract model can simply and quickly realize the composition of the activity operation mode, and save the development cost for the operation of multiple types of activities.
[0058] As shown in FIG. 8, in one embodiment, the step S408 of determining the activity operation mode and the general abstract interface matched with the target activity type comprises the following steps: Figure 6 As shown, in one embodiment, step S4082, based on the general activity kernel abstract model, determines the activity operation mode and general abstract interface that match the target activity type, specifically including the following steps:
[0059] S40822, based on the independent data collection process, activity participation process or activity prize distribution process in the general activity kernel abstract model, determine the activity operation mode that matches the target activity type, and based on the scanning activity data source list interface, activity data collection and calculation interface, prize award qualification judgment interface, prize award calculation interface or activity progress reading interface in the general activity kernel abstract model, determine the general abstract interface that matches the target activity type.
[0060] Specifically, the formation of the activity operation mode depends on the adoption of the three major modules in the general activity operation system 200. That is to say, the determination of the activity operation mode comes from the configuration of the independent data collection process, activity participation process or activity prize distribution process in the general activity kernel abstract model. The general abstract interface specifically includes the interface for scanning the activity data source list, the interface for activity data collection and calculation, the interface for judging the eligibility conditions for giving gifts, the interface for calculating the prizes given, and the interface for reading the activity progress. At the same time, the actual call to different interfaces depends on the composition logic of different activity operation modes. The specific call timing has been explained in detail in the above embodiments and will not be repeated here.
[0061] More specifically, the general activity kernel abstract model can also exclude the three major processes mentioned above. For example, the independent data collection process can be encapsulated into the activity participation process, or new processes can be added to the activity participation or prize distribution process, or the activity participation process can be split up. It should also be noted that the general abstract interface that various activities need to inherit and implement can be appropriately adjusted or added according to the actual application scenario, and even more powerful rule configuration capabilities can be provided so that various activities can run according to the activity operation mode without calling the general abstract interface.
[0062] In this embodiment, the specific composition of the general activity kernel abstract model determines the activity operation mode and general abstract interface that match the target activity type, which can improve the access efficiency of multiple types of activities and reduce the development cost of multiple types of activities.
[0063] like Figure 7 As shown, in one embodiment, after determining the activity identifier in the activity basic data in response to the activity operation request in step S404, the specific steps include the following:
[0064] S405, if an activity identifier exists in the activity basic data, then determine the target activity type from at least one pre-stored pre-defined activity type based on the activity identifier; the target activity type is the pre-defined activity type that matches the activity identifier.
[0065] Specifically, after determining that the activity identifier exists in the activity base data in response to the activity operation request, the server 120 can first determine the pre-stored at least one preset activity type, since the at least one preset activity type has a preset activity identifier in a mapping relationship, the server 120 can determine the target activity identifier from the pre-stored at least one preset activity identifier according to the activity identifier, and further determine the activity type associated with the target activity identifier as the target activity type matched with the activity identifier.
[0066] In the embodiment, the target activity type is determined by reading the activity identifier in the activity base data, and the activity operation mode associated with the target activity type is further determined, which not only meets the demand of the user for low-cost operation of multi-type activities, reduces the development cost of multi-type activity operation, but also improves the activity operation efficiency by using the preset activity operation mode, and facilitates efficient operation of external activities.
[0067] As shown in FIG. 4B, in one embodiment, if the activity identifier does not exist in the activity base data in step S406, the activity rule identifier in the activity base data is extracted, and the target activity type is determined according to the activity rule identifier, which specifically includes the following steps: Figure 8
[0068] S4062, if the activity identifier does not exist in the activity base data, the activity rule identifier in the activity base data is extracted;
[0069] S4064, the target activity identifier is determined according to the activity rule identifier;
[0070] S4066, the target activity type is determined according to the target activity identifier.
[0071] Specifically, after determining that the activity identifier does not exist in the activity base data in response to the activity operation request, the server 120 can further extract the activity rule identifier in the activity base data, and further determine the target activity identifier according to the activity rule identifier. It should be noted that the step of determining the target activity identifier according to the activity rule identifier can include: determining the number of identifiers of the activity rule identifier; when the number of identifiers is greater than one, determining the matching level of the activity rule identifier according to the pre-stored identifier level sorting list; and sequentially matching the activity rule identifier with the preset activity identifier according to the matching level, and determining the preset activity identifier matched with the activity rule identifier as the target activity identifier. Since each preset activity identifier has a preset corresponding activity type, the target activity type can be determined through the target activity identifier. The identifier level sorting list includes rule identifiers with a matching order of precedence.
[0072] More specifically, the step of determining the target activity identification according to the activity rule identification can be exemplified as follows: for a charge top-up activity, the current rule stipulates that as long as there is a top-up amount identification, it can be determined that the report is for the present top-up activity, that is, without reporting the activity type and the specific activity identification, the target activity identification can be determined according to the activity rule identification, and then the target activity type can be determined. However, if the top-up data is not the data required by the present top-up activity but the data required by other top-up activities, only one top-up amount identification activity cannot satisfy the present rule condition, and according to the actual situation, the top-up direction identification such as the charge top-up identification can also be required, thus the data reported by the charge top-up can enter the present top-up activity for subsequent processing, and the data of other top-up channels can be acquired but not enter the present activity for subsequent processing.
[0073] In the present embodiment, not only can the demand of the user for low-cost operation of multiple types of activities be met, and the development cost of operation of multiple types of activities be reduced, but also the activity operation efficiency can be improved by using the preset activity operation mode, and the efficient operation of external activities can be facilitated.
[0074] It should be understood that, although Figures 4-8 The steps in the flowchart of the present application are shown in sequence according to the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other orders. Moreover, Figures 4-8 At least part of the steps in the present application can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily sequential but can be executed in rotation or alternation with at least part of other steps or sub-steps or stages of other steps.
[0075] As shown in Figure 9 In one embodiment, a general activity operation device 900 is provided, which can be arranged in a general activity operation system and used for executing the general activity operation method described above. The general activity operation device 900 specifically includes an operation request receiving module 902, an activity identification determining module 904, an activity type determining module 906, a mode interface determining module 908, and a target activity operation module 910, wherein:
[0076] The operation request receiving module 902 is used for receiving an activity operation request of a target activity; the activity operation request includes activity basic data;
[0077] The activity identification determining module 904 is used for determining the activity identification in the activity basic data in response to the activity operation request;
[0078] The activity type determination module 906 is configured to extract an activity rule identifier from the activity basic data if the activity identifier is not present in the activity basic data, and determine a target activity type according to the activity rule identifier.
[0079] The mode interface determination module 908 is configured to determine an activity operation mode and a general abstract interface matched with the target activity type.
[0080] The target activity operation module 910 is configured to call the general abstract interface to calculate the activity basic data, so that the target activity is operated according to the activity operation mode.
[0081] In an embodiment, the mode interface determination module 908 is further configured to determine the activity operation mode and the general abstract interface matched with the target activity type based on the general activity kernel abstract model.
[0082] In an embodiment, the mode interface determination module 908 is further configured to determine the activity operation mode matched with the target activity type based on an independent data collection process, an activity participation process or an activity prize awarding process in the general activity kernel abstract model, and determine the general abstract interface matched with the target activity type based on a scanning activity data source list interface, an activity data collection calculation interface, a gift qualification condition judgment interface, a gift prize calculation interface or an activity progress reading interface in the general activity kernel abstract model.
[0083] In an embodiment, the general activity operation apparatus 900 further includes a target activity type determination module configured to determine the target activity type from at least one preset activity type if the activity identifier is present in the activity basic data, wherein the target activity type is a preset activity type matched with the activity identifier.
[0084] In an embodiment, the activity type determination module 906 is further configured to extract an activity rule identifier from the activity basic data if the activity identifier is not present in the activity basic data, determine a target activity identifier according to the activity rule identifier, and determine a target activity type according to the target activity identifier.
[0085] In the embodiment, not only the demand of users for low-cost operation of multi-type activities can be met, and the development cost of multi-type activity operation can be reduced, but also the activity operation efficiency can be improved by using the preset activity operation mode, and the efficient operation of external activities can be facilitated.
[0086] In an embodiment, the general activity operation apparatus provided in the present application can be implemented in the form of a computer program, which can be operated on a computer device as shown in FIG. 8. The memory of the computer device can store various program modules constituting the general activity operation apparatus, such as the activity type determination module 906, the mode interface determination module 908 and the target activity operation module 910. Figure 3 Figure 9 The operation request receiving module 902, the activity identification determining module 904, the activity type determining module 906, the mode interface determining module 908, and the target activity operation module 910 are shown. The computer program composed of various program modules enables the processor to perform the steps in the general activity operation method of various embodiments of the present application described in the specification.
[0087] For example, Figure 3 The computer device shown can perform step S402 through the operation request receiving module 902 in the general activity operation apparatus shown, perform step S404 through the activity identification determining module 904, perform step S406 through the activity type determining module 906, perform step S408 through the mode interface determining module 908, and perform step S410 through the target activity operation module 910. Figure 9 The operation request receiving module 902, the activity identification determining module 904, the activity type determining module 906, the mode interface determining module 908, and the target activity operation module 910 are shown. The computer program composed of various program modules enables the processor to perform the steps in the general activity operation method of various embodiments of the present application described in the specification.
[0088] In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program, the computer program being executed by the processor to enable the processor to perform the steps of the general activity operation method described above. The steps of the general activity operation method can be the steps in the general activity operation method of various embodiments described above.
[0089] In one embodiment, a computer readable storage medium is provided, storing a computer program, the computer program being executed by the processor to enable the processor to perform the steps of the general activity operation method described above. The steps of the general activity operation method can be the steps in the general activity operation method of various embodiments described above.
[0090] To facilitate those skilled in the art to further understand the embodiments of the present application, the following will be combined with Figure 10 at least one specific example. Figure 10 is a complete flowchart of the general activity operation method in the embodiment, from Figure 10 It can be seen that the activity operation mode includes four types of activities: timed activities, real-time participation activities, promotion activities, and active participation activities, and each type of activity operation mode has a corresponding preset operation scheme, which includes a single or combined call of the independent data acquisition module 202, the activity participation module 204, and the activity prize awarding module 206 in the activity operation system 200. In combination with Figure 2 The structural block diagram shown illustrates the activity operation mode scheme of the timed activity as an example, which includes:
[0091] (1-1), the peripheral system or manual triggering calls the independent data acquisition module 202 in the general activity operation system 200, and inputs the activity basic data containing the activity identification.
[0092] (1-2), the independent data acquisition module 202 determines the target activity type according to the activity identification, and then determines the current required general abstract interface from the target activity type.
[0093] (1-3), when the independent data acquisition module 202 controls the execution of the "data filtering and calculation" sub-process, the "data filtering and calculation" internally calls the activity data acquisition calculation interface 212 in the general abstract interface 210, so as to calculate according to the configuration filtering rule (preset rule identification) of the current activity and the input activity basic data.
[0094] (1-4), if the activity data acquisition calculation interface 212 feedbacks the calculation success information, the "activity participation data storage" sub-process is continued to be executed, and if the calculated data indicates that it is to be stored, the calculated data is stored as the basic data source (at the same time, the activity identification to which it belongs is recorded).
[0095] (2-1), the artificial or timer system first scans and obtains the basic data source data (the data stored in step 1-4) belonging to the current activity identification through the tool.
[0096] (2-2), according to the data source data obtained by scanning, the activity participation module 204 is triggered and called piece by piece.
[0097] (2-3), before the activity participation module 204 is controlled and called, the processing engine 208 first traverses all the configurations of the available activity identifications, and needs to obtain the activity type and the general abstract interface corresponding to the activity identification when traversing the configuration of each activity identification.
[0098] (2-4), the "data filtering and calculation" sub-process is started to be executed under the current activity identification, and the sub-process needs to call the activity data acquisition calculation interface 212 to realize.
[0099] (2-5), if the activity data acquisition calculation interface 212 feedbacks the calculation success information (if the return fails, it is skipped and the next activity identification is traversed until the feedback is successful), the "activity participation data storage" sub-process is continued to be executed, and if the calculated data indicates that it is to be stored, the calculated data is stored as the basic data source (at the same time, the activity identification to which it belongs is recorded).
[0100] (2-6), if the "activity participation data storage" sub-process is executed successfully, the "reward qualification check calculation" sub-process is executed, and the "reward qualification check calculation" sub-process will call the gift qualification condition judgment interface 213 to realize.
[0101] (2-7), if the gift qualification condition judgment interface 213 feedback calculation success information, then execute the "reward prize calculation" sub-process, "reward prize calculation" sub-process will call the gift prize calculation interface 214 to achieve.
[0102] (2-8), if the gift prize calculation interface 214 feedback calculation success information, then execute the "prize inventory freezing" sub-process.
[0103] (2-9), if the "prize inventory freezing" sub-process is executed successfully, then execute the "reward qualification storage" sub-process (store the qualification data to the database, the qualification data includes: activity identifier, user ID, activity prize information, etc.).
[0104] (2-10), if the activity participation after immediately execute the activity award process switch is opened in the activity configuration, then execute step 3-2, otherwise continue to execute step 2-11.
[0105] (2-11), the current activity identifier running is completed, continue to traverse the next activity identifier, jump to step 2-4 to continue to execute.
[0106] (3-1), artificial or timer system through the tool first scan to obtain the activity qualification record (step 2-9 stored qualification data) belongs to the activity identifier, according to the qualification data obtained by scanning, trigger call activity award module 206 one by one.
[0107] (3-2), activity award module 206 executes sub-process "reward qualification consumption", "prize inventory consumption" and "prize distribution" in turn (if one of the sub-processes is abnormal, the subsequent sub-processes are not executed).
[0108] It should be noted that there are dashed arrows between some sub-processes in the above example, indicating that the calculation results of the activity basic data can execute or not execute the subsequent sub-processes, and there are no solid or dashed arrows between some sub-processes, indicating that there may be a time interval between two sub-processes, that is, the current sub-process is executed after the execution is completed. Subsequent sub-processes are not executed immediately.
[0109] The above embodiment can not only meet the needs of users for low-cost operation of multiple types of activities, reduce the development cost of multiple types of activity operation, but also use the pre-set activity operation mode to improve the activity operation efficiency, and facilitate the efficient operation of external activities.
[0110] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, storage, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0111] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, but as long as the combination of the technical features does not exist, it should be considered as the scope of the present application.
[0112] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, some modifications and improvements can be made, which are all within the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.
Claims
1. A general activity operation method, characterized by, The method comprises the following steps: receiving, by a processing engine, an activity operation request of a target activity; the activity operation request comprises activity base data; controlling, by the processing engine, at least one of an independent data collection module and an activity participation module to obtain the activity base data in response to the activity operation request in different situations; determining, by the processing engine, an activity identifier in the activity base data; if the activity identifier does not exist in the activity base data, extracting an activity rule identifier in the activity base data; determining a number of the activity rule identifiers; when the number is greater than one, determining a matching level of the activity rule identifier according to a pre-stored identifier level sorting list; matching the activity rule identifier with a pre-set activity identifier in stages according to the matching level, determining a pre-set activity identifier matched with the activity rule identifier as a target activity identifier; and determining a target activity type according to the target activity identifier; determining, by the processing engine, a pre-configured activity operation mode matched with the target activity type, determining a module adopted by the activity operation mode in the independent data collection module, the activity participation module and an activity award module, determining a general abstract interface called in an execution process of the activity operation mode according to a pre-set association encapsulation relationship between the module and the general abstract interface; controlling, by the processing engine, the module adopted by the activity operation mode, calling the general abstract interface to calculate the activity base data, so as to superimpose and multiplex or separately call the independent data collection module, the activity participation module and the activity award module and the general abstract interface, and make the target activity operate according to the activity operation mode.
2. The method of claim 1, wherein, The determining of the pre-configured activity operation mode matched with the target activity type, the determining of the module adopted by the activity operation mode in the independent data collection module, the activity participation module and the activity award module, and the determining of the general abstract interface called in the execution process of the activity operation mode according to the pre-set association encapsulation relationship between the module and the general abstract interface comprise: determining, based on a general activity kernel abstract model, the pre-configured activity operation mode matched with the target activity type, the module adopted by the activity operation mode in the independent data collection module, the activity participation module and the activity award module, and the general abstract interface called in the execution process of the activity operation mode according to the pre-set association encapsulation relationship between the module and the general abstract interface.
3. The method of claim 2, wherein, The determining, based on the general activity kernel abstract model, of the pre-configured activity operation mode matched with the target activity type, of the module adopted by the activity operation mode in the independent data collection module, the activity participation module and the activity award module, and of the general abstract interface called in the execution process of the activity operation mode according to the pre-set association encapsulation relationship between the module and the general abstract interface comprise: determine an operation mode matching the target activity type based on the independent data collection process, the activity participation process or the activity prize award process in the universal activity kernel abstract model, and determine a universal abstract interface matching the target activity type based on the scanning activity data source list interface, the activity data collection calculation interface, the gift qualification condition judgment interface, the gift prize calculation interface or the activity progress reading interface in the universal activity kernel abstract model.
4. The method of claim 1, wherein, After the activity identification in the activity basic data is determined, the method further includes: If the activity identification exists in the activity basic data, a target activity type is determined from at least one preset activity type in a pre-stored activity type according to the activity identification; the target activity type is a preset activity type matching the activity identification.
5. A universal activity operating device, characterized by, The device includes: An operation request receiving module configured to receive an activity operation request of a target activity through a processing engine; the activity operation request includes activity basic data; A data acquisition control module configured to control at least one of an independent data collection module and an activity participation module through the processing engine to acquire activity basic data in response to the activity operation request under different conditions; An activity identification determining module configured to determine an activity identification in the activity basic data through the processing engine; An activity type determining module configured to extract an activity rule identification in the activity basic data if the activity identification does not exist in the activity basic data; determine an identification quantity of the activity rule identification; determine a matching level of the activity rule identification according to a pre-stored identification level order list when the identification quantity is greater than one; match the activity rule identification with a preset activity identification in stages according to the matching level, determine a preset activity identification matching the activity rule identification as a target activity identification, and determine a target activity type according to the target activity identification; A mode interface determining module configured to determine a pre-configured activity operation mode matching the target activity type through the processing engine, determine a module used by the activity operation mode in the independent data collection module, the activity participation module and the activity prize award module, and determine a universal abstract interface called in an execution process of the activity operation mode according to a pre-set association encapsulation relationship between the module and the universal abstract interface; An activity operation control module configured to control the module used by the activity operation mode through the processing engine, call the universal abstract interface to calculate the activity basic data, and superimpose and multiplex or separately call the independent data collection module, the activity participation module and the activity prize award module and the universal abstract interface, so that the target activity operates according to the activity operation mode.
6. The universal activity operation apparatus according to claim 5, wherein The mode interface determination module is further configured to determine, by the processing engine, a preconfigured operation mode of the target activity type based on a universal activity kernel abstract model, determine modules used by the operation mode of the activity from among the independent data collection module, the activity participation module, and the activity award module, and determine universal abstract interfaces called in an execution process of the operation mode of the activity according to a preset association encapsulation relationship between the modules and the universal abstract interfaces.
7. The universal activity operation apparatus according to claim 6, wherein The mode interface determination module is further configured to determine, by the processing engine, an operation mode of the target activity type based on an independent data collection process, an activity participation process, or an activity award process in the universal activity kernel abstract model, and determine universal abstract interfaces matched with the target activity type based on a scanning activity data source list interface, an activity data collection calculation interface, a gift qualification condition judgment interface, a gift prize calculation interface, or an activity progress reading interface in the universal activity kernel abstract model.
8. The universal activity operation apparatus according to claim 5, wherein The activity type determination module is further configured to determine, by the processing engine, a target activity type from at least one preconfigured activity type according to the activity identifier if the activity identifier exists in the activity basic data. The target activity type is a preconfigured activity type matched with the activity identifier.
9. The universal activity operation apparatus according to claim 5, wherein The activity type determination module is further configured to extract an activity rule identifier from the activity basic data, determine a target activity identifier according to the activity rule identifier, and determine a target activity type according to the target activity identifier if the activity identifier does not exist in the activity basic data.
10. A universal activity operation system, characterized by, Comprise: An independent data collection module, an activity participation module, an activity award module, and a processing engine. The independent data collection module is configured to collect activity basic data of a target activity, and perform basic filtering on the activity basic data to obtain basic filtered activity basic data. The activity participation module is configured to collect activity basic data of the target activity, perform optimized filtering on the activity basic data to obtain filtered activity basic data, and then calculate an account reward qualification according to the filtered activity basic data, feed back an account reward prize and count a prize inventory and store the account reward qualification if the account reward qualification meets a preset qualification condition. The activity award module is configured to record changes in a reward qualification and changes in a prize inventory of the target activity, and then generate an account binding virtual prize according to the account reward qualification, so that a binding account can claim the account binding virtual prize. The processing engine is configured to receive an operation request of the target activity, control at least one of the independent data collection module and the activity participation module to obtain activity basic data in response to the operation request of the activity, and determine an activity identifier in the activity basic data. If the activity identifier does not exist in the activity basic data, an activity rule identifier in the activity basic data is extracted. determining an identification quantity of the activity rule identification; when the identification quantity is greater than one, determining a matching level of the activity rule identification according to a pre-stored identification level order list; matching the activity rule identification with a preset activity identification in stages according to the matching level, determining a preset activity identification matched with the activity rule identification as a target activity identification; determining a target activity type according to the target activity identification; determining a pre-configured activity operation mode matched with the target activity type, determining a module used by the activity operation mode in an independent data collection module, an activity participation module and an activity award module, determining a general abstract interface called in an execution process of the activity operation mode according to a pre-set association encapsulation relationship between the module and the general abstract interface; controlling the module used by the activity operation mode, calling the general abstract interface to calculate the activity basic data, so as to superimpose and multiplex or separately call through the independent data collection module, the activity participation module, the activity award module and the general abstract interface, so that the target activity operates according to the activity operation mode.
11. The system of claim 10, wherein, Further comprising: a scanning activity data source list interface, an activity data collection calculation interface, a gift qualification condition judgment interface, a gift prize calculation interface and an activity progress reading interface, wherein, the scanning activity data source list interface is used for calling by the processing engine when controlling operation of a timing type target activity; the activity data collection calculation interface is used for calling by the processing engine when controlling the activity participation module to filter the activity basic data; the gift qualification condition judgment interface is used for calling by the processing engine when controlling the activity participation module to calculate the account reward qualification; the gift prize calculation interface is used for calling by the processing engine when controlling the activity participation module to calculate and feed back the account reward prize; the activity progress reading interface is used for calling by the processing engine when connecting with a user interaction model.
12. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that, The processor executes the computer program to realize the method in any one of claims 1 to 4.
13. A computer readable storage medium storing a computer program, wherein the computer program comprises program instructions configured to cause a processor to perform the method according to any one of claims 1 to 12. The computer program is executed by the processor to make the processor execute the steps of the method in any one of claims 1 to 4.
14. A computer program product comprising computer instructions, characterized in that, The computer instructions are executed by the processor to realize the method in any one of claims 1 to 4.
Citation Information
Patent Citations
Activity creating method and device based on unified entrance, equipment and storage medium
CN109582307A