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

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

Info

Publication number
CN113992950B
CN113992950B CN202111246672.7A CN202111246672A CN113992950B CN 113992950 B CN113992950 B CN 113992950B CN 202111246672 A CN202111246672 A CN 202111246672A CN 113992950 B CN113992950 B CN 113992950B
Authority
CN
China
Prior art keywords
sub
playing
controller
played
play
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
CN202111246672.7A
Other languages
Chinese (zh)
Other versions
CN113992950A (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

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 play control method, a play control device, a play control system and a storage medium. The play control method comprises the following steps: generating a central controller and a plurality of sub controllers; each sub-controller plays the material under the control of the central controller. The multiple sub-controllers realize linkage playing of the materials through the control of the central controller, so that the situation that a screen playing picture is not consistent or is not a real playing effect when one or more sub-controllers play abnormally is avoided, and user experience is improved.

Description

Playing control method, device, system and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of display, and in particular relates to a play control method, a device, a system and a storage medium.
Background
Along with the continuous development and progress of technology, display technology is increasingly widely applied in daily life and work, and the problem that the prior display product has poor experience of a material playing user in the process of playing video, pictures, characters and other materials.
Disclosure of Invention
The embodiment of the disclosure aims to solve the problem of poor playing user experience of the existing materials by providing a playing control method, device and system and a storage medium.
In order to solve the above technical problems, an embodiment of the present disclosure provides a play control method, which is applied to a play control device, where the control method includes:
generating a central controller and a plurality of sub controllers;
each sub-controller plays the material under the control of the central controller.
In an exemplary embodiment, the generating the central controller and the plurality of sub-controllers includes:
acquiring a configuration file, and generating the central control controller, wherein the configuration file comprises the following components: template type, multiple material lists;
Generating a plurality of playing components according to the template type, generating a plurality of sub-controllers corresponding to the playing components one by one in the process of generating the playing components, and adding a plurality of material lists corresponding to the playing components one by one in the configuration file to the corresponding sub-controllers.
In an exemplary embodiment, the generating the central controller and the plurality of sub controllers may further include: a plurality of sub-controllers are added to the central controller for management.
In an exemplary embodiment, each sub-controller plays the material under the control of the central controller, including:
And the sub-controller plays the material according to the instruction of the central controller, starts a timer to start timing when the material to be played starts playing, and completes playing of the current material to be played when the timer reaches the playing time of the material to be played.
In an exemplary embodiment, each sub-controller plays the material under the control of the central controller, including:
Step A1: when the sub-controller receives a playing instruction of the central controller, a first material to be played corresponding to a self material list is obtained, 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 play, a timer is started to start timing, when the timer reaches the playing time of the material to be played, if the timer has unreflected material information in the material list, the step A3 is executed, and if the playing of all the materials is completed, the central controller is informed of the completion of the playing;
step A3: and the sub-controller acquires the next material to be played according to the self material list, and executes the step A2.
In an exemplary embodiment, the information of the material to be played includes: the playing time length, the type, the playing position and the attribute information of the materials.
In an exemplary embodiment, after the notifying the central control controller to complete playing, the method further includes:
and the central controller sends a playing instruction to the sub-controller corresponding to the next material to be played according to the playing sequence of the material 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, the starting a timer to start timing when the material to be played starts playing includes:
and controlling the playing component to render the material to be played, and starting a timer to start timing when the first frame of picture is rendered.
In an exemplary embodiment, before the playing of the material to be played starts, the method further includes:
and obtaining the 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 comprising: 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, and the method further includes:
The central controller acquires the playing state of the sub-controller in real time, and sends an operation instruction to the sub-controller according to the playing state or an instruction from a user;
and when the sub-controller receives the operation instruction of the central control controller, executing corresponding operation according to the operation instruction.
The embodiment of the disclosure also provides a play control device, which comprises a first generation module and a second generation module;
The first generation module is used for generating a central control controller;
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 generation module includes an acquisition sub-module and a central controller generation sub-module; the second generation module comprises a sub-controller generation sub-module and an addition sub-module;
The acquisition sub-module is used for acquiring the configuration file; the configuration file comprises: template type, multiple material lists;
the central controller generation submodule is used for generating the central controller;
the sub-controller generation sub-module is used for generating a plurality of play components according to the template type, and generating a plurality of sub-controllers which are in one-to-one correspondence with the plurality of play components in the process of generating the plurality of play components;
and the adding sub-module is used for adding a plurality of material lists corresponding to the playing components one by one 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 current material to be played when the timer reaches a playing duration of the material to be played.
In an exemplary embodiment, when the material type 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 the first frame of picture is rendered.
The embodiment of the disclosure also provides a play control system, which comprises: a display device and a play control device according to any of the above embodiments.
The embodiment of the disclosure also provides a computer readable storage medium for storing computer program instructions, where the computer program instructions can implement the play control method according to any one of the above embodiments when running.
Compared with the related art, the playing control method, device and system and the storage medium provided by the embodiment of the disclosure have the advantages that each sub-controller plays the material under the control of the central controller, the plurality of sub-controllers realize linkage playing of the material through the control of the central controller, and the situation that the screen playing picture is not consistent or is not real due to abnormal playing of one or more sub-controllers is avoided, so that the user experience is improved.
Additional features and advantages of embodiments of the disclosure will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of embodiments of the disclosure. Other advantages of embodiments of the present disclosure may be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
The accompanying drawings are included to provide an understanding of the technical aspects of the embodiments of the present disclosure, and are incorporated in and constitute a part of this specification, illustrate the technical aspects of the embodiments of the present disclosure and not to limit the technical aspects of the present disclosure.
Fig. 1 is a flowchart illustrating a play control method according to an embodiment of the present disclosure;
Fig. 2 is a flowchart of playing a material by a sub-controller under the control of a central controller according to an exemplary embodiment of the present disclosure;
FIG. 3 is a flow chart of a play control method provided by an exemplary embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a screen display playing component according to an exemplary embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a logic structure among a play module, a sub-controller, and a central controller according to an exemplary embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a frame structure of two sub-controllers simultaneously controlling two playback components in FIG. 4 to play material;
Fig. 7 is a schematic structural diagram of a play control device according to an embodiment of the present disclosure.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail hereinafter with reference to the accompanying drawings. It should be noted that, without conflict, the embodiments of the present disclosure and features of the embodiments may be arbitrarily combined with each other.
Unless otherwise defined, technical or scientific terms used in the disclosure of the embodiments of the present disclosure should be given the ordinary meaning as understood by one of ordinary skill in the art to which the present invention pertains. The terms "first," "second," and the like, as used in embodiments of the present disclosure, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that elements or mis-detections present in front of the word encompass the listed elements or items after the word and equivalents thereof, without excluding other elements or mis-detections.
In the present specification, for convenience, words such as "middle", "upper", "lower", "front", "rear", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, which indicate an azimuth or a positional relationship, are used to describe the positional relationship of the constituent elements with reference to the drawings, only for convenience of description of the present specification and simplification of the description, and do not indicate or imply that the apparatus or elements referred to must have a specific azimuth, be constructed and operated in a specific azimuth, and thus should not be construed as limiting the present invention. The positional relationship of the constituent elements is appropriately changed according to the direction in which the respective constituent elements are described. Therefore, the present invention is not limited to the words described in the specification, and may be appropriately replaced according to circumstances.
In this specification, the terms "mounted," "connected," and "connected" are to be construed broadly, unless explicitly stated or limited otherwise. For example, the connection can be fixed connection, detachable connection or integrated connection; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate piece, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art in combination with specific cases.
In the playing process of the materials (pictures, videos, characters and the like), the controller controls the playing component to play the materials, the playing time length of the playing component to play the materials is calculated in advance, when the playing time length calculated in advance is reached, the controller can forcedly terminate the playing of the playing component, and the playing time length usually does not contain the loading time of the materials because the loading time of each material is uncertain, so that the problem of incomplete playing of the materials can exist. In addition, when each playing component plays the material, the corresponding controllers are used for independent control, when a plurality of playing components play the material, as the plurality of playing components are independently processed by the controllers corresponding to the plurality of playing components in the process of playing the material and the plurality of controllers are not mutually communicated, each playing component plays the material in lack of linkage, the plurality of playing components can be divided into two cases that the plurality of playing components play the material on a screen simultaneously or the plurality of playing components play the material sequentially, the screen playing picture is an organic whole in any playing condition, and when one or a plurality of playing components play the material abnormally, other playing components play normally, so that the screen playing picture is not consistent or is not a real playing effect, and the user experience is poor.
In order to solve the problem of poor experience of the existing material playing user, an embodiment of the present disclosure provides a playing control method, which is applied to a playing control device, as shown in fig. 1, and the method may include:
Step 1: generating a central controller and a plurality of sub controllers;
Step 2: each sub-controller plays the material under the control of the central controller.
According to the play control method provided by the embodiment of the disclosure, each sub-controller plays the material under the control of the central control controller, the plurality of sub-controllers realize linkage play of the material through the control of the central control controller, when one or more sub-controllers play abnormally, the situation that the screen play picture is not consistent or is not real due to the fact that other sub-controllers play normally is avoided, and therefore user experience is improved.
In an exemplary embodiment, generating the central controller and the plurality of sub-controllers may include:
The configuration file is obtained, and the central controller is generated, wherein the configuration file can comprise: template type, multiple material lists;
Generating a plurality of playing components according to the template type, generating a plurality of sub-controllers corresponding to the playing components one by one in the process of generating the playing components, and adding a plurality of material lists corresponding to the playing components one by one in the configuration file to 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 plays the material under the control of the central controller, and may include:
And the sub-controller plays the material according to the instruction of the central controller, starts a timer to start timing when the material to be played starts playing, and completes playing of the current material to be played when the timer reaches the playing time 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 play command of the central control controller, the sub-controller acquires a first material to be played corresponding to a self material list, 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 play, the timer starts to count, when the timer reaches the playing time of the material to be played, if the material list of the sub-controller has unreflected material information, the step A3 is executed, and if the playing of all the materials is completed, the central controller is informed to complete the playing;
Step A3: and the sub-controller acquires the next material to be played according to the self material list, and executes the step A2.
In an exemplary embodiment, the information of the material to be played may include: the playing time length, the type, the playing position and the attribute information of the materials.
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 playing may include:
and controlling the playing component to render the material to be played, and starting a timer to start timing when the first frame of picture is rendered.
In an exemplary embodiment, the process of loading the material may include a process that the sub-controller acquires the material to be played and a process that the sub-controller controls the playing component to render the material to be played.
In an exemplary embodiment, after the notifying the central controller of the completion of playing, the method may further include: and the central controller sends a playing instruction to the sub-controller corresponding to the next material to be played according to the playing sequence of the material played by the plurality of sub-controllers.
In an exemplary embodiment, after receiving the notification of completing playing, the central controller indicates that all the sub-controllers complete playing of the material when determining that there is no material to be played according to the playing sequence of the material corresponding to the sub-controllers, and may end playing, or control one or more sub-controllers to replay according to a preset instruction and/or a user instruction.
In the embodiment of the disclosure, after each controller finishes playing all materials, the central controller is notified, so that the central controller can effectively control a plurality of sub-controllers to play the materials in a linkage manner, and the problem that when one or more sub-controllers independently play the materials, the playing images of a screen are not consistent or are not real in playing effect is avoided.
In the embodiment of the disclosure, when the material to be played starts to be played, the timer is started to count, so that each material can be ensured to be completely played, and the problem that the played material is incomplete in the prior art is solved.
In an exemplary embodiment, the sub-controller acquires the material to be played, and may acquire the address and/or name of the material to be played from the server according to the address and/or name of the material to be played in the self 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-controller can directly acquire the material to be played from the local, networking is not needed to download the material from a server, the playing efficiency can be effectively improved, and the user experience is improved. Optionally, the sub-controller may obtain the current material to be played from the local according to the name and/or address of the material to be played in the self-material list.
In an exemplary embodiment, the controlling, by the sub-controller, the playing component to render the material to be played may include: the sub-controller provides the material to be played to the UI renderer, the UI renderer generates a virtual picture according to the material to be played, the virtual picture is provided to the system, the system generates a display picture, and the display picture is displayed on a screen through the playing component. In an exemplary embodiment, the UI renderer generates a virtual screen according to the material to be played may include: and the UI renderer generates a virtual picture according to the coordinates and the size 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 controller acquires the playing state of the sub-controller in real time, and sends an operation instruction to the sub-controller according to the playing state or an instruction from a user;
When the sub-controller receives the operation instruction of the central control controller, corresponding operation is executed according to the operation instruction.
In an exemplary embodiment, the bracketing state may include start, pause, complete. For example, the sub-central controller may set up three play states by the state values of a start statement [ start () ], a pause statement [ pause () ], and a completion statement [ complete () ], respectively. In an actual implementation manner, each sub-controller may actively provide the current playing state to the central controller, and the central controller may also obtain the playing state from the sub-controller.
In an exemplary embodiment, the central controller can acquire the playing state of the sub-controller in real time, and the sub-controller executes corresponding operation according to the operation notification of the central controller, so that the playing state of the sub-controller materials is performed under the control of the central controller, and the problem that when one or more sub-controllers independently play pixels, the screen playing picture is not consistent or is not a real playing effect is avoided. For example, when the playing state is set to pause when the material played by one sub-controller is abnormal, and when the central control controller acquires the pause playing state, the play abnormality of the sub-controller is judged according to the playing time length and the playing sequence of a plurality of sub-controllers, other sub-controllers can be informed to pause the playing according to the pause state, or the sub-controllers which pause the playing are informed to continue playing, so that the situation that a playing picture is not a real playing effect is avoided.
In the exemplary embodiment, the central controller may also generate a corresponding operation notification according to an instruction from the user, and send the operation notification to the sub-controller, where the sub-controller performs a corresponding operation according to the operation notification, thereby improving flexibility and operability of playing the material.
In an exemplary embodiment, before the material to be played starts playing, the method may further include: and obtaining the 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 of picture is rendered or when the material to be played starts playing, 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 obtained, 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 the overlong time interval between two material plays caused by overlong time (namely obtaining and rendering time) of loading the picture to be played can be effectively avoided, and the visual effect of the material playing is improved.
In an exemplary embodiment, when the material to be played is video, a thumbnail of a first frame picture of the video to be played is obtained, 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 situation that a time interval between two material plays is too long due to too long loading of the video to be played (namely video obtaining and rendering time) can be effectively avoided, and visual effect is improved.
In an exemplary embodiment, in the foregoing method, in a process of playing 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, acquiring the material to be played from the cache; so as to avoid overlong time interval between two material plays caused by longer time of obtaining the material to be played (namely, loading the material), thereby effectively improving visual effect. In a practical solution, the time for obtaining the material to be played from the buffer memory is between 5 milliseconds and 20 milliseconds, and the time interval that the human eye can distinguish is about 24 milliseconds, so that the user cannot visually see that there is a time interval between the two material plays, that is, visually, the two materials are continuously played.
In an exemplary embodiment, the template types may include both fixed template and non-fixed template types. In an exemplary embodiment, the fixed template type may include a full screen (i.e., one-split screen), two-split screen, three-split screen, four-split screen, etc. type; wherein each split screen may correspond to a play component. In an exemplary embodiment, the non-fixed template type may include a custom template type.
In an exemplary embodiment, the information of the material to be played in the material list may include information of the material corresponding to the fixed template and information of the material corresponding to the 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 unfixed position may include information of the material floating in the fixed template and information of the material of the unfixed template. In an exemplary embodiment, the material of the non-fixed location may be text, a web page, a two-dimensional code, and 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 piece of information of the materials to be played may include a type, a playing duration, a type, a playing position and attribute information of the materials.
In an exemplary embodiment, the type of material may be pictures (IMAGE), VIDEO (VIDEO) AUDIO (AUDIO), text, or 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 107 pixels in the x coordinate value and 1300 pixels in the y coordinate value, and the size information of the material includes 400 pixels high and 400 pixels wide, wherein the x coordinate value of the upper left corner of the screen is 0 and the y coordinate value is 0.
In an exemplary embodiment, when the material is a text material, the material attribute information may further include a text size, a font style, a font color, a 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 for displaying the material, for example, when the multiple sub-controllers play the multiple materials simultaneously, when there is an overlap between the film layers of the multiple materials, the film layer located above can be displayed, and the film layer located below is blocked; for example, the film layer has 0-5 layers in total, if the materials played by the multiple sub-controllers are displayed on the screen without overlapping areas, the materials played simultaneously are displayed on the same film layer or on different film layers, the materials on the bottom layer are not blocked, and if the materials played by the multiple sub-controllers are displayed simultaneously, the materials on the bottom layer 0 are blocked by the materials on the top layer 5 film layer.
In an exemplary embodiment, the information of the material to be played may further include a scrolling direction of the material.
In an exemplary embodiment, background music information may also be included in the configuration file. 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, the date of generation of the music file. For example, in 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-12:37:01 (13 points of 4-month 12 of 2021 are 37 minutes and 1 second), and the address of the music file is static/images/video Thrum.png.
The following describes the play control method in detail, and as shown in fig. 3, may include the following steps:
Step 11: and acquiring a configuration file of the program to be played.
In an exemplary embodiment, the configuration file of the program to be played may be obtained from a server.
Optionally, the configuration file of the program to be played is generated after the program information is edited on the webpage program editor, and the corresponding configuration file is issued to the local when the program to be played is issued, so that the configuration file of the program to be played is obtained.
Optionally, editing the program information on the web page program editor may include: editing the material of the program to be played (i.e. the information of the material to be played) to generate material list information, and editing the template type to generate template type information, wherein the configuration file can correspondingly comprise the material list information and the template type information.
In one exemplary embodiment, the template types may include both fixed and non-fixed template types.
Alternatively, the fixed template type may include a full screen (i.e., one split screen), two split screens, three split screens, four split screens, etc.; when editing the program information on the webpage program editor, a user can select one of full screen, two-split screen, three-split screen and four-split screen in the fixed template type according to the requirement.
Alternatively, the non-fixed template type may comprise a custom template type; if the user-defined template type is selected when editing the program information on the webpage program editor, the user can edit the information of the materials according to actual needs, for example, the information of the screen positions, the sizes and the like of the materials can be edited. If the fixed template is selected when editing the program information, the fixed template is directly loaded, and editing of material information (such as screen position, size and the like) of the fixed template is not needed.
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 list in the material list information through a material index.
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 a material list with a material index of 0; when the template type is two split screens, two split screen frames (namely, two playing components) respectively correspond to the material lists 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 floating materials in the fixed template may include text, web pages, two-dimensional codes, and the like, and in the playing process, the materials corresponding to the information of the floating materials may be displayed at a designated position above the fixed-position materials.
In an exemplary embodiment, editing the program information on the web page program editor may further include editing the 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, the address of the music file. For example, in 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-12:37:01 (13 points of 4-month 12 of 2021 are 37 minutes and 1 second), and the address of the music file is static/images/video Thrum.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 duration; for example, the material type may be picture (IMAGE), VIDEO (VIDEO) or AUDIO (AUDIO), text, or the like. Optionally, the information of the materials included in the different types of materials has a certain difference, for example, the material list of the text materials can also include information such as width, height, abscissa, ordinate, text size, font color, background color, scrolling direction and the like; the material list of the two-dimensional code material can comprise information such as two-dimensional code content, width, height, abscissa, ordinate and the like.
In an exemplary embodiment, step 11 may further include: and acquiring the material of the program to be played. The configuration file and the materials are simultaneously sent to the local, the corresponding materials can be directly obtained from the local in the playing process of the materials, and the materials do not need to be downloaded to a server, so that the playing efficiency can be improved, and the user experience is improved.
Step 12: generating a central controller, generating a plurality of play components according to the template types in the configuration file, generating a plurality of sub-controllers corresponding to the plurality of play components in the process of generating the plurality of play components, adding a material list corresponding to the play components in the configuration file into the sub-controllers, and adding the sub-controllers into the central controller.
For example, when the template type is two-split screens, two play components corresponding to the two-split screens are generated according to the template type in the configuration file, in the process of generating the two play components of the two-split screens, two sub-controllers corresponding to the two play components are generated respectively, material lists corresponding to the two play components in the configuration file are added to the corresponding sub-controllers, and the two sub-controllers are added to the central controller.
In an exemplary embodiment, adding the sub-controller to the central controller is actually adding the sub-controller to the central controller to manage, so that the central controller controls linkage playing 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 is generated when the template type is two split screens, and in FIG. 4, view1 and view2 are playing components corresponding to two split screens.
Fig. 5 is a schematic diagram of a logic structure among a play component, a sub-controller, and a 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 components controlled by the controllers 1 to ControllerN sub-controllers, respectively.
In an exemplary embodiment, the sub-controllers may include a base sub-controller and an extension sub-controller. In an exemplary embodiment, the extended sub-controller is a sub-controller that is extended on the basis of the base sub-controller.
In an exemplary embodiment, the extended 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) sub-controller is FullscreenController, a text sub-controller is TextController, PDF sub-controller is PDFController; in the process of generating the split screen, a split screen material list in the configuration file is added to FullscreenController, a text material list in the configuration file is added to TextController, and a PDF material list in the configuration file is added to PDFController.
In an exemplary embodiment, each sub-controller may include information of a play state, a play position, and the like. In an exemplary embodiment, the play status may include start, pause, complete. For example, the sub-central controller may set up three play states by the state values of a start statement [ start () ], a pause statement [ pause () ], and a completion statement [ complete () ], respectively. In an exemplary embodiment, each sub-controller may include a corresponding material list, and the playing position indicates what number of played materials in the material list, that is, the playing order of the materials.
Step 13: after all the sub-controllers are added to the central control controller, the plurality of sub-controllers play materials under the control of the central control controller; after each sub-controller receives the playing instruction of the central controller, the sub-controllers play the materials through the corresponding playing components according to the material list of the sub-controllers, and after the last material is played, the sub-controllers are informed of completing playing.
In an exemplary embodiment, when a plurality of sub-controllers play the material at the same time, the central controller may issue a play command to the plurality of sub-controllers at the same time, so that the plurality of sub-controllers start playing the material at the same time. Fig. 6 is a schematic diagram showing a picture structure of two sub-controllers simultaneously controlling two playing components in fig. 4 to play materials.
In an exemplary embodiment, when the plurality of sub-controllers play the material according to the play position (i.e., the play sequence) of the material, the central controller notifies the sub-controllers to start playing the material according to the play position of the material in 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 central controller issues a play instruction to the sub-controller, so that the sub-controller starts playing the material may include: the central controller issues a playing instruction to a starting statement [ start () ] in the sub-controller, so that the sub-controller starts playing the material.
In an exemplary embodiment, in step 13, after receiving a play command of the central controller, the sub-controller plays the material according to its own material list, which may include:
step 131: when receiving a play notice of the central control controller, acquiring a first material to be played corresponding to a self material list, and delivering the acquired material to a UI renderer for rendering;
Step 132: starting a timer when the UI renderer renders the first frame of picture, and executing step 133 when the timer reaches the playing duration of the current playing material, if the current playing material is not yet played; if the playing of all the materials is completed, the central controller is notified.
Step 133: acquire the next material to be played, execute step 132.
In the embodiment of the disclosure, when the UI renders the first frame of picture, a timer is started to count, so that each material can be ensured to be completely played.
Step 14: after receiving the notification of the completion of playing of the sub-controllers, the central 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 completed, the playing is decided to be replayed or ended according to the playing logic.
In an exemplary embodiment, the central controller may control 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 sub-controller 1 may play the picture after the picture corresponding to another sub-controller 2 is completed, and the central controller may control the sub-controller 1 to pause, and the central controller may control the sub-controller 1 to start playing after receiving the notification that the sub-controller 2 completes playing.
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 as to realize linkage play of corresponding materials among the plurality of sub-controllers. The central controller can also inform the sub-controllers to execute corresponding operations according to the instruction from the user, so that the flexibility of playing the materials is improved.
The embodiment of the present disclosure further provides a play control device, as shown in fig. 7, which is a schematic structural diagram of the play control device, where the play control device 10 includes a first generating module 101 and a second generating module 102;
a first generation module 101, configured to generate a central controller;
the second generating module 102 is 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 sub-module is used for acquiring the configuration file; the configuration file comprises: template type, multiple material lists;
The central controller generation sub-module is used for generating a central controller;
The sub-controller generating sub-module is used for generating a plurality of playing components according to the template type, and generating a plurality of sub-controllers which are in one-to-one correspondence with the plurality of playing components in the process of generating the plurality of playing components;
and the adding sub-module is used for adding a plurality of material lists corresponding to the playing components one by one 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 current material to be played when the timer reaches a playing duration of the material to be played.
In an exemplary embodiment, when the material type to be played includes an image or 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 the first frame of picture is rendered.
The embodiment of the disclosure also provides a play control system, which comprises: a display device and a play control device according to 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 display, a notebook computer, a digital photo frame, a navigator, and the like.
The embodiment of the disclosure further provides a computer readable storage medium, where the storage medium is configured to store computer program instructions, where the computer program instructions can implement the play control method described in any of the foregoing embodiments when running.
According to the playing control method, device and system and storage medium, each sub-controller plays materials under the control of the central controller, the plurality of sub-controllers realize linkage playing of the materials through the control of the central controller, and the situation that screen playing pictures are incoherent or not real due to abnormal playing of one or more sub-controllers is avoided, so that user experience is improved. .
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the 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 cooperatively by several physical components. 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 both 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 known to those skilled 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 be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, 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.
The drawings of the embodiments of the present disclosure relate only to the structures to which the embodiments of the present disclosure relate, and reference may be made to the general design for other structures.
Features of embodiments of the invention, i.e. embodiments, may be combined with each other to give new embodiments without conflict.
Although the embodiments of the present invention are described above, the present invention is not limited to the embodiments which are used for understanding the present invention. Any person skilled in the art can make any modification and variation in form and detail without departing from the spirit and scope of the present disclosure, but the scope of the present disclosure is to be determined by the appended claims.

