Poster sorting display method and device, electronic equipment and storage medium
By obtaining the number of requests and data of the poster, dynamically adjusting the sorting and display order of the poster, the problem of low poster display efficiency is solved, the poster racing strategy is realized, and the exposure accuracy and efficiency are improved.
Patent Information
- Application Number
- CN202510051846.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-05-13
AI Technical Summary
In the prior art, due to the lack of professional data support, the ordering and display efficiency of posters in the poster center is low, resulting in uneven distribution of radiation data, and it is impossible to ensure that the optimal poster is best exposed.
By obtaining the number of requests and poster data for the target poster, determine the sorting method of the poster, calculate the display value of each poster, sort in descending order of numerical order, dynamically adjust the display order of the poster to realize the horse racing strategy and ensure that the optimal and new posters are properly exposed.
It improves the exposure accuracy and efficiency of poster sorting display, ensures that both the best poster and the new poster can be reasonably exposed, and improves user interaction and poster radiation effect.
Smart Images

Figure CN119988655A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of multimedia data processing, and in particular to a method, device, electronic device and storage medium for sorting and displaying posters. Background Art
[0002] The posters in the poster center are generally sorted by operators in the background of the web page and displayed to users in a swipeable form. In order to allow users to see posters with better radiation first, manual judgment and sorting are required, and the efficiency of sorting and display is low.
[0003] Due to the differences in the display positions of posters in the center of the posters and the lack of professional data support, manually calculating the newness or exposure of the posters and sorting them will cause the radiation data distribution of the posters to show the 80 / 20 principle, which reduces the exposure accuracy of the poster sorting display and cannot guarantee that the best poster will get the best exposure. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a method, device, electronic device and storage medium for sorting and displaying posters. According to the number of requests for the target posters and the poster data obtained, the sorting method of the target posters is determined. In each sorting method, the display value corresponding to each target poster for determining the display position is calculated, and the target display posters are selected in descending order of the display value. The target display posters are displayed in the target display area, and the dynamic adjustment of the sorting based on the poster data realizes the horse racing strategy of poster display, ensures that the best posters and new posters can get reasonable exposure, and improves the exposure accuracy and efficiency of the poster sorting display.
[0005] The present application provides a method for sorting and displaying posters, and the method for sorting and displaying posters includes:
[0006] In response to receiving instruction information requesting to display a plurality of target posters, obtaining the number of requests for currently requesting to display the target posters and the poster data corresponding to the target posters respectively;
[0007] Determine a sorting method corresponding to the target posters based on the number of requests and the random sequence corresponding to the display probability value included in the instruction information;
[0008] For each of the sorting methods, based on the poster data, calculating a display value corresponding to each of the target posters for determining a display position;
[0009] The display values are numerically sorted in descending order to obtain a display order corresponding to the target poster, and based on the display order and the number of preset positions in the target display area, a target display poster is selected from the target posters to display the target display poster in the target display area.
[0010] Furthermore, the sorting display method also includes:
[0011] After the target display poster is displayed in the target display area, behavior data generated by the user's interaction with the target display poster is obtained, and the behavior data is recorded as poster data corresponding to the target display poster.
[0012] Furthermore, the determining of the sorting method corresponding to the target posters based on the random sequence corresponding to the number of requests and the display probability value included in the instruction information includes:
[0013] Based on the display probability value included in the instruction information and a preset sequence length, determining a random sequence corresponding to the display probability value;
[0014] Dividing the number of requests by the random sequence to obtain a remainder result corresponding to the number of requests divided by the random sequence;
[0015] Based on the remainder result, a sequence value corresponding to the remainder result is selected in the random sequence, and based on the sequence value, a sorting method corresponding to the target poster is determined.
[0016] Furthermore, determining the sorting method corresponding to the target poster based on the sequence value includes:
[0017] When the sequence value is a first preset value, determining that the sorting method corresponding to the target poster is a balanced sorting method;
[0018] When the sequence value is a second preset value, it is determined that the sorting method corresponding to the target poster is a new sorting method.
[0019] Furthermore, the poster data includes the amount of new posts, the amount of saved posts, and the amount of exposure; for each of the sorting methods, based on the poster data, calculating the upper confidence limit value or the new display value corresponding to each of the target posters, including:
[0020] When the sorting method is determined to be a balanced sorting method, based on the poster data, a preset confidence upper limit formula is used to calculate the confidence upper limit value included in the display value corresponding to each of the target posters;
[0021] When the sorting method is determined to be a trigger sorting method, based on the trigger quantity and the stored quantity, the new display value included in the display value corresponding to each of the target posters is calculated.
[0022] Furthermore, when the sorting method is determined to be a balanced sorting method, based on the poster data, a preset confidence upper limit formula is used to calculate the confidence upper limit value included in the display value corresponding to each target poster, including:
[0023] When the sorting method is determined to be a balanced sorting method, obtaining the total exposure corresponding to the target poster;
[0024] The triggering amount, the preservation amount, the exposure amount and the total exposure amount are respectively input into a preset confidence upper limit formula for calculation to obtain the confidence upper limit value included in the display value corresponding to each of the target posters.
[0025] Further, the selecting a target display poster from the target posters based on the display order and the number of preset positions in the target display area to display the target display poster in the target display area includes:
[0026] Based on the number of preset positions in the target display area, starting from the first position in the display order, target posters corresponding to the preset number of positions are sequentially selected from the target posters corresponding to the display order, so as to determine the selected target posters as target display posters;
[0027] The target display poster is displayed in the target display area.
[0028] The embodiment of the present application also provides a poster sorting and display device, the sorting and display device comprising:
[0029] A data acquisition module, configured to, in response to receiving instruction information requesting to display a plurality of target posters, acquire the number of requests for currently requesting to display the target posters and the poster data corresponding to the target posters respectively;
[0030] A first sorting module, configured to determine a sorting method corresponding to the target poster based on the number of requests and a random sequence corresponding to the display probability value included in the instruction information;
[0031] A calculation module, for calculating, for each of the sorting modes, a display value corresponding to each of the target posters for determining a display position based on the poster data;
[0032] The second sorting module is used to numerically sort the display values in descending order to obtain the display order corresponding to the target posters, and select a target display poster from the target posters based on the display order and the number of preset positions in the target display area to display the target display poster in the target display area.
[0033] Furthermore, the sorting display device further includes a data recording module, and the data recording module is used to:
[0034] After selecting target posters corresponding to a preset number of positions for display, behavior data generated by the user's interaction with the target display posters is obtained, and the behavior data is recorded as poster data corresponding to the target display posters.
[0035] Furthermore, when the first sorting module is used to determine the sorting method corresponding to the target poster based on the number of requests and the random sequence corresponding to the display probability value included in the instruction information, the first sorting module is used to:
[0036] Based on the display probability value included in the instruction information and a preset sequence length, determining a random sequence corresponding to the display probability value;
[0037] Dividing the number of requests by the random sequence to obtain a remainder result corresponding to the number of requests divided by the random sequence;
[0038] Based on the remainder result, a sequence value corresponding to the remainder result is selected in the random sequence, and based on the sequence value, a sorting method corresponding to the target poster is determined.
[0039] Furthermore, when the first sorting module is used to determine the sorting method corresponding to the target poster based on the sequence value, the first sorting module is used to:
[0040] When the sequence value is a first preset value, determining that the sorting method corresponding to the target poster is a balanced sorting method;
[0041] When the sequence value is a second preset value, it is determined that the sorting method corresponding to the target poster is a new sorting method.
[0042] Furthermore, the poster data includes a new amount, a saved amount, and an exposure amount; when the calculation module is used to calculate the upper confidence limit value or the new display value corresponding to each target poster based on the poster data for each of the sorting methods, the calculation module is used to:
[0043] When the sorting method is determined to be a balanced sorting method, based on the poster data, a preset confidence upper limit formula is used to calculate the confidence upper limit value included in the display value corresponding to each of the target posters;
[0044] When the sorting method is determined to be a trigger sorting method, based on the trigger quantity and the storage quantity, the new display value included in the display value corresponding to each of the target posters is calculated.
[0045] Furthermore, when the sorting method is determined to be a balanced sorting method, the calculation module is used to calculate the confidence upper limit value included in the display value corresponding to each target poster based on the poster data using a preset confidence upper limit formula, and the calculation module is used to:
[0046] When the sorting method is determined to be a balanced sorting method, obtaining the total exposure corresponding to the target poster;
[0047] The triggering amount, the preservation amount, the exposure amount and the total exposure amount are respectively input into a preset confidence upper limit formula for calculation to obtain the confidence upper limit value included in the display value corresponding to each of the target posters.
[0048] Further, when the second sorting module is used to select a target display poster from the target posters based on the display order and the number of preset positions in the target display area, so as to display the target display poster in the target display area, the second sorting module is used to:
[0049] Based on the number of preset positions in the target display area, starting from the first position in the display order, target posters corresponding to the preset number of positions are sequentially selected from the target posters corresponding to the display order, so as to determine the selected target posters as target display posters;
[0050] The target display poster is displayed in the target display area.
[0051] An embodiment of the present application also provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the poster sorting and display method as described above are performed.
[0052] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned method for sorting and displaying posters are executed.
[0053] The poster sorting and display method, device, electronic device and storage medium provided in the embodiments of the present application include: in response to receiving instruction information requesting to display multiple target posters, obtaining the number of requests for currently requesting to display the target posters and the poster data corresponding to the target posters respectively; determining the sorting method corresponding to the target posters based on the random sequence corresponding to the number of requests and the display probability value included in the instruction information; for each of the sorting methods, calculating the display value corresponding to each of the target posters for determining the display position based on the poster data; numerically sorting the display values in descending order to obtain the display order corresponding to the target posters, and selecting the target display poster from the target posters based on the display order and the number of preset positions in the target display area to display the target display poster in the target display area.
[0054] Compared with the method in the prior art of manually distinguishing and calculating the newness or exposure of posters and then sorting them, the sorting method of the target posters is determined according to the number of requests for the target posters and the poster data obtained. In each sorting method, the display value corresponding to each target poster for determining the display position is calculated, and the target display posters are selected in descending order of the confidence upper limit value or the new display value. The target display posters are displayed in the target display area, and the dynamic adjustment of the sorting based on the poster data realizes the horse racing strategy of poster display, ensuring that the optimal posters and new posters can get reasonable exposure, thereby improving the exposure accuracy and efficiency of the poster sorting display.
[0055] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0057] Figure 1 One of the flowcharts of a method for sorting and displaying posters provided in an embodiment of the present application;
[0058] Figure 2 A second flowchart of a method for sorting and displaying posters provided in an embodiment of the present application;
[0059] Figure 3One of the structural schematic diagrams of a poster sorting and display device provided in an embodiment of the present application;
[0060] Figure 4 The second structural diagram of a poster sorting and display device provided in an embodiment of the present application;
[0061] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.
[0063] Research has found that, at present, the posters in the poster center are generally sorted by operators in the background of the web page and displayed to users in a swipeable form. In order to allow users to see posters with better radiation first, manual judgment and sorting are required, and the efficiency of sorting and display is low. Due to the differences in the positions of posters displayed in the poster center and the lack of professional data support, manually calculating the newness or exposure of posters and sorting them will cause the radiation data distribution of the posters to show the 28 principle, which reduces the exposure accuracy of the poster sorting display and cannot guarantee that the best poster will get the best exposure.
[0064] Based on this, an embodiment of the present application provides a method for sorting and displaying posters. According to the number of requests for the target posters and the poster data obtained, a sorting method of the target posters is determined. In each sorting method, the display value corresponding to each target poster for determining the display position is calculated, and the target display posters are selected in descending order of the display values. The target display posters are displayed in the target display area, and the dynamic adjustment of the sorting based on the poster data realizes the horse racing strategy of poster display, ensuring that the optimal posters and new posters can get reasonable exposure, thereby improving the exposure accuracy and efficiency of the poster sorting display.
[0065] See also Figure 1 , Figure 1 This is one of the flowcharts of a method for sorting and displaying posters provided in an embodiment of the present application. Figure 1 As shown in , the method for sorting and displaying posters provided in the embodiment of the present application includes:
[0066] S101. In response to receiving instruction information requesting to display a plurality of target posters, obtaining the number of requests for currently requesting to display the target posters and the poster data corresponding to the target posters.
[0067] It should be noted that the poster is a visual communication tool, usually displayed in a larger format, designed to attract the audience's attention and convey specific information. Posters can be used in a variety of ways, including but not limited to advertising, publicity, education, entertainment and artistic expression.
[0068] In the embodiment of the present application, the target poster generally refers to a poster in digital form, including but not limited to static pictures, dynamic pictures, short videos, etc.
[0069] In this step, when instruction information triggered by an external source (for example, an administrator, user, or developer, etc.) is received to display multiple target posters, first, the display probability value included in the instruction information is determined; then, the number of requests for displaying the target posters is obtained, that is, the total number of times the instruction information corresponding to the current moment is received; finally, the poster data corresponding to each target poster is obtained.
[0070] Among them, the display probability value refers to the probability value of expecting to display the new poster to the user; the poster data includes but is not limited to the save quantity (i.e., the number of times the poster is saved), the contact quantity (i.e., the number of times the poster contacts new users) and the exposure quantity (i.e., the number of times the poster is viewed).
[0071] In an embodiment of the present application, the target posters may include new posters (ie, posters that are determined as target posters for the first time); wherein the preservation amount and exposure amount of the new posters are both set to 1.
[0072] S102: Determine a sorting method corresponding to the target posters based on the number of requests and the random sequence corresponding to the display probability value included in the instruction information.
[0073] In the embodiment of the present application, the sorting method includes a balanced sorting method and a trigger sorting method.
[0074] Here, the balanced sorting method refers to a sorting method based on the calculated confidence upper limit value corresponding to each target poster, in this way to weigh the display opportunities of the target posters and explore new posters; the new sorting method refers to a sorting method by calculating the ratio of the new amount and the saved amount, in this way to ensure that new posters can get balanced exposure opportunities according to display needs.
[0075] In one implementation of the present application, during specific implementation, step S102 may include:
[0076] S1021. Determine a random sequence corresponding to the display probability value based on the display probability value included in the instruction information and a preset sequence length.
[0077] In this step, based on the display probability value and the preset sequence length included in the instruction information, the first preset value and the second preset value are used to form a random sequence with a length of the preset sequence length and composed of the first preset value and the second preset value; wherein the frequency of occurrence of the first preset value in the random sequence is equal to the display probability value and the random sequence meets the characteristics of uniform distribution of the first preset value and the second preset value.
[0078] Exemplarily, when the display probability value is set to 50% and the preset sequence length is 12 bits, the first preset value is set to 1 and the second preset value is set to 0, a sequence consisting of 0 and 1 is initialized, and the frequency and distribution of occurrence of 1 in the sequence are determined according to 50% and are distributed as evenly as possible. At this time, the random sequence corresponding to 50% is "101010101010".
[0079] In this way, by determining the random sequence corresponding to the display probability value, the sorting method corresponding to the display probability value can be further determined, so as to sort the posters corresponding to the display probability value.
[0080] S1022. Divide the number of requests by the random sequence to obtain a remainder result corresponding to the number of requests divided by the random sequence.
[0081] In this step, the number of requests is divided by the random sequence, and the remainder result obtained by dividing the number of requests by the random sequence is determined by taking the remainder through division calculation.
[0082] For example, when the number of requests is 202020202021 and the random sequence is 101010101010, the remainder calculated by division is 1.
[0083] S1023. Based on the remainder result, select a sequence value corresponding to the remainder result in the random sequence, and based on the sequence value, determine a sorting method corresponding to the target poster.
[0084] In this step, the sequence value corresponding to the remainder result in the random sequence is selected in order from the highest bit to the lowest bit; then, based on the sequence value, the sorting method corresponding to the target poster is determined.
[0085] In one implementation of the present application, during specific implementation, step S1023 may include:
[0086] S10231. When the sequence value is a first preset value, determine that the sorting method corresponding to the target poster is a balanced sorting method.
[0087] In the embodiment of the present application, the first preset value is generally set to 1; the balanced sorting method is used to determine the sorting method of the target posters based on the calculation method of the upper confidence interval.
[0088] S10232. When the sequence value is a second preset value, determine that the sorting method corresponding to the target poster is a new sorting method.
[0089] In the embodiment of the present application, the second preset value is generally set to 0; the new sorting method is used to give priority to displaying target posters that have contacted more new users and / or are less saved by users, so as to balance the exposure rate and radiation rate of each target poster.
[0090] S103: For each of the sorting methods, based on the poster data, calculate a display value corresponding to each of the target posters for determining a display position.
[0091] Among them, the poster data includes but is not limited to the amount of new posts, the amount of saves and the amount of exposure; the display value includes the upper confidence limit value corresponding to the balanced sorting method and the new display value corresponding to the new sorting method.
[0092] In one implementation of the present application, during specific implementation, step S103 may include:
[0093] S1031. When the sorting method is determined to be a balanced sorting method, based on the poster data, a preset confidence upper limit formula is used to calculate the confidence upper limit value included in the display value corresponding to each target poster.
[0094] In an embodiment of the present application, the upper confidence bound (UCB) formula is a method for solving a problem involving making a series of decisions in an environment, each of which selects one from multiple options, and each option has an unknown probability distribution to determine the reward, so as to optimize the long-term cumulative reward by balancing exploration and utilization.
[0095] The key to the confidence upper bound is that it maintains the average reward and uncertainty measure; the average reward refers to the average reward obtained when the action was selected in the past; the uncertainty measure refers to the width of the confidence interval based on the number of times the action was selected, that is, the fewer times the action is selected, the higher its uncertainty.
[0096] Here, when making ranking choices, by combining the average reward with the maximum value after uncertainty measurement, we encourage exploration of ranking choices that may have higher potential value but are not yet fully understood.
[0097] In one implementation of the present application, during specific implementation, step S1031 may include:
[0098] S10311. When the sorting method is determined to be a balanced sorting method, the total exposure corresponding to the target poster is obtained.
[0099] In this step, when it is determined that the sorting method is a balanced sorting method, the total exposure corresponding to the target poster is obtained, that is, the total exposure times of all target posters are obtained.
[0100] S10312. Input the triggering amount, the storage amount, the exposure amount and the total exposure amount into a preset confidence upper limit formula for calculation, and obtain the confidence upper limit value included in the display value corresponding to each of the target posters.
[0101] In the embodiment of the present application, the expression of the preset confidence upper limit formula is as follows.
[0102]
[0103] Among them, UCB represents the upper confidence limit value corresponding to each target poster; Reach represents the amount of new exposure; Save represents the amount of preservation; Exposure represents the exposure amount; Exposure_Total represents the total exposure amount; C represents the upper confidence limit constant, which is used to adjust the degree of exploration. The larger the value of C, the higher the degree of exploration.
[0104] In this way, by combining confidence upper limit calculation and random sequence, a horse racing strategy for poster sorting is implemented to ensure that the best posters and new posters can get reasonable exposure, optimize the overall display effect, and allow posters with better radiation to be displayed in the best position.
[0105] S1032: When the sorting method is determined to be a trigger sorting method, based on the trigger quantity and the saved quantity included in the poster data, calculate the new display value included in the display value corresponding to each of the target posters.
[0106] In this step, when the sorting method is determined to be the new sorting method, the ratio of the new amount and the saved amount included in the poster data is calculated, that is, the new amount is divided by the saved amount, and the new display value corresponding to each target poster is obtained through ratio (division) calculation.
[0107] Here, the new display value is used to represent the ratio of the number of times the target poster contacts new users to the number of times it is saved by users, so that target posters with fewer save times and / or target posters contacting more new users can get more balanced exposure, and new posters can also get a certain degree of exposure.
[0108] S104. Sort the display values in descending order to obtain a display order corresponding to the target posters, and select a target display poster from the target posters based on the display order and the number of preset positions in the target display area to display the target display poster in the target display area.
[0109] In this step, when the sorting method is determined to be a balanced sorting method, the confidence upper limit value of each target poster is numerically sorted in descending order of values to obtain the first display order corresponding to the target poster; when the sorting method is determined to be a new sorting method, the new display value of each target poster is numerically sorted in descending order of values to obtain the second display order corresponding to the target poster.
[0110] In one embodiment of the present application, in a specific implementation, the step of selecting a target display poster from the target posters based on the display order and the number of preset positions in the target display area in step S105 to display the target display poster in the target display area may include:
[0111] S1041. Based on the number of preset positions in the target display area, starting from the first position of the display order, target posters corresponding to the preset number of positions are selected in sequence from the target posters corresponding to the display order to determine the selected target posters as target display posters.
[0112] S1042: Display the target display poster in the target display area.
[0113] In the embodiment of the present application, the target display area generally refers to a web page display area for displaying posters in digital form, for example, a poster display section on the homepage of a website and a product introduction details page.
[0114] In this step, the number of preset positions in the target display area is determined as the number of target display posters to be selected, and the posters are selected one by one starting from the first priority of the first display order or the second display order until the number of selected positions reaches the preset number of positions, and the selected target posters are determined as the target display posters; then, the target display posters are displayed in the target display area.
[0115] Exemplarily, when the number of preset positions in the target display area is 6, the display order of the target posters A, B, C, D, E, F, G, H, I, J, K is C, E, J, H, D, A, G, K, B, I, F. At this time, the selected target display posters are C, E, J, H, D, A respectively.
[0116] Optional, see Figure 2 , Figure 2 This is a second flowchart of a method for sorting and displaying posters provided in an embodiment of the present application.
[0117] like Figure 2 As shown in, in an embodiment of the present application, in addition to the poster sorting and displaying method described in steps S101 to S104, step S105 is also included. Specifically, step S105 is used to illustrate a method for obtaining behavioral data generated by users interacting with the target display poster and recording it as poster data corresponding to the target display poster after the target display poster is displayed in the target display area, so as to ensure that the target poster is exposed to the maximum in the best position through real-time recording of poster data and dynamic adjustment of poster sorting, thereby improving the exposure effect of the optimal poster.
[0118] S105. After displaying the target display poster in the target display area, obtain behavior data generated by the user's interaction with the target display poster, and record the behavior data as poster data corresponding to the target display poster.
[0119] In this step, after the target display poster is displayed in the target display area, the behavior data generated by the user's interaction with the target display poster is obtained, specifically including the number of saves for each target display poster by the user and the number of triggers and exposures of each target display poster; then, the behavior data is recorded as the poster data corresponding to the target display poster, and the historical poster data of the target display poster is updated.
[0120] Furthermore, each time a new request is received to display multiple target posters, the target posters are sorted and displayed based on their latest poster data, so as to optimize the arrangement order of the target posters in real time according to the user's behavior data, thereby achieving the effect of dynamically adjusting the sorting and display method of the target posters.
[0121] In this way, based on the exposure of the target display poster at the display position after each request and sorting, the sorting of the target poster is adjusted in real time. By real-time recording of data and dynamic adjustment of sorting, it is ensured that the target poster gets maximum exposure in the best position, thereby improving the exposure effect of the optimal poster, thereby increasing the probability of users saving and sharing the target poster, and ultimately improving the radiation effect of the target poster.
[0122] The poster sorting and display method provided in the embodiment of the present application determines the sorting method of the target posters according to the number of requests for the acquired target posters and the poster data. In each sorting method, the display value corresponding to each target poster for determining the display position is calculated, and the target display posters are selected in descending order of the display value. The target display posters are displayed in the target display area, and the dynamic adjustment of the sorting based on the poster data realizes the horse racing strategy of poster display, ensures that the best posters and new posters can get reasonable exposure, and improves the exposure accuracy and efficiency of the poster sorting display.
[0123] See also Figure 3 , Figure 4 , Figure 3 This is one of the structural schematic diagrams of a poster sorting and display device provided in an embodiment of the present application. Figure 4 This is a second structural diagram of a poster sorting and display device provided in an embodiment of the present application. Figure 3 As shown in , the sorting display device 300 includes:
[0124] The data acquisition module 310 is used to obtain the number of requests for displaying the target posters and the poster data corresponding to the target posters in response to receiving the instruction information for requesting to display the target posters;
[0125] A first sorting module 320, configured to determine a sorting method corresponding to the target poster based on the number of requests and a random sequence corresponding to the display probability value included in the instruction information;
[0126] A calculation module 330, configured to calculate, for each of the sorting modes, a display value corresponding to each of the target posters for determining a display position based on the poster data;
[0127] The second sorting module 340 is used to numerically sort the display values in descending order to obtain a display order corresponding to the target poster, and select a target display poster from the target posters based on the display order and the number of preset positions in the target display area to display the target display poster in the target display area.
[0128] Further, such as Figure 4 As shown in , the sorting display device 300 further includes a data recording module 350, and the data recording module 350 is used to:
[0129] After selecting target posters corresponding to a preset number of positions for display, behavior data generated by the user's interaction with the target display posters is obtained, and the behavior data is recorded as poster data corresponding to the target display posters.
[0130] Furthermore, when the first sorting module 320 is used to determine the sorting method corresponding to the target poster based on the number of requests and the random sequence corresponding to the display probability value included in the instruction information, the first sorting module 320 is used to:
[0131] Based on the display probability value included in the instruction information and a preset sequence length, determining a random sequence corresponding to the display probability value;
[0132] Dividing the number of requests by the random sequence to obtain a remainder result corresponding to the number of requests divided by the random sequence;
[0133] Based on the remainder result, a sequence value corresponding to the remainder result is selected in the random sequence, and based on the sequence value, a sorting method corresponding to the target poster is determined.
[0134] Furthermore, when the first sorting module 320 is used to determine the sorting method corresponding to the target poster based on the sequence value, the first sorting module 320 is used to:
[0135] When the sequence value is a first preset value, determining that the sorting method corresponding to the target poster is a balanced sorting method;
[0136] When the sequence value is a second preset value, it is determined that the sorting method corresponding to the target poster is a new sorting method.
[0137] Furthermore, the poster data includes a triggering amount, a preservation amount, and an exposure amount; when the calculation module 330 is used to calculate the display value corresponding to each target poster for determining the display position based on the poster data for each of the sorting methods, the calculation module 330 is used to:
[0138] When the sorting method is determined to be a balanced sorting method, based on the poster data, a preset confidence upper limit formula is used to calculate the confidence upper limit value included in the display value corresponding to each of the target posters;
[0139] When the sorting method is determined to be a trigger sorting method, based on the trigger quantity and the storage quantity, the new display value included in the display value corresponding to each of the target posters is calculated.
[0140] Furthermore, when the sorting method is determined to be a balanced sorting method, the calculation module 330 is used to calculate the confidence upper limit value included in the display value corresponding to each target poster based on the poster data using a preset confidence upper limit formula. The calculation module 330 is used to:
[0141] When the sorting method is determined to be a balanced sorting method, obtaining the total exposure corresponding to the target poster;
[0142] The triggering amount, the preservation amount, the exposure amount and the total exposure amount are respectively input into a preset confidence upper limit formula for calculation to obtain the confidence upper limit value included in the display value corresponding to each of the target posters.
[0143] Further, when the second sorting module 340 is used to select a target display poster from the target posters based on the display order and the number of preset positions in the target display area to display the target display poster in the target display area, the second sorting module 340 is used to:
[0144] Based on the number of preset positions in the target display area, starting from the first position in the display order, target posters corresponding to the preset number of positions are sequentially selected from the target posters corresponding to the display order, so as to determine the selected target posters as target display posters;
[0145] The target display poster is displayed in the target display area.
[0146] The poster sorting and display device provided in the embodiment of the present application determines the sorting method of the target posters according to the number of requests for the acquired target posters and the poster data. In each sorting method, the display value corresponding to each target poster for determining the display position is calculated, and the target display posters are selected in descending order of the display value. The target display posters are displayed in the target display area, and the dynamic adjustment of the sorting based on the poster data realizes the horse racing strategy of poster display, ensures that the best posters and new posters can get reasonable exposure, and improves the exposure accuracy and efficiency of the poster sorting display.
[0147] See also Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 5 As shown in , the electronic device 500 includes a processor 510 , a memory 520 and a bus 530 .
[0148] The memory 520 stores machine-readable instructions executable by the processor 510. When the electronic device 500 is running, the processor 510 communicates with the memory 520 via the bus 530. When the machine-readable instructions are executed by the processor 510, the above-mentioned Figure 1 as well as Figure 2 The steps of the method for sorting and displaying posters in the method embodiment shown are specifically implemented in accordance with the method embodiment, and will not be described in detail here.
[0149] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 as well as Figure 2 The steps of the method for sorting and displaying posters in the method embodiment shown are specifically implemented in accordance with the method embodiment, and will not be described in detail here.
[0150] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0151] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0152] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0153] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0154] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0155] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for sorting and displaying posters, characterized in that: The sorting display method comprises: In response to receiving instruction information requesting to display a plurality of target posters, obtaining the number of requests for currently requesting to display the target posters and the poster data corresponding to the target posters respectively; Determine a sorting method corresponding to the target posters based on the number of requests and the random sequence corresponding to the display probability value included in the instruction information; For each of the sorting methods, based on the poster data, calculating a display value corresponding to each of the target posters for determining a display position; The display values are numerically sorted in descending order to obtain a display order corresponding to the target poster, and based on the display order and the number of preset positions in the target display area, a target display poster is selected from the target posters to display the target display poster in the target display area.
2. The method according to claim 1, characterized in that The sorting display method further includes: After the target display poster is displayed in the target display area, behavior data generated by the user's interaction with the target display poster is obtained, and the behavior data is recorded as poster data corresponding to the target display poster.
3. The method according to claim 1, characterized in that The determining the sorting method corresponding to the target posters based on the random sequence corresponding to the number of requests and the display probability value included in the instruction information includes: Based on the display probability value included in the instruction information and a preset sequence length, determining a random sequence corresponding to the display probability value; Dividing the number of requests by the random sequence to obtain a remainder result corresponding to the number of requests divided by the random sequence; Based on the remainder result, a sequence value corresponding to the remainder result is selected in the random sequence, and based on the sequence value, a sorting method corresponding to the target poster is determined.
4. The method according to claim 3, characterized in that The determining, based on the sequence value, a sorting method corresponding to the target poster includes: When the sequence value is a first preset value, determining that the sorting method corresponding to the target poster is a balanced sorting method; When the sequence value is a second preset value, it is determined that the sorting method corresponding to the target poster is a new sorting method.
5. The method according to claim 1, characterized in that The poster data includes the number of new posts, the number of saved posts, and the number of exposures; for each of the sorting methods, based on the poster data, calculating the display value corresponding to each of the target posters for determining the display position, including: When the sorting method is determined to be a balanced sorting method, based on the poster data, a preset confidence upper limit formula is used to calculate the confidence upper limit value included in the display value corresponding to each of the target posters; When the sorting method is determined to be a trigger sorting method, based on the trigger quantity and the storage quantity, the new display value included in the display value corresponding to each of the target posters is calculated.
6. The method according to claim 5, characterized in that When the sorting method is determined to be a balanced sorting method, based on the poster data, a preset confidence upper limit formula is used to calculate the confidence upper limit value included in the display value corresponding to each target poster, including: When the sorting method is determined to be a balanced sorting method, obtaining the total exposure corresponding to the target poster; The triggering amount, the preservation amount, the exposure amount and the total exposure amount are respectively input into a preset confidence upper limit formula for calculation to obtain the confidence upper limit value included in the display value corresponding to each of the target posters.
7. The method according to claim 1, characterized in that The selecting a target display poster from the target posters based on the display order and the number of preset positions in the target display area to display the target display poster in the target display area includes: Based on the number of preset positions in the target display area, starting from the first position in the display order, target posters corresponding to the preset number of positions are sequentially selected from the target posters corresponding to the display order, so as to determine the selected target posters as target display posters; The target display poster is displayed in the target display area.
8. A poster sorting and display device, characterized in that: The sorting display device comprises: A data acquisition module, configured to, in response to receiving instruction information requesting to display a plurality of target posters, acquire the number of requests for currently requesting to display the target posters and the poster data corresponding to the target posters respectively; A first sorting module, configured to determine a sorting method corresponding to the target poster based on the number of requests and a random sequence corresponding to the display probability value included in the instruction information; A calculation module, for calculating, for each of the sorting modes, a display value corresponding to each of the target posters for determining a display position based on the poster data; The second sorting module is used to numerically sort the display values in descending order to obtain the display order corresponding to the target posters, and select a target display poster from the target posters based on the display order and the number of preset positions in the target display area to display the target display poster in the target display area.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the poster sorting and display method as described in any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for sorting and displaying posters as described in any one of claims 1 to 6 are executed.