A large-screen power supply control method, device and equipment based on cloud platform
By obtaining layout information and executing instructions, configuring device boot control instructions and determining optimization response parameters, the problem of long communication time and low efficiency in the cloud platform control multi-manufacturer large-screen power supply startup mode is solved, and efficient booting of large-screen power supply equipment is achieved.
Patent Information
- Application Number
- CN202211727013.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2042-12-30
AI Technical Summary
The existing cloud platform controls the large-screen power supply startup methods of many different manufacturers, which have problems such as long communication time and low startup efficiency.
By obtaining the layout information and execution instructions of the cloud platform large-screen power supply equipment, configuring the device power-on control instructions, and determining the optimization response parameters based on the sending and response command time, the device control module, response policy module and power-off control module cooperate with each other to control the operation of the large-screen power supply equipment.
It significantly improves the power-on efficiency of large-screen power supply equipment, especially serial port control equipment, and reduces the operation waiting time.
Smart Images

Figure CN116052614B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power supply control technology, and in particular to a large-screen power supply control method, device and equipment based on a cloud platform. Background Art
[0002] Large-screen power supplies are all matched to power controllers from their respective manufacturers, and their device performance is known. However, the cloud platform is comprised of large-screen power supplies from numerous different manufacturers, serving all manufacturers across the industry. The response speeds of large-screen power supply devices vary widely, and there are multiple ways to control the operation of large-screen power supplies, some via the network, and some via serial ports. To ensure successful communication, large-screen power supply devices controlled by serial ports often require waiting for a successful response or timeout failure before proceeding to the next step. If several faulty devices are encountered during the startup process of such large-screen power supplies, the startup process will be extremely lengthy, impacting the user experience. Summary of the Invention
[0003] The embodiments of the present application provide a large-screen power control method, device and equipment based on a cloud platform, which are used to solve the technical problems of long communication time and low startup efficiency in the existing cloud platform control of the power startup of large screens of many different manufacturers.
[0004] In order to achieve the above objectives, the embodiments of the present application provide the following technical solutions:
[0005] A large-screen power control method based on a cloud platform includes the following steps:
[0006] Obtain layout information and execution instructions for large-screen power supply equipment on the cloud platform;
[0007] configuring a device power-on control instruction for each large-screen power supply device in the cloud platform according to the layout information and the execution instruction, and storing the device power-on control instruction in a command queue; determining an optimized response parameter according to a sending instruction time and a response instruction time of the device power-on control instruction;
[0008] The operation of the corresponding large-screen power supply device in the cloud platform is controlled according to the device power-on control instruction and the optimized response parameter.
[0009] Preferably, determining the optimized response parameter according to the sending instruction time and the response instruction time of the device power-on control instruction includes:
[0010] Obtaining a timeout response time by calculating the time of sending the instruction and the time of responding to the instruction;
[0011] According to the timeout response time, the timeout waiting time and the number of restarts for each large-screen power supply device in the cloud platform are set;
[0012] The optimization response parameters include timeout response time, timeout waiting time and restart times.
[0013] Preferably, the timeout waiting time is twice the previous timeout response time.
[0014] Preferably, the large-screen power control method based on the cloud platform includes: the device power-on control instruction that has exceeded the response time is stored in a retry queue to update the operating parameters of each large-screen power supply device in the cloud platform; the operating parameters include the timeout waiting time and the number of restarts.
[0015] The present application also provides a large-screen power supply control device based on a cloud platform, comprising: a device control module, and a response strategy module and a power on / off control module connected to the device control module;
[0016] The power on / off control module is used to obtain the layout information and execution instructions of the large-screen power supply devices on the cloud platform, configure the device power on control instructions of each large-screen power supply device in the cloud platform according to the layout information and the execution instructions, and transmit the device power on control instructions to the device control module;
[0017] The device control module is used to send the device power-on control instruction to the power controller of the corresponding large-screen power supply device in the cloud platform, and transmit the sending instruction time, response instruction time and timeout response time of the device power-on control instruction to the response strategy module;
[0018] The response strategy module is used to collect statistics on the operating information of all large-screen power supply devices in the cloud platform and determine the optimized response parameters based on the sending instruction time and response instruction time of the device power-on control instruction and transmit the optimized response parameters to the device control module.
[0019] Preferably, the device control module is also used to update the operating parameters of each large-screen power supply device in the cloud platform according to the optimized response parameters; the operating parameters include the timeout waiting time and the number of restarts.
[0020] Preferably, the device control module is further used to determine whether the corresponding large-screen power supply device fails to execute the device power-on control instruction based on the number of restarts.
[0021] Preferably, the device control module includes a command queue and a retry queue, the command queue is used to store the device power-on control instructions; the retry queue is used to store the optimized response parameters and the timed device power-on control instructions.
[0022] The present application also provides a storage device, which stores multiple program codes, and the program codes are suitable for being loaded and run by a processor to execute the above-mentioned large-screen power control method based on the cloud platform.
[0023] The present application also provides a terminal device, including a processor and a memory;
[0024] The memory is used to store program code and transmit the program code to the processor;
[0025] The processor is used to execute the above-mentioned large-screen power control method based on the cloud platform according to the instructions in the program code.
[0026] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages: the large-screen power supply control method, device and equipment based on the cloud platform, the method includes obtaining the layout information and execution instructions of the large-screen power supply equipment of the cloud platform; configuring the device power-on control instructions of each large-screen power supply equipment in the cloud platform according to the layout information and the execution instructions, and storing the device power-on control instructions in the command queue; determining the optimized response parameters according to the sending instruction time and the response instruction time of the device power-on control instructions; controlling the operation of the corresponding large-screen power supply equipment in the cloud platform according to the device power-on control instructions and the optimized response parameters. The large-screen power supply control method based on the cloud platform controls the operation of the corresponding large-screen power supply equipment in the cloud platform through the device power-on control instructions and the optimized response parameters, which greatly reduces the waiting time for the operation and can significantly improve the power-on efficiency of the large-screen power supply equipment, especially compared with the power-on efficiency of the large-screen power supply equipment controlled by the serial port, and solves the technical problems of long communication time and low power-on efficiency in the existing cloud platform control method of large-screen power supply startup of many different manufacturers.
[0027] The large-screen power supply control device based on the cloud platform cooperates with the equipment control module, response strategy module and power on / off control module to realize the statistics of large-screen power supply devices of various manufacturers on the cloud platform, and uses equipment power on control instructions and optimized response parameters to control the operation of each large-screen power supply device on the cloud platform, which greatly reduces the waiting time of operation and can significantly improve the power on efficiency of large-screen power supply devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. 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 any creative labor.
[0029] Figure 1This is a flowchart of the steps of the large-screen power control method based on the cloud platform according to an embodiment of the present application;
[0030] Figure 2 This is a framework diagram of a large-screen power control device based on a cloud platform according to an embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to make the purpose, features, and advantages of the invention of this application more obvious and easy to understand, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the embodiments described below are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0032] The embodiments of the present application provide a large-screen power supply control method, device and equipment based on a cloud platform, which is used to solve the technical problems of long communication time and low startup efficiency in the existing cloud platform control of the power startup of large screens of many different manufacturers.
[0033] Example 1:
[0034] Figure 1 This is a flowchart of the large-screen power control method based on the cloud platform according to an embodiment of the present application. Figure 2 This is a framework diagram of the large-screen power control device based on the cloud platform described in an embodiment of the present application.
[0035] like Figure 1 As shown, the embodiment of the present application provides a large-screen power control method based on a cloud platform, comprising the following steps:
[0036] S1. Obtain the layout information and execution instructions of the large-screen power supply equipment on the cloud platform.
[0037] It should be noted that in step S1, the layout of all large-screen power supply devices on the cloud platform and the execution instructions issued by the cloud platform are obtained. In this embodiment, the execution instructions can be a power-on instruction for controlling the large-screen power supply devices, or a power-off instruction for controlling the large-screen power supply devices. The layout information can be the data and location of the large-screen power supply devices on the cloud platform.
[0038] S2. Configure the device power-on control instructions for each large-screen power supply device in the cloud platform according to the layout information and execution instructions, and store the device power-on control instructions in the command queue; determine the optimized response parameters according to the sending instruction time and response instruction time of the device power-on control instructions.
[0039] It should be noted that in step S2, firstly, the received execution instruction is converted into the power-on control instruction corresponding to all large-screen power supply devices in the cloud platform according to the layout information; secondly, the optimized response parameter is determined according to the sending instruction time and the response instruction time of the standby power-on control instruction. Figure 2 As shown, the power-on control instructions obtained according to the layout information are 0-0, 0-1, 0-2, 1-0, 1-1, 1-2, 2-0, 2-1 and 2-2.
[0040] In an embodiment of the present application, the large-screen power control method based on the cloud platform also stores the device power-on control instruction in a command queue, so that the large-screen power control method based on the cloud platform transmits the device power-on control instruction to the power controller of the corresponding large-screen power supply device through the command queue, and the power controller of the large-screen power supply device can control the corresponding large-screen power supply device to turn on or off according to the device power-on control instruction. The large-screen power control method based on the cloud platform stores the device power-on control instruction that has exceeded the response time in a retry queue, so that the large-screen power control method based on the cloud platform can update the operating parameters of each corresponding large-screen power supply device in the cloud platform according to the information in the retry queue; the operating parameters include the timeout waiting time and the number of restarts. The information in the retry queue includes the time for each retry of the device power-on control instruction execution command.
[0041] S3. Control the operation of the corresponding large-screen power supply equipment in the cloud platform according to the device power-on control instructions and optimized response parameters.
[0042] The present application provides a large-screen power supply control method based on a cloud platform, the method comprising obtaining layout information and execution instructions of large-screen power supply devices on the cloud platform; configuring device power-on control instructions for each large-screen power supply device in the cloud platform according to the layout information and execution instructions, and storing the device power-on control instructions in a command queue; determining optimized response parameters according to the sending instruction time and the response instruction time of the device power-on control instructions; and controlling the operation of the corresponding large-screen power supply device in the cloud platform according to the device power-on control instructions and the optimized response parameters. The large-screen power supply control method based on a cloud platform controls the operation of the corresponding large-screen power supply device in the cloud platform through the device power-on control instructions and the optimized response parameters, greatly reducing the waiting time for the operation, and significantly improving the power-on efficiency of the large-screen power supply device, especially compared with the power-on efficiency of the large-screen power supply device controlled by the serial port, solving the technical problems of long communication time and low power-on efficiency in the existing cloud platform control method for powering on large-screen power supplies of many different manufacturers.
[0043] In one embodiment of the present application, determining the optimized response parameter based on the sending instruction time and the response instruction time of the device power-on control instruction includes:
[0044] The timeout response time is calculated based on the time of sending the instruction and the time of responding to the instruction;
[0045] Set the timeout waiting time and restart times for each large-screen power supply device in the cloud platform according to the timeout response time;
[0046] Among them, the optimized response parameters include timeout response time, timeout waiting time and restart times. The timeout waiting time is twice the previous timeout response time.
[0047] It should be noted that the timeout response time can be the time difference between the time it takes to send the command and the time it takes to respond to the command. The number of restarts can be set to 3. In this embodiment, the cloud platform-based large-screen power supply control method controls the startup, shutdown, or restart of all large-screen power supply devices in the cloud platform, and can optimize the operating parameters of the corresponding large-screen power supply devices based on the optimized response parameters.
[0048] Example 2:
[0049] like Figure 2 As shown, an embodiment of the present application provides a large-screen power control device based on a cloud platform, including: a device control module 10 and a response strategy module 20 and a power on / off control module 30 connected to the device control module 10.
[0050] In an embodiment of the present application, the power on / off control module 30 is used to obtain the layout information and execution instructions of the large-screen power supply device of the cloud platform, configure the device power on control instructions of each large-screen power supply device in the cloud platform according to the layout information and execution instructions, and transmit the device power on control instructions to the device control module 10.
[0051] It should be noted that the power on / off control module 30 includes the layout information of the large-screen power supply devices and the device information corresponding to each large-screen power supply device. It is responsible for feeding back to the cloud platform application the result of the power on / off control of the large-screen power supply device (success or failure) and storing detailed information (such as the failure of a large-screen power supply device to start up).
[0052] In the embodiment of the present application, the device control module 10 is configured to send a device power-on control command to the power controller of the corresponding large-screen power supply device in the cloud platform, and transmit the device power-on control command sending command time, response command time, and timeout response time to the response strategy module 30. The device control module 10 includes a command queue and a retry queue. The command queue is used to store device power-on control commands; the retry queue is used to store optimized response parameters and timeout device power-on control commands.
[0053] It should be noted that the device control module 10 establishes a command queue and a retry queue based on the device power-on control command transmitted by the power-on / off control module 30. It is responsible for sending the device power-on control command to the corresponding large-screen power supply device and feeding back the device power-on control command's transmission time, response time, and timeout response time to the response strategy module 20. If the response time for the device power-on control command exceeds the timeout response time, the device power-on control command is stored in the retry queue. If the device power-on control command fails to execute after three retries, a failure message indicating the execution of the device power-on control command is returned.
[0054] In an embodiment of the present application, the response strategy module 20 is used to count the operating information of all large-screen power supply devices in the cloud platform and determine the optimized response parameters based on the sending instruction time and response instruction time of the device power-on control instruction and transmit the optimized response parameters to the device control module 10.
[0055] It should be noted that the response strategy module 20 is used to collect statistics on the cloud platform, such as the sending time, response time, timeout period, and number of retries of device power-on control commands, by manufacturer, device, and large-screen power supply, as well as the results of controlling the power-on and power-off of the large-screen power supply device according to the device power-on control command. This information is then returned to the power-on and power-off control module 30 and transmitted to the device control module 10 to optimize the response parameters and update the timeout waiting time of the large-screen power supply device.
[0056] In an embodiment of the present application, the large-screen power supply control device based on the cloud platform cooperates with the device control module, the response strategy module and the power on / off control module to realize the statistics of the large-screen power supply devices of various manufacturers on the cloud platform, and uses the device power on control instructions and optimized response parameters to control the operation of each large-screen power supply device on the cloud platform, which greatly reduces the waiting time of the operation and can significantly improve the power on efficiency of the large-screen power supply device.
[0057] In one embodiment of the present application, the device control module 10 is also used to update the operating parameters of each large-screen power supply device in the cloud platform according to the optimized response parameters and determine whether the corresponding large-screen power supply device fails to execute the device power-on control instruction based on the number of restarts; the operating parameters include the timeout waiting time and the number of restarts.
[0058] It should be noted that the large-screen power supply control device based on the cloud platform judges that the execution of the device power-on control instruction is successful if the large-screen power supply device is successfully powered on or off according to the device power-on control instruction within the number of restarts; if the large-screen power supply device fails to power on or off according to the device power-on control instruction, it judges that the execution of the device power-on control instruction fails.
[0059] Example 3:
[0060] An embodiment of the present application provides a storage device storing a plurality of program codes, wherein the program codes are suitable for being loaded and run by a processor to execute the above-mentioned large-screen power control method based on a cloud platform.
[0061] Example 4:
[0062] An embodiment of the present application provides a terminal device, including a processor and a memory;
[0063] A memory, configured to store program codes and transmit the program codes to a processor;
[0064] The processor is used to execute the above-mentioned large-screen power control method based on the cloud platform according to the instructions in the program code.
[0065] It should be noted that the processor is configured to execute the steps of the aforementioned cloud-based large-screen power control method embodiment according to the instructions in the program code. Alternatively, the processor implements the functions of the modules / units in the aforementioned system / device embodiments when executing the computer program.
[0066] For example, a computer program may be divided into one or more modules / units, one or more of which are stored in a memory and executed by a processor to complete the present application. One or more modules / units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program in a terminal device.
[0067] Terminal devices can be computing devices such as desktop computers, laptops, PDAs, and cloud servers. Terminal devices may include, but are not limited to, processors and memory. Those skilled in the art will appreciate that this does not constitute a limitation on terminal devices and may include more or fewer components than shown, or a combination of certain components, or different components. For example, terminal devices may also include input / output devices, network access devices, buses, and the like.
[0068] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), 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.
[0069] The memory can be an internal storage unit of a terminal device, such as a hard drive or memory. It can also be an external storage device, such as a plug-in hard drive, a SmartMedia Card (SMC), a Secure Digital (SD) card, or a flash memory card. Furthermore, the memory can include both the internal storage unit and external storage devices of the terminal device. The memory is used to store computer programs and other programs and data required by the terminal device. The memory can also be used to temporarily store data that has been output or is about to be output.
[0070] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0071] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, 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 an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0072] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0073] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0074] If the integrated 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 technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0075] As described above, the above embodiments 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 above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these 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.
Claims
1. A large-screen power supply control method based on a cloud platform, characterized in that: The following steps are involved: Obtain layout information and execution instructions for large-screen power supply equipment on the cloud platform; configuring a device power-on control instruction for each large-screen power supply device in the cloud platform according to the layout information and the execution instruction, and storing the device power-on control instruction in a command queue; Determine an optimized response parameter based on the sending instruction time and the response instruction time of the device power-on control instruction; Control the operation of the corresponding large-screen power supply device in the cloud platform according to the device power-on control instruction and the optimized response parameter; Determining the optimized response parameter based on the sending instruction time and the response instruction time of the device power-on control instruction includes: Obtaining a timeout response time by calculating the time of sending the instruction and the time of responding to the instruction; According to the timeout response time, the timeout waiting time and the number of restarts for each large-screen power supply device in the cloud platform are set; The optimization response parameters include timeout response time, timeout waiting time and restart times.
2. The large-screen power supply control method based on the cloud platform according to claim 1 is characterized in that: The timeout waiting time is twice the previous timeout response time.
3. The large-screen power supply control method based on the cloud platform according to claim 1 is characterized in that: include: The device power-on control instructions that have exceeded the response time are stored in the retry queue to update the operating parameters of each large-screen power supply device in the cloud platform; the operating parameters include the timeout waiting time and the number of restarts.
4. A large-screen power supply control device based on a cloud platform, characterized in that: include: A device control module, and a response strategy module and a power on / off control module connected to the device control module; The power on / off control module is used to obtain the layout information and execution instructions of the large-screen power supply devices on the cloud platform, configure the device power on control instructions of each large-screen power supply device in the cloud platform according to the layout information and the execution instructions, and transmit the device power on control instructions to the device control module; The device control module is used to send the device power-on control instruction to the power controller of the corresponding large-screen power supply device in the cloud platform, and transmit the sending instruction time, response instruction time and timeout response time of the device power-on control instruction to the response strategy module; The response strategy module is used to collect statistics on the operation information of all large-screen power supply devices in the cloud platform and determine the optimized response parameters according to the sending instruction time and response instruction time of the device power-on control instruction and transmit the optimized response parameters to the device control module; Determining the optimized response parameter based on the sending instruction time and the response instruction time of the device power-on control instruction includes: Obtaining a timeout response time by calculating the time of sending the instruction and the time of responding to the instruction; According to the timeout response time, the timeout waiting time and the number of restarts for each large-screen power supply device in the cloud platform are set; The optimization response parameters include timeout response time, timeout waiting time and restart times.
5. The large-screen power supply control device based on the cloud platform according to claim 4 is characterized in that: The device control module is also used to update the operating parameters of each large-screen power supply device in the cloud platform according to the optimized response parameters; the operating parameters include timeout waiting time and restart times.
6. The large-screen power supply control device based on the cloud platform according to claim 5, characterized in that: The device control module is further configured to determine, based on the number of restarts, whether the corresponding large-screen power supply device fails to execute the device power-on control instruction.
7. The large-screen power supply control device based on a cloud platform according to claim 4, characterized in that: The device control module includes a command queue and a retry queue. The command queue is used to store the device power-on control instruction; the retry queue is used to store the optimized response parameters and the timed device power-on control instruction.
8. A storage device storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by a processor to execute the large-screen power control method based on a cloud platform as described in any one of claims 1-3.
9. A terminal device, characterized in that: including a processor and a memory; The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the large-screen power control method based on the cloud platform as described in any one of claims 1 to 3 according to the instructions in the program code.
Citation Information
Patent Citations
Operational instruction processing method and device
CN106293673A
Large-screen control system, method and device and electronic equipment
CN111352600A