Media resource processing method and device, storage medium and electronic device
Automatically judge and diagnose repeated exposure media resources through the computer system, the problem of repeated exposure on the application is solved, the search and diagnosis efficiency is improved, and labor costs are reduced.
Patent Information
- Application Number
- CN202210199950.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-01
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2042-03-01
AI Technical Summary
In the prior art, the phenomenon of repeated exposure of media resources on applications is common, resulting in a decline in user experience and low manual search efficiency, making it difficult to diagnose the cause of repeated exposure.
By obtaining the historical exposure information and exposure configuration information of the target media resources and accounts, the computer system automatically determines the repeated exposure and diagnoses the cause, uses the target request time and exposure time for diagnosis to provide the target diagnostic results.
It improves the search efficiency and diagnostic efficiency of repeated exposure media resources, reduces labor costs, and realizes rapid positioning and diagnosis of repeated exposure media resources.
Smart Images

Figure CN116737783B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to a method and device for processing media resources, a storage medium, and an electronic device. Background Art
[0002] In related fields, media resources exposed on applications can include advertisements, videos, audio, and more. For example, short videos are exposed on a short video application, and advertisements are exposed on an instant messaging application. When applications expose media resources to users, they typically use specific exposure strategies to prevent repeated exposure of media resources on the user's client. However, repeated exposure of media resources still occurs on applications, for example, the same advertisement or short video is repeatedly exposed to users. This repeated exposure of media resources affects the user experience.
[0003] Currently, if media resources are repeatedly exposed on an app, users can submit feedback. However, this requires backend staff to locate the duplicated media resources. Even if developers do find the duplicated media resources, it can be difficult to diagnose the cause. Manually locating duplicated media resources is labor-intensive and inefficient.
[0004] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention
[0005] Embodiments of the present invention provide a method and apparatus for processing media resources, a storage medium, and an electronic device, to at least solve the technical problem of low efficiency in searching for repeatedly exposed media resources.
[0006] According to one aspect of an embodiment of the present invention, a method for processing media resources is provided, comprising: obtaining historical exposure information corresponding to a target media resource and a target account, and exposure configuration information of the target media resource, wherein the historical exposure information indicates the number of times the target media resource has been exposed to the target account, and the exposure configuration information indicates the number of times the target media resource is allowed to be exposed to the same account; determining whether the target media resource is a repeatedly exposed media resource based on the historical exposure information and the exposure configuration information; and in the case where it is determined that the target media resource is the repeatedly exposed media resource, performing repeated exposure diagnosis processing on the target media resource based on a target request time and a target exposure time to obtain a target diagnosis result, wherein the target request time indicates the time when the target account requests the target media resource, the target exposure time indicates the time when the target media resource is exposed to the target account, and the target diagnosis result is used to indicate the reason for the repeated exposure of the target media resource.
[0007] Optionally, determining whether the target media resource is a repeatedly exposed media resource based on the historical exposure information and the exposure configuration information includes: determining the target media resource as the repeatedly exposed media resource when the historical exposure information indicates the first number of times the target media resource is exposed to the target account within a preset duration, and the exposure configuration information indicates the second number of times the target media resource is allowed to be exposed to the same account within the preset duration, and the first number is greater than the second number; or determining the target media resource as the repeatedly exposed media resource when the historical exposure information indicates the third number of times the target media resource is exposed to the target account in a group of media resources, and the exposure configuration information indicates the fourth number of times the target media resource is allowed to be exposed to the same account in N consecutive media resources, and the third number is greater than the fourth number, wherein the group of media resources includes N media resources continuously exposed to the target account, and N is a positive integer greater than or equal to 2.
[0008] Optionally, determining whether the target media resource is a repeatedly exposed media resource based on the historical exposure information and the exposure configuration information includes: when the historical exposure information indicates the number of times the target media resource in each dimension of multiple dimensions is exposed to the target account, and the exposure configuration information indicates the number of times the target media resource in each dimension of the multiple dimensions is allowed to be exposed to the same account, judging whether the number of times the target media resource in each dimension is exposed to the target account is greater than the number of times the target media resource in each dimension is allowed to be exposed to the same account; when there is a target dimension among the multiple dimensions, and the number of times the target media resource in the target dimension is exposed to the target account is greater than the number of times the target media resource in the target dimension is allowed to be exposed to the same account, determining the target media resource as the repeatedly exposed media resource.
[0009] Optionally, in a case where the historical exposure information indicates the number of times the target media resource is exposed to the target account in each of a plurality of dimensions, and the exposure configuration information indicates the number of times the target media resource is allowed to be exposed to the same account in each of the plurality of dimensions, determining whether the number of times the target media resource is exposed to the target account in each of the dimensions is greater than the number of times the target media resource is allowed to be exposed to the same account in each of the dimensions comprises: the case where the historical exposure information respectively indicates the first actual number, the second actual number, and the third actual number of times the target media resource is exposed to the target account at the target site, the target application, and the target exposure position, and the exposure configuration information respectively indicates the first allowed number, the second allowed number, and the third allowed number of times the target media resource is allowed to be exposed to the same account at the target site, the target application, and the target exposure position. In this case, it is determined whether the first actual number is greater than the first allowed number, whether the second actual number is greater than the second allowed number, and whether the third actual number is greater than the third allowed number, wherein the target application includes multiple applications on the target site, and the target exposure position includes multiple exposure positions on the target application; when there is a target dimension among the multiple dimensions, and the number of times the target media resource under the target dimension is exposed to the target account is greater than the number of times the target media resource under the target dimension is allowed to be exposed to the same account, the target media resource is determined to be the repeatedly exposed media resource, including: when the first actual number is greater than the first allowed number, or the second actual number is greater than the second allowed number, or the third actual number is greater than the third allowed number, the target media resource is determined to be the repeatedly exposed media resource.
[0010] Optionally, the target media resource is diagnosed for repeated exposure based on the target request time and the target exposure time to obtain a target diagnosis result, including: when the target request time includes the i-th request time, the target exposure time includes the i-1-th exposure time, and the i-th request time is earlier than or equal to the i-1-th exposure time, the target diagnosis result is determined to indicate that the reason for the repeated exposure of the target media resource is that there is a problem with the request of the target media resource, wherein i is a positive integer greater than or equal to 2, the i-th request time is the time when the target account requests the target media resource for the i-th time, and the i-1-th exposure time is the time when the target media resource is exposed to the target account for the i-1th time; when the i-th request time is later than the i-1-th exposure time, the target diagnosis result is determined to indicate that the reason for the repeated exposure of the target media resource is that there is a problem with the exposure of the target media resource.
[0011] Optionally, after determining the target diagnosis result as indicating that the reason for repeated exposure of the target media resource is a problem with the request for the target media resource, performing repeated exposure diagnosis processing on the target media resource based on the target request time and the target exposure time to obtain the target diagnosis result also includes: when the target request time includes the i-1th request time and the query response for the i-1th request time is empty, determining the target diagnosis result as indicating that the reason for repeated exposure of the target media resource is that there is a problem with the request for the target media resource and the query for the request time of the target media resource fails, wherein the i-1th request time is the time when the target account requests the target media resource for the i-1th time, and the query response for the i-1th request time is the response to querying the i-1th request time.
[0012] Optionally, after the target diagnosis result is determined to be used to indicate that the reason for repeated exposure of the target media resource is a problem with the request of the target media resource, the target media resource is diagnosed for repeated exposure based on the target request time and the target exposure time to obtain the target diagnosis result, and further includes: when the target request time includes the i-1th request time and the query response of the i-1th request time is not empty, obtaining the first time difference between the i-1th request time and the i-th request time, and when the first time difference is greater than a preset first duration, determining the target diagnosis result to indicate that the reason for repeated exposure of the target media resource is a problem with the request of the target media resource, and the request time of the target media resource exceeds the first duration corresponding to the target request queue, wherein the target request queue records the first duration. The target account requests the media resource at a request time, the i-1th request time is the time when the target account requests the target media resource for the i-1th time, and the query response of the i-1th request time is a response to the query of the i-1th request time; when the target request time includes the i-1th request time, the query response of the i-1th request time is not empty, and the first time difference between the i-1th request time and the i-th request time is less than a preset second duration, the target diagnosis result is determined to be used to indicate that the reason for repeated exposure of the target media resource is that there is a problem with the request of the target media resource, and the request time of the target media resource is delayed, wherein the second duration is less than the first duration, and the request time reflow delay is used to indicate that at the i-th request time, the i-1th request time has not been recorded in the target request queue.
[0013] Optionally, after the target diagnosis result is determined to be used to indicate that the reason for repeated exposure of the target media resource is a problem with the request for the target media resource, the target media resource is diagnosed for repeated exposure based on the target request time and the target exposure time to obtain the target diagnosis result, including: when the target request time includes the i-1th request time, the query response of the i-1th request time is not empty, the first time difference is greater than or equal to the preset second time length and less than or equal to the preset first time length, and the server when requesting the target media resource for the i-1th time is different from the server when requesting the target media resource for the i-th time, the target diagnosis result is determined to be used to indicate that the reason for repeated exposure of the target media resource is a problem with the request for the target media resource, and that the server when requesting the target media resource has changed.
[0014] Optionally, after determining the target diagnosis result as indicating that the reason for repeated exposure of the target media resource is a problem with the exposure of the target media resource, performing repeated exposure diagnosis processing on the target media resource based on the target request time and the target exposure time to obtain the target diagnosis result also includes: when the target exposure time includes the i-1th exposure time and the query response for the i-1th exposure time is empty, determining the target diagnosis result as indicating that the reason for repeated exposure of the target media resource is a problem with the exposure of the target media resource and that the exposure time query of the target media resource fails, wherein the i-1th exposure time is the time when the target media resource is exposed to the target account for the i-1th time, and the query response for the i-1th exposure time is a response to querying the i-1th exposure time.
[0015] Optionally, after determining the target diagnosis result as indicating that the reason for repeated exposure of the target media resource is a problem with the exposure of the target media resource, performing repeated exposure diagnosis processing on the target media resource according to the target request time and the target exposure time to obtain the target diagnosis result further includes: when the target exposure time includes the i-1th exposure time and the i-th exposure time, and the query response of the i-1th exposure time is not empty, obtaining a second time difference between the i-1th exposure time and the i-th exposure time; when the second time difference is greater than a preset third duration, determining the target diagnosis result as indicating that the reason for repeated exposure of the target media resource is a problem with the exposure of the target media resource, and that the i-1th exposure time exceeds the third duration corresponding to the target exposure queue, wherein the target exposure queue records the exposure time of the media resource exposed to the target account within the third duration, and the i-1th exposure time is greater than the preset third duration. The first exposure time is the time when the target media resource is exposed to the target account for the i-1th time, and the query response for the i-1th exposure time is a response to querying the i-1th exposure time; when the target exposure time includes the i-1th exposure time and the i-th exposure time, and the query response for the i-1th exposure time is not empty, the previous exposure time of the i-th exposure time in the target exposure queue is obtained, and if the i-1th exposure time is between the previous exposure time and the i-th exposure time, the target diagnosis result is determined to indicate that the reason for the repeated exposure of the target media resource is that there is a problem with the exposure of the target media resource and the exposure time reflow delay of the target media resource, wherein the previous exposure time is the exposure time of the media resource in the target exposure queue that is located before the i-th exposure time, and the exposure time reflow delay is used to indicate that at the i-th exposure time, the i-1th exposure time has not yet been recorded in the target exposure queue.
[0016] According to another aspect of an embodiment of the present invention, a media resource processing device is further provided, including: an acquisition module, configured to acquire historical exposure information corresponding to a target media resource and a target account, and exposure configuration information of the target media resource, wherein the historical exposure information indicates the number of times the target media resource has been exposed to the target account, and the exposure configuration information indicates the number of times the target media resource is allowed to be exposed to the same account; a determination module, configured to determine whether the target media resource is a repeatedly exposed media resource based on the historical exposure information and the exposure configuration information; and a processing module, configured to, upon determining that the target media resource is the repeatedly exposed media resource, perform repeated exposure diagnosis processing on the target media resource based on a target request time and a target exposure time to obtain a target diagnosis result, wherein the target request time indicates the time when the target account requests the target media resource, the target exposure time indicates the time when the target media resource is exposed to the target account, and the target diagnosis result is used to indicate the reason for the repeated exposure of the target media resource.
[0017] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the above-mentioned method for processing media resources when running.
[0018] According to another aspect of an embodiment of the present application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the above-described method for processing media resources.
[0019] According to another aspect of an embodiment of the present invention, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the above-mentioned method for processing media resources through the computer program.
[0020] In this embodiment of the present invention, the target media resource's exposure configuration information is used to compare the number of times the target media resource has been exposed to the target account with the number of times the target media resource is permitted to be exposed to the same account, as indicated by the exposure configuration information, to determine whether the target media resource is a repeatedly exposed media resource. This allows a computer to quickly locate repeatedly exposed media resources, avoiding the inefficient manual search for repeatedly exposed media resources in the prior art, thereby improving the efficiency of finding repeatedly exposed media resources.
[0021] On the other hand, if the target media resource is determined to be a repeatedly exposed media resource, the cause of the repeated exposure of the target media resource is diagnosed based on the target request time for the target media resource and the target exposure time of the target media resource to the target account. This allows the computer to quickly diagnose the cause of the repeated exposure of the target media resource, avoiding the inefficiency of manual diagnosis of the repeated exposure cause in the prior art, thereby improving the efficiency of diagnosing repeated exposure of media resources. This further solves the technical problem of inefficient search efficiency for repeatedly exposed media resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0023] Figure 1 is a schematic diagram of an application environment of an optional media resource processing method according to an embodiment of the present invention;
[0024] Figure 2 is a flowchart of an optional method for processing media resources according to an embodiment of the present invention;
[0025] Figure 3 This is a schematic diagram of an optional product interface according to an embodiment of the present invention;
[0026] Figure 4 This is an optional overall architecture diagram according to an embodiment of the present invention;
[0027] Figure 5 is an optional flowchart according to an embodiment of the present invention;
[0028] Figure 6 is another optional flow chart according to an embodiment of the present invention;
[0029] Figure 7 is a schematic diagram of an optional target request queue according to an embodiment of the present invention;
[0030] Figure 8 is another optional flow chart according to an embodiment of the present invention;
[0031] Figure 9 is a schematic diagram of another optional target request queue according to an embodiment of the present invention;
[0032] Figure 10 is another optional flow chart according to an embodiment of the present invention;
[0033] Figure 11 is a schematic diagram of an optional target exposure queue according to an embodiment of the present invention;
[0034] Figure 12 is a schematic diagram of another optional target exposure queue according to an embodiment of the present invention;
[0035] Figure 13 is a structural diagram of an optional media resource processing device according to an embodiment of the present invention;
[0036] Figure 14 is a schematic structural diagram of an optional electronic device according to an embodiment of the present invention;
[0037] Figure 15 It is a block diagram of a computer system structure of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0039] It should be noted that the terms "first", "second", etc. in the description 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 numbers used in this way can be interchanged 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 device 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.
[0040] According to one aspect of an embodiment of the present invention, a method for processing media resources is provided. Optionally, as an optional implementation, the method for processing media resources can be applied to, but is not limited to, Figure 1 The application environment shown in FIG. 1 includes a user device 102 , a network 110 , and a server 112 .
[0041] Optionally, the user device may be a terminal device configured with a target application, and may include but is not limited to at least one of the following: a mobile phone (such as an Android phone, an iOS phone, etc.), a laptop, a tablet computer, a PDA, an MID (Mobile Internet Device), a PAD, a desktop computer, a smart TV, etc. The target application may be a video application, an instant messaging application, a browser application, a game application, etc. The user device includes a memory 104, a processor 106, and a display 108, wherein the memory 104 is used to store data, including but not limited to a user account logged in to the target application and media resources on the target application, etc. The media resources include but are not limited to video, audio, advertisements, etc. The processor 106 is used to process data, including but not limited to verifying the permissions of the user account and processing the media resources of the target application. The display 108 displays the media resources, for example, displaying media resources such as video, audio, and advertisements recommended to the user on the target application.
[0042] The network 110 may include but is not limited to: a wired network, a wireless network, wherein the wired network includes: a local area network, a metropolitan area network and a wide area network, and the wireless network includes: Bluetooth, WIFI and other networks that implement wireless communication.
[0043] The server 112 may be a single server, a server cluster consisting of multiple servers, or a cloud server. The server includes a database 114 and a processing engine 116. The database 114 is used to store data, including but not limited to the above-mentioned media resources. The processing engine 116 can be used to perform the following steps:
[0044] Step S102: determining whether the target media resource is a repeatedly exposed media resource based on the historical exposure information and the exposure configuration information;
[0045] Step S104 : When it is determined that the target media resource is the repeatedly exposed media resource, a repeated exposure diagnosis process is performed on the target media resource according to the target request time and the target exposure time to obtain a target diagnosis result.
[0046] The above is only an example and is not limited in this embodiment.
[0047] As an optional implementation, the key terms involved in this application are explained below:
[0048] Exposure Configuration Information: Freshness configuration is used across various dimensions to reduce the frequency of users seeing repeated, similar media resources in the short term, reduce user fatigue, and maintain the appeal of media resources. Different freshness policy requirements apply to different traffic flows and scenarios, corresponding to different exposure configuration information. The dimensions of exposure configuration information include site, application, and media resource exposure location. The relationship between site and application is that a site can include multiple applications. For example, a site is an instant messaging site, which can include multiple instant messaging clients. The freshness policy for the instant messaging site might be that the number of exposures to the same media resource within a preset duration T cannot exceed a preset value A1. The freshness policy for instant messaging clients within the instant messaging site might be that the number of exposures to the same media resource within a preset duration T cannot exceed a preset value A2. The freshness policy for a media resource exposure location within the instant messaging client might be that the number of exposures to the same media resource within a preset duration T cannot exceed a preset value A3. The values of A1, A2, and A3 can be different or the same. Thus, media resource freshness policies are configured across the three dimensions of site, application, and media resource exposure location.
[0049] Marvel exposure data: Real-time record of a user's historical media resource exposure records. The media resource records exposed on the application client logged in by the user can be searched through the user's identity (such as the user account) and the application client's identity (such as the application client's name).
[0050] CKV request data: Before exposing media resources on the app client, the backend server can be requested to preload the media resources. This allows for the preloaded media resources to be exposed on the app client. User ad requests can be recorded in real time. Records of media resource requests made by users on the app client can be searched using the user's ID and the app client's ID, and can be associated with Marvel exposure data.
[0051] Freshness Diagnostic Tool Scenario: Freshness strategies are crucial to the user experience when browsing media resources. However, some media resources still violate freshness strategies, resulting in duplicate exposure. The Freshness Diagnostic Tool can be used to quickly locate these duplicated media resources and diagnose the causes, making it easier for those optimizing user experience.
[0052] Alternatively, as an optional implementation, Figure 2 As shown, the method for processing the above media resources includes:
[0053] Step S202: Acquire historical exposure information corresponding to a target media resource and a target account, as well as exposure configuration information of the target media resource, wherein the historical exposure information indicates the number of times the target media resource has been exposed to the target account, and the exposure configuration information indicates the number of times the target media resource is allowed to be exposed to the same account;
[0054] The target media resources mentioned above can be media resources such as advertisements, videos, and audio, and the target account is the account used by the user to log in to the application client. The user's historical exposure record records the media resources that have been exposed to the target account within a historical period (the time range of the historical period can be set according to actual circumstances). The target media resources mentioned above are media resources in the historical exposure record. The historical exposure information is the number of times the target media resource has been exposed to the target account within a historical period. The exposure configuration information is information configured based on the freshness policy and configures the maximum number of times the target media resource is allowed to be exposed to a single account.
[0055] Step S204: determining whether the target media resource is a repeatedly exposed media resource based on the historical exposure information and the exposure configuration information;
[0056] Repeated exposure means that the number of exposures of the target media resource exceeds the number of exposures allowed in the exposure configuration information.
[0057] Step S206: When it is determined that the target media resource is the repeatedly exposed media resource, a repeated exposure diagnosis process is performed on the target media resource based on the target request time and the target exposure time to obtain a target diagnosis result, wherein the target request time indicates the time when the target account requests the target media resource, the target exposure time indicates the time when the target media resource is exposed to the target account, and the target diagnosis result is used to indicate the reason for the repeated exposure of the target media resource.
[0058] As an optional implementation, Figure 3 The interface shown is the product interface used by staff. When receiving user feedback about repeated exposure issues, staff can Figure 3 In the interface shown, enter your user ID, select the corresponding site ID, and click "Query" to quickly find media resources with duplicate exposure. The interface also displays the reasons for the duplicate exposure of these media resources. This embodiment allows for one-click querying of duplicated media resources and the reasons for the duplicate exposure. It also visualizes the duplicate exposure diagnosis results, improving the efficiency of diagnosing duplicated media resource exposure.
[0059] As an optional implementation, Figure 4The overall structure shown is divided into an exposure record acquisition module, an exposure configuration information acquisition module, a Badcase discovery module and a Badcase diagnosis module.
[0060] The exposure record acquisition module can obtain the user's historical exposure records and the contextual information of the exposure queue to provide data for diagnosing repeated exposure issues. The historical exposure record records the media resources exposed to the target account within the historical time. The number of times each media resource was exposed to the target account can be obtained through the historical exposure record. The above-mentioned target media resource can be any media resource in the historical exposure record. The exposure queue includes a preset number (which can be set arbitrarily) of media resources exposed to the target account within a preset length of time (which can be set arbitrarily) in the historical time. The contextual information of the exposure queue includes the exposure time of each media information in the exposure queue.
[0061] The exposure configuration information acquisition module retrieves exposure configuration information for different sites, applications, and exposure locations. If the media resource is an advertisement, the exposure location is the ad slot; if the media resource is a video, the exposure location is the video's exposure location. Media resources have different exposure configuration information for each of the three dimensions of site, application, and exposure location, based on different freshness strategies. The exposure configuration information acquisition module retrieves exposure configuration information for each dimension of the media resource.
[0062] The Badcase Discovery module is used to locate repeatedly exposed media resources in historical exposure records. This module can be used to locate repeatedly exposed media resources in historical exposure records based on the number of times the media resource was exposed to the target account and the media resource's exposure configuration information (the number of times the media resource is allowed to be exposed to the same account). The Badcase Diagnosis module is used to diagnose the causes of repeatedly exposed media resources. The Badcase Discovery and Diagnosis modules allow users to query repeatedly exposed media resources and diagnose the causes of these repeatedly exposed media resources with a single click.
[0063] Optionally, determining whether the target media resource is a repeatedly exposed media resource based on the historical exposure information and the exposure configuration information includes: determining the target media resource as the repeatedly exposed media resource when the historical exposure information indicates the first number of times the target media resource is exposed to the target account within a preset duration, and the exposure configuration information indicates the second number of times the target media resource is allowed to be exposed to the same account within the preset duration, and the first number is greater than the second number; or determining the target media resource as the repeatedly exposed media resource when the historical exposure information indicates the third number of times the target media resource is exposed to the target account in a group of media resources, and the exposure configuration information indicates the fourth number of times the target media resource is allowed to be exposed to the same account in N consecutive media resources, and the third number is greater than the fourth number, wherein the group of media resources includes N media resources continuously exposed to the target account, and N is a positive integer greater than or equal to 2.
[0064] As an optional implementation, the above-mentioned preset duration can be determined according to actual conditions, for example, it can be 10 hours, 1 day, 1 week, etc. The above-mentioned first number is the actual number of times the target media resource is exposed to the target account within the preset duration. The above-mentioned second number is the number of times the target media resource is allowed to be exposed to the same account within the preset duration configured in the exposure configuration information. Taking the above-mentioned media resource as Advertisement A, the preset duration is 1 day, and the second number is 10 times as an example, that is, the exposure configuration information configures that Advertisement A is allowed to be exposed to the same account 10 times within 1 day. If the actual first number of times Advertisement A is actually exposed to the target account within 1 day is greater than 10 times, for example, the first number is 11 times, then Advertisement A is determined to be a repeatedly exposed media resource.
[0065] As another optional implementation, the group of media resources may be media resources in an exposure queue, which records a preset number of media resources exposed to a target account within a preset duration. The number of media resources included in the group of media resources can be determined based on actual circumstances, for example, 15, 100, etc. The third number is the actual number of times the target media resource in the group of media resources was exposed to the target account. The fourth number is the number of times the target media resource in the group of media resources, as configured in the exposure configuration information, is allowed to be exposed to the same account. For example, if the media resource is Ad B, the group of media resources includes 100 ads, and the second number is 5, then the exposure configuration information specifies that Ad B is allowed to be exposed to the same account 5 times within the 100 ads. If the third number of times Ad B is actually exposed to the target account within the 100 ads is greater than 5, for example, 6 times, Ad B is determined to be a repeatedly exposed media resource.
[0066] Optionally, determining whether the target media resource is a repeatedly exposed media resource based on the historical exposure information and the exposure configuration information includes: when the historical exposure information indicates the number of times the target media resource in each dimension of multiple dimensions is exposed to the target account, and the exposure configuration information indicates the number of times the target media resource in each dimension of the multiple dimensions is allowed to be exposed to the same account, judging whether the number of times the target media resource in each dimension is exposed to the target account is greater than the number of times the target media resource in each dimension is allowed to be exposed to the same account; when there is a target dimension among the multiple dimensions, and the number of times the target media resource in the target dimension is exposed to the target account is greater than the number of times the target media resource in the target dimension is allowed to be exposed to the same account, determining the target media resource as the repeatedly exposed media resource.
[0067] As an optional implementation, the aforementioned multiple dimensions include sites, applications, and exposure locations. Media resource exposure configuration can be configured based on the aforementioned sites, applications, and exposure locations. The relationship between sites and applications is that a site includes multiple applications, such as application clients and application browsers. If the media resource is an advertisement, the exposure location can be an ad slot. The exposure configuration information specifies the number of times the target media resource is allowed to be exposed to the same account in each of the aforementioned multiple dimensions. The target account's historical exposure information records the number of times the target media resource was actually exposed to the target account in each of the aforementioned multiple dimensions. A determination is made as to whether the actual number of exposures of the target media resource in each dimension exceeds the number of exposures allowed to the same account in the exposure configuration information. Marvel may store a user's exposure records of target media resources in various dimensions. Using the exposure configuration information for different dimensions, duplicate exposures of media resources can be identified.
[0068] As an optional implementation, the above-mentioned multiple dimensions can be sorted by priority. For example, the priority is exposure location configuration > application configuration > site configuration. Other priority levels can also be used, and the specific priority configuration can be determined based on actual circumstances. Taking the above-mentioned priority as exposure location configuration > application configuration > site configuration, the target dimension is exposure location. The actual number of times the target media was exposed to the target account at its exposure location is obtained from the historical exposure information. If this number exceeds the number of times the target media resource is allowed to be exposed to the same account at that exposure location, the target media resource is a repeatedly exposed media resource. For example, the target media resource is Ad A, and its exposure location is Section 1 of a certain application. The actual number of times Ad A was exposed in Section 1 in the historical exposure information is 10. If the exposure configuration information configures Ad A to be allowed to be exposed 5 times in Section 1, since the actual number of times Ad A was exposed in Section 1 (10) exceeds the allowed number of times Ad A was exposed 5 times, Ad A is a repeatedly exposed ad.
[0069] As an optional implementation, Figure 5 As shown, the target account's historical exposure information is obtained through the target account. This historical exposure information records the number of times the target media resource has been exposed to the target account. The exposure configuration information for each media resource in the site, application, and exposure location is retrieved using the application identifier. In this embodiment, the exposure location has the highest priority among the aforementioned sites, applications, and exposure locations. The target media resource's exposure configuration information in the exposure location dimension is then retrieved from the aforementioned three dimensions. This exposure configuration information configures the number of times the target media resource is allowed to be exposed in the exposure location. Time detection or queue detection is used to determine whether the target media resource is a repeatedly exposed media resource.
[0070] Exposure configuration information specifies the number of times a target media resource is allowed to be exposed to the same account at the exposure location within a preset duration. For example, Ad A is allowed to be exposed 10 times in Section 1 within a day. Time detection determines whether the target media resource's actual number of exposures at the exposure location within the preset duration exceeds the permitted number of exposures. For example, if Ad A is actually exposed 12 times in Section 1, which exceeds the permitted number of 10, Ad A is repeatedly exposed.
[0071] The exposure configuration information can also specify the number of times a target media resource is allowed to be exposed to the same account across N consecutive media resources at the exposure location. For example, Ad B is allowed to be exposed five times out of 100 ads in Section 1. Queue detection determines whether the target media resource's actual exposure count exceeds the permitted number of times. For example, if Ad B is actually exposed eight times out of 100 ads in Section 1, exceeding the permitted number of times by five, Ad B is considered a duplicate.
[0072] In the above embodiment, through time detection and queue detection, repeatedly exposed advertisements can be quickly located in the historical exposure records of the target account, thereby improving the query efficiency of repeatedly exposed advertisements.
[0073] Optionally, when the historical exposure information indicates the number of times the target media resource is exposed to the target account in each of multiple dimensions and the exposure configuration information indicates the number of times the target media resource is allowed to be exposed to the same account in each of the multiple dimensions, determining whether the number of times the target media resource is exposed to the target account in each dimension is less than the number of times the target media resource is allowed to be exposed to the same account in each dimension includes: when the historical exposure information respectively indicates a first actual number, a second actual number, and a third actual number of times the target media resource is exposed to the target account on a target site, a target application, and a target exposure position, and the exposure configuration information respectively indicates a first allowed number, a second allowed number, and a third allowed number of times the target media resource is allowed to be exposed to the same account on the target site, the target application, and the target exposure position, determining whether the first actual number is greater than the first allowed number, whether the second actual number is greater than the second allowed number, and whether the third actual number is greater than the third allowed number, wherein the target application includes multiple applications on the target site, and the target exposure position includes multiple exposure positions on the target application.
[0074] As an optional implementation, the first actual number is the number of times the target media resource is actually exposed on the target site, the second actual number is the number of times the target media resource is actually exposed on the target application, and the third actual number is the number of times the target media resource is actually exposed at the target exposure location. The first allowed number is the number of times the target media resource is allowed to be exposed on the target site, the second allowed number is the number of times the target media resource is allowed to be exposed on the target application, and the third allowed number is the number of times the target media resource is allowed to be exposed at the target exposure location. Whether the target media resource is a repeatedly exposed media resource is determined by determining whether the first actual number is greater than the first allowed number, whether the second actual number is greater than the second allowed number, and whether the third actual number is greater than the third allowed number.
[0075] Optionally, when there is a target dimension among the multiple dimensions and the number of times the target media resource under the target dimension is exposed to the target account is greater than the number of times the target media resource under the target dimension is allowed to be exposed to the same account, the target media resource is determined as the repeatedly exposed media resource, including: when the first actual number is greater than the first allowed number, or the second actual number is greater than the second allowed number, or the third actual number is greater than the third allowed number, the target media resource is determined as the repeatedly exposed media resource.
[0076] As an optional implementation, the above-mentioned target site, target application, and target exposure position have priorities, and the priority order can be determined according to actual conditions. For example, the priority order can be set to target exposure position>target application>target site. In this embodiment, by judging the actual number of exposures of the highest priority dimension and the number of exposures allowed under this dimension, it is determined whether the target media resource is a repeatedly exposed media resource. If the target site has the highest priority and the first actual number is greater than the first allowed number, then the target media resource is a repeatedly exposed media resource. If the target application has the highest priority and the second actual number is greater than the second allowed number, then the target media resource is a repeatedly exposed media resource. If the target exposure position has the highest priority and the third actual number is greater than the third allowed number, then the target media resource is a repeatedly exposed media resource.
[0077] Optionally, the target media resource is diagnosed for repeated exposure based on the target request time and the target exposure time to obtain a target diagnosis result, including: when the target request time includes the i-th request time, the target exposure time includes the i-1-th exposure time, and the i-th request time is earlier than or equal to the i-1-th exposure time, the target diagnosis result is determined to indicate that the reason for the repeated exposure of the target media resource is that there is a problem with the request of the target media resource, wherein i is a positive integer greater than or equal to 2, the i-th request time is the time when the target account requests the target media resource for the i-th time, and the i-1-th exposure time is the time when the target media resource is exposed to the target account for the i-1th time; when the i-th request time is later than the i-1-th exposure time, the target diagnosis result is determined to indicate that the reason for the repeated exposure of the target media resource is that there is a problem with the exposure of the target media resource.
[0078] As an optional implementation, the Badcase diagnosis module can locate the cause of repeated exposure of the target media resource in one click. If the target media resource is a repeatedly exposed media resource, the cause of repeated exposure of the target media resource is diagnosed. Figure 6 In the flowchart shown, it is first necessary to determine whether the target media resource is a contracted media resource and whether the target media resource has a special exposure configuration. If the target media resource is a contracted media resource or a media resource with a special exposure configuration, the duplicate exposure cause diagnosis is skipped. If the target media resource is neither a contracted media resource nor a media resource with a special exposure configuration, the target request time and target exposure time are used to determine whether the duplicate exposure is caused by a request problem or an exposure problem.
[0079] As an optional implementation, the above-mentioned i-th request time is the time of the i-th request for the target media resource, and the target media resource is exposed for the i-th time after the i-th request. If the i-th request time of the target media resource is earlier than or equal to the i-1-th exposure time, the reason for the repeated exposure of the target media resource is a problem with the request; otherwise, it is a problem with the exposure. For example, the i-th request time of Ad A is 2021 / 1 / 8 / 10:00, and the i-1-th exposure time of Ad A is 2021 / 1 / 8 / 10:10. Then, the i-th request time of Ad A is earlier than the i-1-th exposure time, and the reason for the repeated exposure of Ad A is a problem with the request. If the i-1-th exposure time of Ad A is also 2021 / 1 / 8 / 10:00, the reason for the repeated exposure of Ad A is a problem with the request. If the i-1th exposure time of Ad A is 2021 / 1 / 8 / 9:50, then the i-th request time of Ad A is later than the i-1th exposure time. The reason for the repeated exposure of Ad A is that there is a problem with the exposure.
[0080] Optionally, after determining the target diagnosis result as indicating that the reason for repeated exposure of the target media resource is a problem with the request for the target media resource, performing repeated exposure diagnosis processing on the target media resource based on the target request time and the target exposure time to obtain the target diagnosis result also includes: when the target request time includes the i-1th request time and the query response for the i-1th request time is empty, determining the target diagnosis result as indicating that the reason for repeated exposure of the target media resource is that there is a problem with the request for the target media resource and the query for the request time of the target media resource fails, wherein the i-1th request time is the time when the target account requests the target media resource for the i-1th time, and the query response for the i-1th request time is the response to querying the i-1th request time.
[0081] As an optional implementation method, after confirming that the reason for the repeated exposure of the target media resource is a problem with the request, further diagnosis is needed to find out the specific cause of the problem. Each time the target account requests a media resource, it records the requested media resource and the request time in the target request queue, such as Figure 7 The target request queue A shown i-1 Indicates the i-1th request for media resource A. 2021 / 1 / 8 / 8:00 is the time when media resource A is requested. i Indicates the i-th request for media resource A, 2021 / 1 / 8 / 8:30 is the time of the i-th request for media resource A. Similarly, B j Indicates the jth request for media resources B, C kIndicates the kth request for media resources C, B j+1 Indicates the j+1th request for media resource B.
[0082] As an optional implementation, Figure 8 In steps S801 to S802 of the flowchart shown, when the query response for the i-1th request time is empty, the target diagnostic result is determined to indicate that the reason for the repeated exposure of the target media resource is that there is a problem with the request for the target media resource and the query for the request time of the target media resource fails. Taking the target media resource as the above-mentioned media resource A as an example, the target request queue records the i-1th request time of media resource A 2021 / 1 / 8 / 8:00, but when querying the i-1th request time of media resource A, it may be due to network jitter, machine expansion, etc., resulting in the query of the i-1th request time of media resource A failing, and the query response for the i-1th request time returns empty. Since the i-1th request time of media resource A was not queried, the i-th request for media resource A was initiated. Since media resource A performed the i-1th exposure after the i-1th request, media resource A performed the i-th exposure after the i-th request, resulting in repeated exposure of media resource A.
[0083] Optionally, after determining the target diagnosis result as indicating that the cause of repeated exposure of the target media resource is a problem with the request for the target media resource, performing repeated exposure diagnosis processing on the target media resource according to the target request time and the target exposure time to obtain the target diagnosis result further includes: when the target request time includes the i-1th request time and the query response for the i-1th request time is not empty, obtaining a first time difference between the i-1th request time and the i-th request time; when the first time difference is greater than a preset first duration, determining the target diagnosis result as indicating that the cause of repeated exposure of the target media resource is a problem with the request for the target media resource, and the request time for the target media resource exceeds the first duration corresponding to the target request queue, wherein the target request queue records the request time of the target account requesting the media resource within the first duration, the i-1th request time is the time when the target account requested the target media resource for the i-1th time, and the query response for the i-1th request time is a response to querying the i-1th request time;
[0084] As an optional implementation, the target request queue records the request time of the media resource requested by the target account within the first time period. The first time period can be determined according to the actual situation, such as 10 minutes, 30 minutes, 1 hour, etc. Figure 8In steps S803 to S805 of the flowchart shown in the figure, the first time difference between the i-1th request time and the i-th request time is obtained. If the first time difference is greater than the first duration, the reason for the repeated exposure of the target media resource is that the request time of the target media resource exceeds the first duration corresponding to the target request queue. Taking the above first duration as 10 minutes as an example, the target queue records the request time of the media resource requested by the target account within 10 minutes, such as Figure 9 A shown in i-1 Indicates the i-1th request for media resource A. 2021 / 1 / 8 / 8:00 is the time when media resource A is requested. i Indicates the i-th request for media resource A. 2021 / 1 / 8 / 8:15 is the time when the i-th request for media resource A was made. i-1 With A i The first time difference is 15 minutes, which is greater than the preset first duration of 10 minutes. This indicates that when media resource A is requested for the i-th time, the i-1th request time of media resource A exceeds the time of the target request queue. The i-1th request time has expired, and the i-1th request time of media resource A cannot be found in the target request queue, resulting in repeated requests for media resource A and repeated exposure of media resource A.
[0085] Optionally, when the target request time includes the i-1th request time, the query response of the i-1th request time is not empty, and the first time difference between the i-1th request time and the i-th request time is less than a preset second duration, the target diagnosis result is determined to indicate that the reason for repeated exposure of the target media resource is that there is a problem with the request of the target media resource, and the request time reflow delay of the target media resource, wherein the second duration is less than the first duration, and the request time reflow delay is used to indicate that at the i-th request time, the i-1th request time has not yet been recorded in the target request queue.
[0086] As an optional implementation, the second duration can be set according to actual conditions, for example, it can be 1 second, 2 seconds, 5 seconds, etc. Figure 8 Steps S806 to S807 in the above example. Assuming that the first time difference between the i-1th request time and the i-th request time of media resource A is 0.5 seconds, which is less than the preset second time length of 1 second, it is determined that the reason for the duplication of media resource A is the request time reflow delay, that is, at the i-th request time of media resource A, the i-1th request time of the media resource has not yet been recorded in the target request queue.
[0087] Optionally, after the target diagnosis result is determined to be used to indicate that the reason for repeated exposure of the target media resource is a problem with the request for the target media resource, the target media resource is diagnosed for repeated exposure based on the target request time and the target exposure time to obtain the target diagnosis result, including: when the target request time includes the i-1th request time, the query response of the i-1th request time is not empty, the first time difference is greater than or equal to the preset second time length and less than or equal to the preset first time length, and the server when requesting the target media resource for the i-1th time is different from the server when requesting the target media resource for the i-th time, the target diagnosis result is determined to be used to indicate that the reason for repeated exposure of the target media resource is a problem with the request for the target media resource, and that the server when requesting the target media resource has changed.
[0088] As an optional implementation, Figure 8 In steps S808 to S809, if the target media resource is requested on a different server during the (i-1)th request and the (i)th request, and the request times of the media resources requested on different servers are recorded on different servers, respectively, assuming that the (i-1)th request time of the target media resource is recorded on server A and the (i)th request time of the target media resource is recorded on server B, when the target media resource is requested for the (i)th time, since the (i-1)th request time is not recorded on server B, the (i-1)th request time is not found on server B, resulting in repeated requests for the target media resource and repeated exposure.
[0089] Optionally, after determining the target diagnosis result as indicating that the reason for repeated exposure of the target media resource is a problem with the exposure of the target media resource, performing repeated exposure diagnosis processing on the target media resource based on the target request time and the target exposure time to obtain the target diagnosis result also includes: when the target exposure time includes the i-1th exposure time and the query response for the i-1th exposure time is empty, determining the target diagnosis result as indicating that the reason for repeated exposure of the target media resource is a problem with the exposure of the target media resource and that the exposure time query of the target media resource fails, wherein the i-1th exposure time is the time when the target media resource is exposed to the target account for the i-1th time, and the query response for the i-1th exposure time is a response to querying the i-1th exposure time.
[0090] As an optional implementation, after confirming that the reason for repeated exposure of the target media resource is an exposure problem, further diagnosis is needed to find out the specific cause of the exposure problem. Each time the target media resource is exposed, the exposure time of the media resource is recorded in the target exposure queue. As an optional implementation, if Figure 10 In steps S1001 to S1002 of the flowchart shown, if the query response for the (i-1)th exposure time is empty, the target diagnostic result is determined to indicate that the cause of the repeated exposure of the target media resource is a problem with the exposure of the target media resource and that the query for the exposure time of the target media resource failed. Because the (i-1)th exposure time of the target media resource was not queried, the target media resource was exposed for the i-th time, resulting in a repeated exposure of the target media resource.
[0091] Optionally, after determining the target diagnosis result as indicating that the cause of repeated exposure of the target media resource is a problem with the exposure of the target media resource, performing repeated exposure diagnosis processing on the target media resource according to the target request time and the target exposure time to obtain the target diagnosis result further includes: obtaining a second time difference between the i-1th exposure time and the i-th exposure time when the target exposure time includes the i-1th exposure time and the i-th exposure time, and when the query response of the i-1th exposure time is not empty, and when the second time difference is greater than the expected In the case of a third duration, the target diagnosis result is determined to indicate that the reason for repeated exposure of the target media resource is that there is a problem with the exposure of the target media resource, and the i-1th exposure time exceeds the third duration corresponding to the target exposure queue, wherein the target exposure queue records the exposure time of the media resource to the target account within the third duration, the i-1th exposure time is the time when the target media resource is exposed to the target account for the i-1th time, and the query response for the i-1th exposure time is a response to querying the i-1th exposure time;
[0092] As an optional implementation, the target exposure queue records the exposure time of the media resources exposed to the target account within the third time period. The third time period can be determined according to actual conditions, such as 1 hour, 2 hours, etc. Figure 10 In steps S1003 to S1005 of the flowchart shown, the second time difference between the i-1th exposure time and the i-th exposure time is obtained. If the second time difference is greater than the third time length, the reason for the repeated exposure of the target media resource is that the request time of the target media resource exceeds the third time length corresponding to the target exposure queue. Taking the third time length as 1 hour as an example, the target exposure records the exposure time of the media resource exposed to the target account within 1 hour. Figure 11 A shown in i-1 Indicates that media resource A is exposed to the target account for the i-1th time. 2021 / 1 / 8 / 8:00 is the i-1th exposure time of media resource A. i Indicates the time when media resource A is exposed to the target account for the i-th time. 2021 / 1 / 8 / 9:45 is the time when media resource A is exposed to the target account for the i-th time. i-1 With A i The first time difference is 1 hour and 45 minutes, which is greater than the preset third time length of 1 hour. This indicates that when media resource A was exposed to the target account for the i-th time, the i-1th exposure time of media resource A exceeded the time of the target exposure queue. The i-1th exposure time has expired, and the i-1th exposure time of media resource A cannot be found in the target exposure queue, resulting in repeated exposure of media resource A.
[0093] Optionally, when the target exposure time includes the i-1th exposure time and the i-th exposure time, and the query response of the i-1th exposure time is not empty, the previous exposure time of the i-th exposure time in the target exposure queue is obtained, and if the i-1th exposure time is between the previous exposure time and the i-th exposure time, the target diagnosis result is determined to indicate that the reason for the repeated exposure of the target media resource is that there is a problem with the exposure of the target media resource, and the exposure time reflux delay of the target media resource, wherein the previous exposure time is the exposure time of the media resource in the target exposure queue that is located before the i-th exposure time, and the exposure time reflux delay is used to indicate that at the i-th exposure time, the i-1th exposure time has not been recorded in the target exposure queue.
[0094] As an optional implementation, Figure 10 Steps S1006 to S1008 of the flowchart shown in the figure obtain the exposure time before the i-1th exposure time in the target exposure queue. The exposure time is the exposure time of the media resource before the i-th exposure time. If the i-th exposure time is between the i-1th exposure time and the previous exposure time, and the position of the i-th exposure time in the target exposure queue is after the i-th exposure time, it means that when the target media resource is exposed for the i-th time, the i-1th exposure time has not been recorded in the target exposure queue. Since the i-1th exposure time is not found in the target exposure queue, the i-th exposure of the target media resource occurs, resulting in duplicate exposure.
[0095] As an optional implementation, the exposure times in the target exposure queue are sorted in the order of the exposure time writing time. Figure 12 As shown in Ai Indicates the i-th exposure of media resources A, C k+1 represents the k+1th exposure of media resource C, C k+1 The write time of writing to the target queue is located at A i Before the writing time, so in the target exposure queue C k+1 It's A i The previous exposure media resource. C k+1 The exposure time 2021 / 1 / 8 / 9:30 is in the target exposure queue at A i The exposure time of media resource C before the exposure time of A. i-1 Indicates the i-1th exposure of media resource A, and the i-1th exposure time is 2021 / 1 / 8 / 9:42. The i-1th exposure time of media resource A is 2021 / 1 / 8 / 9:42, which is located in the previous media resource C k+1 The exposure time of media resource A is between 2021 / 1 / 8 / 9:30 and the i-th exposure time 2021 / 1 / 8 / 9:45. The reason for the duplicate exposure of media resource A is that when the media resource was exposed for the i-th time, the i-1-th exposure time had not been recorded in the target exposure queue. Since the i-1-th exposure time of media resource A was not queried in the target exposure queue, media resource A was exposed to the target account for the i-th time, resulting in duplicate exposure.
[0096] It should be noted that for the aforementioned method embodiments, for simplicity of description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the present invention is not limited by the order of the actions described, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0097] According to another aspect of the embodiment of the present invention, a media resource processing device for implementing the above-mentioned media resource processing method is also provided. Figure 13As shown, the device includes: an acquisition module 1302, used to obtain historical exposure information corresponding to a target media resource and a target account, and exposure configuration information of the target media resource, wherein the historical exposure information indicates the number of times the target media resource has been exposed to the target account, and the exposure configuration information indicates the number of times the target media resource is allowed to be exposed to the same account; a determination module 1304, used to determine whether the target media resource is a repeatedly exposed media resource based on the historical exposure information and the exposure configuration information; a processing module 1306, used to, when it is determined that the target media resource is the repeatedly exposed media resource, perform repeated exposure diagnosis processing on the target media resource based on a target request time and a target exposure time to obtain a target diagnosis result, wherein the target request time indicates the time when the target account requests the target media resource, the target exposure time indicates the time when the target media resource is exposed to the target account, and the target diagnosis result is used to indicate the reason for the repeated exposure of the target media resource.
[0098] Optionally, the above-mentioned device is also used to determine the target media resource as the repeatedly exposed media resource when the historical exposure information indicates the first number of times the target media resource is exposed to the target account within a preset time period, the exposure configuration information indicates the second number of times the target media resource is allowed to be exposed to the same account within the preset time period, and the first number is greater than the second number; and determine the target media resource as the repeatedly exposed media resource when the historical exposure information indicates the third number of times the target media resource is exposed to the target account in a group of media resources, the exposure configuration information indicates the fourth number of times the target media resource is allowed to be exposed to the same account in N consecutive media resources, and the third number is greater than the fourth number, wherein the group of media resources includes N media resources continuously exposed to the target account, and N is a positive integer greater than or equal to 2.
[0099] Optionally, the above-mentioned device is also used to determine whether the number of times the target media resource in each dimension is exposed to the target account is greater than the number of times the target media resource in each dimension is allowed to be exposed to the same account, when the historical exposure information indicates the number of times the target media resource in each dimension in multiple dimensions is exposed to the target account and the exposure configuration information indicates the number of times the target media resource in each dimension in the multiple dimensions is allowed to be exposed to the same account; and when there is a target dimension among the multiple dimensions and the number of times the target media resource in the target dimension is exposed to the target account is greater than the number of times the target media resource in the target dimension is allowed to be exposed to the same account, the target media resource is determined as the repeatedly exposed media resource.
[0100] Optionally, the above-mentioned device is further used to determine whether the first actual number is greater than the first allowed number, whether the second actual number is greater than the second allowed number, and whether the third actual number is greater than the third allowed number, when the historical exposure information respectively indicates the first actual number, the second actual number, and the third actual number are exposed to the target account on the target site, the target application, and the target exposure location, and the exposure configuration information respectively indicates the first allowed number, the second allowed number, and the third allowed number that the target media resource is allowed to be exposed to the same account on the target site, the target application, and the target exposure location, wherein the target application includes multiple applications on the target site, and the target exposure location includes multiple exposure locations on the target application; when the first actual number is greater than the first allowed number, or the second actual number is greater than the second allowed number, or the third actual number is greater than the third allowed number, the target media resource is determined to be the repeatedly exposed media resource.
[0101] Optionally, the above-mentioned device is also used to, when the target request time includes the i-th request time, the target exposure time includes the i-1-th exposure time, and the i-th request time is earlier than or equal to the i-1-th exposure time, determine the target diagnosis result as indicating that the reason for the repeated exposure of the target media resource is a problem with the request of the target media resource, wherein i is a positive integer greater than or equal to 2, the i-th request time is the time when the target account requests the target media resource for the i-th time, and the i-1-th exposure time is the time when the target media resource is exposed to the target account for the i-1th time; when the i-th request time is later than the i-1-th exposure time, determine the target diagnosis result as indicating that the reason for the repeated exposure of the target media resource is a problem with the exposure of the target media resource.
[0102] Optionally, the above-mentioned device is also used to determine the target diagnosis result as indicating that the reason for repeated exposure of the target media resource is that there is a problem with the request for the target media resource and the query of the request time of the target media resource fails, when the target request time includes the i-1th request time and the query response of the i-1th request time is empty, wherein the i-1th request time is the time when the target account requests the target media resource for the i-1th time, and the query response of the i-1th request time is the response to querying the i-1th request time.
[0103] Optionally, the above-mentioned device is also used to obtain a first time difference between the i-1th request time and the i-th request time when the target request time includes the i-1th request time and the query response of the i-1th request time is not empty. When the first time difference is greater than a preset first duration, the target diagnosis result is determined to indicate that the reason for repeated exposure of the target media resource is that there is a problem with the request for the target media resource, and the request time of the target media resource exceeds the first duration corresponding to the target request queue, wherein the target request queue records the request time of the target account requesting the media resource within the first duration, and the i-1th request time is the i-1th time that the target account requests the target media The time of the resource, the query response of the i-1th request time is the response to the query of the i-1th request time; when the target request time includes the i-1th request time, the query response of the i-1th request time is not empty, and the first time difference between the i-1th request time and the i-th request time is less than the preset second duration, the target diagnosis result is determined to be used to indicate that the reason for the repeated exposure of the target media resource is that there is a problem with the request of the target media resource, and the request time of the target media resource is delayed, wherein the second duration is less than the first duration, and the request time reflux delay is used to indicate that at the i-th request time, the i-1th request time has not been recorded in the target request queue.
[0104] Optionally, the above-mentioned device is also used to determine the target diagnosis result as indicating that the reason for repeated exposure of the target media resource is a problem with the request for the target media resource and a change in the server when requesting the target media resource, when the target request time includes the i-1th request time, the query response of the i-1th request time is not empty, the first time difference is greater than or equal to the preset second time length and less than or equal to the preset first time length, and the server when requesting the target media resource for the i-1th time is different from the server when requesting the target media resource for the i-th time.
[0105] Optionally, the above-mentioned device is also used to determine the target diagnosis result as indicating that the reason for the repeated exposure of the target media resource is that there is a problem with the exposure of the target media resource and the query of the exposure time of the target media resource fails when the target exposure time includes the i-1th exposure time and the query response of the i-1th exposure time is empty, wherein the i-1th exposure time is the time when the target media resource is exposed to the target account for the i-1th time, and the query response of the i-1th exposure time is the response to querying the i-1th exposure time.
[0106] Optionally, the above-mentioned device is also used to obtain a second time difference between the i-1th exposure time and the i-th exposure time when the target exposure time includes the i-1th exposure time and the i-th exposure time, and the query response of the i-1th exposure time is not empty. When the second time difference is greater than a preset third duration, the target diagnosis result is determined to indicate that the reason for the repeated exposure of the target media resource is that there is a problem with the exposure of the target media resource, and the i-1th exposure time exceeds the third duration corresponding to the target exposure queue, wherein the target exposure queue records the exposure time of the media resource exposed to the target account within the third duration, the i-1th exposure time is the time when the target media resource is exposed to the target account for the i-1th time, and the query response of the i-1th exposure time is Query the response of the i-1th exposure time; when the target exposure time includes the i-1th exposure time and the i-th exposure time, and the query response of the i-1th exposure time is not empty, obtain the previous exposure time of the i-th exposure time in the target exposure queue, if the i-1th exposure time is between the previous exposure time and the i-th exposure time, determine the target diagnosis result as indicating that the reason for the repeated exposure of the target media resource is that there is a problem with the exposure of the target media resource, and the exposure time reflux delay of the target media resource, wherein the previous exposure time is the exposure time of the media resource in the target exposure queue that is located before the i-th exposure time, and the exposure time reflux delay is used to indicate that at the i-th exposure time, the i-1th exposure time has not been recorded in the target exposure queue.
[0107] According to another aspect of the embodiment of the present invention, an electronic device for implementing the above-mentioned media resource processing method is also provided. The electronic device may be Figure 1 The terminal device or server shown in FIG. This embodiment is described by taking the electronic device as a server as an example. Figure 14 As shown, the electronic device includes a memory 1402 and a processor 1404. The memory 1402 stores a computer program, and the processor 1404 is configured to execute the steps in any of the above method embodiments through the computer program.
[0108] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.
[0109] Optionally, in this embodiment, the processor may be configured to execute the following steps through a computer program:
[0110] S1. Obtain historical exposure information corresponding to a target media resource and a target account, as well as exposure configuration information of the target media resource, wherein the historical exposure information indicates the number of times the target media resource has been exposed to the target account, and the exposure configuration information indicates the number of times the target media resource is allowed to be exposed to the same account;
[0111] S2, determining whether the target media resource is a repeatedly exposed media resource based on the historical exposure information and the exposure configuration information;
[0112] S3. When it is determined that the target media resource is the repeatedly exposed media resource, a repeated exposure diagnosis process is performed on the target media resource based on the target request time and the target exposure time to obtain a target diagnosis result, wherein the target request time indicates the time when the target account requests the target media resource, the target exposure time indicates the time when the target media resource is exposed to the target account, and the target diagnosis result is used to indicate the reason for the repeated exposure of the target media resource.
[0113] Alternatively, those skilled in the art will appreciate that Figure 14 The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID), a PAD, or other terminal devices. Figure 14 It does not limit the structure of the electronic device. For example, the electronic device may also include Figure 14 More or fewer components (such as network interfaces, etc.) as shown in, or with Figure 14 Different configurations shown.
[0114] Among them, the memory 1402 can be used to store software programs and modules, such as the program instructions / modules corresponding to the media resource processing method and device in the embodiment of the present invention. The processor 1404 executes various functional applications and data processing by running the software programs and modules stored in the memory 1402, that is, realizes the above-mentioned media resource processing method. The memory 1402 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1402 may further include a memory remotely located relative to the processor 1404, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 1402 can be used specifically, but not limited to, to store information such as historical exposure information and exposure configuration information of target media resources. As an example, such as Figure 14 As shown, the memory 1402 may include, but is not limited to, the acquisition module 1302, determination module 1304, and processing module 1306 in the media resource processing device. In addition, it may also include, but is not limited to, other module units in the media resource processing device, which will not be repeated in this example.
[0115] Optionally, the transmission device 1406 is configured to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one embodiment, the transmission device 1406 includes a network interface controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In one embodiment, the transmission device 1406 is a radio frequency (RF) module, which is configured to communicate with the Internet wirelessly.
[0116] In addition, the electronic device further includes: a display 1408 for displaying the target media resource; and a connection bus 1410 for connecting various module components in the electronic device.
[0117] In other embodiments, the terminal device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting multiple nodes through network communication. The nodes may form a peer-to-peer (P2P) network, and any computing device, such as a server, terminal, or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.
[0118] According to one aspect of the present application, a computer program product is provided, comprising a computer program / instructions containing program code for executing the method illustrated in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion 1509 and / or installed from a removable medium 1511. When the computer program is executed by the central processing unit 1501, the various functions provided in the embodiments of the present application are performed.
[0119] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0120] Figure 15 The block diagram schematically shows a computer system structure of an electronic device used to implement an embodiment of the present application.
[0121] It should be noted that Figure 15 The computer system 1500 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0122] like Figure 15 As shown, the computer system 1500 includes a central processing unit (CPU) 1501, which can perform various appropriate actions and processes according to the program stored in the read-only memory 1502 (ROM) or the program loaded from the storage part 1508 into the random access memory 1503 (RAM). Various programs and data required for system operation are also stored in the random access memory 1503. The CPU 1501, the read-only memory 1502, and the random access memory 1503 are connected to each other via a bus 1504. An input / output interface 1505 (i.e., an I / O interface) is also connected to the bus 1504.
[0123] The following components are connected to the input / output interface 1505: an input section 1506 including a keyboard, a mouse, and the like; an output section 1507 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and speakers; a storage section 1508 including a hard disk; and a communication section 1509 including a network interface card such as a local area network card or a modem. The communication section 1509 performs communication processing via a network such as the Internet. A drive 1510 is also connected to the input / output interface 1505 as needed. Removable media 1511, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 1510 as needed, so that computer programs read therefrom can be installed into the storage section 1508 as needed.
[0124] In particular, according to an embodiment of the present application, the processes described in the various method flow charts can be implemented as computer software programs. For example, an embodiment of the present application includes a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for executing the methods shown in the flow charts. In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion 1509 and / or installed from a removable medium 1511. When the computer program is executed by the central processing unit 1501, the various functions defined in the system of the present application are performed.
[0125] According to one aspect of the present application, a computer-readable storage medium is provided, and 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 various optional implementations described above.
[0126] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0127] S1. Obtain historical exposure information corresponding to a target media resource and a target account, as well as exposure configuration information of the target media resource, wherein the historical exposure information indicates the number of times the target media resource has been exposed to the target account, and the exposure configuration information indicates the number of times the target media resource is allowed to be exposed to the same account;
[0128] S2, determining whether the target media resource is a repeatedly exposed media resource based on the historical exposure information and the exposure configuration information;
[0129] S3. When it is determined that the target media resource is the repeatedly exposed media resource, a repeated exposure diagnosis process is performed on the target media resource based on the target request time and the target exposure time to obtain a target diagnosis result, wherein the target request time indicates the time when the target account requests the target media resource, the target exposure time indicates the time when the target media resource is exposed to the target account, and the target diagnosis result is used to indicate the reason for the repeated exposure of the target media resource.
[0130] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0131] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above-mentioned computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes a number of instructions for causing one or more computer devices (such as personal computers, servers, or network devices) to execute all or part of the steps of the methods described in various embodiments of the present invention.
[0132] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0133] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, and can be electrical or other forms.
[0134] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0135] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0136] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.
Claims
1. A method for processing media resources, characterized in that: include: Obtaining historical exposure information corresponding to a target media resource and a target account, as well as exposure configuration information of the target media resource, wherein the historical exposure information indicates the number of times the target media resource was exposed to the target account, and the exposure configuration information indicates the number of times the target media resource is allowed to be exposed to the same account; Determining whether the target media resource is a repeatedly exposed media resource based on the historical exposure information and the exposure configuration information; In the case where it is determined that the target media resource is the repeatedly exposed media resource, the target media resource is diagnosed for repeated exposure based on the target request time and the target exposure time to obtain a target diagnosis result, wherein the target request time indicates the time when the target account requests the target media resource, the target exposure time indicates the time when the target media resource is exposed to the target account, and the target diagnosis result is used to indicate the reason for the repeated exposure of the target media resource.
2. The method according to claim 1, characterized in that The determining, based on the historical exposure information and the exposure configuration information, whether the target media resource is a repeatedly exposed media resource includes: If the historical exposure information indicates a first number of times the target media resource is exposed to the target account within a preset duration, and the exposure configuration information indicates a second number of times the target media resource is allowed to be exposed to the same account within the preset duration, and the first number is greater than the second number, the target media resource is determined to be the repeatedly exposed media resource; or When the historical exposure information indicates the third time that the target media resource is exposed to the target account in a group of media resources, the exposure configuration information indicates the fourth time that the target media resource is allowed to be exposed to the same account in N consecutive media resources, and the third time is greater than the fourth time, the target media resource is determined to be the repeatedly exposed media resource, wherein the group of media resources includes N media resources continuously exposed to the target account, and N is a positive integer greater than or equal to 2.
3. The method according to claim 1, characterized in that The determining, based on the historical exposure information and the exposure configuration information, whether the target media resource is a repeatedly exposed media resource includes: where the historical exposure information indicates the number of times the target media resource was exposed to the target account in each of the multiple dimensions, and the exposure configuration information indicates the number of times the target media resource is allowed to be exposed to the same account in each of the multiple dimensions, determining whether the number of times the target media resource was exposed to the target account in each of the dimensions is greater than the number of times the target media resource is allowed to be exposed to the same account in each of the dimensions; If there is a target dimension among the multiple dimensions, and the number of times the target media resource under the target dimension is exposed to the target account is greater than the number of times the target media resource under the target dimension is allowed to be exposed to the same account, the target media resource is determined as the repeatedly exposed media resource.
4. The method according to claim 3, characterized in that When the historical exposure information indicates the number of times the target media resource is exposed to the target account in each of a plurality of dimensions, and the exposure configuration information indicates the number of times the target media resource is allowed to be exposed to the same account in each of the plurality of dimensions, determining whether the number of times the target media resource is exposed to the target account in each of the dimensions is greater than the number of times the target media resource is allowed to be exposed to the same account in each of the dimensions comprises: when the historical exposure information respectively indicates a first actual number, a second actual number, and a third actual number of times the target media resource is exposed to the target account on a target site, a target application, and a target exposure position, and the exposure configuration information respectively indicates a first allowed number, a second allowed number, and a third allowed number of times the target media resource is allowed to be exposed to the same account on the target site, the target application, and the target exposure position, determining whether the first actual number is greater than the first allowed number, whether the second actual number is greater than the second allowed number, and whether the third actual number is greater than the third allowed number, wherein the target application includes multiple applications on the target site, and the target exposure position includes multiple exposure positions on the target application; When there is a target dimension among the multiple dimensions and the number of times the target media resource under the target dimension is exposed to the target account is greater than the number of times the target media resource under the target dimension is allowed to be exposed to the same account, the target media resource is determined as the repeatedly exposed media resource, including: when the first actual number is greater than the first allowed number, or the second actual number is greater than the second allowed number, or the third actual number is greater than the third allowed number, the target media resource is determined as the repeatedly exposed media resource.
5. The method according to claim 1, wherein The performing repeated exposure diagnosis processing on the target media resource according to the target request time and the target exposure time to obtain a target diagnosis result includes: In a case where the target request time includes an i-th request time, the target exposure time includes an i-1-th exposure time, and the i-th request time is earlier than or equal to the i-1-th exposure time, determining the target diagnosis result as indicating that a cause of repeated exposure of the target media resource is a problem with the request for the target media resource, wherein i is a positive integer greater than or equal to 2, the i-th request time is the time when the target account requested the target media resource for the i-th time, and the i-1-th exposure time is the time when the target media resource was exposed to the target account for the i-1th time; In a case where the i-th request time is later than the (i-1)-th exposure time, the target diagnosis result is determined to indicate that a cause of repeated exposure of the target media resource is a problem with exposure of the target media resource.
6. The method according to claim 5, characterized in that After determining the target diagnosis result as indicating that a cause of repeated exposure of the target media resource is a problem with a request for the target media resource, performing repeated exposure diagnosis processing on the target media resource based on a target request time and a target exposure time to obtain a target diagnosis result, the method further includes: When the target request time includes the i-1th request time and the query response for the i-1th request time is empty, the target diagnosis result is determined to indicate that the reason for repeated exposure of the target media resource is that there is a problem with the request for the target media resource and the query for the request time of the target media resource fails, wherein the i-1th request time is the time when the target account requests the target media resource for the i-1th time, and the query response for the i-1th request time is the response to querying the i-1th request time.
7. The method according to claim 5, characterized in that After determining that the target diagnosis result indicates that a cause of repeated exposure of the target media resource is a problem with a request for the target media resource, performing repeated exposure diagnosis processing on the target media resource based on the target request time and the target exposure time to obtain the target diagnosis result further includes: In a case where the target request time includes the i-1th request time and the query response of the i-1th request time is not empty, a first time difference between the i-1th request time and the i-th request time is obtained; and in a case where the first time difference is greater than a preset first duration, the target diagnosis result is determined to indicate that the reason for repeated exposure of the target media resource is that there is a problem with the request for the target media resource, and the request time of the target media resource exceeds the first duration corresponding to the target request queue, wherein the target request queue records the request time of the target account requesting the media resource within the first duration, the i-1th request time is the time when the target account requested the target media resource for the i-1th time, and the query response of the i-1th request time is a response to querying the i-1th request time; When the target request time includes the i-1th request time, the query response of the i-1th request time is not empty, and the first time difference between the i-1th request time and the i-th request time is less than the preset second duration, the target diagnosis result is determined to be used to indicate that the reason for the repeated exposure of the target media resource is that there is a problem with the request of the target media resource, and the request time of the target media resource is delayed, wherein the second duration is less than the first duration, and the request time reflow delay is used to indicate that at the i-th request time, the i-1th request time has not been recorded in the target request queue.
8. The method according to claim 7, characterized in that After determining that the target diagnosis result indicates that a cause of repeated exposure of the target media resource is a problem with a request for the target media resource, performing repeated exposure diagnosis processing on the target media resource according to a target request time and a target exposure time to obtain a target diagnosis result includes: When the target request time includes the i-1th request time, the query response of the i-1th request time is not empty, the first time difference is greater than or equal to the preset second time length and less than or equal to the preset first time length, and the server when requesting the target media resource for the i-1th time is different from the server when requesting the target media resource for the i-th time, the target diagnosis result is determined to indicate that the reason for the repeated exposure of the target media resource is a problem with the request for the target media resource and a change in the server when requesting the target media resource.
9. The method according to claim 5, characterized in that After determining the target diagnosis result as indicating that the cause of repeated exposure of the target media resource is a problem with exposure of the target media resource, performing repeated exposure diagnosis processing on the target media resource according to the target request time and the target exposure time to obtain the target diagnosis result further includes: In the case that the target exposure time includes the i-1th exposure time and the query response for the i-1th exposure time is empty, the target diagnosis result is determined to indicate that the reason for the repeated exposure of the target media resource is that there is a problem with the exposure of the target media resource and the query for the exposure time of the target media resource fails, wherein the i-1th exposure time is the time when the target media resource is exposed to the target account for the i-1th time, and the query response for the i-1th exposure time is a response to querying the i-1th exposure time.
10. The method according to claim 5, characterized in that After determining the target diagnosis result as indicating that the cause of repeated exposure of the target media resource is a problem with exposure of the target media resource, performing repeated exposure diagnosis processing on the target media resource according to the target request time and the target exposure time to obtain the target diagnosis result further includes: When the target exposure time includes the i-1th exposure time and the i-th exposure time, and the query response of the i-1th exposure time is not empty, obtain a second time difference between the i-1th exposure time and the i-th exposure time. When the second time difference is greater than a preset third duration, determine the target diagnosis result as indicating that the reason for repeated exposure of the target media resource is that there is a problem with the exposure of the target media resource, and the i-1th exposure time exceeds the third duration corresponding to the target exposure queue, wherein the target exposure queue records the exposure time of the media resource exposed to the target account within the third duration, the i-1th exposure time is the time when the target media resource is exposed to the target account for the i-1th time, and the query response of the i-1th exposure time is a response to querying the i-1th exposure time; When the target exposure time includes the i-1th exposure time and the i-th exposure time, and the query response of the i-1th exposure time is not empty, obtain the previous exposure time of the i-th exposure time in the target exposure queue. If the i-1th exposure time is between the previous exposure time and the i-th exposure time, determine the target diagnosis result as indicating that the reason for the repeated exposure of the target media resource is that there is a problem with the exposure of the target media resource and the exposure time reflux delay of the target media resource, wherein the previous exposure time is the exposure time of the media resource in the target exposure queue that is located before the i-th exposure time, and the exposure time reflux delay is used to indicate that at the i-th exposure time, the i-1th exposure time has not been recorded in the target exposure queue.
11. A media resource processing device, characterized in that: include: an acquisition module, configured to acquire historical exposure information corresponding to a target media resource and a target account, and exposure configuration information of the target media resource, wherein the historical exposure information indicates the number of times the target media resource has been exposed to the target account, and the exposure configuration information indicates the number of times the target media resource is allowed to be exposed to the same account; a determination module, configured to determine whether the target media resource is a repeatedly exposed media resource based on the historical exposure information and the exposure configuration information; A processing module is used to, when determining that the target media resource is the repeatedly exposed media resource, diagnose the target media resource for repeated exposure based on a target request time and a target exposure time, to obtain a target diagnosis result, wherein the target request time indicates the time when the target account requests the target media resource, the target exposure time indicates the time when the target media resource is exposed to the target account, and the target diagnosis result is used to indicate the reason for the repeated exposure of the target media resource.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the method according to any one of claims 1 to 10 is executed when the program is executed.
13. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.
14. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 10 through the computer program.
Citation Information
Patent Citations
Advertisement frequency control method and system
CN111241196A
Promotion content exposure control method and device and computer equipment
CN111612530A