Broadcasting control method and device, electronic equipment and readable storage medium
By displaying thumbnails of shared folders in the broadcast control software interface and responding to user operations, media materials are stored in shared folders or layer folders, which solves the problem of difficulty for users to implement program arrangement and broadcast control, and improves material management and the efficiency of playback control.
Patent Information
- Application Number
- CN202411562286.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-04
- Publication Date
- 2025-02-18
AI Technical Summary
In the existing broadcast control technology, it is difficult for users to realize program arrangement and broadcast control through the broadcast control software interface of the display screen, resulting in low efficiency of multiple materials during transmission and playback control.
By displaying thumbnails of shared folders in the interface of the broadcast control software, in response to the user's media material storage operation, store the material in a shared folder or layer folder, and display the media in the program management area according to the configuration path of the material. material.
It realizes material management without manually importing materials through external storage media, facilitates program management and improves the efficiency of transmission and playback control of multiple materials.
Smart Images

Figure CN119474416A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of display technology, and in particular, relates to a broadcast control method, device, electronic device and readable storage medium. Background Art
[0002] The multimedia broadcast control system can realize ultra-high resolution point-to-point display and a variety of creative splicing displays based on the arrangement function of media materials, providing users with a multimedia control experience. In the current broadcast control technology, the arrangement function of media materials is mostly done by users arranging local materials for programs on the broadcast control software interface of the display screen. In actual applications, it is found that in some scenarios, it is difficult for users to realize program arrangement and broadcast control through the above method, resulting in low efficiency in the transmission and playback control of multiple materials. Summary of the invention
[0003] The embodiments of the present application provide a method, electronic device and system for determining broadcast control, statistics and compensation coefficients, which can solve the problem of high difficulty in implementing broadcast control in related technologies.
[0004] A first aspect of an embodiment of the present application provides a broadcast control method, which is applied to a first broadcast control device, wherein the first broadcast control device is installed with broadcast control software, and the interface of the broadcast control software includes a program management area. The broadcast control method includes: displaying a thumbnail of a shared folder in the interface of the broadcast control software; the shared folder is used for the first broadcast control device and a second broadcast control device that shares information with the first broadcast control device to access and store media materials; in response to a storage operation on the media material, storing the media material in a shared folder or a layer folder set in the shared folder; and displaying the media material in a thumbnail of the shared folder or in a corresponding program layer in the program management area according to the configuration path of the media material.
[0005] In some embodiments of the first aspect, the configuration path includes a folder path of the shared folder; according to the configuration path, the media material is loaded and displayed in the corresponding program layer in the program management area, including: according to the folder path, reading the media material stored in the shared folder; according to the attribute information of each media material in the shared folder, matching the media material with the program layer to obtain the target media material corresponding to the program layer; loading and displaying the target media material in the corresponding program layer in the program management area.
[0006] In some embodiments of the first aspect, the broadcast control software also includes a system setting interface; the broadcast control method also includes: obtaining the folder path of the shared folder in the system setting interface; storing the media material in a layer folder set in the shared folder, including: based on the path of the shared folder, creating a program folder corresponding to each program in the shared folder, and creating a layer folder corresponding to the program layer in each program folder; storing the media material in any one or more of the layer folders; the attribute information of the media material includes the layer folder information of the layer folder; matching the media material with the program layer according to the attribute information of each media material in the shared folder to obtain the target media material corresponding to the program layer, including: determining the program folder corresponding to the target program from the shared folder; determining the target layer folder corresponding to the program layer from the program folder; determining the media file stored in the target layer folder according to the layer folder information; and determining the target media material corresponding to the program layer among the media files stored in the target layer folder.
[0007] In some embodiments of the first aspect, storing the media material in a shared folder includes: updating the name of the media material according to a preset naming format, the preset naming format including a program naming field and a layer naming field; storing the media material after the name update in the shared folder; the attribute information of the media material includes the naming information of the media material; matching the media material with the program layer according to the attribute information of each media material in the shared folder to obtain the target media material corresponding to the program layer, including: obtaining the naming information corresponding to the program layer; matching the naming information of the media material with the naming information corresponding to the program layer to obtain the target media material corresponding to the program layer.
[0008] In some embodiments of the first aspect, after matching the media material with the program layer according to the attribute information of each of the media materials in the shared folder, the broadcast control method further includes: displaying the media material that has not been successfully matched in a thumbnail of the shared folder, and the media material in the thumbnail is used to be added to the program layer according to user operation.
[0009] In some implementations of the first aspect, reading the media material stored in the shared folder according to the folder path includes: reading all files stored in the shared folder according to the folder path; and filtering all the files by file format and file size to obtain the media material.
[0010] In some embodiments of the first aspect, the broadcast control method also includes: reading a program configuration file, extracting a source file path corresponding to each program layer from the program configuration file as the configuration path; displaying the media material in the corresponding program layer in the program management area according to the configuration path of the media material, including: reading the media material consistent with the source file path in the shared folder according to the source file path corresponding to each program layer, obtaining the target media material corresponding to the program layer, and displaying the target media material in the corresponding program layer in the program management area.
[0011] In some embodiments of the first aspect, the broadcast control method also includes: real-time monitoring of the update status of the shared folder; displaying the media material in the thumbnail of the shared folder or in the corresponding program layer in the program management area according to the configuration path of the media material, including: if the update status is adding a file, then displaying the media material in the thumbnail of the shared folder or in the corresponding program layer in the program management area according to the configuration path.
[0012] In some embodiments of the first aspect, the broadcast control method also includes: in response to a deletion operation on the media material, removing the media material from the shared folder; and / or, in response to a modification operation on the media material, modifying the attribute information of the media material or replacing the media material; after real-time monitoring of the update status of the shared folder, the broadcast control method also includes: if the update status is file deletion, and the target media material corresponding to the target program layer is a deleted file, then clearing the media material in the target program layer of the program management area; if the update status is file modification, then redetermining the target media material corresponding to the program layer in the shared folder, and displaying the target media material in the corresponding program layer in the program management area.
[0013] A broadcast control device provided in a second aspect of an embodiment of the present application is configured on a first broadcast control device, wherein the first broadcast control device is installed with broadcast control software, and the interface of the broadcast control software includes a program management area, and the broadcast control device includes: a material display unit, which is used to display a thumbnail of a shared folder in the interface of the broadcast control software; the shared folder is used for the first broadcast control device and a second broadcast control device that shares information with the first broadcast control device to access and store media materials; a material adding unit, which is used to store the media material in a shared folder or a layer folder set in the shared folder in response to a storage operation on the media material; and a broadcast control unit, which is used to display the media material in a thumbnail of the shared folder or in a corresponding program layer in the program management area according to the configuration path of the media material.
[0014] A third aspect of an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned broadcast control method when executing the computer program.
[0015] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned broadcast control method are implemented.
[0016] A fifth aspect of the embodiments of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the steps of the above-mentioned broadcast control method.
[0017] In an implementation manner of the present application, the first broadcast control device may display a thumbnail of a shared folder in the interface of the broadcast control software, and in response to a storage operation on the media material, store the media material in the shared folder or a layer folder set in the shared folder, so as to display the media material in the thumbnail of the shared folder or in the corresponding program layer in the program management area according to the configuration path of the media material. Since the first broadcast control device and the second broadcast control device that shares information with the first broadcast control device access and store the media material, the material management can be performed through the first broadcast control device or the second broadcast control device, and there is no need to manually import the material through an external storage medium (U disk, hard disk, etc.), which makes program management more convenient and improves the efficiency of transmission and playback control of multiple materials. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0019] Figure 1 This is a schematic diagram of an implementation flow of a broadcast control method provided in an embodiment of the present application;
[0020] Figure 2 It is a schematic diagram of the interface of the broadcast control software provided in the embodiment of the present application;
[0021] Figure 3 This is a schematic diagram of a specific implementation process of displaying target media materials provided in an embodiment of the present application;
[0022] Figure 4 It is a schematic diagram of the system configuration section interface provided by an embodiment of the present application;
[0023] Figure 5 is a schematic diagram of a program configuration file in XML format provided in an embodiment of the present application;
[0024] Figure 6 is a schematic diagram of a program configuration file in json format provided in an embodiment of the present application;
[0025] Figure 7 is a schematic diagram of a program configuration file in ini format provided in an embodiment of the present application;
[0026] Figure 8 It is a structural diagram of a broadcast control device provided in an embodiment of the present application;
[0027] Fig. 9 It is a structural diagram of the broadcast control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are protected by the present application.
[0029] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0030] In the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0031] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0032] In the current broadcast control technology, the arrangement function of media materials is mostly done by users arranging local materials for programs on the broadcast control software interface of the display screen. If new materials need to be added, they often need to be manually imported through external storage media (U disk, hard disk, etc.), and the materials stored on some remote devices are also difficult to obtain. At this time, it is difficult for users to realize program arrangement and broadcast control through the above method, resulting in low efficiency in the process of transmission and playback control of multiple materials.
[0033] In view of this, the present application proposes a broadcast control method, which can manage materials through a first broadcast control device or a second broadcast control device, without having to manually import materials through an external storage medium, making program management more convenient and improving the efficiency of transmission and playback control of multiple materials.
[0034] In order to illustrate the technical solution of the present application, a specific embodiment is provided below for illustration.
[0035] Figure 1 A schematic diagram of an implementation flow of a broadcast control method provided in an embodiment of the present application is shown, and the method can be applied to a first broadcast control device.
[0036] In the implementation mode of the present application, the first broadcast control device is installed with broadcast control software, and the interface of the broadcast control software includes a program management area. The user can edit the program by operating in the program management area, and control the display screen to play the program edited in the program management area to achieve playback control. The first broadcast control device can refer to smart devices such as smart phones and computers, and this application does not limit this.
[0037] Specifically, the above-mentioned broadcast control method may include the following steps S101 to S103.
[0038] Step S101, displaying thumbnails of shared folders in the interface of the broadcast control software.
[0039] The shared folder can be used by the first broadcast control device and the second broadcast control device that shares information with the first broadcast control device to access and store media materials. The second broadcast control device can be a smart device such as a smart phone, a computer, etc., and this application does not limit this.
[0040] Specifically, the shared folder can be set on the first broadcast control device, the second broadcast control device, or other devices that are in communication connection with the first broadcast control device and the second broadcast control device. The first broadcast control device and the second broadcast control device can access and read the media materials stored in the shared folder through the established communication connection, and can also store the media materials in the shared folder.
[0041] It should be noted that the above-mentioned media materials may refer to images, videos, audios, presentations (Power Point, PPT) and other materials that can be used to be played on a display screen, and this application does not impose any restrictions on this.
[0042] To facilitate program editing, thumbnails of shared folders can be displayed in the interface of the broadcast control software. Figure 2 The thumbnail 21 in the interface of the broadcast control software is shown. In this way, the user can trigger the viewing and editing of the shared folder by clicking the thumbnail in the interface of the broadcast control software, so that the media materials in the shared folder can be added to each program layer in the program management area.
[0043] Step S102, in response to the storage operation of the media material, the media material is stored in a shared folder or a layer folder set in the shared folder.
[0044] In the implementation mode of the present application, when it is necessary to add media materials, the user can trigger the storage operation of the media materials. In response to the storage operation of the media materials, the first broadcast control device can store the media materials in a shared folder or a layer folder set in the shared folder. Among them, the layer folder is a folder of a specific program layer under a specific program in the shared folder, and the media materials in the layer folder can be used for the corresponding program layer.
[0045] This application does not limit the triggering method of the storage operation. For example, the user can copy or cut the media materials stored in other folders to the shared folder / layer folder, or configure the material path to actively read the media materials according to the material path to trigger the storage operation.
[0046] In addition, users can also directly drag the folder to the area corresponding to the thumbnail of the shared folder in the broadcast control software interface. After dragging, the icon of the dragged material or the icon of the dragged folder can be displayed in the thumbnail of the shared folder in the broadcast control software. In this way, the direct storage and pulling of playback materials can be realized, which improves the efficiency and visualization effect of material extraction.
[0047] Step S103: display the media material in the thumbnail of the shared folder or in the corresponding program layer in the program management area according to the configuration path of the media material.
[0048] The configuration path of the media material may be used to indicate the file location where the media material is located.
[0049] In some implementations of the present application, the first broadcast control device can display the media material in the thumbnail of the shared folder according to the configuration path of the media material, so that the user can select the media material and add it to any program layer. Figure 2 In the example, the thumbnail 21 of the shared folder shows media material 1, media material 2 and media material 3 (22). The user can drag media material 3 (22) in the thumbnail to the program management area, taking the dragging path shown by the dotted line as an example. At this time, media material 3 (22) will be added to program layer 1 of program 1. When the user clicks control 23 to trigger the play operation, the display screen will play media material 3 (22) when playing program layer 1 of program 1.
[0050] In some other implementations of the present application, the first broadcast control device may also directly display the media material in the corresponding program layer in the program management area. At this time, if the broadcast control operation is triggered, the display screen will play the media material when playing the program layer. Figure 2In the program management area, media material 2 is displayed in program layer 2 of program 2. When the user clicks control 23 to trigger a play operation, the display screen will play media material 2 when playing program layer 2 of program 2.
[0051] In an implementation manner of the present application, the first broadcast control device may display a thumbnail of a shared folder in the interface of the broadcast control software, and in response to a storage operation on the media material, store the media material in the shared folder or a layer folder set in the shared folder, so as to display the media material in the thumbnail of the shared folder or in the corresponding program layer in the program management area according to the configuration path of the media material. Since the first broadcast control device and the second broadcast control device that shares information with the first broadcast control device access and store the media material, the material management can be performed through the first broadcast control device or the second broadcast control device, and there is no need to manually import the material through a storage medium (U disk, hard disk, etc.), which makes program management more convenient and improves the efficiency of transmission and playback control of multiple materials.
[0052] In addition, the second broadcast control device may also be installed with the above-mentioned broadcast control software. The second broadcast control device can access the media materials stored in the shared folder by the first broadcast control device. If the first broadcast control device triggers the storage operation, even if the second broadcast control device has no display, the second broadcast control device can also synchronously perform playback control according to the media materials stored from the first broadcast control device, thereby improving the convenience of broadcast control.
[0053] In some embodiments of the present application, the configuration path may include a folder path of a shared folder. Figure 3 As shown, according to the configuration path, loading the presentation media material in the corresponding program layer in the program management area may include: step S301 to step S303.
[0054] Step S301, reading the media materials stored in the shared folder according to the folder path.
[0055] In some implementations of the present application, a shared folder may be accessed according to a folder path to read out media materials stored in the shared folder.
[0056] Taking into account the application requirements of broadcast control, in some embodiments of the present application, reading the media materials stored in the shared folder according to the folder path may include: reading all files stored in the shared folder according to the folder path, filtering all files by file format and file size, and obtaining the media materials.
[0057] Among them, the file format and file size can be set according to the material type supported by the broadcast control and the transmission capacity of the display link.
[0058] In this way, files that are not media materials, files that are incompatible with the broadcast control software or display screen, and files that cannot be transmitted by the display link can be screened out to ensure that the media materials read are valid materials and avoid the problem of broadcast control failure caused by the introduction of unusable files during broadcast control.
[0059] Step S302: Match the media material with the program layer according to the attribute information of each media material in the shared folder to obtain the target media material corresponding to the program layer.
[0060] The attribute information is used to identify the media material or the program layer to which the media material belongs. The attribute information of each media material can be set by the user or automatically set by the first broadcast control device according to demand.
[0061] According to the attribute information of each media material in the shared folder, the first broadcast control device can match the media material with the program layer to obtain the target media material corresponding to the program layer. The target media material is the media material required by the corresponding program layer, that is, the media material required to be played when the corresponding program layer is displayed.
[0062] Step S303: Load the display target media material into the corresponding program layer in the program management area.
[0063] For details, please refer to Figure 2 , the program layer of each program can be displayed in the program management area. After completing the matching of step S302, for each program layer, the corresponding target media material can be displayed.
[0064] For example, in Figure 2 In the process, since media material 2 matches program layer 2 of program 2, media material 2 is the target media material corresponding to program layer 2 of program 2. At this time, media material 2 can be loaded and displayed in program layer 2 of program 2 in the program management area.
[0065] In this way, the automatic loading and display of media materials on the program layer can be realized, reducing the complicated operation of users manually dragging / setting media materials to the program layer, thereby improving the broadcast control efficiency and user experience.
[0066] For step S302, this application provides different matching methods:
[0067] Method 1:
[0068] In some implementations of the present application, the broadcast control software also includes a system setting interface. In this case, the broadcast control method also includes: obtaining a folder path of the shared folder in the system setting interface.
[0069] The system setting interface can be used to configure the system information of the broadcast control software, and the folder path of the shared folder can be used as system information for users to set. For example, please refer to Figure 4 The user may input the folder path of the shared folder in the input control 41 in the system setting interface, and then the first broadcast control device may obtain the folder path of the shared folder from the system setting interface.
[0070] Correspondingly, storing the media material in the layer folder set in the shared folder may include: based on the folder path, creating a program folder corresponding to each program in the shared folder, and creating a layer folder corresponding to the program layer in each program folder, and storing the media material in any one or more layer folders.
[0071] As an example, the path of the layer folder corresponding to program layer 1 of program 1 can be expressed as: "path / progeam 1 / layer1", where path represents the folder path of the shared folder, progeam1 represents the path of the program folder of program 1 in the shared folder, and layer1 represents the path of the layer folder of layer 1 in program 1 in the shared folder. If media material 1 needs to be added to program layer 1 of program 1, media material 1 can be stored in the layer folder corresponding to program layer 1 of program 1 according to the path "path / progeam 1 / layer1".
[0072] If the same media material needs to be displayed in multiple program layers, the media material can be saved in the layer folders corresponding to the multiple program layers.
[0073] It is understandable that after storage is completed, the layer folder information of the layer folder where each media material is located is a priori information. The layer folder information can refer to the path, name or other information that can identify the layer folder. For example, the layer folder information of the aforementioned media material 1 can be "path / progeam 1 / layer1".
[0074] Correspondingly, the attribute information of the aforementioned media material may include the layer folder information of the layer folder in which it is located. At this time, according to the attribute information of each media material in the shared folder, the media material is matched with the program layer to obtain the target media material corresponding to the program layer, which may include: determining the program folder corresponding to the target program from the shared folder; determining the target layer folder corresponding to the program layer from the program folder. According to the layer folder information, the media files stored in the target layer folder are determined, and the target media material corresponding to the program layer is determined in the media files stored in the target layer folder.
[0075] The target program may refer to any program in the program management area. For the target program, its corresponding program folder and the target layer folder corresponding to the program layer in the program folder may be determined from the shared folder.
[0076] When matching media materials with program layers, the layer folder where each media material is located can be determined according to the layer folder information of the layer folder where the media material is located, and then the media files stored in the target layer folder can be obtained. Among the media files stored in the target layer folder, some or all of the media materials can be used as the target media materials corresponding to the program layer.
[0077] For example, in Figure 2 In the program management area, according to the layer folder information "path / progeam 2 / layer2" of the layer folder where media material 2 is located, it can be confirmed that media material 2 is the target media material corresponding to program layer 2 of program 2. At this time, media material 2 can be loaded and displayed in program layer 2 of program 2 in the program management area. If the layer folder information of the layer folder where media material 1 is located is also "path / progeam 2 / layer2", it can be confirmed that media material 1 and media material 2 are both target media materials corresponding to program layer 2 of program 2.
[0078] This method divides each program layer by creating folders. The media materials of different program layers will not be mixed and stored in the same path, which can improve readability and reduce the probability of media material loading errors. In addition, the program arrangement process itself is carried out in units of program layers. This matching method is compatible with the program arrangement process. After the user saves the media material to the layer folder, the broadcast control software can automatically load and display the media material to the corresponding program layer, which is very convenient.
[0079] Method 2:
[0080] In some implementations of the present application, storing the media material in a shared folder may include: updating the name of the media material according to a preset naming format, and storing the media material after the name update in the shared folder.
[0081] The preset naming format includes a program naming field and a layer naming field. For example, the preset naming format may be: "Program_Layer_Material Name". As an example, if media material 1 needs to be added to program layer 1 of program 1, the name of media material 1 is updated to "Program 1_Layer 1_Media Material 1" and stored in a shared folder.
[0082] Correspondingly, the attribute information of the media material may include the naming information of the media material. At this time, according to the attribute information of each media material in the shared folder, the media material is matched with the program layer to obtain the target media material corresponding to the program layer, which may include: obtaining the naming information corresponding to the program layer, matching the naming information of the media material with the naming information corresponding to the program layer, and obtaining the target media material corresponding to the program layer.
[0083] Specifically, the naming information corresponding to the program layer can be obtained according to a preset naming format, for example, it can be expressed as "program_layer". The naming information of the media material is matched with the naming information corresponding to the program layer. If the program naming field and the layer naming field are the same, the media material can be used as the target media material corresponding to the program layer.
[0084] For example, the naming information of media material 2 is "Program 1_Layer 1_Media Material 1", and the naming information corresponding to program layer 1 of program 1 is "Program 1_Layer 1". The program naming field "Program 1" and the layer naming field "Layer 1" of the two are the same. Media material 2 can be used as the target media material corresponding to program layer 1 of program 1.
[0085] This method uses naming to indicate the program layer to which each media material belongs. There is no need to create subfolders in the shared folder, which makes storage more convenient. Matching is performed through the fields in the naming information, which makes matching faster.
[0086] After the target media material is loaded in the corresponding program layer in the program management area, it can also be synchronously displayed in the thumbnail of the shared folder.
[0087] In other embodiments of the present application, after matching the media material with the program layer according to the attribute information of each media material in the shared folder, the broadcast control method may further include: displaying the unmatched media material in the thumbnail of the shared folder.
[0088] The media material in the thumbnail can be used to add to the program layer according to the user operation. Specifically, if the media material fails to match, it means that the media material has not been applied to the program layer, and the first broadcast control device can add the unmatched media material in the thumbnail of the shared folder. If the user needs to add the unmatched media material to the program layer, it can be added to a specific program layer by dragging, setting, etc. from the thumbnail of the shared folder.
[0089] In addition to the above-mentioned method 1 and method 2, this application also provides other methods of adding target media materials.
[0090] Method 3:
[0091] The broadcast control method may further include: reading a program configuration file, extracting a source file path corresponding to each program layer from the program configuration file as a preset configuration path. The source file path is also the path of the media material required to be displayed by the program layer.
[0092] This application does not limit the format of the program configuration file.
[0093] As an example, Figure 5 A schematic diagram of a program configuration file in XML format is shown. <programs> to< / programs> Represents the collection of all programs, a group <program> to< / program> Indicates a program. <layers> to< / layers> Represents a collection of all program layers in a program, a set<layer path="xxxxx"> Indicates a program layer, where path = "xxxxx" indicates the source file path. For example Figure 5 in<layer path="path / to / layer1.png> " indicates that the source file path corresponding to the program layer is "path / to / layer1.png".
[0094] Figure 6 A schematic diagram of a program configuration file in json format is shown.
[0095] "programs":[{xxx},{xxx}] indicates the collection of all programs. {xxx} indicates a program, in {xxx}, "name" indicates the program name, "layers":[{yyy},{yyy}] indicates the collection of all program layers in the program. {yyy} indicates a program layer, in {yyy}, "name" indicates the program layer name, and "path" indicates the source file path. For example Figure 6 "{"name":"Laye 1","path":"path / to / layer1.png"}" means the source file path corresponding to program layer 1 is "path / to / layer1.png".
[0096] Figure 7 The schematic diagram of the program configuration file in the ini format is shown, wherein [program1] indicates program 1, and "layer1=path / layer1.png" indicates that the source file path corresponding to program layer 1 is "path / to / layer1.png".
[0097] At this time, according to the configuration path of the media material, the media material is displayed in the corresponding program layer in the program management area, which may include: according to the source file path corresponding to each program layer, reading the media material consistent with the source file path in the shared folder, obtaining the target media material corresponding to the program layer, and displaying the target media material in the corresponding program layer in the program management area.
[0098] by Figure 7 For example, the source file path of the program layer 1 of program 1 is configured as "path / to / layer1.png", then the media material of "path / to / layer1.png" can be used as the target media material corresponding to the program layer 1 of program 1 and displayed accordingly in the program management area.
[0099] This method can configure the source file paths of multiple program layers at one time through the program configuration file, which helps to improve broadcast control efficiency.
[0100] In some implementations of the present application, the broadcast control method may further include: monitoring the update status of the shared folder in real time.
[0101] For example, the above broadcast control software can monitor the update of the shared folder through the file system monitoring class. When the files in the shared folder are modified, renamed, deleted or added, the file system monitoring class sends a corresponding signal. Based on the above signal, the broadcast control software can know the update of the shared folder.
[0102] Correspondingly, according to the configuration path of the media material, the media material is displayed in the thumbnail of the shared folder or in the corresponding program layer in the program management area, which may include: if the update situation is to add a file, then according to the configuration path, the media material is displayed in the thumbnail of the shared folder or in the corresponding program layer in the program management area.
[0103] In this way, the broadcast control software can actively monitor the files added to the shared folder. After the files are added, the media materials can be displayed in the thumbnail of the shared folder or in the corresponding program layer in the program management area according to the configured path, and the media materials can be updated actively.
[0104] In some other embodiments of the present application, the broadcast control method may further include: in response to a deletion operation on the media material, removing the media material from the shared folder. At this time, after real-time monitoring of the update of the shared folder, the broadcast control method may further include: if the update is to delete the file, and the target media material corresponding to the target program layer is a deleted file, then clearing the media material in the target program layer of the program management area.
[0105] That is to say, if the media material is removed from the shared folder, the broadcast control software can clear the program layer where the removed media material originally resides to adapt to the deletion operation.
[0106] In other embodiments of the present application, the broadcast control method may further include: in response to a modification operation on the media material, modifying the attribute information of the media material or replacing the media material. At this time, after real-time monitoring of the update status of the shared folder, the broadcast control method may further include: if the update status is to modify the file, re-determining the target media material corresponding to the program layer in the shared folder, and displaying the target media material in the corresponding program layer in the program management area.
[0107] That is to say, if the media material is updated, it is necessary to re-determine the corresponding target media material for the program layer to update the media material.
[0108] It is understandable that when the media materials in the shared folder change, the first broadcast control device and the second broadcast control device can monitor the changes through the broadcast control software and perform corresponding processing. Therefore, the media material update action performed on any broadcast control device can be applied in real time to each broadcast control device that can access the shared folder.
[0109] In some implementations of the present application, the broadcast control software may also transmit the media material on each program layer to the display screen in response to a playback operation triggered by the user, so as to display the media material on the display screen, thereby achieving broadcast control.
[0110] like Figure 8 FIG. 8 is a schematic diagram of the structure of a broadcast control device 800 provided in an embodiment of the present application. The broadcast control device 800 is configured on a broadcast control device.
[0111] Specifically, the broadcast control device 800 may include:
[0112] The material display unit 801 is used to display thumbnails of shared folders in the interface of the broadcast control software; the shared folder is used for the first broadcast control device and the second broadcast control device that shares information with the first broadcast control device to access and store media materials;
[0113] The material adding unit 802 is used for storing the media material in a shared folder or a layer folder set in the shared folder in response to a storage operation on the media material;
[0114] The broadcast control unit 803 is used to display the media material in the thumbnail of the shared folder or in the corresponding program layer in the program management area according to the configuration path of the media material.
[0115] In some embodiments of the present application, the configuration path includes the folder path of the shared folder; the broadcast control unit 803 can be specifically used to: read the media materials stored in the shared folder according to the folder path; match the media materials with the program layer according to the attribute information of each media material in the shared folder to obtain the target media materials corresponding to the program layer; load and display the target media materials in the corresponding program layer in the program management area.
[0116] In some embodiments of the present application, the broadcast control software also includes a system setting interface; the configuration path includes the folder path of the shared folder; the material adding unit 802 can be specifically used to: obtain the folder path of the shared folder in the system setting interface; based on the path of the shared folder, create a program folder corresponding to each program in the shared folder, and create a layer folder corresponding to the program layer in each program folder; store the media material in any one or more of the layer folders; the attribute information of the media material includes the layer folder information of the layer folder; the broadcast control unit 803 can be specifically used to: determine the program folder corresponding to the target program from the shared folder; determine the target layer folder corresponding to the program layer from the program folder; determine the media file stored in the target layer folder according to the layer folder information; determine the target media material corresponding to the program layer in the media file stored in the target layer folder.
[0117] In some embodiments of the present application, the material adding unit 802 can be specifically used to: update the name of the media material according to a preset naming format, the preset naming format includes a program naming field and a layer naming field; store the media material after the name update in the shared folder; the attribute information of the media material includes the naming information of the media material; the broadcast control unit 803 can be specifically used to: obtain the naming information corresponding to the program layer; match the naming information of the media material with the naming information corresponding to the program layer to obtain the target media material corresponding to the program layer.
[0118] In some implementations of the present application, the broadcast control unit 803 may be specifically configured to: display the unmatched media material in a thumbnail of the shared folder, and the media material in the thumbnail is used to be added to the program layer according to user operations.
[0119] In some implementations of the present application, the broadcast control unit 803 may be specifically configured to: read all files stored in the shared folder according to the folder path; and filter all the files by file format and file size to obtain the media material.
[0120] In some embodiments of the present application, the broadcast control unit 803 can be specifically used to: read the program configuration file, extract the source file path corresponding to each program layer from the program configuration file as the configuration path; according to the source file path corresponding to each program layer, read the media material consistent with the source file path in the shared folder, obtain the target media material corresponding to the program layer, and display the target media material in the corresponding program layer in the program management area.
[0121] In some embodiments of the present application, the broadcast control unit 803 can be specifically used to: monitor the update status of the shared folder in real time; if the update status is the addition of a file, then according to the configuration path, display the media material in the thumbnail of the shared folder or in the corresponding program layer in the program management area.
[0122] In some embodiments of the present application, the broadcast control device 800 may further include an update unit, which is specifically used to: in response to a deletion operation on the media material, remove the media material from the shared folder; and / or, in response to a modification operation on the media material, modify the attribute information of the media material or replace the media material; in some embodiments of the present application, the update unit may be specifically used to: if the update situation is file deletion, and the target media material corresponding to the target program layer is a deleted file, then the media material in the target program layer of the program management area is cleared; if the update situation is file modification, then the target media material corresponding to the program layer is re-determined in the shared folder, and the target media material is displayed in the corresponding program layer in the program management area.
[0123] It should be noted that, for the convenience and simplicity of description, the specific working process of the above-mentioned broadcast control device 800 can be referred to Figures 1 to 7 The corresponding process of the method will not be repeated here.
[0124] like Fig. 9 , which is a schematic diagram of a broadcast control device provided in an embodiment of the present application. Specifically, the broadcast control device 9 may include: a processor 90, a memory 91, and a computer program 92 stored in the memory 91 and executable on the processor 90, such as a broadcast control program. When the processor 90 executes the computer program 92, the steps in the above-mentioned broadcast control method embodiments are implemented, such as Figure 1 Alternatively, when the processor 90 executes the computer program 92, the functions of each module / unit in the above-mentioned device embodiments are realized, for example, Figure 8The functions of the material display unit 801, the material adding unit 802 and the broadcast control unit 803 are shown.
[0125] The computer program may be divided into one or more modules / units, which are stored in the memory 91 and executed by the processor 90 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the broadcast control device.
[0126] For example, the computer program can be divided into: a material display unit, a material adding unit and a broadcast control unit. The specific functions of each unit are as follows: the material display unit is used to display the thumbnail of the shared folder in the interface of the broadcast control software; the shared folder is used for the first broadcast control device and the second broadcast control device that shares information with the first broadcast control device to access and store media materials; the material adding unit is used to store the media materials in the shared folder or the layer folder set in the shared folder in response to the storage operation of the media materials; the broadcast control unit is used to display the media materials in the thumbnail of the shared folder or in the corresponding program layer in the program management area according to the configuration path of the media materials.
[0127] The broadcast control device may include, but is not limited to, a processor 90 and a memory 91. Those skilled in the art will appreciate that Fig. 9 It is only an example of the broadcast control device and does not constitute a limitation of the broadcast control device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the broadcast control device may also include input and output devices, network access equipment, buses, etc.
[0128] The processor 90 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), off-the-shelf programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0129] The memory 91 may be an internal storage unit of the broadcast control device, such as a hard disk or memory of the broadcast control device. The memory 91 may also be an external storage device of the broadcast control device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the broadcast control device. Furthermore, the memory 91 may include both an internal storage unit and an external storage device of the broadcast control device. The memory 91 is used to store the computer program and other programs and data required by the broadcast control device. The memory 91 may also be used to temporarily store data that has been output or is to be output.
[0130] It should be noted that, for the convenience and brevity of description, the structure of the above-mentioned broadcast control device can also refer to the specific description of the structure in the method embodiment, which will not be repeated here.
[0131] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0132] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0133] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0134] In the embodiments provided in the present application, it should be understood that the disclosed devices / broadcast control equipment and methods can be implemented in other ways. For example, the device / broadcast control equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0135] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0136] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0137] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0138] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A broadcast control method, characterized in that: Applied to a first broadcast control device, the first broadcast control device is installed with broadcast control software, the interface of the broadcast control software includes a program management area, and the broadcast control method includes: Displaying a thumbnail of a shared folder in the interface of the broadcast control software; the shared folder is used for the first broadcast control device and a second broadcast control device that shares information with the first broadcast control device to access and store media materials; In response to a storage operation on the media material, the media material is stored in a shared folder or a layer folder set in the shared folder; According to the configuration path of the media material, the media material is displayed in a thumbnail in the shared folder or in a corresponding program layer in the program management area.
2. The broadcast control method according to claim 1, characterized in that: The configuration path includes a folder path of the shared folder; According to the configuration path, the media material is loaded and displayed in the corresponding program layer in the program management area, including: Reading the media material stored in the shared folder according to the folder path; According to the attribute information of each of the media materials in the shared folder, the media materials are matched with the program layer to obtain the target media materials corresponding to the program layer; The target media material is loaded and displayed in a corresponding program layer in the program management area.
3. The broadcast control method according to claim 2, characterized in that: The broadcast control software also includes a system setting interface; The broadcast control method further includes: Obtaining the folder path of the shared folder in the system setting interface; Store the media materials in the layer folders set in the shared folder, including: Based on the path of the shared folder, create a program folder corresponding to each program in the shared folder, and create a layer folder corresponding to each program layer in each program folder; Storing the media material in any one or more of the layer folders; The attribute information of the media material includes the layer folder information of the layer folder where the media material is located; the matching of the media material with the program layer according to the attribute information of each media material in the shared folder to obtain the target media material corresponding to the program layer includes: Determining a program folder corresponding to a target program from the shared folder; Determine a target layer folder corresponding to the program layer from the program folder; Determining the media files stored in the target layer folder according to the layer folder information; The target media material corresponding to the program layer is determined in the media files stored in the target layer folder.
4. The broadcast control method according to claim 2, characterized in that: Storing the media materials in a shared folder includes: Update the naming of the media material according to a preset naming format, wherein the preset naming format includes a program naming field and a layer naming field; storing the media material with the updated name in the shared folder; The attribute information of the media material includes naming information of the media material; the matching of the media material with the program layer according to the attribute information of each media material in the shared folder to obtain the target media material corresponding to the program layer includes: Obtaining the naming information corresponding to the program layer; The naming information of the media material is matched with the naming information corresponding to the program layer to obtain the target media material corresponding to the program layer.
5. The broadcast control method according to claim 2, characterized in that: After matching the media material with the program layer according to the attribute information of each media material in the shared folder, the broadcast control method further includes: The media material that has not been successfully matched is displayed in the thumbnail of the shared folder, and the media material in the thumbnail is used to be added to the program layer according to user operations.
6. The broadcast control method according to claim 2, characterized in that: The step of reading the media material stored in the shared folder according to the folder path includes: Read all files stored in the shared folder according to the folder path; All the files are screened by file format and file size to obtain the media material.
7. The broadcast control method according to claim 1, characterized in that: The storage operation of the media material includes: In response to the user dragging a material or a folder to the thumbnail of the shared folder, an icon of the material or an icon of the folder is displayed in the thumbnail of the shared folder.
8. The broadcast control method according to claim 1, characterized in that: The broadcast control method further includes: Reading a program configuration file, and extracting a source file path corresponding to each of the program layers from the program configuration file as the configuration path; Displaying the media material in a corresponding program layer in the program management area according to the configuration path of the media material includes: According to the source file path corresponding to each program layer, the media material consistent with the source file path is read in the shared folder, the target media material corresponding to the program layer is obtained, and the target media material is displayed in the corresponding program layer in the program management area.
9. The broadcast control method according to claim 1, characterized in that: The broadcast control method further includes: Real-time monitoring of the update status of the shared folder; The displaying of the media material in a thumbnail of the shared folder or in a corresponding program layer in the program management area according to the configuration path of the media material includes: If the update condition is adding a file, the media material is displayed in a thumbnail of the shared folder or in a corresponding program layer in the program management area according to the configuration path.
10. The broadcast control method according to claim 9, characterized in that: The broadcast control method further includes: In response to a deletion operation on the media material, removing the media material from the shared folder; and / or, in response to a modification operation on the media material, modifying attribute information of the media material or replacing the media material; After real-time monitoring of the update status of the shared folder, the broadcast control method further includes: If the update condition is to delete the file, and the target media material corresponding to the target program layer is a deleted file, clearing the media material in the target program layer in the program management area; If the update condition is to modify the file, the target media material corresponding to the program layer is re-determined in the shared folder, and the target media material is displayed in the corresponding program layer in the program management area.
11. A broadcast control device, characterized in that: The first broadcast control device is configured with a broadcast control software installed therein, the interface of the broadcast control software includes a program management area, and the broadcast control device includes: A material display unit, used to display thumbnails of shared folders in the interface of the broadcast control software; the shared folders are used for the first broadcast control device and the second broadcast control device that shares information with the first broadcast control device to access and store media materials; A material adding unit, configured to store the media material in a shared folder or a layer folder set in the shared folder in response to a storage operation on the media material; The broadcast control unit is used to display the media material in the thumbnail of the shared folder or in the corresponding program layer in the program management area according to the configuration path of the media material.
12. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the broadcast control method according to any one of claims 1 to 10 are implemented.
13. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the broadcast control method according to any one of claims 1 to 10 are implemented.