Data processing method and apparatus

By retrieving orders with activity identifiers from the order message queue, abnormal activities can be automatically identified and blocked, thus resolving the risk of misoperation in the configuration of marketing activities on e-commerce platforms and achieving timely prevention and accurate risk control.

CN122243572APending Publication Date: 2026-06-19ALIBABA HEALTH TECH (CHINA) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ALIBABA HEALTH TECH (CHINA) CO LTD
Filing Date
2026-05-18
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

There is a risk of misoperation when configuring marketing activities on e-commerce platforms, which can lead to asset losses and abnormal system load. The existing manual review response is slow and easily affected by subjective judgment, making it impossible to detect abnormal configurations in a timely manner.

Method used

By retrieving target orders carrying activity identifiers from the order message queue, determining activity creation information, and setting the activity status to an abnormal state when the activity type belongs to the target activity type and the creation account is a preset account, automated risk identification and blocking are achieved.

Benefits of technology

It enables the identification and blocking of abnormal activities in the early stages of an event's launch, avoiding asset losses and abnormal system loads, and significantly reducing the lag and cost of discovering losses through post-event reconciliation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122243572A_ABST
    Figure CN122243572A_ABST
Patent Text Reader

Abstract

This specification provides a data processing method and apparatus. The data processing method includes: obtaining a target order carrying an activity identifier from an order message queue, and determining activity creation information based on the activity identifier, wherein the activity creation information includes an activity type and a creation account; when the activity type belongs to a target activity type and the creation account is a preset account, setting the activity status corresponding to the activity identifier to an abnormal state, thereby achieving accurate identification and status change of abnormal activities. This allows for risk control to prevent asset losses and abnormal system loads in the early stages of activity launch, significantly reducing the lag and cost of discovering losses only after reconciliation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of data processing technology, and in particular to a data processing method. One or more embodiments of this specification also relate to a data processing apparatus, a computing device, a computer-readable storage medium, and a computer program product. Background Technology

[0002] As e-commerce platforms increase the complexity of their promotional activities, testers face the risk of misoperation when configuring marketing activities such as direct price reductions and discounts for purchases over a certain amount, which could lead to asset losses.

[0003] The current activity configuration review process relies primarily on manual verification, which is slow and susceptible to subjective judgment, making it difficult to detect errors in a timely manner. Therefore, asset loss warnings are mostly triggered during the post-event financial reconciliation stage, making it difficult to provide effective early warnings and prevent such incidents in the early stages of an activity's launch. This makes it impossible to proactively avoid financial losses or abnormal system loads caused by abnormal configurations. Summary of the Invention

[0004] In view of the above, embodiments of this specification provide a data processing method. One or more embodiments of this specification also relate to a data processing apparatus, a computing device, a computer-readable storage medium, and a computer program product, to address the technical deficiencies existing in the prior art.

[0005] According to a first aspect of the embodiments of this specification, a data processing method is provided, comprising: Retrieve the target order carrying the activity identifier from the order message queue, and determine the activity creation information based on the activity identifier. The activity creation information is related to the information when creating the activity corresponding to the activity identifier, and includes the activity type and the account used for creation. If the activity type belongs to the target activity type and the created account is a preset account, the activity status corresponding to the activity identifier will be set to an abnormal status.

[0006] According to a second aspect of the embodiments of this specification, a data processing apparatus is provided, comprising: The determination module is configured to retrieve a target order carrying an activity identifier from the order message queue, and determine activity creation information based on the activity identifier, wherein the activity creation information is related to the information when creating the activity corresponding to the activity identifier, and the activity creation information includes the activity type and the account used for creation; The settings module is configured to set the activity status corresponding to the activity identifier to an abnormal state when the activity type belongs to the target activity type and the created account is a preset account.

[0007] According to a third aspect of the embodiments of this specification, a computing device is provided, comprising: Memory and processor; The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions, which, when executed by the processor, implement the steps of the above-described data processing method.

[0008] According to a fourth aspect of the embodiments of this specification, a computer-readable storage medium is provided that stores a computer program / instructions that, when executed by a processor, implement the steps of the data processing method described above.

[0009] According to a fifth aspect of the embodiments of this specification, a computer program product is provided, including a computer program / instructions that, when executed by a processor, implement the steps of the above-described data processing method.

[0010] This specification provides a data processing method in one embodiment that retrieves target orders carrying activity identifiers from the order message queue, eliminating the lag of manual review. Based on the activity identifier, it determines the activity creation information, which provides a data foundation for risk assessment. If the activity type in the activity creation information belongs to the target activity type and the creation account is a preset account, the corresponding activity status is set to an abnormal status. This achieves accurate identification and status change of abnormal activities, thereby preventing asset losses and abnormal system loads through risk control in the early stages of activity launch, and significantly reducing the lag and cost of discovering losses only after reconciliation. Attached Figure Description

[0011] Figure 1 This is a schematic diagram illustrating a data processing method provided in one embodiment of this specification; Figure 2 This is a flowchart illustrating a data processing method provided in one embodiment of this specification; Figure 3 This is a system architecture diagram of a data processing system that provides an application data processing method according to one embodiment of this specification; Figure 4 This is a schematic diagram of the structure of a data processing device provided in one embodiment of this specification; Figure 5 This is a structural block diagram of a computing device provided in one embodiment of this specification. Detailed Implementation

[0012] Many specific details are set forth in the following description to provide a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar extensions without departing from the spirit of this specification. Therefore, this specification is not limited to the specific implementations disclosed below.

[0013] The terminology used in one or more embodiments of this specification is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of this specification. The singular forms “a,” “described,” and “the” as used in one or more embodiments of this specification and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0014] It should be understood that although the terms first, second, etc., may be used to describe various information in one or more embodiments of this specification, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first may also be referred to as second without departing from the scope of one or more embodiments of this specification, and similarly, second may also be referred to as first. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to a determination."

[0015] Furthermore, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties. Moreover, the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0016] As e-commerce platform marketing activities become increasingly complex, various promotional methods such as direct price reductions, discounts for purchases over a certain amount, and coupons are emerging in large numbers. Against this backdrop, testers, due to the similarity between the operating environment and the production environment, face the risk of mistakenly configuring and deploying test activities or configuring parameters incorrectly.

[0017] The current activity configuration review process is mostly manual, resulting in slow response times and an inability to handle the massive volume of online orders generated in real time. The system lacks a real-time correlation and verification mechanism between order data and activity configurations, making it difficult to detect abnormal configurations promptly when transactions occur. Furthermore, financial loss warnings are often delayed until the financial reconciliation stage, by which time serious consequences such as corporate asset losses and abnormal system load are already present. Therefore, there is an urgent need for an intelligent risk prevention and control solution that can intervene in real time, automatically identify, and prevent risks.

[0018] This specification provides a data processing method, and also relates to a data processing apparatus, a computing device, a computer-readable storage medium, and a computer program product, which will be described in detail in the following embodiments.

[0019] See Figure 1 , Figure 1 This diagram illustrates a scenario of a data processing method provided in one embodiment of this specification.

[0020] Specifically, this text processing method is applied to server 102. Server 102 listens to the order message queue in the order center, retrieves the target order carrying an activity identifier from the order message queue, and determines the activity creation information based on the activity identifier. The activity creation information is related to the information used when creating the activity corresponding to the activity identifier, and includes the activity type and the creation account. If the activity type belongs to the target activity type and the creation account is a preset account, the activity status corresponding to the activity identifier is set to an abnormal state. In fact, when the activity status corresponding to the activity identifier is set to an abnormal state, the activity corresponding to the activity identifier is identified as an abnormal activity, and a status change notification for the abnormal activity is sent to the end-side device 104. This marks the abnormal activity corresponding to the activity identifier as "unavailable" in the end-side device 104, making the activity rules corresponding to the abnormal activity unavailable when the order is generated, ensuring that the user cannot use the abnormal activity during checkout.

[0021] The edge device 104 may include a browser, an app (application), or a web application such as an H5 (Hypertext Markup Language 5) application, a lightweight application (also known as a mini-program), or a cloud application. The edge device can be developed based on a software development kit (SDK) provided by the server, such as a real-time communication (RTC) SDK. The edge device can be deployed in an electronic device and depends on the device's operation or certain apps within the device to run. The electronic device may have a display screen and support information browsing, such as a personal mobile terminal like a mobile phone, tablet, or personal computer. Various other types of applications can also be configured in the electronic device, such as human-computer interaction applications, model training applications, text processing applications, web browser applications, shopping applications, search applications, instant messaging tools, email clients, and social media platform software.

[0022] Server 102 can be understood as a server providing various services, including physical servers and cloud servers. Examples include servers providing communication services to multiple clients, servers supporting backend training of models used on clients, and servers processing data sent by clients. It should be noted that server 102 can be implemented as a distributed server cluster composed of multiple servers, or as a single server. Server 102 can also be a server in a distributed system, or a server integrated with blockchain. Server 102 can also be a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology.

[0023] See Figure 2 , Figure 2 A flowchart of a data processing method provided in one embodiment of this specification is shown, which specifically includes the following steps.

[0024] Step 202: Retrieve the target order carrying the activity identifier from the order message queue, and determine the activity creation information based on the activity identifier. The activity creation information is related to the information when creating the activity corresponding to the activity identifier, and includes the activity type and the account used for creation.

[0025] The order message queue can be understood as a channel for asynchronously transmitting order-related event messages, typically implemented using technologies such as RabbitMQ; the activity identifier can be understood as a code or number used to uniquely identify a promotional activity, used to associate an order with the corresponding activity configuration; the target order can be understood as order data transmitted through the message queue and containing a specific activity identifier; the activity creation information can be understood as data extracted from the activity configuration data, related to the information when the activity was created. The activity creation information includes the activity type (such as price reduction, discount for purchases over a certain amount, etc.) and the creation account (i.e., the initiator or operator account configured for the activity).

[0026] Specifically, the system listens to the order message queue, captures target orders containing activity identifiers in real time, and obtains activity creation information through these activity identifiers. Specifically, it can obtain the activity type and the account that created the activity corresponding to the activity identifier, thereby realizing the association mapping between target orders and activity creation information.

[0027] For example, when a user places an order on an e-commerce platform and the ordered product is eligible for a "direct price reduction" promotion, the order data for that product will carry an activity identifier, such as A123. By monitoring the order message queue in the order center, the order data carrying the activity identifier (i.e., the target order) can be captured. Then, the activity creation information of the corresponding activity can be determined through the activity identifier, thereby determining that the activity type is "direct price reduction" and the account created is "test_1".

[0028] By monitoring the order message queue in real time and obtaining target orders carrying activity identifiers, rapid traceability of activities is achieved, laying the foundation for subsequent automated risk identification and avoiding the inefficiency caused by manual verification.

[0029] In one or more embodiments of this specification, after obtaining a target order carrying an activity identifier, the order data of the target order is checked to see if it matches the activity configuration data corresponding to the activity identifier. If they do not match, a verification failure message is triggered. Specific implementation methods are as follows: After retrieving the target order carrying the activity identifier from the order message queue, the process includes: If the order data of the target order does not match the activity configuration data corresponding to the activity identifier, a verification failure message is triggered.

[0030] Order data can be understood as the detailed information contained in the target order, such as product information, store information, price information, and discount information; activity configuration data can be understood as the activity rules and attribute information of the promotional activity corresponding to the activity identifier. Activity configuration data includes, but is not limited to, activity type, applicable product range, applicable store range, discount level, etc.

[0031] Specifically, when a target order carrying an activity identifier is obtained, the discount information corresponding to the target order is compared with the activity rules defined in the activity configuration data. If it is confirmed that the order data (such as the purchased goods and the store) is within the applicable scope of the activity configuration data and the discount information in the order data matches the discount level in the activity configuration data, the verification is confirmed as successful, and the activity creation information is determined according to the activity identifier, thereby avoiding invalid traceability due to abnormal order data or configuration errors. If there is a discrepancy, the verification is confirmed as failed, a verification failure message is triggered, and the abnormal situation is recorded.

[0032] For example, a target order is retrieved, carrying an activity identifier of "A001". The order data for this target order identifies the product as "SKU123". By querying the activity configuration data corresponding to activity identifier "A001", it is determined that this activity applies to product "SKU456". Because the applicable scope of the product in the order data is inconsistent with that in the activity configuration data, a verification failure message is triggered, and this exception is recorded.

[0033] The data processing method provided in the embodiments of this specification effectively filters out abnormal situations caused by mismatch between activity configuration data and order data by introducing consistency verification, ensuring that the risk assessment stage is triggered when the verification is successful, thereby improving the accuracy of subsequent risk assessment stages.

[0034] In one or more embodiments of this specification, upon obtaining an activity identifier, the activity configuration data corresponding to the activity identifier is obtained by querying the activity configuration database, and then the activity creation information is determined based on the activity configuration data. Specific implementation methods are described below: The activity creation information is determined based on the activity identifier, including: The activity configuration database is queried based on the activity identifier to obtain the activity configuration data corresponding to the activity identifier, and the activity creation information is determined from the activity configuration data.

[0035] The activity configuration database can be understood as a data storage system that stores detailed configuration information corresponding to promotional activities. The activity configuration database typically includes attribute fields such as activity identifier, activity type, creation account, creation time, applicable products, and activity rules. Activity configuration data can be understood as data describing the basic attributes of promotional activities, such as data corresponding to the aforementioned fields: activity identifier, activity type, creation account, creation time, applicable products, and activity rules. Activity creation information can be understood as data extracted from the activity configuration data related to activity creation. In this embodiment, activity creation information includes the activity type and creation account used for risk assessment.

[0036] Specifically, a query request is sent to the activity configuration database based on the activity identifier to obtain the activity configuration data corresponding to the activity identifier. Then, activity creation information such as activity type and account creation is filtered out from the activity configuration data, thus realizing the data acquisition from activity identifier to detailed configuration data.

[0037] For example, if an activity identifier "A123" is obtained, a query statement is initiated to the activity configuration database based on the activity identifier to obtain activity configuration data from the activity configuration database, and the required activity creation information is determined from the activity configuration data.

[0038] The data processing method provided in the embodiments of this specification accurately queries the activity configuration database and extracts activity creation information through activity identifiers, providing data support for subsequent automated risk assessment.

[0039] Step 204: If the activity type belongs to the target activity type and the created account is a preset account, set the activity status corresponding to the activity identifier to an abnormal status.

[0040] The target activity type can be understood as an activity type defined as high-risk in the risk assessment rules, such as a target activity type like "direct price reduction" or "spend more to save." The preset account can be understood as an account in a pre-set whitelist of testers, used to identify internal testers. An abnormal status can be understood as a state used to mark an activity as having risk, such as "paused," "frozen," or "offline." This abnormal status will trigger the activity to become invalid or hidden in the user-facing product system.

[0041] Specifically, the activity type and account creation information are confirmed from the activity creation information. If the activity type belongs to the high-risk category of the target activity type and the account creation belongs to the preset tester whitelist (i.e., the account creation is a preset account), the activity status is changed to an abnormal status to prevent the activity from continuing to take effect.

[0042] For example, if the rule engine determines that the activity type corresponding to the activity identifier is "direct price reduction" (which belongs to the target activity type) and the account created by it is "test_1" (which exists in the preset tester whitelist), it determines that the activity meets the risk conditions and changes the activity status from "in effect" to "paused" (which is an abnormal status), thereby making the activity invalid.

[0043] By associating clearly defined risk conditions with automated state changes, potential abnormal activities can be blocked in a timely manner, greatly shortening the time from risk identification to execution control and effectively preventing asset losses caused by test configuration.

[0044] In one or more embodiments of this specification, the risk condition may further include the case where the order object is not a test object. That is, if the activity type belongs to the target activity type, the created account is a preset account, and the order object is not a test object, the activity is determined to meet the risk condition, and the activity status is set to an abnormal state. Specific implementation methods are as follows: In cases where the activity type belongs to the target activity type and the created account is a preset account, setting the activity status corresponding to the activity identifier to an abnormal state also includes: Identify the order object corresponding to the target order; If the activity type belongs to the target activity type, the created account is a preset account, and the order object is not a test object, the activity status corresponding to the activity identifier is set to an abnormal status, wherein the target activity type is a price reduction type and / or a discount type.

[0045] In this context, the order object can be understood as the entity associated with the target order. In this embodiment, the order object is the specific product or store contained in the order; the test object can be understood as a predefined product or store used for testing purposes.

[0046] Specifically, based on the original risk conditions (activity type is the target activity type, created by a preset account), a verification of the order object has been added. That is, the abnormal state setting will only be triggered when the product or store involved in the order does not belong to the preset test object. In other words, if the activity type is the target activity type, the account corresponding to the activity is the preset account, and the order object is not the test object, the activity status will be set to an abnormal state.

[0047] In practical applications, the following conditions can be matched based on the rule engine: the order contains high-risk offers such as direct price reduction and / or discounts for purchases over a certain amount; the creator of the activity belongs to the preset tester whitelist (i.e., the account created is a preset account); the product is a non-test product or a product from a non-test store. If these conditions are met, the activity status will be set to an abnormal state.

[0048] The data processing method provided in the embodiments of this specification further strictly limits the risk conditions by introducing the condition that the order object is not the test object. This effectively avoids the reasonable operations performed by testers in the test environment or using test data being misjudged as abnormal. While ensuring effective risk control, it significantly reduces the probability of misjudgment and improves the reliability of automated risk control.

[0049] In one or more embodiments of this specification, when it is determined that an activity meets risk conditions, a warning notification can be sent to a preset terminal device, and the activity status can be changed to an abnormal status by calling the activity management interface. Specific implementation methods are described below: If the activity type belongs to the target activity type and the created account is a preset account, the activity status corresponding to the activity identifier will be set to an abnormal status, including: If the activity type belongs to the target activity type and the created account is a preset account, a warning notification is sent to the preset terminal device, and the activity management interface is called to set the activity status to an abnormal state, wherein the abnormal state is a paused state or an offline state.

[0050] The preset terminal device can be understood as the target receiving device for the warning notification, which is usually the terminal device corresponding to the person responsible for the risk. The warning notification can be understood as a prompt message sent to the preset terminal device containing key information about the risk event (such as activity identifier, created account, activity type, order number, etc.). The activity management interface can be understood as the application programming interface provided by the activity configuration center or activity management center for modifying the activity status. The paused status can be understood as the activity being temporarily unavailable; the offline status can be understood as the activity being terminated and removed from the user's side.

[0051] Specifically, if an activity meets the risk conditions, namely, the activity type belongs to the target activity type and the created account is a preset account, a warning notification can be sent to the preset terminal device through multiple channels (such as binding a specified communication number to send SMS or trigger outbound calls, or integrating an enterprise communication platform to send messages) to achieve rapid manual perception and intervention; and the activity management interface can be called simultaneously to automatically execute the change of activity status.

[0052] For example, if the system determines that a "price reduction" activity was created by the test account "test_1", it can send an alert notification to the "operations personnel" through the enterprise communication platform. The alert notification includes "Abnormal activity alert: Activity A123 was created by the test account and generated online orders"; and call the activity management interface to set the activity status of the activity corresponding to the activity identifier to "paused" or "offline", so that the activity is invalid on the user's end.

[0053] The data processing method provided in the embodiments of this specification automates the process from risk detection to warning notification to status change by triggering early warning notification and status change. This not only sets the activity to failure to avoid further losses, but also ensures that relevant responsible personnel can receive the warning in a timely manner.

[0054] In one or more embodiments of this specification, a warning notification containing an activity identifier and risk description information is sent to a preset terminal device. This warning notification can be sent via an SMS interface or a telephone call interface. Specific implementation methods are described below: Send warning notifications to preset terminal devices, including: A warning notification containing the activity identifier is generated, and the warning notification is sent to the preset terminal device by calling the communication interface.

[0055] The communication interface can be understood as the application programming interface of a communication service provider or enterprise communication platform. For example, the communication interface includes the SMS interface and the telephone call interface, which are used to send text messages and initiate voice telephone calls, respectively.

[0056] Specifically, the preset terminal device corresponding to this warning notification is determined, and the activity identifier is combined with the predefined warning template (which can be set according to the actual situation) to generate a structured warning notification. The warning notification is reliably sent to the preset terminal device by calling one or more communication interfaces.

[0057] For example, activity A123 corresponds to two preset terminal devices D1 and D2. If activity A123 meets the risk conditions, the generated warning notification will be: "[Activity Warning] Activity ID: A123, Type: Price Reduction, Creator: test_1, already triggered by an order in the production environment, please check immediately!" Upon generating the warning notification, the SMS interface can be called to send the above warning notification to preset terminal devices D1 and D2, and simultaneously the telephone call interface can be called to trigger an outbound telephone call.

