Material playing method and device

文档序号:1617317 发布日期:2020-01-10 浏览:25次 中文

阅读说明:本技术 一种素材播放方法及装置 (Material playing method and device ) 是由 聂鑫 祝建平 袁轶 于 2019-10-14 设计创作,主要内容包括:本申请提供一种素材播放方法及装置,涉及节目制作技术领域。该素材播放方法包括:在与播出素材设备连接之后,根据播放需求信息生成相应的素材播放指令,最后根据素材播放指令控制播出素材设备进行相应的素材播放操作,进而实现自动对素材进行播放,无需人工操作,进而避免出现失误的技术效果。(The application provides a method and a device for playing a material, and relates to the technical field of program production. The material playing method comprises the following steps: after being connected with broadcasting material equipment, according to playing the corresponding material broadcast instruction of demand information generation, play material equipment according to material broadcast instruction control at last and carry out corresponding material broadcast operation, and then realize playing the material automatically, need not manual operation, and then avoid the technological effect who goes wrong.)

1. A method for playing back a material, comprising:

establishing communication connection with the material broadcasting equipment and acquiring broadcasting requirement information;

acquiring a material to be played and playing control information according to the playing requirement information;

controlling the broadcasting material equipment to execute corresponding material broadcasting operation on the material to be broadcasted according to the broadcasting control information, and judging whether the broadcasting control information is matched with the broadcasting requirement information;

and if so, generating a material playing instruction according to the material to be played and the playing control information, and controlling the material playing equipment to perform corresponding material playing operation according to the material playing instruction.

2. The material playing method according to claim 1, wherein said establishing a communication connection with a device for playing the material and obtaining the playing requirement information comprises:

determining a target protocol matched with the broadcasting material equipment from a communication protocol library;

switching the current communication protocol to a target protocol;

and judging whether the communication with the broadcasting material equipment can be carried out through the target protocol, if so, acquiring the broadcasting requirement information.

3. The material playing method according to claim 1, wherein obtaining the material to be played and the playing control information according to the playing requirement information comprises:

acquiring a material to be played and at least one operation step information matched with the material to be played according to the playing requirement information;

determining playing content corresponding to each operation step information from the material to be played;

determining time delay information between each operation step according to the playing requirement information;

and generating playing control information according to the operation step information, the playing content corresponding to each operation step information and the time delay information among each operation step.

4. A material playback method as defined in claim 3, wherein after determining the time delay information between each of the operation steps based on the playback demand information, the method further comprises:

judging whether the time delay information is matched with the playing requirement information or not;

and if the time delay information is not matched with the playing requirement information, adjusting the time delay information, and executing the playing control information according to the operation step information, the playing content corresponding to each operation step information and the time delay information between each operation step.

5. The material playing method according to claim 3, wherein generating a material playing command based on the material to be played and the playing control information comprises:

acquiring a one-key playing instruction identifier for controlling the material to be played to execute corresponding operation according to the playing control information;

and generating a material playing instruction according to the material to be played, the playing control information and the one-key playing instruction identifier.

6. A material playback apparatus, comprising:

the first acquisition module is used for establishing communication connection with the broadcast material equipment and acquiring broadcast demand information;

the second acquisition unit is used for acquiring the material to be played and the playing control information according to the playing requirement information;

the first judgment module is used for controlling the material playing equipment to execute corresponding material playing operation on the material to be played according to the playing control information and judging whether the playing control information is matched with the playing requirement information;

the scheme generation module is used for generating a material playing instruction according to the material to be played and the playing control information when the playing control information is judged to be matched with the playing requirement information;

and the control module is used for controlling the material broadcasting equipment to carry out corresponding material broadcasting operation according to the material broadcasting instruction.

7. The material playback apparatus according to claim 6, wherein the first acquisition module includes:

the protocol switching submodule is used for determining a target protocol matched with the broadcasting material equipment from a communication protocol library; switching the current communication protocol to a target protocol;

the judgment submodule is used for judging whether the communication with the broadcast material equipment can be carried out through the target protocol or not;

and the acquisition submodule is used for acquiring the playing requirement information when judging that the communication with the playing material equipment can be carried out through the target protocol.

8. The material playback apparatus according to claim 7, wherein the second acquisition unit includes:

the step acquisition submodule is used for acquiring a material to be played and at least one operation step information matched with the material to be played according to the playing requirement information;

the determining submodule is used for determining playing content corresponding to each piece of operation step information from the material to be played; determining time delay information between each operation step according to the playing requirement information;

and the generation submodule is used for generating playing control information according to the operation step information, the playing content corresponding to each operation step information and the time delay information among each operation step.

9. A switch station apparatus, characterized by comprising a memory for storing a computer program and a processor for executing the computer program to cause the switch station apparatus to execute the material playback method of any one of claims 1 to 5.

10. A computer-readable storage medium characterized by storing a computer program for use in implementing the material playback method according to any one of claims 1 to 5.

Technical Field

The application relates to the technical field of program production, in particular to a material playing method and device.

Background

At present, when a sports event is rebroadcast, broadcasting materials in an event broadcasting process usually requires one operator to select the broadcasting materials and press a starting broadcasting key, and then another operator switches the broadcasting materials into a common signal to complete the material broadcasting process so as to achieve the broadcasting effect. However, in practice, it is found that the existing material playing method needs manual operation, and in the operation process, operators need to cooperate with each other, and the operation steps are complicated, so that errors are easily caused.

Disclosure of Invention

An object of the embodiments of the present application is to provide a method and an apparatus for playing a material, which can automatically play the material without manual operation, thereby avoiding errors.

A first aspect of an embodiment of the present application provides a method for playing a material, including:

establishing communication connection with the material broadcasting equipment and acquiring broadcasting requirement information;

acquiring a material to be played and playing control information according to the playing requirement information;

controlling the broadcasting material equipment to execute corresponding material broadcasting operation on the material to be broadcasted according to the broadcasting control information, and judging whether the broadcasting control information is matched with the broadcasting requirement information;

and if so, generating a material playing instruction according to the material to be played and the playing control information, and controlling the material playing equipment to perform corresponding material playing operation according to the material playing instruction.

In the implementation process, after the connection with the broadcast material equipment, the corresponding material playing instruction is generated according to the playing requirement information, and finally, the broadcast material equipment is controlled to carry out corresponding material playing operation according to the material playing instruction, so that the material is automatically played without manual operation, and the technical effect of avoiding errors is achieved.

Further, the establishing of communication connection with the device for playing the material and the obtaining of the information of the playing requirement include:

determining a target protocol matched with the broadcasting material equipment from a communication protocol library;

switching the current communication protocol to a target protocol;

and judging whether the communication with the broadcasting material equipment can be carried out through the target protocol, if so, acquiring the broadcasting requirement information.

In the implementation process, when the communication connection is established with the broadcast material equipment, the communication protocol is set as a target protocol matched with the broadcast material equipment, then whether the communication can be carried out with the broadcast material equipment through the target protocol is judged, if the communication can be carried out, the instruction information can be sent to the broadcast material equipment, and the broadcast material equipment is controlled.

Further, according to the playing requirement information, obtaining the material to be played and the playing control information, including:

acquiring a material to be played and at least one operation step information matched with the material to be played according to the playing requirement information;

determining playing content corresponding to each operation step information from the material to be played;

determining time delay information between each operation step according to the playing requirement information;

and generating playing control information according to the operation step information, the playing content corresponding to each operation step information and the time delay information among each operation step.

In the implementation process, the operation step information of the played material is determined, then the played content corresponding to each operation step information is determined from the material to be played, finally the time delay information between each operation step information is determined, and finally the corresponding playing control information is generated.

Further, after determining the delay information between each of the operation steps according to the play requirement information, the method further includes:

judging whether the time delay information is matched with the playing requirement information or not;

and if the time delay information is not matched with the playing requirement information, adjusting the time delay information, and executing the playing control information according to the operation step information, the playing content corresponding to each operation step information and the time delay information between each operation step.

In the implementation process, after the time delay information is determined, when the time delay information is judged not to be in accordance with the playing requirement, the time delay information is adjusted, so that the obtained playing control information is matched with the playing requirement information, the time point of playing the material is more accurate, the situation that switching is fast or slow is avoided, and the playing quality of the material is improved.

Further, generating a material playing instruction according to the material to be played and the playing control information, including:

acquiring a one-key playing instruction identifier for controlling the material to be played to execute corresponding operation according to the playing control information;

and generating a material playing instruction according to the material to be played, the playing control information and the one-key playing instruction identifier.

In the implementation process, after the play control information is determined, the play control information is bound with the one-key play instruction identifier. In actual use, when a play instruction is received, and when the identifier of the play instruction is judged to be the same as the one-key play instruction identifier, the play material equipment is controlled to perform corresponding material play operation according to the play control information, so that the one-key play of the material is realized.

A second aspect of the embodiments of the present application provides a material playing apparatus, including:

the first acquisition module is used for establishing communication connection with the broadcast material equipment and acquiring broadcast demand information;

the second acquisition unit is used for acquiring the material to be played and the playing control information according to the playing requirement information;

the first judgment module is used for controlling the material playing equipment to execute corresponding material playing operation on the material to be played according to the playing control information and judging whether the playing control information is matched with the playing requirement information;

the scheme generation module is used for generating a material playing instruction according to the material to be played and the playing control information when the playing control information is judged to be matched with the playing requirement information;

and the control module is used for controlling the material broadcasting equipment to carry out corresponding material broadcasting operation according to the material broadcasting instruction.

In the implementation process, the material can be automatically played without manual operation, and the incomplete playing of the material is avoided.

Further, the first obtaining module comprises:

the protocol switching submodule is used for determining a target protocol matched with the broadcasting material equipment from a communication protocol library; switching the current communication protocol to a target protocol;

the judgment submodule is used for judging whether the communication with the broadcast material equipment can be carried out through the target protocol or not;

and the acquisition submodule is used for acquiring the playing requirement information when judging that the communication with the playing material equipment can be carried out through the target protocol.

In the implementation process, when the communication connection is established with the broadcast material equipment, the switching submodule firstly sets the communication protocol as a target protocol matched with the broadcast material equipment, then the judging submodule judges whether the communication can be carried out with the broadcast material equipment through the target protocol, if the communication can be judged, the judgment submodule indicates that the instruction information can be sent to the broadcast material equipment, and then the broadcast material equipment is controlled.

Further, the second acquisition unit includes:

the step acquisition submodule is used for acquiring a material to be played and at least one operation step information matched with the material to be played according to the playing requirement information;

the determining submodule is used for determining playing content corresponding to each piece of operation step information from the material to be played; determining time delay information between each operation step according to the playing requirement information;

and the generation submodule is used for generating playing control information according to the operation step information, the playing content corresponding to each operation step information and the time delay information among each operation step.

In the implementation process, the obtaining submodule firstly determines operation step information of the played material, the determining submodule then determines the played content corresponding to each operation step information and determines time delay information between each operation step information from the material to be played, and finally the generating submodule generates corresponding playing control information.

In a third aspect, the present invention discloses a switching station apparatus, which includes a memory and a processor, wherein the memory is used for storing a computer program, and the processor runs the computer program to make the switching station apparatus execute part or all of the material playing method disclosed in the first aspect.

A fourth aspect of the present invention discloses a computer-readable storage medium storing the computer program used in the station switching apparatus of the third aspect.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.

Fig. 1 is a schematic flowchart of a material playing method according to an embodiment of the present application;

fig. 2 is a schematic flowchart of a material playing method according to a second embodiment of the present application;

fig. 3 is a schematic structural diagram of a material playing apparatus according to a third embodiment of the present application;

fig. 4 is a schematic structural diagram of another material playing apparatus according to a third embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种多媒体数据处理方法、装置以及相关设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类