Adaptive LED screen resolution method and system for sending advertisement program, and medium
By analyzing and grouping device resolution information and processing and binding according to program plug-in type, adaptive resolution adjustment of LED display advertising programs is realized, solving the problem of inefficient operation and maintenance caused by device resolution mismatch in the prior art.
Patent Information
- Application Number
- CN202510203608.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-24
- Publication Date
- 2025-05-30
AI Technical Summary
Prior art When managing multiple LED displays of different resolutions, it is necessary to create and send advertising programs with matching resolutions for each screen, resulting in inefficient operation and maintenance.
By analyzing device resolution information and program data, grouping device resolutions, and performing corresponding processing and binding according to program plug-in types (text, pictures, videos), to achieve adaptive adjustment of program content.
It realizes that advertising programs can be sent in batches to LED displays with different resolutions with just one edit and send, improving the convenience and security of users in managing devices with different resolutions.
Smart Images

Figure CN120075498A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of LEDs, and particularly to a method, a system and a medium for sending an advertising program to adapt to the resolution of an LED screen. Background Art
[0002] With the continuous maturity of LED display technology, more and more LED display screens have entered our lives, and the scenarios in which LED display screens are used are becoming more and more diverse, such as lamp post screens, vehicle-mounted screens, outdoor advertising machines, traffic guidance screens, etc. As an advertising information display medium, the content displayed on the advertising screen directly affects the brand value and marketing benefits of advertisers, and there will be more demands. In addition, the remote control method for LED display screens is also relatively common.
[0003] Since the LED screen modules are all point-to-point, the signal sending software programs are also edited, constructed and sent in a point-to-point manner. As Figure 1 shown, first use the signal sending software to create an "adaptive" program, then edit the content you need in the area position, select the plug-ins to be used, and after the program editing is completed, send it. You can select the device to be sent, where the device is a device that is strictly matched by the system to be consistent with the program resolution. After submitting the program sending task, the system automatically asynchronously pushes a resource processing message to the resource processing server, and at this time, the task status is waiting for resource processing.
[0004] When there are many devices to be managed and the scenarios are different, the resolutions of the corresponding device LED display screens are also different. According to the traditional processing method in the industry, program advertisements are created according to the resolution of the screen, and when sending, the devices with the corresponding resolutions are strictly matched for sending. In this way, for scenarios where the advertising program content is the same but the resolutions of the devices are different, batch device management seriously affects the operation and maintenance efficiency. Therefore, the resolution of the adaptive program advertisement is also crucial. Summary of the Invention
[0005] The main object of the present invention is to provide a method, a system and a medium for sending an advertising program to adapt to the resolution of an LED screen, aiming to simply and conveniently edit and send a program once, batch send it to LED display screens with different resolutions, adaptively display the content, and improve the convenience, security, etc. of users for batch management of devices with different resolutions.
[0006] To achieve the above object, the present invention provides a method for sending an advertising program to adapt to the resolution of an LED screen, and the method includes the following steps:
[0007] Step S10, when receiving a program resource processing message, parse the message data to obtain device resolution information and program data;
[0008] Step S20, group the device resolutions.
[0009] Step S30, loop through the grouped device resolution data, and according to the program plugin type in the program data, perform corresponding processing on the program plugin using the corresponding strategy and then bind it to the current resolution. The program plugin types include text, picture, and video.
[0010] Step S40, confirm the resource processing results of multiple plugins.
[0011] Step S50, send all the resource processing results to the server that receives the results.
[0012] Step S60, judge whether all resource processing is successful.
[0013] Step S70, if all resources are successfully processed, notify the server to update the task status to waiting for sending.
[0014] A further technical solution of the present invention is that the step S30 includes:
[0015] Step S301, judge whether the program plugin includes text.
[0016] Step S302, if the program plugin contains text, loop through the grouped device resolution data, parse the text content, the parsed content includes at least color and font, calculate the width and height conditions of the current resolution, draw the text html content, and bind the drawn text picture to the current resolution.
[0017] A further technical solution of the present invention is that after the step S301, it further includes:
[0018] Step S303, if the program plugin does not contain text, judge whether the program plugin contains a picture.
[0019] Step S304, if the program plugin contains a picture, loop through the grouped device resolution data, download the picture to the local, calculate the width and height of the new picture under the width and height conditions of the current resolution, and bind the drawn picture to the current resolution.
[0020] A further technical solution of the present invention is that after the step S303, it further includes:
[0021] Step S305, if the program plugin does not contain a picture, judge whether the program plugin contains a video.
[0022] Step S306, if the program plugin contains a video, loop through the device resolution grouping data, download the source video locally, calculate the specifications of the new video resolution under the current resolution width and height conditions, and bind the transcoded video to the current resolution;
[0023] If the program plugin does not contain a video, proceed to step S40.
[0024] A further technical solution of the present invention is that after the step S70, it further includes:
[0025] Step S80, push the processed program data to the target device, update the program by the target device, and download the program advertisement through HTTPS and then play the corresponding program content.
[0026] A further technical solution of the present invention is that after the step S70, it further includes:
[0027] Step S90, if not all resources are successfully processed, delete the generated resources, reduce the redundant space occupancy, update the task status to resource processing failure, and prompt the failure reason.
[0028] To achieve the above object, the present invention also proposes an advertising program adaptive LED screen resolution system, the system includes a memory, a processor, and an advertising program adaptive LED screen resolution program stored on the processor. When the advertising program adaptive LED screen resolution program is called by the processor, it executes the following steps:
[0029] When receiving a program resource processing message, parse the message data to obtain device resolution information and program data;
[0030] Group the device resolutions;
[0031] Loop through the device resolution grouping data according to the program plugin type in the program data, perform corresponding processing on the program plugin and bind it to the current resolution, and the program plugin type includes text, picture, and video;
[0032] Confirm the resource processing results of multiple plugins;
[0033] Send all resource processing results to the server that receives the results;
[0034] Judge whether all resource processing is successful;
[0035] If all resources are successfully processed, notify the server and update the task status to waiting to send.
[0036] A further technical solution of the present invention is that when the program for sending advertisement programs to adapt to the LED screen resolution is called by the processor, the following steps are further executed:
[0037] Determine whether the program plug-in includes text;
[0038] If the program plug-in contains text, loop through the device resolution grouping data, parse the text content, the parsed content includes at least color and font, calculate the width and height conditions of the current resolution, draw the text html content, and bind the drawn text picture to the current resolution.
[0039] A further technical solution of the present invention is that when the program for sending advertisement programs to adapt to the LED screen resolution is called by the processor, the following steps are further executed:
[0040] If the program plug-in does not contain text, determine whether the program plug-in contains a picture;
[0041] If the program plug-in contains a picture, loop through the device resolution grouping data, download the picture to the local, calculate the width and height of the new picture under the current resolution width and height conditions, and bind the drawn picture to the current resolution;
[0042] When the program for sending advertisement programs to adapt to the LED screen resolution is called by the processor, the following steps are further executed:
[0043] If the program plug-in does not contain a picture, determine whether the program plug-in contains a video;
[0044] If the program plug-in contains a video, loop through the device resolution grouping data, download the source video to the local, calculate the specifications of the new video resolution under the current resolution width and height conditions, and bind the transcoded video to the current resolution;
[0045] If the program plug-in does not contain a video, confirm the resource processing results of multiple plug-ins.
[0046] To achieve the above object, the present invention further provides a computer-readable storage medium, which stores a program for sending advertisement programs to adapt to the LED screen resolution. When the program for sending advertisement programs to adapt to the LED screen resolution is run by a processor, the steps of the method described above are executed.
[0047] The beneficial effects of the method, system and medium for sending advertisement programs to adapt to the LED screen resolution of the present invention are:
[0048] Through the above technical solutions, when receiving a program resource processing message, the present invention parses the message data to obtain device resolution information and program data; groups the device resolutions; loops through the grouped device resolution data, and according to the program plugin types in the program data, adopts corresponding strategies to perform corresponding processing on the program plugins and then binds them to the current resolution. The program plugin types include text, picture, and video; confirms the resource processing results of multiple plugins; sends all the resource processing results to the server that receives the results; determines whether all resource processing is successful; if all resources are successfully processed, notifies the server and updates the task status to waiting for sending, which can ensure data security and batch download speed, and increases the convenience, security, and high maintainability of users for batch management of devices with different resolutions, etc. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following described drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on the structures shown in these drawings.
[0050] Figure 1 is a schematic flowchart of the process of sending an advertising program to an LED display screen in the prior art;
[0051] Figure 2 is a schematic flowchart of a preferred embodiment of the method for the present invention to send an advertising program adaptable to the LED screen resolution;
[0052] Figure 3 is a schematic flowchart of the refinement of step S30;
[0053] Figure 4 is a schematic overall flowchart of the method for the present invention to send an advertising program adaptable to the LED screen resolution;
[0054] Figure 5 is a hardware architecture diagram of the system for the present invention to send an advertising program adaptable to the LED screen resolution.
[0055] The realization, functional characteristics, and advantages of the object of the present invention will be further described in conjunction with the embodiments with reference to the drawings. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0056] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts belong to the scope of protection of the present invention.
[0057] The present invention provides a method for sending advertising programs to adapt to the LED screen resolution. Based on the present invention, the background program can automatically process resources in the case of multiple resolutions, enabling users to not need to care about managing multiple identical content programs with different resolutions and only need to publish with one key. The program background performs fast parallel processing to increase the sending speed. The target device downloads program advertisements through HTTPS to ensure data security, and the resource server has a large bandwidth to ensure the batch download speed. Based on the present invention, the convenience, security, and high maintainability of users for batch management of devices with different resolutions are increased.
[0058] Specifically, please refer to Figure 2 and Figure 4 , the preferred embodiment of the method for sending advertising programs to adapt to the LED screen resolution of the present invention includes the following steps:
[0059] Step S10, when receiving a program resource processing message, parse the message data to obtain device resolution information and program data.
[0060] Step S20, group the device resolutions.
[0061] Step S30, loop through the grouped device resolution data, and according to the program plug-in type in the program data, perform corresponding processing on the program plug-in using the corresponding strategy and bind it to the current resolution. The program plug-in types include text, pictures, and videos.
[0062] Step S40, confirm the resource processing results of multiple plug-ins.
[0063] Step S50, send all resource processing results to the server that receives the results.
[0064] Step S60, determine whether all resource processing is successful.
[0065] Step S70, if all resources are successfully processed, notify the server and update the task status to waiting to be sent.
[0066] Please refer to Figure 3 , in this embodiment, the specific content of step S30 includes:
[0067] Step S301, determine whether the program plug-in includes text.
[0068] In step S302, if the program plugin contains text, loop through the device resolution grouping data, parse the text content, where the parsed content includes at least color and font, calculate the width and height conditions of the current resolution, draw the text html content, and bind the drawn text image to the current resolution.
[0069] It should be noted that in step S302, the device side does not need to perform drawing. The server hardware configuration can change dynamically and elastically, can handle scenarios that consume hardware resources such as text, and upload the text to the resource server.
[0070] Further, in this embodiment, after step S301, it further includes:
[0071] In step S303, if the program plugin does not contain text, determine whether the program plugin contains a picture.
[0072] In step S304, if the program plugin contains a picture, loop through the device resolution grouping data, download the picture to the local, calculate the width and height of the new picture to be drawn under the current resolution width and height conditions (aspect ratio can be supported), and bind the drawn picture to the current resolution.
[0073] It should be noted that in step S304, the device side does not need to perform drawing. The server hardware configuration can change dynamically and elastically, can handle scenarios that consume hardware resources such as large pictures, and upload the picture to the resource server.
[0074] Further, in this embodiment, after step S303, it further includes:
[0075] In step S305, if the program plugin does not contain a picture, determine whether the program plugin contains a video.
[0076] In step S306, if the program plugin contains a video, loop through the device resolution grouping data, download the source video to the local, calculate the specifications of the new video resolution under the current resolution width and height conditions, such as 144P, 240p, 480p, 720p, 1080p (transcoding based on the original video resolution), and bind the transcoded video to the current resolution.
[0077] If the program plugin does not contain a video, enter step S40.
[0078] It should be noted that in step S306, the device side does not need to perform transcoding. The server hardware configuration can change dynamically and elastically, can handle scenarios that consume hardware resources such as transcoding large videos simultaneously, and upload the transcoded video to the resource server.
[0079] Further, in this embodiment, after the step S70, the following steps are further included:
[0080] Step S80: Push the processed program data to the target device, and let the target device update the program, and then play the corresponding program content after downloading through HTTPS.
[0081] In this embodiment, if all resource processing is successful, then inform the server that the task status is updated to waiting to be sent, that is, it will be pushed to the target device soon. The target device updates the program, and the resource processor service has uploaded the corresponding file to the resource server. The target device downloads through HTTPS. After the download is completed, it can play.
[0082] Further, in this embodiment, after the step S70, the following steps are further included:
[0083] Step S90: If not all resources are successfully processed, then delete the generated resources to reduce the occupancy of redundant space, update the task status to resource processing failure, and prompt the reason for failure.
[0084] In summary, through the above technical solutions, the method for sending advertising programs adaptable to the LED screen resolution of the present invention, when receiving a program resource processing message, parses the message data to obtain device resolution information and program data; groups the device resolutions; loops through the grouped device resolution data, and according to the program plugin types in the program data, adopts corresponding strategies to perform corresponding processing on the program plugins and then binds them to the current resolution. The program plugin types include text, pictures, and videos; confirms the resource processing results of multiple plugins; sends all resource processing results to the server that receives the results; determines whether all resource processing is successful; if all resources are successfully processed, then notify the server and update the task status to waiting to be sent, which can ensure data security and batch download speed, and increase the convenience, security, and high maintainability of users for batch management of devices with different resolutions.
[0085] To achieve the above object, the present invention also proposes a system for sending advertising programs adaptable to the LED screen resolution, as Figure 5As shown, the system includes a processor 1001, a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002, and a program for sending advertising programs to adapt the LED screen resolution stored on the processor. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard). Optionally, the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0086] Those skilled in the art can understand that Figure 5 the system structure shown in
[0087] does not constitute a limitation on the system, and may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements. Figure 5 As shown, the memory 1005, as a computer storage medium, may include an operating device, a network communication module, a user interface module, and a program for sending advertising programs to adapt the LED screen resolution.
[0088] In Figure 5 the system shown, the network interface 1004 is mainly used to connect to a network server and communicate with the network server for data; the user interface 1003 is mainly used to interact with a user terminal and receive instructions input by the user; and the processor 1001 may be used to call the program for sending advertising programs to adapt the LED screen resolution stored in the memory 1005.
[0089] When the program for sending advertising programs to adapt the LED screen resolution is called by the processor 1001, the following steps are executed:
[0090] When receiving a program resource processing message, parse the message data to obtain device resolution information and program data;
[0091] Group the device resolutions;
[0092] Loop through the grouped device resolution data, and according to the program plug-in type in the program data, use the corresponding strategy to perform corresponding processing on the program plug-in and then bind it to the current resolution. The program plug-in types include text, pictures, and videos;
[0093] Confirm the resource processing results of multiple plug-ins;
[0094] Send the processing results of all resources to the server that receives the results;
[0095] Determine whether all resource processing is successful;
[0096] If all resources are successfully processed, notify the server to update the task status to waiting to be sent.
[0097] When the program for sending advertising programs to adapt to the LED screen resolution is called by the processor 1001, the following steps are also executed:
[0098] Determine whether the program plug-in includes text;
[0099] If the program plug-in contains text, loop through the device resolution grouping data, parse the text content, the parsed content includes at least color and font, calculate the width and height conditions of the current resolution, draw the text html content, and bind the drawn text picture to the current resolution.
[0100] When the program for sending advertising programs to adapt to the LED screen resolution is called by the processor 1001, the following steps are also executed:
[0101] If the program plug-in does not contain text, determine whether the program plug-in contains pictures;
[0102] If the program plug-in contains pictures, loop through the device resolution grouping data, download the pictures to the local, calculate the width and height of the new pictures under the current resolution width and height conditions, and bind the drawn pictures to the current resolution.
[0103] When the program for sending advertising programs to adapt to the LED screen resolution is called by the processor 1001, the following steps are also executed:
[0104] If the program plug-in does not contain pictures, determine whether the program plug-in contains videos;
[0105] If the program plug-in contains videos, loop through the device resolution grouping data, download the source video to the local, calculate the specifications of the new video resolution under the current resolution width and height conditions, and bind the transcoded video to the current resolution;
[0106] If the program plug-in does not contain videos, confirm the resource processing results of multiple plug-ins.
[0107] When the program for sending advertising programs to adapt to the LED screen resolution is called by the processor 1001, the following steps are also executed:
[0108] Push the processed program data to the target device, which updates the program and plays the corresponding program content after downloading program advertisements via HTTPS.
[0109] When the program for adapting advertisement programs to the LED screen resolution is called by the processor 1001, the following steps are also executed:
[0110] If not all resources are successfully processed, the generated resources are deleted to reduce redundant space occupancy, the task status is updated to resource processing failure, and the failure reason is prompted.
[0111] Through the above technical solution, the system for adapting advertisement programs to the LED screen resolution of the present invention, when receiving a program resource processing message, parses the message data to obtain device resolution information and program data; groups the device resolutions; loops through the grouped device resolution data, and according to the program plugin type in the program data, adopts corresponding strategies to perform corresponding processing on the program plugin and then binds it to the current resolution. The program plugin types include text, picture, and video; confirms the resource processing results of multiple plugins; sends all resource processing results to the server that receives the results; determines whether all resource processing is successful; if all resources are successfully processed, notifies the server and updates the task status to waiting for sending, which can ensure data security and batch download speed, and increases the convenience, security, and high maintainability of users for batch management of devices with different resolutions.
[0112] To achieve the above object, the present invention also proposes a computer-readable storage medium storing a program for adapting advertisement programs to the LED screen resolution. When the program for adapting advertisement programs to the LED screen resolution is run by the processor, it executes the steps of the method described above, which will not be elaborated here.
[0113] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention. Any equivalent structural transformation made under the concept of the present invention using the content of the specification and drawings of the present invention, or directly / indirectly applied in other related technical fields, is included in the patent protection scope of the present invention.
Claims
1. A method for sending advertising programs with adaptive LED screen resolution, characterized in that: The method comprises the following steps: Step S10, when receiving the program resource processing message, parsing the message data to obtain device resolution information and program data; Step S20, grouping device resolutions; Step S30, looping the device resolution grouping data, and processing the program plug-in with a corresponding strategy according to the program plug-in type in the program data and binding it with the current resolution, wherein the program plug-in type includes text, picture and video; Step S40, confirming resource processing results of multiple plug-ins; Step S50, sending all resource processing results to a server that receives the results; Step S60, determining whether all resource processing is successful; Step S70: If all resources are successfully processed, the server is notified and the task status is updated to waiting for sending.
2. The method for sending advertisement programs to adapt to LED screen resolution according to claim 1, characterized in that: The step S30 comprises: Step S301, determining whether the program plug-in includes text; Step S302, if the program plug-in contains text, the device resolution grouping data is looped, the text content is parsed, the parsed content includes at least color and font, the current resolution width and height conditions are calculated, the text html content is drawn, and the drawn text image is bound to the current resolution.
3. The method for sending advertisement programs to adapt to LED screen resolution according to claim 2, characterized in that: After step S301, the following steps are further included: Step S303, if the program plug-in does not contain text, determine whether the program plug-in contains a picture; Step S304, if the program plug-in contains a picture, the device resolution group data is looped, the picture is downloaded locally, the width and height of the new picture are drawn under the current resolution width and height conditions, and the drawn picture is bound to the current resolution.
4. The method for sending advertisement programs to adapt to LED screen resolution according to claim 3, characterized in that: After step S303, the following steps are also included: Step S305, if the program plug-in does not contain a picture, determining whether the program plug-in contains a video; Step S306, if the program plug-in contains a video, the device resolution grouping data is looped, the source video is downloaded locally, the specifications of the new video resolution under the current resolution width and height are calculated, and the transcoded video is bound to the current resolution; If the program plug-in does not contain video, then go to step S40.
5. The method for sending advertisement programs to adapt to LED screen resolution according to any one of claims 1 to 4, characterized in that: After step S70, the following steps are further included: Step S80: Push the processed program data to the target device, which updates the program and plays the corresponding program content after downloading the program advertisement via HTTPS.
6. The method for sending advertisement programs to adapt to LED screen resolution according to any one of claims 1 to 4, characterized in that: After step S70, the following steps are further included: Step S90: If not all resources are successfully processed, the generated resources are deleted to reduce redundant space occupation, the task status is updated to resource processing failure, and the failure reason is prompted.
7. A system for sending advertising programs with adaptive LED screen resolution, characterized in that: The system includes a memory, a processor, and a program for sending an advertisement program to adapt to the resolution of an LED screen stored on the processor. When the program for sending an advertisement program to adapt to the resolution of an LED screen is called by the processor, the following steps are performed: When receiving a program resource processing message, parse the message data to obtain device resolution information and program data; Group device resolutions; Circulating the device resolution grouping data according to the program plug-in type in the program data, and binding the program plug-in with the current resolution after corresponding processing, wherein the program plug-in type includes text, picture and video; Confirm resource processing results of various plug-ins; Send all resource processing results to the server receiving the results; Determine whether all resource processing is successful; If all resources are processed successfully, the server is notified and the task status is updated to waiting to be sent.
8. The system for sending advertisement programs and self-adapting to LED screen resolution according to claim 7, characterized in that: When the program for sending the advertisement program to adapt to the LED screen resolution is called by the processor, the following steps are further performed: Determining whether the program plug-in includes text; If the program plug-in contains text, the device resolution grouping data is looped, the text content is parsed, the parsed content includes at least color and font, the current resolution width and height conditions are calculated, the text html content is drawn, and the drawn text image is bound to the current resolution.
9. The system for sending advertisement programs and self-adapting to LED screen resolution according to claim 8, characterized in that: When the program for sending the advertisement program to adapt to the LED screen resolution is called by the processor, the following steps are further performed: If the program plug-in does not contain text, determining whether the program plug-in contains a picture; If the program plug-in contains a picture, the device resolution group data is looped, the picture is downloaded locally, the width and height of the new picture are drawn under the current resolution width and height conditions, and the drawn picture is bound to the current resolution; When the program for sending the advertisement program to adapt to the LED screen resolution is called by the processor, the following steps are further performed: If the program plug-in does not contain an image, determining whether the program plug-in contains a video; If the program plug-in contains a video, the device resolution grouping data is looped, the source video is downloaded locally, the specifications of the new video resolution under the current resolution width and height are calculated, and the transcoded video is bound to the current resolution; If the program plug-in does not include video, resource processing results of various plug-ins are confirmed.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program for sending advertising programs to adapt to the resolution of LED screens, and when the program for sending advertising programs to adapt to the resolution of LED screens is executed by a processor, the steps of the method described in any one of claims 1 to 6 are executed.