Automatic production method and device of LED control card, electronic equipment and storage medium
Through the automated LED control card production method, including obtaining the control card name, determining the pending card, firmware upgrade and log generation, the problem of traditional manual operation is solved and an efficient and accurate LED control card production process is achieved.
Patent Information
- Application Number
- CN202411992963.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-22
AI Technical Summary
The production process of traditional LED control cards relies on manual operation, is inefficient and error-prone, increasing production costs and time.
By obtaining the control card names corresponding to each LED control card in the current network environment, automatically determine the LED control card to be processed, determine its firmware version and automatically upgrade it, generate an operation log, and automate the LED control card production process.
Improves production efficiency, reduces error rates, saves costs, and improves management efficiency.
Smart Images

Figure CN119861949A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to an automatic production method, device, electronic equipment and storage medium of an LED control card. Background Art
[0002] With the rapid development of LED display technology, LED single and double color display screens have been widely used in advertising, signage, information release and other fields.
[0003] However, the traditional LED control card production process mostly relies on manual operations, including Wi-Fi password verification, firmware version verification and upgrade, data distribution, basic equipment function item testing and other links. This is not only inefficient, but also prone to errors, increasing production costs and time. Summary of the invention
[0004] The present invention provides an automatic production method, device, electronic equipment and storage medium of an LED control card to realize automation of the production process of the LED control card, so as to improve production efficiency, reduce error rate, save costs and improve management efficiency.
[0005] According to one aspect of the present invention, there is provided an automatic production method of an LED control card, comprising:
[0006] Acquire the control card name corresponding to each LED control card in the current network environment, and determine the LED control card to be processed from the LED control cards according to the control card name;
[0007] Determine the control card firmware version of the LED control card to be processed, and perform a firmware upgrade on the LED control card to be processed according to the firmware version;
[0008] The operation information of the LED control card to be processed during the firmware upgrade process is obtained, and an operation log of the LED control card to be processed is generated according to the operation information, wherein the operation information includes time, operation device address, control card name, and execution steps and results.
[0009] According to another aspect of the present invention, there is provided an automatic production device for an LED control card, comprising:
[0010] A control card screening module, used for obtaining the control card names corresponding to each LED control card in the current network environment, and determining the LED control card to be processed from the LED control cards according to the control card names;
[0011] A data initialization module, used for determining the control card firmware version of the LED control card to be processed, and performing a firmware upgrade on the LED control card to be processed according to the firmware version;
[0012] The information recording module is used to obtain the operation information of the LED control card to be processed during the firmware upgrade process, and generate an operation log of the LED control card to be processed according to the operation information, wherein the operation information includes time, operation device address, control card name, and execution steps and results.
[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the automatic production method of the LED control card described in any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the automatic production method of the LED control card described in any embodiment of the present invention when executed.
[0018] The technical solution of the embodiment of the present invention obtains the control card name corresponding to each LED control card in the current network environment, determines the LED control card to be processed from the LED control cards according to the control card name, determines the control card firmware version of the LED control card to be processed, and performs a firmware upgrade on the LED control card to be processed according to the firmware version, and finally obtains the operation information of the LED control card to be processed during the firmware upgrade process, and generates an operation log of the LED control card to be processed according to the operation information. Based on the above technical solution, the LED control card firmware is automatically updated during the production process according to the firmware version of the LED control card, and the corresponding log information is generated, which realizes the automation of the LED control card production process, improves production efficiency, reduces error rate, saves costs and improves management efficiency.
[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 is a flow chart of an automatic production method of an LED control card provided according to an embodiment of the present invention;
[0022] Figure 2 is a flow chart of an automated production procedure for an LED control card provided in accordance with an embodiment of the present invention;
[0023] Figure 3 is a flow chart of an automatic production method of an LED control card provided according to an embodiment of the present invention;
[0024] Figure 4 is a flowchart of the operation of the LED control card automated production tool provided by an embodiment of the present invention;
[0025] Figure 5 is a structural schematic diagram of an automatic production device for an LED control card provided according to an embodiment of the present invention;
[0026] Figure 6 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] Embodiment 1
[0030] Figure 1 The flowchart of an automatic production method of an LED control card provided by an embodiment of the present invention is applicable to the case where a pending LED control card is determined according to the control card name corresponding to the LED control card, and the firmware version update and information recording of the pending LED control card are automatically completed. The method can be executed by an automatic production device of an LED control card, which can be implemented in the form of hardware and / or software, and can be configured in an electronic device. Figure 1 As shown, the method includes:
[0031] S110, obtaining a control card name corresponding to each LED control card in the current network environment, and determining a to-be-processed LED control card from among the LED control cards according to the control card name.
[0032] The current network environment may be the network architecture and facilities on which all LED control cards and automatic production control software rely for communication. It should be noted that in the technical solution provided in the embodiment of the present invention, the current network environment may be a wireless local area network. The LED control card may be a controller for controlling a single-color or double-color LED display screen. The control card name may be understood as the name of the wireless network corresponding to each LED control card. The LED control card to be processed may be a control card that needs to be processed for production.
[0033] Specifically, the names of all LED control cards are searched and obtained in the current network environment, and then the LED control card to be processed is determined according to the name of the LED control card. For example, a network scanning tool is used to search all wireless signals in the network, and the wireless network name corresponding to each wireless signal is obtained, and the LED control card to be processed is determined from each LED control card according to the wireless network name. It should be noted that the embodiment of the present invention provides a grayscale equipment production tool, which solves the problems of low efficiency and easy errors in the existing production process through automation. The tool can automatically complete key steps such as Wi-Fi password determination, firmware version verification and upgrade, data distribution, basic equipment function item testing and production records, thereby significantly improving production efficiency, reducing production costs, and ensuring production consistency and product quality. Through the built-in network scanning and authentication mechanism, the grayscale device production tool calls the custom Wi-Fi scanning tool, which can automatically detect and call the custom Wi-Fi connection tool to connect to the preset Wi-Fi network without manual password input. The grayscale device production tool provided by the embodiment of the present invention can realize automatic software version update, and automatically pull the script file and firmware file corresponding to the control card model from the server, and support parsing script files in multiple scripting languages. For example, by parsing the syntax tags in the script file, the markdown syntax can be used to parse the construction use case / scenario, ordinary use case / scenario, and deconstruction use case / scenario.
[0034] On the basis of the above technical solution, the LED control card to be processed is determined from the LED control cards according to the control card name, including: obtaining a preset production configuration file, and determining a target LED control card model according to the production configuration file; determining a control card model corresponding to each LED control card based on the control card name, and determining the LED control card to be processed according to the control card model and the target LED control card model.
[0035] The preset production configuration file may be a configuration file pre-established according to the generation requirements of the control card, and the model of the control card to be generated, that is, the target LED control card model, may be pre-set in the configuration file.
[0036] Specifically, a preset production configuration file is obtained, which contains various parameters and settings required in the production process, including the model information of the target LED control card, and then the model of the target LED control card is extracted by parsing the production configuration file, and all currently available LED control cards are traversed, and the corresponding control card model is determined based on the name of each control card. The LED control card to be processed is determined by comparing the model of each control card with the model of the target LED control card.
[0037] It should be noted that the technical solution provided in the embodiment of the present invention determines the target control card model by obtaining the production configuration file, and then traverses the currently available control cards to find the control card that matches the target model, thereby determining the LED control card to be processed, ensuring that the control card used in the production process meets the preset requirements, which helps to ensure the quality and efficiency of production.
[0038] On the basis of the above technical solution, the LED control card to be processed is determined according to the control card model and the target LED control card model, including: determining the matching result of the control card model corresponding to each LED control card and the target LED control card model; and taking the LED control card with a successful matching result as the LED control card to be processed.
[0039] The matching result may be a result indicating whether the model of the current LED control card matches the model of the target LED control card.
[0040] Specifically, by traversing all currently available LED control cards and obtaining the model information of each control card, the model of each control card is compared with the model of the target LED control card, and the matching results of each control card model and the target model are recorded during the comparison process. The matching results are usually divided into two types: "matching success" and "matching failure". Then, the control card with the matching result of "matching success" is screened out from all control cards and used as the LED control card to be processed. The technical solution provided by the embodiment of the present invention determines the matching result by comparing the model of each LED control card with the target model, and selects the control card with successful matching as the control card to be processed, ensuring that only the control card that meets the preset requirements will be selected for subsequent processing, thereby improving the accuracy and efficiency of production, and also has certain flexibility and scalability, and can adapt to control cards of different models and specifications.
[0041] S120: Determine a control card firmware version of the LED control card to be processed, and perform a firmware upgrade on the LED control card to be processed according to the firmware version.
[0042] The control card firmware version may be the version information of the software embedded in the hardware device of the LED control card to be processed.
[0043] Specifically, the tool has built-in firmware version data. The control card firmware version is obtained through the control card instruction sending tool LED control card instruction sending tool, and compared with the current firmware version of the control card to be produced, and automatically determines whether an upgrade is needed. It also supports the use of the LED control card instruction sending tool to send firmware file data to the control card to upgrade and install the latest firmware.
[0044] On the basis of the above technical solution, the firmware upgrade of the LED control card to be processed according to the firmware version includes: determining the target firmware version of the LED control card to be processed based on a preset production configuration file, and when the target firmware version does not match the control card firmware version of the LED control card to be processed; sending the firmware version upgrade file to the LED control card to be processed, and performing firmware upgrade on the LED control card to be processed.
[0045] The target firmware version may be the latest firmware version corresponding to the LED control card to be processed.
[0046] Specifically, a preset production configuration file is obtained, which contains the firmware version requirements for a specific model of control card during the production process, as well as other relevant configuration information, and then the target firmware version corresponding to the LED control card to be processed is extracted by parsing the production configuration file. It should be noted that the target firmware version is the firmware version expected to be run by the control card during the production process, and the control card firmware version is obtained using the LED control card instruction delivery tool, and the queried current firmware version is compared with the target firmware version. If the two match, there is no need to upgrade the firmware; if they do not match, a firmware upgrade is required, and then, if a firmware upgrade is required, the firmware version upgrade file is sent to the LED control card to be processed, and the firmware upgrade is performed on the LED control card to be processed.
[0047] It should be noted that, based on the above technical solution, the method further includes: after detecting that the firmware upgrade of the LED control card to be processed is completed, sending device initial data through the LED control card instruction sending tool.
[0048] Specifically, when the firmware upgrade is completed, the LED control card to be processed can generate firmware upgrade completion information, and upload the operation log of the firmware upgrade process and the firmware upgrade completion information to the grayscale device production tool, and then after receiving the instruction information, the pre-configured LED control card instruction issuance tool can be called to issue the initial data corresponding to the LED control card to be processed, and then the parameter setting of the LED control card to be processed is completed based on the initial data, so as to ensure the data consistency and accuracy of the factory equipment. For example, after completing the firmware upgrade of the LED control card to be processed, the LED control card instruction issuance tool can be used to issue data. The LED control card instruction issuance tool supports batch issuance of time programs, text scrolling programs, boot screens, font libraries, hardware parameters, system time calibration and other data to the control card, and then the control card parameters are initialized through the issued data.
[0049] It should be noted that if Figure 2As shown, during the processing process, engineers can pre-write tools and script files corresponding to the LED control card to be processed, and upload them to the server through a graphical desktop client. When the LED control card to be processed needs to be processed, the grayscale device production tool can be used to pull the software, scripts and processing tools corresponding to the LED control card to be processed. In the production process, the grayscale device production tool can pass parameters and files to the control card, accept the control card information returned by the control card, and generate a production / test log based on the control card information, and store it in the local storage device of the factory. The graphical desktop client can be an oss-browser.
[0050] On the basis of the above technical solution, before determining the control card firmware version of the LED control card to be processed, it also includes: obtaining a preset wireless password corresponding to the LED control card to be processed, and establishing a wireless connection with the LED control card to be processed based on the preset wireless password.
[0051] The preset wireless password may be a pre-set wireless connection password that meets production requirements. For example, the preset wireless password may be set to an 8-digit digital password.
[0052] Specifically, before processing the LED control card to be processed, it is necessary to obtain a preset wireless password corresponding to the LED control card to be processed, and then establish a wireless connection with the LED control card to be processed according to the preset wireless password. It should be noted that after the wireless connection is established, it is necessary to verify whether the connection is successfully established, by trying to ping the IP address of the control card, using a specific connection test tool or software to verify whether the connection is successfully established.
[0053] S130, obtaining operation information of the LED control card to be processed during the firmware upgrade process, and generating an operation log of the LED control card to be processed according to the operation information.
[0054] The operation information includes time, operation device address, control card name, and execution steps and results.
[0055] Specifically, during the firmware upgrade process, relevant operation information such as time, operation device address, control card name, and execution steps and results are recorded in real time, and then an operation log of the LED control card to be processed is generated based on the operation information and stored locally.
[0056] The technical solution of the embodiment of the present invention obtains the control card name corresponding to each LED control card in the current network environment, determines the LED control card to be processed from the LED control cards according to the control card name, determines the control card firmware version of the LED control card to be processed, and performs a firmware upgrade on the LED control card to be processed according to the firmware version, and finally obtains the operation information of the LED control card to be processed during the firmware upgrade process, and generates an operation log of the LED control card to be processed according to the operation information. Based on the above technical solution, the LED control card firmware is automatically updated during the production process according to the firmware version of the LED control card, and the corresponding log information is generated, which realizes the automation of the LED control card production process, improves production efficiency, reduces error rate, saves costs and improves management efficiency.
[0057] Embodiment 2
[0058] Figure 3 This is a flow chart of an automatic production method of an LED control card provided by an embodiment of the present invention. This embodiment further refines the technical solution of the automatic production method of the LED control card based on the above technical solution. Figure 3 As shown, the method also includes:
[0059] S210: After detecting that data initialization of the LED control card to be processed is completed, disconnecting the wireless connection with the LED control card to be processed, and determining the next LED control card to be processed according to the control card name.
[0060] Among them, data initialization can be the process of sending the initialization data of the LED control card to be processed to the control card after the firmware upgrade of the device is completed, and then realizing the process of initializing the LED control card to be processed according to the initialization data. The initialization data may include time program, text program, boot screen, font library, hardware parameters, system time calibration and other data.
[0061] Specifically, after the data initialization of the LED control card to be processed is completed, the wireless connection with the LED control card to be processed is disconnected, and the next LED control card to be processed is determined according to the control card name. For example, after the production of a control card is completed, the Wi-Fi disconnection tool is called to automatically disconnect the current Wi-Fi connection, and the Wi-Fi scanning tool is used to use the device identification algorithm to quickly screen and connect to the next control card of the same model to prepare for the next round of production.
[0062] On the basis of the above technical solution, the method of determining the next LED control card to be processed according to the control card name includes: determining the name of the control card to be verified from the control card name set, and judging whether the name of the control card to be verified is in the list of operated control card names; if the name of the control card to be verified is not in the list of operated control card names, the LED control card corresponding to the name of the control card to be verified is used as the next LED control card to be processed.
[0063] Among them, the control card name set can be a pre-established data set for storing control card names, for example, it can be a list for storing control card names, and correspondingly, the operated control card name list can be a list for storing control card names that have completed operations.
[0064] Specifically, a name is selected from the control card name set as the control card name to be verified, and the control card name to be verified is compared with the list of operated control card names to determine whether the name to be verified is already in the list. If the control card name to be verified is in the list of operated control card names, it means that the control card has been processed and is not the next control card to be processed. If the control card name to be verified is not in the list of operated control card names, it means that the control card has not been processed and can be used as the next control card to be processed. It should be noted that after the next LED control card to be processed is determined and processed, the name of the control card needs to be added to the list of operated control card names to avoid repeated processing. Optionally, the log data generated in the current production process can be obtained, and the list of control cards that have been processed can be determined by parsing the log data, and then the above process of determining the next LED control card to be processed can be verified according to the list of control cards that have been processed.
[0065] It should be noted that, in the technical solution of the embodiment of the present invention, the control cards of the same product and model have the same prefix in the device name, and the device name is used as the SSID, that is, the Wi-Fi name, with the same prefix, and when using the grayscale device production tool, the configuration file is pre-set to operate the specified control card model. In the process of control card production, a broadcast is first sent through a custom Wi-Fi scanning tool to obtain a set of SSIDs of all control cards with the prefix to be operated in the current network environment, and then the grep.exe text matching tool is used for screening, and the screening rules are set according to the test / production requirements. If all control cards need to be operated, an SSID set that has been operated can be generated, and a control card is first taken from the SSID set of the control card to be operated to determine whether it is in the set that has been operated. If it does not exist, the operation is performed, and then after the operation on the current control card is completed, the control card is recorded in the set that has been operated, and the above steps are repeated to complete the automatic production process for all control cards.
[0066] S220: Determine a control card firmware version of the LED control card to be processed, and perform a firmware upgrade on the LED control card to be processed according to the firmware version.
[0067] It should be noted that it can be combined with Figure 4 The LED control card automatic production tool provided by the embodiment of the present invention is further described as follows: Figure 4 As shown, the grayscale device production tool uses the built-in network scanning and authentication mechanism. The Wi-Fi scanning tool can be called to automatically detect and call the Wi-Fi connection tool to connect to the preset Wi-Fi network without manually entering a password. Then, the control card instruction issuing tool LED control card instruction issuing tool is used to obtain the control card firmware version, and compared with the current firmware version of the control card to be produced, it is automatically determined whether an upgrade is required, and it supports the use of the LED control card instruction issuing tool to issue firmware file data to the control card, upgrade and install the latest firmware, and after the firmware update is completed, the control card instruction issuing tool LED control card instruction issuing tool is used to support batch issuance of time programs, text program, boot screen, font library, hardware parameters, system time calibration and other data to the control card to ensure data consistency and accuracy. Then, after completing the production of a control card, the Wi-Fi disconnection tool is called to automatically disconnect the current Wi-Fi connection. Through the Wi-Fi scanning tool, the device identification algorithm is used to quickly screen and connect to the next control card of the same model to prepare for the next round of production.
[0068] It should be noted that before starting the grayscale device production tool to carry out the production process of the control card, the latest script file, configuration file, and data file can also be obtained from the server to the local computer. After starting the grayscale device production tool to carry out the production process of the control card, the grayscale device production tool sends the relevant parameters and firmware update files to the control card, and accepts the control card information returned by the control card, generates the corresponding production / test log, and stores it locally. In addition, the grayscale device production tool, as the core software, needs to be installed on a computer equipped with appropriate hardware configuration. The grayscale device production tool is equipped with Wi-Fi scanning tools, Wi-Fi connection tools, Wi-Fi disconnection tools, LED control card instruction sending tools and other tools, and uses bash, cmd, grep, adb and other script tools to realize various functions. At the beginning of production, the user only needs to start the automation process through simple interface operations, and the grayscale device production tool can automatically perform various tasks according to the preset logic until the production of all control cards is completed.
[0069] In addition, the technical solution provided by the embodiment of the present invention provides remote monitoring and alarm functions so that management personnel can grasp the production status in real time and respond to abnormal situations in a timely manner. For example, during the production / testing process, remote monitoring software can be run synchronously, and then when an error occurs, an alarm message corresponding to the error is generated. For example, the progress bar and error text can be marked in red, and then after the alarm information is manually collected, the alarm information is reported, thereby realizing remote monitoring and alarm during the production / testing process.
[0070] The technical solution of the embodiment of the present invention obtains the control card name corresponding to each LED control card in the current network environment, determines the LED control card to be processed from the LED control cards according to the control card name, determines the control card firmware version of the LED control card to be processed, and performs a firmware upgrade on the LED control card to be processed according to the firmware version, and finally obtains the operation information of the LED control card to be processed during the firmware upgrade process, and generates an operation log of the LED control card to be processed according to the operation information. Based on the above technical solution, the LED control card firmware is automatically updated during the production process according to the firmware version of the LED control card, and the corresponding log information is generated, which realizes the automation of the LED control card production process, improves production efficiency, reduces error rate, saves costs and improves management efficiency.
[0071] Embodiment 3
[0072] Figure 5 The structure diagram of an automatic production device of an LED control card provided by an embodiment of the present invention is shown in FIG. Figure 5 As shown, the device includes: a control card screening module 510, a data initialization module 520 and an information recording module 530; wherein,
[0073] A control card screening module 510, used for obtaining a control card name corresponding to each LED control card in the current network environment, and determining a to-be-processed LED control card from among the LED control cards according to the control card name;
[0074] The data initialization module 520 is used to determine the control card firmware version of the LED control card to be processed, and perform a firmware upgrade on the LED control card to be processed according to the firmware version;
[0075] The information recording module 530 is used to obtain the operation information of the LED control card to be processed during the firmware upgrade process, and generate an operation log of the LED control card to be processed according to the operation information, wherein the operation information includes time, operation device address, control card name, and execution steps and results.
[0076] On the basis of the above technical solution, the device also includes: a script acquisition and parsing module 500, the script parsing module is used to obtain the latest script files, configuration files, and data files from the server to the local, and parse the syntax tags in the script files to parse the construction use cases / scenarios, common use cases / scenarios, and deconstruction use cases / scenarios.
[0077] On the basis of the above technical solution, the data initialization module is used to send device initial data through the LED control card instruction sending tool after detecting that the firmware upgrade of the LED control card to be processed is completed.
[0078] On the basis of the above technical solution, the data initialization module is used to determine the target firmware version of the LED control card to be processed based on a preset production configuration file, and when the target firmware version does not match the control card firmware version of the LED control card to be processed; the firmware version upgrade file is sent to the LED control card to be processed, and the firmware upgrade is performed on the LED control card to be processed.
[0079] On the basis of the above technical solution, the control card screening module is used to obtain a preset production configuration file and determine the target LED control card model according to the production configuration file; determine the control card model corresponding to each LED control card based on the control card name, and determine the LED control card to be processed according to the control card model and the target LED control card model.
[0080] Based on the above technical solution, the control card screening module is used to determine the matching result between the control card model corresponding to each LED control card and the target LED control card model; and the LED control card with a successful matching result is used as the LED control card to be processed.
[0081] On the basis of the above technical solution, the data initialization module is used to obtain a preset wireless password corresponding to the LED control card to be processed before determining the control card firmware version of the LED control card to be processed, and establish a wireless connection with the LED control card to be processed based on the preset wireless password.
[0082] Based on the above technical solution, the data initialization module is further used to disconnect the wireless connection with the LED control card to be processed after detecting that the data initialization of the LED control card to be processed is completed, and determine the next LED control card to be processed according to the control card name.
[0083] On the basis of the above technical solution, the data initialization module is also used to determine the name of the control card to be verified from the control card name set, and judge whether the name of the control card to be verified is in the list of operated control card names; when the name of the control card to be verified is not in the list of operated control card names, the LED control card corresponding to the name of the control card to be verified is used as the next LED control card to be processed.
[0084] The technical solution of the embodiment of the present invention obtains the control card name corresponding to each LED control card in the current network environment, determines the LED control card to be processed from the LED control cards according to the control card name, determines the control card firmware version of the LED control card to be processed, and performs a firmware upgrade on the LED control card to be processed according to the firmware version, and finally obtains the operation information of the LED control card to be processed during the firmware upgrade process, and generates an operation log of the LED control card to be processed according to the operation information. Based on the above technical solution, the LED control card firmware is automatically updated during the production process according to the firmware version of the LED control card, and the corresponding log information is generated, which realizes the automation of the LED control card production process, improves production efficiency, reduces error rate, saves costs and improves management efficiency.
[0085] The automatic production device of the LED control card provided in the embodiment of the present invention can execute the automatic production method of the LED control card provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0086] Embodiment 4
[0087] Figure 6 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0088] like Figure 6As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0089] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0090] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the automatic production method of the LED control card.
[0091] In some embodiments, the automatic production method of the LED control card can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the automatic production method of the LED control card described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the automatic production method of the LED control card in any other appropriate manner (for example, by means of firmware).
[0092] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0093] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0094] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0095] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0096] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0097] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0098] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0099] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An automatic production method of an LED control card, characterized in that: include: Acquire the control card name corresponding to each LED control card in the current network environment, and determine the LED control card to be processed from the LED control cards according to the control card name; Determine the control card firmware version of the LED control card to be processed, and perform a firmware upgrade on the LED control card to be processed according to the firmware version; The operation information of the LED control card to be processed during the firmware upgrade process is obtained, and an operation log of the LED control card to be processed is generated according to the operation information, wherein the operation information includes time, operation device address, control card name, and execution steps and results.
2. The method according to claim 1, characterized in that The step of performing firmware upgrade on the LED control card to be processed according to the firmware version includes: Determine a target firmware version for the LED control card to be processed based on a preset production configuration file, if the target firmware version does not match a control card firmware version of the LED control card to be processed; The firmware version upgrade file is sent to the LED control card to be processed, and the firmware upgrade is performed on the LED control card to be processed.
3. The method according to claim 1, characterized in that The step of determining the LED control card to be processed from the LED control cards according to the control card name comprises: Obtain a preset production configuration file, and determine a target LED control card model according to the production configuration file; The control card model corresponding to each LED control card is determined based on the control card name, and the LED control card to be processed is determined according to the control card model and the target LED control card model.
4. The method according to claim 3, characterized in that The step of determining the LED control card to be processed according to the control card model and the target LED control card model includes: Determine the matching result between the control card models corresponding to the LED control cards and the target LED control card model; The LED control card with a successful matching result is used as the LED control card to be processed.
5. The method according to claim 1, characterized in that Before determining the control card firmware version of the LED control card to be processed, the method further includes: A preset wireless password corresponding to the LED control card to be processed is obtained, and a wireless connection is established with the LED control card to be processed based on the preset wireless password.
6. The method according to claim 1, characterized in that The method further comprises: After detecting that the data initialization of the LED control card to be processed is completed, the wireless connection with the LED control card to be processed is disconnected, and the next LED control card to be processed is determined according to the control card name.
7. The method according to claim 6, characterized in that The step of determining the next LED control card to be processed according to the control card name includes: Determine the name of the control card to be verified from the control card name set, and judge whether the name of the control card to be verified is in the list of operated control card names; In the case that the name of the control card to be verified is not in the list of names of the operated control cards, the LED control card corresponding to the name of the control card to be verified is used as the next LED control card to be processed.
8. An automatic production device for LED control cards, characterized in that: include: A control card screening module, used for obtaining the control card names corresponding to each LED control card in the current network environment, and determining the LED control card to be processed from the LED control cards according to the control card names; A data initialization module, used for determining the control card firmware version of the LED control card to be processed, and performing a firmware upgrade on the LED control card to be processed according to the firmware version; The information recording module is used to obtain the operation information of the LED control card to be processed during the firmware upgrade process, and generate an operation log of the LED control card to be processed according to the operation information, wherein the operation information includes time, operation device address, control card name, and execution steps and results.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the automatic production method of the LED control card according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the automatic production method of the LED control card according to any one of claims 1 to 7 when executed.