Dynamic account deduplication method and device, storage medium and electronic equipment
By obtaining and analyzing the historical behavior information of the target account and determining the target time interval, the problem of deduplication under multiple screening tags in the existing technology is solved, and dynamic deduplication and return-pass management is realized in advertising delivery, which improves advertising delivery efficiency and flexibility.
Patent Information
- Application Number
- CN202411264516.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-12-27
AI Technical Summary
Under the automated conversion advertising purchase model of click-by-click billing, it is difficult for the existing technology to dynamically deduplicate the account based on multiple filter tags, resulting in limited return passes and the inability to rely on previous data for deduplication logic, affecting the efficiency of advertising delivery .
By obtaining the historical behavior information of the target account, including multiple filter tags and behavior time, responding to the selection of filter tags, determining the target time interval, determining whether the account needs to be deduplicated or returned, and updating and storing behavior information to support real-time deduplication Strategy.
It realizes real-time adjustment of deduplication strategies according to needs, and quickly and accurately deduplication, avoids the time limit for taking effect, retains historical data, and is suitable for rapidly changing industry scenarios.
Smart Images

Figure CN119201921A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of information technology, and in particular to a method, device, storage medium and electronic device for dynamically deduplicating accounts. Background Art
[0002] In the scenario of the On-Click Programmatic Conversion (OCPC) advertising delivery model, the feedback device plays an important role in locating target users and stabilizing the bidding model in the scenario of advertising flow. At the same time, different advertising media parties set different feedback windows, and there will be overlap in the target groups reached by advertising under multiple buying plans.
[0003] The existing technology can only deduplicate devices that have been returned within a single delivery plan based on one filtering tag. However, when the filtering tag is changed, the previously recorded data needs to be discarded, and the deduplication logic of other filtering tags can only be performed on the incremental data. It is impossible to rely on previously generated data, resulting in limited returns. Summary of the invention
[0004] In order to solve at least one of the technical problems mentioned above, the present disclosure proposes a method, device, storage medium and electronic device for dynamic deduplication of accounts.
[0005] According to one aspect of the present disclosure, a method for dynamically deduplicating accounts is provided, comprising:
[0006] Acquire historical behavior information of the target account; the historical behavior information includes a plurality of filter tags corresponding to the historical behavior of the target account and the behavior time corresponding to the historical behavior;
[0007] In response to a selection operation of a target filtering tag among the plurality of filtering tags, target behavior information corresponding to the target filtering tag is filtered out from the historical behavior information; the target filtering tag is at least one tag among the plurality of filtering tags;
[0008] Determining a target time interval based on a behavior time and a preset return time corresponding to the target behavior information, wherein the preset return time is after the behavior time;
[0009] If the target time interval satisfies the deduplication condition, the target account is determined as the account to be deduplicated.
[0010] In some possible implementations, determining the target time interval based on the behavior time corresponding to the target behavior information and the preset return time includes:
[0011] Determine the target time closest to the preset return time among the behavior times corresponding to the target behavior information;
[0012] A target time interval is determined based on the target time and the preset return time.
[0013] In some possible implementations, the method further includes:
[0014] If the target time interval does not satisfy the deduplication condition, determining the target account as an account to be returned;
[0015] At the preset return time, sending the data to be delivered to the account to be returned;
[0016] Obtaining behavior operation information of the account to be returned based on the return behavior of the data to be delivered; the behavior operation information includes the network address of the data to be delivered transmitted in the account to be returned;
[0017] Determine multiple filter tags for the return behavior based on the behavior operation information;
[0018] Behavior information corresponding to the return behavior is determined based on a plurality of filter tags of the return behavior and the preset return time.
[0019] In some possible implementations, the method further includes:
[0020] The behavior time of the behavior information corresponding to the returned behavior is stored in the space corresponding to the first field of the historical behavior information, where the first field is used to store the behavior time corresponding to the historical behavior;
[0021] Based on the behavior time of the behavior information corresponding to the returned behavior, the content of the second field of the historical behavior information is updated, where the second field is used to store the behavior time that is closest to the current time among the behavior times corresponding to the historical behaviors;
[0022] The behavior information corresponding to the returned behavior is stored in the space corresponding to the third field of the historical behavior information, and the third field is used to store multiple filter tags corresponding to the historical behavior and the behavior time corresponding to the historical behavior.
[0023] In some possible implementations, the method further includes:
[0024] Determine the expiration time stored in the first field based on the preset expiration time, the expiration time being the behavior time before the preset expiration time;
[0025] Determine an expired behavior corresponding to the expiration time in the historical behavior information;
[0026] Delete the behavior information corresponding to the expired behavior in the historical behavior information.
[0027] In some possible implementations, the method further includes:
[0028] When the historical behavior information includes multiple historical behavior information at different times, determining the first behavior information closest to the current time;
[0029] storing the first behavior information in a space corresponding to the second field of the historical behavior information;
[0030] In the case where the target filtering tag includes a target level tag, the first behavior information is obtained from the space corresponding to the second field, and the first behavior information is determined as the target behavior information corresponding to the target level tag; the target level tag is the highest-level tag among the multiple filtering tags.
[0031] In some possible implementations, the method further includes:
[0032] In the case where the target screening tag includes a target time tag, determining whether there is a preset screening time in the first field;
[0033] If so, the target account is determined as the account to be deduplicated.
[0034] According to a second aspect of the present disclosure, a device for dynamic deduplication of accounts is provided, the device comprising:
[0035] An information acquisition module, used to acquire historical behavior information of a target account; the historical behavior information includes a plurality of filter tags corresponding to the historical behavior of the target account and the behavior time corresponding to the historical behavior;
[0036] a target behavior screening module, configured to, in response to a selection operation on a target screening tag among the plurality of screening tags, screen out target behavior information corresponding to the target screening tag from the historical behavior information; the target screening tag being at least one tag among the plurality of screening tags;
[0037] A time interval determination module, configured to determine a target time interval based on a behavior time corresponding to the target behavior information and a preset return time, wherein the preset return time is after the behavior time;
[0038] The deduplication account determination module is used to determine the target account as the account to be deduplicated when the target time interval meets the deduplication condition.
[0039] According to a third aspect of the present disclosure, an electronic device is provided, comprising at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the at least one processor implements the method for dynamic deduplication of accounts as described in any one of the first aspects by executing the instructions stored in the memory.
[0040] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, in which at least one instruction or at least one program is stored, and the at least one instruction or at least one program is loaded and executed by a processor to implement the method for dynamic deduplication of accounts as described in any one of the first aspects.
[0041] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
[0042] The implementation of this disclosure has the following beneficial effects:
[0043] Obtain the historical behavior information of the target account; the historical behavior information includes multiple filter tags corresponding to the historical behavior of the target account and the behavior time corresponding to the historical behavior; store the historical behavior information of all accounts, and obtain the corresponding historical behavior information through the identification code of the target account for duplicate checking. In response to the selection operation of the target filter tag among the multiple filter tags, filter out the target behavior information corresponding to the target filter tag from the historical behavior information; the target filter tag is at least one tag among the multiple filter tags; the historical behavior information includes multiple filter tags to facilitate real-time changes in the filtering strategy. Determine the target time interval based on the behavior time corresponding to the target behavior information and the preset return time, and the preset return time is after the behavior time; when the target time interval meets the deduplication condition, determine the target account as the account to be deduplicated. The filtering strategy can be adjusted in real time according to demand, without being restricted by the effective time and without losing historical data, and deduplication can be performed quickly and accurately.
[0044] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for use in the embodiments or prior art descriptions. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0046] Figure 1 A schematic diagram showing a flow chart of a method for dynamically deduplicating accounts according to an embodiment of the present disclosure;
[0047] Figure 2 A schematic diagram showing the relationship between the filter label dimensions according to an embodiment of the present disclosure;
[0048] Figure 3 A schematic diagram showing a flow chart of a method for determining a target time interval according to an embodiment of the present disclosure;
[0049] Figure 4 A schematic diagram showing a flow chart of a method for determining a screening tag according to an embodiment of the present disclosure;
[0050] Figure 5 A schematic diagram showing a process of a method for storing historical behavior information according to an embodiment of the present disclosure;
[0051] Figure 6 A schematic diagram showing a flow chart of a method for updating historical behavior information according to an embodiment of the present disclosure;
[0052] Figure 7 A schematic diagram showing a flow chart of a method for determining target behavior information according to an embodiment of the present disclosure;
[0053] Figure 8 A schematic diagram showing a flow chart of a method for determining accounts to be deduplicated according to an embodiment of the present disclosure;
[0054] Fig. 9 A schematic diagram showing the structure of a device for dynamic deduplication of accounts according to an embodiment of the present disclosure is shown;
[0055] Fig.10 A block diagram of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0056] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0057] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0058] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0059] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0060] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.
[0061] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.
[0062] Figure 1 A flowchart of a method for dynamically deduplicating accounts according to an embodiment of the present disclosure is shown as follows: Figure 1 As shown, the above method includes:
[0063] S101, obtaining historical behavior information of a target account; the historical behavior information includes a plurality of filter tags corresponding to the historical behaviors of the target account and the behavior time corresponding to the historical behaviors;
[0064] The execution subject may be a server, and the target account may be an electronic device detected by the server, including but not limited to a handheld computer, a desktop computer, a mobile phone, a media player, a personal digital assistant, and various combinations of the aforementioned devices. The historical behavior information is the historical behavior data of the target account stored in the cache module. The cache module may be a remote dictionary service (Remote Dictionary Server, Redis) for storage. The same account cannot have two behaviors at the same time, so there is a one-to-one correspondence between the behavior time and the historical behavior.
[0065] The filter tag can be a descriptive information related to the historical behavior. The filter tag can be used as a filter condition for deduplication.
[0066] In some embodiments, the server detects the device flow, obtains the target account of each device in the device flow, and obtains the historical behavior information of the device from the Redis cache according to the target account of each device.
[0067] The target account of the device can be a unique number generated based on the device's anonymous identity identifier (Open Anonymous Identity, OAID) or idfa number, which is guaranteed to be globally unique and can refer to the device.
[0068] S102, in response to a selection operation of a target filtering tag among the multiple filtering tags, filtering out target behavior information corresponding to the target filtering tag from the historical behavior information; the target filtering tag is at least one tag among the multiple filtering tags;
[0069] If a target filter tag among multiple filter tags is used as a filter condition, the target behavior information under the target filter tag is filtered out from the historical behavior information corresponding to the target account. The target filter condition can be one or more.
[0070] In some embodiments, the deduplication method includes device granularity and device behavior granularity. When the deduplication method is device behavior granularity, the filter tag includes the target time tag. When the deduplication method is device granularity, the filter tag includes application package, delivery channel, delivery link and delivery plan. Figure 2 As shown, application packages, channels, links, and plans are included from left to right, that is, application packages include channels, channels include links, and so on. When the target filter label is channel 1, all target links under channel 1 are filtered out, and the target plans under the target links are filtered out to find all target behavior information under the target plans.
[0071] S103, determining a target time interval based on the behavior time and preset return time corresponding to the target behavior information, where the preset return time is after the behavior time;
[0072] The preset return time is the time set by the user for the data to be returned. The preset return time can also be the trigger time of the current behavior of the target account. The behavior time is the behavior trigger time corresponding to the historical return behavior of the target account.
[0073] In some embodiments, the behavior time corresponding to the target behavior information and the preset return time are subtracted to obtain the target time interval.
[0074] In some implementations, the trigger time of the current behavior of the target account is obtained, and the trigger time of the current behavior of the target account and the behavior time corresponding to the target behavior information are subtracted to obtain the target time interval.
[0075] S104: When the target time interval satisfies the deduplication condition, the target account is determined as the account to be deduplicated.
[0076] The deduplication condition may be that the target time interval is less than the preset time interval. When the target time interval is less than the preset time interval, the target account is deduplicated, that is, no further transmission is allowed within the deduplication period.
[0077] The above technical solution has been deeply optimized in combination with the use scenarios of data delivery. It has strong scalability for deduplication logic and can meet the needs of deduplication of return users based on different dimensions and different cycles. The deduplication method is flexible and configurable. In the flow of the program, it adapts the deduplication method of each scenario. When using the system, users can adjust the deduplication strategy in real time according to their needs. There is no effective time limit and incompatibility with historical data. It is suitable for scenarios with fast strategy changes and high real-time requirements in the industry.
[0078] See also Figure 3 In some embodiments, determining the target time interval based on the behavior time corresponding to the target behavior information and the preset return time includes:
[0079] S1031, determining a target time closest to a preset return time among the behavior times corresponding to the target behavior information;
[0080] S1032: Determine a target time interval based on the target time and the preset return time.
[0081] The target behavior information may be one or more. If the target behavior information is multiple, the behavior time closest to the preset return time is compared with the preset return time.
[0082] If there is only one target behavior information, directly determine that the behavior time corresponding to the target behavior information is the target time closest to the preset return time; if there are multiple target behavior information, traverse the behavior time corresponding to the target behavior information, query the target time closest to the preset return time, and perform a difference processing between the preset return time and the target time to obtain the target time interval.
[0083] The above technical solution directly compares the most recent behavior time in the target behavior information with the preset return time, saving time cost.
[0084] See also Figure 4 In some embodiments, the method further comprises:
[0085] S201: If the target time interval does not meet the deduplication condition, determine the target account as the account to be returned;
[0086] S202, sending the data to be delivered to the account to be delivered at the preset delivery time;
[0087] S203, obtaining behavior operation information of the account to be returned based on the return behavior of the data to be delivered; the behavior operation information includes the network address of the data to be delivered transmitted in the account to be returned;
[0088] S204, determining multiple filtering tags for the return behavior based on the behavior operation information;
[0089] S205: Determine behavior information corresponding to the feedback behavior based on multiple filter tags of the feedback behavior and a preset feedback time.
[0090] If the target time interval is greater than or equal to the preset time interval, it means that the target account meets the data return requirements, and the target account is determined as the account to be returned, and the data to be delivered is sent to the account to be returned at the preset return time, and the behavioral operation information of the data to be returned in the electronic device corresponding to the target account is obtained, and multiple filtering tags for the return behavior are determined based on the behavioral operation information.
[0091] In some embodiments, if the delivery path of the data to be delivered in the electronic device corresponding to the target account is channel 2 under application 1, link 2 under channel 2, and plan 4 under link 2, the behavior operation information obtained is application 1 {channel 2 {link 2 {plan 4 {return behavior: behavior trigger time}}}}, where the behavior trigger time is the same as the preset return time. According to the behavior operation information, multiple tags of the return behavior are determined as: application 1, channel 2, link 2, and plan 4.
[0092] In the above technical solution, the screening label of the target account is determined by the return operation information of the target account, so as to select different dimensions for deduplication according to the delivery needs.
[0093] See also Figure 5 In some embodiments, the method further comprises:
[0094] S301, storing the behavior time of the behavior information corresponding to the returned behavior into the space corresponding to the first field of the historical behavior information, where the first field is used to store the behavior time corresponding to the historical behavior;
[0095] S302: Update the content of the second field of the historical behavior information based on the behavior time of the behavior information corresponding to the returned behavior, where the second field is used to store the behavior time that is closest to the current time among the behavior times corresponding to the historical behaviors;
[0096] S303: Store the behavior information corresponding to the returned behavior into the space corresponding to the third field of the historical behavior information, where the third field is used to store multiple filter tags corresponding to the historical behavior and the behavior time corresponding to the historical behavior.
[0097] The behavior time of the behavior information corresponding to the returned behavior can be a preset return time. The behavior time stored in the first field is the behavior time corresponding to the entire amount of historical behaviors, that is, the set of behavior times corresponding to historical behaviors. The second field stores the behavior time that is closest to the current time among the behavior times corresponding to the historical behaviors, and the number is 1.
[0098] In some embodiments, the historical behavior information is stored in a cache module, which can be a Redis storage, and the storage method is a key-value pair, wherein the key includes the target account, the value includes the historical behavior information, and the value includes three fields. Exemplary, key: target account; value: {"first field": "111, 222, 333, 444, 555", "second field": "555", "third field": "application package 1": {"channel 1": [{"link 1": [{"plan 1": "111"}, {"plan 2": "222"}], "link 2": [{"plan 3": "333"}, {"plan 4": "444"}]}], "channel 2": [{"link 2": [{"plan 3": "555"}]}]}}. Therefore, according to the third field, the target account has two behaviors in plan 1 under channel 1 under link 1: 111 and 222, two behaviors in plan 2: 333 and 444; and one behavior in plan 3 under channel 2 under link 2: 555. According to the details of the first field or the third field, the device has sent back five behaviors, 111, 222, 333, 444, and 555; according to the second field or the details, the most recent behavior time is 555.
[0099] The above technical solution organizes and stores the behavior information generated by each feedback behavior, facilitates the query of historical data for rapid deduplication, and supports deduplication with multiple filtering tags.
[0100] See also Figure 6 In some embodiments, the method further comprises:
[0101] S401, determining an expiration time stored in a first field based on a preset expiration time, where the expiration time is a behavior time before the preset expiration time;
[0102] S402, determining an expired behavior corresponding to an expiration time in the historical behavior information;
[0103] S403: Delete the behavior information corresponding to the expired behavior in the historical behavior information.
[0104] The preset expiration time can be set according to the actual needs of the user, and the historical behavior information of the target account in the cache before the preset expiration time can be removed.
[0105] Exemplarily, the preset expiration time is 7 days, and the behavior time 7 days ago in the first field is determined as the expiration time. Each expiration time corresponds to a unique historical behavior. The expired behavior in the third field is determined based on the expiration time, and the expired behavior in the historical behavior information is deleted.
[0106] The above technical solution timely deletes historical behaviors before a preset expiration time in the historical behavior information, thereby alleviating storage pressure.
[0107] See also Figure 7 In some embodiments, the method further comprises:
[0108] S501, when the historical behavior information includes multiple historical behavior information at different times, determine the first behavior information closest to the current time;
[0109] S502, storing the first behavior information in a space corresponding to the second field of the historical behavior information;
[0110] S503. When the target filtering tag includes a target level tag, obtain the first behavior information from the space corresponding to the second field, and determine the first behavior information as the target behavior information corresponding to the target level tag; the target level tag is the highest level tag among the multiple filtering tags.
[0111] In some embodiments, the historical behavior information includes one or more historical behavior information, and the first behavior information whose behavior time is closest to the current time is queried from the multiple historical behavior information, and the first behavior information is stored in the space corresponding to the second field, and the first behavior information includes the behavior time.
[0112] The target level tag may be the highest level filter tag among the filter tags. That is, all historical behavior information can be filtered out according to the target level tag. At this time, the first behavior information is directly obtained from the second field, and the first behavior information is used as the target behavior information.
[0113] The above technical solution directly obtains the target behavior information from the second field when the target filtering tag includes the highest-level tag among multiple filtering tags, thereby reducing time cost and improving deduplication and return efficiency.
[0114] See also Figure 8 In some embodiments, the method further comprises:
[0115] S601: When the target screening tag includes a target time tag, determine whether there is a preset screening time in the first field;
[0116] S602: If it exists, determine the target account as the account to be deduplicated.
[0117] The preset screening time is set according to user needs.
[0118] When the deduplication method is device behavior granularity, the target filtering tag includes a target time tag, and the preset filtering time is obtained. If the preset filtering time exists in the first field, the target account is determined as the account to be deduplicated, and no data is returned.
[0119] The above technical solution allows users to freely select different dimensions and different periods of deduplication according to the delivery needs. The deduplication method is flexible and configurable. In the process of program operation, the deduplication method of each scene is adapted. When using the system, users can adjust the strategy in real time according to their needs.
[0120] See also Fig. 9 According to a second aspect of the present disclosure, a device for dynamic deduplication of accounts is provided, the device comprising:
[0121] The information acquisition module 10 is used to acquire the historical behavior information of the target account; the historical behavior information includes a plurality of filter tags corresponding to the historical behavior of the target account and the behavior time corresponding to the historical behavior;
[0122] The target behavior screening module 20 is used to screen the target behavior information corresponding to the target screening tag from the historical behavior information in response to the selection operation of the target screening tag among the multiple screening tags; the target screening tag is at least one tag among the multiple screening tags;
[0123] A time interval determination module 30, configured to determine a target time interval based on a behavior time corresponding to the target behavior information and a preset return time, wherein the preset return time is after the behavior time;
[0124] The deduplication account determination module 40 is used to determine the target account as the account to be deduplicated when the target time interval meets the deduplication condition.
[0125] In some embodiments, the time interval determination module 30 includes:
[0126] A target time determination unit, used to determine a target time closest to a preset return time among the behavior times corresponding to the target behavior information;
[0127] The target time interval determination unit is used to determine the target time interval based on the target time and the preset return time.
[0128] In some embodiments, the apparatus further comprises:
[0129] A module for determining an account to be returned, used for determining a target account as an account to be returned if the target time interval does not meet the deduplication condition;
[0130] The data sending module is used to send the data to be delivered to the account to be returned at the preset return time;
[0131] A behavior operation information acquisition module is used to obtain behavior operation information of the account to be returned based on the return behavior of the data to be delivered; the behavior operation information includes the network address of the data to be delivered transmitted in the account to be returned;
[0132] A filter tag determination module, used to determine multiple filter tags of the return behavior based on the behavior operation information;
[0133] The behavior information determination module is used to determine the behavior information corresponding to the return behavior based on multiple filtering tags of the return behavior and a preset return time.
[0134] In some embodiments, the apparatus further comprises:
[0135] A first storage module, used to store the behavior time of the behavior information corresponding to the returned behavior into the space corresponding to the first field of the historical behavior information, where the first field is used to store the behavior time corresponding to the historical behavior;
[0136] A second storage module is used to update the content of the second field of the historical behavior information based on the behavior time of the behavior information corresponding to the returned behavior, and the second field is used to store the behavior time that is closest to the current time among the behavior times corresponding to the historical behaviors;
[0137] The third storage module is used to store the behavior information corresponding to the returned behavior into the space corresponding to the third field of the historical behavior information, and the third field is used to store multiple filter tags corresponding to the historical behavior and the behavior time corresponding to the historical behavior.
[0138] In some embodiments, the apparatus further comprises:
[0139] An expiration time determination module, used to determine the expiration time stored in the first field based on a preset expiration time, the expiration time being the behavior time before the preset expiration time;
[0140] An expired behavior determination module is used to determine the expired behavior corresponding to the expiration time in the historical behavior information;
[0141] The deletion module is used to delete the behavior information corresponding to the expired behavior in the historical behavior information.
[0142] In some embodiments, the apparatus further comprises:
[0143] A first behavior information determination module, used to determine the first behavior information closest to the current time when the historical behavior information includes historical behavior information at multiple different times;
[0144] A fourth storage module, used to store the first behavior information in a space corresponding to the second field of the historical behavior information;
[0145] The target behavior information determination module is used to obtain the first behavior information from the space corresponding to the second field when the target filtering tag includes a target level tag, and determine the first behavior information as the target behavior information corresponding to the target level tag; the target level tag is the highest-level tag among multiple filtering tags.
[0146] In some embodiments, the apparatus further comprises:
[0147] A determination module, configured to determine whether there is a preset screening time in the first field when the target screening tag includes a target time tag;
[0148] The deduplication module is used to determine the target account as the account to be deduplicated if it exists.
[0149] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.
[0150] An embodiment of the present application provides an account dynamic deduplication device, which may be a terminal or a server. The account dynamic deduplication device includes a processor and a memory, in which at least one instruction or at least one program is stored. The at least one instruction or the at least one program is loaded and executed by the processor to implement the account dynamic deduplication method provided in the above method embodiment.
[0151] The memory can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required for functions, etc.; the data storage area can store data created according to the use of the device, etc. In addition, the memory can include a high-speed random access memory and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory can also include a memory controller to provide the processor with access to the memory.
[0152] The method embodiments provided in the embodiments of the present application can be executed in electronic devices such as mobile terminals, computer terminals, servers or similar computing devices. Fig.10 1 is a hardware structure block diagram of an electronic device for a method for dynamically deduplicating accounts provided in an embodiment of the present application. Fig.10 As shown, the electronic device 900 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 910 (the processor 910 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 930 for storing data, and one or more storage media 920 (such as one or more mass storage devices) for storing application programs 923 or data 922. Among them, the memory 930 and the storage medium 920 can be short-term storage or permanent storage. The program stored in the storage medium 920 may include one or more modules, and each module may include a series of instruction operations in the electronic device. Furthermore, the central processing unit 910 can be configured to communicate with the storage medium 920 to execute a series of instruction operations in the storage medium 920 on the electronic device 900. The electronic device 900 may also include one or more power supplies 960, one or more wired or wireless network interfaces 950, one or more input and output interfaces 940, and / or one or more operating systems 921, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0153] The input / output interface 940 may be used to receive or send data via a network. The specific example of the network may include a wireless network provided by a communication provider of the electronic device 900. In one example, the input / output interface 940 includes a network adapter (NIC), which may be connected to other network devices via a base station so as to communicate with the Internet. In one example, the input / output interface 940 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0154] It can be understood by those skilled in the art that Fig.10 The structure shown is only for illustration and does not limit the structure of the above electronic device. Fig.10 More or fewer components as shown, or with Fig.10 Different configurations are shown.
[0155] An embodiment of the present application also provides a computer-readable storage medium, which can be set in an electronic device to store at least one instruction or at least one program related to a method for dynamic deduplication of accounts in a method embodiment. The at least one instruction or the at least one program is loaded and executed by the processor to implement the method for dynamic deduplication of accounts provided in the above method embodiment.
[0156] Optionally, in this embodiment, the storage medium may be located in at least one of the multiple network servers of the computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0157] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the above-mentioned various optional implementations.
[0158] It can be seen from the embodiments of the method, device, equipment, terminal, server, storage medium or computer program for dynamic deduplication of accounts provided by the present application that the present application obtains the historical behavior information of the target account; the historical behavior information includes multiple filtering tags corresponding to the historical behavior of the target account and the behavior time corresponding to the historical behavior; the historical behavior information of all accounts is stored, and the corresponding historical behavior information is obtained through the identification code of the target account for duplication checking. In response to the selection operation of the target filtering tag among the multiple filtering tags, the target behavior information corresponding to the target filtering tag is filtered out from the historical behavior information; the target filtering tag is at least one tag among the multiple filtering tags; the historical behavior information includes multiple filtering tags, so that the filtering strategy changes in real time. The target time interval is determined based on the behavior time corresponding to the target behavior information and the preset return time, and the preset return time is after the behavior time; when the target time interval meets the deduplication condition, the target account is determined as the account to be deduplicated. The deduplication strategy can be adjusted in real time according to demand, without being restricted by the effective time and without losing historical data, and deduplication can be performed quickly and accurately.
[0159] It should be noted that the above-mentioned sequence of the embodiments of the present application is for description only and does not represent the advantages and disadvantages of the embodiments. The above-mentioned specific embodiments of the present application are described. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0160] Each embodiment in this application is described in a progressive 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, equipment and storage medium 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 embodiment.
[0161] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or may be accomplished by instructing the relevant hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0162] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for dynamic deduplication of accounts, characterized in that: The method comprises: Acquire historical behavior information of the target account; the historical behavior information includes a plurality of filter tags corresponding to the historical behavior of the target account and the behavior time corresponding to the historical behavior; In response to a selection operation of a target filtering tag among the plurality of filtering tags, target behavior information corresponding to the target filtering tag is filtered out from the historical behavior information; the target filtering tag is at least one tag among the plurality of filtering tags; Determining a target time interval based on a behavior time and a preset return time corresponding to the target behavior information, wherein the preset return time is after the behavior time; If the target time interval satisfies the deduplication condition, the target account is determined as the account to be deduplicated.
2. The method according to claim 1, characterized in that The determining of the target time interval based on the behavior time corresponding to the target behavior information and the preset return time includes: Determine the target time closest to the preset return time among the behavior times corresponding to the target behavior information; A target time interval is determined based on the target time and the preset return time.
3. The method according to claim 1, characterized in that The method further comprises: If the target time interval does not satisfy the deduplication condition, determining the target account as an account to be returned; At the preset return time, sending the data to be delivered to the account to be returned; Obtaining behavior operation information of the account to be returned based on the return behavior of the data to be delivered; the behavior operation information includes the network address of the data to be delivered transmitted in the account to be returned; Determine multiple filter tags for the return behavior based on the behavior operation information; Behavior information corresponding to the return behavior is determined based on a plurality of filter tags of the return behavior and the preset return time.
4. The method according to claim 3, characterized in that The method further comprises: The behavior time of the behavior information corresponding to the returned behavior is stored in the space corresponding to the first field of the historical behavior information, where the first field is used to store the behavior time corresponding to the historical behavior; Based on the behavior time of the behavior information corresponding to the returned behavior, the content of the second field of the historical behavior information is updated, where the second field is used to store the behavior time that is closest to the current time among the behavior times corresponding to the historical behaviors; The behavior information corresponding to the returned behavior is stored in the space corresponding to the third field of the historical behavior information, and the third field is used to store multiple filter tags corresponding to the historical behavior and the behavior time corresponding to the historical behavior.
5. The method according to claim 4, characterized in that The method further comprises: Determine the expiration time stored in the first field based on the preset expiration time, the expiration time being the behavior time before the preset expiration time; Determine an expired behavior corresponding to the expiration time in the historical behavior information; Delete the behavior information corresponding to the expired behavior in the historical behavior information.
6. The method according to claim 1, characterized in that The method further comprises: When the historical behavior information includes multiple historical behavior information at different times, determining the first behavior information closest to the current time; storing the first behavior information in a space corresponding to the second field of the historical behavior information; In the case where the target filtering tag includes a target level tag, the first behavior information is obtained from the space corresponding to the second field, and the first behavior information is determined as the target behavior information corresponding to the target level tag; the target level tag is the highest-level tag among the multiple filtering tags.
7. The method according to claim 4, characterized in that The method further comprises: In the case where the target screening tag includes a target time tag, determining whether there is a preset screening time in the first field; If so, the target account is determined as the account to be deduplicated.
8. A device for dynamic deduplication of accounts, characterized in that: The device comprises: An information acquisition module, used to acquire historical behavior information of a target account; the historical behavior information includes a plurality of filter tags corresponding to the historical behavior of the target account and the behavior time corresponding to the historical behavior; a target behavior screening module, configured to, in response to a selection operation on a target screening tag among the plurality of screening tags, screen out target behavior information corresponding to the target screening tag from the historical behavior information; the target screening tag being at least one tag among the plurality of screening tags; A time interval determination module, configured to determine a target time interval based on a behavior time corresponding to the target behavior information and a preset return time, wherein the preset return time is after the behavior time; The deduplication account determination module is used to determine the target account as the account to be deduplicated when the target time interval meets the deduplication condition.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the method for dynamic deduplication of accounts as described in any one of claims 1-7.
10. An electronic device, characterized in that: It includes at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the at least one processor implements the account dynamic deduplication method as described in any one of claims 1-7 by executing the instructions stored in the memory.