[0058] The data processing method provided in the embodiments of this specification sends an early warning notification carrying an activity identifier to a preset terminal device by calling a communication interface. This ensures that the early warning notification can reach the relevant responsible persons accurately, reliably, and in a timely manner. Furthermore, the communication interface can include multiple interfaces, thereby effectively avoiding response delays caused by the failure of a single communication channel.

[0059] In one or more embodiments of this specification, after risk handling is completed (i.e., sending an early warning notification to a preset terminal device and setting the activity status to an abnormal state), a complete early warning event log can be recorded to provide data support for subsequent review and risk analysis. Specific implementation methods are described below: After setting the activity status corresponding to the activity identifier to an abnormal status, the method further includes: Record an early warning event log containing the activity identifier, the activity creation information, and the early warning notification.

[0060] The early warning event log can be understood as a complete structured record generated for the risk response that is triggered, which usually includes the activity identifier, activity creation information and early warning notification.

[0061] Specifically, when the activity status is set to an abnormal state, the data involved in this risk event, including the activity identifier, activity creation information, and warning notification, are persistently stored as a warning event log, thus forming an immutable audit trail record.

[0062] For example, after successfully pausing an activity identified as "A123" and sending an SMS alert, the system inserts a record into the alert log table. This record may include: activity identifier "A123", activity type "direct price reduction", created account "tester_1", alert notification "SMS sent to 123456789", notification time "2026-02-04 15:00", and status change result "set to paused status".

[0063] The data processing method provided in the embodiments of this specification provides a data foundation for post-event review, operation review and accountability by recording early warning event logs containing complete context. While meeting compliance requirements, it can also continuously discover risk patterns through the analysis of early warning event logs, and then iteratively improve risk conditions to achieve more reasonable risk prevention and control.

[0064] See Figure 3 , Figure 3 This specification illustrates a system architecture diagram of a data processing system that provides an application data processing method according to one embodiment.

[0065] The data processing method provided in the embodiments of this specification is applied to a data processing system, which includes multiple units such as order message monitoring, activity configuration tracing, risk assessment, and early warning handling.

[0066] The order message monitoring unit is responsible for connecting to the message queue (such as RabbitMQ) of the order center to capture target orders carrying activity identifiers in real time. The activity configuration tracing unit quickly obtains activity configuration data based on the activity identifier through a distributed configuration center, thereby determining the activity type and the account that created the activity. The risk judgment unit has a built-in rule engine, which can flexibly configure multiple risk conditions, such as identifying whether the order contains high-risk activities such as direct price reduction or discounts for purchases over a certain amount, determining whether the activity creator belongs to the preset test personnel list, and verifying whether the products or stores involved in the activity are non-test products or non-test stores. The early warning and handling unit integrates multi-channel notifications and enterprise-level operation interfaces. Once a risk is triggered, it can immediately send SMS or telephone warnings to relevant responsible persons through the communication interface of the enterprise communication platform. At the same time, it automatically calls the activity management interface to set the activity status of the abnormal activity to pause or offline, and fully records the early warning event log for auditing.

[0067] In practical applications, the system monitors the order message queue in real time and parses the activity identifier in each order. It then queries the activity configuration database to obtain detailed information about the creator corresponding to the activity identifier. If the rule engine determines that the activity corresponding to the activity identifier simultaneously meets risk conditions such as "the activity type is a high-risk price reduction or discount activity" and "the creator is a tester," an early warning is immediately executed. This early warning includes sending warning notifications to pre-set testers and operations monitoring personnel through multiple channels, and automatically calling the activity management interface in the activity configuration center to change the abnormal activity status to "paused" or "offline." Finally, the system records the complete early warning event, covering information such as the risky order, activity identifier, and early warning action.

[0068] This specification provides an automated real-time risk control solution that can monitor various promotional activities in real time through risk condition configuration. It can issue early warnings based on key information such as discount amount, activity type, and account creation, and supports the automatic removal of abnormal activities to prevent greater asset losses.

[0069] The data processing method provided in this specification, through real-time monitoring and automated judgment mechanisms, effectively improves the timeliness and accuracy of early warnings for abnormal configurations in marketing activities. Specifically, it queries the activity identifier in the order and then retrieves the specific activity configuration information based on the activity identifier. Using this configuration information, it determines whether the activity was created by testers or non-merchant personnel and whether it is a high-risk activity. This accurately distinguishes between tester errors and normal marketing activities, thereby preventing testers or other non-merchant personnel from mistakenly creating high-risk activities such as price reductions, which could lead to asset losses and system anomalies. Based on a fully automated closed-loop system from real-time risk detection and intelligent judgment to automatic handling, it significantly shortens emergency response time and improves the security and operational reliability of marketing activities through automated in-process prevention and control.

