[go: up one dir, main page]

CN115407699B - Device control method, device control apparatus, medium and electronic equipment - Google Patents

Device control method, device control apparatus, medium and electronic equipment Download PDF

Info

Publication number
CN115407699B
CN115407699B CN202211130533.2A CN202211130533A CN115407699B CN 115407699 B CN115407699 B CN 115407699B CN 202211130533 A CN202211130533 A CN 202211130533A CN 115407699 B CN115407699 B CN 115407699B
Authority
CN
China
Prior art keywords
execution element
execution
sequence
element group
broadcasting
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
CN202211130533.2A
Other languages
Chinese (zh)
Other versions
CN115407699A (en
Inventor
王毅
黄文杰
张丰翼
石铭林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Boguan Information Technology Co Ltd
Original Assignee
Guangzhou Boguan Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Boguan Information Technology Co Ltd filed Critical Guangzhou Boguan Information Technology Co Ltd
Priority to CN202211130533.2A priority Critical patent/CN115407699B/en
Publication of CN115407699A publication Critical patent/CN115407699A/en
Application granted granted Critical
Publication of CN115407699B publication Critical patent/CN115407699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Programmable Controllers (AREA)

Abstract

本申请提供一种设备控制方法、装置、介质及设备,涉及计算机技术领域,包括:获取播出指示信息序列;从执行元素集合中确定播出指示信息序列中各信息对应的执行元素,得到所述播出指示信息序列对应的执行元素组;其中,执行元素集合包括对应于不同设备触发协议的执行元素;调用执行元素组中各执行元素对应的设备执行相应执行元素指示的操作。这样可以基于不同设备触发协议的执行元素确定出各信息对应的执行元素组,进而可以通过触发执行元素组对应的设备执行相应执行元素指示的操作,就可以实现对于多设备的联合控制,相较于现有技术,无需专人控制各类设备,可以通过自动化的多设备联合控制,降低播出事故率。

The present application provides a device control method, apparatus, medium and equipment, which relates to the field of computer technology, including: obtaining a broadcast indication information sequence; determining the execution element corresponding to each information in the broadcast indication information sequence from the execution element set, and obtaining the execution element group corresponding to the broadcast indication information sequence; wherein the execution element set includes execution elements corresponding to different device trigger protocols; calling the device corresponding to each execution element in the execution element group to execute the operation indicated by the corresponding execution element. In this way, the execution element group corresponding to each information can be determined based on the execution elements of different device trigger protocols, and then the device corresponding to the triggering execution element group can execute the operation indicated by the corresponding execution element, so that joint control of multiple devices can be achieved. Compared with the existing technology, there is no need for a dedicated person to control various types of equipment, and the broadcast accident rate can be reduced through automated joint control of multiple devices.

Description

Equipment control method, equipment control device, medium and electronic equipment
Technical Field
The present application relates to the field of computer technology, and in particular, to an apparatus control method, an apparatus control device, a computer readable storage medium, and an electronic apparatus.
Background
The broadcasting video programs generally need to be used in various devices, such as caption packaging system devices, audio system devices, light system devices and the like, all the devices are controlled by special persons respectively, and the high coordination among the multiple persons is realized, so that the normal broadcasting of the video programs can be ensured. But if a problem occurs between the cooperation of multiple persons, a play-out accident is easily caused.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the application and thus may include information that does not form an existing solution that is already known to those of ordinary skill in the art.
Disclosure of Invention
The application aims to provide a device control method, a device control device, a computer readable storage medium and an electronic device, which can determine an execution element group corresponding to each piece of information in a broadcasting indication information sequence based on execution elements of different device trigger protocols, further can execute corresponding execution element indication operation by triggering the devices corresponding to the execution element group, can realize joint control of multiple devices, and can reduce broadcasting accident rate by automatic multi-device joint control without special person control of various devices compared with the prior art.
Other features and advantages of the application will be apparent from the following detailed description, or may be learned by the practice of the application.
According to an aspect of the present application, there is provided an apparatus control method including:
Acquiring a broadcasting indication information sequence;
determining the execution element corresponding to each information in the broadcasting indication information sequence from the execution element set to obtain an execution element group corresponding to the broadcasting indication information sequence, wherein the execution element set comprises the execution elements corresponding to different equipment triggering protocols;
And calling the equipment corresponding to each execution element in the execution element group to execute the operation indicated by the corresponding execution element.
In an exemplary embodiment of the present application, before acquiring the play-out indication information sequence, the method further includes:
and acquiring a program broadcasting sequence, wherein the program broadcasting sequence comprises broadcasting indication information sequences corresponding to different programs.
In an exemplary embodiment of the present application, the above method further includes:
acquiring an execution element group corresponding to each broadcasting indication information sequence in a program broadcasting sequence;
And sequencing each execution element group according to the time sequence corresponding to the program broadcasting sequence and outputting sequencing results.
In an exemplary embodiment of the present application, the above method further includes:
acquiring a device triggering protocol corresponding to each device;
abstracting each device triggering protocol into an execution element to obtain an execution element set.
In one exemplary embodiment of the present application, each device includes at least two of a subtitle packaging system device, an audio system device, a film playing system device, a switching system device, a screen system device, a robot camera system device, and a lighting system device.
In an exemplary embodiment of the present application, the above method further includes:
Determining an element timing of the set of execution elements in response to an automated execution operation;
And sequentially calling the equipment corresponding to each execution element to execute the operation indicated by the corresponding execution element based on the element time sequence.
In an exemplary embodiment of the present application, the above method further includes:
And adjusting the time delay parameter of the specified execution element in the execution element group in response to the time delay setting operation.
In an exemplary embodiment of the present application, before determining an execution element corresponding to each piece of information in the play indication information sequence from the execution element set to obtain an execution element group corresponding to the play indication information sequence, the method further includes:
And testing each execution element in the execution element group according to the element time sequence of the execution element group, obtaining a test result and outputting the test result.
In an exemplary embodiment of the present application, invoking a device corresponding to each execution element in the execution element group to execute an operation indicated by the corresponding execution element includes:
Determining a time delay parameter corresponding to each execution element in the execution element group;
and calling the equipment corresponding to each execution element in the execution element group to execute the operation indicated by the corresponding execution element based on each time delay parameter.
In an exemplary embodiment of the present application, invoking, based on each delay parameter, an operation of executing a corresponding execution element instruction by a device corresponding to each execution element in an execution element group, including:
The equipment corresponding to the execution elements with the same time delay parameters in the execution element group is triggered in parallel to execute the operation indicated by the corresponding execution element;
and serially triggering the equipment corresponding to the execution elements with different time delay parameters in the execution element group to execute the operation indicated by the corresponding execution element.
According to an aspect of the present application, there is provided an apparatus control device including:
the information acquisition unit is used for acquiring a broadcasting indication information sequence;
the system comprises an execution element determining unit, an execution element setting unit and a control unit, wherein the execution element determining unit is used for determining execution elements corresponding to each piece of information in a broadcasting indication information sequence from an execution element set to obtain an execution element group corresponding to the broadcasting indication information sequence, and the execution element set comprises the execution elements corresponding to different equipment triggering protocols;
the device calling unit is used for calling the device corresponding to each execution element in the execution element group to execute the operation indicated by the corresponding execution element.
In an exemplary embodiment of the application, the information acquisition unit is further configured to acquire a program broadcasting sequence before acquiring the broadcasting instruction information sequence, wherein the program broadcasting sequence includes broadcasting instruction information sequences corresponding to different programs.
In an exemplary embodiment of the present application, the apparatus further includes:
the ordering unit is used for acquiring the execution element groups corresponding to the broadcasting indication information sequences in the program broadcasting sequences, ordering the execution element groups according to the time sequences corresponding to the program broadcasting sequences and outputting ordering results.
In an exemplary embodiment of the present application, the apparatus further includes:
the protocol acquisition unit is used for acquiring the device triggering protocol corresponding to each device;
and the set determining unit is used for abstracting the triggering protocol of each device into the execution element to obtain an execution element set.
In one exemplary embodiment of the present application, each device includes at least two of a subtitle packaging system device, an audio system device, a film playing system device, a switching system device, a screen system device, a robot camera system device, and a lighting system device.
In an exemplary embodiment of the present application, the apparatus further includes:
And the automatic execution unit is used for responding to the automatic execution operation, determining the element time sequence of the execution element group, and calling the equipment corresponding to each execution element to execute the operation indicated by the corresponding execution element based on the element time sequence.
In an exemplary embodiment of the present application, the apparatus further includes:
and the delay setting unit is used for responding to the delay setting operation and adjusting the delay parameter of the specified execution element in the execution element group.
In an exemplary embodiment of the present application, the apparatus further includes:
And the test unit is used for testing each execution element in the execution element group according to the element time sequence of the execution element group before the execution element determining unit determines the execution element corresponding to each information in the broadcasting indication information sequence from the execution element set to obtain the execution element group corresponding to the broadcasting indication information sequence, so as to obtain a test result and output the test result.
In an exemplary embodiment of the present application, the device calling unit calls a device corresponding to each execution element in the execution element group to execute an operation indicated by the corresponding execution element, including:
Determining a time delay parameter corresponding to each execution element in the execution element group;
and calling the equipment corresponding to each execution element in the execution element group to execute the operation indicated by the corresponding execution element based on each time delay parameter.
In an exemplary embodiment of the present application, a device calling unit calls, based on each delay parameter, a device corresponding to each execution element in an execution element group to execute an operation indicated by the corresponding execution element, including:
The equipment corresponding to the execution elements with the same time delay parameters in the execution element group is triggered in parallel to execute the operation indicated by the corresponding execution element;
and serially triggering the equipment corresponding to the execution elements with different time delay parameters in the execution element group to execute the operation indicated by the corresponding execution element.
According to an aspect of the present application, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of any of the above.
According to an aspect of the application, there is provided an electronic device comprising a processor and a memory for storing executable instructions of the processor, wherein the processor is configured to perform the method of any of the above via execution of the executable instructions.
Exemplary embodiments of the present application may have some or all of the following advantages:
In the device control method provided by the example embodiment of the application, a broadcasting indication information sequence can be acquired, the execution element corresponding to each piece of information in the broadcasting indication information sequence is determined from an execution element set to obtain an execution element group corresponding to the broadcasting indication information sequence, wherein the execution element set comprises the execution elements corresponding to different device trigger protocols, and the device corresponding to each execution element in the execution element group is called to execute the operation indicated by the corresponding execution element. Therefore, the execution element groups corresponding to the information in the broadcasting indication information sequence can be determined based on the execution elements of different equipment triggering protocols, and then the operation of corresponding execution element indication can be executed by the equipment corresponding to the triggering execution element groups, so that the joint control of multiple equipment can be realized. In addition, the automation degree of multi-equipment control can be improved, and the broadcasting efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. It is evident that the drawings in the following description are only some embodiments of the present application and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 schematically illustrates a flow chart of a device control method according to one embodiment of the application;
fig. 2 schematically shows a flow chart of a device control method according to another embodiment of the application;
Fig. 3 schematically illustrates an application scenario of a device control method according to an embodiment of the present application;
FIG. 4 schematically shows a block diagram of the apparatus control device in one embodiment according to the application;
fig. 5 shows a schematic diagram of a computer system suitable for use in implementing an embodiment of the application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments can be embodied in many different forms and should not be construed as limited to the examples set forth herein, but rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the application may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known aspects have not been shown or described in detail to avoid obscuring aspects of the application.
Furthermore, the drawings are merely schematic illustrations of the present application and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
Referring to fig. 1, fig. 1 schematically shows a flow chart of a device control method according to an embodiment of the present application. The method may be applied to a server/terminal (or an application on a terminal). As shown in FIG. 1, the device control method may include steps S110 to S130.
And step S110, acquiring a broadcasting indication information sequence.
And step S120, determining the execution element corresponding to each piece of information in the broadcasting indication information sequence from the execution element set to obtain an execution element group corresponding to the broadcasting indication information sequence, wherein the execution element set comprises the execution elements corresponding to different equipment triggering protocols.
Step S130, calling the equipment corresponding to each execution element in the execution element group to execute the operation indicated by the corresponding execution element.
By implementing the method shown in fig. 1, the execution element group corresponding to each information in the broadcasting indication information sequence can be determined based on the execution elements of different equipment triggering protocols, and then the operation of corresponding execution element indication can be performed by triggering the equipment corresponding to the execution element group, so that the joint control of multiple equipment can be realized. In addition, the automation degree of multi-equipment control can be improved, and the broadcasting efficiency is improved.
Next, the above steps of the present exemplary embodiment will be described in more detail.
In step S110, a play-out indication information sequence is acquired.
In particular, the sequence of playout indication information may include a plurality of playout indication information, a timing relationship exists between the plurality of playout indication information and each playout indication information may be used to indicate a playout step (e.g., A1 lights-A2 shows a program name-A3 shows a presenter name.
As an alternative embodiment, before the broadcasting indication information sequence is obtained, the method further comprises obtaining a program broadcasting sequence, wherein the program broadcasting sequence comprises broadcasting indication information sequences corresponding to different programs. Therefore, the automatic equipment control for a plurality of programs can be realized, the sequential broadcasting of the plurality of programs can be realized, and the automation degree of the multi-equipment control can be improved.
In particular, a program may be understood as a live video program, a recorded video program, etc., and further, for example, a program play-out sequence may be represented as a play-out indication information sequence a-play-out indication information sequence B-play-out indication information sequence c.
In an exemplary embodiment of the present application, the method further includes obtaining an execution element group corresponding to each broadcasting indication information sequence in the program broadcasting sequence, sorting the execution element groups according to a time sequence corresponding to the program broadcasting sequence, and outputting a sorting result. Therefore, the method can help related personnel to intuitively know the execution element groups arranged according to the program broadcasting time sequence, so that the related personnel can adjust the sequence or increase or decrease the programs, and the interactivity with users is improved.
Specifically, after sorting the execution element groups according to the time sequence corresponding to the program broadcasting sequence and outputting the sorting result, the method can further comprise the steps of responding to the triggering operation of the execution element groups of the target program in the program broadcasting sequence, calling corresponding equipment to execute the operation indicated by the corresponding execution elements according to the element time sequence of the execution element groups of the target program in sequence, wherein the target program can be a program at any position in the program broadcasting sequence, namely, a user can skip the time sequence of the program broadcasting sequence to specify a program needing to be broadcasted preferentially.
In addition, optionally, the method can further comprise the step of calling the equipment of each execution element group to execute the operation indicated by the corresponding execution element according to the time sequence corresponding to the program broadcasting sequence in response to the automatic operation.
As an optional embodiment, the method further comprises the steps of obtaining device trigger protocols corresponding to the devices, abstracting the device trigger protocols into execution elements, and obtaining an execution element set. The equipment comprises at least two of subtitle packaging system equipment, audio system equipment, video playing system equipment, switching system equipment, screen system equipment, robot camera system equipment and lamplight system equipment. Therefore, the corresponding equipment can be conveniently called directly through the execution element, the joint control of multiple equipment can be realized, and the cost of manual control equipment is reduced.
In particular, an execution element may be understood as a Meta element, which is a tag used in hypertext markup language (Hyper Text Markup Language, HTML) documents and extensible hypertext markup language (eXtensible HyperText Markup Language, XHTML) documents to provide structured metadata about web pages.
In addition, the device and the device triggering protocol can be in one-to-one correspondence, one device triggering protocol can abstract to obtain a plurality of execution elements, and the execution elements can be understood as execution operation indication identifiers of minimum units. The execution element set may include execution elements corresponding to respective device trigger protocols.
In step S120, an execution element corresponding to each information in the play indication information sequence is determined from the execution element set, so as to obtain an execution element group corresponding to the play indication information sequence, where the execution element set includes execution elements corresponding to different device trigger protocols.
Specifically, the plurality of execution elements included in the execution element group may correspond to the same device trigger protocol or may correspond to different device trigger protocols, and the embodiment of the present application is not limited. Furthermore, the same execution element may exist in the execution element group.
In step S130, the device corresponding to each execution element in the execution element group is called to execute the operation indicated by the corresponding execution element.
Specifically, the calling of the device corresponding to each execution element in the execution element group to execute the operation indicated by the corresponding execution element comprises the step of calling the device corresponding to each execution element in the execution element group to execute the operation indicated by the corresponding execution element in response to the triggering operation for the execution element group.
As an optional embodiment, the method further comprises the steps of responding to automatic execution operation, determining element time sequences of the execution element groups, and calling devices corresponding to the execution elements to execute operation indicated by the corresponding execution elements in sequence based on the element time sequences. Therefore, an automatic execution function can be provided, and after a user triggers the function, the calling of equipment of each execution element in the execution element group can be realized, so that the broadcasting of video programs can be realized, the broadcasting efficiency can be improved, and the broadcasting accidents can be reduced.
Specifically, the element timing of the execution element group is used to define the calling order of the devices corresponding to each execution element in the execution element group. Further, the automated execution operation may be any form of user operation, such as a click operation, a touch screen operation, a voice control operation, a gesture operation, or the like.
As an alternative embodiment, the method further comprises adjusting a delay parameter of a specified execution element in the group of execution elements in response to the delay setting operation. Therefore, the time delay setting function can be provided, the user can realize the refinement control on the program broadcasting, the program broadcasting effect is improved, and the interactivity with the user is improved.
In particular, the delay setting operation may be used to set the delay parameter of one execution element, and may also set the delay parameters of a plurality of execution elements (i.e., a plurality of specified execution elements) at one time through the delay setting operation. In addition, adjusting the delay parameter of the specified execution element in the execution element group includes adjusting a default parameter (e.g., 0 s) of the specified execution element in the execution element group to a delay parameter (e.g., 3 s) corresponding to the delay setting operation.
As an optional embodiment, before determining the execution element corresponding to each information in the play indication information sequence from the execution element set to obtain the execution element group corresponding to the play indication information sequence, the method further comprises testing each execution element in the execution element group according to the element time sequence of the execution element group to obtain a test result and outputting the test result. Therefore, a user can conveniently debug equipment parameters based on the test result, so that the efficiency of multi-equipment joint control is improved.
In particular, the test results may be used to characterize the execution results of the execution elements by the devices of the respective execution elements. In addition, optionally, after testing each execution element in the execution element group according to the element time sequence of the execution element group to obtain a test result, the method can further comprise generating an evaluation result for the test result for reference of a user. Wherein the evaluation result is used for indicating whether the test result is preferred or bad.
As an optional embodiment, the method comprises the steps of determining a time delay parameter corresponding to each execution element in the execution element group and calling the device corresponding to each execution element in the execution element group to execute the operation indicated by the corresponding execution element based on the time delay parameter. Therefore, multi-equipment joint calling based on time delay can be realized, and the broadcasting efficiency of programs is improved.
Specifically, the delay parameter corresponding to each execution element may be a default parameter or a delay parameter set by the user.
As an optional embodiment, calling the equipment corresponding to each execution element in the execution element group to execute the operation indicated by the corresponding execution element based on each time delay parameter comprises the steps of triggering the equipment corresponding to the execution elements with the same time delay parameter in the execution element group to execute the operation indicated by the corresponding execution element in parallel, and triggering the equipment corresponding to the execution elements with different time delay parameters in the execution element group to execute the operation indicated by the corresponding execution element in series. Therefore, parallel triggering/serial triggering of corresponding equipment based on the time delay parameter can be realized, triggering modes of the equipment are enriched, and the broadcasting efficiency of the program is improved.
For example, if the execution element group includes the execution element A1-execution element group A2-execution element group A3-execution element group A4, where the execution element group A2 and the execution element group A3 correspond to the same delay parameter 3s, the execution element A1 corresponds to the delay parameter 0s, the execution element group A4 corresponds to the delay parameter 4s, and then the device corresponding to the execution element A1 may be triggered to execute the operation indicated by the execution element A1, and then the device corresponding to the execution element group A2 and the execution element group A3 may be triggered to execute the operation indicated by the execution element A2 and the execution element group A3 in parallel, and then the device corresponding to the execution element A4 may be triggered to execute the operation indicated by the execution element A4 in series.
Further, referring to fig. 2, fig. 2 schematically shows a flow chart of a device control method according to another embodiment of the present application. As shown in FIG. 2, the device control method may include steps S210 to S280.
Step S210, acquiring a device triggering protocol corresponding to each device.
Step S220, abstracting the triggering protocol of each device into an execution element to obtain an execution element set.
Step S230, a program broadcasting sequence including a broadcasting indication information sequence is acquired.
And step S240, determining the execution element corresponding to each piece of information in the broadcasting indication information sequence from the execution element set to obtain an execution element group corresponding to the broadcasting indication information sequence, wherein the execution element set comprises the execution elements corresponding to different equipment triggering protocols.
Step S250, testing each execution element in the execution element group according to the element time sequence of the execution element group, obtaining a test result and outputting the test result.
Step S260, in response to the time delay setting operation, the time delay parameters of the specified execution elements in the execution element group are adjusted.
Step S270, in response to the triggering operation for the execution element group, determining the time delay parameter corresponding to each execution element in the execution element group.
Step S280, the operation indicated by the corresponding execution element is executed by the equipment corresponding to the execution element with the same time delay parameter in the execution element group is triggered in parallel, and the operation indicated by the corresponding execution element is executed by the equipment corresponding to the execution element with different time delay parameter in the execution element group is triggered in series.
It should be noted that, the steps S210 to S280 correspond to the steps and embodiments shown in fig. 1, and for the specific implementation of the steps S210 to S280, please refer to the steps and embodiments shown in fig. 1, and the description thereof is omitted here.
Therefore, by implementing the method shown in fig. 2, the execution element group corresponding to each piece of information in the broadcasting indication information sequence can be determined based on the execution elements of different device triggering protocols, and then the operation of corresponding execution element indication can be performed by the device corresponding to the triggering execution element group, so that the joint control of multiple devices can be realized. In addition, the automation degree of multi-equipment control can be improved, and the broadcasting efficiency is improved.
Referring to fig. 3, fig. 3 schematically illustrates an application scenario of a device control method according to an embodiment of the present application. As shown in fig. 3, the application scene may include a device control apparatus 300, a subtitle packaging system device 310, an audio system device 320, a film playing system device 330, a switching system device 340, a screen system device 350, a robot camera system device 360, and a light system device 370.
Specifically, the device trigger protocols corresponding to the subtitle packaging system device 310, the audio system device 320, the film playing system device 330, the switching system device 340, the screen system device 350, the robot camera system device 360, and the lighting system device 370 may be abstracted to execute elements, so as to obtain an execute element set. Further, the device control apparatus 300 may obtain a play indication information sequence, determine an execution element corresponding to each information in the play indication information sequence from the execution element set, obtain an execution element group corresponding to the play indication information sequence, and call a device corresponding to each execution element in the execution element group to execute an operation indicated by the corresponding execution element. Therefore, the execution element groups corresponding to the information in the broadcasting indication information sequence can be determined based on the execution elements of different equipment triggering protocols, and then the operation of corresponding execution element indication can be executed by the equipment corresponding to the triggering execution element groups, so that the joint control of multiple equipment can be realized. In addition, the automation degree of multi-equipment control can be improved, and the broadcasting efficiency is improved.
Further, referring to fig. 4, fig. 4 schematically shows a block diagram of a device control apparatus according to an embodiment of the present application. As shown in fig. 4, the device control apparatus 400 may include:
an information acquisition unit 401 for acquiring a play-out instruction information sequence;
An execution element determining unit 402, configured to determine an execution element corresponding to each information in the play indication information sequence from an execution element set, to obtain an execution element group corresponding to the play indication information sequence, where the execution element set includes execution elements corresponding to different device trigger protocols;
the device calling unit 403 is configured to call a device corresponding to each execution element in the execution element group to execute an operation indicated by the corresponding execution element.
As can be seen, by implementing the apparatus shown in fig. 4, the execution element group corresponding to each information in the play indication information sequence can be determined based on the execution elements of different device trigger protocols, and then the operation of corresponding execution element indication can be performed by the device corresponding to the trigger execution element group, so that the joint control of multiple devices can be implemented. In addition, the automation degree of multi-equipment control can be improved, and the broadcasting efficiency is improved.
In an exemplary embodiment of the present application, the information obtaining unit 401 is further configured to obtain a program broadcasting sequence before obtaining the broadcasting instruction information sequence, where the program broadcasting sequence includes broadcasting instruction information sequences corresponding to different programs.
It can be seen that implementing this alternative embodiment may enable automated equipment control for multiple programs, so as to enable sequential playout of multiple programs, and may promote the degree of automation of the multi-equipment control.
In an exemplary embodiment of the present application, the apparatus further includes:
the ordering unit is used for acquiring the execution element groups corresponding to the broadcasting indication information sequences in the program broadcasting sequences, ordering the execution element groups according to the time sequences corresponding to the program broadcasting sequences and outputting ordering results.
Therefore, by implementing the alternative embodiment, the related personnel can intuitively know the execution element groups arranged according to the program broadcasting time sequence, so that the related personnel can adjust the sequence or increase or decrease the programs, and the interactivity with the users is improved.
In an exemplary embodiment of the present application, the apparatus further includes:
the protocol acquisition unit is used for acquiring the device triggering protocol corresponding to each device;
and the set determining unit is used for abstracting the triggering protocol of each device into the execution element to obtain an execution element set.
The equipment comprises at least two of subtitle packaging system equipment, audio system equipment, video playing system equipment, switching system equipment, screen system equipment, robot camera system equipment and lamplight system equipment.
It can be seen that implementing the alternative embodiment can facilitate calling the corresponding device directly through the execution element, and can facilitate implementing joint control over multiple devices, and reduce the cost of manually controlling the devices.
In an exemplary embodiment of the present application, the apparatus further includes:
And the automatic execution unit is used for responding to the automatic execution operation, determining the element time sequence of the execution element group, and calling the equipment corresponding to each execution element to execute the operation indicated by the corresponding execution element based on the element time sequence.
It can be seen that by implementing the alternative embodiment, an automatic execution function can be provided, and after a user triggers the function, the call to the device of each execution element in the execution element group can be realized, so as to help realize the broadcasting of the video program, improve the broadcasting efficiency and reduce the broadcasting accident.
In an exemplary embodiment of the present application, the apparatus further includes:
and the delay setting unit is used for responding to the delay setting operation and adjusting the delay parameter of the specified execution element in the execution element group.
It can be seen that implementing this alternative embodiment can provide the time delay setting function, and the convenience of customers realizes the refinement control to the program broadcast, promotes the program broadcast effect to and promotes with the interactivity between the user.
In an exemplary embodiment of the present application, the apparatus further includes:
and the test unit is used for testing each execution element in the execution element group according to the element time sequence of the execution element group before the execution element determining unit 402 determines the execution element corresponding to each information in the play indication information sequence from the execution element set to obtain the execution element group corresponding to the play indication information sequence, so as to obtain a test result and output the test result.
Therefore, by implementing the alternative embodiment, the user can conveniently debug the equipment parameters based on the test result, so that the efficiency of multi-equipment joint control is improved.
In an exemplary embodiment of the present application, the device calling unit 403 calls a device corresponding to each execution element in the execution element group to execute an operation indicated by the corresponding execution element, including:
Determining a time delay parameter corresponding to each execution element in the execution element group;
and calling the equipment corresponding to each execution element in the execution element group to execute the operation indicated by the corresponding execution element based on each time delay parameter.
Therefore, by implementing the alternative embodiment, multi-equipment joint calling based on time delay can be realized, and the program broadcasting efficiency is improved.
In an exemplary embodiment of the present application, the device calling unit 403 calls, based on each delay parameter, a device corresponding to each execution element in the execution element group to execute an operation indicated by the corresponding execution element, including:
The equipment corresponding to the execution elements with the same time delay parameters in the execution element group is triggered in parallel to execute the operation indicated by the corresponding execution element;
and serially triggering the equipment corresponding to the execution elements with different time delay parameters in the execution element group to execute the operation indicated by the corresponding execution element.
Therefore, by implementing the alternative embodiment, parallel triggering/serial triggering of the corresponding equipment based on the time delay parameter can be realized, so that triggering modes of the equipment are enriched, and the broadcasting efficiency of the program is improved.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Since each functional module of the device control apparatus according to the exemplary embodiment of the present application corresponds to a step of the exemplary embodiment of the device control method described above, for details not disclosed in the apparatus embodiment of the present application, reference is made to the embodiment of the device control method described above.
Referring to fig. 5, fig. 5 shows a schematic diagram of a computer system suitable for use in implementing an electronic device according to an embodiment of the application.
It should be noted that, the computer system 500 of the electronic device shown in fig. 5 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present application.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the system operation are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Connected to the I/O interface 505 are an input section 506 including a keyboard, a mouse, and the like, an output section 507 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like, a storage section 508 including a hard disk, and the like, and a communication section 509 including a network interface card such as a LAN card, a modem, and the like. The communication section 509 performs communication processing via a network such as the internet. The drive 510 is also connected to the I/O interface 505 as needed. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as needed so that a computer program read therefrom is mounted into the storage section 508 as needed.
In particular, according to embodiments of the present application, the processes described below with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 509, and/or installed from the removable media 511. The computer program, when executed by a Central Processing Unit (CPU) 501, performs the various functions defined in the method and apparatus of the present application.
As another aspect, the present application also provides a computer-readable medium that may be included in the electronic device described in the above embodiment, or may exist alone without being incorporated into the electronic device. The computer-readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to implement the methods described in the above embodiments.
The computer readable medium shown in the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of a computer-readable storage medium may include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be provided in a processor. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (12)

1. A device control method, characterized by comprising:
The method comprises the steps of obtaining a program broadcasting sequence, wherein the program broadcasting sequence comprises broadcasting indication information sequences corresponding to different programs;
Responding to the triggering operation of an execution element group of a target program in the program broadcasting sequence, and acquiring a broadcasting indication information sequence of the target program, wherein the target program is a program at any position in the program broadcasting sequence;
determining execution elements corresponding to each piece of information in a broadcasting indication information sequence from an execution element set to obtain an execution element group corresponding to the broadcasting indication information sequence, wherein the execution element set comprises the execution elements corresponding to different equipment triggering protocols;
invoking equipment corresponding to each execution element in the execution element group to execute the operation indicated by the corresponding execution element;
The device triggering protocol is used for abstracting the device triggering protocol into a plurality of execution elements, and the execution elements are execution operation indication identifiers of minimum units.
2. The method according to claim 1, wherein the method further comprises:
acquiring an execution element group corresponding to each broadcasting indication information sequence in the program broadcasting sequence;
And sequencing each execution element group according to the time sequence corresponding to the program broadcasting sequence and outputting sequencing results.
3. The method according to claim 1, wherein the method further comprises:
acquiring a device triggering protocol corresponding to each device;
abstracting each device triggering protocol into an execution element to obtain the execution element set.
4. The method of claim 3, wherein the devices include at least two of a subtitle packaging system device, an audio system device, a film playing system device, a switching system device, a screen system device, a robotic camera system device, and a light system device.
5. The method according to claim 1, wherein the method further comprises:
Determining an element timing of the set of execution elements in response to an automated execution operation;
And sequentially calling equipment corresponding to each execution element based on the element time sequence to execute the operation indicated by the corresponding execution element.
6. The method according to claim 1, wherein the method further comprises:
And adjusting the time delay parameter of the specified execution element in the execution element group in response to the time delay setting operation.
7. The method of claim 1, wherein determining an execution element corresponding to each piece of information in a play-out indication information sequence from a set of execution elements, and before obtaining the execution element group corresponding to the play-out indication information sequence, the method further comprises:
and testing each execution element in the execution element group according to the element time sequence of the execution element group, obtaining a test result and outputting the test result.
8. The method of claim 1, wherein invoking the device corresponding to each execution element in the execution element group to perform the operation indicated by the corresponding execution element comprises:
determining corresponding time delay parameters of each execution element in the execution element group;
And calling equipment corresponding to each execution element in the execution element group to execute the operation indicated by the corresponding execution element based on each time delay parameter.
9. The method of claim 8, wherein invoking the device corresponding to each execution element in the set of execution elements to perform the operation indicated by the corresponding execution element based on each latency parameter comprises:
the equipment corresponding to the execution elements with the same time delay parameters in the execution element group is triggered in parallel to execute the operation indicated by the corresponding execution element;
And serially triggering the equipment corresponding to the execution elements with different time delay parameters in the execution element group to execute the operation indicated by the corresponding execution element.
10. An apparatus control device, comprising:
The information acquisition unit is used for acquiring a program broadcasting sequence, wherein the program broadcasting sequence comprises broadcasting indication information sequences corresponding to different programs;
The information acquisition unit is further used for responding to the triggering operation of the execution element group of the target program in the program broadcasting sequence to acquire the broadcasting indication information sequence of the target program, wherein the target program is a program at any position in the program broadcasting sequence;
The system comprises an execution element determining unit, an execution element setting unit and a processing unit, wherein the execution element determining unit is used for determining execution elements corresponding to each piece of information in a broadcasting indication information sequence from an execution element set to obtain an execution element group corresponding to the broadcasting indication information sequence, and the execution element set comprises execution elements corresponding to different equipment triggering protocols;
The device calling unit is used for calling the device corresponding to each execution element in the execution element group to execute the operation indicated by the corresponding execution element;
The device triggering protocol is used for abstracting the device triggering protocol into a plurality of execution elements, and the execution elements are execution operation indication identifiers of minimum units.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method of any of claims 1-9.
12. An electronic device, comprising:
processor, and
A memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of claims 1-9 via execution of the executable instructions.
CN202211130533.2A 2022-09-16 2022-09-16 Device control method, device control apparatus, medium and electronic equipment Active CN115407699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211130533.2A CN115407699B (en) 2022-09-16 2022-09-16 Device control method, device control apparatus, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211130533.2A CN115407699B (en) 2022-09-16 2022-09-16 Device control method, device control apparatus, medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN115407699A CN115407699A (en) 2022-11-29
CN115407699B true CN115407699B (en) 2025-04-08

Family

ID=84165337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211130533.2A Active CN115407699B (en) 2022-09-16 2022-09-16 Device control method, device control apparatus, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115407699B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10083414B1 (en) * 2014-04-01 2018-09-25 Tribune Broadcasting Company, Llc News production system with device control using multiple protocols

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957873A (en) * 2011-08-17 2013-03-06 北大方正集团有限公司 Automatic program list arranging method and automatic program list arranging device
CN109348242B (en) * 2018-11-14 2021-10-26 网易(杭州)网络有限公司 Live network scheduling method, device, medium and electronic equipment
CN112533041A (en) * 2019-09-19 2021-03-19 百度在线网络技术(北京)有限公司 Video playing method and device, electronic equipment and readable storage medium
CN110677697A (en) * 2019-10-14 2020-01-10 体奥动力(北京)体育传播有限公司 Material playing method and device
CN114979782A (en) * 2022-06-28 2022-08-30 北京爱奇艺科技有限公司 Video playback method, device, electronic device and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10083414B1 (en) * 2014-04-01 2018-09-25 Tribune Broadcasting Company, Llc News production system with device control using multiple protocols

Also Published As

Publication number Publication date
CN115407699A (en) 2022-11-29

Similar Documents

Publication Publication Date Title
JP7503629B2 (en) VIDEO GENERATION METHOD AND APPARATUS, ELECTRONIC DEVICE, AND COMPUTER READABLE MEDIUM - Patent application
KR102158557B1 (en) Method and device for determining response time
WO2022237908A1 (en) Information display method and apparatus, electronic device, and storage medium
CN111629251B (en) Video playing method and device, storage medium and electronic equipment
US11360737B2 (en) Method and apparatus for providing speech service
CN111930973B (en) Multimedia data playing method and device, electronic equipment and storage medium
CN110347875B (en) Video scene classification method and device, mobile terminal and storage medium
WO2023005831A1 (en) Resource playing method and apparatus, electronic device, and storage medium
CN113721807A (en) Information display method and device, electronic equipment and storage medium
CN109168027B (en) Instant video display method and device, terminal equipment and storage medium
CN114697760B (en) Processing method, processing device, electronic equipment and medium
CN111200744B (en) Multimedia playing control method and device and intelligent equipment
CN115407699B (en) Device control method, device control apparatus, medium and electronic equipment
CN113885741A (en) A multimedia processing method, device, equipment and medium
CN110198481B (en) A program updating method, device, electronic device and storage medium
CN116033009B (en) Application pushing method, device, equipment and storage medium
CN115550501B (en) Audio control method, electronic equipment and medium
CN109815408B (en) Method and device for pushing information
CN114422772B (en) Multimedia playing quality evaluation method and device, electronic equipment and storage medium
CN112584197A (en) Method and device for drawing interactive drama story line, computer medium and electronic equipment
CN111246313A (en) Video association method and device, server, terminal equipment and storage medium
CN113835995B (en) Method and device for generating test cases
WO2025103508A1 (en) Information interaction method and apparatus, and device, medium and program product
CN116089696A (en) Personalized recommendation method, device, equipment and storage medium
CN119729061A (en) Information processing method, information processing device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant