Information display method and device, electronic equipment and readable storage medium
By generating candidate intervals and generating random numbers to determine the playback object, the problem of equal playback probability in the existing random playback mechanism is solved, and flexible control of the random playback and playback probability of candidate playback information is realized, which improves the universality of the random playback mechanism.
Patent Information
- Application Number
- CN202411928319.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-05-16
AI Technical Summary
In the existing shuffle mechanism, the play probability of each candidate member is equal, and the scenario where there is a difference in play probability cannot be met, and the universality is poor.
By obtaining the interval length corresponding to each candidate play information in the candidate playlist, a candidate interval corresponding to the candidate playlist is generated, a random number located in the candidate interval is generated, and a candidate play information corresponding to the number interval where the random number is located is determined as the play object.
The random playback of candidate playback information is realized. By adjusting the interval length of candidate playback information, the playback probability can be controlled, the needs of different scenarios are met, and the universality of the random playback mechanism is improved.
Smart Images

Figure CN120010721A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to an information display method, device, electronic device and readable storage medium. Background Art
[0002] At present, the random playback mechanism of playback devices mainly includes the global equality mechanism and the unplayed member equality mechanism. The global equality mechanism means that the playback probability of each member in the playlist is equal. That is, all members in the playlist are candidate members, and the playback device randomly selects a member from the candidate members for playback. The unplayed member equality mechanism means that the playback probability of unplayed members in the playlist is equal, and the playback probability of played members is 0. That is, the unplayed members in the playlist are candidate members. The playback device randomly selects a member from the candidate members for playback, and after all members in the playlist are played, resets all played members to unplayed members, and then randomly selects a member from the unplayed members for playback again.
[0003] However, both the global equality mechanism and the unplayed member equality mechanism have the problem of equal playing probability for each candidate member. Therefore, it cannot meet the scenario where there needs to be a difference in playing probability. The current random playing mechanism has poor universality and the selection method of playing objects is single. Summary of the invention
[0004] In view of this, the present application provides an information display method, device, electronic device and readable storage medium, which to a certain extent improve the universality of the random playback mechanism and enrich the selection method of playback objects under the random playback mechanism.
[0005] According to a first aspect of the present application, there is provided an information display method, comprising:
[0006] In response to satisfying the playback opportunity, obtaining the interval length corresponding to each candidate playback information in the candidate playback list;
[0007] Generating a candidate interval corresponding to the candidate play list according to the interval length, wherein the candidate interval is a continuous digital interval consisting of digital intervals corresponding to each of the candidate play information one by one, the interval length of each of the digital intervals is the interval length of the corresponding candidate play information, and when the number of the candidate play information is multiple, the digital intervals of any two of the candidate play information do not intersect;
[0008] Generate a random number within the candidate interval;
[0009] Determine the digital interval where the random number is located as the target digital interval;
[0010] Play the candidate playback information corresponding to the target digital interval.
[0011] According to a second aspect of the present application, there is provided an information display device, comprising:
[0012] An acquisition module, configured to acquire, in response to satisfying the playback opportunity, the interval length corresponding to each candidate playback information in the candidate playback list;
[0013] A generating module, configured to generate a candidate interval corresponding to the candidate play list according to the interval length, wherein the candidate interval is a continuous digital interval consisting of digital intervals corresponding to each of the candidate play information one by one, the interval length of each of the digital intervals is the interval length of the corresponding candidate play information, and when the number of the candidate play information is multiple, the digital intervals of any two of the candidate play information do not intersect;
[0014] The generating module is further used to generate a random number within the candidate interval;
[0015] A determination module, used for determining the digital interval where the random number is located as a target digital interval;
[0016] The playing module is used to play the candidate playing information corresponding to the target digital interval.
[0017] According to a third aspect of the present application, an electronic device is provided, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the information display method according to any one of the first aspects are implemented.
[0018] According to a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the information display method as described in any one of the first aspects are implemented.
[0019] Compared with the prior art, this application has the following advantages:
[0020] The information display method, device, electronic device and readable storage medium provided by the embodiment of the present application can generate the candidate interval corresponding to the candidate play list according to the interval length of the digital interval by obtaining the digital interval corresponding to each candidate play information in the candidate play list in response to the play timing being met. Then, by generating a random number located in the candidate interval, the candidate play information corresponding to the digital interval where the random number is located is used as the play object and played, so as to realize the random play of the candidate play information. In this technical scheme, since the candidate interval is a continuous digital interval consisting of digital intervals corresponding to each candidate play information one by one, and when the number of candidate play information is multiple, the digital intervals of any two candidate play information do not intersect. Therefore, the interval length of the candidate play information will directly determine the proportion of the digital interval corresponding to the candidate play information in the candidate interval, and then directly determine the play probability of the candidate play information. Therefore, in the random play mode provided by the technical scheme, the play probability of the candidate play information can be controlled by adjusting the interval length of the word number interval of the candidate play information. In this way, the random play mode provided by the technical scheme can be configured to have the same interval length of the digital interval corresponding to each candidate play information to meet the scenario requiring the play probability of the candidate play information to be equal. In addition, the length of the digital interval corresponding to each candidate playback information can be configured to be different to meet the scenario where the playback probability of the candidate playback information is different. Compared with the related technology, the selection method of the playback object is single, the applicable scenarios of the random playback mechanism are enriched, and the universality of the random playback mechanism is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is one of the principle diagrams of the information display method provided in the embodiment of the present application;
[0022] Figure 2 This is one of the flow charts of the information display method provided in the embodiment of the present application;
[0023] Figure 3 This is the second principle diagram of the information display method provided in the embodiment of the present application;
[0024] Figure 4 This is the third principle diagram of the information display method provided in the embodiment of the present application;
[0025] Figure 5 This is the fourth principle diagram of the information display method provided in the embodiment of the present application;
[0026] Figure 6 This is the fifth principle diagram of the information display method provided in the embodiment of the present application;
[0027] Figure 7 This is the second flowchart of the information display method provided in the embodiment of the present application;
[0028] Figure 8 It is one of the block diagrams of the information display device provided in the embodiment of the present application;
[0029] Fig. 9 This is one of the block diagrams of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are 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 creative work are within the scope of protection of the present invention.
[0031] In order to facilitate understanding of the technical solution of the present application, the principle of the information display method provided by the present application is first explained below.
[0032] The candidate play list of the candidate play information is compared to a "target" with a variable area, and the size of the "target" is proportional to the number of candidate play information (i.e., candidate members) in the candidate play list. That is, if each candidate member in the candidate play list corresponds to a "target block", then the "target blocks" corresponding to all candidate members constitute the "target" corresponding to the candidate play list.
[0033] Assume that the "arrow" shot by the user at the "target" will not miss the target. If the area of the "target block" corresponding to each candidate member is equal, then the probability of the "arrow" hitting each "target block" on the "target" is equal. If the area of the "target" corresponding to each candidate member is not equal, then the probability of the "arrow" hitting each "target block" on the "target" is not equal, achieving differentiated hitting probability.
[0034] Based on the above logic, a digital interval with the same starting value (i.e., the area of the "target") can be assigned to each candidate member in the candidate playlist, and then the digital intervals corresponding to all candidate members can be combined into a continuous total digital interval (i.e., the candidate interval, also known as the "target"). By generating a random number within the total digital interval (i.e., shooting an "arrow"), the candidate member corresponding to the interval where the random number is located is determined as the hit member, and the hit member is played.
[0035] For example, Figure 1 As shown, it is assumed that the candidate playlist includes candidate member A, candidate member B and candidate member C. A first digital interval (0, n] is allocated to candidate member A, a second digital interval (0, m] is allocated to candidate member B, and a third digital interval (0, j] is allocated to candidate member C. That is, the interval length n corresponding to candidate member A, the interval length m corresponding to candidate member B, and the interval length j corresponding to candidate member C are configured.
[0036] The first digital interval, the second digital interval and the third digital interval are combined into a continuous total digital interval (0, n+m+j] to obtain a candidate interval. A random number Arrow is generated within the total digital interval. If the random number Arrow is located at (0, n], the hit member is candidate member A. If the random number Arrow is located at (n, m], the hit member is candidate member B. If the random number Arrow is located at (m, j], the hit member is candidate member C.
[0037] Furthermore, even if the playback probability of any candidate member needs to be changed, after changing the interval length of the digital interval corresponding to the candidate member, the digital intervals corresponding to all candidate members can be reorganized into a continuous total digital interval, and then the hit member can be determined by generating a random number within the total digital interval. In this process, the change of the hit probability (i.e., the playback probability) of any candidate member does not affect the continuity of the total digital interval corresponding to the candidate play list, ensuring the balanced and flexible change of the hit probability of the candidate member.
[0038] The embodiment of the present application provides an information display method. The information display method can be applied to an electronic device. Optionally, the electronic device can be a terminal such as a computer, a tablet, a mobile phone, a wearable device, etc.
[0039] Moreover, the information display method provided in the embodiment of the present application can be applied to a variety of scenarios, and the following four scenarios are used as examples for illustration. In the first optional case, the information display method is applied to a music playback scenario, and the candidate playback information is the candidate playback music in the candidate playback list. In the second optional case, the information display method is applied to a video playback scenario, and the candidate playback information is the candidate playback video in the candidate playback list. In the third optional case, the information display method is applied to a housing information display scenario, and the candidate playback information is the candidate playback housing information in the candidate playback list, such as a housing video or a housing advertisement. In the fourth optional case, the information display method is applied to an advertisement display scenario, and the candidate playback information is a candidate playback advertisement in the candidate playback list. In the fifth optional case, the information display method is applied to a question display scenario. For example, it is applied to a question answering machine. The candidate playback information is a candidate playback topic in the candidate playback list.
[0040] Please refer to Figure 2 , which shows a flow chart of an information display method provided by an embodiment of the present application. Figure 2 As shown, the information display method includes:
[0041] Step 201: In response to satisfying the playback opportunity, obtain the interval length corresponding to each candidate playback information in the candidate playback list.
[0042] In the embodiment of the present application, the playback timing refers to the start playback timing of the candidate playback information. The candidate playback information can be played automatically. Correspondingly, optionally, the playback timing may include a user's manual start playback operation on the candidate playback list, the automatic start playback of the current candidate playback information, the automatic end playback of the previous candidate playback information, or the user's manual end playback operation on the previous candidate playback information.
[0043] For example, for audio and video playback scenarios, users can manually trigger audio and video playback controls to play candidate playlists. Therefore, the playback timing may include the user's triggering operation on the audio and video playback controls of the candidate playlist, and the audio and video may be automatically played. Therefore, the playback timing of the current candidate playback information may also include the automatic start of playback of the current candidate playback information after the user manually triggers the audio and video playback controls, the end of playback of the previously played candidate playback information, or the user's manual end of playback of the previously played candidate playback information. Among them, the playback timing of the current candidate playback information in the advertising display scenario is similar to that in the audio and video playback scenario, and will not be repeated.
[0044] For the housing information display scenario, the housing information in the housing display page can be at least one of a housing video, a housing advertisement, etc. For the housing videos and / or housing advertisements in the candidate play list, the housing display page can also be configured to be automatically displayed, and the playback timing can include the trigger start display operation of the housing display page, or the automatic start of the current candidate playback information, the end of the playback of the previously played candidate playback housing information, or the user's manual end of the playback operation of the previous candidate playback information, etc. For example, suppose that a plurality of housing videos (i.e., candidate playback housing information) are randomly played in the housing display page. When a trigger start display operation for the housing display page is received, it can be determined that the playback timing is met. Alternatively, when a certain housing information in the housing display page is played, it can be determined that the playback timing is met.
[0045] In the embodiment of the present application, the number of candidate playback information in the candidate playback list may be one or more. In response to satisfying the playback opportunity, the electronic device may obtain the interval length corresponding to each candidate playback information in the candidate playback list. The interval length corresponding to each candidate playback information may be equal or unequal.
[0046] Among them, the interval length corresponding to the candidate playback information can be flexibly configured. For example, the interval length of the candidate playback information can be manually set according to the playback probability required by the candidate playback information. Alternatively, the interval length of the candidate playback information can also be determined according to the target rule. For example, in a scenario where the playback probability of the candidate playback information is equal, the interval length of the digital interval corresponding to each candidate playback information can be configured to be equal. In a scenario where the playback probability of the candidate playback information is different, the interval length of each candidate playback information can be configured to be different.
[0047] In some embodiments of the present application, the interval length corresponding to the candidate playback information can be determined according to the target rule, which may include: the interval length corresponding to the candidate playback information can be determined by adjusting the basic interval length according to the information attribute of the candidate playback information. The specific implementation method is as follows:
[0048] In response to the first time that the play opportunity is met, the electronic device can adjust the basic interval length according to the information attribute of each candidate play information in the candidate play list to obtain the interval length corresponding to each candidate play information.
[0049] The first time to meet the playback timing refers to the first time to trigger the playback of the candidate playback information in the candidate playback list. The basic interval length is adjusted in the following manner: when the content of the information attribute of the candidate playback information meets the high-quality information condition, the basic interval length is increased; when the content of the information attribute of the candidate playback information meets the low-quality information condition, the basic interval length is reduced.
[0050] Optionally, the value of the basic interval length can be customized, for example, the basic interval length can be 2, 3, or 4.
[0051] The information attributes of the candidate playback information can reflect the playback priority of the candidate playback information. The playback priority of the candidate playback information can be related to data such as the popularity and importance of the information. Of course, the playback priority of the candidate playback information can also be set according to actual needs. Accordingly, when the content of the information attribute meets the high-quality information condition, the playback priority of the candidate playback information is higher. Therefore, the basic interval is increased to increase the playback probability of the candidate playback information. When the content of the information attribute meets the low-quality information condition, the playback priority of the candidate playback information is lower. Therefore, the basic interval is reduced to relatively reduce the playback probability of the candidate playback information.
[0052] In an optional implementation, the electronic device may increase the basic interval length by a first reference length when the content of the information attribute meets the high-quality information condition.
[0053] Alternatively, there may be multiple high-quality information conditions. If the content of the information attribute satisfies the high-quality information condition, the electronic device may increase the basic interval length by a target multiple of the first reference length, where the target multiple is the number of high-quality information conditions satisfied by the content of the information attribute.
[0054] Similarly, the electronic device may reduce the basic interval length in a manner that includes: the electronic device may reduce the basic interval length by a second reference length when the content of the information attribute meets the low-quality information condition.
[0055] Alternatively, there may be multiple low-quality information conditions. If the content of the information attribute satisfies the low-quality information condition, the electronic device may reduce the basic interval length by a target multiple of the second reference length, where the target multiple is the number of low-quality information conditions satisfied by the content of the information attribute.
[0056] For example, it is assumed that the number of high-quality information conditions is 3 and the number of low-quality information conditions is 2. If the information attribute of the candidate playback information satisfies 2 high-quality information conditions and satisfies 1 low-quality information condition, the interval length of the candidate playback information is the basic interval length + (first reference length × 2) - (second reference length × 1).
[0057] For example, in the housing information display scenario, the candidate playback information is the candidate playback housing information, that is, the candidate playback information is the housing information. The playback priority of the housing information is not only related to the popularity and importance of the information, but also to the authenticity of the housing information, specific circumstances and other data.
[0058] Based on this, the information attributes of the housing information may include but are not limited to at least one of the following information: whether the housing information is paid housing information, the housing verification type of the housing information, the evaluation type of the housing information, the number of times the housing information is published, the exposure rate of the housing information, the click-through rate of the housing information, the conversion rate of the housing information, the credit score of the publisher of the housing information, the housing transaction type of the housing information, and the deviation of the housing transaction price of the housing information.
[0059] For example, the information attributes of the property information may include: whether the property information is paid property information, property verification type, evaluation type, number of publications, exposure rate, click-through rate, conversion rate, the credit score of the publisher of the property information, property transaction type of the property information, and the deviation of the property transaction price of the property information.
[0060] Among them, whether the house information is paid house information can reflect the importance of the house information. The importance of paid house information is higher than that of free house information.
[0061] The property verification type of the property information indicates whether the property information has been verified for authenticity. The property verification type can reflect the authenticity of the property information.
[0062] The review type of a listing indicates the quality of the listing. The review type can reflect the popularity of the listing.
[0063] The number of times a property is published can reflect its importance. The importance of a property that is published for the first time is relatively higher than that of a property that is not published for the first time.
[0064] The exposure rate of property information refers to the ratio of the number of times the property information is displayed on the property information display page to the number of times the property information is displayed on the property information display page.
[0065] The click-through rate of a property information refers to the ratio of the number of clicks on the property information to the number of times the property information is displayed. The number of clicks refers to the number of times a user triggers an action on the property information displayed on the property information display page. The trigger action can be used to display the property information details, property information comments, etc.
[0066] The conversion rate of the property information may be a contact conversion rate. The contact conversion rate refers to the number of clicks on the property information and the number of triggering of the property contact control of the property information. The property contact control is used to trigger the communication page of the real estate agent for the property information. The exposure rate, click rate, and conversion rate of the property information may reflect its popularity.
[0067] The credit score of the publisher of the house information indicates the authenticity of the information published by the publisher of the house information. The credit score can reflect the authenticity of the house information.
[0068] The property transaction type of the property information indicates whether the property is for rent only, for sale only, or for both rent and sale.
[0069] The deviation of the transaction price of a property information indicates the degree of deviation of the property price from the average price of properties of the same quality. The deviation of the transaction price of a property information can reflect the popularity of the property information. If the deviation indicates that the property price is higher than the average price, or lower than the average price, the popularity of the property information is higher.
[0070] In the housing information display scenario, the content of the information attributes that meet the high-quality information conditions may include but are not limited to at least one of the following: the housing information is paid housing information, the housing verification type of the housing information is verified housing (housing that has passed authenticity verification), the evaluation type of the housing information is a well-rated housing, the number of times the housing information is published is the first time, the exposure rate of the housing information is greater than the click-through rate, and the click-through rate is greater than the conversion rate.
[0071] The content of information attributes that meet the low-quality information condition may include but is not limited to at least one of the following: the credit score of the publisher of the housing information is lower than the score threshold, the housing transaction type of the housing information is both rent and sell, the deviation of the published price of the housing information is greater than the deviation threshold, the evaluation type of the housing information is to evaluate low-quality housing, the exposure rate of the housing information is less than or equal to the click-through rate, or the click-through rate is less than or equal to the conversion rate.
[0072] In another example, in a music playing scenario, the candidate playing information is the candidate playing music, that is, the candidate playing information is music. The information attributes of the music may include but are not limited to at least one of the following information: the playing authority of the music, the evaluation type of the music, the number of times the music is published, the exposure rate of the music, and the click rate of the music. For example, the information attributes of the music include: the playing authority of the music, the evaluation type, the number of times the music is published, the exposure rate, and the click rate of the music.
[0073] Among them, the playback permission of music indicates whether the music is a paid music source. The playback permission can reflect the importance of the music. The evaluation type of music indicates the quality of the music. The evaluation type can reflect the popularity of the music. The number of times the music is released can reflect its importance. The importance of music released for the first time is relatively higher than that of music released for a non-first time. The exposure rate of music refers to the ratio of the number of times the information of the music is displayed on the music display page to the number of times the page of the music display page is displayed. The click-through rate of music refers to the ratio of the number of clicks on the music to the number of times the information of the music is displayed. The number of clicks refers to the number of times the user triggers the music displayed on the music display page. The trigger operation can be used to display the individual playback information of the music, the comment information of the music, etc. The exposure rate and click-through rate of music can reflect its popularity.
[0074] In the music playback scenario, the content of information attributes that meets the high-quality information conditions may include but is not limited to at least one of the following: the music is a paid playback source, the evaluation type of the music is well-rated music, the number of times the music is released is the first time, and the exposure rate of the music is greater than the click-through rate.
[0075] The content of the information attribute that satisfies the low-quality information condition may include but is not limited to at least one of the following: the evaluation type of the music is evaluation of low-quality music, and the exposure rate of the music is less than or equal to the click rate.
[0076] Step 202: Generate a candidate interval corresponding to the candidate play list according to the interval length corresponding to each candidate play information. The candidate interval is a continuous digital interval consisting of digital intervals corresponding to each candidate play information. The interval length of each digital interval is the interval length of the corresponding candidate play information, and when the number of candidate play information is multiple, the digital intervals of any two candidate play information do not intersect.
[0077] Optionally, when there are multiple candidate playback information in the candidate playback list, the electronic device can calculate the sum of the interval lengths corresponding to the multiple candidate playback information to obtain the total length. Generate a digital interval with an interval length equal to the total length to obtain the candidate interval corresponding to the candidate playback list. The candidate interval is divided according to the target order and the interval length corresponding to each candidate playback information to determine the digital interval corresponding to each candidate playback information in the candidate interval.
[0078] The target order is the arrangement order of the multiple candidate playback information in the candidate playback list. Optionally, the target order can be a random order of the multiple candidate playback information. Alternatively, the target order can be a set order of the candidate playback information. It is not difficult to understand that the target order of the multiple candidate playback information does not affect the playback probability of the candidate playback information.
[0079] For example, assume that the candidate playback information includes the first information, the second information and the third information. And assume that the target order is the first information, the second information and the third information. The interval length of the first information is n, the interval length of the second information is m, and the interval length of the third information is j. The electronic device generates a candidate interval (k, n+m+j+k] with an interval length of n+m+j. The candidate intervals are divided according to the target order and the interval length of each candidate playback information, and the digital interval corresponding to the first information is determined to be (k, n+k], the digital interval corresponding to the second information is (k+n, n+m+k], and the digital interval corresponding to the third information is (n+m+k, n+m+j+k]. The electronic device can store the correspondence between each candidate playback information and the digital interval for subsequent use. Among them, n, m, j are all positive integers, and k can be 0 or a positive integer.
[0080] For example, the interval length of the first information is 2, the interval length of the second information is 3, and the interval length of the third information is 4. The electronic device generates a candidate interval (0, 9] with an interval length of 9, and determines that the digital interval corresponding to the first information is (0, 2], the digital interval corresponding to the second information is (2, 5], and the digital interval corresponding to the third information is (5, 9] according to the target order.
[0081] Step 203: Generate a random number within the candidate interval.
[0082] Optionally, the electronic device may generate a random number within the candidate interval according to a target random number algorithm. For example, the target random number algorithm may be a linear congruential algorithm, a Mersenne twister algorithm, or a McCarthy shadow algorithm.
[0083] Step 204: determine the digital interval where the random number is located as the target digital interval.
[0084] For example, the digital interval corresponding to the first information is (0, 2], the digital interval corresponding to the second information is (2, 5], and the digital interval corresponding to the third information is (5, 9] for further description.
[0085] If the random number is 1, the electronic device determines the digital interval (0, 2] as the target digital interval; if the random number is 4, the electronic device determines the digital interval (2, 5] as the target digital interval; if the random number is 9, the electronic device determines the digital interval (5, 9] as the target digital interval.
[0086] Step 205: Play candidate playback information corresponding to the target digital interval.
[0087] Optionally, the electronic device can determine the target candidate playback information corresponding to the target digital interval according to the correspondence between the digital interval and the candidate playback information, and play the target candidate playback information. For example, if the target digital interval is (0, 2], the electronic device plays the first information; if the target digital interval is (2, 5], the electronic device plays the second information; if the target digital interval is (5, 9], the electronic device plays the third information.
[0088] In some embodiments of the present application, the information display method may adopt a single list format. Both the played candidate playback information and the unplayed candidate playback information are candidate members. That is, the candidate playback list includes the played candidate playback information and the unplayed candidate playback information.
[0089] In another optional implementation, the information display method may adopt a dual-list method, including a candidate play list and a temporarily unplayed list. The candidate play list, also known as a recently unplayed list, includes candidate play information that has not been played. The temporarily unplayed list, also known as a recently played list, includes candidate play information that has been played.
[0090] Optionally, the electronic device may store the interval length of each candidate playback information in the candidate playback list. The electronic device obtains the interval length of the unplayed candidate playback information in the candidate playback list. When there are multiple unplayed candidate playback information, the electronic device obtains the interval length of each unplayed candidate playback information.
[0091] Accordingly, the information display method may further include: when the number of played candidate playback information and the number of unplayed candidate playback information meet the conversion condition, the electronic device re-adds at least part of the played candidate playback information to the candidate playback list. It is not difficult to understand that when the electronic device generates the candidate interval corresponding to the candidate playback list according to the interval length in step 202, it generates the candidate interval according to the interval length of each candidate playback information in the candidate playback list that is most recently determined.
[0092] Optionally, after performing step 205 to play the candidate playback information, the electronic device can delete the played candidate playback information from the candidate playback list and add the played candidate playback information to the temporarily unplayed list. Afterwards, it is determined whether the number of played candidate playback information in the temporarily unplayed list and the number of unplayed candidate playback information in the candidate playback list meet the conversion condition. If the conversion condition is met, at least part of the candidate playback information in the temporarily unplayed list is deleted and re-added to the candidate playback list, so that at least part of the played candidate playback information is re-added to the candidate playback list.
[0093] Further optionally, in an optional implementation, the number of played candidate playback information and the number of unplayed candidate playback information satisfying the conversion condition may be: the ratio of the number of played candidate playback information to the number of unplayed candidate playback information is less than a ratio threshold (Proportion). For example, the ratio threshold may be 2 / 3 or 1 / 2, etc. The ratio threshold may be customized as required.
[0094] In another optional implementation, the number of played candidate playback information and the number of unplayed candidate playback information satisfying the conversion condition may be: the number of played candidate playback information is greater than the number of unplayed candidate playback information. It should be noted that the conversion condition may also be other conditions, which are not limited in the embodiments of the present application.
[0095] For example, it is assumed that the playlist includes candidate play information A, candidate play information B, candidate play information C, and candidate play information D. Furthermore, the interval length of candidate play information A is n, the interval length of candidate play information B is m, the interval length of candidate play information C is j, and the interval length of candidate play information D is h.
[0096] like Figure 3 As shown, in the initial period, each candidate playback information in the play list has not been played, that is, candidate playback information A, candidate playback information B, candidate playback information C and candidate playback information D are all candidate playback information that have not been played. At this time, the candidate playback list includes candidate playback information A, candidate playback information B, candidate playback information C and candidate playback information D. The not-to-be-played list is empty.
[0097] When the electronic device first responds to satisfying the playback timing, the generated candidate interval is (0, n+m+j+h], the digital interval corresponding to the candidate playback information A is (0, n], the digital interval corresponding to the candidate playback information B is (n, n+m], the digital interval corresponding to the candidate playback information C is (n+m, n+m+j], and the digital interval corresponding to the candidate playback information D is (n+m+j, n+m+j+h]. After the electronic device generates a random number x, n<x≤m, the electronic device plays the candidate playback information B.
[0098] like Figure 4 As shown, candidate playback information B is deleted from the candidate playback list, and the played candidate playback information B is added to the temporarily unplayed list. Afterwards, when the electronic device responds to the playback timing being met again, the generated candidate interval is (0, n+j+h], the digital interval corresponding to candidate playback information A is (0, n], the digital interval corresponding to candidate playback information C is (n, n+j], and the digital interval corresponding to candidate playback information D is (n+j, n+j+h].
[0099] For further example, the number of played candidate playback information and the number of unplayed candidate playback information satisfy the conversion condition that the ratio of the number of played candidate playback information to the number of unplayed candidate playback information is less than 2 / 3. After the electronic device plays candidate playback information B, candidate playback information C, and candidate playback information D in sequence, Figure 5 As shown, the candidate play list includes candidate play information A, and the temporarily unplayed list includes candidate play information B, candidate play information C, and candidate play information D. In this case, the candidate interval generated by the electronic device is (0, n].
[0100] The electronic device determines that the number of candidate playback information in the candidate playback list and the number of candidate playback information in the temporarily unplayed list account for 1 / 3 less than 2 / 3, and the conversion condition is met. The electronic device deletes candidate playback information B from the temporarily unplayed list and re-adds candidate playback information B to the candidate playback list. Figure 6 As shown, the candidate play list includes candidate play information A and candidate play information B, and the temporarily unplayed list includes candidate play information C and candidate play information D. In this case, the candidate interval generated by the electronic device is (0, n+m], the digital interval corresponding to the candidate play information A is (0, n], and the digital interval corresponding to the candidate play information B is (n, n+m].
[0101] In this implementation, when the number of played candidate playback information and the number of unplayed candidate playback information meet the conversion condition, the electronic device re-adds at least part of the played candidate playback information to the candidate playback list.
[0102] In an optional implementation manner, the process in which the electronic device determines at least part of the played candidate playback information as unplayed candidate playback information may include steps 11 and 12.
[0103] In step 11, the played candidate playback information is sorted according to the playback time.
[0104] Optionally, the electronic device may sort the played candidate playback information in order of the playback time of the played candidate playback information from earliest to latest.
[0105] In step 12, the first p played candidate playback information is added to the candidate playback list again, where p is a positive integer.
[0106] Optionally, p can be a set fixed value. For example, p is 2 or 3. Alternatively, p can be proportional to the total number of candidate playback information that has been played. For example, p is o is the total number of candidate playback information that has been played. In another example, p is o is the total number of candidate playback information that has been played. Indicates floor operation. e is a positive integer.
[0107] For example, the candidate playback information in the not-playing list can be arranged in order from early to late according to the playback time. The electronic device can delete the first p played candidate playback information from the not-playing list and add the first p played candidate playback information to the candidate playback list again.
[0108] In another optional implementation, the process in which the electronic device re-adds at least part of the candidate playback information that has been played to the candidate playback list may include steps 21 and 22.
[0109] In step 21, the played candidate playback information is sorted according to the interval length.
[0110] Optionally, the electronic device sorts the played candidate playback information in order of interval length from long to short.
[0111] In step 22, the first q played candidate playback information is added to the candidate playback list again, where q is a positive integer.
[0112] Optionally, q can be a fixed value. For example, q is 2 or 3. Alternatively, q can be proportional to the total number of candidate playback information that has been played. For example, q is As another example, q is
[0113] For example, the candidate playback information in the not-playing list can be arranged in descending order according to the interval length. The electronic device can delete the first q played candidate playback information from the not-playing list, and re-add the first q played candidate playback information to the candidate playback list. In this way, the electronic device can preferentially re-determine the candidate playback information with a higher probability of being played and more preferred by the user as the unplayed candidate playback information, thereby making it more frequently selected for playback.
[0114] It should be noted that the ratio threshold and the values of q, p, and e% can largely determine the frequency of the action of "moving candidate playback information from the temporarily unplayed list to the candidate playback list". The lower the frequency, the lower the flexibility of the playback service. The higher the frequency, the higher the processing overhead of the electronic device. Therefore, the ratio threshold and the values of q, p, and e% can be comprehensively determined based on the playback service characteristics and the operating performance indicators of the electronic device.
[0115] In summary, the information display method provided by the embodiment of the present application can generate the candidate interval corresponding to the candidate play list according to the interval length of the digital interval by obtaining the digital interval corresponding to each candidate play information in the candidate play list in response to the play timing. Then, by generating a random number located in the candidate interval, the candidate play information corresponding to the digital interval where the random number is located is used as the play object and played, so as to realize the random play of the candidate play information. In this technical scheme, since the candidate interval is a continuous digital interval composed of digital intervals corresponding to each candidate play information one by one, and when the number of candidate play information is multiple, the digital intervals of any two candidate play information do not intersect. Therefore, the interval length of the candidate play information will directly determine the proportion of the digital interval corresponding to the candidate play information in the candidate interval, and then directly determine the play probability of the candidate play information. Therefore, under the random play mode provided by the technical scheme, the play probability of the candidate play information can be controlled by adjusting the interval length of the word number interval of the candidate play information. In this way, the random play mode provided by the technical scheme can be configured to have the same interval length of the digital interval corresponding to each candidate play information to meet the scenario requiring the play probability of the candidate play information to be equal. In addition, the length of the digital interval corresponding to each candidate playback information can be configured to be different to meet the scenario where the playback probability of the candidate playback information is different. Compared with the related technology, the selection method of the playback object is single, the applicable scenarios of the random playback mechanism are enriched, and the universality of the random playback mechanism is improved.
[0116] Please refer to Figure 7 , which shows a flow chart of another information display method provided by an embodiment of the present application. Figure 7 As shown, the information display method includes:
[0117] Step 701: In response to satisfying the playback opportunity, obtain the interval length corresponding to each candidate playback information in the candidate playback list.
[0118] The explanation and implementation of this step can refer to the explanation and implementation of the aforementioned step 201, and will not be elaborated in detail in the embodiment of the present application.
[0119] Step 702: Generate a candidate interval corresponding to the candidate play list according to the interval length corresponding to each candidate play information. The candidate interval is a continuous digital interval consisting of digital intervals corresponding to each candidate play information. The interval length of the digital interval is the interval length of the corresponding candidate play information, and when the number of candidate play information is multiple, the digital intervals of any two candidate play information do not intersect.
[0120] The explanation and implementation of this step can refer to the explanation and implementation of the aforementioned step 202, and will not be elaborated in detail in the embodiment of the present application.
[0121] Step 703: Generate a random number within the candidate interval.
[0122] The explanation and implementation of this step can refer to the explanation and implementation of the aforementioned step 203, and will not be elaborated in detail in the embodiment of the present application.
[0123] Step 704: determine the digital interval where the random number is located as the target digital interval.
[0124] The explanation and implementation of this step can refer to the explanation and implementation of the aforementioned step 204, and will not be elaborated in detail in the embodiment of the present application.
[0125] Step 705: Play candidate playback information corresponding to the target digital interval.
[0126] The explanation and implementation of this step can refer to the explanation and implementation of the aforementioned step 205, and will not be elaborated in detail in the embodiment of the present application.
[0127] In some embodiments of the present application, the electronic device may further update the interval length of the candidate playback information according to the user's behavior information during the playback of the candidate playback information, thereby updating the playback probability of the candidate playback information. Since the user's behavior information during the playback of the candidate playback information can reflect the user's interest in the candidate playback information, or the degree of preference. Therefore, the playback probability of the candidate playback information increases or decreases with the degree of interest reflected by the user's behavior during the playback of the candidate playback information, so as to take the user's preference for the candidate playback information into account in the random playback mode, and the playback probability of the candidate playback information that the user likes more during the random playback process can be increased, so that the user can hear the more preferred content as soon as possible during the random playback process, thereby improving the user experience.
[0128] Based on this, after playing the candidate playback information corresponding to the target digital interval in step 705, the information display method further includes:
[0129] Step 706: Receive user operation information for target information during the playback process. The target information is candidate playback information corresponding to the target digital interval.
[0130] In an embodiment of the present application, during the playback process of the candidate playback information corresponding to the target digital interval, user operation information on the candidate playback information is received. The user operation information may include positive operation information and negative operation information. The positive operation information indicates a positive operation behavior. The positive operation behavior reflects that the user is interested in the candidate playback information, for example, the corresponding value of the interest level is greater than or equal to the preset value. The negative operation behavior reflects that the user is relatively indifferent to the candidate playback information, for example, the corresponding value of the interest level is less than the preset value.
[0131] Optionally, the positive operation behavior includes at least one of the following: a playback behavior that makes the playback completion degree of the target information greater than the completion threshold, a positive interactive behavior for the target information. For example, the playback behavior that makes the playback completion degree of the target information greater than the completion threshold can be: the behavior after the target information is fully played, or the switching playback behavior when the playback completion degree is greater than the completion threshold. Positive interactive behaviors for the target information can be: sharing behaviors of the target information, collecting behaviors of the target information, triggering behaviors of the like controls of the target information, positive comment behaviors on the target information, and other behaviors that reflect the user's interest in the candidate playback information. Positive comment behaviors refer to comment behaviors that express likes. For the question playback scenario, positive interactive behaviors can also be behaviors of adding wrong questions to the review list when the answers are wrong.
[0132] Negative operation behaviors include at least one of the following: playback behaviors that make the playback completion degree of the target information less than or equal to the completion threshold, and negative interactive behaviors for the target information. For example, the playback behaviors that make the playback completion degree of the target information less than or equal to the completion threshold can be: switching playback behaviors when the playback completion degree is less than or equal to the completion threshold. Negative interactive behaviors for the target information can be: triggering behaviors of dislike controls for the target information, negative comment behaviors on the target information, etc. Negative comment behaviors refer to comment behaviors that express dislike.
[0133] Step 707: when the user operation information indicates a positive operation behavior, increase the interval length of the target information to obtain the updated interval length of the target information, so as to obtain the updated interval length of the target information when obtaining the interval length of the target information again.
[0134] In the embodiment of the present application, when the user operation information indicates a positive operation behavior, it indicates that the user is more interested in the target information. The electronic device can increase the interval length of the target information to obtain the updated interval length of the target information. Optionally, the electronic device can increase the interval length of the target information by a third reference length.
[0135] Step 708: When the user operation information indicates a negative operation behavior, reduce the interval length of the target information to obtain the updated interval length of the target information, so as to obtain the updated interval length of the target information when obtaining the interval length of the target information again.
[0136] In an embodiment of the present application, when the user operation information indicates a negative operation behavior, it indicates that the user is relatively insensitive to the target information. The electronic device may reduce the interval length of the target information to obtain the interval length of the updated target information. Optionally, the electronic device may increase the interval length of the target information by a fourth reference length. It should be noted that the first reference length, the second reference length, the third reference length, and the fourth reference length may be at least partially equal or completely unequal.
[0137] In this way, since the user behavior information during the playback of the candidate playback information can reflect the user's interest in the candidate playback information, or the degree of preference. Therefore, the playback probability of the candidate playback information increases or decreases with the interest reflected by the user behavior during the playback of the candidate playback information, so that the user's preference for the candidate playback information is taken into account in the random playback mode, the playback probability of the candidate playback information that the user likes more during the random playback process can be increased, thereby allowing the user to hear the more preferred content as soon as possible during the random playback process, thereby improving the user experience.
[0138] In summary, the information display method provided by the embodiment of the present application can generate the candidate interval corresponding to the candidate play list according to the interval length of the digital interval by obtaining the digital interval corresponding to each candidate play information in the candidate play list in response to the play timing. Then, by generating a random number located in the candidate interval, the candidate play information corresponding to the digital interval where the random number is located is used as the play object and played, so as to realize the random play of the candidate play information. In this technical scheme, since the candidate interval is a continuous digital interval composed of digital intervals corresponding to each candidate play information one by one, and when the number of candidate play information is multiple, the digital intervals of any two candidate play information do not intersect. Therefore, the interval length of the candidate play information will directly determine the proportion of the digital interval corresponding to the candidate play information in the candidate interval, and then directly determine the play probability of the candidate play information. Therefore, under the random play mode provided by the technical scheme, the play probability of the candidate play information can be controlled by adjusting the interval length of the word number interval of the candidate play information. In this way, the random play mode provided by the technical scheme can be configured to have the same interval length of the digital interval corresponding to each candidate play information to meet the scenario requiring the play probability of the candidate play information to be equal. In addition, the length of the digital interval corresponding to each candidate playback information can be configured to be different to meet the scenario where the playback probability of the candidate playback information is different. Compared with the related technology, the selection method of the playback object is single, the applicable scenarios of the random playback mechanism are enriched, and the universality of the random playback mechanism is improved.
[0139] Please refer to Figure 8 , which shows a block diagram of an information display device provided in an embodiment of the present application. Figure 8 As shown, the information display device 800 includes: an acquisition module 801, a generation module 802, a determination module 803 and a playback module 804.
[0140] An acquisition module 801 is used to acquire the interval length corresponding to each candidate playback information in the candidate playback list in response to satisfying the playback opportunity;
[0141] A generating module 802 is used to generate a candidate interval corresponding to the candidate play list according to the interval length, wherein the candidate interval is a continuous digital interval consisting of digital intervals corresponding to each candidate play information one by one, and the interval length of each digital interval is the interval length of the corresponding candidate play information, and when the number of candidate play information is multiple, the digital intervals of any two candidate play information do not intersect;
[0142] The generating module 802 is further used to generate a random number within the candidate interval;
[0143] A determination module 803, configured to determine the digital interval where the random number is located as a target digital interval;
[0144] The playing module 804 is used to play the candidate playing information corresponding to the target digital interval.
[0145] Optionally, the information display device 800 further includes:
[0146] A receiving module, used for receiving user operation information for target information during playback, where the target information is candidate playback information corresponding to the target digital interval;
[0147] An updating module, configured to increase the interval length of the target information to obtain the updated interval length of the target information when the user operation information indicates a positive operation behavior, so as to obtain the updated interval length of the target information when the interval length of the target information is obtained again;
[0148] The updating module is also used to reduce the interval length of the target information when the user operation information indicates a negative operation behavior, and obtain the interval length of the updated target information, so as to obtain the updated interval length of the target information when obtaining the interval length of the target information again.
[0149] Optionally, the positive operation behavior includes at least one of the following: a playback behavior that makes the playback completion degree of the target information greater than a completion threshold, a positive interaction behavior for the target information;
[0150] The negative operation behavior includes at least one of the following: a playback behavior that makes the playback completion degree of the target information less than or equal to a completion threshold, and a negative interactive behavior for the target information.
[0151] Optionally, the acquisition module 801 is further configured to adjust the basic interval length according to the information attribute of each candidate playback information in the candidate playback list in response to the first time the playback opportunity is met, so as to obtain the interval length corresponding to the candidate playback information.
[0152] Wherein, when the content of the information attribute meets the high-quality information condition, the basic interval length is increased; when the content of the information attribute meets the low-quality information condition, the basic interval length is reduced.
[0153] Optionally, the generating module 802 is further used for:
[0154] When there are multiple candidate playback information in the candidate playback list, calculate the sum of the interval lengths corresponding to the multiple candidate playback information to obtain a total length;
[0155] Generate a digital interval with an interval length equal to the total length to obtain the candidate interval;
[0156] The candidate interval is divided according to the target order of the plurality of candidate playback information and the interval length of each of the candidate playback information, and the digital interval corresponding to each of the candidate playback information in the candidate interval is determined.
[0157] Optionally, the acquisition module 801 is further used to acquire the length of the interval corresponding to the candidate playback information that has not been played;
[0158] The updating module is further used to add at least part of the played candidate playback information to the candidate playback list again when the number of played candidate playback information and the number of unplayed candidate playback information meet the conversion condition.
[0159] Optionally, the update module is also used to:
[0160] Sort the played candidate playback information according to the playback time;
[0161] The first p played candidate playback information are re-added to the candidate playback list, where p is a positive integer.
[0162] Optionally, the update module is also used to:
[0163] Sort the played candidate playback information according to the length of the interval;
[0164] The first q played candidate playback information are re-added to the candidate playback list, where q is a positive integer.
[0165] In summary, the information display device provided by the embodiment of the present application can generate the candidate interval corresponding to the candidate play list according to the interval length of the digital interval by obtaining the digital interval corresponding to each candidate play information in the candidate play list in response to the play timing. Then, by generating a random number located in the candidate interval, the candidate play information corresponding to the digital interval where the random number is located is used as the play object and played, so as to realize the random play of the candidate play information. In this technical scheme, since the candidate interval is a continuous digital interval consisting of a digital interval corresponding to each candidate play information one by one, and when the number of candidate play information is multiple, the digital intervals of any two candidate play information do not intersect. Therefore, the interval length of the candidate play information will directly determine the proportion of the digital interval corresponding to the candidate play information in the candidate interval, and then directly determine the play probability of the candidate play information. Therefore, under the random play mode provided by the technical scheme, the play probability of the candidate play information can be controlled by adjusting the interval length of the word number interval of the candidate play information. In this way, the random play mode provided by the technical scheme can be configured to have the same interval length of the digital interval corresponding to each candidate play information to meet the scenario requiring the play probability of the candidate play information to be equal. In addition, the length of the digital interval corresponding to each candidate playback information can be configured to be different to meet the scenario where the playback probability of the candidate playback information is different. Compared with the related technology, the selection method of the playback object is single, the applicable scenarios of the random playback mechanism are enriched, and the universality of the random playback mechanism is improved.
[0166] The information display device provided in the embodiment of the present application has a functional module corresponding to the execution of the information display method, and can execute any information display method provided in the embodiment of the present application and achieve the same beneficial effects.
[0167] In another embodiment provided in the present application, an electronic device is also provided. The electronic device may include: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the program, each process of the above-mentioned information display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0168] For example, Fig. 9 As shown, the electronic device may specifically include: a processor 901, a storage device 902, a display screen 903 with a touch function, an input device 904, an output device 905, and a communication device 906. The number of processors 901 in the electronic device may be one or more. Fig. 9A processor 901 is taken as an example. The processor 901, storage device 902, display screen 903, input device 904, output device 905 and communication device 906 of the electronic device can be connected via a bus or other means.
[0169] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is executed on a computer, the computer executes the information display method described in any one of the above embodiments.
[0170] In another embodiment provided in the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the information display method described in any one of the above embodiments.
[0171] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0172] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0173] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0174] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
[0175] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0176] 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.
[0177] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as 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 interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0178] 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.
[0179] In addition, each functional unit in each embodiment of the present invention 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.
[0180] 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 computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0181] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. An information display method, characterized in that: The method comprises: In response to satisfying the playback opportunity, obtaining the interval length corresponding to each candidate playback information in the candidate playback list; Generating a candidate interval corresponding to the candidate play list according to the interval length, wherein the candidate interval is a continuous digital interval consisting of digital intervals corresponding to each of the candidate play information one by one, the interval length of each of the digital intervals is the interval length of the corresponding candidate play information, and when the number of the candidate play information is multiple, the digital intervals of any two of the candidate play information do not intersect; Generate a random number within the candidate interval; Determine the digital interval where the random number is located as the target digital interval; Play the candidate playback information corresponding to the target digital interval.
2. The method according to claim 1, characterized in that After playing the candidate playback information corresponding to the target digital interval, the method further includes: receiving user operation information for target information during playback, wherein the target information is candidate playback information corresponding to the target digital interval; In the case where the user operation information indicates a positive operation behavior, increasing the interval length of the target information to obtain an updated interval length of the target information, so as to obtain the updated interval length of the target information when obtaining the interval length of the target information again; When the user operation information indicates a negative operation behavior, the interval length of the target information is reduced to obtain an updated interval length of the target information, so that the updated interval length of the target information is obtained when the interval length of the target information is obtained again.
3. The method according to claim 2, characterized in that The positive operation behavior includes at least one of the following: a playback behavior that makes the playback completion degree of the target information greater than a completion threshold, and a positive interaction behavior for the target information; The negative operation behavior includes at least one of the following: a playback behavior that makes the playback completion degree of the target information less than or equal to a completion threshold, and a negative interactive behavior for the target information.
4. The method according to any one of claims 1 to 3, characterized in that: In response to satisfying the playback opportunity, obtaining the interval length corresponding to each candidate playback information in the candidate playback list includes: In response to the first time the playback opportunity is met, the basic interval length is adjusted according to the information attribute of each candidate playback information in the candidate playback list to obtain the interval length corresponding to the candidate playback information, Wherein, when the content of the information attribute meets the high-quality information condition, the basic interval length is increased; when the content of the information attribute meets the low-quality information condition, the basic interval length is reduced.
5. The method according to claim 1, characterized in that The step of generating a candidate interval corresponding to the candidate playlist according to the interval length includes: When there are multiple candidate playback information in the candidate playback list, calculate the sum of the interval lengths corresponding to the multiple candidate playback information to obtain a total length; Generate a digital interval with an interval length equal to the total length to obtain the candidate interval; wherein the candidate interval is divided according to the target order of the plurality of candidate playback information and the interval length of each candidate playback information to determine the digital interval corresponding to each candidate playback information in the candidate interval.
6. The method according to claim 1, characterized in that The candidate play list is used to record the candidate play information that has not been played; the method further includes: When the number of played candidate playback information and the number of unplayed candidate playback information meet the conversion condition, at least part of the played candidate playback information is added to the candidate playback list again.
7. The method according to claim 6, characterized in that The step of re-adding at least part of the candidate playback information in the played candidate playback information to the candidate playback list includes: Sorting the played candidate playback information according to playback time; The first p pieces of played candidate playback information are re-added to the candidate playback list, where p is a positive integer.
8. The method according to claim 6, characterized in that The step of re-adding at least part of the candidate playback information in the played candidate playback information to the candidate playback list includes: Sorting the played candidate playback information according to the length of the interval; The first q played candidate playback information are re-added to the candidate playback list, where q is a positive integer.
9. An information display device, characterized in that: The device comprises: An acquisition module, configured to acquire, in response to satisfying the playback opportunity, the interval length corresponding to each candidate playback information in the candidate playback list; A generating module, configured to generate a candidate interval corresponding to the candidate play list according to the interval length, wherein the candidate interval is a continuous digital interval consisting of digital intervals corresponding to each of the candidate play information one by one, the interval length of each of the digital intervals is the interval length of the corresponding candidate play information, and when the number of the candidate play information is multiple, the digital intervals of any two of the candidate play information do not intersect; The generating module is further used to generate a random number within the candidate interval; A determination module, used for determining the digital interval where the random number is located as a target digital interval; The playing module is used to play the candidate playing information corresponding to the target digital interval.
10. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the information display method according to any one of claims 1 to 8.
11. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the information display method according to any one of claims 1 to 8 are implemented.