Data processing method and device, electronic equipment and storage medium
By judging the delivery scope of advertising orders in the platform-side device and only sending business data within the delivery scope, the problem of business data accumulation and delayed entry into force is solved, and the delivery effect of advertising orders is improved.
Patent Information
- Application Number
- CN202411269462.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2025-01-10
AI Technical Summary
With the increase in the user order of the platform-side device and the provision of M-API, the amount of service data that the platform-side device needs to send to the engine-side device increases, resulting in the accumulation of service data and delayed effectiveness, affecting the delivery effect of advertising orders.
By receiving the service data adjustment instructions sent by the client device, it is determined whether the associated advertising order is within the delivery scope, and only sends target service data to the second electronic device when the delivery scope is within the delivery scope, filtering the entities associated with the advertising order that are not within the delivery scope Business data, reduce data volume and pressure.
It reduces the pressure on sending and receiving business data between the platform-side equipment and the engine-side equipment, improves the efficiency of business data, and improves the effectiveness of advertising orders.
Smart Images

Figure CN119295146A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a data processing method, device, electronic device and storage medium. Background Art
[0002] Currently, when a user creates or modifies an entity of an advertising order, the platform-side device transmits the business data of the entity to the engine-side device in real time, so that the engine-side device can take effect on the business data and complete the update of the entity of the advertising order. However, with the increase in the number of platform-side device users and the provision of the Marketing Application Programming Interface (M-API), the amount of operations performed by platform-side device users has increased, and the amount of business data that the platform-side device needs to send to the engine-side device has increased, which has caused certain pressure on both the platform-side device sending business data and the engine-side device receiving business data. Under peak conditions, business data will accumulate, and business data will be delayed in taking effect, affecting the delivery effect of advertising orders. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a data processing method, device, electronic device and storage medium to reduce the pressure of sending and receiving business data, improve the effectiveness of business data, and improve the delivery effect of advertising orders. The specific technical solution is as follows:
[0004] In a first aspect of the implementation of the present application, a data processing method is first provided, which is applied to a first electronic device, and the method includes:
[0005] Receiving a service data adjustment instruction sent by a client device;
[0006] According to the business data adjustment instruction, the business data of the first entity is adjusted to obtain target business data;
[0007] Determining whether the first advertising order associated with the first entity is included in the advertising order within the delivery scope;
[0008] If the advertisement order is included in the delivery range, the target business data is sent to the second electronic device, so that the second electronic device can take effect on the target business data.
[0009] In some embodiments, the method further comprises:
[0010] If the advertising order is not included in the delivery range, the target business data is not sent to the second electronic device.
[0011] In some embodiments, the method further comprises:
[0012] Determining the adjustment type indicated by the service data adjustment instruction;
[0013] If the adjustment type belongs to the preset type, executing the step of sending the target service data to the second electronic device so that the second electronic device can take effect on the target service data;
[0014] If the adjustment type does not belong to the preset type, the step of determining whether the first advertising order associated with the first entity is included in the advertising order within the delivery range is performed.
[0015] In some embodiments, the preset type includes at least one of the following: creating an entity, deleting an entity, starting a delivery entity, and pausing a delivery entity.
[0016] In some embodiments, determining whether the first advertising order associated with the first entity is included in the advertising order within the delivery scope includes:
[0017] Determine at least one first effective time corresponding to the first entity according to the pre-stored correspondence between the entity and the effective time in each advertising order, wherein the effective time is the time when the advertising order is most recently determined to be in an effective state;
[0018] Determining whether the at least one first effective time includes effective time within a preset time period;
[0019] If the valid time is included in the preset time period, determining that the first advertising order associated with the first entity is included in the advertising order within the delivery range;
[0020] If the effective time is not included in the preset time period, it is determined that the first advertising order associated with the first entity does not include advertising orders within the delivery scope.
[0021] In some embodiments, the method further comprises:
[0022] At every preset maintenance period, obtaining at least one second advertising order in a valid state;
[0023] For each second advertising order, determining whether the pre-stored correspondence between the entity and the effective time in each advertising order includes the correspondence between the entity and the effective time in the second advertising order;
[0024] If the corresponding relationship between the entity and the effective time in the second advertising order is included, then updating the second effective time corresponding to the second entity associated with the second advertising order to the current time;
[0025] If the correspondence between the entity and the effective time in the second advertising order is not included, the current time is used as the second effective time, and a correspondence between the second entity associated with the second advertising order and the second effective time is established as the correspondence between the entity and the effective time in the second advertising order.
[0026] In some embodiments, the entity includes at least one of an advertiser entity, an advertising campaign entity, an advertising targeting entity, and an advertising creative entity; and the second advertising order is an advertising order in which each associated entity is in a valid state.
[0027] In a second aspect of the implementation of the present application, there is further provided a data processing device, which is applied to a first electronic device, and the device includes:
[0028] A receiving module, used for receiving a service data adjustment instruction sent by a client device;
[0029] An adjustment module, configured to adjust the business data of the first entity according to the business data adjustment instruction to obtain target business data;
[0030] A first determination module, configured to determine whether the first advertising order associated with the first entity is included in the advertising order within the delivery range;
[0031] The sending module is used to send the target business data to the second electronic device if the advertisement order is included in the delivery range, so that the second electronic device can take effect on the target business data.
[0032] In some embodiments, the first determination module is further configured to:
[0033] If the advertising order is not included in the delivery range, the target business data is not sent to the second electronic device.
[0034] In some embodiments, the device further includes a second determination module, configured to:
[0035] Determining the adjustment type indicated by the service data adjustment instruction;
[0036] If the adjustment type belongs to the preset type, executing the step of sending the target service data to the second electronic device so that the second electronic device can take effect on the target service data;
[0037] If the adjustment type does not belong to the preset type, the step of determining whether the first advertising order associated with the first entity is included in the advertising order within the delivery range is performed.
[0038] In some embodiments, the preset type includes at least one of the following: creating an entity, deleting an entity, starting a delivery entity, and pausing a delivery entity.
[0039] In some embodiments, the first determination module is specifically configured to:
[0040] Determine at least one first effective time corresponding to the first entity according to the pre-stored correspondence between the entity and the effective time in each advertising order, wherein the effective time is the time when the advertising order is most recently determined to be in an effective state;
[0041] Determining whether the at least one first effective time includes effective time within a preset time period;
[0042] If the valid time is included in the preset time period, determining that the first advertising order associated with the first entity is included in the advertising order within the delivery range;
[0043] If the effective time is not included in the preset time period, it is determined that the first advertising order associated with the first entity does not include advertising orders within the delivery scope.
[0044] In some embodiments, the apparatus further comprises an updating module, configured to:
[0045] At every preset maintenance period, obtaining at least one second advertising order in a valid state;
[0046] For each second advertising order, determining whether the pre-stored correspondence between the entity and the effective time in each advertising order includes the correspondence between the entity and the effective time in the second advertising order;
[0047] If the corresponding relationship between the entity and the effective time in the second advertising order is included, then updating the second effective time corresponding to the second entity associated with the second advertising order to the current time;
[0048] If the correspondence between the entity and the effective time in the second advertising order is not included, the current time is used as the second effective time, and a correspondence between the second entity associated with the second advertising order and the second effective time is established as the correspondence between the entity and the effective time in the second advertising order.
[0049] In some embodiments, the entity includes at least one of an advertiser entity, an advertising campaign entity, an advertising targeting entity, and an advertising creative entity; and the second advertising order is an advertising order in which each associated entity is in a valid state.
[0050] In a third aspect of the implementation of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0051] Memory, used to store computer programs;
[0052] The processor is used to implement any of the above-mentioned data processing methods when executing the program stored in the memory.
[0053] In another aspect of the implementation of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any of the above-mentioned data processing methods is implemented.
[0054] In another aspect of the implementation of the present application, a computer program product comprising instructions is also provided, which, when executed on a computer, enables the computer to execute any of the above-mentioned data processing methods.
[0055] In the technical solution provided by the embodiment of the present application, the first electronic device obtains the adjusted target business data of the first entity according to the received business data adjustment instruction, and determines whether the advertising order associated with the first entity (such as the first advertising order) is within the delivery range, and only when the first advertising order is within the delivery range, the target business data of the first entity is sent to the second electronic device. Applying the technical solution provided by the embodiment of the present application, by determining whether the associated advertising order is within the delivery range, the business data of the entity associated with the advertising order that is not within the delivery range is filtered, reducing the amount of business data that the first electronic device needs to send to the second electronic device, thereby reducing the pressure on the first electronic device to send business data and the second electronic device to receive business data, improving the effectiveness efficiency of business data, and improving the delivery effect of advertising orders. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.
[0057] Figure 1 A first flow chart of a data processing method provided in an embodiment of the present application;
[0058] Figure 2 A second flow chart of the data processing method provided in the embodiment of the present application;
[0059] Figure 3 A third flow chart of the data processing method provided in the embodiment of the present application;
[0060] Figure 4 A detailed schematic diagram of step S12 provided in an embodiment of the present application;
[0061] Figure 5 A detailed schematic diagram of the update correspondence relationship provided in the embodiment of the present application;
[0062] Figure 6 A schematic diagram of a data processing method provided in an embodiment of the present application;
[0063] Figure 7 A schematic diagram of the structure of a data processing device provided in an embodiment of the present application;
[0064] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0065] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0066] Currently, when a user adds, modifies, or performs other operations on an entity in an advertising order, the platform-side device transmits the business data of the entity to the engine-side device in real time, so that the engine-side device can take effect on the business data and complete the advertising order update. However, with the increase in the number of platform-side device users and the provision of M-API (i.e., the open interface provided by the platform-side device to users), the amount of operations performed by platform-side device users has increased, and the amount of business data that the platform-side device needs to send to the engine-side device has increased, causing certain pressure on both the platform-side device sending business data and the engine-side device receiving business data. Under peak conditions, business data will accumulate, and business data will take effect with delay, affecting the delivery effect of advertising orders.
[0067] For example, when a user configures a scheduled task through the M-API open interface to access the platform-side device interface for operations, or performs batch price changes on a large number of advertising orders placed on an account within a concentrated time period, the user's operation volume and the amount of business data that the platform-side device needs to send will increase instantly within a period of time, affecting the efficiency of the normal online advertising orders.
[0068] In order to solve the above problems, the embodiment of the present application provides a data processing method, which is applied to a first electronic device, that is, a platform-side device. For ease of description, the first electronic device is used as the execution subject in the following. The first electronic device can be a computer, a server, etc., which is not limited.
[0069] See also Figure 1 , Figure 1 A first flow chart of a data processing method provided in an embodiment of the present application is applied to a first electronic device. The data processing method includes the following steps.
[0070] Step S11: receiving a service data adjustment instruction sent by a client device.
[0071] Step S12: adjusting the business data of the first entity according to the business data adjustment instruction to obtain target business data.
[0072] Step S13, determining whether the first advertisement order associated with the first entity is included in the advertisement order within the delivery range. If so, that is, the advertisement order is included in the delivery range, executing step S14.
[0073] Step S14: sending the target service data to the second electronic device so that the second electronic device can validate the target service data.
[0074] In the technical solution provided by the embodiment of the present application, the first electronic device obtains the adjusted target business data of the first entity according to the received business data adjustment instruction, and determines whether the advertising order associated with the first entity (such as the first advertising order) is within the delivery range, and only when the first advertising order is within the delivery range, the target business data of the first entity is sent to the second electronic device. Applying the technical solution provided by the embodiment of the present application, by determining whether the associated advertising order is within the delivery range, the business data of the entity associated with the advertising order that is not within the delivery range is filtered, reducing the amount of business data that the first electronic device needs to send to the second electronic device, thereby reducing the pressure on the first electronic device to send business data and the second electronic device to receive business data, improving the effectiveness efficiency of business data, and improving the delivery effect of advertising orders.
[0075] In the above step S11, the client device is an electronic device for adjusting business data for users (such as advertisers), which can be a mobile phone, a computer, etc., and the client device is not limited here. The user can operate on the client device to adjust the business data. Based on the user's operation, the client device generates a business data adjustment instruction indicating the adjustment of the business data, and sends the business data adjustment instruction to the first electronic device, and the first electronic device receives the business data adjustment instruction.
[0076] In the embodiment of the present application, the business data belongs to the advertising entity, and the business data of an advertising entity represents the business status of the advertising entity. The advertising entity is an instance created by the user and represents any dimensional feature of any advertising order. The business data of different types of advertising entities are different, representing different dimensional features of advertising orders. Each advertising order is associated with an advertising entity representing any dimensional feature of the advertising order. In any dimension, each advertising order is associated with only one advertising entity, that is, each advertising order is associated with only one advertising entity of different types. For ease of description, the advertising entity will be referred to as entity in the following.
[0077] The type of entity includes at least one of the following: advertiser type, advertising campaign type, advertising targeting type and advertising creative type, which respectively correspond to advertiser entity (i.e., advertiser type entity), advertising campaign entity (i.e., advertising campaign type entity), advertising targeting entity (i.e., advertising targeting type entity) and advertising creative entity (i.e., advertising creative type entity), and respectively represent advertiser dimension features, advertising campaign dimension features, advertising targeting dimension features and advertising creative dimension features of the advertising order. Based on this, the entities associated with an advertising order may include at least one of the advertiser entity, advertising campaign entity, advertising targeting type entity and advertising creative entity.
[0078] The business data of the advertiser entity may include delivery status, budget, and balance. Delivery status indicates whether the advertiser corresponding to the advertiser entity can deliver advertisements. Delivery status may include frozen status (indicating that the advertiser cannot deliver advertisements) and normal status (indicating that the advertiser can deliver advertisements). Budget refers to the budget of the advertiser corresponding to the advertiser entity for delivering advertisement orders, including total budget, daily budget (i.e., the budget for delivering advertisement orders for one day) and weekly budget (i.e., the budget for delivering advertisement orders for one week). Balance refers to the account balance of the advertiser corresponding to the advertiser entity. The business data of the advertiser entity is not limited here.
[0079] The business data of the advertising campaign entity may include delivery status, budget, and scheduling time. The delivery status indicates whether the advertising campaign entity is enabled, and may include the delivery status (indicating that the advertising campaign entity is enabled), the deleted status (indicating that the advertising campaign entity has been deleted by the user), and the paused status (indicating that the advertising campaign entity is not enabled). The budget is the total budget for delivering the advertising order associated with the advertising campaign entity. The scheduling time indicates the delivery time period of the advertising order associated with the advertising campaign entity, and may include the start time and end time of the delivery. The business data of the advertising campaign entity is not limited here.
[0080] The business data of the advertising targeting entity may include delivery status, target delivery object, pricing method, price and delivery form, etc. The delivery status indicates whether the advertising targeting entity is enabled, and may include the delivery status (indicating that the advertising targeting entity is enabled), the deletion status (indicating that the advertising targeting entity has been deleted by the user), and the pause status (indicating that the advertising targeting entity is not enabled), etc.; the target delivery object is the delivery object of the advertising order associated with the advertising targeting entity, for example, the target delivery object may be a delivery object that meets the conditions such as the preset age group, and the preset age group and the conditions met by the target delivery object are not limited here; the pricing method is the price calculation method of the advertising order associated with the advertising targeting entity, and may include pricing by exposure times, pricing by click times, etc.; the price corresponds to the pricing method, when the pricing method is pricing by exposure times, the price is the unit price of exposing the advertisement indicated by the advertising order associated with the advertising targeting entity to the delivery object once, and when the pricing method is pricing by click times, the price is the unit price of the advertisement indicated by the advertising order associated with the advertising targeting entity when the delivery object clicks once; the delivery form is the delivery position of the advertising order associated with the advertising targeting entity, and may include in-video delivery, column delivery, image delivery, etc. The business data of the advertising targeting entity is not limited here.
[0081] The business data of the advertising creative entity may include delivery status, creative content, etc. Delivery status indicates whether the advertising creative entity is enabled, and may include delivery status (indicating that the advertising creative entity is enabled), deletion status (indicating that the advertising creative entity has been deleted by the user), and paused status (indicating that the advertising creative entity is not enabled), etc. Creative content refers to the advertising content of the advertising order associated with the advertising targeting entity, such as the pictures, texts, and videos of the advertisement. The business data of the advertising creative entity is not limited here.
[0082] In the embodiment of the present application, there may be an association relationship between different types of entities. Different types of entities may be associated in sequence according to the preset order of entity types. For example, when the preset order is advertiser type, advertising campaign type, advertising targeting type, and advertising creative type, an advertiser entity may be associated with one or more advertising campaign entities, an advertising campaign entity may be associated with one or more advertising targeting entities, and an advertising targeting entity may be associated with one or more advertising creative entities. The preset order is not limited here.
[0083] When the preset order is met, different types of entities may not be associated in sequence. For example, an advertiser entity may be associated with one or more advertising targeting entities, and these one or more advertising targeting entities are associated with the advertising campaign entity associated with the advertiser entity. There is no limitation on this.
[0084] In the embodiment of the present application, the business data of any type of entity associated with an advertising order represents the relevant information under the corresponding dimension feature of the advertising order. For example, if an advertising order is associated with an advertiser entity, then the business data such as the delivery status, budget, and balance of the advertiser entity represents the relevant information under the advertiser dimension feature of the advertising order, that is, the relevant information of the advertiser who delivered the advertising order.
[0085] An entity can be associated with one or more insertion orders. Depending on the type, the number of insertion orders that an entity can be associated with varies. For example, the advertiser entity, the ad type entity, and the ad targeting entity can be associated with one or more insertion orders, while the ad creative entity can only be associated with one insertion order.
[0086] The relevant information under the corresponding dimension features of one or more insertion orders associated with the same entity is the same. For example, when the entity type includes advertiser type and campaign type, if two insertion orders are associated with the same advertiser entity, it means that the relevant information under the advertiser dimension features of the two insertion orders is the same, that is, the two insertion orders are placed by the same advertiser; if three insertion orders are associated with the same campaign entity, it means that the relevant information under the campaign dimension features of the three insertion orders is the same, that is, the three insertion orders belong to the same campaign.
[0087] An entity may not be associated with any insertion order, that is, the entity does not represent any dimension feature of any insertion order. There is no limit on the number of insertion orders associated with an entity.
[0088] In the embodiment of the present application, a complete advertising order is associated with one entity of each type. For example, when the entity types include advertiser type, advertising campaign type, advertising targeting type, and advertising creative type, a complete advertising order is associated with one advertiser entity, one advertising campaign entity, one advertising targeting type entity, and one advertising creative entity.
[0089] In the embodiment of the present application, the user can create, delete or modify any entity of any type (such as the first entity) on the client device, and adjust the business data of the first entity to adjust the business status of the first entity. In this case, the client device generates a business data adjustment instruction indicating the adjustment of the first entity and sends it to the first electronic device.
[0090] Each entity may correspond to an entity ID (Identity Document, ID), and the business data adjustment instruction may carry the entity ID of the first entity (hereinafter referred to as the first entity ID) and the adjustment content. The adjustment content may include the specific content of the adjustment of the business data, such as the delivery status, price and / or scheduling time modified by the user. The adjustment content of different types of entities is different, and the adjustment content is not limited here.
[0091] In the embodiment of the present application, the advertising order and the entity can be associated through the entity identifier, and the manner of associating the advertising order and the entity is not limited herein.
[0092] In the above step S12, after the first electronic device receives the business data adjustment instruction, it can adjust the business data of the first entity according to the business data adjustment instruction. In the embodiment of the present application, the first electronic device can determine the first entity whose business data needs to be adjusted according to the first entity identifier carried in the business data adjustment instruction, and adjust the business data of the first entity according to the adjustment content carried in the business data adjustment instruction, and obtain the adjusted business data of the first entity as the target business data. The target business data can be the adjusted business data of the first entity, or it can be all the business data of the first entity after adjustment, which is not limited.
[0093] In the embodiment of the present application, after adjusting the service data of the first entity, the first electronic device may generate a real-time stream message indicating that the service data adjustment is completed. The real-time stream message may include an entity identifier and / or adjustment content, and the content included in the real-time stream message is not limited here.
[0094] When the business data of the entity is stored in the database, the first electronic device adjusts the business data of the first entity in the database, updates the database, and generates a corresponding database log as a real-time stream message. The database log can be a binary log message (binlog), etc. The location where the business data is stored and the form of the real-time stream message are not limited here.
[0095] Afterwards, the first electronic device can obtain the business data of the first entity from the database as the target business data according to the first entity identifier included in the database log. For example, when the first entity is an advertiser entity, the first electronic device can obtain the business data of the first entity such as the delivery status, budget, and balance as the target business data.
[0096] The first electronic device may also obtain the business data corresponding to the adjustment content of the first entity from the database as the target business data according to the first entity identifier and the adjustment content included in the database log. For example, when the first entity is an advertiser entity and the adjustment content is to modify the advertiser's balance, the first electronic device may only obtain the balance of the first entity as the target business data. The target business data is not limited here.
[0097] In the above step S13, the first advertising order is an advertising order associated with the first entity. In the embodiment of the present application, the first electronic device can determine the advertising order associated with the first entity identifier as the first advertising order based on the first entity identifier. The manner in which the first electronic device determines the first advertising order is not limited herein. Since the number of advertising orders associated with an entity can be arbitrary, the first advertising order determined by the first electronic device can also be arbitrary, and the number of the first advertising orders is not limited herein.
[0098] If an advertising order is in the delivery range, it means that the advertising order has been delivered to the platform user (such as the advertising delivery object), and if the advertising order is not in the delivery range, it means that the advertising order has not been delivered to the platform user. The delivery range can be related to the effective time of the advertising order. Advertising orders with an effective time within a preset time period are within the delivery range. The length of the preset time period can be 12 hours, 1 day, etc. Taking the length of the preset time period as 12 hours as an example, the preset time period represents the time period from 12 hours ago to the current time. The delivery range can also be related to the scheduling time of the advertising order. Advertising orders with a scheduling time within the preset schedule are within the delivery range. The preset schedule can be a scheduling time period represented by a preset start date to a preset end date. The delivery range can also be related to other information such as target users and delivery forms. The delivery range, preset time period and preset schedule are not limited here. The effective time of the advertising order will be described in detail later and will not be described in detail here.
[0099] In an embodiment of the present application, the first electronic device can use the delivery range of the advertisement order as a filtering condition for the target business data. After the first electronic device determines the first advertisement order, the first electronic device determines whether each first advertisement order is within the delivery range, that is, determines whether the delivery status of the first advertisement order is in delivery, so as to determine whether the first entity is an entity associated with the advertisement order in delivery.
[0100] For example, for each first advertising order, when the delivery range is related to the effective time of the advertising order, the first electronic device can judge whether the effective time is within the preset time period based on the effective time of the first advertising order, so as to judge whether the first advertising order is within the delivery range; when the delivery range is related to the scheduling time of the advertising order, the first electronic device can judge whether the scheduling time is within the preset scheduling based on the scheduling time of the first advertising order, that is, based on the scheduling time of the advertising series entity associated with the first advertising order, so as to judge whether the first advertising order is within the delivery range.
[0101] According to whether the first advertising order is included in the advertising order within the delivery scope, the first electronic device may perform different steps, which may be specifically divided into the following two cases.
[0102] Case 1: The first advertising order includes advertising orders within the delivery scope.
[0103] If there is any first advertising order in the delivery range, the first electronic device can determine that the first advertising order is being delivered, and the first entity is an entity associated with the advertising order in the delivery range, and then execute step S14, send the target business data to the second electronic device in real time through the real-time data stream, the second electronic device receives the target business data and takes effect, and the business data adjustment instruction takes effect. In the embodiment of the present application, the second electronic device is also an engine-side device, and the second electronic device can be a computer, a server, etc., which is not limited to this.
[0104] The first electronic device may obtain the adjusted business data of the first entity as the target business data after determining that the first advertising order is included in the delivery range. The time for obtaining the target business data is not limited here.
[0105] Case 2: The first advertising order does not include advertising orders within the delivery scope.
[0106] If all first advertising orders are not in the delivery range, the first electronic device may determine that none of the first advertising orders are being delivered, and the first entity is not an entity associated with the advertising orders in the delivery range. In this case, the target business data does not need to be effective on the second electronic device, and the first electronic device may not send the target business data to the second electronic device. When the first electronic device obtains the target business data after determining that the first advertising order is included in the advertising orders in the delivery range, the first electronic device may not obtain the target business data.
[0107] In an embodiment of the present application, when the first electronic device generates a real-time stream message, the delivery range of the advertising order is also the filtering condition of the real-time stream message. The first electronic device can determine whether the first advertising order includes advertising orders in the delivery range and filter the generated real-time stream message.
[0108] When the real-time stream message meets the filtering condition, this situation is the same as the above situation 1, and the first electronic device can send the target service data to the second electronic device. When the real-time stream message does not meet the filtering condition, this situation is the same as the above situation 2, and the first electronic device can discard the real-time stream message and not send the target service data to the second electronic device. For details, please refer to the relevant descriptions of the above situation 1 and situation 2.
[0109] When the first entity is not associated with any advertising order, the first advertising order does not exist, and the first electronic device can determine that the first entity is not an entity associated with the advertising order within the delivery scope, which can be regarded as the same as the situation where the first advertising order is not included in the delivery scope. The first electronic device does not send the target business data to the second electronic device. For details, please refer to the relevant description of the above situation 2.
[0110] See also Figure 2 , Figure 2 A second flow chart of a data processing method provided in an embodiment of the present application, the data processing method may include the following steps.
[0111] Step S21: receiving a service data adjustment instruction sent by a client device.
[0112] Step S22: adjusting the business data of the first entity according to the business data adjustment instruction to obtain target business data.
[0113] Step S23, determining whether the first advertising order associated with the first entity is included in the advertising order within the delivery range. If yes, that is, the advertising order is included in the delivery range, executing step S24. If no, that is, the advertising order is not included in the delivery range, executing step S25.
[0114] Step S24: sending the target service data to the second electronic device so that the second electronic device can validate the target service data.
[0115] Step S25: Do not send the target service data to the second electronic device.
[0116] The above steps S21 to S22 are the same as steps S11 to S12, the above step S24 is the same as step S14, and the above steps S23 and S25 may refer to the relevant description of the above step S13 and situation 2 for details.
[0117] By applying the technical solution provided in the embodiment of the present application, the first electronic device filters out the target business data after determining that the first entity is not an entity associated with the advertising order within the delivery range. Without restricting user operations or affecting user use, the amount of business data that the first electronic device needs to send to the second electronic device is reduced, thereby reducing the pressure on the first electronic device to send business data and the second electronic device to receive business data.
[0118] In some embodiments, see Figure 3 , Figure 3 This is a third flow chart of the data processing method provided in an embodiment of the present application. The above data processing method may include the following steps.
[0119] Step S31: receiving a service data adjustment instruction sent by a client device.
[0120] Step S32: adjusting the business data of the first entity according to the business data adjustment instruction to obtain target business data.
[0121] Step S33: determine the adjustment type indicated by the service data adjustment instruction.
[0122] Step S34, determining whether the adjustment type belongs to the preset type. If not, that is, the adjustment type does not belong to the preset type, then executing step S35; if yes, that is, the adjustment type belongs to the preset type, then executing step S36.
[0123] Step S35, determining whether the first advertising order associated with the first entity is included in the advertising order within the delivery range. If yes, that is, the advertising order is included in the delivery range, executing step S36. If no, that is, the advertising order is not included in the delivery range, executing step S37.
[0124] Step S36: sending the target service data to the second electronic device so that the second electronic device can validate the target service data.
[0125] Step S37: Do not send the target service data to the second electronic device.
[0126] The above-mentioned steps S31 to S32 are the same as steps S11 to S12, and steps S35 to S37 are the same as steps S23 to S25.
[0127] By applying the technical solution provided in the embodiment of the present application, the first electronic device uses the more important adjustment type as the preset type. When the adjustment type is the preset type, there is no need to determine whether the first entity is associated with the advertising order within the delivery range, but directly sends the business data of the first entity to prevent the more important business data from failing to take effect.
[0128] In step S33, the adjustment type corresponds to the adjustment content, which is a specific way of adjusting the first entity. The adjustment type may include at least one of creating an entity, modifying the delivery status of an entity, and modifying specific information of an entity.
[0129] Different types of entities have different adjustment types. For example, for advertiser entities, the adjustment type does not include modifying the delivery status of the entity. For campaign entities, ad targeting entities, and ad creative entities, modifying the delivery status of the entity can be divided into three types: deleting the entity (the adjustment includes modifying the delivery status of the entity to the deleted state), starting the delivery entity (the adjustment includes modifying the delivery status of the entity to the delivery status), and pausing the delivery entity (the adjustment includes modifying the delivery status of the entity to the paused state).
[0130] The adjustment type for modifying the specific information of an entity can be divided into modifying balance, modifying price, modifying creative content, etc., depending on the modified business data. For example, when the adjustment content includes the price modified by the user, the adjustment type is to modify the price; when the entity is an advertising targeting entity and the adjustment content includes the delivery status modified by the user, the adjustment type is to modify the delivery status of the entity; when the adjustment content includes the schedule time modified by the user, the adjustment type is to modify the schedule time. For the sake of ease of description, the following examples are taken as examples of adjustment types including creating an entity, modifying the delivery status of an entity, and modifying the specific information of an entity, and they are not limiting.
[0131] The first electronic device may extract adjustment content from the service data adjustment instruction, and determine the adjustment type according to the adjustment content. The first electronic device may also generate a real-time stream message including an entity identifier, adjustment content, and adjustment type after adjusting the service data of the first entity, and obtain the adjustment type from the real-time stream message.
[0132] In step S34, the preset type is an adjustment type that affects the delivery status of the advertising order associated with the entity. The preset type may include creating an entity and / or modifying the delivery status of an entity, that is, the preset type includes at least one of the following: creating an entity, deleting an entity, starting a delivery entity, and pausing a delivery entity. The preset type may also include other adjustment types, which may be set according to actual conditions and are not limited here.
[0133] The first electronic device determines whether the determined adjustment type belongs to the preset type. If the adjustment type does not belong to the preset type, the first electronic device needs to execute step S34 to determine whether the first advertising order is within the delivery range. If the adjustment type belongs to the preset type, the first electronic device does not need to execute step S34 to determine whether the first advertising order is within the delivery range, but directly executes step S36 to send the target business data to the second electronic device.
[0134] That is, when the adjustment type is to create an entity and / or modify the delivery status of an entity, the first electronic device does not need to filter the target business data and / or real-time stream message, and directly sends the target business data to the second electronic device and makes the target business data effective. For example, when the preset type includes deleting an entity, if the first electronic device determines that the adjustment type is to delete an entity, the first electronic device modifies the delivery status of the first entity to the deletion status, determines that the adjustment type belongs to the preset type, and sends the business data of the first entity to the second electronic device for effectiveness.
[0135] In some embodiments, see Figure 4 , Figure 4 A detailed schematic diagram of step S12 provided in an embodiment of the present application, the above-mentioned step S12 may include the following steps.
[0136] Step S41, according to the pre-stored correspondence between entities and validity periods in each advertisement order, at least one first validity period corresponding to a first entity is determined, where the validity period is the time when the advertisement order is most recently determined to be in a valid state.
[0137] Step S42, determining whether at least one first effective time includes effective time within the preset time period. If yes, that is, effective time within the preset time period, executing step S43; if no, that is, effective time not within the preset time period, executing step S44.
[0138] Step S43: Determine that the first advertising order associated with the first entity is included in the advertising order within the delivery scope.
[0139] Step S44: Determine that the first advertising order associated with the first entity does not include an advertising order within the delivery scope.
[0140] In the technical solution provided in the embodiment of the present application, the effective time of the advertising order is used to determine whether the advertising order is within the delivery range, so that the second electronic device only takes effect on the business data of the entity associated with the advertising order whose effective time is within the preset time period, so as to reduce the resources occupied by the business data of the entity whose effective time is not within the preset time period, improve resource utilization, and at the same time reduce the amount of business data sent by the first electronic device and received by the second electronic device.
[0141] In the above step S41, the valid state indicates that the advertising order is being delivered. The first electronic device can determine whether each advertising order is in a valid state. When any advertising order is determined to be in a valid state, the time when it was last determined to be in a valid state is used as the valid time of the advertising order.
[0142] The first electronic device may determine multiple times whether each advertising order is in a valid state. The first electronic device may periodically determine whether each advertising order is in a valid state and periodically update the valid time. The first electronic device may also determine whether each advertising order is in a valid state and update the valid time when receiving an instruction to update the valid time sent by the client device.
[0143] The first electronic device may determine whether each entity associated with the advertising order is in a valid state, and when each entity is in a valid state, the advertising order is determined to be in a valid state. For example, when the advertising order is associated with an advertiser entity, an advertising campaign entity, an advertising targeting entity, and an advertising creative entity, the first electronic device determines whether the advertiser entity, the advertising campaign entity, the advertising targeting entity, and the advertising creative entity are in a valid state respectively, and when all are in a valid state, the advertising order is determined to be in a valid state.
[0144] In an embodiment of the present application, the first electronic device can determine whether different types of entities are in a valid state based on the business data of the entity. For example, when the delivery status of the advertiser entity is in a normal state and the balance is greater than 0, the first electronic device can determine that the advertiser entity is in a valid state; when the delivery status of the advertising campaign entity is in a delivery state and the current time is within the scheduled time, the first electronic device can determine that the advertising campaign entity is in a valid state; when the delivery status of the advertising targeting entity is in a delivery state, the first electronic device can determine that the advertising targeting entity is in a valid state; when the delivery status of the advertising creative entity is in a delivery state and the creative content is approved, the first electronic device can determine that the advertising creative entity is in a valid state. The method for determining whether different types of entities are in a valid state is not limited here.
[0145] The first electronic device pre-stores a correspondence between an entity associated with each advertising order and the effective time of the advertising order. The first electronic device can determine the effective state of each advertising order through the correspondence. For example, when an advertising order is associated with an advertiser entity, an advertising campaign entity, an advertising targeting entity, and an advertising creative entity, a correspondence is established between the advertiser entity, the advertising campaign entity, the advertising targeting entity, and the advertising creative entity associated with the advertising order and the effective time of the advertising order.
[0146] After determining the first entity, the first electronic device can determine the correspondence between the first entity and the effective time (such as the first correspondence) according to the pre-stored correspondence, and determine the first advertising order associated with the first entity and the effective time corresponding to the first entity (such as the first effective time), and the first effective time is the effective time of the first advertising order. When the first entity is associated with multiple first advertising orders, there are also multiple first effective times, and the number of the first effective times is not limited here.
[0147] In an embodiment of the present application, the correspondence between the entity and the effective time in the advertisement order can be represented by the correspondence between the entity identifier and the effective time. After obtaining the first entity identifier, the first electronic device can determine the first correspondence including the first entity identifier from the pre-stored correspondences according to the first entity identifier to obtain the first effective time.
[0148] In step S42, the first electronic device determines whether each first valid time obtained is within a preset time period, so as to determine whether each first advertising order associated with the first entity is within the delivery range. The preset time period can be specifically referred to in the relevant description of the above step S12.
[0149] If any of the first effective times is within the preset time period, the first electronic device may execute step S43 to determine that the first advertising order includes advertising orders within the delivery range. If all of the first effective times are not within the preset time period, the first electronic device may execute step S44 to determine that the first advertising order does not include advertising orders within the delivery range.
[0150] In the embodiment of the present application, the first corresponding relationship may not exist in the pre-stored corresponding relationships, that is, the first entity is not associated with any advertising order, and the first effective time does not exist, which can be regarded as the same as the situation where the first effective time is not within the preset time period. The first electronic device can also execute step S44 to determine that the first advertising order does not include advertising orders in the delivery scope.
[0151] In an embodiment of the present application, the first electronic device may store the correspondence between the entity and the effective time in each advertising order in the investment relationship table, and each table item in the investment relationship table corresponds to an advertising order, and records the entity (or entity identifier) associated with the advertising order and the effective time of the advertising order. For example, when the entity associated with the advertising order is an advertiser entity, an advertising campaign entity, an advertising targeting entity, and an advertising creative entity, the advertiser entity, the advertising campaign entity, the advertising targeting entity, and the advertising creative entity (or the entity identifier of each entity) associated with the advertising order and the effective time of the advertising order are recorded in the corresponding table item in the investment relationship table.
[0152] In this case, the first electronic device can search for the first entity (or the first entity identifier) in the investment relationship table, obtain the first table item that records the first entity, and determine the first corresponding relationship. The number of first table items is not limited here. Afterwards, the first electronic device uses the valid time recorded in each first table item as the first valid time, and determines whether each first valid time is within the preset time period. When the first electronic device does not find the first entity in the investment relationship table, the first electronic device can determine that the first table item does not exist, that is, the first valid time does not exist, and the first electronic device determines that the first advertising order does not include advertising orders within the delivery range.
[0153] In some embodiments, the first electronic device may periodically update the correspondence between the entity and the effective time in each advertising order, see Figure 5 , Figure 5 A detailed schematic diagram of the update correspondence relationship provided for an embodiment of the present application may include the following steps.
[0154] Step S51: acquiring at least one second advertisement order in a valid state every preset maintenance period.
[0155] Step S52, for each second advertising order, determine whether the correspondence between the entity and the effective time in each advertising order stored in advance includes the correspondence between the entity and the effective time in the second advertising order. If yes, that is, the correspondence between the entity and the effective time in the second advertising order is included, then execute step S53; if no, that is, the correspondence between the entity and the effective time in the second advertising order is not included, then execute step S54.
[0156] Step S53: Update the second effective time corresponding to the second entity associated with the second advertising order to the current time.
[0157] Step S54: Taking the current time as the second effective time, establishing a correspondence between the second entity associated with the second advertising order and the second effective time as the correspondence between the entity and the effective time in the second advertising order.
[0158] In the technical solution provided in the embodiment of the present application, the first electronic device periodically updates the correspondence between the entities and the effective time in each advertising order, establishes a new correspondence between the advertising orders, and updates the effective time, which can more accurately determine the delivery scope and accurately filter out the data for adjusting the business data of the entities associated with the advertising orders outside the delivery scope, thereby reducing the amount of business data that needs to be sent.
[0159] In the above step S51, the preset maintenance period is a period for updating the corresponding relationship, and the preset maintenance period may be 5 minutes, 10 minutes, etc., which is not limited. The first electronic device obtains an advertisement order that is currently valid as the second advertisement order every preset maintenance period.
[0160] The first electronic device may obtain the second advertising order according to the status of the entity associated with the advertising order. The entity associated with the second advertising order (such as the second entity) is in a valid status.
[0161] The first electronic device may obtain entities that are in a valid state and associated with the same advertising order, and when the entities associated with the same advertising order include entities of various types, the advertising order is used as the second advertising order, and the entity associated with the advertising order is used as the second entity. The first electronic device may also determine the entity associated with each advertising order, and use the advertising order that is associated with entities of various types and each of which is in a valid state as the second advertising order, and the entity associated with the advertising order as the second entity.
[0162] For example, when the types of entities include advertiser types, advertising campaign types, advertising targeting types, and advertising creative types, the first electronic device may first obtain advertising campaign entities in a valid state, and for each advertising campaign entity obtained, determine whether the associated advertiser entity is in a valid state; when for each advertising campaign entity in which the associated advertiser entity is in a valid state, obtain the advertising targeting entity in a valid state associated with each advertising campaign entity; for each advertising targeting entity in a valid state, obtain the advertising creative entity in a valid state associated with each advertising targeting entity, and obtain an advertising order in which the associated advertiser entity, advertising campaign entity, advertising targeting entity, and advertising creative entity are all in a valid state, as the second advertising order. The method for obtaining the second advertising order is not limited herein.
[0163] In the above step S52, for each second advertising order, the first electronic device determines whether the pre-stored correspondence between entities and effective times in each advertising order includes the correspondence between entities and effective times in the second advertising order, that is, whether it includes the correspondence between the second entity associated with the second advertising order and the effective time corresponding to the second entity (such as the second effective time).
[0164] In the embodiment of the present application, after obtaining the second advertising order and the second entity, for each second advertising order, the first electronic device may search for the correspondence between the entity and the effective time in the second advertising order (ie, the second correspondence) in the pre-stored correspondence.
[0165] If the second corresponding relationship is found, it is determined that the pre-stored corresponding relationship includes the corresponding relationship between the entity and the effective time in the second advertising order, and step S53 is executed to modify the second effective time corresponding to the second entity to the current time to update the effective time.
[0166] If the second corresponding relationship is not found, it is determined that the pre-stored corresponding relationship does not include the corresponding relationship between the entity and the effective time in the second advertising order, and step S54 is executed to establish the corresponding relationship between the second entity and the second effective time using the current time as the second effective time.
[0167] In an embodiment of the present application, when the first electronic device uses an in-investment relationship table to store the correspondence between entities and effective time in each advertising order, the first electronic device can maintain the in-investment relationship table at every preset maintenance period to achieve periodic updates of the correspondence. After obtaining the second advertising order, the first electronic device can search the in-investment relationship table for the second table entry corresponding to the second entity associated with each second advertising order. If the second table entry is found, the second effective time recorded in the second table entry is updated to the current time; if the second table entry is not found, a new table entry is established in the in-investment relationship table to record the second entity and the second effective time.
[0168] In an embodiment of the present application, the first electronic device can also export the full amount of business data once every preset export period, and send the business data of the entity associated with each advertising order in a valid state to the second electronic device, so as to correct data errors that may occur when the business data is sent in real time through the real-time data stream, thereby improving accuracy.
[0169] Below through Figure 6 The data processing method provided in the embodiment of the present application is described in detail. Figure 6 A schematic diagram of a data processing method provided by an embodiment of the present application is shown in FIG.
[0170] After receiving the instruction (i.e., the business data adjustment instruction) sent by the client device, the platform-side device adjusts the business data of the entity in the database, obtains the binary log message (i.e., the real-time stream message), and obtains the entity ID (i.e., the entity identifier) from the binary log message. The platform-side device maintains the order service, and determines the investment status (i.e., the effective status) of each advertising order in the order service. The platform-side device maintains the investment relationship table once every preset maintenance cycle, that is, traverses the database of the platform-side device, searches for the advertiser entity, advertising campaign entity, advertising targeting entity, and advertising creative entity associated with the same advertising order, and records the entity ID (i.e., the advertiser ID, advertising campaign ID, advertising targeting ID, and advertising creative ID) and the current time in the investment relationship table (i.e., export_record). That is, when there is a corresponding table entry in the investment relationship table, the latest generation time (i.e., the effective time, export_time) corresponding to the table entry is updated to the current time. When there is no corresponding table entry in the investment relationship table, the entity ID and the current time are added as table entries to the investment relationship table to realize data input.
[0171] The platform-side device obtains the investment orders from the investment relationship table, that is, obtains the table items that exist in the investment relationship table and whose most recent generation time is within a preset timing cycle (that is, a preset time period), to achieve data output.
[0172] The platform-side device inputs the acquired entity ID into the on-the-job order service, and determines whether the advertising order associated with the entity ID is being placed (in a valid state) based on the on-the-job order output by the on-the-job order service. That is, it determines whether the table entry corresponding to the entity ID exists in the on-the-job relationship table and whether the most recent generation time is within the preset timing period to obtain a judgment result. If so, that is, the advertising order associated with the entity ID is being placed, the platform-side device obtains the business data of the entity ID (that is, the target business data), assembles the data packet, and sends it to the engine-side device, so that the engine-side device takes effect on the business data. If not, that is, the advertising order associated with the entity ID is not being placed, the process ends.
[0173] In the technical solution provided by the embodiment of the present application, the business data of entities associated with advertising orders that are not being placed (i.e., advertising orders that are in a valid state, i.e., advertising orders within the delivery range) are filtered out, and only the business data of entities associated with advertising orders that are being placed are retained, thereby reducing the amount of business data that the platform-side device needs to send and the amount of business data that the engine-side device needs to receive and take effect. For example, when there is no account balance in the account operated by the user (i.e., the advertiser's account) that can be used for advertising delivery, the platform-side device can filter the user operations performed using the advertiser's account, based on the real-time stream messages and business data generated by the user operations.
[0174] By applying the technical solution provided in the embodiment of the present application, the platform-side device maintains the service for placing orders, and sorts out the advertising order status of the platform-side device, which is of great significance for the filtering of real-time stream messages, the export of full-scale section data, and the statistics of placing orders (i.e., advertising orders that are in the placing state).
[0175] In addition, with the development of business, the growth of platform-side device users and the popularization of M-API functions, the volume of real-time stream messages is increasing. After filtering the orders being placed, nearly 90% of the real-time stream messages can be filtered out, which helps to improve the effectiveness of real-time data and the stability of the system, and improves the effectiveness efficiency of business data, which has a positive effect on increasing the revenue of advertising orders and reducing user complaints and feedback.
[0176] In the technical solution provided by the embodiment of the present application, the platform-side device can also add monitoring of key tasks in the process of maintaining the investment relationship table, for example, monitoring the review changes of creative content, monitoring the changes in the delivery status of advertising campaign entities, advertising targeting entities and advertising creative entities, and maintaining the investment relationship table, so that the update of the investment status of advertising orders is more real-time and the judgment of investment orders is more accurate.
[0177] Corresponding to the above data processing method, the present application embodiment also provides a data processing device, see Figure 7 , applied to a first electronic device, the device comprising:
[0178] A receiving module 71, configured to receive a service data adjustment instruction sent by a client device;
[0179] An adjustment module 72, configured to adjust the business data of the first entity according to the business data adjustment instruction to obtain target business data;
[0180] A first determination module 73, configured to determine whether the first advertising order associated with the first entity is included in the advertising order within the delivery range;
[0181] The sending module 74 is configured to send the target business data to the second electronic device if the advertisement order is included in the delivery range, so that the second electronic device can take effect on the target business data.
[0182] In the technical solution provided by the embodiment of the present application, the first electronic device obtains the adjusted target business data of the first entity according to the received business data adjustment instruction, and determines whether the advertising order associated with the first entity (such as the first advertising order) is within the delivery range, and only when the first advertising order is within the delivery range, the target business data of the first entity is sent to the second electronic device. Applying the technical solution provided by the embodiment of the present application, by determining whether the associated advertising order is within the delivery range, the business data of the entity associated with the advertising order that is not within the delivery range is filtered, reducing the amount of business data that the first electronic device needs to send to the second electronic device, thereby reducing the pressure on the first electronic device to send business data and the second electronic device to receive business data, improving the effectiveness efficiency of business data, and improving the delivery effect of advertising orders.
[0183] In some embodiments, the first determination module 73 is further configured to:
[0184] If the advertising order is not included in the delivery range, the target business data is not sent to the second electronic device.
[0185] In some embodiments, the device further includes a second determination module, configured to:
[0186] Determining the adjustment type indicated by the service data adjustment instruction;
[0187] If the adjustment type belongs to the preset type, executing the step of sending the target service data to the second electronic device so that the second electronic device can take effect on the target service data;
[0188] If the adjustment type does not belong to the preset type, the step of determining whether the first advertising order associated with the first entity is included in the advertising order within the delivery range is performed.
[0189] In some embodiments, the preset type includes at least one of the following: creating an entity, deleting an entity, starting a delivery entity, and pausing a delivery entity.
[0190] In some embodiments, the first determination module 73 is specifically configured to:
[0191] Determine at least one first effective time corresponding to the first entity according to the pre-stored correspondence between the entity and the effective time in each advertising order, wherein the effective time is the time when the advertising order is most recently determined to be in an effective state;
[0192] Determining whether the at least one first effective time includes effective time within a preset time period;
[0193] If the valid time is included in the preset time period, determining that the first advertising order associated with the first entity is included in the advertising order within the delivery range;
[0194] If the effective time is not included in the preset time period, it is determined that the first advertising order associated with the first entity does not include advertising orders within the delivery scope.
[0195] In some embodiments, the apparatus further comprises an updating module, configured to:
[0196] At every preset maintenance period, obtaining at least one second advertising order in a valid state;
[0197] For each second advertising order, determining whether the pre-stored correspondence between the entity and the effective time in each advertising order includes the correspondence between the entity and the effective time in the second advertising order;
[0198] If the corresponding relationship between the entity and the effective time in the second advertising order is included, then updating the second effective time corresponding to the second entity associated with the second advertising order to the current time;
[0199] If the correspondence between the entity and the effective time in the second advertising order is not included, the current time is used as the second effective time, and a correspondence between the second entity associated with the second advertising order and the second effective time is established as the correspondence between the entity and the effective time in the second advertising order.
[0200] In some embodiments, the entity includes at least one of an advertiser entity, an advertising campaign entity, an advertising targeting entity, and an advertising creative entity; and the second advertising order is an advertising order in which each associated entity is in a valid state.
[0201] The present application also provides an electronic device, such as a first electronic device, Figure 8 As shown, it includes a processor 81, a communication interface 82, a memory 83 and a communication bus 84, wherein the processor 81, the communication interface 82 and the memory 83 communicate with each other through the communication bus 84.
[0202] A memory 83, for storing computer programs;
[0203] The processor 81 is used to execute the program stored in the memory 83 to implement the following steps:
[0204] Receiving a service data adjustment instruction sent by a client device;
[0205] According to the business data adjustment instruction, the business data of the first entity is adjusted to obtain target business data;
[0206] Determining whether the first advertising order associated with the first entity is included in the advertising order within the delivery scope;
[0207] If the advertisement order is included in the delivery range, the target business data is sent to the second electronic device so that the second electronic device takes effect on the target business data.
[0208] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0209] The communication interface is used for communication between the above terminal and other devices.
[0210] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0211] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0212] In another embodiment provided in the present application, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the data processing method described in any one of the above embodiments is implemented.
[0213] In another embodiment provided in the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the data processing method described in any one of the above embodiments.
[0214] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.
[0215] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0216] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, electronic device, computer-readable storage medium, and computer program product embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0217] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.
Claims
1. A data processing method, characterized in that: Applied to a first electronic device, the method includes: Receiving a service data adjustment instruction sent by a client device; According to the business data adjustment instruction, the business data of the first entity is adjusted to obtain target business data; Determining whether the first advertising order associated with the first entity is included in the advertising order within the delivery scope; If the advertisement order is included in the delivery range, the target business data is sent to the second electronic device, so that the second electronic device can take effect on the target business data.
2. The method according to claim 1, characterized in that The method further comprises: If the advertising order is not included in the delivery range, the target business data is not sent to the second electronic device.
3. The method according to claim 1, characterized in that The method further comprises: Determining the adjustment type indicated by the service data adjustment instruction; If the adjustment type belongs to the preset type, executing the step of sending the target service data to the second electronic device so that the second electronic device can take effect on the target service data; If the adjustment type does not belong to the preset type, the step of determining whether the first advertising order associated with the first entity is included in the advertising order within the delivery range is performed.
4. The method according to claim 3, characterized in that The preset type includes at least one of the following: create entity, delete entity, start delivery entity, and pause delivery entity.
5. The method according to claim 1, characterized in that The determining whether the first advertising order associated with the first entity is included in the advertising order within the delivery range includes: Determine at least one first effective time corresponding to the first entity according to the pre-stored correspondence between the entity and the effective time in each advertising order, wherein the effective time is the time when the advertising order is most recently determined to be in an effective state; Determining whether the at least one first effective time includes effective time within a preset time period; If the valid time is included in the preset time period, determining that the first advertising order associated with the first entity is included in the advertising order within the delivery range; If the effective time is not included in the preset time period, it is determined that the first advertising order associated with the first entity does not include advertising orders within the delivery scope.
6. The method according to claim 5, characterized in that The method further comprises: At every preset maintenance period, obtaining at least one second advertising order in a valid state; For each second advertising order, determining whether the pre-stored correspondence between the entity and the effective time in each advertising order includes the correspondence between the entity and the effective time in the second advertising order; If the corresponding relationship between the entity and the effective time in the second advertising order is included, then updating the second effective time corresponding to the second entity associated with the second advertising order to the current time; If the correspondence between the entity and the effective time in the second advertising order is not included, the current time is used as the second effective time, and a correspondence between the second entity associated with the second advertising order and the second effective time is established as the correspondence between the entity and the effective time in the second advertising order.
7. The method according to claim 6, characterized in that The entity includes at least one of an advertiser entity, an advertisement campaign entity, an advertisement targeting entity, and an advertisement creative entity; and the second advertisement order is an advertisement order in which each associated entity is in a valid state.
8. A data processing device, characterized in that: Applied to a first electronic device, the device comprises: A receiving module, used for receiving a service data adjustment instruction sent by a client device; An adjustment module, configured to adjust the business data of the first entity according to the business data adjustment instruction to obtain target business data; A first determination module, configured to determine whether the first advertising order associated with the first entity is included in the advertising order within the delivery range; The sending module is used to send the target business data to the second electronic device if the advertisement order is included in the delivery range, so that the second electronic device can take effect on the target business data.
9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 7 when executing a program stored in a memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 7 are implemented.