Account opening processing method and device, equipment and medium
By receiving and processing target account opening events, automatically generating and storing customer records, the system solves the problems of low efficiency and unclear customer sources in the traditional account opening process, and achieves accurate customer attribution and efficient account opening processing.
Patent Information
- Application Number
- CN202511381237.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-25
- Publication Date
- 2026-02-10
AI Technical Summary
Traditional account opening processes are time-consuming, labor-intensive, and prone to errors. They also make it difficult to accurately identify customer sources in real time, which affects the sales team's follow-up efficiency.
By receiving target account opening events, the system identifies the unique target promotion object corresponding to each event, generates and stores target customer records, and achieves automated customer information attribution.
Significantly improve account opening efficiency, achieve accurate attribution between account opening targets and promotion targets, and ensure data accuracy and consistency.
Smart Images

Figure CN121504341A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of computers, and particularly relates to an account opening processing method and device, equipment and a medium. BACKGROUND
[0002] In various business scenarios requiring user registration or service opening, the account opening process is a key link for attracting new users and establishing business relationships.
[0003] Traditional account opening processes usually involve multiple manual steps, including customer guidance, data collection, account opening, and subsequent follow-up, etc. These steps not only consume time and effort, but also are prone to errors caused by manual operation, such as inaccurate customer information entry or unclear attribution. In addition, related technical solutions have significant defects in customer source tracking and attribution, making it difficult to determine in real time and accurately which salesperson or team's promotion link the customer completed the registration through, resulting in the sales team being unable to obtain the customer's account opening status in a timely manner, affecting the follow-up efficiency.
[0004] Therefore, the account opening process in the related art has the technical problem of low account opening efficiency. SUMMARY
[0005] Embodiments of the present application provide an implementation scheme different from the related art to solve the technical problem of low account opening efficiency in the account opening process in the related art.
[0006] In a first aspect, the present application provides an account opening processing method, comprising: receiving a target account opening event, the target account opening event being generated by a target account opening object based on a target account opening link performing a trigger operation; determining a target promotion object uniquely corresponding to the target account opening link; generating a target customer record corresponding to the target account opening object based on the target promotion object and the target account opening event; storing the target customer record to a customer database.
[0007] In a second aspect, the present application provides an account opening processing device, comprising: a receiving unit configured to receive a target account opening event, the target account opening event being generated by a target account opening object based on a target account opening link performing a trigger operation; a determination unit configured to determine a target promotion object uniquely corresponding to the target account opening link; a generation unit configured to generate a target customer record corresponding to the target account opening object based on the target promotion object and the target account opening event; a storage unit configured to store the target customer record to a customer database.
[0008] In a third aspect, the present application provides an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the executable instructions to perform the method of the first aspect, or any of the possible implementation manners of the first aspect.
[0009] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the method of the first aspect, or any of the possible implementation manners of the first aspect.
[0010] The present application provides a scheme of receiving a target account opening event, the target account opening event is generated by a target account opening object based on a target account opening link performing a trigger operation; determining a target promotion object uniquely corresponding to the target account opening link; based on the target promotion object and the target account opening event, generating a target customer record corresponding to the target account opening object; and storing the target customer record to a customer database. Through the scheme, the target account opening object performs an account opening operation according to the target account opening link, and the target account opening link uniquely corresponds to the target promotion object, thereby automatically completing the attribution and creation of customer information, so as to significantly improve the account opening efficiency and realize the precise attribution between the account opening object and the promotion object. BRIEF DESCRIPTION OF DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings needed to be used in the embodiment or related art description. Obviously, the drawings in the following description are some embodiments of the present application, and those skilled in the art can also obtain other drawings according to these drawings without creative labor. In the drawings: Figure 1 The flowchart of the account opening processing method provided by an embodiment of the present application; Figure 2 The scene diagram of the account opening processing method provided by an embodiment of the present application; Figure 3 The interaction diagram of generating an account opening link provided by an embodiment of the present application; Figure 4 The flowchart of judging the validity of the target account opening event provided by an embodiment of the present application; Figure 5 The structural diagram of the account opening processing device provided by an embodiment of the present application; Figure 6 The structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0012] The embodiments of the present application are described below in detail with examples shown in the drawings. The embodiments described below by referring to the drawings are exemplary and are intended to explain the present application, and cannot be understood as a limitation of the present application.
[0013] The terms "first" and "second" and the like in the specification of the embodiments of the present application, claims, and drawings are used to distinguish similar objects, and are not necessarily used to describe a particular order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the present application can be implemented in other orders than the order illustrated or described in the present application. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or device including a series of steps or units does not necessarily limit to only those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to the process, method, product, or device. It can be understood that, in the specific embodiments of the present application, the related data such as the opening object information and the promotion object information are involved, and when the above embodiments of the present application are applied to specific products or technologies, the user's permission or consent needs to be obtained, and the collection, use, and processing of the related data need to comply with the relevant laws, regulations, and standards of the country and region.
[0014] In the related art, the user new account process usually relies on a timing task to pull the registered user information, and determines the user attribution through manual screening and analysis. This way has poor real-time performance, has a large time delay, and the data is scattered in different modules or systems, forming a data island, which is difficult to integrate and analyze. For example, some systems require promotion personnel to manually fill in user information and submit for approval before they can be entered into the system, increasing the complexity and error risk of the operation. In addition, due to the lack of real-time feedback mechanism, the promotion team is difficult to quickly respond to user behavior, reducing the user conversion efficiency.
[0015] To solve the technical problem, the present application provides an opening processing method, device, equipment and medium, which is used to solve the technical problem of low opening efficiency in the opening process in the related art.
[0016] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described in detail in some embodiments. The embodiments of the present application will be described below with reference to the drawings.
[0017] Please refer to Figures 1 to 2 , Figure 1 A flowchart of an opening processing method provided by an exemplary embodiment of the present application, Figure 2This is a schematic diagram of a scenario for the account opening process provided in the embodiments of this application.
[0018] This method can be executed by a server, a cloud computing platform, or other types of computing devices, and includes at least the following steps 11 to 14: Step 11: Receive the target account opening event. The target account opening event is generated by the target account opening object performing a trigger operation based on the target account opening link.
[0019] like Figure 2 As shown, the Customer Relationship Management (CRM) system can receive event messages from the system based on time, filter target account opening events from the event messages through the channel module, and generate target account opening records based on the target account opening events.
[0020] During the registration or service activation process of the target account holder, the Customer Relationship Management (CRM) system first receives the target account opening event generated by the target account holder based on the target account opening link to initiate the automated account opening process.
[0021] A target account opening event refers to an event related to user registration or service activation triggered by a target account opening object through a target account opening link. For example, when a target account opening object clicks the "Submit Account Opening" button, a target account opening event is generated and reported. The event data information of a target account opening event is usually transmitted in a structured format (such as JSON), containing key information such as the target account opening object's identifier, event name, and promotional slot information. The promotional slot information is used to indicate the information of the target promotional object associated with the target account opening link.
[0022] The target account opening audience refers to users or entities that register or activate services through the target account opening link, such as individual users or enterprise users. The target promotion audience refers to the individuals or teams responsible for promoting and guiding users to open accounts.
[0023] A target account opening link is a short link generated for a target audience that carries specific ad placement information (such as the target audience's ad identifier and the ad group identifier of the target ad group to which the target audience belongs). It is used to track the source of account openings and achieve attribution.
[0024] In some embodiments, receiving a target account opening event includes the following steps 111 to 113: Step 111: Receive event messages through the message queue.
[0025] like Figure 2As shown, the CRM system uses a message queue as an asynchronous communication middleware to receive and buffer a large number of event messages reported by the event system in real time, providing a stable and reliable data flow foundation for subsequent processing.
[0026] In some embodiments, the message queue employs Apache Kafka, a distributed publish-subscribe messaging system. By leveraging Kafka's high throughput, persistence, strong horizontal scalability, and fault tolerance, it ensures that event messages can be collected and delivered in real time without loss, even under scenarios with massive concurrent user access.
[0027] Specifically, such as Figure 2 As shown, the event system acts as a producer. By embedding tracking points in the front-end interface corresponding to the target account opening link, it monitors in real time when the target account opening object performs a key operation on the front-end interface (e.g., clicking the "Submit Account Opening" button). Then, it encapsulates the event data information related to the key operation (e.g., timestamp, event name, account opening object identifier of the target account opening object, and promotional information carried by the target account opening link) into a structured message body (e.g., using JSON format) and publishes it to a pre-specified Kafka topic.
[0028] Meanwhile, the CRM system's message processing service acts as a consumer, subscribing to the aforementioned Kafka topics in the form of one or more consumer groups. Each service instance within a consumer group pulls event messages in parallel, achieving efficient and distributed consumption of event messages. In this way, the CRM system can obtain various event messages triggered by the target account holder throughout the entire registration or service activation process in near real-time, laying a data foundation for subsequent accurate filtering and processing.
[0029] Step 112: Filter based on the event name and promotional information in the event message to obtain the target account opening event. The event name can be used to indicate whether the event message is related to account opening, and the promotional information is used to indicate whether the event message comes from a preset promotional link.
[0030] For each event message successfully retrieved from the message queue, the CRM system needs to perform an efficient filtering process to accurately identify the target account opening events that truly need to be processed and are related to the exclusive account opening link of the promoted target from a massive amount of user behavior events.
[0031] The event filtering process mainly relies on two key fields in the event message: the event name (for example, the element_name field is set in the JSON message for identification) and the promotion position information (for example, the promotion object identifier field and the promotion group identifier field of the promotion group to which the promotion object belongs are set in the JSON message).
[0032] The event name field identifies the event type corresponding to the key operation performed in the front-end interface and is the core basis for determining whether the event message is an account opening related event. For example, the element_name field in the JSON message can be set to open-account-submit to identify the event message as an "account opening submission" event, indicating that the user has completed the submission of the account opening application form.
[0033] Promotional slot information is an identifier used to identify specific information. It can be automatically embedded into a dedicated account opening link by the system. When an event message is reported via a pre-embedded tracking point in the front-end interface corresponding to the target account opening link, this identifier can be written into the event message. In essence, promotional slot information is used to identify information about the object promoting the account opening link. Specifically, it can include the promotional object identifier and the promotional group identifier. For example, in an account opening promotion, promotional slot information is used to identify the specific promoter and their group. After a user opens an account, that user can be identified as a customer of that promoter.
[0034] Step 113: If the event message meets the filtering criteria, the event message is received as the target account opening event; if the event message does not meet the filtering criteria, the event message is filtered.
[0035] The CRM system pre-maintains a dynamically updatable set of filtering rules in memory or a configuration center. After consuming an event message, the processing service parses the message body, extracts the values of the event name and promotion information fields, and compares them with the preset rules.
[0036] The event message will be received as a target account opening event only when the event type indicated by the event name is consistent with the event type corresponding to the preset key operation and the promotion slot information is valid (e.g., the values of the promotion target identifier and the promotion group identifier are within the range of valid promotion slots registered in the system).
[0037] If the current event message does not meet the filtering criteria, the system will perform a filtering operation on the event message.
[0038] To ensure the reliability and consistency of message processing in a distributed environment, and to prevent the same account opening event from being processed repeatedly due to network retransmission, message queue rebalancing, or other anomalies, this application introduces an idempotency verification mechanism. This mechanism is a core technical means to ensure that customer data is not duplicated and that business logic is accurate.
[0039] In some embodiments, after receiving the target account opening event, the method further includes the following steps 101 to 102: Step 101: Determine whether the target message identifier corresponding to the target account opening event already exists in the preset message record table. The message record table is used to record the message identifier corresponding to the processed account opening event message.
[0040] After successfully receiving and initially screening the target account opening events, the CRM system does not immediately perform business logic processing, but first performs an idempotency check.
[0041] The target message identifier is a globally unique identifier assigned by the message queue to the message corresponding to the target account opening event.
[0042] Specifically, the CRM system first determines the target message identifier corresponding to the target account opening event, and then determines whether the target message identifier already exists in the message record table.
[0043] To ensure that multiple processing processes do not process the same message simultaneously in concurrent scenarios, this embodiment employs a distributed lock to lock the target message identifier. Specifically, before performing a query operation, the system first acquires a distributed lock associated with the target message identifier. Only the process that successfully acquires the lock can continue to execute subsequent judgments and business processing; other processes wait or skip. After completing message processing and recording the target message identifier in the message record table, the system releases the lock. In this way, this embodiment ensures that the same message is not consumed repeatedly by multiple processing processes in a concurrent environment, thereby guaranteeing data consistency and reliability.
[0044] Step 102: If it does not exist, continue to execute the steps of determining the target promotion object that uniquely corresponds to the target account opening link, generating the target customer record corresponding to the target account opening object based on the target promotion object and the target account opening event, storing the target customer record in the customer database, and recording the target message identifier in the message record table; if it already exists, skip the processing of the target account opening event.
[0045] If the target message identifier does not exist in the message record table, it means that the CRM system has not processed the target account opening event before. Therefore, the CRM system continues to execute the subsequent core business steps, including: identifying the target promotion object that uniquely corresponds to the target account opening link, generating the target customer record corresponding to the target account opening object based on the target promotion object and the target account opening event, storing the target customer record in the customer database, and persisting the target message identifier as a new record in the message record table.
[0046] If the target message identifier already exists in the message record table, it means that the target account opening event has been successfully processed by the system. Processing it again would result in the creation of duplicate target customer records, causing business data chaos. The system will skip all subsequent business processing steps.
[0047] Through the above-described idempotency verification process, the embodiments of this application effectively solve the problem of message duplication in distributed systems, ensuring the high reliability and data accuracy of automated account opening processes.
[0048] Step 12: Identify the target promotion object that uniquely corresponds to the target account opening link.
[0049] Upon receiving a target account opening event, the target promotion object is determined based on the event data information of the target account opening event. The target promotion object and the target account opening link are in one-to-one correspondence.
[0050] Specifically, the event data information of the target account opening event includes promotional placement information, which includes, for example, the promotional object identifier of the target promotional object and the promotional group identifier of the target promotional group to which the target promotional object belongs.
[0051] By querying the mapping relationship between the promotion slot information stored in the attribution system and the target promotion object, the target promotion object that uniquely corresponds to the target account opening link can be obtained.
[0052] This step allows the system to accurately identify the source of the user who triggered the target account opening event, providing a basis for subsequent customer attribution and allocation.
[0053] Step 13: Based on the target promotion object and the target account opening event, generate the target customer record corresponding to the target account opening object.
[0054] Based on the target account opening event received in step 11 and the target promotion object determined in step 12, a target customer record corresponding to the target account opening object is generated to achieve structured storage of user information and accurate tracking of promotion attribution.
[0055] In some embodiments, a target customer record corresponding to the target account opening object is generated based on the target promotion object and the target account opening event, including the following steps 131 to 133: Step 131: Obtain the event data information corresponding to the target account opening event.
[0056] First, obtain the event data information corresponding to the target account opening event to provide basic data for generating target customer records.
[0057] Event data information for the target account opening event is transmitted in a structured format (such as JSON).
[0058] In some embodiments, the event data information for the target account opening event includes the following fields: Page path: Indicates the target account opening link accessed when the target account opening object triggers the target account opening event; Event Name: This field indicates the type of the target account opening event that was triggered. Each event name points to a unique event type. You can determine whether the event data is an account opening event based on the event name field. User ID: The account opening object identifier used to indicate the target account opening object that triggered the target account opening event; Promotion information: This includes promotion identifier, promotion sub-identifier, promotion target identifier, and promotion group identifier; among them, promotion identifier and promotion sub-identifier: are used to indicate the promotion activity associated with the target account opening link; promotion target identifier: is used to indicate the target promotion target that uniquely corresponds to the target promotion link; promotion group identifier: is used to indicate the target promotion group to which the target promotion target belongs; Global content: Used to indicate custom information attached to the target account opening event, providing extensibility to support additional business data.
[0059] Step 132: Generate initial customer records based on event data information.
[0060] Based on the event data information extracted in step 131, an initial customer record is created to record the basic information of the target account holder.
[0061] In some embodiments, the initial customer record includes, but is not limited to, fields such as the target account opener's identifier (e.g., user ID) and event name. For example, if the event name of the target account opening event is "open-account-submit," a record entry containing basic information about the target account opener will be generated based on information such as the user identifier and registration time in the event data. This initial customer record does not yet contain promotional attribution information; it serves only as the basic structure of customer information, preparing for the subsequent addition of promotional attribution information.
[0062] Step 133: Add promotional attribution information to the initial customer record based on the target promotion object to obtain the target customer record.
[0063] After generating the initial customer record, promotional attribution information is added to the initial customer record according to the target promotion object determined in step 12, thereby forming a complete target customer record.
[0064] Among them, the promotion attribution information is promotion-related data used to identify the source of the target account opening object, which may include the promotion object identifier of the target promotion object and the promotion group identifier of the target promotion group to which the target promotion object belongs.
[0065] Step 14: Store the target customer records in the customer database.
[0066] Persistently store target customer records in a customer database (such as a relational database like MySQL or PostgreSQL, or a search database like Elasticsearch) to complete the entry of customer information.
[0067] To ensure data consistency and achieve data closure, the channel module can synchronize key account opening object identifiers to the customer module after processing, thus ensuring data consistency.
[0068] In some embodiments, after storing the target customer records in the customer database, the target customer records can also be sent to the client logged in by the promotion object corresponding to the promotion object identifier, and / or to the client logged in by the group member object corresponding to the promotion group identifier, based on the promotion attribution information corresponding to each target customer record, so that the promotion object and / or the corresponding promotion group can receive new customer records for customer maintenance.
[0069] Furthermore, in some embodiments, the promotion object identifier and promotion group identifier are obtained from the promotion attribution information. The association path relationship between the promotion object corresponding to the promotion object identifier and other member objects in the promotion group corresponding to the promotion group identifier can also be obtained based on the promotion object identifier and promotion group identifier. The association path relationship can be a tree structure, used to describe the association relationship information between the promotion object corresponding to the promotion object identifier and other member objects in the promotion group corresponding to the promotion group identifier. The association relationship information includes, but is not limited to, hierarchical relationships, sibling relationships, etc. Different association relationships include different degrees of association. For example, the association path relationship includes multiple nodes, each node corresponding to a member object in the promotion group (including the promotion object corresponding to the promotion object identifier). The parent node and child node have a hierarchical relationship. The degree of association between the parent node and the child node can be... 1. The association degree between a child node and its parent node can be 0.8. Nodes at the same level are considered siblings, and the association degree between nodes at the same level can be 0.5, etc. Furthermore, based on the association path relationship, the association degree between the promotion object corresponding to the promotion object identifier and other member objects in the promotion group corresponding to the promotion group identifier can be obtained. Specifically, the shortest path between the promotion object corresponding to the promotion object identifier and other member objects in the promotion group corresponding to the promotion group identifier can be obtained, and the association degree between the promotion object and the member object can be determined based on the association relationship information corresponding to the shortest path. Finally, target member objects with an association degree greater than a preset association degree threshold are obtained from the promotion group corresponding to the promotion group identifier, so that the target customer record is sent to the client logged in by the target member object.
[0070] In some embodiments, after storing the target customer records in the customer database, the method further includes: The message push service is invoked to send a real-time account opening success notification to the target audience. The notification content can include the target audience's information so that they can follow up in a timely manner.
[0071] Before receiving a target account opening event, a target account opening link needs to be generated for the target promotion target to support the subsequent user registration or service activation process and to achieve accurate tracking of customer sources. The following describes the process of generating the target account opening link.
[0072] In some embodiments, before receiving the target account opening event, the method further includes the following steps 01 to 02: Step 01: In response to the information entry event of the target promotion object, obtain the promotion object identifier of the target promotion object and the promotion group identifier of the target promotion group to which the target promotion object belongs; Step 02: Generate target account opening links based on the promotion target identifier and the promotion group identifier.
[0073] When the information of the target promotion object is entered into the CRM system, the CRM system responds to the information entry event and obtains the promotion object identifier of the target promotion object and the promotion group identifier of the target promotion group to which the target promotion object belongs.
[0074] Specifically, the CRM system can parse the data from information entry events to extract the target audience's referral identifier and the referral group identifier of its target referral group, and record them in the CRM system's referral database. These identifiers are used to associate the target audience with subsequent account opening events, ensuring the accuracy of attribution.
[0075] Based on the acquired target audience identifier and promotion group identifier, the CRM system calls the attribution system API to generate a target account opening link. The target account opening link is a short link carrying promotional information about the target audience, including the target audience identifier and promotion group identifier, used to track the source of the target account opening object registered through this link.
[0076] Please see Figure 3 , Figure 3This is an interactive diagram illustrating the generation of an account opening link provided in this application embodiment. This process is completed collaboratively by the CRM basic service and the attribution system. If the target promotion group (team) has not been initialized in the attribution system, the CRM basic service will first send a request to the attribution system to create a team promotion slot corresponding to the target promotion group; after the team promotion slot is successfully created, it will send another request to create a sub-promotion slot for the target promotion object. If the promotion group has already been initialized in the attribution system, the CRM basic service will directly send a request to the attribution system to create the target account opening link.
[0077] After any of the above processes are completed, the attribution system will generate and return a target account opening link carrying promotional placement information (including promotional group identifier and promotional target identifier). The CRM system will store the target account opening link and provide it to the corresponding target promotional target.
[0078] In some embodiments, before generating the target customer record corresponding to the target account opening object, the method further includes: Determine whether the target account opening event is a valid account opening event; If the target account opening event is determined to be a valid account opening event, a target customer record corresponding to the target account opening object is generated. Determining whether a target account opening event is a valid account opening event includes at least one of the following: Determine whether the target account holder is an existing customer; Determine whether the target account holder is an invalid customer; Determine whether the target account opening applicant is already in the account opening approval process.
[0079] Please see Figure 4 , Figure 4 This is a schematic diagram illustrating the validity determination process for a target account opening event provided in this application embodiment. Before generating the customer record corresponding to the target account opening event, the CRM system introduces a crucial validity verification step. This step ensures that the customers to be subsequently entered into the system are high-quality, valid, and unique, avoiding duplicate or invalid data from the source, thereby maintaining the data cleanliness and business accuracy of the CRM system.
[0080] If the target account opening event is determined to be a valid account opening event, the system continues with subsequent operations, generating a target customer record and storing it in the customer database. If the target account opening event is determined to be an invalid account opening event, the system terminates the current processing flow and may record an audit log or trigger an alarm according to the configuration.
[0081] Among them, such as Figure 4 As shown, determining whether a target account opening event is a valid account opening event involves, but is not limited to, one or a combination of the following judgment logic: Determine if the target account holder is an existing customer: Specifically, such as...Figure 4 As shown, the system first performs a cross-team (group) customer duplicate check. If the target account opening object already exists in the system, it is determined to be an already opened account customer. Subsequently, a same-team customer duplicate check is performed to identify whether the target account opening object already exists in the same promotion team. If the query results confirm that the target account opening object already exists and its status is "opened account" or "valid customer", the target account opening event is determined to be a duplicate account opening event, which is an invalid account opening event. Determine if the target account opening object is an invalid customer: Based on predefined business rules, determine whether the target account opening object belongs to the category of invalid customers. In some embodiments, the criteria for determining an invalid customer include: detecting whether the target account opening object comes from a blacklist, detecting whether the account opening request corresponding to the target start event originates from an invalid IP address or device fingerprint, etc. If the target account opening object is determined to be an invalid customer, then the target account opening event is determined to be an invalid account opening event; Determine if the target account opening object is already in the account opening approval process: Check if the target account opening object already exists in the CRM system as a "sales lead" or "customer under approval" and is being followed up or awaiting approval by other promotion objects. If a matching record is found, it indicates that the target account opening object has been developed or is being processed by other promotion objects. At this time, the target account opening event is determined to be an invalid account opening event.
[0082] In any deduplication or validity check, if the target account opening object is found to be duplicated or invalid, the system will perform the corresponding processing: usually, the target account opening event will be deleted to avoid duplicate processing, and a message will be sent to notify the relevant promotion object.
[0083] By introducing the aforementioned multi-level and multi-dimensional validity verification process, the rigor and intelligence of automated processing are ensured. It not only replaces manual labor in terms of efficiency, but also surpasses manual operation in terms of accuracy and risk control, thus guaranteeing data quality from the source.
[0084] To ensure eventual consistency of messages and to address various anomalies that may occur during system operation, this application embodiment also provides an anomaly handling and message recovery mechanism to ensure that all account opening events can be reliably processed.
[0085] In some embodiments, the method further includes steps 15 to 16: Step 15: Determine the abnormal account opening event messages in the message queue based on a preset period.
[0086] Specifically, the system will run a scheduled task in the background to scan the message consumption status table at a preset period (e.g., every hour or every four hours). This scheduled task is used to identify abnormal account opening event messages that are in an abnormal consumption state in the message consumption status table. The message consumption status table is used to record the consumption status of account opening related event messages, such as message identifier, message content, consumption status, creation time and update time. Consumption status includes, for example, not consumed, consuming in progress, consuming successfully, consuming failed, etc.
[0087] Abnormal account opening event messages include messages such as messages that the consumption status has been in the "consuming" state for more than a preset threshold, and messages that the consumption status has been in the "consumption failed" state.
[0088] The scheduled task filters out abnormal account opening event messages by querying the consumption status field in the message consumption status table.
[0089] Step 16: Reprocess the abnormal account opening event message.
[0090] For abnormal account opening event messages, these messages will be reprocessed to restore their normal flow. The reprocessing method usually simulates a new message consumption process: for example, it includes re-fetching abnormal account opening event messages, re-performing idempotency checks and validity judgments on abnormal account opening event messages, and subsequent customer record generation and storage steps.
[0091] After successful reprocessing, update the consumption status of the corresponding message in the message consumption status table to "consumption successful".
[0092] The solution provided in this application, which involves receiving a target account opening event (generated by a target account opening object performing a triggering operation based on a target account opening link), identifying a target promotion object uniquely corresponding to the target account opening link, generating a target customer record corresponding to the target account opening object based on the target promotion object and the target account opening event, and storing the target customer record in a customer database, automatically completes the attribution and creation of customer information by enabling the target account opening object to perform an account opening operation based on the target account opening link, where the target account opening link uniquely corresponds to the target promotion object. This achieves the technical effect of significantly improving account opening efficiency and realizing accurate attribution between the account opening object and the promotion object.
[0093] Figure 5 A schematic diagram of the structure of an account opening processing device provided for an exemplary embodiment of this application; The device includes: Receiving unit 51 is used to receive target account opening event, which is generated by the target account opening object performing a trigger operation based on the target account opening link; Unit 52 is used to identify the target promotion object that uniquely corresponds to the target account opening link; The generation unit 53 is used to generate target customer records corresponding to the target account opening object based on the target promotion object and the target account opening event; Storage unit 54 is used to store target customer records into the customer database.
[0094] In some embodiments, before receiving the target account opening event, the apparatus is further configured to: In response to the information entry event of the target promotion object, obtain the promotion object identifier of the target promotion object and the promotion group identifier of the target promotion group to which the target promotion object belongs; Target account opening links are generated based on the target audience identifier and the promotion group identifier.
[0095] In some embodiments, when the apparatus generates a target customer record corresponding to the target account opening object based on the target promotion object and the target account opening event, it is specifically used for: Obtain the event data information corresponding to the target account opening event; Generate initial customer records based on event data information; Add promotional attribution information to the initial customer records based on the target audience to obtain the target customer records.
[0096] In some embodiments, before generating the target customer record corresponding to the target account opening object, the apparatus is further configured to: Determine whether the target account opening event is a valid account opening event; If the target account opening event is determined to be a valid account opening event, a target customer record corresponding to the target account opening object is generated. Determining whether a target account opening event is a valid account opening event includes at least one of the following: Determine whether the target account holder is an existing customer; Determine whether the target account holder is an invalid customer; Determine whether the target account opening applicant is already in the account opening approval process.
[0097] In some embodiments, when the apparatus is used to receive a target account opening event, it is specifically used to: Receive event messages via message queue; The target account opening event is obtained by filtering based on the event name and promotion information in the event message. The event name is used to indicate whether the event message is related to account opening, and the promotion information is used to indicate whether the event message comes from a preset promotion link. If the event message meets the filtering criteria, the event message will be received as the target account opening event; If the event message does not meet the filtering criteria, filter the event message.
[0098] In some embodiments, the apparatus is further configured to: Determine abnormal account opening event messages in the message queue based on a preset period; The abnormal account opening event message was reprocessed.
[0099] In some embodiments, after receiving the target account opening event, the apparatus is further configured to: Determine whether the target message identifier corresponding to the target account opening event already exists in the preset message record table. The message record table is used to record the message identifiers corresponding to processed account opening event messages. If it does not exist, continue to execute the steps of determining the target promotion object that uniquely corresponds to the target account opening link, generating the target customer record corresponding to the target account opening object based on the target promotion object and the target account opening event, storing the target customer record in the customer database, and recording the target message identifier in the message record table; If the target account opening event already exists, skip processing the target account opening event.
[0100] It should be understood that the device embodiments and method embodiments can correspond to each other, and similar descriptions can be referred to the method embodiments. To avoid repetition, they will not be repeated here. Specifically, the device can execute the above method embodiments, and the foregoing and other operations and / or functions of each module in the device correspond to the corresponding processes in the various methods in the above method embodiments, which will not be repeated here for the sake of brevity.
[0101] The apparatus of this application embodiment has been described above from the perspective of functional modules in conjunction with the accompanying drawings. It should be understood that this functional module can be implemented in hardware, in software instructions, or in a combination of hardware and software modules. Specifically, the steps of the method embodiments in this application can be completed by integrated logic circuits in the processor's hardware and / or by software instructions. The steps of the method disclosed in this application embodiment can be directly embodied as being executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. Optionally, the software module can reside in a mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps in the above method embodiments.
[0102] Figure 6 This is a schematic block diagram of an electronic device provided in an embodiment of this application. The electronic device may include: The system includes a memory 601 and a processor 602. The memory 601 stores computer programs and transfers the program code to the processor 602. In other words, the processor 602 can retrieve and run the computer programs from the memory 601 to implement the methods described in the embodiments of this application.
[0103] For example, the processor 602 can be used to execute the above-described method embodiments according to instructions in the computer program.
[0104] In some embodiments of this application, the processor 602 may include, but is not limited to: General-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0105] In some embodiments of this application, the memory 601 includes, but is not limited to: Volatile memory and / or non-volatile memory. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DR RAM).
[0106] In some embodiments of this application, the computer program may be divided into one or more modules, which are stored in the memory 601 and executed by the processor 602 to perform the method provided in this application. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program in the electronic device.
[0107] like Figure 6 As shown, the electronic device may also include: Transceiver 603, which may be connected to processor 602 or memory 601.
[0108] The processor 602 can control the transceiver 603 to communicate with other devices; specifically, it can send information or data to other devices or receive information or data sent by other devices. The transceiver 603 may include a transmitter and a receiver. The transceiver 603 may further include antennas, and the number of antennas may be one or more.
[0109] It should be understood that the various components in the electronic device are connected through a bus system, which includes a data bus, a power bus, a control bus, and a status signal bus.
[0110] This application also provides a computer storage medium storing a computer program thereon, which, when executed by a computer, enables the computer to perform the methods of the above-described method embodiments. Alternatively, embodiments of this application also provide a computer program product containing instructions that, when executed by a computer, cause the computer to perform the methods of the above-described method embodiments.
[0111] When implemented using software, it can be implemented entirely or partially as a computer program product. This computer program product includes one or more computer instructions. When these computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital video disc (DVD)), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0112] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0113] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.
[0114] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. For example, the functional modules in the various embodiments of this application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
[0115] In the embodiments of this application, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0116] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. An account opening processing method, characterized in that, include: Receive a target account opening event, which is generated by the target account opening object performing a triggering operation based on the target account opening link; Identify the target promotion object that uniquely corresponds to the target account opening link; Based on the target promotion object and the target account opening event, generate a target customer record corresponding to the target account opening object; The target customer records are stored in the customer database.
2. The method according to claim 1, characterized in that, Before receiving the target account opening event, the method further includes: In response to the information entry event of the target promotion object, obtain the promotion object identifier of the target promotion object and the promotion group identifier of the target promotion group to which the target promotion object belongs; A target account opening link is generated based on the promotion target identifier and the promotion group identifier.
3. The method according to claim 1, characterized in that, The step of generating a target customer record corresponding to the target account opening object based on the target promotion object and the target account opening event includes: Obtain the event data information corresponding to the target account opening event; Generate initial customer records based on the event data information; Based on the target audience, add promotional attribution information to the initial customer record to obtain the target customer record.
4. The method according to claim 1, characterized in that, Before generating the target customer record corresponding to the target account opening object, the method further includes: Determine whether the target account opening event is a valid account opening event; If the target account opening event is determined to be a valid account opening event, a target customer record corresponding to the target account opening object is generated. Determining whether the target account opening event is a valid account opening event includes at least one of the following: Determine whether the target account opening object is an existing account customer; Determine whether the target account holder is an invalid customer; Determine whether the target account opening applicant is already in the account opening approval process.
5. The method according to claim 1, characterized in that, Receive target account opening events, including: Receive event messages via message queue; The target account opening event is obtained by filtering based on the event name and promotional information in the event message. The event name is used to indicate whether the event message is an account opening related event, and the promotional information is used to indicate whether the event message comes from a preset promotional link. If the event message meets the filtering criteria, the event message will be received as the target account opening event; If the event message does not meet the filtering criteria, the event message is filtered.
6. The method according to claim 5, characterized in that, The method further includes: The abnormal account opening event messages in the message queue are determined based on a preset period. The abnormal account opening event message is reprocessed.
7. The method according to claim 5, characterized in that, After receiving the target account opening event, the method further includes: Determine whether the target message identifier corresponding to the target account opening event already exists in a preset message record table, wherein the message record table is used to record the message identifier corresponding to the processed account opening event message; If it does not exist, continue to execute the steps of determining the target promotion object that uniquely corresponds to the target account opening link, generating a target customer record corresponding to the target account opening object based on the target promotion object and the target account opening event, storing the target customer record in the customer database, and recording the target message identifier in the message record table; If the target account opening event already exists, skip the processing of the target account opening event.
8. An account opening processing device, characterized in that, include: A receiving unit is used to receive a target account opening event, which is generated by the target account opening object performing a triggering operation based on the target account opening link. The determining unit is used to determine the target promotion object that uniquely corresponds to the target account opening link; The generation unit is used to generate a target customer record corresponding to the target account opening object based on the target promotion object and the target account opening event; A storage unit is used to store the target customer records into a customer database.
9. An electronic device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to execute the method of any one of claims 1-7 by executing the executable instructions.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1-7.