Construction of multi-dimensional behavior data portrait of customers and personalized recommendation system

By building transaction interruption handling and demand recovery modules in the e-commerce platform, the problem of discrepancies between order record status and actual demand status caused by returns, exchanges, and order re-creation was solved, enabling accurate profiling and personalized recommendations based on multi-dimensional customer behavior data.

CN122964367BActive Publication Date: 2026-11-20ANKANG UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611464978.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-09-20
Publication Date
2026-11-20
Estimated Expiration
2046-09-20

AI Technical Summary

Technical Problem

When existing e-commerce platforms process returns, exchanges, and order re-creation, discrepancies arise between the order record status of customers' multidimensional behavioral data and the actual demand status, leading to a decrease in the accuracy of personalized recommendations.

Method used

By combining the transaction interruption handling module, demand recovery module, profile building module, and recommendation module, and by combining structured business reasons and business rules at the time of interruption, demand interruption anchor points are formed. The demand state before the interruption is restored along the migration path, the customer demand attribution is determined, and a unique demand-level profile record is generated for personalized recommendations.

Benefits of technology

It effectively restores multiple transaction records generated by returns, exchanges, and re-orders to continuous purchase demand, isolates changes in the transaction process from changes in the customer's actual preferences, and improves the reliability and consistency of personalized recommendations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122964367B_ABST
    Figure CN122964367B_ABST
Patent Text Reader

Abstract

The application discloses a customer multi-dimensional behavior data portrait construction and individualized recommendation system and relates to the technical field of electronic commerce business data processing; the technical points are as follows: demand interruption anchor points are formed according to transaction interruption events and the business migration range is limited, the migration path verification is performed on the candidate transaction, the same path reverse recovery and the quantity constraint mutual exclusion attribution are performed, and the continuous purchase demand state chain is formed; the customer demand attribution is determined according to the attribute change, the structured business reason and the business migration permission, and the portrait evidence to be closed is formed; the unique demand level portrait record is generated after the demand is closed, and the recommendation result is generated according to the commodity level demand fact and the closed support attribute adaptation evidence; the application can distinguish the transaction process change from the real customer demand change, avoid the portrait evidence formed by the same continuous demand from interfering with each other, and improve the customer portrait consistency and the recommendation reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of e-commerce business data processing technology, specifically to a system for constructing profiles of customers' multi-dimensional behavioral data and providing personalized recommendations. Background Technology

[0002] As e-commerce platforms increasingly demand more refined customer operations, customer profiles are gradually being used in business processes such as product recommendations, customer relationship management, and marketing decisions. Existing systems typically update customer preference information based on their product browsing process and transaction results on the platform, and determine subsequent product recommendations accordingly. For example, in the apparel e-commerce scenario, after a customer views a certain style multiple times, they purchase a black medium-sized item. After the transaction is completed, the corresponding style, brand, and specification information can serve as a reference for subsequent customer profile updates.

[0003] However, the formation of e-commerce transaction records is also affected by the actual order processing flow. If a customer finds that the size is not suitable after receiving the goods and applies to exchange for a larger size, the platform may first process the return and refund of the original order, and then generate a new transaction record for the same style. If the inventory of the original specification changes during the exchange period, a new product specification record may also be generated. For the customer, this process usually still corresponds to the continuation of the same purchase demand, but from the data structure of the e-commerce business system, the process has formed multiple records with different order numbers and transaction statuses, and they have entered the customer behavior data processing stage respectively.

[0004] Existing customer profiles are typically based on the results of existing orders and their subsequent status to determine the impact of corresponding behaviors on customer preferences. This approach can meet the profile update needs in general transaction scenarios. However, when the same purchase demand continues to exist across multiple orders due to returns, fulfillment adjustments, or re-establishment of orders, there may be boundary differences between the business status reflected in the order records and the actual customer demand status.

[0005] Taking the aforementioned clothing exchange as an example, if a refund is issued for a medium-sized item, and this refund record is directly included in the customer profile update, it may simultaneously affect the system's judgment of the customer's style, brand, and size preferences. Furthermore, if the customer subsequently purchases the same large-sized item, it will create new purchase evidence. This results in the same ongoing demand corresponding to multiple sets of transaction information with different directions in the customer profile. As similar situations accumulate, they will affect the e-commerce platform's business decisions regarding determining customer demand characteristics based on historical transaction behavior and executing personalized product recommendations accordingly. Therefore, in the process of building customer profiles based on multi-dimensional customer behavior data, how to combine order status changes to identify ongoing purchase demands corresponding to cross-order transaction records, and how to reasonably distinguish between status changes generated by the transaction process and changes in the customer's actual preferences, are issues that need to be further addressed in e-commerce customer profiling and personalized recommendation businesses. Summary of the Invention

[0006] To achieve the above objectives, the present invention provides the following technical solution: A customer profiling and personalized recommendation system based on multi-dimensional behavioral data, including: The transaction interruption handling module determines the demand status before the interruption based on the transaction status before the interruption and the product attributes confirmed by the customer, and forms a demand interruption anchor point by combining the structured business reasons and the business rules at the time of the interruption and limits the scope of business migration. The demand recovery module obtains candidate transactions based on the demand interruption anchor point, forms migration paths according to business events, verifies that the migration paths meet the business migration scope, and restores the demand state before the interruption along the same path in reverse. It also performs quantity constraint mutual exclusion on the verified candidate transactions to form a continuous purchase demand state chain. The profile building module determines customer demand attribution based on attribute changes and structured business reasons in the continuous purchase demand state chain. Attribute changes with customer demand attribution form evidence for the profile to be closed, while attribute changes without customer demand attribution retain the demand evidence before the change. The recommendation module determines the demand closure status based on the subsequent business processing eligibility, business processing status, and undetermined candidate transactions at each end of the continuous purchase demand state chain. After the demand is closed, a unique demand-level profile record is generated and written into the customer profile based on the continuous purchase demand state chain and the profile evidence to be closed. Personalized recommendation results are generated based on the product-level demand facts and the closure support attribute adaptation evidence.

[0007] Furthermore, the specific operations for determining the demand state before the interruption and forming the demand interruption anchor point are as follows: The scope of handling should be determined based on the actual goods and quantities affected by the transaction disruption event; Read the last valid transaction status before the interruption, and determine the product attributes that were confirmed by the customer and retained until the order was submitted from the product attribute operation record; The demand status before the interruption is determined based on the last valid transaction status and product attributes, forming a demand interruption anchor point.

[0008] Furthermore, the specific steps for limiting the scope of business migration are as follows: Based on the reasons for the structured business, the processing branch is determined in the business rules during the interruption. The processing branch determines the status transition of the candidate transaction, the acceptance of goods, the acceptance of quantities, and the permission for changes in goods attributes confirmed by the customer. If the scope of the business migration can be determined by the processing branch, the requirement recovery of the corresponding processing branch will be executed. If the scope of the business migration cannot be determined by the processing branch, the requirement interruption anchor point will be retained and the requirement recovery of the corresponding processing branch will be stopped.

[0009] Furthermore, the specific operations for verifying that the migration path meets the business migration scope and for restoring the pre-interruption required state along the same path in reverse are as follows: According to the migration path from the demand state before the business event is interrupted to the candidate transaction, verify each migration edge to see if it meets the business migration scope. For the verified migration path, restore the complete preceding requirement state edge by edge in reverse order; If there are customer-confirmed product attributes in the demand state before the interruption, all customer-confirmed product attributes in the same complete preceding demand state are consistent with the corresponding product attributes in the demand interruption anchor point, and the candidate transaction is determined to be restored through demand. If the demand status before the interruption does not have the product attributes confirmed by the customer, the candidate transaction is determined to be restored through demand based on the direct business acceptance relationship and the verification results of state transition, product acceptance and quantity acceptance.

[0010] Furthermore, the specific operation for implementing quantity constraint mutual exclusion attribution for verified candidate transactions is as follows: A portfolio is formed based on the unique ownership of candidate transactions and the number of transactions accepted being within the corresponding demand range. First, select the group with the largest total number of candidate transaction acceptance demands. Then, select the group with fewer migration edges that lack direct business acceptance relationships recorded in the order system. When the number of migration edges is the same, select the group with fewer attribute changes not explained by the business migration scope. If there are still multiple attribution combinations and the attribution objects of the same candidate transaction are different, the corresponding candidate transaction will be identified as an attribution-undetermined candidate transaction.

[0011] Furthermore, the specific steps for determining customer demand attribution are as follows: For attribute changes that actually occur and obtain business migration permission in the continuous purchase demand state chain, read the structured business reasons for the corresponding migration edge; Structured business reasons characterize adjustments to customer needs, and when the scope of the business rules determines the changes in attributes during the interruption, the changes in attributes are determined to be attributable to customer needs.

[0012] Furthermore, the specific procedures for forming evidence to be closed and maintaining the required evidence before changes are as follows: For attribute changes that have customer demand attribution, the demand evidence corresponding to the demand quantity share is updated with the changed attribute, and the attribute adjustment relationship is saved to form a profile evidence to be closed. For attribute changes that did not lead to customer demand attribution, retain evidence of the demand before the change; When the scope of a business rule for a structured business interruption includes multiple product attributes, the attribute adjustment relationship is saved according to the complete attribute combination and associated with the corresponding demand quantity share.

[0013] Furthermore, the specific steps to determine the closed-loop state of the demand are as follows: The eligibility for subsequent business processing is determined based on the interruption rules in the corresponding demand interruption anchor point at each demand end. When the end of the demand reaches the final state and the relevant business event data has been fully received, the qualification for subsequent business processing is terminated. When the end of the demand has not reached the final state, the qualification for subsequent business processing is terminated when the processing period expires and the relevant business event data has been fully received. When the business processing of a candidate transaction whose attribution is undetermined is completed, and the relevant business event data has been fully received but a unique attribution has not yet been formed, the candidate transaction will be removed from the closed-loop judgment condition at the corresponding demand end. When the eligibility for subsequent business processing at each end of the demand is terminated, the business processing status is all completed, and there are no candidate transactions whose attribution is still undetermined and are still participating in the closure determination, the demand closure status is determined.

[0014] Furthermore, the specific steps for generating a unique demand-level profile record based on the continuous purchase demand state chain and the pending profile evidence are as follows: Analyze the evidence for the pending profile based on the final business results of the demand quantity share; When the changed attributes with customer demand attribution are actually realized in the corresponding demand quantity share, and the corresponding demand quantity share is closed with the business result of the customer-retained attribute state, a closed supporting attribute adaptation evidence is formed. The product-level demand facts and the attribute evidence that has been closed and determined are combined to form a unique demand-level profile record.

[0015] Furthermore, the specific steps for generating personalized recommendation results based on demand-level profile records are as follows: The recommended product range is determined based on the product hierarchy demand facts recorded in the demand-level profile. The recommendation order of corresponding product attributes is adjusted based on the closure support attribute adaptation evidence to generate personalized recommendation results.

[0016] This invention provides a customer profile building and personalized recommendation system based on multi-dimensional behavioral data, which has the following beneficial effects: 1. This invention fixes the customer's pre-interruption demand state when a transaction is interrupted, and forms a demand interruption anchor point by combining structured business reasons and business rules at the time of interruption. Through forward verification of migration path, reverse recovery of same path, and mutual exclusion of quantity constraints, multiple transaction records formed by returns, re-fulfillment, or re-establishment of orders are restored to the corresponding continuous purchase demand, avoiding the same purchase demand being split into multiple independent profile events.

[0017] 2. This invention further determines customer demand attribution based on actual attribute changes, business migration permissions, and structured business reasons. Only attribute changes that can be attributed to adjustments in customer demand are used to form evidence for a pending profile. Attribute changes generated by business processes such as inventory, logistics, and platform fulfillment are isolated from changes in actual customer preferences, thus preventing changes in transaction processes from directly contaminating the customer profile.

[0018] 3. This invention generates a unique demand-level profile record after the continuous purchase demand is closed, and makes personalized recommendations based on the product-level demand facts and the closure support attribute adaptation evidence, so that the profile update object is upgraded from scattered orders to continuous purchase demand, thereby improving the consistency of customer demand characteristics and the reliability of personalized recommendation basis. Attached Figure Description

[0019] Figure 1 This is a schematic diagram illustrating the process of restoring cross-order transaction records to continuous purchase demand according to the present invention; Figure 2 This is a schematic diagram illustrating the customer demand attribution, demand closure, and personalized recommendation process of the present invention. Detailed Implementation

[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0021] Please see Figure 1 and Figure 2 This embodiment provides a customer multi-dimensional behavioral data profile building and personalized recommendation system, including a transaction interruption handling module, a demand recovery module, a profile building module, and a recommendation module.

[0022] The transaction interruption handling module determines the pre-interruption demand state based on the transaction interruption event, the pre-interruption transaction state, and the product attributes confirmed by the customer. It then combines the structured business reasons and the business rules at the time of the interruption to form a demand interruption anchor point and limit the business migration scope. The demand recovery module obtains candidate transactions based on the demand interruption anchor point, forms migration paths according to business events, verifies that the migration paths meet the business migration scope, and restores the pre-interruption demand state along the same path. For verified candidate transactions, it applies quantity constraints and mutual exclusion attribution, forming a continuous purchase demand state chain. The profile building module determines customer demand attribution based on attribute changes in the continuous purchase demand state chain and the structured business reasons. Attribute changes with customer demand attribution form pending profile evidence, while attribute changes without customer demand attribution retain the pre-change demand evidence. The recommendation module determines the demand closure state based on the subsequent business processing eligibility, business processing status, and undetermined attribution of candidate transactions at each end of the continuous purchase demand state chain. After demand closure, it generates a unique demand-level profile record based on the continuous purchase demand state chain and pending profile evidence and writes it into the customer profile. Personalized recommendation results are generated based on product-level demand facts and closure-supporting attribute adaptation evidence.

[0023] Transaction interruption events, product attribute operation records, and order associations are read by the transaction system and after-sales system interfaces. During the interruption, business rules and historical product attribute relationships are read by the rule base or rule service. The complete reception status of business event data is obtained by the message queue or data synchronization interface. Each record retains the customer and product identifiers, quantities, business status, business event time, structured business reasons, product attributes, and business association information required for subsequent verification. Data storage and recommendation result output call existing business interfaces. Data objects generated during demand recovery are only used for profile processing and do not modify the status of already effective orders.

[0024] Before entering the processing chain, the integrity of necessary fields affecting object attribution, quantity relationship and event sequence is checked; if necessary fields are missing or key fields of the same event conflict, it is recorded as data pending confirmation. Automatic requirement recovery and customer requirement attribution are not performed before confirmation, and the closure of directly related requirement ends is prevented. The business event time of different business systems is unified to the same time base; if the business event time is the same, the order is determined by business sequence number or status version number. If it still cannot be determined, migration edge is not constructed. Duplicate events are deduplicated by event identifier and business version.

[0025] The demand quantity, the affected quantity, and the actual received quantity are directly compared only when the units of quantity are consistent. When different commodity transaction units use different units of quantity such as pieces, sets, packages, weight, or capacity, they are converted to the same transaction unit of measurement only according to the commodity packaging relationship that can be traced when the transaction interruption event takes effect or the unit conversion relationship in the business rules at the time of the interruption. When there is no definite conversion relationship, the quantity received relationship is recorded as uncertain, and different units of quantity are not directly added, subtracted, or compared.

[0026] In this implementation, the processing object boundary is determined by the actual goods and quantities affected by the transaction interruption event. Goods and quantities in the same order that are not affected by the transaction interruption event do not enter the current processing chain. Candidate transactions are also limited to the same customer identifier corresponding to the demand interruption anchor point. When the customer identifier is missing, the customer identifier is conflicting, and the business system has not formed a definite account merging relationship, automatic demand recovery is not performed across orders. The business event time recorded by the transaction interruption event is used as the starting point of the current transaction interruption time. The business rule at the time of interruption is the rule version that is actually valid at the time of the business event. The time boundary of the candidate transaction is determined by the validity period of the corresponding processing branch in the business rule at the time of interruption. When the business rule at the time of interruption is not configured with a validity period, only transactions with direct business inheritance relationship with the order system are processed. When a new independent transaction interruption occurs at the end of the demand at the end of the continuous purchase demand status chain, the business migration scope corresponding to the original demand interruption anchor point stops working when the new transaction interruption event takes effect. Subsequent migration uses the demand interruption anchor point and the business rule at the time of interruption formed by the new transaction interruption. The judgment of processing period and event integrity all adopt the unified business event time and do not use the server receiving time as a substitute.

[0027] The demand interruption anchor is an associated record bound to a transaction interruption event. It saves the demand status before the interruption, the product attributes confirmed by the customer, the structured business reason, the business rules at the time of the interruption, and the business migration scope. The business migration scope consists of state migration, product acceptance, quantity acceptance, and permission for changes in product attributes confirmed by the customer. The continuous purchase demand status chain is formed by the real transaction status according to the order of business events through forward verification, reverse recovery along the same path, and mutual exclusion of quantity constraints. When splitting the quantity, it branches according to the demand quantity share. The pending closure profile evidence is associated with the migration edge and the demand quantity share. It is not written into the customer profile before the demand is closed.

[0028] In a continuous transaction scenario, a customer submits order O1 to purchase clothing item of style P, size M, and color black, with a quantity of 2. In this embodiment, the quantity 2 is taken from the order record. In actual processing, the required quantity is the actual quantity recorded by the transaction system. Before submitting the order, the customer actively selects style P and size M, and the color black is defaulted to by the product page. Order O1 is subsequently cancelled due to an inventory allocation anomaly. The transaction system generates a structured business reason and records the cancellation event. Subsequent business processing generates order O2, which has a direct business relationship with order O1. Order O2 continues to accept style P, size M, and quantity 2. After order O2 is fulfilled, one item is kept by the customer, and the other item is exchanged due to an unsuitable size. The customer adjusts the size from M to L, forming order O3. After order O3 is fulfilled, it is kept by the customer.

