This invention relates to the field of
data processing, specifically to a customer tagging and segmentation method and
system, comprising: S1: obtaining a segmentation expression; S2: converting the segmentation expression into a postfix expression; S3:
parsing the postfix expression, identifying the basic operators in the postfix expression, and marking reusable operators; S4: generating a segmentation task based on the
parsing results, wherein the segmentation task includes one or more structured
query language statements; wherein, for basic operators marked as reusable, the historical calculation results of the basic operator are directly referenced when generating the structured
query language statement, and for basic operators not marked as reusable, a
query statement for the original tag data involved in the basic operator is generated; S5: executing the segmentation task to obtain a target audience
list. This invention addresses the problems in existing technologies where customer tagging and segmentation operations are highly dependent on technical personnel,
business personnel cannot independently complete complex segmentation needs, and computational resources cannot be effectively reused, leading to high costs.