Claims (13)

1. A play control method, applied to a play control device, comprising:
generating a central controller and a plurality of sub controllers;
each sub-controller plays the material under the control of the central controller;
the generating central controller and the plurality of sub-controllers comprise:
acquiring a configuration file, and generating the central control controller, wherein the configuration file comprises the following components: template type, multiple material lists;
Generating a plurality of playing components according to the template type, generating a plurality of sub-controllers corresponding to the playing components one by one in the process of generating the playing components, and adding a plurality of material lists corresponding to the playing components one by one in the configuration file to the corresponding sub-controllers.
2. The play control method according to claim 1, wherein each sub-controller plays the material under the control of the central controller, comprising:
And the sub-controller plays the material according to the instruction of the central controller, starts a timer to start timing when the material to be played starts playing, and completes playing of the current material to be played when the timer reaches the playing time of the material to be played.
3. The play control method according to claim 1, wherein each sub-controller plays the material under the control of the central controller, comprising:
Step A1: when the sub-controller receives a playing instruction of the central controller, a first material to be played corresponding to a self material list is obtained, 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 play, a timer is started to start timing, when the timer reaches the playing time of the material to be played, if the timer has unreflected material information in the material list, the step A3 is executed, and if the playing of all the materials is completed, the central controller is informed of the completion of the playing;
step A3: and the sub-controller acquires the next material to be played according to the self material list, and executes the step A2.
4. The playback control method of claim 3, wherein the information of the material to be played back includes: the playing time length, the type, the playing position and the attribute information of the materials.
5. The play control method according to claim 3, wherein after the notification central controller finishes playing, further comprising:
and the central controller sends a playing instruction to the sub-controller corresponding to the next material to be played according to the playing sequence of the material played by the plurality of sub-controllers.
6. A play control method according to claim 2 or 3, 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 playing includes:
and controlling the playing component to render the material to be played, and starting a timer to start timing when the first frame of picture is rendered.
7. A play control method according to claim 2 or 3, wherein before the material to be played starts playing, further comprising:
and obtaining the thumbnail of the material to be played, and rendering and playing the thumbnail of the material to be played.
8. A play control method according to claim 2 or 3, wherein each sub-controller plays the material under the control of the central controller, further comprising:
The central controller acquires the playing state of the sub-controller in real time, and sends an operation instruction to the sub-controller according to the playing state or an instruction from a user;
and when the sub-controller receives the operation instruction of the central control controller, executing corresponding operation according to the operation instruction.
9. The play 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;
the second generation module is used for generating a plurality of sub-controllers, and each sub-controller plays materials under the control of the central control controller;
the first generation module comprises an acquisition sub-module and a central controller generation sub-module; the second generation module comprises a sub-controller generation sub-module and an addition sub-module;
The acquisition sub-module is used for acquiring the configuration file; the configuration file comprises: template type, multiple material lists;
the central controller generation submodule is used for generating the central controller;
the sub-controller generation sub-module is used for generating a plurality of play components according to the template type, and generating a plurality of sub-controllers which are in one-to-one correspondence with the plurality of play components in the process of generating the plurality of play components;
and the adding sub-module is used for adding a plurality of material lists corresponding to the playing components one by one in the configuration file into the corresponding sub-controllers.
10. The play control device according to claim 9, wherein the sub-controller is configured to play the material according to the instruction of the central controller, start a timer to start timing when the material to be played starts playing, and complete playing of the current material to be played when the timer reaches the playing duration of the material to be played.
11. The playback control device of claim 10, wherein when the type of material to be played back comprises an image or 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 the first frame of picture is rendered.
12. A play control system, comprising: display device and play control device according to any one of claims 9 to 11.
13. A computer readable storage medium for storing computer program instructions, wherein the computer program instructions are operable to implement the playback control method of any one of claims 1 to 8.
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 CN113992950A (en) 2022-01-28
CN113992950B true 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
CN113992950A (en) 2022-01-28

Similar Documents

Publication Publication Date Title
US20160366466A1 (en) Method for displaying bullet screen of video, and electronic device
US20080174597A1 (en) Display Control Apparatus, Display Control Method, and Program
US8205159B2 (en) System, method and medium organizing templates for generating moving images
CN113111195A (en) Multimedia information editing method and related device
CN104063198A (en) Multi-screen synchronous subtitle overlaying method and equipment
RU2006125118A (en) MEMORABLE MEDIA CONTAINING A STREAM OF INTERACTIVE GRAPHICS AND A DEVICE FOR ITS PLAYBACK
US11620784B2 (en) Virtual scene display method and apparatus, and storage medium
US10356359B2 (en) Information processing apparatus, method for controlling the information processing apparatus, and recording medium
CN104363508A (en) Image stitching method and device for preventing video rollback
CN107797833A (en) The interface display method of application program on smart machine
US11995371B2 (en) Dividing method, distribution method, medium, server, system
CN113992950B (en) Playing control method, device, system and storage medium
JP2017102218A (en) Display device and display program
JP2007180638A (en) Imaging apparatus
CN109104628B (en) Focus foreground generation method, storage medium, device and system of android television
JP4027800B2 (en) Display image control information creation device, image display method, and image display device
US20030210273A1 (en) Display image control information creation unit, imatge display method, and image display unit
US10579713B2 (en) Application Markup language
CN110880197A (en) Information processing apparatus, storage medium, and information processing method
JP2006319916A (en) Display control device, display control method thereof, and camera provided with the display control device
CN116501205B (en) Method and device for moving covered view, electronic equipment and readable storage medium
JP2002281382A (en) Image processor and image processing method
CN112346614B (en) Image display method and device, electronic device, and storage medium
JP2004037542A (en) Display system, and display device and controller used for the same
JP2989382B2 (en) Multi-screen display device

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