[0029] When determining the demand status before the interruption and forming the demand interruption anchor point, the processing scope is determined by the actual products and quantities affected by the transaction interruption event. The last valid transaction status before the interruption is read, and the product attributes confirmed by the customer and kept until the order is submitted are determined from the product attribute operation records. The demand status before the interruption is determined based on the last valid transaction status and product attributes, and the demand interruption anchor point is formed.

[0030] The transaction interruption handling module identifies the first valid event from the state transition record that stops the original transaction path or causes the existing transaction result to enter the cancellation, refund, exchange, resend, or re-fulfillment process. The time of this business event is used as the current transaction interruption time. Records with the same event identifier, the same after-sales processing instance identifier, or those marked as retry or replay by the business system will not be repeatedly generated as transaction interruptions. The processing objects only include the goods and quantities actually affected by the event. When a portion of the quantity enters the after-sales process, only the affected quantity is processed, and subsequent quantity processing is based on the required quantity.

[0031] The transaction interruption handling module reads the transaction status that is closest in time to the business event before the transaction interruption event and whose effective identifier is valid, and uses it as the last valid transaction status before the interruption. Status records that have been revoked, reversed, or are only unsubmitted drafts are not included in this determination. Then, it calls the product historical version information corresponding to the order submission and obtains the product level and product attribute status that were actually effective when the order was submitted from the product historical version. If the product catalog, SKU code, or attribute name is adjusted after the transaction interruption event, the pre-interruption requirement status is still interpreted using the product historical version saved when the order was formed. When candidate products use different attribute codes, attribute conversion is only performed if the business rules have saved a certain historical attribute correspondence at the time of the interruption. The transaction interruption handling module saves the last valid transaction status before the interruption, product level, actual product attribute status, and affected quantity together as the pre-interruption requirement status.

[0032] The product attributes confirmed by the customer are determined based on the product attribute operation records. For each product attribute, the most recent attribute operation record that has been submitted and is not revoked before the order is submitted is read. If multiple records exist at the same time, the order is determined by the operation sequence number or attribute version number. If it is still impossible to determine the order, the attribute will not be considered a product attribute confirmed by the customer. If the operation source is a customer-selected, actively modified, or confirmed node, and the attribute has not been overwritten by a valid operation that has not been reconfirmed by the customer between the record and the order submission, then the attribute is considered a product attribute confirmed by the customer. Attributes that are defaulted to by the page, automatically completed by the system, replaced by the system, or overwritten by the system after customer confirmation are only saved as actual product attributes in the demand state before the interruption.

[0033] In order O1, style P and size M are actively selected by the customer and kept until the order is submitted, which are product attributes confirmed by the customer; the color black is filled in by default on the page and is only saved as an actual product attribute in the state of demand before the interruption.

[0034] When limiting the scope of business migration, a processing branch is determined in the business rules at the time of interruption based on the structured business reasons. The processing branch determines the status migration, product acceptance, quantity acceptance, and permission for changes in product attributes confirmed by the customer for the candidate transaction. If there is a processing branch that can determine all four types of permission at the same time, the demand recovery for the candidate transaction begins. If there is no processing branch that can determine all four types of permission at the same time, the demand interruption anchor point is retained, automatic demand recovery is not performed on the candidate transaction, and the demand recovery module maintains the single-node continuous purchase demand state chain with the demand state before the interruption.

[0035] The transaction interruption handling module reads the structured business reason code bound to the transaction interruption event and the version of the business rules that were effective when the event took effect. When interrupted, the business rules provide the processing branch, source of responsibility, set of rule function attributes, and state transition, product acceptance, quantity acceptance, and permission for changes in product attributes according to the reason code. The source of responsibility follows the existing classification of customer demand adjustment, platform fulfillment, inventory allocation, logistics processing, merchant processing, and uncertain in the business system. Free text or customer service remarks are only used after the business system has converted and persisted the reason code table with version into a structured business reason code. If no structured code is formed, the processing branch is not inferred based on the semantics of the text.

[0036] The business migration scope is implemented using joint verification logic. For any migration edge to be verified, the following are verified sequentially: state migration, product acceptance, quantity acceptance, and permission for product attribute changes confirmed by the customer. The condition for passing the state migration verification is that there is a permission relationship between the current state and the subsequent state in the business rules when the interruption occurs. The condition for passing the product acceptance verification is that the subsequent product identifier is located in the original product, the same SKU, or the rule configuration alternative product set in the corresponding processing branch. The condition for passing the quantity acceptance verification is that the actual acceptance quantity of the candidate transaction and the corresponding demand quantity use the same transaction measurement unit, and the actual acceptance quantity does not exceed the quantity of the demand that has not yet been accepted by the subsequent confirmed transaction. The verification of product attribute changes confirmed by the customer is performed item by item according to the attribute. When all four verifications are true, the migration edge is determined to meet the business migration scope. If any one verification is true or the rule record required to form the verification result is missing, the current processing branch will not pass the migration edge, and the business migration scope will not use similarity score, experience weight, or training results to replace the permission determination.

[0037] Customer-confirmed product attribute change verification is performed item by item according to the product attributes. If a product attribute confirmed by the customer remains unchanged on the migration edge, the attribute verification passes; if the product attribute actually changes and the processing branch explicitly allows the change, the attribute verification passes; if the product attribute actually changes but the processing branch does not grant the corresponding change permission, the attribute verification fails, and the current migration edge does not meet the business migration scope. Product attributes not confirmed by the customer are not considered as mandatory retention conditions in the business migration scope, and their actual changes are still saved with the migration edge and subsequently used as input for candidate attribution and profile evidence processing.

[0038] When candidate products use different SKU attribute codes to the pre-interruption demand status, only the historical attribute mapping corresponding to the business rule version at the time of interruption is used for conversion. The historical attribute mapping can determine the correspondence between the source product version and attribute value and the target product version and attribute value. If the product attribute confirmed by the customer lacks this historical mapping, the current processing branch stops automatic demand recovery, retains the pre-interruption demand status and demand interruption anchor point, and does not use the current product catalog, product name, or text similarity to supplement the mapping.

[0039] Demand interruption anchors establish associated records based on the same transaction interruption event, linking the demand status before interruption, the product attributes confirmed by the customer, the structured business reason, the business rules at the time of interruption, and the business migration scope formed by each processing branch. When the structured business reason corresponds to multiple processing branches, each processing branch forms a business migration scope and is associated with the same demand interruption anchor. When multiple processing branches form the same business migration scope, processing continues according to the same license result. When multiple processing branches form different business migration scopes but all meet the business rules at the time of interruption, the demand recovery module verifies each branch in conjunction with the actual migration path. If a processing branch lacks historical rule records or the product attributes confirmed by the customer lack historical mapping, resulting in any of the four types of licenses being undetermined, demand recovery for that processing branch is stopped.

[0040] In the scenario where order O1 is canceled due to abnormal inventory allocation, the business rules allow the original product to be fulfilled again during the interruption, requiring style P and size M to remain in the original demand. When order O2 takes over style P, size M and quantity 2, all four types of migration checks are successful. When the candidate transaction changes style P and the processing branch is not configured with style change permission, the corresponding attribute change check is unsuccessful, and the candidate transaction does not pass the business migration scope of this processing branch.

[0041] When the business rule version cannot be restored during an interruption, the applicable processing branch cannot be determined due to the structured business reason, or the product attribute confirmed by the customer lacks a valid historical mapping, the pre-interruption demand state and demand interruption anchor point are retained, and the automatic demand recovery of the corresponding candidate transaction is stopped. The current rule or experience time range is not used as a substitute. If the pre-interruption demand state does not have a product attribute confirmed by the customer, the empty set consistency judgment is not performed. Demand recovery continues only when there is a direct business acceptance relationship in the order system and the state migration, product acceptance, and quantity acceptance are all passed. Otherwise, the demand interruption anchor point is retained.

[0042] The scope of business migration can be achieved through rule tables, state machines, or rule services bound to the business rule version at the time of interruption. The processing period directly adopts the historical rule configuration of the corresponding processing branch: if the rule gives an absolute deadline, it is used directly; if the rule gives a starting event and duration, the deadline is obtained by adding the actual starting business event time to the duration. When there are multiple legitimate processing branches at the same end of the demand, the latest deadline that still has the qualification for subsequent business processing is used as the time boundary for closing new candidates to enter. If no processing period is configured, only subsequent transactions with direct business acceptance relationship with the order system are included.

[0043] Once the demand interruption anchor point enters the demand recovery module, subsequent migrations will call the business license corresponding to that anchor point at the time of interruption. The demand state or business migration scope before the interruption will not be rewritten using subsequent transactions. If the automatic demand recovery stops due to missing historical rules, processing branches, or attribute mappings, the single node will continue to purchase the demand state chain based on the demand state before the interruption. No candidate transactions will be added until the business migration scope is filled.

[0044] The demand recovery module retrieves candidate transactions from real transaction records with the same customer identifier, established product acceptance relationship, legally comparable quantity, and met processing deadline. When no processing deadline is configured, it only retrieves records with direct business acceptance relationship. If a candidate transaction lacks valid transaction status, product attributes, quantity, business event time, or necessary related information that affects migration verification, the data remains pending confirmation and does not enter automatic demand recovery.