[0070] Corresponding to the above method embodiments, this specification also provides data processing apparatus embodiments. Figure 4 A schematic diagram of the structure of a data processing apparatus according to one embodiment of this specification is shown. Figure 4 As shown, the device includes: The determination module 402 is configured to retrieve a target order carrying an activity identifier from the order message queue, and determine activity creation information based on the activity identifier, wherein the activity creation information is related to the information when creating the activity corresponding to the activity identifier, and the activity creation information includes the activity type and the account used for creation; Setting module 404 is configured to set the activity status corresponding to the activity identifier to an abnormal state when the activity type belongs to the target activity type and the created account is a preset account.

[0071] Optionally, the determining module 402 is further configured to: The activity configuration database is queried based on the activity identifier to obtain the activity configuration data corresponding to the activity identifier, and the activity creation information is determined from the activity configuration data.

[0072] Optionally, the setting module 404 is further configured to: Identify the order object corresponding to the target order; If the activity type belongs to the target activity type, the created account is a preset account, and the order object is not a test object, the activity status corresponding to the activity identifier is set to an abnormal status, wherein the target activity type is a price reduction type and / or a discount type.

[0073] Optionally, the setting module 404 is further configured to: If the activity type belongs to the target activity type and the created account is a preset account, a warning notification is sent to the preset terminal device, and the activity management interface is called to set the activity status to an abnormal state, wherein the abnormal state is a paused state or an offline state.

[0074] Optionally, the setting module 404 is further configured to: A warning notification containing the activity identifier is generated, and the warning notification is sent to the preset terminal device by calling the communication interface.

[0075] The device further includes: The verification module is configured to trigger a verification failure message if the order data of the target order does not match the activity configuration data corresponding to the activity identifier.

[0076] The device further includes: The recording module is configured to record an early warning event log containing the activity identifier, the activity creation information, and the early warning notification.

[0077] The data processing apparatus provided in one embodiment of this specification retrieves target orders carrying activity identifiers from the order message queue, eliminating the lag of manual review. Based on the activity identifier, it determines the activity creation information, which provides a data foundation for risk assessment. When the activity type belongs to the target activity type and the creation account is a preset account, the corresponding activity status is set to an abnormal state. This achieves accurate identification and status change of abnormal activities, thereby preventing asset losses and abnormal system loads through risk control in the early stages of activity launch, and significantly reducing the lag and cost of discovering losses only after reconciliation.

[0078] The above is an illustrative scheme of a data processing apparatus according to this embodiment. It should be noted that the technical solution of this data processing apparatus and the technical solution of the data processing method described above belong to the same concept. For details not described in detail in the technical solution of the data processing apparatus, please refer to the description of the technical solution of the data processing method described above.

[0079] Figure 5 A structural block diagram of a computing device 500 according to one embodiment of this specification is shown. The components of the computing device 500 include, but are not limited to, a memory 510 and a processor 520. The processor 520 is connected to the memory 510 via a bus 530, and a database 550 is used to store data.

[0080] The computing device 500 also includes an access device 540, which enables the computing device 500 to communicate via one or more networks 560. Examples of these networks include Public Switched Telephone Network (PSTN), Local Area Network (LAN), Wide Area Network (WAN), Personal Area Network (PAN), or combinations of communication networks such as the Internet. The access device 540 may include one or more of any type of wired or wireless network interface (e.g., a network interface card (NIC)), such as an IEEE 802.11 Wireless Local Area Network (WLAN) wireless interface, a Wi-MAX (Worldwide Interoperability for Microwave Access) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, or a Near Field Communication (NFC) interface.

