CN113949934B - Dynamic video content playing control method, device, medium and computer equipment - Google Patents

Dynamic video content playing control method, device, medium and computer equipment Download PDF

Info

Publication number
CN113949934B
CN113949934B CN202111216988.1A CN202111216988A CN113949934B CN 113949934 B CN113949934 B CN 113949934B CN 202111216988 A CN202111216988 A CN 202111216988A CN 113949934 B CN113949934 B CN 113949934B
Authority
CN
China
Prior art keywords
list
controls
information flow
list controls
video content
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
Application number
CN202111216988.1A
Other languages
Chinese (zh)
Other versions
CN113949934A (en
Inventor
卢培洪
曹异成
曾庆松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Cubesili Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Cubesili Information Technology Co Ltd filed Critical Guangzhou Cubesili Information Technology Co Ltd
Priority to CN202111216988.1A priority Critical patent/CN113949934B/en
Publication of CN113949934A publication Critical patent/CN113949934A/en
Application granted granted Critical
Publication of CN113949934B publication Critical patent/CN113949934B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the application provides a method, a device, a medium and a computer device for controlling playing of dynamic video content, wherein the method comprises the following steps: in the information flow display interface, responding to touch operation on the dynamic information flow list, and acquiring position information of a plurality of second list controls playing the dynamic video content from the dynamic information flow list; obtaining the number of second list controls which are not off-screen according to the position information; when the number of the second list controls which are not off-screen is smaller than a preset playing bit number threshold value, a plurality of third list controls which are not playing the dynamic video content, corresponding weight scores, corresponding playing bit consumption values and available playing bit numbers are obtained; selecting a plurality of list controls to be played from the plurality of third list controls; the embodiment of the application can prevent excessive occupation of playing resources, lighten visual fatigue and guide a user to pay attention to the dynamic video content related to the product.

Description

Dynamic video content playing control method, device, medium and computer equipment
Technical Field
The embodiment of the application relates to the field of information display, in particular to a method, a device, a medium and computer equipment for controlling playing of dynamic video content.
Background
With the informatization and the massive emergence of information in society, more and more applications provide information flow display interfaces for users to quickly browse information. In the information flow display interface, the information flow content is generally displayed in the form of an information flow list, and the information flow list generally comprises a plurality of list controls; each list control corresponds to one piece of information flow content; the information flow content can be static content or dynamic video content. The user can browse the information flow content through the sliding list control on the information flow display interface.
In the process of realizing the invention, the inventor finds that: when the plurality of list controls of the information flow list respectively correspond to the plurality of dynamic video contents, if all the list controls are controlled to play the corresponding dynamic video contents, playing resources are excessively occupied, visual fatigue is brought to a user, and the user cannot be effectively guided to pay attention to the related dynamic video contents.
Disclosure of Invention
In order to overcome the problems in the related art, the application provides a method, a device, a medium and a computer device for controlling playing of dynamic video content, which can prevent excessive occupation of playing resources, alleviate visual fatigue and guide users to pay attention to related dynamic video content.
According to a first aspect of embodiments of the present application, there is provided a method for controlling playing of dynamic video content, including the steps of:
in an information flow display interface, responding to touch operation on a dynamic information flow list, and acquiring a plurality of first list controls currently displayed from the dynamic information flow list;
acquiring position information of a plurality of second list controls playing dynamic video content in a plurality of first list controls displayed currently;
according to the position information of the plurality of second list controls, the number of second list controls which are not off-screen is obtained, the second list controls which are off-screen are controlled to stop playing the dynamic video content, and the second list controls which are off-screen are marked as played list controls;
when the number of the second list controls which are not off-screen is smaller than a preset playing bit number threshold, a plurality of third list controls which are not playing the dynamic video content, weight scores corresponding to the third list controls, playing bit consumption values corresponding to the third list controls and available playing bit numbers of the information flow display interface are obtained from the dynamic information flow list;
when a plurality of third list controls comprise played list controls and play bit consumption values corresponding to the played list controls are smaller than the number of available play bits, controlling the played list controls to play corresponding dynamic video contents;
Obtaining the number of the remaining available playing bits according to the playing bit consumption value corresponding to the played list control and the number of the available playing bits; removing the played list control from the third list controls to obtain the rest third list controls;
selecting a plurality of list controls to be played from the rest of the plurality of third list controls according to the weight scores corresponding to the rest of the plurality of third list controls, the corresponding play bit consumption values and the rest of the available play bit numbers;
and controlling the list control to be played to play the corresponding dynamic video content.
According to a second aspect of embodiments of the present application, there is provided a dynamic video content play control device, including:
the first list control acquisition module is used for responding to the touch operation on the dynamic information flow list on the information flow display interface and acquiring a plurality of first list controls currently displayed from the dynamic information flow list;
the position information acquisition module is used for acquiring the position information of a plurality of second list controls playing the dynamic video content in a plurality of first list controls displayed at present;
The control number acquisition module is used for acquiring the number of second list controls which are not off-screen according to the position information of the plurality of second list controls;
the data acquisition module is used for acquiring a plurality of third list controls which do not play the dynamic video content, weight scores corresponding to the third list controls, play bit consumption values corresponding to the third list controls and the available play bit number of the information flow display interface from the dynamic information flow list when the number of the second list controls which do not leave the screen is smaller than a preset play bit number threshold;
the to-be-played list control acquisition module is used for controlling the played list controls to play the corresponding dynamic video content when a plurality of third list controls comprise played list controls and play bit consumption values corresponding to the played list controls are smaller than the number of available play bits; obtaining the number of the remaining available playing bits according to the playing bit consumption value corresponding to the played list control and the number of the available playing bits; removing the played list control from the third list controls to obtain the rest third list controls; selecting a plurality of list controls to be played from the rest of the plurality of third list controls according to the weight scores corresponding to the rest of the plurality of third list controls, the corresponding play bit consumption values and the rest of the available play bit numbers;
And the dynamic video content playing module is used for controlling the list control to be played to play the corresponding dynamic video content.
According to a third aspect of embodiments of the present application, there is provided a computer device comprising a processor and a memory; the memory stores a computer program adapted to be loaded by the processor and to perform the dynamic video content play control method as described above.
According to a fourth aspect of embodiments of the present application, there is provided a computer-readable storage medium having stored thereon a computer program, characterized in that the computer program, when executed by a processor, implements a dynamic video content play control method as described above.
According to the method, a plurality of first list controls which are displayed currently are obtained from a dynamic information flow list through responding to touch operation on the dynamic information flow list on an information flow display interface; acquiring position information of a plurality of second list controls playing dynamic video content in a plurality of first list controls displayed currently; obtaining the number of second list controls which are not off-screen according to the position information of the plurality of second list controls; when the number of the second list controls which are not off-screen is smaller than a preset playing bit number threshold, a plurality of third list controls which are not playing the dynamic video content, weight scores corresponding to the third list controls, playing bit consumption values corresponding to the third list controls and available playing bit numbers of the information flow display interface are obtained from the dynamic information flow list; selecting a plurality of list controls to be played from a plurality of third list controls according to the weight scores corresponding to the third list controls, the play bit consumption values corresponding to the third list controls and the available play bit number of the information flow display interface; the list control to be played is controlled to play the corresponding dynamic video content, so that excessive occupied playing resources can be prevented, visual fatigue is reduced, and a user can be effectively guided to pay attention to the dynamic video content related to the product by setting weight scores, playing bit consumption values and available playing bit numbers.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
For a better understanding and implementation, the present invention is described in detail below with reference to the drawings.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic block diagram of an application environment of a dynamic video content playing control method according to an embodiment of the present application;
fig. 2 is a flowchart of a method for controlling playing of dynamic video content according to a first embodiment of the present application;
FIG. 3 is an interface diagram of a dynamic information flow list according to one embodiment of the present application;
fig. 4 is a schematic diagram of a display effect before sliding a dynamic information list according to an embodiment of the present application:
fig. 5 is a schematic diagram of a display effect after a dynamic information list is slid according to an embodiment of the present application:
FIG. 6 is a display effect diagram of a list control corresponding to different play bit consumption values according to an embodiment of the present application;
FIG. 7 is a schematic representation of the distance between a list control and a dynamic information list according to one embodiment of the present application;
FIG. 8 is a schematic diagram of selecting a list control to play provided in one embodiment of the present application;
FIG. 9 is a schematic diagram of selecting a list control to play provided in another embodiment of the present application;
FIG. 10 is a schematic diagram of selecting a list control to play provided in accordance with yet another embodiment of the present application;
FIG. 11 is a flowchart of a method for implementing playback control of dynamic video content using a protocol according to one embodiment of the present application;
fig. 12 is a schematic block diagram of a dynamic video content playing control device according to a second embodiment of the present application;
fig. 13 is a schematic block diagram of a computer device according to a third embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the embodiments of the present application, are within the scope of the embodiments of the present application.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. In the description of this application, it should be understood that the terms "second," "third," and the like are used merely to distinguish between similar objects and are not necessarily used to describe a particular order or sequence, nor should they be construed to indicate or imply relative importance. The specific meaning of the terms in this application will be understood by those of ordinary skill in the art as the case may be. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The word "if"/"if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination".
Furthermore, in the description of the present application, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Referring to fig. 1, fig. 1 is a schematic application scenario diagram of a dynamic video content playing control method according to an embodiment of the present application, where the application scenario includes a dynamic video content playing control terminal 110. The hardware to which the motion video content playback control terminal 110 is directed is essentially a computer device having the performance of a personal computer or the like, and is a hardware device having a central processing unit (including an arithmetic unit and a controller), a memory, an input device, and an output device, which are essential components disclosed by von neumann's principle; the computer program is stored in the memory, the CPU calls the program stored in the external memory into the memory to run, and the instructions in the program are executed to interact with the input and output equipment, thereby completing the specific function. Alternatively, the dynamic video content playing control terminal 110 may be any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant, a personal digital assistant), a wearable device, etc., which is not limited in this application.
The dynamic video content play control terminal 110 may be installed with at least one type of operating system, wherein the operating system includes, but is not limited to, an android system, a Linux system, and a Windows system. The dynamic video content playing control terminal 110 may further be provided with at least one application program, where the application program may be an application program carried by an operating system, or may be an application program downloaded from a third party device or a server. The application program is provided with a information flow display interface, and a dynamic information flow list is displayed on the information flow display interface.
It should be noted that the application scenario in fig. 1 is only an exemplary application scenario, and is not intended to limit the scheme of the present invention. The scheme of the invention can also be applied to other forms of network live broadcast application scenes, and the description of the scheme is omitted.
Fig. 2 is a flowchart of a method for controlling playing of dynamic video content according to a first embodiment of the present application. The method for controlling playing of dynamic video content provided in the first embodiment of the present application is executed by the dynamic video content playing control terminal 110 as an execution subject, and specifically includes the following steps:
step S101: and responding to touch operation on a dynamic information flow list on an information flow display interface, and acquiring a plurality of first list controls currently displayed from the dynamic information flow list.
The information flow display interface is an interface for displaying information flow on the display interface of the dynamic video content playing control terminal 110. For example, the information stream display interface is an interface for displaying an information stream on a display interface of an application installed in the dynamic video content play control terminal 110.
The broad definition of information flow refers to the communication of information by people in a variety of ways, ranging from face-to-face direct conversation to the use of various modern transmission media, including channels and processes for the collection, transmission, processing, storage, retrieval, analysis, etc. of information. The narrow definition of information flow refers to the flow of information in computer systems and communication networks during information processing from the point of view of modern information technology research, development, and application. Specifically, the information stream may be a static information stream, for example, may be a static diagram or static text; the information stream may also be a dynamic information stream, for example, an audio-visual or other representation, which is not limited in this application.
The information flow list is composed of list controls corresponding to each information flow displayed on the information flow display interface. Each information stream loads a display with a corresponding list control. In the implementation of the present application, the dynamic information flow list refers to an information flow list including a plurality of list controls for displaying dynamic information flows.
Referring to FIG. 3, an interface diagram of a dynamic information flow list provided by one embodiment of the present application is shown; the stream display interface 111 of one application of the motion video content play control terminal 110 displays a motion stream list 112, and motion stream controls 1121 for moving pictures, audios, videos, and the like are added to the motion stream list 112 in a block manner. Each list control 1121 has a corresponding boundary, occupies a certain area on the dynamic information flow list 112, and corresponds to a certain presentation area 1122. The dynamic information flow list 112 may receive a sliding touch operation of a user to perform up-and-down sliding, and in addition, a sliding bar 1123 may be displayed on one side of the dynamic information flow list 112, and when the information in the dynamic information flow list 112 flows more, the user may rapidly perform up-and-down sliding on the dynamic information flow list 112 and accurately position a certain position in the dynamic information flow list 112 by operating the sliding bar 1123 on the sliding bar.
The user may enter the detail interface corresponding to the dynamic information stream by clicking the list control 1121 corresponding to the dynamic information stream to browse the detailed information of the dynamic information stream, for example, when the user clicks the list control 1121 corresponding to the audio/video information stream, the audio/video information stream may be played.
The information flow display interface 111 is an area with a fixed position, and in response to a touch operation on the dynamic information flow list 112, for example, when the dynamic information flow list 112 is slid, the list control 1121 of the dynamic information flow list 112 changes a position correspondence relationship with the information flow display interface 111, so that the information flow display interface 111 displays only the dynamic information flow corresponding to the list control 1121 therein. For example, dynamic information flow list 112 includes 6 list controls, and the information flow display interface shown in FIG. 4 displays 4 list controls: list control a, list control B, list control C, and list control D, when dynamic information flow list 112 is slid down, the information flow display interface as shown in fig. 5 also displays 4 list controls, which become: list control C, list control D, list control E, and list control F. In the embodiment of the application, in response to a touch operation on a dynamic information flow list, a plurality of first list controls displayed on an information flow display interface are obtained, for example, a list control C, a list control D, a list control E and a list control F after sliding.
The touch operation on the dynamic information flow list includes, but is not limited to: the operation of triggering the display of the dynamic information flow list, the operation of refreshing the dynamic information flow list, or the operation of sliding the dynamic information flow list, or other touch operations is not limited in this application. That is, after the dynamic video content playing control terminal responds to the touch operation, a plurality of first list controls currently displayed are obtained from the dynamic information flow list.
Step S102: and acquiring the position information of a plurality of second list controls playing the dynamic video content in the plurality of first list controls currently displayed.
The location information may be a location coordinate of the second list control at the information flow display interface. The location information may also be a positional relationship of the second list control on the information flow display interface. For example, a distance of a top of the second list control from a top of the information flow display interface, and/or a distance of a bottom of the second list control from a bottom of the information flow display interface, etc.
Step S103: and obtaining the number of second list controls which are not off-screen according to the position information of the plurality of second list controls.
Optionally, the second list control that leaves the screen is a list control that leaves a preset range of the information flow display interface, and the corresponding second list control that does not leave the screen is a list control that does not leave the preset range of the information flow display interface.
Step S104: and when the number of the second list controls which are not off-screen is smaller than a preset playing bit number threshold, acquiring a plurality of third list controls which are not playing the dynamic video content, weight scores corresponding to the third list controls, playing bit consumption values corresponding to the third list controls and the available playing bit number of the information flow display interface from the dynamic information flow list.
The weight score is used for indicating the importance degree of the dynamic video content displayed by the list control, and the greater the weight score is, the greater the importance degree of the dynamic video content is, the smaller the weight score is, and the importance degree of the dynamic video content is smaller. Whether to play the dynamic video content is conveniently and flexibly configured according to the requirements by setting the weight scores, so that a user is guided to pay attention to the dynamic video content of the requirements.
The play bit consumption value is used to indicate the area the list control occupies on the list. Each list control occupies a certain area in the list in the form of a block, and the areas occupied by different list controls are different. Referring to FIG. 6, for list control A, list control B, and list control C; the list control B is a list control with larger area, and if other list controls are played, the player bit consumption value of the list control B can be increased if the player is too robbed visually.
The number of available playing bits is the number of playable dynamic video contents set on the information flow display interface, and the size of the available playing bits can be flexibly configured according to the actual operation requirement, so that the number of resources caused by playing all dynamic video contents is avoided, and meanwhile, the visual fatigue caused by browsing all dynamic video contents by a user is reduced.
And when the number of the second list controls which are not off-screen is smaller than a preset playing bit number threshold, the second list controls which are not off-screen are still kept to continuously play the corresponding dynamic video content. And when the number of the second list controls which are not off-screen is equal to a preset play bit number threshold, only keeping the second list controls which are not off-screen to continuously play the corresponding dynamic video content, and not selecting new list controls to be played.
Step S105: and selecting a plurality of list controls to be played from a plurality of third list controls according to the weight scores corresponding to the third list controls, the play bit consumption values corresponding to the third list controls and the available play bit quantity of the information flow display interface.
Step S106: and controlling the list control to be played to play the corresponding dynamic video content.
According to the method, a plurality of first list controls which are displayed currently are obtained from a dynamic information flow list through responding to touch operation on the dynamic information flow list on an information flow display interface; acquiring position information of a plurality of second list controls playing dynamic video content in a plurality of first list controls displayed currently; obtaining the number of second list controls which are not off-screen according to the position information of the plurality of second list controls; when the number of the second list controls which are not off-screen is smaller than a preset playing bit number threshold, a plurality of third list controls which are not playing the dynamic video content, weight scores corresponding to the third list controls, playing bit consumption values corresponding to the third list controls and available playing bit numbers of the information flow display interface are obtained from the dynamic information flow list; selecting a plurality of list controls to be played from a plurality of third list controls according to the weight scores corresponding to the third list controls, the play bit consumption values corresponding to the third list controls and the available play bit number of the information flow display interface; the list control to be played is controlled to play the corresponding dynamic video content, so that excessive occupied playing resources can be prevented, visual fatigue is reduced, and a user can be effectively guided to pay attention to the dynamic video content related to the product by setting weight scores, playing bit consumption values and available playing bit numbers.
In one embodiment, the step of obtaining, at the information flow display interface in step S101, a number of first list controls currently displayed from the dynamic information flow list in response to a touch operation on the dynamic information flow list includes:
acquiring a display state of an application program where the information flow display interface is located, and when the display state meets preset conditions, responding to touch operation on a dynamic information flow list, and acquiring a plurality of first list controls currently displayed from the dynamic information flow list; the display state comprises a foreground state and a background state of the application program and/or a network state of the application program connection.
The preset condition may be that the application is in a foreground state and/or that the application uses a connected network state is in a non-cellular network connection state, for example, that the application uses a connected network state is a wifi connection state, etc. The preset condition may be other limited state conditions, which are not limited in the present application.
Optionally, when the display state does not meet a preset condition, for example, when the application program is in a background state and/or the application program uses a connected network state to be in a cellular network connection state, playing of the corresponding dynamic video content by all list controls in the dynamic information flow list is stopped, so that the flow is saved and the resource occupation is saved.
According to the method and the device for controlling the dynamic video content playing, when the display state of the application program where the information flow display interface is located is foreground display and/or non-cellular network connection state, touch operation on a dynamic information flow list is responded, a plurality of list controls which are currently displayed are obtained from the dynamic information flow list, and therefore dynamic video content is played only when a user uses the information flow display interface of the non-cellular network browsing application program, the dynamic video content playing control method is enabled to meet actual use requirements of the user more, and user experience is improved.
In one embodiment, the location information includes a distance of a top of the second list control from a top of the information flow display interface and a distance of a bottom of the second list control from a bottom of the information flow display interface; judging that the second list control is off-screen when the distance between the top of the second list control and the top of the information flow display interface is smaller than a first preset distance or the distance between the bottom of the second list control and the bottom of the information flow display interface is smaller than a second preset distance; and if not, judging that the second list control is not off-screen.
The top coordinate value and the bottom coordinate value of the second list control are top Y and bottom Y, the top coordinate value of the dynamic information flow list is top Y and bottom Y, the first preset distance is top N, the second preset distance is bottom N, and if top Y-top Y < top N, or bottom Y-bottom Y > bottom N, the second list control is off-screen.
It can be understood that the first preset distance and the second preset distance can be set according to actual requirements, and optionally, the first preset distance and the second preset distance are set according to a distance from the top of the information flow display interface to the bottom of the information flow display interface; for example, a first preset distance may be set to 0, that is, when a distance between the top of the second list control and the top of the information flow display interface is 0, it is determined that the second list control is off-screen; the first preset distance may be set to be less than 50% of the distance from the top of the information flow display interface to the bottom of the information flow display interface, that is, the distance between the top of the second list control and the top of the information flow display interface is less than 50% of the distance from the top of the information flow display interface to the bottom of the information flow display interface, and the second list control is judged to be off-screen. Referring to fig. 7, if a distance S1 between the top of the second list control and the top of the information flow display interface is smaller than a first preset distance, or a distance S2 between the bottom of the second list control and the bottom of the information flow display interface is smaller than a second preset distance, the second list control is off-screen.
On the basis of the foregoing embodiment, after the step of obtaining the number of second list controls that are not off-screen according to the position information of the plurality of second list controls, the method includes: and controlling the off-screen second list control to stop playing the dynamic video content so as to release playing resources and reduce the waste of the resources.
In one embodiment, after the step of stopping playing the dynamic video content, the step of controlling the off-screen second list control further includes:
after the step of (a), further comprising: and marking the second list control which is off-screen as a played list control.
In step S105, the step of selecting a list control to be played from a plurality of third list controls according to the weight score corresponding to each third list control, the play bit consumption value corresponding to each third list control, and the number of available play bits of the information flow display interface includes:
step S10511: and when the play bit consumption value corresponding to the play list control is smaller than the number of available play bits, controlling the play list control to play the corresponding dynamic video content.
Step S10512: obtaining the number of the remaining available playing bits according to the playing bit consumption value corresponding to the played list control and the number of the available playing bits; and removing the played list control from the third list control pieces to obtain the rest third list control pieces.
Step S10513: and selecting a list control to be played from the rest of the plurality of third list controls according to the weight scores corresponding to the rest of the plurality of third list controls, the corresponding play bit consumption values and the rest of available play bit numbers.
For example, when the user slides down the dynamic information stream list, the information stream display interface plays the dynamic video content and has a second list control a, a list control B, a list control C and a list control D, at this time, the second list control C leaves the screen, controls the second list control C to stop playing the dynamic video content, and marks the second list control C as a played list control. Then, referring to fig. 8, if the user slides the dynamic information flow list upwards again to change the second list control C into a non-off-screen list control, the information flow display interface is playing the dynamic video content and includes a second list control B, a list control C, a list control D and a list control E, at this time, the number of available playing bits is 2, the playing bit consumption value corresponding to the second list control C is 1, that is, the playing bit consumption value corresponding to the played list control is smaller than the number of available playing bits, and then the second list control C is controlled to play the corresponding dynamic video content. Then, from the second list control B, the list control D and the list control E, according to the weight scores, the play bit consumption values and the remaining 1 available play bit numbers corresponding to the second list control B, the list control D and the list control E, determining the list control to be played, for example, when the weight scores corresponding to the second list controls B, D and E are 8, 5 and 1, and the corresponding play bit consumption values are 1, 2 and 1, respectively, determining that the list control to be played is the second list control D.
According to the embodiment of the application, the played list control is played back preferentially, so that dynamic video content corresponding to the played list control is prevented from jumping back and forth between playing and non-playing when a user slides the dynamic information list up and down, and user experience of the user is reduced.
In one embodiment, in step S105, the step of selecting a list control to be played from a plurality of third list controls according to the weight score corresponding to each third list control, the play bit consumption value corresponding to each third list control, and the number of play bits available on the information flow display interface includes:
step S10521: and sequencing the third list controls according to the weight scores from large to small to obtain sequenced third list controls.
Step S10522: and sequentially selecting a plurality of list controls to be played from the ordered third list controls according to the play bit consumption values and the available play bit numbers corresponding to the third list controls, so that the sum of the play bit consumption values corresponding to the plurality of list controls to be played is smaller than or equal to the available play bit numbers.
For example, referring to fig. 9, assume that the number of available playing bits is 2, and a plurality of third list controls that do not play dynamic video content are obtained from the dynamic information stream list are a third list control a, a third list control B, a third list control C and a third list control D; the weight scores corresponding to the third list control A, the third list control B, the third list control C and the third list control D are 1,5,2 and 8; and if the play bit consumption values corresponding to the third list control A, the third list control B, the third list control C and the third list control D are all 1, selecting the third list control D and the third list control B as list controls to be played.
Referring to fig. 10, assuming that the number of available playing bits is 2, a plurality of third list controls that do not play dynamic video content are obtained from the dynamic information stream list, and the third list controls are a third list control a, a third list control B, a third list control C and a third list control D; the weight scores corresponding to the third list control A, the third list control B, the third list control C and the third list control D are 1,5,2 and 8; the play bit consumption values corresponding to the third list control A, the third list control B, the third list control C and the third list control D are 1,2,1 and 1 respectively, and the sum of the play bit consumption value corresponding to the third list control D, 1 and the play bit consumption value corresponding to the third list control B is larger than the available play bit number 2 because the play bit consumption value corresponding to the third list control D is 1 and the play bit consumption value corresponding to the third list control B is 2, so that the third list control D and the third list control C are selected as list controls to be played.
The dynamic video content playing control method is used for uniformly executing the specific characteristics on the judging and playing list control from the code level. Thus, the list control properties can be abstracted into the following property protocol methods: whether supplrCoverPlay supports play or not; startovertplay; stop-play-over-play; the coverPlayScore weight score; the overtplaycost play consumption value; the view played by the overplayview is due to the judgment of off-screen; whether the isplay is replayed or not, as shown in fig. 11, when judging whether to play and whether to leave the screen, the corresponding dynamic video content play control method can be executed by executing the corresponding protocol.
Fig. 12 is a schematic structural diagram of a dynamic video content playing control device according to a third embodiment of the present application. The dynamic video content play control apparatus 200 includes:
the first list control obtaining module 201 is configured to obtain, on an information flow display interface, a plurality of first list controls currently displayed from a dynamic information flow list in response to a touch operation on the dynamic information flow list;
the location information obtaining module 202 is configured to obtain location information of a plurality of second list controls that are playing dynamic video content from a plurality of first list controls that are currently displayed;
the control number obtaining module 203 is configured to obtain the number of second list controls that are not off-screen according to the position information of the plurality of second list controls;
the data obtaining module 204 is configured to obtain, in the dynamic information flow list, a plurality of third list controls that are not playing dynamic video content, weight scores corresponding to the third list controls, play bit consumption values corresponding to the third list controls, and available play bit numbers of the information flow display interface when the number of the second list controls that are not off-screen is less than a preset play bit number threshold;
The to-be-played list control obtaining module 205 is configured to select a plurality of to-be-played list controls from a plurality of third list controls according to weight scores corresponding to the third list controls, play bit consumption values corresponding to the third list controls, and available play bit numbers of the information flow display interface;
and the dynamic video content playing module 206 is configured to control the to-be-played list control to play the corresponding dynamic video content.
It should be noted that, when executing the method for controlling playing of dynamic video content in live broadcast, the device for controlling playing of dynamic video content provided in the second embodiment of the present application is only exemplified by the division of the above functional modules, in practical application, the above functional allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the dynamic video content playing control device provided in the second embodiment of the present application and the dynamic video content playing control method in the first embodiment of the present application belong to the same concept, which embody detailed implementation procedures and are not described herein again.
The embodiment of the dynamic video content playing control device of the second embodiment of the present application may be applied to a computer device, for example, a mobile phone terminal, where the embodiment of the device may be implemented by software, or may be implemented by hardware or a combination of hardware and software. Taking software implementation as an example, the device in a logic sense is formed by reading corresponding computer program instructions in the nonvolatile memory into the memory through a processor of the file processing where the device is located. In a hardware-level, the computer devices on which they reside may include a processor, a network interface, memory, and non-volatile storage, coupled to each other via a data bus or other well-known means.
Referring to fig. 13, which is a hardware configuration diagram of a computer device according to a third embodiment of the present application, the computer device 300 includes a processor 310, a network interface 320, a memory 330 and a nonvolatile memory 340, which are mutually coupled by a data bus or other known means. In addition to the processor 310, the network interface 320, the memory 330, and the nonvolatile memory 340 shown in fig. 11, the actual functions of the computer device described in the present application may further include other hardware, which will not be described herein.
The memory 330 or the nonvolatile memory 340 runs a computer program, for example: a dynamic video content playing control method; the processor 310, when executing the computer program, implements the steps of the first embodiment described above. The computer device also serves as a carrier of the dynamic video content playing control device of the second embodiment.
Wherein the processor 310 may include one or more processing cores. The processor 310 utilizes various interfaces and lines to connect various portions of the computer device 300, performs various functions of the computer device 300 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 340 and/or the memory 330, and invoking data in the non-volatile memory 340 and/or the memory 330, and optionally the processor 310 may be implemented in at least one hardware form in digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programble Logic Array, PLA). The processor 310 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the touch display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 310 and may be implemented by a single chip.
The nonvolatile Memory 340 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the non-volatile memory 340 may be used to store instructions, programs, code, a set of codes, or a set of instructions. The nonvolatile memory 340 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as touch instructions, etc.), instructions for implementing the various method embodiments described above, etc.; the storage data area may store data or the like referred to in the above respective method embodiments.
The third embodiment of the present application further provides a computer storage medium, where a plurality of instructions may be stored, where the instructions are adapted to be loaded by a processor and execute the method steps of the second embodiment, and the specific implementation procedure may refer to the specific description of the second embodiment, which is not repeated herein. The storage medium can be an electronic device such as a personal computer, a notebook computer, a smart phone, a tablet personal computer and the like.
Computer storage media, including both non-transitory and non-transitory, removable and non-removable media, may be implemented in any method or technology for storage of information. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer storage media, as defined herein, does not include transitory computer readable media (transmission media), such as modulated data signals and carrier waves.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks and/or block diagram block or blocks.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (8)

1. A dynamic video content playing control method is characterized by comprising the following steps:
in an information flow display interface, responding to touch operation on a dynamic information flow list, and acquiring a plurality of first list controls currently displayed from the dynamic information flow list;
acquiring position information of a plurality of second list controls playing dynamic video content in a plurality of first list controls displayed currently;
according to the position information of the plurality of second list controls, the number of second list controls which are not off-screen is obtained, the second list controls which are off-screen are controlled to stop playing the dynamic video content, and the second list controls which are off-screen are marked as played list controls;
when the number of the second list controls which are not off-screen is smaller than a preset playing bit number threshold, a plurality of third list controls which are not playing the dynamic video content, weight scores corresponding to the third list controls, playing bit consumption values corresponding to the third list controls and available playing bit numbers of the information flow display interface are obtained from the dynamic information flow list;
when a plurality of third list controls comprise played list controls and play bit consumption values corresponding to the played list controls are smaller than the number of available play bits, controlling the played list controls to play corresponding dynamic video contents;
Obtaining the number of the remaining available playing bits according to the playing bit consumption value corresponding to the played list control and the number of the available playing bits; removing the played list control from the third list controls to obtain the rest third list controls;
selecting a plurality of list controls to be played from the rest of the plurality of third list controls according to the weight scores corresponding to the rest of the plurality of third list controls, the corresponding play bit consumption values and the rest of the available play bit numbers;
and controlling the list control to be played to play the corresponding dynamic video content.
2. The dynamic video content play control method according to claim 1, wherein:
the step of selecting a plurality of list controls to be played from a plurality of third list controls according to the weight scores corresponding to the third list controls, the play bit consumption values corresponding to the third list controls and the available play bit number of the information flow display interface, includes:
sorting all the third list controls according to the weight scores from large to small to obtain sorted third list controls;
And sequentially selecting a plurality of list controls to be played from the ordered third list controls according to the play bit consumption values and the available play bit numbers corresponding to the third list controls, so that the sum of the play bit consumption values corresponding to the plurality of list controls to be played is smaller than or equal to the available play bit numbers.
3. The dynamic video content play control method according to claim 1, wherein:
the position information comprises the distance between the top of the second list control and the top of the information flow display interface and the distance between the bottom of the second list control and the bottom of the information flow display interface;
judging that the second list control is off-screen when the distance between the top of the second list control and the top of the information flow display interface is smaller than a first preset distance or the distance between the bottom of the second list control and the bottom of the information flow display interface is smaller than a second preset distance; and if not, judging that the second list control is not off-screen.
4. A dynamic video content play control method according to any one of claims 1 to 3, characterized in that:
The touch operation on the dynamic information flow list comprises the following steps: triggering an operation of displaying the dynamic information flow list, an operation of refreshing the dynamic information flow list or an operation of sliding the dynamic information flow list.
5. The method for controlling playback of dynamic video content according to claim 4, wherein:
the step of obtaining a plurality of first list controls currently displayed in the information flow display interface from the dynamic information flow list in response to touch operation on the dynamic information flow list comprises the following steps:
acquiring a display state of an application program where the information flow display interface is located, and when the display state meets preset conditions, responding to touch operation on a dynamic information flow list, and acquiring a plurality of first list controls currently displayed from the dynamic information flow list; the display state comprises a foreground state and a background state of the application program and/or a network state of the application program connection.
6. A dynamic video content play control apparatus, comprising:
the first list control acquisition module is used for responding to the touch operation on the dynamic information flow list on the information flow display interface and acquiring a plurality of first list controls currently displayed from the dynamic information flow list;
The position information acquisition module is used for acquiring the position information of a plurality of second list controls playing the dynamic video content in a plurality of first list controls displayed at present;
the control number acquisition module is used for acquiring the number of the second list controls which are not off-screen according to the position information of the plurality of second list controls, controlling the second list controls which are off-screen to stop playing the dynamic video content, and marking the second list controls which are off-screen as played list controls;
the data acquisition module is used for acquiring a plurality of third list controls which do not play the dynamic video content, weight scores corresponding to the third list controls, play bit consumption values corresponding to the third list controls and the available play bit number of the information flow display interface from the dynamic information flow list when the number of the second list controls which do not leave the screen is smaller than a preset play bit number threshold;
the to-be-played list control acquisition module is used for controlling the played list controls to play the corresponding dynamic video content when a plurality of third list controls comprise played list controls and play bit consumption values corresponding to the played list controls are smaller than the number of available play bits; obtaining the number of the remaining available playing bits according to the playing bit consumption value corresponding to the played list control and the number of the available playing bits; removing the played list control from the third list controls to obtain the rest third list controls; selecting a plurality of list controls to be played from the rest of the plurality of third list controls according to the weight scores corresponding to the rest of the plurality of third list controls, the corresponding play bit consumption values and the rest of the available play bit numbers;
And the dynamic video content playing module is used for controlling the list control to be played to play the corresponding dynamic video content.
7. A computer device comprising a processor and a memory; the memory stores a computer program adapted to be loaded by the processor and to execute the dynamic video content play control method according to any one of claims 1 to 5.
8. A computer-readable storage medium having stored thereon a computer program, which when executed by a processor implements the dynamic video content play control method according to any one of claims 1 to 5.
CN202111216988.1A 2021-10-19 2021-10-19 Dynamic video content playing control method, device, medium and computer equipment Active CN113949934B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111216988.1A CN113949934B (en) 2021-10-19 2021-10-19 Dynamic video content playing control method, device, medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111216988.1A CN113949934B (en) 2021-10-19 2021-10-19 Dynamic video content playing control method, device, medium and computer equipment

Publications (2)

Publication Number Publication Date
CN113949934A CN113949934A (en) 2022-01-18
CN113949934B true CN113949934B (en) 2024-03-29

Family

ID=79331515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111216988.1A Active CN113949934B (en) 2021-10-19 2021-10-19 Dynamic video content playing control method, device, medium and computer equipment

Country Status (1)

Country Link
CN (1) CN113949934B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744848A (en) * 2013-09-27 2014-04-23 西安酷派软件科技有限公司 Classifying and displaying method for information flow and communication terminal
CN105898610A (en) * 2015-10-15 2016-08-24 乐视网信息技术(北京)股份有限公司 Automatic video list playing method and device
CN106792089A (en) * 2016-12-15 2017-05-31 腾讯科技(深圳)有限公司 Video broadcasting method and device
WO2017181652A1 (en) * 2016-04-19 2017-10-26 乐视控股(北京)有限公司 Method and system for generating dynamic program list
CN110377853A (en) * 2019-07-04 2019-10-25 北京奇艺世纪科技有限公司 Cardon playback method, equipment and storage medium
CN110401877A (en) * 2019-07-18 2019-11-01 北京字节跳动网络技术有限公司 Control method, device, electronic equipment and the storage medium of video playing
CN110996154A (en) * 2019-12-13 2020-04-10 北京爱奇艺科技有限公司 Video playing method and device and electronic equipment
CN111935527A (en) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 Information display method, video playing method and equipment
CN111970566A (en) * 2020-08-26 2020-11-20 北京达佳互联信息技术有限公司 Video playing method and device, electronic equipment and storage medium
CN111966440A (en) * 2020-08-27 2020-11-20 广州华多网络科技有限公司 Display control method and device of information flow interface, terminal and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744848A (en) * 2013-09-27 2014-04-23 西安酷派软件科技有限公司 Classifying and displaying method for information flow and communication terminal
CN105898610A (en) * 2015-10-15 2016-08-24 乐视网信息技术(北京)股份有限公司 Automatic video list playing method and device
WO2017181652A1 (en) * 2016-04-19 2017-10-26 乐视控股(北京)有限公司 Method and system for generating dynamic program list
CN106792089A (en) * 2016-12-15 2017-05-31 腾讯科技(深圳)有限公司 Video broadcasting method and device
CN111935527A (en) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 Information display method, video playing method and equipment
CN110377853A (en) * 2019-07-04 2019-10-25 北京奇艺世纪科技有限公司 Cardon playback method, equipment and storage medium
CN110401877A (en) * 2019-07-18 2019-11-01 北京字节跳动网络技术有限公司 Control method, device, electronic equipment and the storage medium of video playing
CN110996154A (en) * 2019-12-13 2020-04-10 北京爱奇艺科技有限公司 Video playing method and device and electronic equipment
CN111970566A (en) * 2020-08-26 2020-11-20 北京达佳互联信息技术有限公司 Video playing method and device, electronic equipment and storage medium
CN111966440A (en) * 2020-08-27 2020-11-20 广州华多网络科技有限公司 Display control method and device of information flow interface, terminal and storage medium

Also Published As

Publication number Publication date
CN113949934A (en) 2022-01-18

Similar Documents

Publication Publication Date Title
CN107957831B (en) Data processing method, device and processing equipment for displaying interface content
CN104965659B (en) A kind of preloading method and device of page info
US11483264B2 (en) Information interaction method, apparatus, device, storage medium and program product
EP2840511A1 (en) System and method for dynamically converting webpage, and computer-readable recording medium
CN105992068A (en) Video file preview method and device
CN105307000A (en) Display apparatus and method thereof
CN110928626A (en) Interface switching method and device and electronic equipment
CN109254801A (en) Starting, configuration method, device, equipment, medium and operating system
CN109922298A (en) Meeting room monitoring method and device
CN111124668A (en) Memory release method and device, storage medium and terminal
CN104601535B (en) Method for processing video frequency and system
CN110727825A (en) Animation playing control method, device, server and storage medium
EP3189434A1 (en) Discovery and control of remote media sessions
CN107450951B (en) Application processing method and device, storage medium and terminal
CN112492382B (en) Video frame extraction method and device, electronic equipment and storage medium
CN113949934B (en) Dynamic video content playing control method, device, medium and computer equipment
CN111866403B (en) Video graphic content processing method, device, equipment and medium
CN108416830B (en) Animation display control method, device, equipment and storage medium
CN108271060A (en) A kind of list loading method and device
CN110990006A (en) Form management system and form generation device
CN110806909A (en) Method and device for determining page frame dropping information of application program and electronic equipment
CN107291543B (en) Application processing method and device, storage medium and terminal
CN111935548A (en) Interactive hand-drawn video production method
CN113144606A (en) Skill triggering method of virtual object and related equipment
CN114692581A (en) Electronic form sub-table display method, device, equipment and storage medium

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