[0045] The migration path consists only of the status and business events actually recorded by the transaction system. The status records are sorted by the time of the unified business event, and the order is determined by the business sequence number or status version number at the same time. Business processes that only save the status before and after migration directly form one migration edge. If the order cannot be determined, no migration edge is constructed. When a new structured business reason or a new business processing instance appears at the end of the current requirement, and it does not belong to the branch of the current requirement interruption anchor point that has been started and its retry or replay, it is determined as a new independent transaction interruption. The current migration path ends at the last confirmed requirement status before the interruption.

[0046] When verifying that the migration path meets the business migration scope and restores the pre-interruption demand state in reverse along the same path, the migration path from the pre-interruption demand state to the candidate transaction is formed according to the business event. Each migration edge is verified to meet the business migration scope. For the verified migration path, the complete preceding demand state is restored edge by edge in reverse order. When the pre-interruption demand state has customer-confirmed product attributes, the candidate transaction is determined to pass demand restoration when all customer-confirmed product attributes in at least one complete preceding demand state are consistent with the corresponding product attributes in the demand interruption anchor point. When the pre-interruption demand state does not have customer-confirmed product attributes, the determination of whether demand restoration passes is based on the direct business acceptance relationship and the verification results of state migration, product acceptance, and quantity acceptance.

[0047] The demand recovery module calls the business migration range saved by the demand interruption anchor point in the order of business events. When the state migration, product acceptance, quantity acceptance and customer-confirmed product attribute change permission of each migration edge are all true, the forward verification is passed. If any one item is not true, the corresponding processing branch will fail. After all migration edges of the migration path are passed, the reverse recovery is entered.

[0048] During the forward verification process, the demand recovery module simultaneously records whether each product attribute has actually changed on each migration edge and whether the corresponding change has obtained business migration permission. For any product attribute, only when a migration edge has both actual attribute change and business migration permission, is the product attribute marked as a legal change attribute that needs to be included in customer demand attribution. If the business rule has theoretical change permission but the actual transaction has not changed, it does not form a legal change attribute. Unconfirmed product attributes that have actually changed but have not obtained business migration permission are retained as additional attribute changes and are not converted into customer demand adjustments.

[0049] When the same migration path corresponds to multiple processing branches, the demand recovery module calls the business migration scope formed by each processing branch to perform edge-by-edge verification. If only one processing branch allows the migration path to pass continuously, that processing branch is adopted. If multiple processing branches give the same permission for state migration, product acceptance, quantity acceptance, and customer-confirmed product attribute changes, verification continues according to the same permission result. If multiple processing branches allow the migration path to pass but there is a difference in any type of permission relationship, the candidate transaction is retained as an undetermined candidate transaction and is not connected to the continuous purchase demand state chain until subsequent business facts can uniquely determine the processing branch or the candidate transaction ends its impact on the current demand end according to the demand closure rule.

[0050] After the forward verification passes, the demand recovery module reverses the demand state before the interruption along the same path. The reverse recovery starts with the complete demand state corresponding to the candidate transaction and processes each edge in reverse order of the migration path. For each migration edge processed, the pre-migration state saved by the transaction system on the actual business process is read first, and the pre-migration state is used as the source of the preceding demand state for the current migration edge. When the product attribute code changes, the corresponding attribute value is only restored according to the historical attribute relationship corresponding to the same business rule version at the time of the interruption as the migration edge. If the actual pre-migration state is missing, or the historical attribute relationship that must be used cannot be determined, the unrecorded preceding state is not inferred, and the current processing branch does not form a reverse recovery result. The state migration, product acceptance, and quantity acceptance are consistent with the actual records of the migration edge. After the customer confirms, the product attributes are restored according to the actual changes and change permission.

[0051] For product attributes confirmed by the customer, if the migration edge is not granted a change permission, the complete preceding requirement state and the subsequent requirement state remain the same for that attribute. When the migration edge actually undergoes an attribute change and obtains a change permission, the preceding attribute value is restored only according to the historical attribute correspondence saved by the business rules at the time of the interruption. For product attributes not confirmed by the customer, if the migration edge has additional attribute changes that are not explained by the scope of business migration, the complete preceding requirement state still uses the attribute value before migration that is actually recorded by the transaction system. This additional attribute change does not cause the complete preceding requirement state to automatically become invalid, nor does it obtain a new attribute change permission.

[0052] When there are one-to-many or many-to-one valid attribute mappings on the same migration edge, the demand recovery module retains all complete preceding demand states that can be generated by the business rules, and ensures that the combination of product attributes in each complete preceding demand state comes from the same real migration relationship. The reverse recovery does not extract attributes such as color, size, and style from different complete preceding demand states and then recombine them. After processing in reverse along the migration path to the starting position, a complete set of preceding demand states that can generate the current candidate transaction through each real migration edge is obtained.

[0053] The demand recovery module then performs original demand verification on the complete set of preceding demand states and the demand interruption anchor point. For each complete preceding demand state, it compares the customer-confirmed product attributes with the corresponding product attributes in the demand interruption anchor point. If a customer-confirmed product attribute exists in the pre-interruption demand state, and each customer-confirmed product attribute in a complete preceding demand state is consistent with the demand interruption anchor point, the candidate transaction is determined to have passed demand recovery. If there is no complete preceding demand state that can simultaneously satisfy each customer-confirmed product attribute, the candidate transaction is determined to have failed demand recovery. If a customer-confirmed product attribute does not exist in the pre-interruption demand state, the empty set consistency judgment is not performed. Instead, the verification results of direct business acceptance relationship, state transition, product acceptance, and quantity acceptance are adopted. This verification requires that each customer-confirmed product attribute is simultaneously established in the same complete preceding demand state. It does not accept splicing attributes from different recovery results to form a new demand state.

[0054] Between order O1 and order O2, order O2 passes the business migration scope verification step by step along the inventory anomaly re-fulfillment path; the reverse recovery obtains the complete preceding demand state where style P and size M are both true, and it is consistent with the customer-confirmed product attributes in the demand interruption anchor point. Therefore, order O2 passes the demand recovery. The reverse recovery only processes the demand state data and does not change the existing business state of order O2.

[0055] When performing mutually exclusive allocation of quantity constraints on verified candidate transactions, allocation combinations are formed based on the unique allocation of candidate transactions and the number of transactions accepted being within the corresponding demand quantity range. First, the allocation combination with the largest total number of demand accepted by candidate transactions is retained, and then the allocation result is determined according to the direct business acceptance relationship recorded in the order system and attribute changes not explained by the business migration scope. If the allocation object still cannot be uniquely determined, the corresponding candidate transaction is determined as an undetermined candidate transaction.

[0056] When multiple demand interruption anchors can simultaneously form a candidate relationship through demand recovery with the same candidate transaction, the demand recovery module executes quantity constraint mutual exclusion attribution. Indivisible candidate transactions are only allowed to belong to one continuous purchase demand. When the business rules allow partial replacement, batch reissue, or batch re-fulfillment during the interruption, the demand quantity share is formed according to the actual quantity received by the candidate transaction. Each demand quantity share is only allowed to be allocated to one demand interruption anchor, and the cumulative quantity received by the candidate transaction is limited to the corresponding demand quantity range.

[0057] Mutually exclusive attribution of quantity constraints can be achieved by using combination-by-combination calculation or a general discrete constraint solver to form feasible attribution combinations that satisfy the unique attribution of candidate transactions and the quantity and capacity constraints of demand. For the quantity that can be accepted under the same transaction unit of measurement, the combination with the largest total quantity of accepted demand is retained first, and then the quantity of missing direct business acceptance relationships and the quantity of changes in additional attributes are compared in turn. Quantities with different units of measurement that cannot be legally converted are not included in the same quantity comparison.

[0058] When the total demand is the same, count the number of migration edges that lack direct business connection for each migration path and retain the combination with the smallest total. Direct business connection is determined by the previous order, replacement source, reissue source, after-sales processing, or re-fulfillment association identifier in the transaction record that can directly point to the previous product transaction unit. Only the same customer, the same product, the same product level, or the transaction time are not considered to constitute a direct business connection.

[0059] For attribution combinations with the same number of missing direct business relationships, the number of additional attribute changes not explained by the business migration scope is counted. Additional attribute changes are only counted in product attributes that have not been confirmed by the customer and can be legally compared based on the historical attribute relationship corresponding to the business rules at the time of the interruption. If the same product attribute has one or more unexplained changes in the same candidate migration path, it is counted as one item. If the original value is restored after the change, it is still counted as one item. If an attribute change actually occurs but there is no legal historical mapping, the attribute is recorded as uncomparable. Uncomparable attributes are not treated as 0 items. The demand recovery module adds up the number of additional attribute changes of each candidate relationship to obtain the number of additional attribute changes of the attribution combination and retains the attribution combination with the smallest number.