[0081] In one embodiment of this specification, the above-described components of the computing device 500 and Figure 5 Other components, not shown, can also be connected to each other, for example, via a bus. It should be understood that... Figure 5 The block diagram of the computing device shown is for illustrative purposes only and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0082] The computing device 500 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (e.g., tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (e.g., smartphones), wearable computing devices (e.g., smartwatches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or personal computers (PCs). The computing device 500 can also be a mobile or stationary server.

[0083] The processor 520 is used to execute the following computer program / instructions, which, when executed by the processor, implement the steps of the above-described data processing method.

[0084] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the computing device embodiments are basically similar to the data processing method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the data processing method embodiments.

[0085] An embodiment of this specification also provides a computer-readable storage medium storing a computer program / instructions that, when executed by a processor, implement the steps of the above-described data processing method.

[0086] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the computer-readable storage medium embodiments are basically similar to the data processing method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the data processing method embodiments.

[0087] An embodiment of this specification also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of the above-described data processing method.

[0088] The above is an illustrative scheme of a computer program product according to this embodiment. It should be noted that the technical solution of this computer program product and the technical solution of the data processing method described above belong to the same concept. For details not described in detail in the technical solution of the computer program product, please refer to the description of the technical solution of the data processing method described above.

[0089] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0090] The computer instructions include computer program code, which may be in the form of source code, object code, executable file, or certain intermediate forms. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium may be appropriately added or removed according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media may not include electrical carrier signals and telecommunication signals.

[0091] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments in this specification are not limited to the described order of actions, because according to the embodiments in this specification, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the embodiments in this specification.

[0092] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0093] The preferred embodiments disclosed above are merely illustrative of this specification. Optional embodiments do not exhaustively describe all details, nor do they limit the invention to the specific implementations described. Clearly, many modifications and variations can be made based on the embodiments described herein. These embodiments are selected and specifically described in this specification to better explain the principles and practical applications of the embodiments, thereby enabling those skilled in the art to better understand and utilize this specification. This specification is limited only by the claims and their full scope and equivalents.

Claims

1. A data processing method, comprising: Retrieve the target order carrying the activity identifier from the order message queue, and determine the activity creation information based on the activity identifier. The activity creation information is related to the information when creating the activity corresponding to the activity identifier, and includes the activity type and the account used for creation. If the activity type belongs to the target activity type and the created account is a preset account, the activity status corresponding to the activity identifier will be set to an abnormal status.

2. The method as described in claim 1, wherein determining activity creation information based on the activity identifier includes: The activity configuration database is queried based on the activity identifier to obtain the activity configuration data corresponding to the activity identifier, and the activity creation information is determined from the activity configuration data.

3. The method as described in claim 1, wherein when the activity type belongs to the target activity type and the created account is a preset account, setting the activity status corresponding to the activity identifier to an abnormal status further includes: Identify the order object corresponding to the target order; If the activity type belongs to the target activity type, the created account is a preset account, and the order object is not a test object, the activity status corresponding to the activity identifier is set to an abnormal status, wherein the target activity type is a price reduction type and / or a discount type.

4. The method as described in claim 1, wherein when the activity type belongs to the target activity type and the created account is a preset account, setting the activity status corresponding to the activity identifier to an abnormal status includes: If the activity type belongs to the target activity type and the created account is a preset account, a warning notification is sent to the preset terminal device, and the activity management interface is called to set the activity status to an abnormal state, wherein the abnormal state is a paused state or an offline state.

5. The method as described in claim 4, wherein sending a warning notification to a preset terminal device includes: A warning notification containing the activity identifier is generated, and the warning notification is sent to the preset terminal device by calling the communication interface.

6. The method as described in claim 4 or 5, after setting the activity status corresponding to the activity identifier to an abnormal status, further includes: Record an early warning event log containing the activity identifier, the activity creation information, and the early warning notification.

7. A data processing apparatus, comprising: The determination module is configured to retrieve a target order carrying an activity identifier from the order message queue, and determine activity creation information based on the activity identifier, wherein the activity creation information is related to the information when creating the activity corresponding to the activity identifier, and the activity creation information includes the activity type and the account used for creation; The settings module is configured to set the activity status corresponding to the activity identifier to an abnormal state when the activity type belongs to the target activity type and the created account is a preset account.

8. A computing device, comprising: Memory and processor; The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions, which, when executed by the processor, implement the steps of the data processing method according to any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program / instructions that, when executed by a processor, implement the steps of the data processing method according to any one of claims 1 to 6.

10. A computer program product comprising a computer program / instructions that, when executed by a processor, implement the steps of the data processing method according to any one of claims 1 to 6.