Background
The LED display screen is mostly used for advertising outdoors or in places with aggregated population. The content displayed by the existing LED display screen is called a program, and needs to be created by editing software on a computer, and then stored in the storage space of the LED display screen to play the program.
The program production firstly needs to select the size of the LED screen, secondly, materials such as pictures, characters and the like are added in sequence, and the position and the size of each material are adjusted, and the program production can be completed by manual operation for many times. The generated program file is only suitable for the LED screen with one size (length-width ratio), and for the LED display screens with other sizes (length-width ratio), the problems of incomplete program display, blank screen and the like can occur. For example, a program created for a 512 × 64 LED panel cannot be displayed completely on a 1024 × 32 screen, and therefore, it is necessary to create programs for the two LED panels separately. Therefore, the editing steps of the existing program making mode are complex, the operation process wastes time and labor, the program cannot be adapted to display screens with different sizes, the effect of program information propaganda can be influenced if the program is directly put in, and the impression experience of people can be reduced.
Therefore, designing a simple program making method is a problem to be solved by the industry.
Disclosure of Invention
Aiming at the technical problems in the prior art, the invention provides a method and a device for manufacturing an LED screen program.
An LED screen program making method comprises the following steps:
acquiring equipment information of a plurality of LED screens, dividing the LED screens into a plurality of groups under different attribute types based on a preset LED screen type division strategy, and setting program parameters corresponding to the groups;
acquiring a program material;
combining the program materials according to a preset material combination strategy to generate a primary program and storing the primary program; the material combination strategy comprises a plurality of different combination models, and each combination model is provided with at least one material display frame and at least one additional element;
aiming at different groups, acquiring corresponding program parameters and adjusting the primary program into a corresponding final program;
and sending the final program to the LED screens in the corresponding groups.
Further, combining the program material includes:
the program materials are numbered in sequence according to the acquisition sequence of the program materials;
obtaining a selected combined model;
and splicing the program materials into the corresponding material display frames in sequence according to the sequence of the numbers.
Further, the primary program is an XML description file.
Further, after the program material is obtained, the method also comprises the step of converting the program material into a uniform format according to the program type.
Further, the program material includes one or more of text, pictures, and video.
Further, the material combination strategy comprises a program display mode of full-screen display of an LED screen.
Further, the material combination strategy comprises a program playing time length set value.
Further, the device information includes a screen size and a screen resolution.
Further, the LED screen program manufacturing method also comprises the step of judging whether the corresponding LED screen is overloaded or not according to the final program.
The invention also provides an LED screen program making device, which comprises a group division module, a program material acquisition module, a primary program generation module, a final program generation module and a program sending module, wherein:
the group division module is connected with the ultimate program generation module and used for acquiring the equipment information of the LED screens, dividing the LED screens into a plurality of groups under different attribute types based on a preset LED screen type division strategy and setting program parameters corresponding to the groups;
the program material acquisition module is connected with the primary program generation module and is used for acquiring program materials;
the primary program generating module is connected with the program material acquiring module and the final program generating module and is used for generating a primary program after combining the program materials according to a preset material combination strategy;
the final program generating module is connected with the group dividing module, the primary program generating module and the program sending module, and is used for acquiring corresponding program parameters and adjusting the primary program into a corresponding final program according to different groups;
and the program sending module is connected with the ultimate program generating module and is used for sending the ultimate program to the LED screens in the corresponding groups.
According to the LED screen program manufacturing method and device, the manufacturing process of the LED screen program is simplified, the LED screens are divided into different groups according to the equipment information of the LED screens, the primary program generated by combination generates the final program corresponding to the LED screens according to the different LED screen groups, the full-screen display and resolution matching display purposes of the LED screens under different equipment information are achieved, the advertising effect of program delivery is enhanced, and the sensory experience of people is improved.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The method for manufacturing the LED screen program, disclosed by the embodiment of the invention, as shown in figure 1, comprises the following steps of:
step S101: the method comprises the steps of obtaining equipment information of a plurality of LED screens, dividing the LED screens into a plurality of groups under different attribute types based on a preset LED screen type division strategy, and setting program parameters corresponding to the groups.
The device information of the LED screen obtained in this embodiment at least includes the screen size and screen resolution of the LED screen, and may also include information such as the number, storage space, location, and affiliated unit of the LED screen. The preset LED screen type division strategy comprises the steps that the screen size of the LED screen and the screen resolution of the LED screen are divided, the LED screens with different sizes and resolutions belong to groups under different attribute types, preferably, the groups of the LED screens are numbered, and the LED screens contained in the groups of the LED screens are also numbered. The numbering mode may be an arabic number 1 (including 11, 12, 13, 14 … …), a2 (including 21, 22, 23, 24 … …), or a multiple mode such as a letter a (including a1, a2, A3, a4 … …, or Aa, Ab, Ac, Ad … …), or roman numerals i, ii, iii … …, and the embodiment is not particularly limited, and it should be noted that each LED panel should have a unique number so as to correspond to any one LED panel. And setting corresponding program parameters for the group of the LED screens, wherein the program parameters in the embodiment are determined according to the screen size and the screen resolution of the LED screens.
The execution main body of the LED screen program manufacturing method can be a server, and can also be certain electronic equipment (such as a computer and a mobile phone) which establishes communication with the server, and establishes a communication link with each LED screen.
After the program parameters corresponding to each group are set, step S102 is executed.
Step S102: program material is obtained.
The program material may include one or more of text, pictures, video. Preferably, after the program material is obtained, the program material is converted into a uniform format according to the program type, for example, the text material is converted into a txt format, the picture is in a JPG format, and the video is in an rm \ rmvb format. In this embodiment, the program material is obtained in a manner that, when the execution main body is a server, a computer or a mobile phone in communication with the server uploads texts, pictures and videos stored in a local or external memory, and the texts, pictures and videos can be received from a preset receiving interface, so as to obtain the program material; when the execution main body of the method is electronic equipment such as a computer or a mobile phone, the program materials stored by a local storage or an external storage are directly added.
After the program material is acquired, step S103 is executed.
Step S103: and combining the program materials according to a preset material combination strategy to generate a primary program and storing the primary program.
In this embodiment, the preset material combination policy includes using full-screen display of the LED screen as a program display mode, that is, before the primary program is generated, the default program is used for full-screen display of the LED screen. The preset material combination policy in this embodiment further includes a program playing time duration setting value, for example, an obtained time duration for playing each program material, and a time duration for playing the generated primary program. Since the program material obtained in step S102 has multiple types of materials such as text, picture, and video, the time length for playing the picture and the text is first determined, and this is obtained correspondingly according to the information in the preset material combination policy, and the video time length of the video is also obtained at the same time, and the three program materials of the picture, the text, and the video are combined, the generated file is called a primary program, the format of the primary program may be an XML description file, and the primary program may be distributed step by step in the form of brackets.
The material combination strategy in this embodiment may include a plurality of different combination models, and at least one material display frame is provided in each combination model, and is used for a display area of the program material. In the combined model in this embodiment, the size of the display interface of the combined model is the same as the size of the display window of the primary program, and in the display interface of the combined model, a plurality of material display frames are set, and the material display frames may have different shapes and sizes, such as a circular shape, an oval shape, a rectangular shape, a square shape, or a non-regular shape surrounded by a curve; the material display frames can also be distributed at different positions of the combined model display interface and have different angles. The combined model provided in the embodiment has different material display frame distribution modes, and is used for presenting various display effects.
In addition, the combined model also comprises additional elements of various styles, such as a clock, a background, weather, temperature, noise, a text fixed bar and the like, wherein the clock element can be in a circular clock shape or a digital display mode and is used for displaying the current time displayed by the LED screen; the background can be used for areas outside program materials such as characters, pictures, videos and the like, blank areas are avoided when the LED screen displays, and the background can be pure color or preset beautiful pictures; weather can be represented by characters such as "sunny", "cloudy", "rainy", "thunder", and the like, and also can be represented by corresponding sun patterns, cloud patterns, rain drop patterns and lightning patterns; the temperature and the noise are used for displaying the temperature and the noise condition of the current environment of the LED screen; the text go-to bar may display fixed text such as contact phone, business name, brand name, etc.
The combined model of this embodiment is established with a display window of a primary program, and not only reserves at least one material display frame, but also adds various preset additional elements, and splices the program material in the material display frame, and the additional elements float on the program material, and correspondingly generates the primary program.
Specifically, the combining of the program materials in this embodiment includes the following steps:
step S1031: and numbering the program materials in sequence according to the acquisition sequence of the program materials.
In the process of receiving program materials, the program materials are numbered in a manner of being according to the receiving sequence of the program materials, for example, the number of the program material acquired first is 1, the number of the program material received next is 2, and so on. In this embodiment, the numbers may also be numbered by letters a, b, and c … …, and this embodiment is not limited.
Step S1032: a selected combined model is obtained.
Before the program materials are combined, a combination model of the program materials to be combined is selected in advance, and the embodiment can also set a default combination model to directly combine the program materials.
Step S1033: and splicing the program materials into the corresponding material display frames in sequence according to the sequence of the numbers.
In some embodiments, depending on the order in which the program materials are received, the numbers a, b1, b2, b3, c1, c2, d, e1, e2 are generated, indicating that the program materials b1, b2, b3 are received at the same time, the program materials c1, c2 are received simultaneously, and the program materials e1, e2 are received simultaneously. And after the acquired program materials are numbered in sequence, the program materials are spliced into the material display frame in sequence according to the numbering sequence. When the combined model only comprises one material display frame, the acquired program materials are spliced one by one according to the serial numbers, when the combined model comprises more than two material display frames, the two material display frames can be set to synchronously display the same content, and the corresponding splicing according to the program material acquisition sequence can also be set, for example, the serial numbers of the program materials are a1, a2, b1, b2 and b3, a1 and a2 are spliced in the first material display frame, and b1, b2 and b3 are spliced in the second material display frame, so that the structure of the displayed content of the generated primary program can be adjusted through the uploading sequence of the program materials in the generated primary program.
In another embodiment of the scheme, for the program materials received simultaneously, the display areas with corresponding number can be simulated by the LED screen, and the program materials are respectively corresponding. Therefore, if a plurality of program materials are displayed on the same interface, the plurality of program materials can be transmitted or uploaded together. The program materials received simultaneously have the same display time and are synchronously displayed, so that the display time of the generated primary program is the total length of the display time of a, b1, c1, d and e1 of the received program materials a, b1, b2, b3, c1, c2, d, e1 and e 2. The dividing mode of the display area is not limited in this embodiment, and the dividing mode may also be implemented by presetting, for example, in two display areas, the size of the LED screen is divided into two 1/2, and when three display areas need to be divided, the dividing direction may be 1/2, 1/4, 1/4, or three 1/3, and the dividing direction may be horizontal or vertical.
Since the primary program is a mosaic of program materials and is not adjusted for matching with the device information of a certain LED screen, step S104 needs to be executed to perform further operation on the primary program.
Step S104: and aiming at different groups, acquiring corresponding program parameters and adjusting the primary program into a corresponding final program.
In step S101, a plurality of LED screens are divided according to the device information of the LED screens, the LED screens in each group have the same screen size and screen resolution, and the primary program is adjusted according to the program parameters of the group to generate a final program, so as to achieve the purpose of matching the program with the resolution of the LED screens. The final program corresponding to each program parameter is suitable for the LED screen in the group under the program parameter to display, so a plurality of final programs matched with the group number of the LED screens can be generated in the step. In the step, the displayed content after the program material combination is not changed, and only the screen size and the screen resolution of the LED screen are adaptively adjusted.
After generating a plurality of final programs matching the groups of the different LED panels, step S105 is performed.
Step S105: and sending the final program to the LED screens in the corresponding groups.
The execution main body of the program making method is in communication connection with the LED screens, and after the ultimate program is generated, the ultimate program is sent to the corresponding LED screens. The embodiment does not limit the communication mode between the LED screen and the LED screen, does not limit the encryption of the file during communication, the selected communication protocol and the like, and can be realized by combining the prior art means when the technical scheme is implemented by a person skilled in the art.
And when the LED screen receives the final program, playing the final program.
Specifically, as shown in fig. 2, the method for manufacturing an LED screen program according to the embodiment of the present invention includes the following steps:
step S201: the method comprises the steps of obtaining equipment information of a plurality of LED screens, dividing the LED screens into a plurality of groups under different attribute types based on a preset LED screen type division strategy, and setting program parameters corresponding to the groups.
Step S202: program material is obtained.
Step S203: and combining the program materials according to a preset material combination strategy to generate a primary program and storing the primary program. The material combination strategy comprises a plurality of different combination models, and each combination model is provided with at least one material display frame and at least one additional element.
Step S204: and aiming at different groups, acquiring corresponding program parameters to adjust the primary program into a corresponding final program.
The implementation of steps S201 to S204 can refer to the implementation and description of steps S101 to S104 in the previous embodiment, which is not described in detail in this embodiment.
Step S205: and judging whether the corresponding LED screen is overloaded or not according to the final program.
The storage of the final program requires a certain storage space, and the playing of the final program also has a certain requirement on hardware such as a processor, a player and the like of the LED screen, so before the final program is sent to the LED screen, whether the LED screen is possibly overloaded is first judged according to the device information of the LED screen and the attribute of the corresponding final program, and if the overload phenomenon does not occur, step S206 is executed to send the final program to the corresponding LED screen.
Step S206: and sending the final program to the LED screens in the corresponding groups.
The implementation of this step can be implemented with reference to step S105 in the previous embodiment, which is not described herein again.
It should be noted that the LED screen mentioned in the embodiment of the present invention does not only include an electronic screen for displaying, but also includes other hardware capable of implementing functions of storing programs, playing programs, receiving programs, and the like.
According to the LED screen program manufacturing method, the manufacturing process of the LED screen program is simplified, the LED screens are divided into different groups according to the equipment information of the LED screens, the primary program generated by combination generates the final program corresponding to the LED screens according to the different groups, the full-screen display and resolution matching display purposes of the LED screens under different equipment information are achieved, the advertising effect of program delivery is enhanced, and the sensory experience of people is improved.
The invention also discloses an LED screen program making device 100, as shown in fig. 3, including a group division module 101, a program material acquisition module 102, a primary program generation module 103, a final program generation module 104, and a program transmission module 105; wherein: the group division module 101 is connected with the ultimate program generation module 104, and the group division module 101 is used for acquiring the equipment information of a plurality of LED screens, dividing the LED screens into a plurality of groups with different attribute types based on a preset LED screen type division strategy, and setting program parameters corresponding to the groups; the program material acquisition module 102 is connected with the primary program generation module 103, and the program material acquisition module 102 is used for acquiring program materials; the primary program generating module 103 is connected to the program material acquiring module 102 and the final program generating module 104, and the primary program generating module 103 is configured to generate a primary program after combining the program materials according to a preset material combining policy; the final program generating module 104 is connected to the group dividing module 101, the primary program generating module 103, and the program sending module 105, and the final program generating module 104 is configured to obtain corresponding program parameters for different groups and adjust the primary program to a corresponding final program; and the program sending module 105 is connected with the final program generating module 104, and the program sending module 105 is configured to send the final program to the LED screens in the corresponding group.
The LED screen program production apparatus 100 according to the embodiment of the present invention produces an LED screen program according to the following steps, as shown in fig. 1:
step S101: acquiring equipment information of a plurality of LED screens, dividing the LED screens into a plurality of groups under different attribute types based on a preset LED screen type division strategy, and setting program parameters corresponding to the groups;
step S102: acquiring a program material;
step S103: combining the program materials according to a preset material combination strategy to generate a primary program and storing the primary program; the material combination strategy comprises a plurality of different combination models, and each combination model is provided with at least one material display frame and at least one additional element;
step S104: aiming at different groups, acquiring corresponding program parameters and adjusting the primary program into a corresponding final program;
step S105: and sending the final program to the LED screens in the corresponding groups.
Specifically, as shown in fig. 4, the LED screen program making apparatus 100 according to the embodiment of the present invention further includes an overload determining module 106, where the overload determining module 106 is connected to the final program generating module 104 and the program sending module 105, and is configured to determine whether the corresponding LED screen is overloaded according to the final program. The LED screen program production apparatus 100 of this embodiment produces an LED screen program according to the following steps, as shown in fig. 2:
step S201: acquiring equipment information of a plurality of LED screens, dividing the LED screens into a plurality of groups under different attribute types based on a preset LED screen type division strategy, and setting program parameters corresponding to the groups;
step S202: acquiring a program material;
step S203: combining the program materials according to a preset material combination strategy to generate a primary program and storing the primary program; the material combination strategy comprises a plurality of different combination models, and each combination model is provided with at least one material display frame and at least one additional element;
step S204: aiming at different groups, acquiring corresponding program parameters and adjusting the primary program into a corresponding final program;
step S205: judging whether the corresponding LED screen is overloaded or not according to the final program;
step S206: and sending the final program to the LED screens in the corresponding groups.
For the description of the execution of each step, reference may be directly made to the embodiments of the foregoing method, which are not described herein again.
The LED screen program making device simplifies the making process of the LED screen program, divides a plurality of LED screens into different groups according to the equipment information of the LED screens, and generates the final program corresponding to the LED screens for the different groups by the primary program generated by combination, thereby realizing the display purposes of full screen display and resolution matching of the LED screens under different equipment information, enhancing the propaganda effect of program delivery and improving the sensory experience of people.
The embodiment of the invention also provides a memory, wherein the memory is stored with computer instructions, and the computer instructions are executed by the processor to realize the program making method of the embodiment.
As shown in fig. 5, the electronic device 200 according to an embodiment of the present invention includes a memory 201 and a processor 202, where the memory 201 stores computer instructions; the processor 202 is configured to execute computer instructions to implement the program production method in the above embodiments. The electronic device 200 in this embodiment may be a computer or a mobile phone.
The electronic device 200 of the present embodiment performs the program creation by the following two methods, specifically as shown in fig. 1 and fig. 2:
the first method comprises the following steps:
step S101: acquiring equipment information of a plurality of LED screens, dividing the LED screens into a plurality of groups under different attribute types based on a preset LED screen type division strategy, and setting program parameters corresponding to the groups;
step S102: acquiring a program material;
step S103: combining the program materials according to a preset material combination strategy to generate a primary program and storing the primary program; the material combination strategy comprises a plurality of different combination models, and each combination model is provided with at least one material display frame and at least one additional element;
step S104: aiming at different groups, acquiring corresponding program parameters and adjusting the primary program into a corresponding final program;
step S105: and sending the final program to the LED screens in the corresponding groups.
The second method comprises the following steps:
step S201: acquiring equipment information of a plurality of LED screens, dividing the LED screens into a plurality of groups under different attribute types based on a preset LED screen type division strategy, and setting program parameters corresponding to the groups;
step S202: acquiring a program material;
step S203: combining the program materials according to a preset material combination strategy to generate a primary program and storing the primary program; the material combination strategy comprises a plurality of different combination models, and each combination model is provided with at least one material display frame and at least one additional element;
step S204: aiming at different groups, acquiring corresponding program parameters and adjusting the primary program into a corresponding final program;
step S205: judging whether the corresponding LED screen is overloaded or not according to the final program;
step S206: and sending the final program to the LED screens in the corresponding groups.
For the description of the execution of each step, reference may be directly made to the embodiments of the foregoing method, which are not described herein again.
The electronic equipment of the embodiment of the invention realizes the production of the LED screen programs, divides a plurality of LED screens into different groups according to the equipment information of the LED screens, and generates the final programs corresponding to the LED screens aiming at the different groups by the primary programs generated by combination, thereby realizing the display purposes of full screen display and resolution matching of the LED screens under different equipment information, enhancing the propaganda effect of program delivery and improving the sensory experience of people.
The present invention has been further described with reference to specific embodiments, but it should be understood that the detailed description should not be construed as limiting the spirit and scope of the present invention, and various modifications made to the above-described embodiments by those of ordinary skill in the art after reading this specification are within the scope of the present invention.