[0060] If multiple attribution combinations still exist after stratified screening, and the same candidate transaction belongs to different objects in different attribution combinations, the demand recovery module will identify the corresponding candidate transaction as an undetermined attribution candidate transaction. Candidate relationships that have no direct business connection and are entirely derived from the business migration scope will only be included in the continuous purchase demand state chain if the forward verification of the migration path passes, the reverse recovery passes, the number of additional attribute changes is 0, the attribution object is unique, and there are no actually changed but relatively unusable product attributes. If any one of the conditions is not met, the undetermined attribution candidate transaction will remain, and the undetermined attribution candidate transaction will not enter the customer demand attribution processing of the profile building module.

[0061] The real transaction status of demand recovery and quantity constraint mutual exclusion is used to form a continuous purchase demand state chain in business sequence; when no candidate transaction passes, the demand status before interruption is used as the only demand end. The state chain saves the migration edge, demand interruption anchor point, structured business reason, actual business migration scope, attribute change and demand quantity share required for subsequent customer demand attribution. The profile building module does not reinterpret the business rules when candidate attribution or interruption occurs.

[0062] After order O2 is connected to the continuous purchase demand state chain, one item causes a new transaction interruption due to size incompatibility. The transaction interruption handling module forms a new demand interruption anchor point for this item based on the exchange event time and the effective business rules at that time. The original inventory abnormality business migration scope stops working at the new interruption point. After order O3 goes through forward verification, reverse recovery and mutual exclusion of quantity constraints through migration path again, it connects to the corresponding demand quantity share. The new migration segment only calls the new business migration scope, and the existing migration segment and its demand interruption anchor point remain unchanged.

[0063] When determining customer demand attribution, the structured business reason corresponding to the migration edge is read for attribute changes that pass migration verification in the continuous purchase demand state chain. The structured business reason represents the adjustment of customer demand, and when the scope of the business rule determined during the interruption covers the corresponding attribute change, it is determined that the attribute change has customer demand attribution.

[0064] For product attributes that require customer demand attribution, the profile building module reads the structured business reason code bound to the corresponding migration edge and reads the responsibility source identifier and rule effect attribute set corresponding to the code from the business rules at the time of interruption. When the responsibility source identifier is customer demand adjustment and the current actual change attribute identifier is in the rule effect attribute set, the attribute change is determined to have customer demand attribution. When the responsibility source identifier is platform fulfillment, inventory allocation, logistics processing, or merchant processing, the attribute change is determined to be a business implementation change and does not form customer demand attribution. When the responsibility source identifier is missing, the responsibility source identifier cannot be determined, the rule effect attribute set is missing, or the current actual change attribute is not in the set, the corresponding attribute change is recorded as attribution pending confirmation. This judgment only uses the structured business record bound to the current migration edge and does not use subsequent fulfillment results or other order reason records to infer backwards.

[0065] Customer demand attribution is preferably recorded using a 3-value status record: 1 indicates that the attribution is valid, 0 indicates that the attribution is not due to customer demand, and 2 indicates that the attribution is pending confirmation. The value is 1 when the source of responsibility is a customer demand adjustment and the rule's attribute set includes the current change attribute. The value is 0 when the source of responsibility is clearly a non-customer demand cause. The value is 2 when the source of responsibility or the rule's attribute set cannot be determined. Neither 0 nor 2 triggers demand evidence rewriting. The code is only used as a discrete state identifier and does not participate in size comparison or weighting.

[0066] For each actual attribute change, the corresponding requirement evidence will be updated to the changed attribute only when the product attribute actually changes, the business migration scope clearly allows the attribute change, and the customer requirement attribution status is 1. If the product attribute does not change, the attribute change has not obtained business migration permission, or the customer requirement attribution status is 0 or 2, the requirement evidence before the change will be maintained. The attribution pending confirmation status will only be updated to 0 or 1 if a structured business supplementary record bound to the same transaction interruption event or the same migration edge is received before the requirement is closed, and the business effective time of the supplementary record is no later than the business processing closure time corresponding to the current migration edge attribution, and the set of attribute sets of responsibility source and rule effect can be clearly identified based on the same business rule version at the time of interruption. The supplementary record only updates the attribution pending confirmation status that has not yet been closed, and does not retroactively change the already confirmed migration path, business migration permission, and actual business status of the transaction system; business reasons of other subsequent transactions will not be used to change the customer requirement attribution of the current migration edge.

[0067] Demand evidence uses the product attribute value in the demand state before the interruption as the initial value and is bound to the corresponding demand quantity share. When the continuous purchase demand state chain does not undergo quantity splitting, the demand evidence is passed along the unique demand quantity share. When quantity splitting occurs, the demand evidence already formed before the split is copied to each actual demand quantity share. Subsequently, each migration edge only processes the demand quantity share it undertakes. When a customer demand is adjusted for a certain demand quantity share, only the demand evidence for that demand quantity share is updated, without changing the evidence state already formed for other demand quantity shares.

[0068] When forming evidence for a pending profile and maintaining evidence of demand before the change, changes in attributes with customer demand attribution will update the corresponding demand quantity share evidence to the changed attributes and save the attribute adjustment relationship to form evidence for a pending profile; changes in attributes without customer demand attribution will maintain the demand evidence before the change; when the scope of the structured business reason in the business rule during the interruption includes multiple product attributes, the attribute adjustment relationship will be saved according to the complete attribute combination and associated with the corresponding demand quantity share.

[0069] Attribute changes with customer demand attribution form a profile evidence to be closed, which is bound to the migration edge and the share of demand quantity. It preserves the attributes before the change, the attributes after the change, and the structured business reasons. Attribute changes without customer demand attribution only retain the demand evidence before the change, and the actual product status is still stored in the continuous purchase demand status chain according to the transaction records.

[0070] For additional attribute changes that have not been confirmed by the customer and for which no explanation of business migration has been obtained, the profile building module retains the evidence of the requirement before the change and saves the additional attribute change as evidence isolation record. For attribute changes that are within the scope of business migration and have actually occurred, but whose structured business reasons are clearly related to platform fulfillment, inventory, logistics or merchant processing, the module also retains the evidence of the requirement before the change and saves the actual change value in the continuous purchase requirement status chain. For attribute changes whose attribution is pending confirmation, the module retains the evidence of the requirement before the change until the attribution is determined and does not use subsequent successful fulfillment results to change the customer's requirement attribution.

[0071] After order O2 quantity 2 is divided into 2 demand quantity shares, the first demand quantity share retains size M and fulfillment is reserved. The second demand quantity share is adjusted from M to L due to size incompatibility. The structured business reason for size incompatibility corresponds to the size attribute, and the change from M to L has obtained business migration permission. Therefore, the second demand quantity share forms customer demand attribution and the demand evidence is updated to L; the size demand evidence of the first demand quantity share remains M.

[0072] When the scope of the same structured business reason in the business rule during the interruption includes multiple product attributes, the profile building module saves the attribute adjustment relationship according to the complete attribute combination. In specific processing, first determine the rule-effect attribute group corresponding to the structured business reason, and then check the actual changed attributes belonging to the rule-effect attribute group on the same migration edge. When multiple changed attributes have customer demand attribution, the complete attribute combination before migration and the complete attribute combination after migration are used as one profile evidence to be closed, and a single attribute is not recombined with the attributes of other migration edges; attribute changes from business implementation reasons such as inventory replacement are not included in the complete attribute combination.

[0073] When the same demand quantity share undergoes multiple attribute changes with customer demand attribution, the profile building module saves the attribute adjustment relationship sequentially according to the actual migration order. Initially, the demand evidence takes the corresponding attribute value of the demand state before the interruption. When processing the first customer demand adjustment, the demand evidence is replaced with the attribute after the first change. When processing the next migration edge, the demand evidence is replaced with the new attribute only if the new attribute change simultaneously meets the three conditions of actual change, business permission, and customer demand attribution. If the attribute change does not have customer demand attribution, the demand evidence uses the attribute value of the most recent one with clear customer demand basis.

[0074] For example, if the second demand quantity share is adjusted from M to L due to size incompatibility, and the platform replaces the actual fulfilled SKU with XL due to insufficient inventory, when L to XL is due to inventory allocation reasons, the actual fulfillment status is recorded as XL, but the demand evidence remains L; XL does not form customer demand attribution, and whether L forms closed supporting attribute adaptation evidence continues to be determined based on its actual realization and closure result in the corresponding demand quantity share.

[0075] The evidence for the pending closure profile is stored in association with the corresponding migration edge, structured business reason, demand interruption anchor point, and demand quantity share according to the business sequence of the continuous purchase demand state chain. The recommendation module directly reads the continuous purchase demand state chain and the evidence for the pending closure profile, without re-executing customer demand attribution.

[0076] When a new transaction interruption occurs at the end of the current demand in the continuous purchase demand state chain, the profile building module stops using the original structured business reason to explain the attribute changes after the new transaction interruption. The transaction interruption handling module only forms a new demand interruption anchor point when a new valid business event has a new structured business reason code or a new business processing instance and does not belong to the branch where the current demand interruption anchor point has started processing. After the demand recovery module confirms that the new migration segment still belongs to the current continuous purchase demand, the profile building module continues to process attribute changes along the new migration segment. The profile evidence that has been formed and is yet to be closed maintains the original migration edge, the original structured business reason, and the original demand quantity share, and its business source is not modified due to subsequent transaction interruptions.

[0077] When determining the demand closure status, the eligibility for subsequent business processing is determined according to the interruption rules in the corresponding demand interruption anchor points of each demand end. The eligibility for subsequent business processing is terminated when the demand end enters the final state, and the eligibility for subsequent business processing is terminated when the processing period expires and the relevant business event data has been fully received. When the business processing of a candidate transaction with undetermined attribution ends, the relevant business event data has been fully received, and a unique attribution has not yet been formed, the candidate transaction is removed from the closure judgment condition of the corresponding demand end. When the eligibility for subsequent business processing of each demand end is terminated, the business processing status ends, and there are no candidate transactions with undetermined attribution still participating in the closure judgment, the demand closure status is determined.

[0078] The recommendation module determines the demand closure state based on the eligibility for subsequent business processing, business processing status, and undetermined candidate transactions at each end of the continuous purchase demand state chain. When there is no quantity split in the continuous purchase demand state chain, the last confirmed demand state is taken as the demand end. When there is a quantity split, the last confirmed status of each demand quantity share is taken as the corresponding demand end. Demand closure judgment is performed separately for different demand quantity shares. When a certain demand quantity share is still in after-sales processing, the business processing status of other demand quantity shares that have already been formed is not changed.

[0079] For each demand endpoint, the recommendation module reads the demand interruption anchor point and the interruption-time business rule that are currently actually applied to that demand endpoint. If the demand endpoint has been associated with a new demand interruption anchor point, the new interruption-time business rule is directly adopted. If the demand endpoint does not have a new demand interruption anchor point, the corresponding demand interruption anchor point is traced back along the migration path that formed the demand endpoint. When the continuous purchase demand state chain experiences multiple transaction interruptions, each demand endpoint uses the currently applied interruption-time business rule to determine the eligibility for subsequent business processing, and does not use the business rules of earlier transaction interruptions to interpret new transaction interruptions.

[0080] The eligibility for subsequent business processing is jointly determined by the current transaction status and the business rules at the time of interruption. In the business rules at the time of interruption, all initiated processing branches corresponding to the current transaction status, as well as initiating processing branches whose initiation conditions have been met and whose validity period has not yet expired, are considered to have the eligibility for subsequent business processing. If the current transaction status does not meet the initiation conditions for a processing branch, or if the validity period of a processing branch has expired and the relevant business event data has been fully received, that processing branch no longer has the eligibility for subsequent business processing. The final state is the business state explicitly marked as having no legitimate subsequent processing branch in the business rules at the time of interruption or the transaction system status definition. When the end of the demand enters the final state and the business event data on which this state depends has been fully received, the eligibility for subsequent business processing terminates. If the business rules at the time of interruption lack initiation conditions or the final state definition, they are not supplemented based on experience.

[0081] For processing branches that still qualify for subsequent business processing, the recommendation module reads the starting business event type and validity period specified in the business rules at the time of interruption. Receipt, after-sales application acceptance, reissue confirmation, and re-fulfillment confirmation are only used when the corresponding processing branch configures them as starting events. When the rule is configured with an absolute cutoff time, the cutoff time is directly taken from the configured value. When the rule is configured with a starting event and duration, the cutoff time equals the actual starting business event time plus the duration. When one demand end corresponds to multiple processing branches that still qualify for subsequent business processing, the cutoff time for each processing branch is calculated separately, and the latest cutoff time is used as the time boundary for closing the scope of new candidates. At least one valid processing branch is retained before the latest cutoff time has elapsed.

[0082] When using asynchronous, incremental, or batch synchronization of transaction data, the complete reception boundary of business events for each necessary business data source on which the current demand end depends is obtained. The unified complete reception boundary of the current demand end is taken as the earliest business time point among the boundaries of each necessary data source. If any necessary data source does not form a boundary with continuous and complete semantics, it is treated as if the business event data has not been completely received. The processing period is only used to terminate the eligibility for subsequent business processing after the unified complete reception boundary covers the corresponding deadline. The complete reception boundary can be provided by the message queue consumption point, event time water level, batch completion marker, or business system integrity marker, and is not replaced by the current server time or the maximum timestamp of the event that has been reached.

[0083] After a requirement is closed, if any necessary data source receives a new valid event at a time no later than the unified complete reception boundary used for closure judgment, it is recorded as a data integrity anomaly. The corresponding requirement-level profile record is paused as a stable recommendation basis, and requirement recovery, customer requirement attribution, and requirement closure verification are re-executed from the affected migration location. Before the review is completed, the new event is not used to cover the existing stable attribute evidence.

[0084] Candidate transactions with undetermined attribution participate in the demand closure judgment independently. Once a candidate transaction has been actually generated and entered the demand recovery module within the processing period, it will not be directly removed from the closure judgment condition due to the expiration of the corresponding processing period. Only when the business processing of the candidate transaction with undetermined attribution is completed, the business event data related to the candidate transaction has been fully received, and the demand recovery module still cannot form a unique attribution under the complete business facts, will the recommendation module remove the candidate transaction from the closure judgment condition of the corresponding demand end. Removal only changes the judgment of whether the current demand end allows closure, and does not re-determine the demand attribution of the candidate transaction.

[0085] The business processing status at the demand end is determined by the transaction and after-sales processing status associated with the corresponding demand quantity share. The activity status is recorded as not finished, and the status is recorded as finished when all related processing records enter the completed, terminated, or closed status defined by the business rules or business system. If different necessary business data sources have conflicting statuses for the same processing instance, or if the set of activity status and closed status cannot be determined, it is processed as not finished. The demand end is closed only when the subsequent business processing qualification is terminated, the business processing status is ended, and there are no candidate transactions whose ownership is still undetermined and still participating in the closure determination. The demand closure status is determined after all demand ends are closed.

[0086] When a demand is not closed, the continuous purchase demand state chain and the evidence of the profile to be closed are only retained in the temporary demand record and no demand-level profile record is generated; the instant recommendation results generated during the unclosed period are not written into the customer profile, nor do they change the continuous purchase demand state chain, the attribution of candidate transactions, and the evidence of the profile to be closed.

[0087] When generating a unique demand-level profile record based on the continuous purchase demand state chain and the profile evidence to be closed, the profile evidence to be closed is analyzed according to the final business result of the demand quantity share; when the changed attributes with customer demand attribution are actually realized in the corresponding demand quantity share, and the corresponding demand quantity share is closed with the business result of the customer retaining the attribute state, closure support attribute adaptation evidence is formed; the product-level demand facts and the attribute evidence determined by closure are merged to form a unique demand-level profile record.

[0088] After demand closure, the recommendation module analyzes the pending profile evidence according to the final business results of the demand quantity share. For product attributes that have not formed customer demand attribution, if the product attribute is a product attribute confirmed by the customer, and the corresponding demand quantity share is closed with the business result of the customer retaining the status of the attribute, then the attribute status is saved as customer-confirmed attribute evidence supported by closure. When the corresponding demand quantity share is closed with cancellation, refund, or other exit results, only the fact that the customer once formed a demand with the attribute is saved, without directly forming positive fit evidence or misfit evidence. Product attributes that have not been confirmed by the customer and have not formed customer demand attribution are kept under transaction observation information.

[0089] For attribute adjustment relationships with customer demand attribution, closed-loop parsing is performed on the attributes before and after the change. When the structured business reason clearly indicates that the attributes before the change have mismatches such as size incompatibility or specification mismatch, the attributes before the change are saved as mismatch evidence under the corresponding product level and demand quantity share after demand closure. When the structured business reason only indicates that the customer has reselected without negating the attributes before the change, the attributes before the change are not converted into mismatch evidence. This judgment directly uses the structured business reason and attribute adjustment relationship saved by the profile building module, without rereading the original after-sales text.

[0090] When a changed attribute with customer demand attribution forms closed-loop supporting attribute adaptation evidence, the recommendation module simultaneously checks three determining conditions: the changed attribute has already appeared in the valid fulfilled product record for the corresponding demand quantity share; the final business status of the corresponding demand quantity share belongs to the customer retention class result in the business rules or transaction system status definition at the time of interruption; and there is no new attribute adjustment relationship that replaces the attribute status after it is formed. When all three conditions are met, closed-loop supporting attribute adaptation evidence is formed. If any one condition is not met, closed-loop supporting attribute adaptation evidence is not formed. The customer retention class result is determined by the business record of fulfillment completion and the absence of a refund, return, or exchange activity processing status associated with the demand quantity share. If the business system has a separate explicit retention status code, that status code is used directly. When different necessary business data sources conflict with the customer retention result, closed-loop supporting attribute adaptation evidence is not formed until the conflicting status is determined by the business system.

[0091] In the exchange scenario from order O2 to order O3, the quantity share of the second demand was adjusted from size M to L. Size L was actually fulfilled and retained by the customer, and no further size demand adjustment occurred before the closure. Therefore, size L forms the closure support attribute adaptation evidence, while size M only forms the mismatch evidence when its mismatch is clearly recorded as due to structured business reasons.

