CN110737384B - Method, device, electronic equipment and medium for playing rich media card - Google Patents
Method, device, electronic equipment and medium for playing rich media card Download PDFInfo
- Publication number
- CN110737384B CN110737384B CN201910985131.2A CN201910985131A CN110737384B CN 110737384 B CN110737384 B CN 110737384B CN 201910985131 A CN201910985131 A CN 201910985131A CN 110737384 B CN110737384 B CN 110737384B
- Authority
- CN
- China
- Prior art keywords
- rich media
- media card
- playing
- played
- priority
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0485—Scrolling or panning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
- G06F16/435—Filtering based on additional data, e.g. user or group profiles
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
- G06F16/438—Presentation of query results
- G06F16/4387—Presentation of query results by the use of playlists
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a rich media card playing method, a rich media card playing device, electronic equipment and a medium, wherein the rich media card playing method comprises the following steps: displaying a rich media card list on a current display page of the graphical user interface; controlling an exposure area ratio of the rich media cards in the rich media card column in response to a sliding operation acting on the graphical user interface; responding to the stop of the sliding operation, and determining at least one rich media card to be played according to the exposure area ratio; the exposure area ratio is the ratio of the exposure area of the rich media card to the total area of the rich media card; and selecting a target rich media card from the at least one rich media card to be played for playing according to the playing priority of the at least one rich media card to be played. The method for playing the rich media card improves the problem that the rich media card can be played only after being clicked by a user in the traditional scheme.
Description
Technical Field
The present application relates to the field of software applications, and in particular, to a method, an apparatus, an electronic device, and a medium for playing a rich media card.
Background
The rich media is an information transmission method, the stream media information which comprises videos, motion pictures and the like is displayed through the rich media, and the stream media information displayed through the rich media can enable a user to obtain dynamic information, so that the information obtained by the user is more comprehensive.
When a user views the streaming media information displayed by the rich media through the terminal equipment, the media information in the rich media displayed in the graphical user interface of the terminal equipment is played. When the rich media is displayed in the graphical user interface, if a user wants to view the media information of the rich media, the user needs to manually click the play button of the rich media, the media information of the rich media is played, and if the user does not click the play button of the rich media, the user cannot view the media information of the rich media.
Disclosure of Invention
In view of the above, an object of the present application is to provide a method, an apparatus, an electronic device, and a medium for playing a rich media card.
In some embodiments, the present application provides a method for rich media card playing, where the method includes:
displaying a rich media card list on a current display page of the graphical user interface;
controlling an exposure area ratio of the rich media cards in the rich media card column in response to a sliding operation acting on the graphical user interface;
responding to the stop of the sliding operation, and determining at least one rich media card to be played according to the exposure area ratio; the exposure area ratio is the ratio of the exposure area of the rich media card to the total area of the rich media card;
and selecting a target rich media card from the at least one rich media card to be played for playing according to the playing priority of the at least one rich media card to be played.
In some embodiments, the selecting, according to the playing priority of the at least one rich media card to be played, a target rich media card from the at least one rich media card to be played for playing includes:
and playing the rich media card with the highest playing priority in the rich media cards to be played as the target rich media card.
In some embodiments, the playing the rich media card with the highest playing priority in the rich media cards to be played as the target rich media card includes:
and if at least two rich media cards with the highest playing priority exist in the rich media cards to be played, selecting a target rich media card from the rich media cards with the highest playing priority in the rich media cards to be played for playing according to the sliding direction of the sliding operation.
In some embodiments, the playback priority is determined based on any one or more of the following:
the position information of the rich media card to be played, the playing content category of the rich media card to be played and the latest playing time information of the rich media card to be played.
In some embodiments, when the playing priority is determined according to the playing content category of the rich media cards to be played, the selecting a target rich media card from the at least one rich media card to be played for playing according to the playing priority of the at least one rich media card to be played includes:
and playing the rich media card with the highest category priority in the rich media cards as the target rich media card according to the category priority of the at least one rich media card to be played.
In some embodiments, when the playing priority is determined according to the latest playing time information of the rich media cards to be played, the selecting a target rich media card from the at least one rich media card to be played for playing according to the playing priority of the at least one rich media card to be played includes:
and playing the rich media card with the latest playing time as the target rich media card from the rich media cards played in the latest preset time period.
In some embodiments, the selecting, according to the sliding direction of the sliding operation, a target rich media card from among the rich media cards to be played, which have the highest playing priority, for playing includes:
if the sliding direction is an upward sliding direction, playing the topmost rich media card to be played in the graphical user interface as the target rich media card;
and if the sliding direction is a downward sliding direction, playing the rich media card to be played at the lowest position in the graphical user interface as the target rich media card.
In some embodiments, the category priority of the rich media card to be played is determined according to the following steps:
and aiming at each playing content category, dynamically adjusting the category priority of each playing content category according to the operation times of the rich media card of the playing content category.
In some embodiments, the dynamically adjusting, for each category of playing content, the category priority of each category of playing content according to the number of times of operations of the rich media card of the category of playing content includes:
for each play content category, when detecting the forward operation behavior of the rich media card under the play content category, according to the operation times of the forward operation behavior of the rich media card of the play content category, performing forward adjustment on the current category priority of the play content category to determine the category priority of the play content category; the forward operation behavior refers to an operation behavior showing interest in the rich media card in the playing content category;
for each playing content category, when a negative operation behavior for the rich media card under the playing content category is detected, performing negative adjustment on the current category priority of the playing content category according to the operation times of the negative operation behavior of the rich media card of the playing content category to determine the category priority of the playing content category; the negative operation behavior refers to operation behavior showing no interest in the rich media cards in the playing content category.
In some embodiments, an apparatus for rich media card playback, the apparatus comprising:
the first display module is used for displaying a rich media card list on a current display page of the graphical user interface;
the first control module is used for responding to the sliding operation acted on the graphical user interface and controlling the exposure area ratio of the rich media cards in the rich media card column; the first determining module is used for responding to the stop of the sliding operation and determining at least one rich media card to be played according to the exposure area ratio; the exposure area ratio is the ratio of the exposure area of the rich media card to the total area of the rich media card;
and the first playing module is used for selecting a target rich media card from the at least one rich media card to be played for playing according to the sliding direction of the sliding operation.
In some embodiments, the present application further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is operating, the machine readable instructions when executed by the processor performing steps of a method such as rich media card playback.
In some embodiments, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium has a computer program stored thereon, and the computer program is executed by a processor to perform the steps of the method such as rich media card playing.
When the method for playing the rich media card is implemented, a graphical user interface including a target application is rendered on a display screen of a terminal device, then, a rich media card list correspondingly moves in the graphical user interface along with sliding operation performed by a user on the graphical user interface, and after the sliding operation is stopped, the rich media card list also adaptively stops moving; then, the exposure area ratio of the rich media cards displayed in the graphical user interface can be calculated, and at least one rich media card to be played is determined according to the exposure area ratio; and finally, acquiring the playing priority of each rich media card to be played, and determining the target rich media card to be played according to the playing priority of each rich media card to be played.
In the traditional scheme, after the rich media card list stops sliding, a user can determine an interested rich media card according to brief information of rich media card display in a current display page of a graphical user interface, then, the user manually clicks a play button in the determined interested rich media card, and the determined interested rich media card can be played. In the method, the playing priority is set for each rich media card to be played in advance before the rich media cards are played, and when the rich media cards are played, which rich media card to be played can be determined according to the playing priority.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a schematic illustration of a currently displayed page of a graphical user interface;
fig. 2 is a schematic basic flowchart of a method for playing a rich media card according to an embodiment of the present disclosure;
fig. 3 is a schematic basic flowchart of another rich media card playing method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an apparatus for playing a rich media card according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device 600 according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It is currently a common practice to deliver information to a user by displaying rich media cards in a graphical user interface. In the conventional scheme, after a user sees a certain interested rich media card, the rich media card can be played only by manually clicking.
As an example shown in FIG. 1, a particular scenario is shown in which a rich media card list is displayed in a graphical user interface. As shown in fig. 1, three rich media cards, namely a rich media card 1, a rich media card 2, and a rich media card 3, are displayed in the graphical user interface, in the conventional scheme, after a user sees the three rich media cards, the user can select a rich media card (such as the rich media card 1) that is interested in the user according to the brief information of each rich media card and the initial picture of the streaming media information in the rich media card, and then, the user manually clicks a play button in the middle of the rich media card 1, so that the rich media card 1 can be played. The method that the rich media card can be played only by manually clicking by the user makes the operation more complicated when the rich media card which the user is interested in is played.
In view of the above situation, an embodiment of the present application provides a method for playing a rich media card, which is applied to a terminal device, where a graphical user interface of a target application is rendered on a display screen of the terminal device.
As shown in fig. 2, the method for playing the rich media card includes the following steps:
s201, displaying a rich media card list on a current display page of a graphical user interface;
s202, responding to the sliding operation acted on the graphical user interface, and controlling the exposure area ratio of the rich media cards in the rich media card column;
s203, responding to the stop of the sliding operation, and determining at least one rich media card to be played according to the exposure area ratio; the exposure area ratio is the ratio of the exposure area of the rich media card to the total area of the rich media card;
s204, according to the playing priority of the at least one rich media card to be played, selecting a target rich media card from the at least one rich media card to be played for playing.
In step S201, the rich media card list may be a list including at least one rich media card and at least one other information card (the rich media card list may also only include rich media cards), where the rich media card is a carrier for displaying streaming media information, such as videos and dynamic images. Other information cards such as carriers displaying text content, carriers displaying still pictures, carriers displaying text content and still pictures, etc., are not limited herein. In the rich media card list, there may be three cases in the arrangement positions of the rich media cards and the other information cards, the first case is that a plurality of rich media cards are arranged in series (as shown in fig. 1, a state in which a plurality of rich media cards are arranged in series), the second case is that a plurality of other information cards are arranged in series, and the third case is that the rich media cards are arranged at intervals with the other information cards.
In the specific implementation of step S201, a rich media card list needs to be obtained first, and since there are too many rich media cards in the rich media card list, all the rich media cards may not be exposed in the current display page of the graphical user interface at the same time, at this time, the current display page of the graphical user interface may only expose part of the rich media cards in the rich media card list (some rich media cards may only display a part of the rich media cards).
In step S202, the information of the sliding operation mainly includes a sliding direction and a sliding distance, where the sliding direction includes an upward sliding direction and a downward sliding direction, and the sliding distance refers to a distance moved by the touch point of the sliding operation in a certain sliding direction.
The exposure area refers to the area of the rich media card displayed in the current display page of the graphical user interface, and the exposure area ratio refers to the ratio of the exposure area of the rich media card to the total area of the rich media card. In specific implementation, the exposure area ratio of the rich media cards which can be completely displayed in the current display page is 100%, the exposure area ratio of the rich media cards which are partially displayed in the current display page is 0-100%, and the exposure area ratio of the rich media cards which are not displayed in the current display page is 0. The user can see the whole rich media card which is completely displayed in the current display page; the user can see the part of the rich media card partially displayed in the current display page; the user cannot see any information for the rich media card not shown in the current presentation page
In the specific implementation of step S202, a sliding operation performed by the user in the graphical user interface is obtained. Then, the moving direction of the rich media card list is determined according to the sliding direction of the sliding operation, and the moving distance of the rich media card list is determined according to the sliding distance of the sliding operation. And finally, controlling the rich media card list to move in the current display page of the graphical user interface according to the moving direction and the moving distance of the rich media card list, and further controlling the exposure area ratio of each rich media card in the rich media card list in the current display page of the graphical user interface.
For example, when the direction of the slide operation by the user is upward, the list of rich media cards in the currently presented page of the graphical user interface may move upward.
For another example, when the sliding direction of the sliding operation of the user is downward, the rich media card list in the currently presented page of the graphical user interface may move downward.
Step S203 may determine that the sliding operation is stopped if the graphical user interface does not receive a new sliding operation in a preset time period when the rich media card list stops moving in a specific implementation; the slide operation may be considered to be stopped after the finger performing the slide operation is detached from the graphical user interface. After the sliding operation is stopped, which rich media cards are displayed in the graphical user interface in all the rich media cards can be determined, then the exposure area ratio of the rich media cards can be calculated according to the exposure area of the rich media cards and the total area of the rich media cards, whether the exposure area ratio of the rich media cards reaches the preset exposure area ratio is judged, if the exposure area ratio of the rich media cards reaches the preset exposure area ratio, the rich media cards are determined to be the rich media cards to be played, and if the exposure area ratio of the rich media cards does not reach the preset exposure area ratio, the rich media cards are determined not to be the rich media cards to be played. The preset exposure area ratio may be set manually, and the ratio of the exposure area of the rich media card to the total area of the rich media card is 2/3, which is not limited herein.
For example, when the preset exposure area ratio is 2/3, the current presentation page on the graphical user interface includes three rich media cards, respectively: the rich media card A at the top of the current display page has an exposure area ratio of 4/5; the exposure area of the rich media card B in the middle of the current display page accounts for 100%; the exposure area ratio of the rich media card A at the top of the current display page is 1/3, when the rich media card to be played is determined, the exposure area ratio of the rich media card A and the exposure area ratio of the rich media card B are determined to exceed the preset exposure area ratio according to the comparison result of the exposure area ratio of each rich media card and the preset exposure area ratio, and the rich media card A and the rich media card B are determined to be the rich media card to be played.
In general, the area of the current display page of the graphical user interface is much larger than the area of one rich media card, so that, according to the arrangement of the rich media cards and other information cards in the rich media card list, after the rich media card list stops moving (generally, after the sliding operation stops), the number of the rich media cards displayed in the current display page of the graphical user interface may be in the following several situations, the first situation is that no rich media card exists in the current display page of the graphical user interface, the second situation is that one rich media card exists in the current display page of the graphical user interface, and the third situation is that a plurality of rich media cards exist in the current display page of the graphical user interface.
In step S204, the playing priority reflects the priority of the rich media card to be played, and the target rich media card refers to the rich media card to be played that is determined to be played; correspondingly, the rich media card to be played refers to a card selected to be the target rich media card (the rich media card to be played is not necessarily played).
In a specific implementation, after the rich media cards to be played are determined according to step S203, the attribute information of the rich media cards to be played can be determined, the playing priority of each rich media card to be played is determined according to the media information of the rich media card to be played, and the rich media card to be played with the highest playing priority is used as the target rich media card to be played. The attribute information may include any at least one of the following three types of information: position information, playing content category and latest playing time information. The position information may be a position of the rich media card to be played in a current display page of the graphical user interface. That is, the play priority is determined according to any one or more of the following information: the position information of the rich media card to be played, the playing content category of the rich media card to be played and the latest playing time information of the rich media card to be played.
The broadcast content category may include, among other things, an emergency notification category (e.g., a notice related to the targeted application, an update related to the targeted application, etc.), a recommendation category (e.g., a new game recommendation related to the targeted application, an activity recommendation related to the targeted application, etc.), an advertisement category (e.g., a commercial advertisement unrelated to the targeted application, a friend-making advertisement unrelated to the targeted application, etc.). The latest playing time information may be the last playing time of the rich media card within a preset time period.
As described in the foregoing, there are at least three factors that determine the target rich media card:
the first element is the position information of the rich media card to be played. The element reflects that after the rich media card to be played is determined according to the exposure area ratio in the current display page of the graphical user interface, the closer the rich media card to be played is to the top end/bottom end/a certain specific position of the graphical user interface, the more likely the card is determined to be the target rich media card.
The second element is the latest playing time information of the rich media card to be played. The element reflects that after the rich media card to be played is determined according to the exposure area ratio in the current display page of the graphical user interface, the smaller the difference value between the last played time and the current time of the rich media card to be played is, the more likely the card is determined to be the target rich media card.
And the third element is the playing content category of the rich media card to be played. Before the element is used, corresponding priority needs to be preset for each playing content category according to user requirements or specific requirements, and after the rich media card to be played is determined according to the exposure area ratio in the current display page of the graphical user interface, the higher the priority of the rich media card to be played is, the more likely the card is to be determined as the target rich media card.
As explained in the foregoing, any at least one of the above elements may be used in determining the target rich media card. That is, only one of the three elements may be used to determine the target rich media card, two of the three elements may be used to determine the target rich media card, or all three elements may be used simultaneously to determine the target rich media card.
Specifically, when any two of the three elements are used simultaneously to determine the target rich media card, or all of the three elements are used simultaneously to determine the target rich media card, the degrees of the three elements influencing whether a rich media card to be played is the target rich media card may be the same or different. Stated another way, when determining which rich media card to be played is the target rich media card, the score of each rich media card to be played can be calculated by simultaneously considering any two of the three elements or simultaneously considering the three elements according to a weighted calculation manner, and finally the rich media card to be played, which has a score meeting a preset requirement (such as one or more of the highest scores or one or more of the scores exceeding a predetermined value), is taken as the target rich media card.
Furthermore, if it is determined which rich media card to be played is the target rich media card according to a weighting calculation method, in order to improve the calculation accuracy, a weight of each element may be described, where the weight represents an influence degree of a certain element on determining which rich media card to be played is the target rich media card. Through the tests of the inventor, the weight of the playing content category of the rich media card to be played by the third element is considered to be higher than the weight of the other two elements, so that the target rich media card can be determined more accurately to a great extent. Alternatively, using only the third element to determine the target rich media card may be more accurate than using only either of the first two elements to determine the target rich media card.
That is, when the target rich media card is determined by the three elements, the target rich media card is determined by using only the third element, and step S204 can be implemented as follows:
step 2041, according to the category priority of the at least one rich media card to be played, playing the rich media card with the highest category priority in the rich media cards as the target rich media card.
For example, the broadcast content category identifier may include an advertisement identifier, a recommendation identifier, and a notice identifier. Specifically, the played content category corresponding to the advertisement identifier may be an advertisement category, the category priority corresponding to the advertisement category may be X, the played content category corresponding to the recommendation identifier may be a recommendation category, the category priority corresponding to the recommendation category may be Y, the played content category corresponding to the announcement identifier may be an announcement category, and the category priority corresponding to the announcement category may be Z. The preset category priorities are: the category priority Z > the category priority Y > the category priority X, the rich media card E, the rich media card D and the rich media card F are arranged in a current display page of the graphical user interface, the rich media card E corresponds to the category priority Z, the rich media card D corresponds to the category priority Y and the rich media card F corresponds to the category priority X, the category priority of the rich media card E is the highest in the current display page of the graphical user interface, and then the rich media card E is played as a target rich media card.
In contrast, the importance degree of the second element is lower than that of the third element, but is usually higher than that of the first element, so in order to reduce the waste of data resources, in some cases, the rich media card played in the latest preset time period may be played repeatedly, the data resources corresponding to the rich media card played in the latest preset time period may be stored in the device terminal, and when the rich media card is played repeatedly, only the data resources need to be acquired from the device terminal, and do not need to be acquired through the network. That is, in some cases, only the second element may be used to determine the target rich media card, and in this case, step S204 may be implemented as follows:
and 2042, playing the rich media card with the latest playing time in the rich media cards played in the latest preset time period as the target rich media card.
In the step 2042, the latest preset time period may be a time period from the current time, which may be 5 minutes, 1 hour, or the like (but the latest preset time period cannot be too long, such as not exceeding one month, or otherwise there is no reference value), and the latest preset time period is also set to save the storage space of the device terminal, in the conventional technology, the storage space of the device terminal is limited, and the data resources corresponding to all rich media cards that the user has viewed cannot be stored, so that the data resources stored in the storage space of the device terminal are continuously updated, only the data resources corresponding to the rich media cards that have been played in the latest preset time period are stored, the data resources corresponding to the rich media cards that have been played in the playing time that exceeds the latest preset time period are deleted, and therefore, among the rich media cards that have been played in the latest preset time period, the playing strategy that the rich media card with the latest playing time is used as the target rich media card for playing is also better.
For example, the preset time period is 2 minutes, the rich media cards E, D, and F are on the current display page of the graphical user interface, the latest play time information of the rich media cards E, D, and F is obtained, the latest play time information of the rich media cards E is played before 30 seconds, the latest play time information of the rich media cards D is played before 50 seconds, the latest play time information of the rich media cards F is played before 1 minute, the latest play time information exists in all of the rich media cards E, D, and F, and the rich media cards E are the rich media cards with the latest play time, and the rich media cards E are played as target rich media cards.
Although a certain accuracy can be guaranteed by determining the target rich media card only by the third element or by determining the target rich media card only by the second element, the accuracy is not high enough, so that on the basis of determining the target rich media card by only the third element or determining the target rich media card by only the second element, any one or two of the other two elements can be used to determine the target rich media card together.
Specifically, when the target rich media card is determined based on the second element and the third element, step 2041 may be implemented as follows:
step 2043, if there are rich media cards with category priority greater than the preset level, selecting the rich media card with the highest category priority among the rich media cards as the target rich media card to play in the rich media cards with category priority greater than the preset level;
step 2044, if there are no rich media cards with category priority greater than the preset level and there are rich media cards played in the latest preset time period, playing the rich media card with the latest playing time in the rich media cards played in the latest preset time period as the target rich media card;
step 2045, if there is no rich media card with a category priority greater than the preset level and there is no rich media card played within the latest preset time period, playing the rich media card with the highest category priority among the rich media cards as the target rich media card according to the category priority of the at least one rich media card to be played.
It can be seen from the above-mentioned steps 2043-2045 that the importance level of the category priority is higher than the importance level of the playing time. Of course, the way of determining the target rich media card based on the second element and the third element is not limited to the three ways reflected by 2043-2045, but the three ways are relatively better.
In step 2043 and step 2045, when the target rich media card is determined according to the second element and the third element, there may be a plurality of rich media cards with the highest category priority. Therefore, when the target rich media card is determined by combining the above three elements, step 2043 may be further implemented as follows:
step 20431, if there are rich media cards with category priority greater than the preset level, and there are multiple rich media cards with the category priority greater than the preset level, selecting a target rich media card from the multiple rich media cards with category priority for playing according to the sliding direction of the sliding operation;
correspondingly, step 2045 may be implemented as follows:
step 20451, if there is no rich media card with a category priority greater than a preset level, there is no rich media card played in a latest preset time period, and there are multiple rich media cards with the highest category priority, selecting a target rich media card from the multiple rich media cards with the highest category priority to play according to the sliding direction of the sliding operation;
here, when the target rich media card is selected according to the sliding direction of the sliding operation, the sliding direction may be upward, and one card located at the top/bottom in the graphical user interface among the multiple rich media cards with the highest category priority is selected to play; of course, the direction of sliding may be downward, and then one of the rich media cards with the highest category priority, which is located at the top/bottom in the graphical user interface, is selected for playing.
In some embodiments, the playback priority is determined based on any one or more of the following: the position information of the rich media card to be played, the playing content category of the rich media card to be played and the latest playing time information of the rich media card to be played. That is, the playing priority may be considered as a level (or a score) determined according to the three elements, so that when there are multiple rich media cards to be played in the current presentation page, the rich media card with the highest playing priority may be selected for playing, that is, step S204 may be implemented as follows:
step 2046, the rich media card with the highest playing priority in the rich media cards to be played is used as the target rich media card for playing.
In the above embodiment, if at least two rich media cards to be played with the highest playing priority exist at the same time, the at least two rich media cards to be played with the highest playing priority may be played at the same time, and it may also be determined that one rich media card to be played is played as a target rich media card. Specifically, step 2046 may be implemented as follows:
step 20461, if there are at least two rich media cards with the highest playing priority in the rich media cards to be played, selecting a target rich media card from the rich media cards with the highest playing priority in the rich media cards to be played for playing according to the sliding direction of the sliding operation.
In most cases, the sliding direction can represent the intention of the user, and therefore, the embodiment of the application can also determine the target rich media card which the user wants to view according to the sliding direction. Specifically, step 20461 may be implemented by the following steps:
if the sliding direction is an upward sliding direction, playing the topmost/bottommost rich media card to be played in the graphical user interface as the target rich media card;
and if the sliding direction is a downward sliding direction, playing the rich media card to be played at the lowest part/the uppermost part in the graphical user interface as the target rich media card.
In step 20461, after determining that there are at least two rich media cards to be played corresponding to the highest playing priority, the terminal device may obtain a sliding direction that has been recently applied to a sliding operation in the graphical user interface, and select a target rich media card from the at least two rich media cards to be played with the highest playing priority for playing according to the sliding direction.
According to the sliding direction, a target rich media card is selected from the at least two rich media cards to be played with the highest playing priority, the problem that a user cannot watch the rich media cards at the same time can be avoided, the clicking operation of the user can be reduced, the target rich media card can be directly determined to be played in the processing mode, and the playing efficiency of the rich media card is improved.
For example, the preset rule: when the sliding direction is upward, the rich media card to be played closest to the top end of the graphical user interface can be selected as the target rich media card; when the sliding direction is downward, the rich media card to be played closest to the bottom end of the graphical user interface can be selected as the target rich media card. If three rich media cards to be played exist in the current display page, the rich media cards 1, the rich media cards 2 and the rich media cards 3 are respectively arranged from top to bottom in the graphical user interface, the playing priorities of the rich media cards 1 and the rich media cards 2 are the same and higher than that of the rich media cards 3, and the sliding direction of the sliding operation of the user in the graphical user interface is upward, the rich media card 1 closest to the top end of the graphical user interface is taken as the target rich media card.
As another example, the preset rule: when the sliding direction is upward, the rich media card to be played closest to the bottom end of the graphical user interface can be selected as the target rich media card; when the sliding direction is downward, the rich media card to be played closest to the top end of the graphical user interface can be selected as the target rich media card. If three rich media cards to be played exist in the current display page, the rich media cards 1, the rich media cards 2 and the rich media cards 3 are respectively arranged from top to bottom in the graphical user interface, the playing priorities of the rich media cards 1 and the rich media cards 2 are the same and higher than that of the rich media cards 3, and the sliding direction of the sliding operation of the user in the graphical user interface is downward, the rich media card 2 closest to the bottom end of the graphical user interface is taken as the target rich media card.
In some embodiments, the category priority may be used to characterize the level of interest a user has in each category of playback content. The higher the category priority, the higher the user's level of interest at the time of the particular use. In the application, the category priority corresponding to the playing content category of the rich media card to be played can be determined according to the following steps:
step 205, determining the category priority corresponding to the rich media card to be played based on the playing content category of the rich media card to be played and the corresponding relationship between different playing content categories and the category priority.
In step 205, each rich media card to be played may be provided with a corresponding playing content category identifier, and then the playing content category of the rich media card to be played is determined according to the playing content category identifier, so that the category priority corresponding to the rich media card may be searched in the playing priority association table. The broadcast content category identifier may be a preset character, and the character includes a number (e.g., 1, 2, etc.), a letter (e.g., a, B, etc.), a chinese character (e.g., advertisement, recommendation, announcement, etc.).
For example, the broadcast content category identifier may include an advertisement identifier, a recommendation identifier, and a notice identifier. Specifically, the played content category corresponding to the advertisement identifier may be an advertisement category, the category priority corresponding to the advertisement category may be X, the played content category corresponding to the recommendation identifier may be a recommendation category, the category priority corresponding to the recommendation category may be Y, the played content category corresponding to the announcement identifier may be an announcement category, the category priority corresponding to the announcement category may be Z, where the category priorities may be arranged in the order of: the category priority Z > the category priority Y > the category priority X, three rich media cards are arranged in a current display page of the graphical user interface and are respectively rich media card A, rich media card B and rich media card C, an advertisement mark is arranged on the rich media card A, the category priority corresponding to the rich media card A is X, a recommendation mark is arranged on the rich media card B, the category priority corresponding to the rich media card B is Y, an announcement mark is arranged on the rich media card C, the category priority corresponding to the rich media card C is Z, and the rich media card C can be determined to be a target rich media card to be played according to the category priority of each rich media card.
In some embodiments, there may be many rich media cards in the rich media card list, and therefore there may be at least two rich media cards with the same category priority, in step 20431 and step 20451, the case where there are many rich media cards with the highest category priority is exemplified, in this case, in step 20431 and step 20451, the target rich media card is selected from the many rich media cards with the highest category priority according to the sliding direction of the sliding operation, and the method may be implemented as follows:
if the sliding direction is an upward sliding direction, playing the topmost/bottommost rich media card to be played in the graphical user interface as the target rich media card;
and if the sliding direction is a downward sliding direction, playing the rich media card to be played at the lowest part/the uppermost part in the graphical user interface as the target rich media card.
In a specific implementation, if a plurality of rich media cards with the highest category priority exist in a current display page of a graphical user interface, the sliding direction of the last sliding operation can be obtained first, and if the sliding direction is upward, the topmost rich media card to be played in the graphical user interface is played as a target rich media card; and if the sliding direction is downward, playing the rich media card to be played at the lowest position in the graphical user interface as the target rich media card.
For example, in the current display page of the graphical user interface, there are two rich media cards with the highest category priority, namely rich media card G2 and rich media card H2, rich media card G2 is above rich media card H2, and when the sliding direction of the last acquired sliding operation is downward, rich media card H2 is played as the target rich media card; when the slide direction of the last slide operation acquired is upward, the rich media card G2 is played as the target rich media card.
The category priority represents the interest degree of the user in various playing content categories, in order to enable the played target rich media card to meet the user requirements better, the category priority corresponding to each playing content category can be adjusted in real time according to the operation of the user on the rich media card, and when the category priority is determined, the method can be realized through the following steps:
step 206, for each playing content category, dynamically adjusting the category priority of each playing content category according to the operation times of the rich media card of the playing content category.
In the step 206, the operation times may be the times of the user performing the operation actions on the rich media cards of the same playing content category. Here, the number of operations may be one or multiple times, that is, the user may perform one operation on each rich media card of a certain playing content category to adjust a category priority for the playing content category; or the user may adjust the category priority of a certain playing content category only after performing enough operation actions on the rich media card of the playing content category (that is, after performing an operation action on the playing content category each time, the user may adjust the score of the playing content category, and when the score exceeds a certain value, the user adjusts the category priority once).
Specifically, the operation behavior includes a positive operation behavior and a negative operation behavior. The positive operation behavior may refer to an operation behavior showing an interest in the rich media card in the played content category, and the negative operation behavior may refer to an operation behavior showing no interest in the rich media card in the played content category, where the positive operation behavior and the negative operation behavior are generally completely opposite to each other under the same style of target application.
There are various ways to read the operation behavior of the user on the rich media card to be played: firstly, when a user is interested in the rich media card to be played, the user can click a favorite button corresponding to the rich media card to be played, and when the user is not interested in the rich media card to be played, the user can click a dislike button corresponding to the rich media card to be played; secondly, when the user is interested in the rich media card to be played, the user can click the detail connection corresponding to the rich media card to be played so that the graphical interface of the user jumps to the detail page corresponding to the rich media card, and when the user is not interested in the rich media card to be played, the user can click the close button corresponding to the rich media card to be played; thirdly, when the user is interested in the rich media card to be played, the user can double click on the region where the rich media card to be played is located (the purpose of double click is to enlarge and display the rich media card), and when the user is not interested in the rich media card to be played, the user can perform long-time pressing operation on the region where the rich media card to be played is located (the purpose of long-time pressing operation can be to close the rich media card, or to no longer play the same type of rich media card, etc.).
In the above steps, the category priority of the playing content category corresponding to the interested rich media card may be increased according to the positive operation behavior, and the category priority of the playing content category corresponding to the uninteresting rich media card may also be decreased according to the negative operation behavior. To understand how to adjust the correspondence between different playing content categories and category priorities in more detail, the present application provides a solution for adjusting the correspondence between different playing content categories and category priorities, that is, step 206, includes:
step 301, for each playing content category, when detecting a forward operation behavior for the rich media card in the playing content category, forward adjusting a current category priority of the playing content category according to an operation frequency of the forward operation behavior for the rich media card in the playing content category to determine the category priority of the playing content category; the forward operation behavior refers to an operation behavior showing interest in the rich media card in the playing content category;
step 302, aiming at each playing content category, when a negative operation behavior aiming at the rich media card under the playing content category is detected, according to the operation times of the negative operation behavior of the rich media card of the playing content category, the current category priority of the playing content category is adjusted negatively so as to determine the category priority of the playing content category; the negative operation behavior refers to operation behavior showing no interest in the rich media cards in the playing content category.
The forward adjustment is a behavior representing that the category priority corresponding to the played content category is improved, and in the case that the user performs a forward operation behavior, step 301 may be implemented by the following steps: 3011, for each type of playing content, according to a forward operation behavior, increasing the category priority corresponding to the type of playing content; or the like, or, alternatively,
and 3012, for each type of playing content, adjusting an interest value corresponding to the type of playing content according to at least one forward operation behavior, and when the adjusted interest value corresponding to the type of playing content is greater than a first set threshold, increasing the category priority corresponding to the type of playing content.
In step 3011, the forward operation behavior represents the user's preference for the type of playing content, since the user prefers to play the rich media card of the type of playing content corresponding to the forward operation behavior. Therefore, after the user makes a forward operation, the priority of the playing content category is increased, and the probability that the rich media card is used as the target rich media card in the later process of determining the target rich media card is increased.
In step 3012, the first set threshold may be preset by the operator, and the first set threshold may be 30. The forward operation behavior represents the user's preference for the playing content category, but sometimes there may be a case of user misoperation, the forward operation behavior is performed on the rich media cards of the playing content category that is not interested, the probability that the rich media cards of the playing content category that is not interested are taken as target rich media cards is improved, in order to reduce the influence of the misoperation behavior on determining the target rich media cards, the interest value of the playing content category is continuously adjusted according to the forward operation behavior of the user, and if the adjusted interest value of the playing content category is greater than a first set threshold, the category priority corresponding to the playing content category is improved. When the interest value of the playing content category is adjusted according to the forward operation behavior of the user, the interest value can be added according to a certain step value (a certain numerical value). And if the adjusted interest value corresponding to the playing content category is higher than the first set threshold of the highest category priority, keeping the interest value corresponding to the playing content category before adjustment unchanged.
The negative adjustment is a behavior that characterizes that the category priority corresponding to the played content category is reduced, and in the case that the user performs a negative operation behavior, step 302 can be implemented by the following steps:
step 3021, for each type of the playing content, reducing the type priority corresponding to the type of the playing content according to a negative operation; or the like, or, alternatively,
step 3022, for each type of the playing content, adjusting the interest value corresponding to the type of the playing content according to at least one negative operation, and when the adjusted interest value corresponding to the type of the playing content is smaller than a first set threshold, decreasing the category priority corresponding to the type of the playing content.
In the step 3021, the negative operation behavior represents a user's aversion to the type of the playing content, and the rich media card of the type of the playing content corresponding to the negative operation behavior is expected not to be played by the user. Therefore, after the user performs a negative operation, the priority of the playing content category is reduced, and the probability that the rich media card is used as the target rich media card in the later process of determining the target rich media card is reduced.
In step 3022, the second set threshold may be preset by the operator, and the second set threshold may be 0. The negative operation behavior represents the user's liking of the playing content category, but sometimes there may be a case of user misoperation, the negative operation behavior is performed on the rich media cards of the playing content category of interest, the probability that the rich media cards of the playing content category of interest are used as target rich media cards is reduced, in order to reduce the influence of the misoperation behavior on the determination of the target rich media cards, a second set threshold is set for each category priority, the interest value of the playing content category is continuously adjusted according to the negative operation behavior of the user, and if the adjusted interest value of the playing content category is smaller than the second set threshold, the category priority corresponding to the playing content category is reduced. When the interest value of the playing content category is adjusted according to the negative operation behavior of the user, the interest value may be subtracted according to a certain step value (a certain numerical value). And if the adjusted interest value corresponding to the playing content category is lower than the second set threshold value of the lowest category priority, keeping the interest value corresponding to the playing content category before adjustment unchanged.
In the embodiment of the method for playing the rich media cards, the playing priority is set for each rich media card to be played in advance before the rich media card is played, and the rich media card to be played with the highest playing priority is played during playing.
As shown in fig. 3, another rich media card playing method is further provided in the present application, which is applied to a terminal device, and a graphical user interface of a target application is rendered on a display screen of the terminal device, where the method includes:
s401, displaying a rich media card list on a current display page of a graphical user interface;
s402, responding to the sliding operation acted on the graphical user interface, and controlling the exposure area ratio of the rich media cards in the rich media card column;
s403, responding to the stop of the sliding operation, and determining at least one rich media card to be played according to the exposure area ratio; the exposure area ratio is the ratio of the exposure area of the rich media card to the total area of the rich media card;
s404, selecting a target rich media card from the at least one rich media card to be played for playing according to the sliding direction of the sliding operation.
In one embodiment, step S404, selecting a target rich media card from the at least one rich media card to be played for playing according to the sliding direction of the sliding operation, includes:
if the sliding direction is an upward sliding direction, playing the topmost rich media card to be played in the graphical user interface as the target rich media card;
and if the sliding direction is a downward sliding direction, playing the rich media card to be played at the lowest position in the graphical user interface as the target rich media card.
In one embodiment, the method for playing a rich media card further includes:
and selecting a target rich media card from the at least one rich media card to be played for playing according to the playing priority of the at least one rich media card to be played.
In one embodiment, the selecting a target rich media card from the at least one rich media card to be played for playing according to the playing priority of the at least one rich media card to be played includes:
and playing the rich media card with the highest playing priority in the rich media cards to be played as the target rich media card.
In one embodiment, the playing the rich media card with the highest playing priority in the rich media cards to be played as the target rich media card includes:
and if at least two rich media cards with the highest playing priority exist in the rich media cards to be played, selecting a target rich media card from the rich media cards with the highest playing priority in the rich media cards to be played for playing according to the sliding direction of the sliding operation.
In one embodiment, the playback priority is determined according to any one or more of the following information:
the position information of the rich media card to be played, the playing content category of the rich media card to be played and the latest playing time information of the rich media card to be played.
In one embodiment, when the playing priority is determined according to the playing content category of the rich media cards to be played, the selecting a target rich media card from the at least one rich media card to be played for playing according to the playing priority of the at least one rich media card to be played includes:
and playing the rich media card with the highest category priority in the rich media cards as the target rich media card according to the category priority of the at least one rich media card to be played.
In one embodiment, when the playing priority is determined according to the latest playing time information of the rich media cards to be played, the selecting a target rich media card from the at least one rich media card to be played for playing according to the playing priority of the at least one rich media card to be played includes:
and playing the rich media card with the latest playing time as the target rich media card from the rich media cards played in the latest preset time period.
In one embodiment, if there are at least two rich media cards with the highest playing priority in the rich media cards to be played, selecting a target rich media card from the rich media cards with the highest playing priority in the rich media cards to be played for playing according to the sliding direction of the sliding operation, including:
if the sliding direction is an upward sliding direction, playing the topmost/bottommost rich media card to be played in the graphical user interface as the target rich media card;
and if the sliding direction is a downward sliding direction, playing the topmost/bottommost rich media card to be played in the graphical user interface as the target rich media card.
In one embodiment, the category priority corresponding to the playing content category of the rich media card to be played is determined according to the following steps:
and aiming at each playing content category, dynamically adjusting the category priority of each playing content category according to the operation times of the rich media card of the playing content category.
In one embodiment, for each playing content category, dynamically adjusting the category priority of each playing content category according to the operation times of the rich media cards of the playing content category, includes:
for each playing content category, when detecting the forward operation behavior of the rich media card under the playing content category, according to the operation times of the forward operation behavior of the rich media card of the playing content category, performing forward adjustment on the current category priority of the playing content category to determine the category priority of the playing content category; the forward operation behavior refers to an operation behavior showing interest in the rich media card in the playing content category;
for each playing content category, when a negative operation behavior for the rich media card in the playing content category is detected, performing negative adjustment on the current category priority of the playing content category according to the operation times of the negative operation behavior of the rich media card in the playing content category to determine the category priority of the playing content category; the negative operation behavior refers to operation behavior showing no interest in the rich media cards in the playing content category.
The method for playing the rich media card can be applied to game application, an interface capable of displaying game information is arranged in the game application, the game information comprises text information, a static image in the game, a dynamic image in the game, a short video of the game and the like, and the game information is arranged on the rich media card, namely the method for playing the rich media card can be applied.
In another embodiment, a plurality of sub rich media cards are further arranged in one rich media card, and the method for playing the sub rich media cards is consistent with the method for playing the rich media cards in the present application.
As shown in fig. 4, a device for playing a rich media card provided by another embodiment of the present application includes:
a first display module 501, configured to display a rich media card list on a current display page of a graphical user interface;
a first control module 502, configured to control an exposure area ratio of the rich media cards in the rich media card column in response to a slide operation applied to the graphical user interface;
a first determining module 503, configured to determine, in response to the stop of the sliding operation, at least one rich media card to be played according to the exposure area ratio; the exposure area ratio is the ratio of the exposure area of the rich media card to the total area of the rich media card;
the first playing module 504 is configured to select a target rich media card from the at least one rich media card to be played for playing according to the playing priority of the at least one rich media card to be played.
In one embodiment, the first playing module 504 includes: a first target rich media card playing unit;
and the first target rich media card playing unit is used for playing the rich media card with the highest playing priority in the rich media cards to be played as the target rich media card.
In one embodiment, the first target rich media card playing unit includes: a first target rich media card playing subunit;
and if at least two rich media cards with the highest playing priority exist in the rich media cards to be played, the first target rich media card playing subunit selects a target rich media card from the rich media cards with the highest playing priority in the rich media cards to be played for playing according to the sliding direction of the sliding operation.
In one embodiment, the playback priority is determined based on any one or more of the following:
the position information of the rich media card to be played, the playing content category of the rich media card to be played and the latest playing time information of the rich media card to be played.
In one embodiment, when the playing priority is determined according to the playing content category of the rich media card to be played, the first playing module 504 includes:
and the second target rich media card playing unit is used for playing the rich media card with the highest category priority in the rich media cards as the target rich media card according to the category priority of the at least one rich media card to be played.
In one embodiment, when the playing priority is determined according to the latest playing time information of the rich media card to be played, the first playing module 504 includes:
and the third target rich media card playing unit is used for playing the rich media card with the latest playing time in the rich media cards played in the latest preset time period as the target rich media card.
In an embodiment, the first target rich media card playing subunit is further configured to, if the sliding direction is an upward sliding direction, play the rich media card to be played that is uppermost in the graphical user interface as the target rich media card; and if the sliding direction is a downward sliding direction, playing the rich media card to be played at the lowest position in the graphical user interface as the target rich media card.
In one embodiment, the apparatus further comprises a category prioritization module,
and the category priority determining module is used for dynamically adjusting the category priority of each playing content category according to the operation times of the rich media card of the playing content category aiming at each playing content category.
In one embodiment, the category prioritization module includes:
the forward adjustment unit is used for carrying out forward adjustment on the current category priority of the playing content category according to the operation times of the forward operation behavior of the rich media card of the playing content category when detecting the forward operation behavior of the rich media card under the playing content category aiming at each playing content category so as to determine the category priority of the playing content category; the forward operation behavior refers to an operation behavior showing interest in the rich media card in the playing content category;
the negative adjustment unit is used for carrying out negative adjustment on the current category priority of the playing content category according to the operation times of the negative operation behavior of the rich media card of the playing content category when the negative operation behavior of the rich media card under the playing content category is detected aiming at each playing content category so as to determine the category priority of the playing content category; the negative operation behavior refers to operation behavior showing no interest in the rich media cards in the playing content category.
Another embodiment of the present application provides a rich media card playing apparatus, which includes:
the second display module is used for displaying the rich media card list on the current display page of the graphical user interface;
the second control module is used for responding to the sliding operation acted on the graphical user interface and controlling the exposure area ratio of the rich media cards in the rich media card column;
the fourth determining module is used for responding to the stop of the sliding operation and determining at least one rich media card to be played according to the exposure area ratio; the exposure area ratio is the ratio of the exposure area of the rich media card to the total area of the rich media card;
and the second playing module is used for selecting a target rich media card from the at least one rich media card to be played for playing according to the sliding direction of the sliding operation.
Fig. 5 depicts a structure of an electronic device 600 according to an embodiment of the present invention, where the electronic device 600 includes: at least one processor 601, at least one network interface 604 or other user interface 603, memory 605, at least one communication bus 602. A communication bus 602 is used to enable connectivity communication between these components. The electronic device 600 optionally contains a user interface 603 including a display (e.g., touchscreen, LCD, CRT, Holographic (Holographic) or projection (Projector), etc.), a keyboard or a pointing device (e.g., mouse, trackball (trackball), touch pad or touchscreen, etc.).
The memory 605 may include both read-only memory and random access memory and provides instructions and data to the processor 601. A portion of the memory 605 may also include non-volatile random access memory (NVRAM).
In some embodiments, memory 605 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof:
an operating system 6051 containing various system programs for implementing various basic services and for processing hardware-based tasks;
the application module 6052 contains various applications, such as a desktop (launcher), a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services.
In embodiments of the present invention, processor 601 is used to perform steps in a method such as rich media card playback by invoking programs or instructions stored in memory 605.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs steps in a method such as rich media card playing.
Specifically, the storage medium can be a general-purpose storage medium, such as a removable disk, a hard disk, and the like, and when a computer program on the storage medium is executed, the method for playing the rich media card can be executed, so that the playing efficiency of the rich media card can be improved.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the present disclosure, which should be construed in light of the above teachings. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (9)
1. A method of rich media card playback, the method comprising:
displaying a rich media card list on a current display page of the graphical user interface;
controlling an exposure area ratio of the rich media cards in the rich media card column in response to a sliding operation acting on the graphical user interface;
responding to the stop of the sliding operation, and determining at least one rich media card to be played according to the exposure area ratio; the exposure area ratio is the ratio of the exposure area of the rich media card to the total area of the rich media card;
selecting a target rich media card from the at least one rich media card to be played for playing according to the playing priority of the at least one rich media card to be played; wherein the playing priority is determined according to the following information: the category priority of the playing content category of the rich media card to be played; the category priority of the playing content category of the rich media card to be played is dynamically adjusted according to the operation times of the rich media card of each playing content category; the operation times comprise operation times of a negative operation behavior and operation times of a positive operation behavior; the negative operation behavior is used for carrying out negative adjustment on the current category priority of the playing content category; the forward operation behavior is used for performing forward adjustment on the current category priority of the playing content category;
the selecting a target rich media card from the at least one rich media card to be played for playing according to the playing priority of the at least one rich media card to be played includes:
playing the rich media card with the highest playing priority in the rich media cards to be played as the target rich media card;
the playing the rich media card with the highest playing priority in the rich media cards to be played as the target rich media card comprises the following steps:
if at least two rich media cards with the highest playing priority exist in the rich media cards to be played, selecting a target rich media card from the rich media cards with the highest playing priority in the rich media cards to be played for playing according to the latest playing time information of the rich media cards to be played, and storing data resources corresponding to the target rich media card in a preset time period.
2. The method of claim 1, wherein determining the playback priority further comprises information to:
and the position information of the rich media card to be played.
3. The method of claim 2, wherein when the playing priority is determined according to the playing content category of the rich media cards to be played, the selecting a target rich media card from the at least one rich media card to be played for playing according to the playing priority of the at least one rich media card to be played comprises:
and playing the rich media card with the highest category priority in the rich media cards as the target rich media card according to the category priority of the at least one rich media card to be played.
4. The method of claim 2, wherein when the playing priority is determined according to the latest playing time information of the rich media cards to be played, the selecting a target rich media card from the at least one rich media card to be played for playing according to the playing priority of the at least one rich media card to be played comprises:
and playing the rich media card with the latest playing time as the target rich media card from the rich media cards played in the latest preset time period.
5. The method of claim 3, wherein the category priority of the rich media card to be played is determined according to the steps of:
and aiming at each playing content category, dynamically adjusting the category priority of each playing content category according to the operation times of the rich media card of the playing content category.
6. The method of claim 5, wherein the dynamically adjusting the category priority of each playing content category according to the operation times of the rich media cards of the playing content category for each playing content category comprises:
for each play content category, when detecting the forward operation behavior of the rich media card under the play content category, according to the operation times of the forward operation behavior of the rich media card of the play content category, performing forward adjustment on the current category priority of the play content category to determine the category priority of the play content category; the forward operation behavior refers to an operation behavior showing interest in the rich media card in the playing content category;
for each playing content category, when a negative operation behavior for the rich media card under the playing content category is detected, performing negative adjustment on the current category priority of the playing content category according to the operation times of the negative operation behavior of the rich media card of the playing content category to determine the category priority of the playing content category; the negative operation behavior refers to operation behavior showing no interest in the rich media cards in the playing content category.
7. A rich media card playing device is applied to a terminal device, a graphical user interface of a target application is rendered on a display screen of the terminal device, and the device comprises:
the first display module is used for displaying a rich media card list on a current display page of the graphical user interface;
the first control module is used for responding to the sliding operation acted on the graphical user interface and controlling the exposure area ratio of the rich media cards in the rich media card column;
the first determining module is used for determining at least one rich media card to be played according to the exposure area ratio in response to the stop of the sliding operation; the exposure area ratio is the ratio of the exposure area of the rich media card to the total area of the rich media card;
the first playing module is used for selecting a target rich media card from the at least one rich media card to be played for playing according to the playing priority of the at least one rich media card to be played; wherein the playing priority is determined according to the following information: the category priority of the playing content category of the rich media card to be played; the category priority of the playing content category of the rich media card to be played is dynamically adjusted according to the operation times of the rich media card of each playing content category; the operation times comprise operation times of a negative operation behavior and operation times of a positive operation behavior; the negative operation behavior is used for carrying out negative adjustment on the current category priority of the playing content category; the forward operation behavior is used for performing forward adjustment on the current category priority of the playing content category;
the first playing module comprises a first target rich media card playing unit:
the first target rich media card playing unit is used for playing the rich media card with the highest playing priority in the rich media cards to be played as the target rich media card;
the first target rich media card playing unit comprises a second target rich media card playing unit;
the second target rich media card playing unit is configured to, if there are at least two rich media cards with the highest playing priority in the rich media cards to be played, select a target rich media card from the rich media cards with the highest playing priority in the rich media cards to be played for playing according to the latest playing time information of the rich media cards to be played, and store the data resource corresponding to the target rich media card in a preset time period.
8. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is running, the machine readable instructions when executed by the processor performing the steps of the method of rich media card playing of any of claims 1-6.
9. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of rich media card playback of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910985131.2A CN110737384B (en) | 2019-10-16 | 2019-10-16 | Method, device, electronic equipment and medium for playing rich media card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910985131.2A CN110737384B (en) | 2019-10-16 | 2019-10-16 | Method, device, electronic equipment and medium for playing rich media card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110737384A CN110737384A (en) | 2020-01-31 |
CN110737384B true CN110737384B (en) | 2022-02-08 |
Family
ID=69269188
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910985131.2A Active CN110737384B (en) | 2019-10-16 | 2019-10-16 | Method, device, electronic equipment and medium for playing rich media card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110737384B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111966440A (en) * | 2020-08-27 | 2020-11-20 | 广州华多网络科技有限公司 | Display control method and device of information flow interface, terminal and storage medium |
CN113204656A (en) * | 2021-03-31 | 2021-08-03 | 北京达佳互联信息技术有限公司 | Multimedia resource display method, device, equipment and storage medium |
CN113220954A (en) * | 2021-05-11 | 2021-08-06 | 深圳市火乐科技发展有限公司 | Information display method and device and projection equipment |
CN113918739B (en) * | 2021-09-29 | 2025-09-23 | 北京搜狗科技发展有限公司 | Data interaction method, device and electronic device |
CN114217715B (en) * | 2021-12-14 | 2025-01-28 | 京东方科技集团股份有限公司 | Rich media playback page control method, device, electronic device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103139622A (en) * | 2011-11-23 | 2013-06-05 | 上海博泰悦臻网络技术服务有限公司 | Vehicle-mounted video-on-demand system and vehicle-mounted video-on-demand method |
CN107995536A (en) * | 2017-11-28 | 2018-05-04 | 百度在线网络技术(北京)有限公司 | A kind of method, apparatus, equipment and computer-readable storage medium for extracting video preview |
CN108881998A (en) * | 2018-08-13 | 2018-11-23 | 北京搜狐新动力信息技术有限公司 | A kind of video broadcasting method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9143840B2 (en) * | 2013-05-20 | 2015-09-22 | Veenome, Inc. | Systems and methods for evaluating online videos |
-
2019
- 2019-10-16 CN CN201910985131.2A patent/CN110737384B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103139622A (en) * | 2011-11-23 | 2013-06-05 | 上海博泰悦臻网络技术服务有限公司 | Vehicle-mounted video-on-demand system and vehicle-mounted video-on-demand method |
CN107995536A (en) * | 2017-11-28 | 2018-05-04 | 百度在线网络技术(北京)有限公司 | A kind of method, apparatus, equipment and computer-readable storage medium for extracting video preview |
CN108881998A (en) * | 2018-08-13 | 2018-11-23 | 北京搜狐新动力信息技术有限公司 | A kind of video broadcasting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110737384A (en) | 2020-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110737384B (en) | Method, device, electronic equipment and medium for playing rich media card | |
CN107341018B (en) | Method and device for continuously displaying view after page switching | |
US8756516B2 (en) | Methods, systems, and computer program products for interacting simultaneously with multiple application programs | |
US9483475B2 (en) | Content recommendation method | |
CN109005283B (en) | Method, device, terminal and storage medium for displaying notification message | |
US10943055B1 (en) | Systems and methods for templated, configurable, responsive content items | |
US11388132B1 (en) | Automated social media replies | |
US20100169826A1 (en) | Prioritized presentation of content | |
CN112269917B (en) | Media resource display method and device, equipment, system and storage medium | |
US20160004761A1 (en) | Person-based display of posts in social network | |
US11347818B2 (en) | Notifying users of relevant content | |
CN111436006A (en) | Method, device, equipment and storage medium for displaying information on video | |
CN113286201B (en) | Recommendation information display method and device, electronic equipment and storage medium | |
CN106445997B (en) | Information processing method and server | |
CN112764631A (en) | Page display method and device, computer equipment and storage medium | |
CN112307315A (en) | Intelligent service recommendation method and device | |
US11995751B2 (en) | Video preview method and apparatus, and non-transitory computer-readable storage medium | |
KR20160072015A (en) | Device and method for arranging contents displayed on the screen | |
EP3785102B1 (en) | Context aware skim-read friendly text view | |
US9578258B2 (en) | Method and apparatus for dynamic presentation of composite media | |
CN112533032A (en) | Video data processing method and device and storage medium | |
CN113742573B (en) | Multimedia resource searching method, device, computer equipment and storage medium | |
CN117083607A (en) | System and method for generating queries and responses based on application metadata | |
CN112083811A (en) | Candidate item display method and device | |
JP7297829B2 (en) | Information display control device, method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |