CN113992950A - Playing control method, device, system and storage medium - Google Patents

Playing control method, device, system and storage medium Download PDF

Info

Publication number
CN113992950A
CN113992950A CN202111246672.7A CN202111246672A CN113992950A CN 113992950 A CN113992950 A CN 113992950A CN 202111246672 A CN202111246672 A CN 202111246672A CN 113992950 A CN113992950 A CN 113992950A
Authority
CN
China
Prior art keywords
sub
controller
playing
played
controllers
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.)
Granted
Application number
CN202111246672.7A
Other languages
Chinese (zh)
Other versions
CN113992950B (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.)
BOE Technology Group Co Ltd
Original Assignee
BOE Technology Group 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 BOE Technology Group Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202111246672.7A priority Critical patent/CN113992950B/en
Publication of CN113992950A publication Critical patent/CN113992950A/en
Application granted granted Critical
Publication of CN113992950B publication Critical patent/CN113992950B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26233Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving content or additional data duration or size, e.g. length of a movie, size of an executable file
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the disclosure provides a playing control method, a device, a system and a storage medium. The playing control method comprises the following steps: generating a central control controller and a plurality of sub-controllers; and each sub-controller plays the material under the control of the central controller. The multiple sub-controllers realize the linked playing of the materials through the control of the central controller, and the phenomenon that the playing of one or more sub-controllers is abnormal, which causes the discontinuous or unreal playing effect of the screen playing picture is avoided, so that the user experience is improved.

Description

Playing control method, device, system and storage medium
Technical Field
The present disclosure relates to, but not limited to, the field of display technologies, and in particular, to a play control method, apparatus, system, and storage medium.
Background
With the continuous development and progress of science and technology, the application of display technology in daily life and work is increasingly wide, and the problem of poor experience of material playing users exists in the process of playing video, pictures, characters and other materials in the existing display products.
Disclosure of Invention
The problem to be solved by the embodiments of the present disclosure is to provide a playing control method, device, system and storage medium, so as to overcome the problem that the user experience of the existing material playing is not good.
In order to solve the above technical problem, an embodiment of the present disclosure provides a play control method, which is applied to a play control device, and the play control method includes:
generating a central control controller and a plurality of sub-controllers;
and each sub-controller plays the material under the control of the central controller.
In an exemplary embodiment, the generation center controller and the plurality of sub-controllers include:
acquiring a configuration file, and generating the central control controller, wherein the configuration file comprises: template type, multiple material lists;
and generating a plurality of playing components according to the template type, generating a plurality of sub-controllers which are in one-to-one correspondence with the playing components in the process of generating the playing components, and adding a plurality of material lists which are in one-to-one correspondence with the playing components in the configuration file into the corresponding sub-controllers.
In an exemplary embodiment, the generating central controller and the plurality of sub-controllers may further include: adding a plurality of sub-controllers to the central controller for management.
In an exemplary embodiment, each of the sub-controllers plays material under the control of the central controller, including:
and the sub-controller plays the material according to the instruction of the central control controller, starts a timer to start timing when the material to be played starts to be played, and finishes playing the current material to be played when the timer reaches the playing time of the material to be played.
In an exemplary embodiment, each of the sub-controllers plays material under the control of the central controller, including:
step A1: when receiving a playing instruction of the central control controller, the sub-controller acquires a first material to be played corresponding to a material list of the sub-controller, wherein the material list comprises information of the material to be played;
step A2: the sub-controller controls the playing component to play the material to be played, when the material to be played starts to be played, a timer is started to start timing, when the timer reaches the playing time of the material to be played, if the material list of the sub-controller has the material information which is not played, the step A3 is executed, and if the playing of all the materials is finished, the central controller is informed to finish the playing;
step A3: and the sub-controller acquires the next material to be played according to the material list of the sub-controller and executes the step A2.
In an exemplary embodiment, the information of the material to be played includes: the playing time, the type, the playing position and the attribute information of the material.
In an exemplary embodiment, after notifying the central controller of the completion of the playing, the method further includes:
and the central control controller sends a playing instruction to the sub-controller corresponding to the next material to be played according to the playing sequence of the materials played by the plurality of sub-controllers.
In an exemplary embodiment, when the type of the material to be played includes an image or a video, starting a timer to start timing when the material to be played starts to be played includes:
and controlling the playing component to render the material to be played, and starting a timer to start timing when rendering the first frame of picture.
In an exemplary embodiment, before the material to be played starts to be played, the method further includes:
and acquiring a thumbnail of the material to be played, and rendering and playing the thumbnail of the material to be played.
In an exemplary embodiment, when rendering the first frame later, further includes: and removing the thumbnail of the material to be played.
In an exemplary embodiment, each sub-controller plays the material under the control of the central controller, further comprising:
the central control controller acquires the playing state of the sub-controllers in real time and sends an operation instruction to the sub-controllers according to the playing state or an instruction from a user;
and when the sub-controllers receive the operation instruction of the central control controller, corresponding operation is executed according to the operation instruction.
The embodiment of the present disclosure further provides a play control apparatus, which includes a first generating module and a second generating module;
the first generation module is used for generating a central control controller;
and the second generation module is used for generating a plurality of sub-controllers, and each sub-controller plays the material under the control of the central control controller.
In an exemplary embodiment, the first generating module comprises an acquisition submodule and a central controller generating submodule; the second generation module comprises a sub-controller generation sub-module and an addition sub-module;
the obtaining submodule is used for obtaining a configuration file; the configuration file includes: template type, multiple material lists;
the central control controller generation submodule is used for generating the central control controller;
the sub-controller generation sub-module is used for generating a plurality of playing components according to the template types and generating a plurality of sub-controllers which are in one-to-one correspondence with the playing components in the process of generating the playing components;
and the adding sub-module is used for adding a plurality of material lists which are in one-to-one correspondence with the plurality of playing components in the configuration file to the corresponding sub-controllers.
In an exemplary embodiment, the sub-controller is configured to play a material according to an instruction of the central controller, start a timer to start timing when the material to be played starts to be played, and complete playing of the material to be currently played when the timer reaches the playing duration of the material to be played.
In an exemplary embodiment, when the type of the material to be played includes an image or a video, the sub-controller is configured to: and controlling the playing component to render the material to be played, and starting a timer to start timing when rendering the first frame of picture.
An embodiment of the present disclosure further provides a play control system, including: a display device and a play control device as described in any of the above embodiments.
The embodiment of the present disclosure further provides a computer-readable storage medium, where the storage medium is used to store computer program instructions, and when the computer program instructions are executed, the play control method according to any of the above embodiments may be implemented.
Compared with the prior art, according to the play control method, the device, the system and the storage medium provided by the embodiment of the disclosure, each sub-controller plays the material under the control of the central controller, the multiple sub-controllers realize the linked play of the material through the control of the central controller, and the discontinuous or unreal play effect of the screen play picture caused by abnormal play of one or more sub-controllers is avoided, so that the user experience is improved.
Additional features and advantages of the disclosed embodiments will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosed embodiments. Other advantages of the embodiments of the present disclosure may be realized and attained by the instrumentalities and methods described in the specification and the drawings.
Drawings
The accompanying drawings are included to provide an understanding of the technical solutions of the embodiments of the present disclosure, and are incorporated in and constitute a part of this specification, and together with the embodiments of the present disclosure, serve to explain the technical solutions of the embodiments of the present disclosure and not to limit the technical solutions of the present disclosure.
Fig. 1 is a flowchart illustrating a play control method according to an embodiment of the disclosure;
fig. 2 is a flowchart illustrating a sub-controller playing a material under the control of a central controller according to an exemplary embodiment of the disclosure;
fig. 3 is a flowchart of a play control method according to an exemplary embodiment of the present disclosure;
FIG. 4 is a schematic structural diagram of a screen display playing assembly according to an exemplary embodiment of the present disclosure;
fig. 5 is a schematic diagram of a logical structure among the play component, the sub-controller, and the central controller according to an exemplary embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a frame structure in which two sub-controllers simultaneously control two playing components in FIG. 4 to play a material;
fig. 7 is a schematic structural diagram of a play control device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict.
Unless otherwise defined, technical or scientific terms used in the disclosure of the embodiments of the present disclosure should have the ordinary meaning as understood by those having ordinary skill in the art to which the present invention belongs. The use of "first," "second," and similar terms in the embodiments of the disclosure is not intended to indicate any order, quantity, or importance, but rather to distinguish one element from another. The word "comprising" or "comprises", and the like, means that a particular element or item appears in front of the word or is detected by mistake, and that the word or item appears after the word or item and its equivalents, but does not exclude other elements or misdetections.
In this specification, for convenience, terms indicating orientation or positional relationship such as "middle", "upper", "lower", "front", "rear", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like are used to explain positional relationship of constituent elements with reference to the drawings, only for convenience of description and simplification of description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention. The positional relationship of the components is changed as appropriate in accordance with the direction in which each component is described. Therefore, the words described in the specification are not limited to the words described in the specification, and may be replaced as appropriate.
In this specification, the terms "mounted," "connected," and "connected" are to be construed broadly unless otherwise specifically indicated and limited. For example, the connection can be fixed, detachable or integrated; can be mechanically or electrically connected; either directly or indirectly through intervening components, or may be interconnected between two elements. To those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood in conjunction with specific situations.
In the process of playing materials (pictures, videos, characters and the like), the controller controls the playing component to play the materials, the playing time of the playing component for playing the materials is calculated in advance, when the playing time calculated in advance is reached, the controller can forcibly terminate the playing of the playing component, and because the loading time of each material is uncertain, the playing time does not usually contain the loading time of the material, the problem of incomplete playing of the materials exists. In addition, when each playing component plays the material, the playing components are independently controlled by the corresponding controllers, when a plurality of playing components play the material, because the playing components are independently processed by the controllers corresponding to the playing components in the process of playing the material and the controllers are not mutually communicated, the playing material of each playing component lacks linkage, when the playing components play the material on the screen, the playing components can be divided into two situations that the playing components play simultaneously or the playing components play sequentially, no matter which playing situation, the screen playing picture is an organic whole, when one or more playing components play the material, other playing components can also play normally, and the screen playing picture can be discontinuous or not a real playing effect, resulting in a poor user experience.
In order to solve the problem of poor user experience in playing the existing material, an embodiment of the present disclosure provides a playing control method, which is applied to a playing control device, and as shown in fig. 1, the method may include:
step 1: generating a central control controller and a plurality of sub-controllers;
step 2: and each sub-controller plays the material under the control of the central controller.
According to the playing control method provided by the embodiment of the disclosure, each sub-controller plays the material under the control of the central controller, the multiple sub-controllers realize the linked playing of the material through the control of the central controller, and the phenomenon that when one or more sub-controllers play abnormally, other sub-controllers play the screen playing pictures discontinuously or not really playing pictures due to normal playing is avoided, so that the user experience is improved.
In an exemplary embodiment, generating the central controller and the plurality of sub-controllers may include:
acquiring a configuration file, and generating a central controller, wherein the configuration file may include: template type, multiple material lists;
and generating a plurality of playing components according to the template types, generating a plurality of sub-controllers which are in one-to-one correspondence with the playing components in the process of generating the playing components, and adding a plurality of material lists which are in one-to-one correspondence with the playing components in the configuration file into the corresponding sub-controllers.
In an exemplary embodiment, the generating central controller and the plurality of sub-controllers may further include: and adding a plurality of sub-controllers into the central control controller for management.
In an exemplary embodiment, each sub-controller playing the material under the control of the central controller may include:
the sub-controller plays the material according to the instruction of the central controller, starts the timer to start timing when the material to be played starts playing, and finishes playing the material to be played currently when the timer reaches the playing duration of the material to be played.
In an exemplary embodiment, each sub-controller plays the material under the control of the central controller, as shown in fig. 2, may include:
step A1: when receiving a playing instruction of the central control controller, the sub-controller acquires a first material to be played corresponding to a material list of the sub-controller, wherein the material list comprises information of the material to be played;
step A2: the sub-controller controls the playing component to play the material to be played, when the material to be played starts to be played, a timer is started to start timing, when the timer reaches the playing time of the material to be played, if the material list of the sub-controller has the material information which is not played, the step A3 is executed, and if the playing of all the materials is finished, the central controller is informed to finish the playing;
step A3: the sub-controller obtains the next material to be played according to the own material list, and executes the step a 2.
In an exemplary embodiment, the information of the material to be played may include: the playing time, the type, the playing position and the attribute information of the material.
In an exemplary embodiment, when the type of the material to be played includes an image or a video, starting a timer to start timing when the material to be played starts to be played may include:
and controlling the playing component to render the material to be played, and starting a timer to start timing when rendering the first frame of picture.
In an exemplary embodiment, the process of loading the material may include a process of acquiring the material to be played by the sub-controller and a process of rendering the material to be played by the sub-controller controlling the playing component.
In an exemplary embodiment, after notifying the central controller of the completion of the playing, the method may further include: and the central control controller sends a playing instruction to the sub-controller corresponding to the next material to be played according to the playing sequence of the materials played by the plurality of sub-controllers.
In an exemplary embodiment, when the central controller receives the notification of completing playing, and determines that there is no material to be played according to the material playing sequence corresponding to the sub-controllers, it indicates that all the sub-controllers complete playing of the material, and may end playing, or control one or more sub-controllers to play again according to a preset instruction and/or a user instruction.
In the embodiment of the disclosure, after each controller finishes playing all the materials, the central controller is notified, so that the central controller can effectively control the plurality of sub-controllers to play the materials in a linkage manner, and the problem that when one or more sub-controllers play the materials independently, the playing of the screen playing picture is discontinuous or not a real playing effect is avoided.
In the embodiment of the disclosure, the timer is started to time when the material to be played starts to be played, so that each material can be completely played, and the problem of incomplete playing of the material in the prior art is solved.
In an exemplary embodiment, the sub-controller obtains the material to be played, and may obtain the material to be played from the server according to the address and/or name of the material to be played in the own material list.
In an exemplary embodiment, before each sub-controller plays the material, the material can be downloaded to the local in advance, the sub-controllers can directly obtain the material to be played from the local, the material is not required to be downloaded from a server through networking, the playing efficiency can be effectively improved, and the user experience is improved. Optionally, the sub-controller may locally acquire the material to be played currently according to the name and/or address of the material to be played in the material list of the sub-controller.
In an exemplary embodiment, the controlling, by the sub-controller, the playback component to render the material to be played back may include: the sub-controller provides the materials to be played to the UI renderer, the UI renderer generates virtual pictures according to the materials to be played, the virtual pictures are provided to the system, the system generates display pictures, and the display pictures are displayed on a screen through the playing assembly. In an exemplary embodiment, the UI renderer generating the virtual screen from the material to be played may include: and the UI renderer generates a virtual picture according to the coordinates and the sizes of the materials in the material list.
In an exemplary embodiment, each sub-controller plays the material under the control of the central controller, and may further include: the central control controller acquires the playing state of the sub-controllers in real time and sends an operation instruction to the sub-controllers according to the playing state or an instruction from a user;
and when the sub-controllers receive the operation instruction of the central control controller, corresponding operation is executed according to the operation instruction.
In an exemplary embodiment, the trick play state may include start, pause, complete. For example, the sub central controller may set three play states of start, pause, and complete by state values of a start sentence [ start () ], a pause sentence [ pause () ], and a complete sentence [ complete () ], respectively. In practical implementation, each sub-controller may actively provide the current play state to the central controller, and the central controller may also obtain the play state from the sub-controllers.
In an exemplary embodiment, the central controller can acquire the playing state of the sub-controllers in real time, and the sub-controllers execute corresponding operations according to the operation notification of the central controller, so that the playing state of the materials of the plurality of sub-controllers is performed under the control of the central controller, and the problem that the screen playing picture is not consistent or is not a real playing effect when one or more sub-controllers play abnormal pixels respectively and independently is avoided. For example, when the material played by one sub-controller is abnormal, the playing state is set to be paused, and when the central control controller obtains the paused playing state, the sub-controller is judged to be abnormal according to the playing duration and the playing sequence of the plurality of sub-controllers, and then the sub-controllers can be notified to pause the playing according to the paused state, or the sub-controllers which pause the playing are notified to continue the playing, so as to avoid that the playing picture is not a real playing effect.
In an exemplary embodiment, the central controller can also generate a corresponding operation notification according to an instruction from a user and send the operation notification to the sub-controllers, and the sub-controllers execute corresponding operations according to the operation notification, so that the flexibility and operability of material playing are improved.
In an exemplary embodiment, in the method, before the material to be played starts to be played, the method may further include: and acquiring a thumbnail of the material to be played, and rendering and playing the thumbnail of the material to be played. In an exemplary embodiment, when the first frame picture is rendered or when the material to be played starts to be played, the method may further include: and removing the thumbnail of the material to be played.
In an exemplary embodiment, when the material to be played is a picture, a thumbnail of the picture to be played is acquired, the thumbnail of the picture to be played is rendered and displayed on a screen, and after a first frame of picture of the picture to be played is rendered, the thumbnail of the picture to be played is removed, so that an overlong time interval between two playing materials due to overlong time for loading the picture to be played (namely, acquiring and rendering time) can be effectively avoided, and the visual effect of playing the material is improved.
In an exemplary embodiment, when the material to be played is a video, a thumbnail of a first frame picture of the video to be played is acquired, the thumbnail of the first frame picture of the video to be played is rendered and displayed on a screen, and after the first frame picture of the video to be played is rendered, the thumbnail of the first frame picture of the video to be played is removed, so that the phenomenon that a time interval between two playing of the material is too long due to too long time for loading the video to be played (namely, the time for acquiring and rendering the video) can be effectively avoided, and the visual effect is improved.
In an exemplary embodiment, in the method, during the playing of the current material, the method may further include: acquiring a next material to be played, and caching the next material to be played; correspondingly, when the next material to be played is played, the material to be played is obtained from the cache; therefore, the phenomenon that too long time interval exists between the playing of the two materials due to the fact that the time for obtaining the materials to be played (namely the material loading) is long is avoided, and the visual effect can be effectively improved. In practical solutions, the time for obtaining the material to be played from the buffer is between 5 ms and 20 ms, and the time interval that the human eye can distinguish is about 24 ms, so that the user cannot visually see that there is a time interval between the two played materials, i.e. the two materials are visually played continuously.
In an exemplary embodiment, the template types may include two types of fixed templates and non-fixed templates. In an exemplary embodiment, the fixed template types may include full screen (i.e., one-split screen), two-split screen, three-split screen, four-split screen, and the like; each of which may correspond to a playback component. In an exemplary embodiment, the non-fixed template types may include custom template types.
In an exemplary embodiment, the information of the material to be played in the material list may include information of a material corresponding to a fixed template and information of a material corresponding to a non-fixed position. In an exemplary embodiment, the information of the material corresponding to the fixed template is information of the material corresponding to a fixed position in the fixed template; the information of the material corresponding to the non-fixed position may include information of the material floating in the fixed template and information of the material of the non-fixed template. In an exemplary embodiment, the non-fixed location material may be text, a web page, a two-dimensional code, or the like.
In an exemplary embodiment, each sub-controller corresponds to a material list, each material list includes information of a plurality of materials to be played, and each information of the materials to be played may include a type, a playing time length, a type, a playing position, and attribute information of the material.
In an exemplary embodiment, the type of material may be picture (IMAGE), VIDEO (VIDEO) AUDIO (AUDIO), text, and the like.
In an exemplary embodiment, the attribute information of the material may include: screen position and size information of the material. For example, the screen position information of the material is that the coordinate value of the x coordinate is 107 pixels, the coordinate value of the y coordinate is 1300 pixels, the size information of the material comprises that the material is 400 pixels high and 400 pixels wide, wherein the coordinate value of the x coordinate at the upper left corner of the screen is 0, and the coordinate value of the y coordinate is 0.
In an exemplary embodiment, when the material is text material, the material attribute information may further include text size, font style, font color, background color.
In an exemplary embodiment, the information of the material to be played may further include a material name and/or an address. In an exemplary embodiment, the information of the material to be played may further include a film layer on which the material is displayed, for example, when a plurality of sub-controllers play a plurality of materials simultaneously, and when there is overlap between a plurality of material film layers, the film layer located above can be displayed, and the film layer located below is blocked; for example, the film layer has 6 layers in total from 0 to 5, if there is no overlapping area when the materials played by the sub-controllers are displayed on the screen, the materials played simultaneously are all displayed no matter located on the same film layer or located on different film layers, the material located on the bottom layer is not blocked, and if the materials played simultaneously by the sub-controllers need to show an overlapping visual effect, the material located on the 0 film layer on the bottom layer is blocked by the material located on the 5 film layers on the top layer.
In an exemplary embodiment, the information of the material to be played may further include a scroll direction of the material.
In an exemplary embodiment, the configuration file may further include background music information. The background music information may include the size of the music file, the name of the music file, the address of the music file, the type of the music file, and the date of generation of the music file. For example, in the information of the background music, the size of the music file is 13342826 bytes, the name of the music file is Chengdu.mp 3, the type of the music file is AUDIO, the generation date of the music file is 2021-04-1213: 37:01 (13: 37: 1 second at 12.4.2021), and the address of the music file is static/images/video thread.png.
The following describes the playback control method in detail, and as shown in fig. 3, the method may include the following steps:
step 11: and acquiring a configuration file of the program to be played.
In an exemplary embodiment, the profile of the program to be played may be obtained from a server.
Optionally, after the program information is edited on the web program editor, a configuration file of the program to be played is generated, and when the program to be played is issued, the corresponding configuration file is issued to the local, so that the configuration file of the program to be played is obtained.
Optionally, editing the program information on the web program editor may include: the method includes editing a material (i.e., information of the material to be played) of a program to be played to generate material list information, editing a template type to generate template type information, and accordingly, the configuration file may include the material list information and the template type information.
In an exemplary embodiment, the template types may include both fixed template and non-fixed template types.
Optionally, the fixed template types may include full screen (i.e., one split screen), two split screen, three split screen, four split screen, and the like; when the program information is edited on the webpage program editor, a user can select one of full screen, half screen, three-split screen and four-split screen in the fixed template type according to the requirement.
Optionally, the non-fixed template types may include custom template types; if the user-defined template type is selected when the webpage program editor edits the program information, the user can edit the information of the material according to the actual requirement, for example, the information of the position, the size and the like of the screen of the material can be edited. If the fixed template is selected when the program information is edited, the fixed template is directly loaded, and the material information (such as screen position, size and the like) of the fixed template does not need to be edited.
In an exemplary embodiment, the material list information may include information of the material to be played corresponding to the fixed template and information of the material to be played corresponding to the non-fixed position. The material list information comprises a plurality of material lists, and the material corresponding to each template type corresponds to the material lists in the material list information through material indexes.
Optionally, the information of the material to be played corresponding to the fixed template is information of the material corresponding to the fixed position in the fixed template. For example, when the template type is full screen, the full screen frame (i.e. one playing component) corresponds to the material list with the material index of 0; when the template type is two split screens, two split screen frames (i.e. two playing components) respectively correspond to the material list with the material indexes of 0 and 1.
Optionally, the information of the material to be played corresponding to the non-fixed position includes information of the material floating in the fixed template and information of the material of the non-fixed template. For example, the material floating in the fixed template may include text, a web page, a two-dimensional code, and the like, and during the playing process, the material corresponding to the information of the floating material may be displayed at a designated position above the fixed position material.
In an exemplary embodiment, editing program information on a web program editor may further include editing background music to generate background music information, and accordingly, the configuration file may further include the background music information. The background music information may include the size of the music file, the name of the music file, the type of the music file, the date of generation of the music file, and the address of the music file. For example, in the information of the background music, the size of the music file is 13342826 bytes, the name of the music file is Chengdu.mp 3, the type of the music file is AUDIO, the generation date of the music file is 2021-04-1213: 37:01 (13: 37: 1 second at 12.4.2021), and the address of the music file is static/images/video thread.png.
In an exemplary embodiment, the information of the material to be played in the material list includes a material type and a material playing time length; for example, the material type may be picture (IMAGE), VIDEO (VIDEO) or AUDIO (AUDIO), text, and the like. Optionally, the information of the materials contained in the materials of different types has a certain difference, for example, the material list of the text materials may further include information such as width, height, abscissa, ordinate, text size, font style, font color, background color, and scrolling direction; the material list of the two-dimension code material can comprise information such as the content, width, height, abscissa and ordinate of the two-dimension code.
In an exemplary embodiment, step 11 may further include: and acquiring a material of the program to be played. The configuration file and the materials are simultaneously issued to the local, so that the corresponding materials can be directly acquired from the local in the material playing process without being downloaded to a server, the playing efficiency can be improved, and the user experience is improved.
Step 12: generating a central control controller, generating a plurality of playing components according to the template types in the configuration file, generating a plurality of sub-controllers corresponding to the playing components in the process of generating the playing components, adding a material list corresponding to the playing components in the configuration file into the sub-controllers, and adding the sub-controllers into the central control controller.
For example, when the template type is a two-split screen, two playing components corresponding to the two-split screen are generated according to the template type in the configuration file, in the process of generating the two playing components of the two-split screen, two sub-controllers respectively corresponding to the two playing components are generated, a material list corresponding to the two playing components in the configuration file is added to the corresponding sub-controllers, and the two sub-controllers are added to the central controller.
In an exemplary embodiment, the addition of the sub-controllers to the central control controller is actually managed by adding the sub-controllers to the central control controller, so that the central control controller controls the linkage play of the materials among a plurality of sub-controllers.
As shown in fig. 4, a schematic diagram of a structure of a screen display playing component generated when the template type is two split screens, in fig. 4, view1 and view2 are playing components corresponding to the two split screens.
Fig. 5 is a schematic diagram illustrating a logical structure among the play component, the sub-controller, and the central controller when the template type is a custom template. In fig. 5, controllers 1 to ControllerN are a plurality of sub-controllers, controllers are central controllers, and views 1 to viewN are N playback elements respectively controlled by controllers 1 to ControllerN sub-controllers.
In an exemplary embodiment, the sub-controllers may include a base sub-controller and an extended sub-controller. In an exemplary embodiment, an extended sub-controller is a sub-controller that is extended on the basis of a base sub-controller.
In an exemplary embodiment, the expansion sub-controller may include one or more of a split screen sub-controller, a text sub-controller, and a PDF sub-controller. For example, a split screen (full screen) controller is FullscreenController, a text controller is TextController, and a PDF controller is PDFController; in the process of generating the split screen, a split screen material list in the configuration file is added to a Fullscreen controller, a character material list in the configuration file is added to a TextController, and a PDF material list in the configuration file is added to a PDFController.
In an exemplary embodiment, information of a play state, a play position, and the like may be contained in each sub-controller. In an exemplary embodiment, the play state may include start, pause, complete. For example, the sub central controller may set three play states of start, pause, and complete by state values of a start sentence [ start () ], a pause sentence [ pause () ], and a complete sentence [ complete () ], respectively. In an exemplary embodiment, each sub-controller may include a corresponding material list, and the play position indicates the material played the next in the material list, i.e., the material play order.
Step 13: after all the sub-controllers are added to the central control controller, the plurality of sub-controllers play the materials under the control of the central control controller; and after each sub-controller receives the playing instruction of the central control controller, the sub-controllers play the materials through the corresponding playing components according to the material lists of the sub-controllers, and after the last material is played, the central control controller is informed to finish playing.
In an exemplary embodiment, when the plurality of sub-controllers simultaneously play the material, the central controller may issue a play instruction to the plurality of sub-controllers simultaneously, so that the plurality of sub-controllers simultaneously start to play the material. Fig. 6 is a schematic diagram of a picture structure in which two sub-controllers simultaneously control two playing components in fig. 4 to play the material.
In an exemplary embodiment, when the plurality of sub-controllers play the material at the play position (i.e., play order) of the material, the central controller notifies the sub-controllers to start playing the material according to the play position of the material among the plurality of sub-controllers. Summarizing in the exemplary embodiment, the play position may be understood as a play order of a plurality of materials played by the sub-controller according to its own material list.
In an exemplary embodiment, the issuing, by the central controller, a play instruction to the sub-controller to cause the sub-controller to start playing the material may include: the central control controller issues a play instruction to a start statement (start ()) in the sub-controller, so that the sub-controller starts to play the material.
In an exemplary embodiment, in step 13, after receiving the play instruction from the central controller, the playing the material according to its material list by the sub-controller may include:
step 131: when a play notification of the central controller is received, acquiring a first material to be played corresponding to a material list of the central controller, and delivering the acquired material to a UI (user interface) renderer for rendering;
step 132: starting a timer when the UI renderer renders the first frame, and executing step 133 if the timer reaches the playing duration of the currently played material, if there is a material that is not played yet; and if the playing of all the materials is finished, the central control controller is informed.
Step 133: the next material to be played is obtained and step 132 is executed.
In the embodiment of the disclosure, a timer is started to time when the UI renders the first frame of picture, so that each material can be ensured to be completely played.
Step 14: after receiving the notice of finishing playing of the sub-controllers, the central control controller starts the sub-controller corresponding to the next material to be played according to the playing sequence of the plurality of sub-controllers; and when the playing of all the materials is judged to be finished, determining to play again or finish according to the playing logic.
In an exemplary embodiment, the central controller may control the playing and pausing of the materials corresponding to the multiple sub-controllers, so that the materials corresponding to different sub-controllers can be played in a linkage manner. For example, the playing of the picture corresponding to the sub-controller 1 needs to be started after the playing of the picture corresponding to the other sub-controller 2 is completed, the central control controller can control the sub-controller 1 to pause, and the central control controller can control the sub-controller 1 to start playing after the notification that the playing of the sub-controller 2 is completed is received.
In the embodiment of the disclosure, the central control controller manages the plurality of sub-controllers, and can control the plurality of sub-controllers to play and pause at any time, so that the plurality of sub-controllers can play corresponding materials in a linkage manner. The central control controller can also inform the sub-controllers to execute corresponding operations according to instructions from users, and the flexibility of material playing is improved.
The embodiment of the present disclosure further provides a play control apparatus, as shown in fig. 7, which is a schematic structural diagram of the play control apparatus, the play control apparatus 10 includes a first generating module 101 and a second generating module 102;
the first generation module 101 is used for generating a central control controller;
and a second generating module 102, configured to generate a plurality of sub-controllers, where each sub-controller plays the material under the control of the central controller.
In an exemplary embodiment, the first generation module 101 may include an acquisition sub-module and a central controller generation sub-module; the second generation module 102 may include a sub-controller generation sub-module and an addition sub-module;
the acquisition submodule is used for acquiring a configuration file; the configuration file includes: template type, multiple material lists;
the central control controller generation submodule is used for generating a central control controller;
the sub-controller generation sub-module is used for generating a plurality of playing components according to the template types and generating a plurality of sub-controllers which are in one-to-one correspondence with the playing components in the process of generating the playing components;
and the adding sub-module is used for adding a plurality of material lists which are in one-to-one correspondence with the plurality of playing components in the configuration file into the corresponding sub-controllers.
In an exemplary embodiment, the sub-controller is configured to play the material according to an instruction of the central controller, start a timer to start timing when the material to be played starts playing, and complete playing of the material to be currently played when the timer reaches a playing duration of the material to be played.
In an exemplary embodiment, when the type of material to be played comprises an image or a video, the sub-controller is configured to: and controlling the playing component to render the material to be played, and starting a timer to start timing when rendering the first frame of picture.
An embodiment of the present disclosure further provides a play control system, including: a display device and a play control device as described in any of the above embodiments.
In an exemplary embodiment, the display device may include a display panel. In an exemplary embodiment, the display device may be any product or component having a display function, such as a mobile phone, a tablet computer, a television, a monitor, a notebook computer, a digital photo frame, and a navigator.
The embodiments of the present disclosure also provide a computer-readable storage medium, where the storage medium is used to store computer program instructions, and when the computer program instructions are executed, the play control method described in any of the above embodiments can be implemented.
According to the playing control method, the playing control device, the playing control system and the storage medium, each sub-controller plays the material under the control of the central controller, the multiple sub-controllers realize the linked playing of the material through the control of the central controller, the phenomenon that the playing of a screen playing picture is not consistent or not a real playing effect due to the fact that one or more sub-controllers play abnormally is avoided, and therefore user experience is improved. .
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The drawings of the embodiments of the disclosure only relate to the structures related to the embodiments of the disclosure, and other structures can refer to common designs.
Without conflict, features of embodiments of the present invention, that is, embodiments, may be combined with each other to arrive at new embodiments.
Although the embodiments of the present invention have been described above, the present invention is not limited to the embodiments described above. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (15)

1. A playing control method is applied to a playing control device, and the method comprises the following steps:
generating a central control controller and a plurality of sub-controllers;
and each sub-controller plays the material under the control of the central controller.
2. The playback control method according to claim 1, wherein the generating of the central control controller and the plurality of sub-controllers includes:
acquiring a configuration file, and generating the central control controller, wherein the configuration file comprises: template type, multiple material lists;
and generating a plurality of playing components according to the template type, generating a plurality of sub-controllers which are in one-to-one correspondence with the playing components in the process of generating the playing components, and adding a plurality of material lists which are in one-to-one correspondence with the playing components in the configuration file into the corresponding sub-controllers.
3. The playback control method according to claim 1, wherein each sub-controller plays back a material under the control of the central controller, including:
and the sub-controller plays the material according to the instruction of the central control controller, starts a timer to start timing when the material to be played starts to be played, and finishes playing the current material to be played when the timer reaches the playing time of the material to be played.
4. The playback control method according to claim 1, wherein each sub-controller plays back a material under the control of the central controller, including:
step A1: when receiving a playing instruction of the central control controller, the sub-controller acquires a first material to be played corresponding to a material list of the sub-controller, wherein the material list comprises information of the material to be played;
step A2: the sub-controller controls the playing component to play the material to be played, when the material to be played starts to be played, a timer is started to start timing, when the timer reaches the playing time of the material to be played, if the material list of the sub-controller has the material information which is not played, the step A3 is executed, and if the playing of all the materials is finished, the central controller is informed to finish the playing;
step A3: and the sub-controller acquires the next material to be played according to the material list of the sub-controller and executes the step A2.
5. The playback control method according to claim 4, wherein the information on the material to be played includes: the playing time, the type, the playing position and the attribute information of the material.
6. The playback control method according to claim 4, wherein after notifying the central controller of the completion of the playback, the method further comprises:
and the central control controller sends a playing instruction to the sub-controller corresponding to the next material to be played according to the playing sequence of the materials played by the plurality of sub-controllers.
7. The playback control method according to claim 3 or 4, wherein when the type of the material to be played includes an image or a video, the starting a timer to start timing when the material to be played starts to be played includes:
and controlling the playing component to render the material to be played, and starting a timer to start timing when rendering the first frame of picture.
8. The playback control method according to claim 3 or 4, wherein before the material to be played starts playing, the method further comprises:
and acquiring a thumbnail of the material to be played, and rendering and playing the thumbnail of the material to be played.
9. The playback control method according to claim 3 or 4, wherein each sub-controller plays back a material under the control of the central controller, further comprising:
the central control controller acquires the playing state of the sub-controllers in real time and sends an operation instruction to the sub-controllers according to the playing state or an instruction from a user;
and when the sub-controllers receive the operation instruction of the central control controller, corresponding operation is executed according to the operation instruction.
10. A playing control device is characterized by comprising a first generation module and a second generation module;
the first generation module is used for generating a central control controller;
and the second generation module is used for generating a plurality of sub-controllers, and each sub-controller plays the material under the control of the central control controller.
11. The playback control apparatus according to claim 10, wherein the first generation module includes an acquisition submodule and a central controller generation submodule; the second generation module comprises a sub-controller generation sub-module and an addition sub-module;
the obtaining submodule is used for obtaining a configuration file; the configuration file includes: template type, multiple material lists;
the central control controller generation submodule is used for generating the central control controller;
the sub-controller generation sub-module is used for generating a plurality of playing components according to the template types and generating a plurality of sub-controllers which are in one-to-one correspondence with the playing components in the process of generating the playing components;
and the adding sub-module is used for adding a plurality of material lists which are in one-to-one correspondence with the plurality of playing components in the configuration file to the corresponding sub-controllers.
12. The playback control apparatus as claimed in claim 10, wherein the sub-controller is configured to play back the material according to the instruction from the central controller, start a timer to start timing when the material to be played is started, and complete the playback of the material to be currently played when the timer reaches the playback duration of the material to be played.
13. The playback control apparatus according to claim 12, wherein when the type of material to be played includes an image or a video, the sub-controller is configured to: and controlling the playing component to render the material to be played, and starting a timer to start timing when rendering the first frame of picture.
14. A playback control system, comprising: display device and playback control device according to one of claims 10 to 13.
15. A computer-readable storage medium for storing computer program instructions, wherein the computer program instructions when executed implement the playback control method of any one of claims 1 to 9.
CN202111246672.7A 2021-10-26 2021-10-26 Playing control method, device, system and storage medium Active CN113992950B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111246672.7A CN113992950B (en) 2021-10-26 2021-10-26 Playing control method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111246672.7A CN113992950B (en) 2021-10-26 2021-10-26 Playing control method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN113992950A true CN113992950A (en) 2022-01-28
CN113992950B CN113992950B (en) 2024-05-17

Family

ID=79741488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111246672.7A Active CN113992950B (en) 2021-10-26 2021-10-26 Playing control method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN113992950B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000021433A (en) * 1998-09-29 2000-04-25 전주범 Method for recording video signal of duplicator
CN1533175A (en) * 1997-08-21 2004-09-29 索尼公司 Information transmission method and TV broadcast receiver
CN102724409A (en) * 2011-03-30 2012-10-10 新奥特(北京)视频技术有限公司 A method and a system for remote centralized control
CN103248712A (en) * 2013-05-24 2013-08-14 杭州东信北邮信息技术有限公司 Simultaneous broadcasting management method and system of multi-media electronic screen
CN207908894U (en) * 2018-03-29 2018-09-25 陕西天和照明设备工程有限公司 A kind of LED interaction display systems
CN109918072A (en) * 2019-03-21 2019-06-21 烽火通信科技股份有限公司 The method and system of split screen preview page
CN110677697A (en) * 2019-10-14 2020-01-10 体奥动力(北京)体育传播有限公司 Material playing method and device
CN111050220A (en) * 2019-12-11 2020-04-21 深圳市米兰显示技术有限公司 Media data playing method and related device
CN111669646A (en) * 2019-03-07 2020-09-15 北京陌陌信息技术有限公司 Method, device, equipment and medium for playing transparent video
CN112788370A (en) * 2019-11-08 2021-05-11 京东方科技集团股份有限公司 Display control method, display control device, display system, electronic device, and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1533175A (en) * 1997-08-21 2004-09-29 索尼公司 Information transmission method and TV broadcast receiver
KR20000021433A (en) * 1998-09-29 2000-04-25 전주범 Method for recording video signal of duplicator
CN102724409A (en) * 2011-03-30 2012-10-10 新奥特(北京)视频技术有限公司 A method and a system for remote centralized control
CN103248712A (en) * 2013-05-24 2013-08-14 杭州东信北邮信息技术有限公司 Simultaneous broadcasting management method and system of multi-media electronic screen
CN207908894U (en) * 2018-03-29 2018-09-25 陕西天和照明设备工程有限公司 A kind of LED interaction display systems
CN111669646A (en) * 2019-03-07 2020-09-15 北京陌陌信息技术有限公司 Method, device, equipment and medium for playing transparent video
CN109918072A (en) * 2019-03-21 2019-06-21 烽火通信科技股份有限公司 The method and system of split screen preview page
CN110677697A (en) * 2019-10-14 2020-01-10 体奥动力(北京)体育传播有限公司 Material playing method and device
CN112788370A (en) * 2019-11-08 2021-05-11 京东方科技集团股份有限公司 Display control method, display control device, display system, electronic device, and storage medium
CN111050220A (en) * 2019-12-11 2020-04-21 深圳市米兰显示技术有限公司 Media data playing method and related device

Also Published As

Publication number Publication date
CN113992950B (en) 2024-05-17

Similar Documents

Publication Publication Date Title
US11223880B2 (en) Picture generation method and apparatus, device, and storage medium
US10380773B2 (en) Information processing apparatus, information processing method, and computer readable medium
US20160366466A1 (en) Method for displaying bullet screen of video, and electronic device
KR100827241B1 (en) Apparatus and method of organizing a template for generating moving image
US8094132B1 (en) Image display touch control
US20080174597A1 (en) Display Control Apparatus, Display Control Method, and Program
US11620784B2 (en) Virtual scene display method and apparatus, and storage medium
CN103634686A (en) Method and device for previewing video
RU2006125118A (en) MEMORABLE MEDIA CONTAINING A STREAM OF INTERACTIVE GRAPHICS AND A DEVICE FOR ITS PLAYBACK
KR101515859B1 (en) Display apparatus and display method of contents list thereof
AU2013225479A1 (en) Application display method and terminal
US20170237936A1 (en) Information processing apparatus, method for controlling the information processing apparatus, and recording medium
US11941728B2 (en) Previewing method and apparatus for effect application, and device, and storage medium
CN112712575A (en) Sticker template image generation method and device, anchor terminal equipment and storage medium
CN113687745A (en) Interface display method, system and terminal of split screen window
CN114296840A (en) Wallpaper display method and display equipment
CN109104628B (en) Focus foreground generation method, storage medium, device and system of android television
CN113992950A (en) Playing control method, device, system and storage medium
CN106162299B (en) OSD animation material data playing method and device
CN113393372A (en) Desktop wallpaper setting method and device
CN112256167A (en) Multimedia resource switching method and device, electronic equipment and storage medium
CN110880197A (en) Information processing apparatus, storage medium, and information processing method
US20240119971A1 (en) Video material editing method and apparatus
US20240177365A1 (en) Previewing method and apparatus for effect application, and device, and storage medium
JP2004037542A (en) Display system, and display device and controller used for the same

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