[0092] Attribute changes caused by platform inventory, logistics, or merchant processing maintain the non-customer demand attribution results already determined by the profile building module. Even if the corresponding product is ultimately retained by the customer, the attribute change does not directly form closed-loop supporting attribute adaptation evidence. For example, if a customer changes from size M to size L, and the platform fulfills the order with size XL due to inventory reasons, XL is stored as the actual fulfillment status in the continuous purchase demand status chain. When there is no customer demand attribution for the XL change, XL does not form closed-loop supporting attribute adaptation evidence. If L is not actually realized in the corresponding demand quantity share, then L also does not form closed-loop supporting attribute adaptation evidence.

[0093] When the same structured business reason leads to the adjustment relationship of complete attribute combinations of multiple product attributes, the recommendation module performs closure parsing according to the complete attribute combination. When the changed complete attribute combination is actually implemented in the corresponding demand quantity share, and the business result of the customer retaining the complete attribute combination is closed and not replaced by new customer demand adjustment, the closure support attribute adaptation evidence is saved in the form of complete attribute combination. Individual attributes in different migration edges or different demand quantity shares are not cross-combined. When different closure results occur in the demand quantity share, the attribute evidence of each demand quantity share maintains an independent binding relationship.

[0094] After completing the closure analysis of demand quantity share and pending profile evidence, the recommendation module merges the product-level demand facts and the attribute evidence determined by closure for the same continuous purchase demand to form a unique demand-level profile record. The product-level demand facts store the final business results of product level, demand quantity, and each demand quantity share; the attribute evidence stores the closure evidence of customer confirmation of product attributes, closure support attribute adaptation evidence, mismatch evidence determined by structured business reasons, and closure support attribute adaptation evidence stored in the form of complete attribute combination.

[0095] Only one demand-level profile record is generated for the same continuous purchase demand. A unique record identifier is generated when the continuous purchase demand state chain is established. Subsequent migration segments and demand quantity shares use this identifier and are written idempotently to the demand-level profile record. Repeated synchronization or repeated reporting does not generate a new demand-level profile record. Each order and after-sales event is only saved as an internal business fact of the continuous purchase demand state chain.

[0096] In a continuous transaction scenario consisting of orders O1, O2, and O3, the three orders are confirmed to belong to the same continuous purchase demand after demand recovery. The quantity share of the first demand is retained with size M, and the quantity share of the second demand is adjusted from M to L and retained with L. The system generates one demand-level profile record, and the two demand quantity shares respectively save the corresponding size evidence without overwriting each other.

[0097] When generating personalized recommendation results based on demand-level profile records, the scope of recommended products is determined based on the product-level demand facts in the demand-level profile records. The recommendation order of corresponding product attributes is adjusted based on the closure support attribute adaptation evidence, and then personalized recommendation results are generated.

[0098] After the demand-level profile is written into the customer profile, the recommendation module retrieves the corresponding candidate products from the product catalog according to the product-level demand facts. The candidate products are compared with the closed supporting attribute adaptation evidence according to the unified product attribute identifier. Matching products take precedence over unmatching products. Within the group, the existing basic sorting or the fixed display sequence number of the product catalog is used. When there are no mapped candidates at the product level, the product name similarity is not expanded. During the recommendation stage, demand recovery, quantity constraint mutual exclusion attribution, and customer demand attribution are not re-executed.

[0099] When there are multiple demand quantity shares, each demand quantity share uses its own closed supporting attribute adaptation evidence to form a ranking relationship, and they are not merged into a single attribute value. When different demand quantity shares form conflict evidence for the same product attribute, multiple ranking groups of the corresponding shares are retained. When the interface can only output one unified sequence, conflicting attributes do not participate in the attribute priority adjustment of the unified sequence. Complete attribute combination evidence only participates in the ranking when the candidate product matches all attributes in the combination at the same time, and attributes are not recombined across migration edges or demand quantity shares.

[0100] In concurrent candidate transaction scenarios, if a customer has two independent demand interruption anchors with the same product level, and a candidate transaction recovers its demand through the two demand interruption anchors, the number of demands undertaken by the candidate transaction is compared first, then the direct business acceptance relationship of the order system is compared, and finally the changes in additional attributes are compared. If the belonging object still cannot be uniquely determined, the candidate transaction is determined as a candidate transaction with undetermined belonging.

[0101] If a candidate transaction whose attribution is undetermined has not yet completed its own business processing or has not yet received complete relevant business event data by the time the processing period expires, the recommendation module will continue to include the candidate transaction in the closed-loop judgment condition of the corresponding demand end. After the candidate transaction's business processing is completed, the relevant business event data is fully received, and the demand recovery module still cannot form a unique attribution, the recommendation module will remove the candidate transaction from the closed-loop judgment condition of the corresponding demand end. This process does not change the candidate attribution status already formed by the demand recovery module, nor does it directly identify the candidate transaction as a new independent purchase demand.

[0102] In scenarios where historical business rules are missing, the transaction interruption handling module saves the demand status before the interruption and the product attributes that can be confirmed by the customer, retains the demand interruption anchor point, and stops automatic demand recovery; the demand recovery module maintains a continuous purchase demand status chain containing only one confirmed demand status based on the demand status before the interruption, and does not automatically connect to subsequent candidate transactions; the recommendation module does not use the current business rules to estimate the historical processing period during the demand closure phase; when the transaction system forms a clear final business status and the relevant business event data is fully received, the subsequent business processing qualification of the corresponding demand end is terminated based on the final business status; when the transaction system has not yet formed a final business status that can be independently confirmed, the continuous purchase demand remains unclosed and no demand-level profile record is generated.

[0103] In scenarios where attribute mapping is missing, the historical attribute correspondence determined by business rules when there is no interruption on the candidate product side, as confirmed by the customer, is not formed by the transaction interruption handling module. The transaction interruption handling module does not form a verifiable and complete business migration scope, and the demand recovery module does not use the current product catalog or product semantic similarity to supplement the attribute mapping. The candidate transaction remains outside the scope of automatic demand recovery, and the demand state and demand interruption anchor point that have already been formed before the interruption are saved. Subsequently, the candidate transaction verification will only be re-executed under the same demand interruption anchor point when the business system recovers the historical attribute correspondence record that can be traced back to the same business rule version at the time of the interruption, or when a correction record with a clear effective relationship to the historical rule version is formed. The newly configured mapping relationship in the current product catalog is not used to supplement the historical mapping.

[0104] In scenarios where customer demand attribution is uncertain, attribute changes have obtained business migration permission and have actually occurred, but the responsibility source identifier or rule effect attribute set corresponding to the structured business cause cannot be determined. The profile building module retains the demand evidence before the change and saves the attribution pending confirmation status. Demand closure will not reverse the attribution pending confirmation change into customer demand adjustment. Before demand closure, the corresponding attribution status will only be updated when the business system supplements the structured business record that is bound to the same transaction interruption event or the same migration edge and can clarify the responsibility source and rule effect attribute set based on the same business rule version at the time of interruption. Attribute changes that still cannot be clearly attributed when demand closure are only retained as business history records and will not enter the closure to support attribute adaptation evidence.

[0105] The demand quantity, the affected quantity, and the actual accepted quantity are directly recorded by the transaction system and converted to legal units. The total value of the candidate transaction acceptance quantity of the belonging combination ranges from 0 to the sum of the acceptable quantities of each demand under the same transaction unit in the current competitive set. The maximum value that satisfies the unique belonging and quantity acceptance conditions is preferred.

[0106] The number of missing direct business relationships ranges from 0 to the total number of actual migration edges within the belonging combination, preferably 0, and the minimum actual value is taken when 0 cannot be reached; the number of changes in additional attributes ranges from 0 to the sum of the number of product attribute dimensions that have not been confirmed by the customer and can be legally compared based on historical attribute relationships, preferably 0, and the minimum actual value is taken when 0 cannot be reached. The former is counted edge by edge by the direct association identifier of the migration path, and the latter is obtained by comparing attributes after historical mapping; unusable attributes are recorded separately.

[0107] Candidate competition does not use historical training samples or historical statistical samples to form thresholds; when historical business rules, historical attribute mappings, or current business records are insufficient, the corresponding pending confirmation or stop automatic processing mechanism shall be followed.

[0108] The processing period range is determined by the period configuration of the corresponding processing branch in the business rule at the time of interruption, preferably the period value that actually took effect in the historical rule version; after the new independent transaction interruption takes effect, the original period ceases to have an effect, the complete reception boundary of each necessary data source is taken as the maximum business time point of its continuous confirmation complete business time domain, the unified complete reception boundary of the current demand end is taken as the minimum value among the boundaries of each necessary data source, the 4 migration checks and 3 demand end closure conditions are all fixed judgment dimensions and are not used as adjustable thresholds.

[0109] The continuous purchase demand state chain can adopt an ordered event record, a chain record, or a graph structure that can store the demand quantity share branches. The state nodes and migration edges all come from real transaction records that have been confirmed through demand recovery and mutual exclusion of quantity constraints. The pending closed profile evidence is associated with the migration edge and the demand quantity share.

[0110] In contrast, if customer profiles are written one by one according to order number, orders O1, O2 and O3 form 3 order-level behavior records; in this implementation method, the 3 orders are determined as 1 continuous purchase demand by limiting the demand interruption anchor point, verifying the migration path forward, restoring the same path in reverse and mutually exclusive attribution of quantity constraints. Only the customer demand for sizes M to L is adjusted to form the evidence of the profile to be closed, and a demand-level profile record is generated after the demand is closed.

[0111] Each module transmits data in the order of its output. The results of the later stage do not supplement the missing facts of the previous stage. When necessary input is missing, there are conflicts in objects or time relationships, the quantity units cannot be converted, historical rules or attribute mappings are missing, the candidate attribution is not unique, the customer demand attribution cannot be determined, or the business event data is not fully received, the corresponding pending confirmation, attribution undetermined, or unclosed state is maintained respectively. When the complete reception boundary is found to be invalid after closure, the stable recommendation of the corresponding demand-level profile record is suspended and the closure review is performed.

[0112] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented in software, the above embodiments can be implemented, in whole or in part, as a computer program product. Those skilled in the art will recognize that the units 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.

[0113] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0114] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes 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.

Claims

1. A customer multi-dimensional behavioral data profiling and personalized recommendation system, characterized in that, include: The transaction interruption handling module determines the demand status before the interruption based on the transaction status before the interruption and the product attributes confirmed by the customer, and forms a demand interruption anchor point by combining the structured business reasons and the business rules at the time of the interruption and limits the scope of business migration. The demand recovery module obtains candidate transactions based on demand interruption anchor points, forms migration paths according to business events, verifies that the migration paths meet the business migration scope, and restores the demand state before the interruption along the same path. It performs quantity constraint mutual exclusion on the verified candidate transactions to form a continuous purchase demand state chain. Among them, each candidate transaction is uniquely assigned to a demand interruption anchor point according to its actual acceptance quantity share, and the cumulative acceptance quantity of the corresponding demand interruption anchor point does not exceed the corresponding demand quantity, thus forming an attribution combination. The profile building module determines customer demand attribution based on attribute changes and structured business reasons in the continuous purchase demand state chain. Attribute changes with customer demand attribution form evidence for the profile to be closed, while attribute changes without customer demand attribution retain the demand evidence before the change. The recommendation module determines the demand closure status based on the subsequent business processing eligibility, business processing status, and undetermined candidate transactions at each end of the continuous purchase demand status chain. After the demand is closed, a unique demand-level profile record is generated and written into the customer profile based on the continuous purchase demand status chain and the profile evidence to be closed. Personalized recommendation results are generated based on the product-level demand facts and the closure support attribute adaptation evidence. The specific steps for generating a unique demand-level profile record based on the continuous purchase demand state chain and the pending profile evidence are as follows: Analyze the evidence for the pending profile based on the final business results of the demand quantity share; When the changed attributes with customer demand attribution are actually realized in the corresponding demand quantity share, and the corresponding demand quantity share is closed with the business result of the customer-retained attribute state, a closed supporting attribute adaptation evidence is formed. The final business results of the demand quantity and the share of each demand quantity corresponding to the product level to which the continuous purchase demand belongs are saved as product level demand facts, and merged with the attribute evidence that has been closed and determined to form a unique demand level profile record. Only one such unique demand level profile record is generated for the same continuous purchase demand.

2. The customer multi-dimensional behavior data profiling and personalized recommendation system according to claim 1, characterized in that, The specific steps for determining the demand status before the interruption and forming the demand interruption anchor point are as follows: The scope of handling should be determined based on the actual goods and quantities affected by the transaction disruption event; Read the last valid transaction status before the interruption, and determine the product attributes that were confirmed by the customer and retained until the order was submitted from the product attribute operation record; Determine the demand status before the interruption based on the last valid transaction status and product attributes, and form the demand interruption anchor point. The demand interruption anchor point is a record that is bound to a transaction interruption event and associates the demand state before the interruption with the corresponding structured business reason and the business rules at the time of the interruption.

3. The customer multi-dimensional behavior data profiling and personalized recommendation system according to claim 2, characterized in that, The specific steps for limiting the scope of business migration are as follows: Based on the reasons for the structured business, the processing branch is determined in the business rules during the interruption. The processing branch determines the status transition of the candidate transaction, the acceptance of goods, the acceptance of quantities, and the permission for changes in goods attributes confirmed by the customer. If the scope of the business migration can be determined by the processing branch, the requirement recovery of the corresponding processing branch will be executed. If the scope of the business migration cannot be determined by the processing branch, the requirement interruption anchor point will be retained and the requirement recovery of the corresponding processing branch will be stopped.

4. The customer multi-dimensional behavior data profiling and personalized recommendation system according to claim 1, characterized in that, The specific steps for verifying that the migration path meets the business migration scope and restoring the pre-interruption requirement state along the same path in reverse are as follows: According to the migration path from the demand state before the business event is interrupted to the candidate transaction, verify each migration edge to see if it meets the business migration scope. For the verified migration path, restore the complete preceding requirement state edge by edge in reverse order; If there are customer-confirmed product attributes in the demand state before the interruption, all customer-confirmed product attributes in the same complete preceding demand state are consistent with the corresponding product attributes in the demand interruption anchor point, and the candidate transaction is determined to be restored through demand. If the demand status before the interruption does not have the product attributes confirmed by the customer, determine whether the candidate transaction can be restored through demand based on the direct business acceptance relationship and the verification results of status transition, product acceptance and quantity acceptance. The continuous purchase demand state chain is a state record formed by associating the real transaction states through demand recovery and mutually exclusive allocation of quantity constraints in the order of business events. When quantity splitting occurs, branches are formed according to the demand quantity share.

5. The customer multi-dimensional behavior data profiling and personalized recommendation system according to claim 4, characterized in that, The specific operation for performing quantity constraint mutual exclusion on verified candidate transactions is as follows: First, select the group with the largest total number of candidate transaction acceptance demands. Then, select the group with the smallest number of migration edges that lack direct business acceptance relationships recorded in the order system. When the number of migration edges is the same, select the group with the smallest number of attribute changes not explained by the business migration scope. If there are still multiple attribution combinations and the attribution objects of the same candidate transaction are different, the corresponding candidate transaction will be identified as an attribution-undetermined candidate transaction.

6. The customer multi-dimensional behavior data profiling and personalized recommendation system according to claim 1, characterized in that, The specific steps for determining customer demand attribution are as follows: For the actual occurrence of this attribute change in the continuous purchase demand state chain, and for which the scope of business migration clearly allows for the change of this attribute, read the structured business reason of the corresponding migration edge; Structured business reasons characterize adjustments to customer needs, and when the scope of the business rules determines the changes in attributes during the interruption, the changes in attributes are determined to be attributable to customer needs.

7. The customer multi-dimensional behavior data profiling and personalized recommendation system according to claim 6, characterized in that, The specific steps for creating evidence to be closed and maintaining the required evidence before changes are as follows: For attribute changes that have customer demand attribution, the demand evidence corresponding to the demand quantity share is updated with the changed attribute, and the attribute adjustment relationship is saved to form a profile evidence to be closed. For attribute changes that did not lead to customer demand attribution, retain evidence of the demand before the change; When the scope of the business rules for structured business interruptions includes multiple product attributes, the attribute adjustment relationship is saved according to the complete attribute combination and associated with the corresponding demand quantity share. The evidence for the pending profile is the attribute adjustment record associated with the corresponding migration edge and the share of demand quantity, and it will not be written into the customer profile before the demand is closed.

8. The customer multi-dimensional behavior data profiling and personalized recommendation system according to claim 1, characterized in that, The specific steps to determine the closed state of the demand are as follows: The eligibility for subsequent business processing is determined based on the interruption rules in the corresponding demand interruption anchor point at each demand end. When the end of the demand reaches the final state and the relevant business event data has been fully received, the qualification for subsequent business processing is terminated. When the end of the demand has not reached the final state, the qualification for subsequent business processing is terminated when the processing period expires and the relevant business event data has been fully received. When the business processing of a candidate transaction whose attribution is undetermined is completed, and the relevant business event data has been fully received but a unique attribution has not yet been formed, the candidate transaction will be removed from the closed-loop judgment condition at the corresponding demand end. When the eligibility for subsequent business processing at each end of the demand is terminated, the business processing status is all completed, and there are no candidate transactions whose attribution is still undetermined and are still participating in the closure determination, the demand closure status is determined. The demand end refers to the last confirmed demand state corresponding to each demand quantity share in the continuous purchase demand state chain. Its subsequent business processing qualification is the authority to initiate or continue to execute subsequent business processing based on the current transaction status and the business rules at the time of interruption.

9. The customer multi-dimensional behavior data profiling and personalized recommendation system according to claim 8, characterized in that, The specific steps for generating personalized recommendation results based on demand-level profile records are as follows: The recommended product range is determined based on the product hierarchy demand facts recorded in the demand-level profile. The recommendation order of corresponding product attributes is adjusted based on the closure support attribute adaptation evidence to generate personalized recommendation results.

Citation Information

Patent Citations

  • Member preference modeling and commodity recommendation method based on omni-channel consumption trajectory

    CN122288747A

  • Pet subscription box personalized commodity recommendation method based on machine learning

    CN122472862A