File upgrading method and electronic equipment

By obtaining the device combination information and file name list, and automatically obtaining and applying the upgrade file list, it solves the problem of complexity of file update of the LED control system, improves maintenance efficiency and reduces costs.

CN118778974APending Publication Date: 2024-10-15XIAN QINGSONG PHOTOELECTRIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310340606.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

When updating the files of the existing LED control system, maintenance personnel need to prepare the latest version of the files for each device, which makes the upgrade process complex and cumbersome, increases maintenance costs and difficulty, and reduces maintenance efficiency.

Method used

By obtaining the device combination information, find the file names of the files to be upgraded, generate a list of file names and send it to the server, obtain the list of upgrade files, and automatically control the device to upgrade the files to be upgraded, without the need to manually prepare the latest version of the file.

Benefits of technology

It reduces maintenance costs and difficulty, improves maintenance efficiency, and simplifies the file update process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778974A_ABST
    Figure CN118778974A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of file updating, and discloses a file upgrading method and electronic equipment. The method comprises the steps that multiple pieces of equipment combination information are obtained, each piece of equipment combination information comprises equipment version information of each piece of equipment meeting combination conditions, file name information of each to-be-upgraded file of each piece of equipment is searched in a preset database according to each piece of equipment version information and in combination with the equipment combination information, and the to-be-upgraded file of each piece of equipment is updated according to the file name information. And generating a filename list, sending the filename list to the server, so that the server generates an upgrade file list according to the filename list, obtains the upgrade file list of the server, and controls each device to upgrade the to-be-upgraded file according to the upgrade file list. According to the embodiment, the file name of each to-be-upgraded file can be automatically searched, so that the upgrade file list used for upgrading each to-be-upgraded file is obtained, the latest version file does not need to be manually prepared for each to-be-upgraded file, and the maintenance efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of file updating, and in particular to a file upgrading method and electronic equipment. Background Art

[0002] LED control system is a system that controls the LED screen display according to user needs. LED control system is usually composed of devices such as sending card, receiving card or video processor, each device generally stores multiple files such as configuration files and upgrade files, which are used to ensure the normal operation of the device. Before each device leaves the factory, the files stored in these devices are determined after hardware debugging.

[0003] At present, after the LED control system leaves the factory, since the files stored in each device in the LED control system have been determined, if the files that need to be updated in each device are to be updated, maintenance personnel are required to prepare the corresponding latest version files for each file that needs to be updated in each device, and use these latest version files to upgrade each file that needs to be updated. The upgrade process is relatively complicated and cumbersome, which increases maintenance costs and difficulty, and has low maintenance efficiency. Summary of the invention

[0004] An object of an embodiment of the present invention is to provide a file upgrade method and an electronic device, which can solve the defects of the prior art.

[0005] In a first aspect, an embodiment of the present invention provides a file upgrade method, which is applied to an LED control system, wherein the LED control system includes a plurality of devices, each of which includes a plurality of files to be upgraded, and the file upgrade method includes:

[0006] Acquire multiple pieces of device combination information, each piece of device combination information including device version information of each device that meets a combination condition;

[0007] According to the version information of each device and in combination with the device combination information, searching the preset database for the file name information of each file to be upgraded of each device;

[0008] Generate a file name list according to the file name information;

[0009] Sending the file name list to the server, so that the server returns an upgrade file list according to the file name list;

[0010] After receiving the upgrade file list, each of the devices is controlled to upgrade the files to be upgraded according to the upgrade file list.

[0011] Optionally, the device combination information further includes customized version information, and searching the preset database for file name information of each file to be upgraded of each device according to each device version information and in combination with the device combination information includes:

[0012] According to each device version information, a corresponding file configuration information list is searched in a preset database, wherein the file configuration information list includes a file type identifier and indication information of each type of file, wherein the indication information is used to indicate the device version information and / or customized version information that each type of file depends on;

[0013] According to the indication information and in combination with the device combination information, the file name information of each file to be upgraded of each device is searched in a preset database.

[0014] Optionally, searching a preset database for file name information of each file to be upgraded of each of the devices according to the indication information and in combination with the device combination information includes:

[0015] According to the indication information, determining the device version information and / or customized version information that each type of file depends on in the plurality of device combination information;

[0016] According to the file type identifier, the device version information and / or the customized version information, the file name information of each file to be upgraded of each device is searched in a preset database.

[0017] Optionally, the file name list includes file name information of each file to be upgraded, and correspondingly, the upgrade file list includes the latest version file of each file to be upgraded.

[0018] Optionally, controlling each device to upgrade the file to be upgraded according to the upgrade file list includes:

[0019] Obtain current version information of the target file to be upgraded of the device;

[0020] Obtain the latest version information of the latest version file corresponding to the target file to be upgraded;

[0021] According to the current version information and the latest version information, the device is controlled to upgrade the target file to be upgraded.

[0022] Optionally, controlling the device to upgrade the target file to be upgraded according to the current version information and the latest version information includes:

[0023] Determine whether the current version information is consistent with the latest version information;

[0024] If not, sending the latest version file to the device, so that the device upgrades the target file to be upgraded according to the latest version file;

[0025] If yes, return to the step of obtaining the current version information of the target file to be upgraded of the device.

[0026] Optionally, generating a file name list according to the file name information includes:

[0027] Get the latest version information of each file to be upgraded corresponding to each file name information;

[0028] Obtaining current version information of each file to be upgraded of each of the devices;

[0029] Determine a target upgrade file from each file to be upgraded according to the latest version information and the current version information;

[0030] A file name list is generated according to the file name information of each target upgrade file, wherein the file name list includes the file name information of each target upgrade file.

[0031] Optionally, determining a target upgrade file from each file to be upgraded according to the latest version information and the current version information includes:

[0032] Determine whether the current version information of each file to be upgraded is consistent with the corresponding latest version information;

[0033] If not, determining that the file to be upgraded is a target upgrade file;

[0034] If so, it is determined that the file to be upgraded is not a target upgrade file.

[0035] Optionally, the upgrade file list includes the latest version file corresponding to each target upgrade file, and controlling each device to upgrade the file to be upgraded according to the upgrade file list includes:

[0036] The latest version file corresponding to each of the target upgrade files is sent to the corresponding device, so that the device upgrades each of the target upgrade files according to the latest version file.

[0037] In a second aspect, an embodiment of the present invention provides an electronic device, including:

[0038] at least one processor;

[0039] and, a memory communicatively connected to the at least one processor; wherein,

[0040] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described above.

[0041] In the file upgrade method provided by the embodiment of the present invention, the method includes: obtaining multiple device combination information, each device combination information includes device version information of each device that meets the combination condition, according to each device version information, combined with the device combination information, searching the file name information of each file to be upgraded of each device in the preset database, generating a file name list according to the file name information, sending the file name list to the server, so that the server generates an upgrade file list according to the file name list, obtaining the upgrade file list of the server, and controlling each device to upgrade the file to be upgraded according to the upgrade file list. This embodiment can automatically search for the file name of each file to be upgraded so as to obtain the upgrade file list for upgrading each file to be upgraded, without manually preparing the latest version file for each file to be upgraded, which is conducive to reducing maintenance costs and maintenance difficulties and improving maintenance efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] One or more embodiments are illustrated only as examples in the corresponding drawings, and these examples do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0043] Figure 1 It is a structural schematic diagram of a file upgrade system provided by an embodiment of the present invention;

[0044] Figure 2 It is a structural schematic diagram of an LED control system provided by an embodiment of the present invention;

[0045] Figure 3 This is a schematic diagram of file configuration of a sending card provided by an embodiment of the present invention;

[0046] Figure 4 is a structural schematic diagram of an LED control system provided by another embodiment of the present invention;

[0047] Figure 5 is a file configuration diagram of a receiving card provided by an embodiment of the present invention;

[0048] Figure 6 is a schematic diagram of file configuration of a light board provided by an embodiment of the present invention;

[0049] Figure 7 It is a flowchart of a file upgrade method provided by an embodiment of the present invention;

[0050] Figure 8yes Figure 7 The schematic diagram of the process of S72 shown;

[0051] Fig. 9 It is a structural schematic diagram of a file upgrading device provided by an embodiment of the present invention;

[0052] Fig.10 yes Fig. 9 The structural diagram of the search module shown;

[0053] Fig.11 yes Fig. 9 The structural diagram of the control module shown;

[0054] Fig.12 yes Fig. 9 The schematic diagram of the structure of the generation module shown;

[0055] Fig.13 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0057] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, all within the scope of protection of the present invention. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the device or the flow chart. Furthermore, the words "first", "second", "third", etc. used in the present invention do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.

[0058] The embodiment of the present invention provides a file upgrade system. Figure 1 The file upgrade system 100 includes an LED control system 11 and a main control 12 .

[0059] The LED control system 11 is a system that controls the LED screen display according to user needs. Figure 2 , the LED control system 11 includes multiple devices, such as Figure 2 As shown, the multiple devices include a video processor 111 , a sending card 112 , a receiving card 113 , and a light board 114 .

[0060] The video processor 111 needs to be used with a sending card to convert the image signal from the outside into a signal that can be received by the sending card. During the conversion process, the video processor 111 generally needs to complete bit depth enhancement, resolution specification conversion, scaling and other processing, among which, bit depth enhancement refers to the enhancement of 8-bit image signals to 10-bit, 12-bit or above, while processing and enhancing the image quality, resolution specification conversion refers to the conversion of the signal resolution provided by the image signal source (such as a computer, a high-definition player box, a Blu-ray DVD, etc.) into the actual physical display resolution of the LED display, and scaling refers to scaling the image during the resolution specification conversion process so that the complete image is displayed on the screen.

[0061] The sending card 112 is an indispensable device of the LED control system 11 and needs to be used with the receiving card. The sending card 112 is connected to the video processor 111 and is used to process the video data transmitted by the video processor 111, obtain image information, and send the image information to the receiving card after packaging, wherein the image information is a serial data signal that can be recognized by the receiving card.

[0062] The sending card 112 is also responsible for receiving, processing or forwarding control commands set by the user on the host computer. The control commands can be for adjusting the brightness and color temperature of the LED screen, the layout parameters of the sending card 112, etc. The user's operation settings in the host computer software will connect and communicate with the sending card 112 through a 100M / 1000M LAN cable or a serial port cable.

[0063] The sending card 112 can be configured with various types of files such as upgrade files and configuration files, which are used to ensure that the sending card 112 can work properly. Figure 3 The sending card 112 is configured with an Android configuration file, an FPGA (Field Programmable Gate Array) storage information file, an EDID (Extended Display Identification Data) file, a configuration file, an Android upgrade file, an FPGA upgrade file, an HDMI (High Definition Multimedia Interface) upgrade file or an MCU (MicroController Unit) upgrade file, etc.

[0064] In some embodiments, the sending card 112 stores customized version information, which is a version number customized by the customer and different from the regular version. Under normal circumstances, a certain device version corresponds to only one set of final released software (upgrade file + configuration), but there may be another set of final released software for the supported customized version number. The device version consists of a device model and a hardware version number. The device model refers to different models of the same device type. For example, for the sending card, the 6-port sending card and the 8-port sending card are different models. The hardware version number consists of a PCB version number and main chip information. For the same type of device, when the PCB version or main chip information of the device is changed, the hardware version number will also change. For example, for the same 6-port sending card, when the PCB version or main chip information is different, the hardware version numbers of the two 6-port sending cards are also different.

[0065] It is understandable that when the LED control system 11 includes multiple sending cards 112, each sending card 112 may be different due to different device types or hardware version numbers. For example, see Figure 4 The LED control system 11 includes two sending cards 112, and the device versions are B_01 and B_02 respectively. Assuming that the two sending cards 112 are both 8-port sending cards, but the PCB version numbers or main chip information of the two sending cards 112 are different, the device versions of the two sending cards 112 are different.

[0066] The sending cards 112 with different device versions can store different customized version information. As mentioned above, the sending card 112 with a device version of B_01 and the sending card 112 with a device version of B_02 can store different customized version information.

[0067] For the sending cards 112 storing different customized version information, even if the files of the same file type are configured, the corresponding files are generally different. For example, the sending card 112 with the device version B_01 and the sending card 112 with the device version B_02 both include files of the file type of Android configuration files, but the two files are different. For two different files, the file names of the two files are also different, wherein the file name is used to uniquely identify the corresponding file.

[0068] The receiving card 113 is connected to the sending card 112 , and is used to receive the image information sent by the sending card 112 , and output a pulse signal according to the image information.

[0069] The receiving card 113 can be configured with various types of files, which are used to ensure that the receiving card 113 works properly. Figure 5 The receiving card 113 is configured with a connection relationship file, a receiving card upgrade file, a gamma table file or a chip parameter file, etc.

[0070] When the LED control system 11 includes multiple receiving cards 113, the device versions of different receiving cards 113 can be the same or different. For example, please continue to refer to Figure 4 The LED control system 11 includes four receiving cards 113 , and the device versions of the four receiving cards 113 are different from each other.

[0071] For the same type of receiving card, if the device version is different, even if the files of the same file type are configured, the corresponding files are generally different. For example, Figure 4 The four receiving cards 113 shown all include files of the chip parameter file type. Since the device versions of the four receiving cards 113 are different, although the file type of the chip parameter file of each receiving card 113 is the same, the files are not the same.

[0072] It is worth noting that when the same device matches different devices, even if the files are of the same file type, these files are not the same. For example, for the connection relationship file configured for the receiving card 113 with device version C_01, the connection relationship file when the receiving card 113 matches the sending card 112 with device version B_01 is different from the connection relationship file when the receiving card 112 matches the sending card 112 with device version B_02.

[0073] The light board 114 can be connected to the receiving card 113 by means of a flat cable or a direct plug, and is used to display images driven by a pulse signal sent by the receiving card 113. The flat cable refers to a data transmission cable used to connect different devices.

[0074] The light board 114 can be configured with various types of files, which are used to ensure that the light board 114 works properly. Figure 6 , the light board 114 is configured with a low gray correction file and a high gray correction file.

[0075] When the LED control system 11 includes a plurality of light boards 114, the device versions of different light boards 114 may be the same or different. For example, please continue to refer to Figure 4 The LED control system 11 includes 8 light boards 114, and the device versions of the 8 light boards 114 are different from each other.

[0076] For the same type of light board, if the device version is different, even if the files of the same file type are configured, the corresponding files are generally different. For example, Figure 4 The eight light boards 114 shown all include files of the file type of low gray correction file. Since the device versions of the eight light boards 114 are different, although the file type of the low gray correction file of each light board 114 is the same, the corresponding files are not the same.

[0077] When the same light board 114 matches different receiving cards 113, even if they are files of the same file type, these files are not the same. For example, for the high gray correction file configured for the light board 114 with device version D_01, the high gray correction file when the light board 114 matches the receiving card 113 with device version C_01 is different from the high gray correction file when the receiving card 113 matches the receiving card 113 with device version C_02.

[0078] It is understandable that in Figure 4 In the example, if each sending card 112 is configured with files of six file types, each sending card 112 matches two receiving cards 113 of different device versions, each receiving card 113 is configured with files of four file types, each receiving card 113 matches two different light boards 114, and each light board 114 is configured with files of two file types, then the number of files is 2*6*4*4*8*2=3072, and the 3072 files are all different.

[0079] In fact, there are relatively many devices that make up an LED control system 11, and there are also relatively many files configured for each device. Therefore, the number of files of an LED control system 11 is far more than 3072. When the LED control system 11 needs to be updated, maintenance personnel need to manually prepare the corresponding latest version files for the far more than 3072 files to be upgraded, and use these latest version files to upgrade each file to be upgraded. For the maintenance personnel, the workload is very large, and the upgrading process is complicated and cumbersome, resulting in high maintenance costs, great maintenance difficulty and low maintenance efficiency.

[0080] The main control 12 is respectively connected to the video processor 111 and the sending card 112 in communication, wherein the communication connection includes a wired connection and a wireless connection. The wired connection includes various communication connections such as network cables and serial cables that use tangible media such as metal wires and optical fibers to transmit information. The wireless connection includes any suitable wireless connection such as Bluetooth and wireless broadband (Wi-Fi).

[0081] The main control 12 may be a personal computer (PC), a mobile terminal or other electronic devices used for main control. The main control 12 serves as the control core of the file upgrade system 11 and is used to execute the file upgrade method described below.

[0082] See also Figure 7 , the file upgrade method provided by the embodiment of the present invention includes:

[0083] S71, obtaining a plurality of device combination information, each device combination information including device version information of each device that meets the combination condition;

[0084] In this step, the device version information is information for identifying the device version of each device, and the combination condition refers to the combination of each device in the LED control system 11 according to the adaptation relationship. For example, please continue to refer to Figure 3 , the video processor A_01, the sending card_B01, the receiving card C_01 and the light board D_01 are combined according to the adaptation relationship, then the above devices are the devices that meet the combination conditions, and accordingly, the device combination information of the group of devices includes A_01, B01, C_01 and D_01. For another example, the video processor A_01, the sending card_B02, the receiving card C_02 and the light board D_03 are combined according to the adaptation relationship, then the above devices are the devices that meet the combination conditions, and accordingly, the device combination information of the group of devices includes A_01, B02, C_02 and D_03.

[0085] The main control 12 can obtain the device version information of each device in any appropriate manner and obtain multiple device combination information according to the adaptation relationship of each device.

[0086] For example, when the main control 12 is connected to the video processor 111 and the sending card 112, the main control 12 can read the device version information of the video processor 111 and the sending card 112, and read the device version information of the receiving card 113 and the light board 114 layer by layer through the sending card 112 to obtain the device version information of all devices in the LED control system 11, and thus obtain multiple device combination information based on the device version information of these devices.

[0087] For another example, the device version information of all devices in the LED control system 11 is integrated into a QR code, and the main control 12 can read the device version information of all devices by scanning the code. Alternatively, each device in the LED control system 11 is accompanied by a QR code containing the device version information of the respective device, and the main control 12 reads the device version information of each device by scanning the code of each device one by one. The main control 12 obtains multiple device combination information based on the acquired device version information of all devices.

[0088] In some embodiments, multiple device combination information is shown in Table 1 below.

[0089] Table 1

[0090]

[0091]

[0092] Among them, the video processor version information is the device version information of the video processor 111, the sending card version information is the device version information of the sending card 112, the receiving card version information is the device version information of the receiving card 113, and the light board version information is the device version information of the light board 114.

[0093] It is understandable that the customized version information is stored on the sending card 112 , and when the main control 12 reads the device version information of the sending card 112 , the customized version information can be read together.

[0094] S72, searching for file name information of each file to be upgraded of each device in a preset database according to the version information of each device and the device combination information;

[0095] In this step, the file to be upgraded is the file configured by each device in the LED control system 11 that needs to be updated. The file to be upgraded can be a file that needs to be upgraded or a file that does not need to be upgraded. When the current version of the file to be upgraded is the latest version, the file to be upgraded is a file that does not need to be upgraded. When the current version of the file to be upgraded is not the latest version, the file to be upgraded is a file that needs to be upgraded. For example, the sending card 112 is configured with two files to be upgraded, namely an Android upgrade file and an FPGA upgrade file. When the current version of the Android upgrade file is the latest version, the Android upgrade file is a file that does not need to be upgraded. When the current version of the FPGA upgrade file is not the latest version, the FPGA upgrade file is a file that needs to be upgraded.

[0096] The file name information is used to uniquely identify the corresponding file to be upgraded. The main control 12 can use any search method to search for the file name information of each file to be upgraded of each device in the preset database according to the version information of each device and the device combination information.

[0097] In some embodiments, see Figure 8 , S72 includes:

[0098] S721. According to each device version information, search for a corresponding file configuration information list in a preset database, where the file configuration information list includes a file type identifier and indication information for each type of file, where the indication information is used to indicate the device version information and / or customized version information that each type of file depends on;

[0099] In this step, the file configuration information list refers to the information list pre-configured in the database for each type of file of each device in the LED control system 11. Since a device usually includes multiple types of files, the main control 12 can search the preset database for the file configuration information list corresponding to each type of file of the corresponding device according to the version information of each device. The file type identifier is used to identify the corresponding type of file. The file type identifier can be composed of any characters, for example, the characters are Arabic numerals, letters, punctuation marks, etc. For example, please refer to Table 2 below. The files configured for the receiving card C_01 include two types of files: chip parameter file and gamma table file. Among them, the file type identifier of the chip parameter file is "TOO1" and the file type identifier of the gamma table file is "T002".

[0100] Table 2

[0101] Table Description Table Type Example 1 Example 2 Device type identification String C_01 C_01 Device Type Name String Receiving Card Receiving Card File type information String T001 T002 File Type Name String Chip parameter file Gamma table file Whether it matches the sending card Boolean no yes Whether it matches the receiving card Boolean no no Is it compatible with the light board? Boolean yes no Whether it matches the video processor Boolean no no Whether to match customization Boolean yes yes

[0102] The indication information is used to indicate the device version information and / or customized version information that each type of file depends on. The device version information and / or customized version information that different types of files depend on can be the same or different. For example, as shown in Table 2 above, for the chip parameter file, the indication information indicates that the chip parameter file depends on the device version information and customized version information of the light board.

[0103] S722: According to the instruction information and in combination with the device combination information, the file name information of each file to be upgraded of each device is searched in a preset database.

[0104] In this step, the main control 12 can determine the device version information and / or customized version information that each file type information depends on in multiple device combination information based on the indication information, and search the preset database for the file name information of each file to be upgraded for each device based on each file type information and the dependent device version information and / or customized version information.

[0105] For example, as mentioned above, first, the main control 12 finds the device combination information including the receiving card C_01 in multiple device combination information according to the receiving card C_01 where the chip parameter file is located, taking "A_01, B_01, C_01, D_01 and ALED" as an example, then, the main control 12 determines that the chip parameter file depends on the device version information and customized version information of the lamp board 114 according to the indication information, and then, the main control 12 searches for the device version information D_01 and customized version information ALED of the lamp board 114 that the chip parameter file depends on according to the following Table 3, and finally, the main control 12 finds the file name information "ChipParamD01VLED.bin" in the preset database according to the file type identifier "TOO1", the device version information D_01 and the customized version information ALED of the chip parameter file, and the file name information is the file name information of the chip parameter file.

[0106] Table 3

[0107]

[0108] It is worth noting that when the main control 12 searches for the file name information based on the file type identifier, device version information and / or customized version information, combined with multiple device combination information, it may be possible that the file name information cannot be found or the file name information is empty. In this case, there is a possibility that the file corresponding to the file type identifier does not need to be configured separately. For example, the chip parameter file has been directly built into the upgrade file, so the chip parameter file does not need to be configured separately.

[0109] For each file name search combination (file type identifier + device version information and / or customized version information), the main control 12 searches for each file name based on multiple device combination information. When the file name information cannot be found, all search combinations that cannot find the file name information can be checked. In this way, it can effectively detect whether all devices have been adapted to avoid missing files to be upgraded for each device.

[0110] In some embodiments, the main control 12 can test all file name search combinations (including file name search combinations that can find file name information and file name search combinations that cannot find file name information) to avoid the problem of missing test file name search combinations.

[0111] It is understandable that although a device can be adapted to multiple other devices at the same time, a certain type of file in the device only depends on a specific device and not on other devices. At this time, in the preset database, if the device version information of the device that the type of file depends on is not configured, the preset database will store the file name information of multiple identical files.

[0112] It can also be understood that when the same file can be used by different devices at the same time, if the device version information of the device on which the file depends is not configured, the preset database will store file name information of multiple identical files.

[0113] Therefore, by configuring each type of file in the preset database according to the device version information and customized version information that each type of file depends on, it is possible to avoid storing duplicate file name information of multiple files in the preset database, and avoid finding duplicate file name information when searching for the file name information of each file to be upgraded of each device in the preset database. The same file only needs to be processed once, and there is no need to repeat the processing multiple times, so as to avoid repetitive work.

[0114] S73, generating a file name list according to the file name information;

[0115] In this step, the file name list is used to store the file name information of the files to be upgraded, and the main control 12 can use any generation method to generate the file name list.

[0116] In some embodiments, after the main control 12 finds the file name information of each file to be upgraded of each device, it can generate a file name list including all of these file name information. It can be understood that the file name list includes the file name information of files that need to be upgraded or the file name information of files that do not need to be upgraded.

[0117] In some embodiments, after the main control 12 finds the file name information of the files to be upgraded of all devices, it can first determine which files to be upgraded corresponding to the file name information are files to be upgraded that need to be upgraded, and which files to be upgraded corresponding to the file name information are files to be upgraded that do not need to be upgraded, among which the files to be upgraded that need to be upgraded are used as target upgrade files. After the main control 12 determines all target upgrade files, it can generate a file name list including all target upgrade files.

[0118] In some embodiments, the main control 12 obtains the latest version information of each file to be upgraded corresponding to each file name information, and obtains the current version information of each file to be upgraded of each device, determines the target upgrade file from each file to be upgraded based on the latest version information and the current version information, and generates a file name list including the file name information of each target upgrade file based on the file name information of each target upgrade file.

[0119] In some embodiments, when the main control 12 determines the target upgrade file from each file to be upgraded, it can determine whether the current version information of each file to be upgraded is consistent with the corresponding latest version information. If not, it determines that the file to be upgraded is the target upgrade file. If so, it determines that the file to be upgraded is not the target upgrade file.

[0120] For example, the file name list includes file name information 1 and file name information 2. For file name information 1, if the current version of the file to be upgraded corresponding to file name information 1 is consistent with the latest version of the file to be upgraded, it means that the file to be upgraded is not the target upgrade file and there is no need to upgrade the file to be upgraded. For file name information 2, if the current version of the file to be upgraded corresponding to file name information 2 is inconsistent with the latest version of the file to be upgraded, it means that the file to be upgraded is the target upgrade file and needs to be upgraded.

[0121] S74. Send the file name list to the server, so that the server returns an upgrade file list according to the file name list.

[0122] In this step, the upgrade file list is used to store the latest version files of the files to be upgraded.

[0123] In some embodiments, as described above, when the file name list is a file name list including file name information of each file to be upgraded of each device, correspondingly, the upgrade file list includes the latest version file of each file to be upgraded of each device.

[0124] The latest version file may be the same as the corresponding file to be upgraded, or may be different from the corresponding file to be upgraded. When the current version information of a file to be upgraded is consistent with the latest version information of the latest version file of the file to be upgraded, the latest version file is the same as the file to be upgraded. When the current version information of a file to be upgraded is inconsistent with the latest version information of the latest version file of the file to be upgraded, the latest version file is different from the file to be upgraded, and the latest version file is the file used to update the file to be upgraded.

[0125] It can be understood that after the main control 12 obtains the upgrade file list including the latest version of each file to be upgraded of each device, the upgrade file list can be stored in a preset storage location of the main control 12. Subsequently, when the files in the LED control system 11 are changed, the main control 12 can locally upgrade the files of the LED control system 11 without connecting to the server.

[0126] In some embodiments, as described above, when the file name list is a file name list that includes only target upgrade files, correspondingly, the upgrade file list includes the latest version file of each target upgrade file.

[0127] It can be understood that the main control 12 obtains the upgrade file list including the latest version file of the target upgrade file, and the amount of files obtained is small, the time is short, which is conducive to improving the upgrade efficiency.

[0128] After the master control 12 sends the file name list to the server, the server can obtain the latest version file corresponding to each file name information in the file name list, and generate an upgrade file list based on these latest version files and return it to the master control 12 so that the master control 12 can obtain the upgrade file list.

[0129] S75. After receiving the upgrade file list, control each device to upgrade the file to be upgraded according to the upgrade file list.

[0130] Therefore, this embodiment can be based on the combination of each device that meets the combination conditions and use the device version information of each device to find the file name list of each file to be upgraded of each device in the preset database, so as to obtain the upgrade file list corresponding to the file name list from the server, and then use the upgrade file list to control each device to upgrade the files to be upgraded. There is no need to manually prepare the corresponding upgrade file for each file to be upgraded, which is conducive to reducing maintenance costs and maintenance difficulties and improving maintenance efficiency.

[0131] In some embodiments, when the upgrade file list is an upgrade file list that includes the latest version file of each file to be upgraded of each device, after the main control 12 obtains the file list, the main control 12 uses the file list to control each device to upgrade the file to be upgraded. When the main control 12 processes the target file to be upgraded of the current device, it obtains the current version information of the target file to be upgraded. The target file to be upgraded is the file to be upgraded currently processed by the main control 12. Then, the main control 12 obtains the latest version information of the latest version file corresponding to the target file to be upgraded in the upgrade file list. Finally, the main control 12 controls the current device to upgrade the target file to be upgraded based on the current version information and the latest version information of the target file to be upgraded.

[0132] After the main control 12 has processed the files to be upgraded of each device, each file to be upgraded in each device that needs to be upgraded is upgraded.

[0133] In some embodiments, the main control 12 determines whether the current version information of the target upgrade file is consistent with the latest version information of the corresponding latest version file in the upgrade file list. If they are inconsistent, the main control 12 sends the latest version file to the current device to notify the current device to upgrade the target upgrade file according to the latest version file. If they are consistent, the main control 12 skips processing the target upgrade file and proceeds to process the next file to be upgraded. When the main control 12 processes the file to be upgraded, the file to be upgraded is the target upgrade file. At this time, the main control 12 returns to the step of obtaining the latest version information of the latest version file corresponding to the target file to be upgraded in the target upgrade file list, so as to control the current device to upgrade the target file to be upgraded.

[0134] In some embodiments, when the upgrade file list is an upgrade file list that includes the latest version file of each target upgrade file, since each latest version file in the upgrade file list is a file that needs to be used to update the corresponding target upgrade file, the master control 12 sends each latest version file in the upgrade file list to the corresponding device to notify the corresponding device to upgrade the corresponding target upgrade file according to the latest version file.

[0135] Therefore, this file upgrade method does not need to determine whether each to-be-upgraded file of each device is a file that needs to be upgraded, which can improve the upgrade efficiency.

[0136] It should be noted that, in each of the above-mentioned embodiments, there is not necessarily a certain order between the above-mentioned steps. A person skilled in the art can understand, based on the description of the embodiments of the present application, that in different embodiments, the above-mentioned steps may have different execution orders, that is, they may be executed in parallel, may be executed interchangeably, and so on.

[0137] The embodiment of the present invention provides a file upgrade device. Fig. 9 The file upgrade device 900 includes an acquisition module 91, a search module 92, a generation module 93, a sending module 94 and a control module 95.

[0138] The acquisition module 91 is used to obtain multiple device combination information, each device combination information includes device version information of each device that meets the combination conditions. The search module 92 is used to search for the file name information of each file to be upgraded of each device in a preset database based on each device version information and the device combination information. The generation module 93 is used to generate a file name list based on the file name information. The sending module 94 is used to send the file name list to the server so that the server returns an upgrade file list based on the file name list. The control module 95 is used to control each device to upgrade the file to be upgraded based on the upgrade file list after receiving the upgrade file list.

[0139] In some embodiments, see Fig.10 The search module 92 includes a first search unit 921 and a second search unit 922 .

[0140] The first search unit 921 is used to search for the corresponding file configuration information list in the preset database according to the version information of each device. The file configuration information list includes the file type identification and indication information of each type of file. The indication information is used to indicate the device version information and / or customized version information that each type of file depends on. The second search unit 922 is used to search for the file name information of each file to be upgraded of each device in the preset database according to the indication information and the device combination information.

[0141] In some embodiments, the second search unit 922 is specifically used to: determine the device version information and / or customized version information that each type of file depends on in multiple device combination information according to the indication information, and search for the file name information of each file to be upgraded for each device in the preset database according to the file type identification, device version information and / or customized version information.

[0142] In some embodiments, see Fig.11 The control module 95 includes a first acquisition unit 951 , a second acquisition unit 952 and a control unit 953 .

[0143] The first acquisition unit 951 is used to obtain the current version information of the target file to be upgraded of the device, the second acquisition unit 952 is used to obtain the latest version information of the latest version file corresponding to the target file to be upgraded, and the control unit 953 is used to control the device to upgrade the target file to be upgraded according to the current version information and the latest version information.

[0144] In some embodiments, see Fig.12 The generating module 93 includes a third acquiring unit 931 , a fourth acquiring unit 932 , a determining unit 933 and a generating unit 934 .

[0145] The third acquisition unit 931 is used to obtain the latest version information of each file to be upgraded corresponding to each file name information, the fourth acquisition unit 932 is used to obtain the current version information of each file to be upgraded of each device, the determination unit 933 is used to determine the target upgrade file from each file to be upgraded based on the latest version information and the current version information, and the generation unit 934 is used to generate a file name list based on the file name information of each target upgrade file, and the file name list includes the file name information of each target upgrade file.

[0146] In some embodiments, the determination unit 933 is specifically used to: determine whether the current version information of each file to be upgraded is consistent with the corresponding latest version information; if not, determine that the file to be upgraded is the target upgrade file; if so, determine that the file to be upgraded is not the target upgrade file.

[0147] It should be noted that the above file upgrade device can execute the file upgrade method provided in the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not fully described in the file upgrade device embodiment, please refer to the file upgrade method provided in the embodiment of the present invention.

[0148] An electronic device provided by an embodiment of the present invention, wherein the electronic device may be the master control 12 as described above, see Fig.13 The electronic device 1300 includes one or more processors 131 and a memory 132. Fig.13A processor 131 is taken as an example.

[0149] The processor 131 and the memory 132 may be connected via a bus or other means. Fig.13 The example of connecting through bus is taken in the following.

[0150] The memory 132 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the file upgrade method in the embodiment of the present invention. The processor 131 executes various functional applications and data processing of the file upgrade device by running the non-volatile software programs, instructions and modules stored in the memory 132, that is, realizes the file upgrade method provided in the above method embodiment and the functions of each module or unit in the above device embodiment.

[0151] The memory 132 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 132 may optionally include a memory remotely arranged relative to the processor 131, and these remote memories may be connected to the processor 131 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0152] The program instructions / modules are stored in the memory 132 , and when executed by the one or more processors 131 , the file upgrade method in any of the above method embodiments is executed.

[0153] An embodiment of the present invention further provides a non-volatile computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are executed by one or more processors, such as Fig.13 A processor 131 in the embodiment may enable the one or more processors to execute the file upgrade method in any of the above method embodiments.

[0154] An embodiment of the present invention further provides a computer program product, which includes a computer program stored on a non-volatile computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by an electronic device, the electronic device executes any one of the file upgrade methods described.

[0155] The above described device or equipment embodiments are merely illustrative, wherein the unit modules described as separate components may or may not be physically separated, and the components displayed as module units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network module units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0156] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0157] Finally, it should be noted that the present invention can be implemented in many different forms and is not limited to the embodiments described in this specification. These embodiments are not intended to be additional limitations on the content of the present invention. The purpose of providing these implementations is to make the understanding of the disclosure of the present invention more thorough and comprehensive. In addition, under the idea of ​​the present invention, the above-mentioned technical features continue to be combined with each other, and there are many other changes in different aspects of the present invention as described above, which are all considered to be within the scope of the present invention specification; further, for ordinary technicians in this field, they can be improved or transformed according to the above description, and all these improvements and transformations should belong to the scope of protection of the claims attached to the present invention.

Claims

1. A file upgrade method, applied to an LED control system, wherein the LED control system includes a plurality of devices, each of which includes a plurality of files to be upgraded, characterized in that: The file upgrade method comprises: Acquire multiple pieces of device combination information, each piece of device combination information including device version information of each device that meets a combination condition; According to the version information of each device and in combination with the device combination information, searching the preset database for the file name information of each file to be upgraded of each device; Generate a file name list according to the file name information; Sending the file name list to a server, so that the server returns an upgrade file list according to the file name list; After receiving the upgrade file list, each of the devices is controlled to upgrade the files to be upgraded according to the upgrade file list.

2. The method according to claim 1, characterized in that The device combination information also includes customized version information. The searching for file name information of each file to be upgraded of each device in a preset database based on each device version information and in combination with the device combination information includes: According to each device version information, a corresponding file configuration information list is searched in a preset database, wherein the file configuration information list includes a file type identifier and indication information of each type of file, wherein the indication information is used to indicate the device version information and / or customized version information that each type of file depends on; According to the indication information and in combination with the device combination information, the file name information of each file to be upgraded of each device is searched in a preset database.

3. The method according to claim 2, characterized in that The searching, according to the indication information and in combination with the device combination information, in a preset database for the file name information of each file to be upgraded of each device comprises: According to the indication information, determining the device version information and / or customized version information that each type of file depends on in the plurality of device combination information; According to the file type identifier, the device version information and / or the customized version information, the file name information of each file to be upgraded of each device is searched in a preset database.

4. The method according to any one of claims 1 to 3, characterized in that: The file name list includes the file name information of each file to be upgraded. Accordingly, the upgrade file list includes the latest version file of each file to be upgraded.

5. The method according to claim 4, characterized in that According to the upgrade file list, controlling each device to upgrade the file to be upgraded includes: Obtaining current version information of the target file to be upgraded of the device; Obtain the latest version information of the latest version file corresponding to the target file to be upgraded; According to the current version information and the latest version information, the device is controlled to upgrade the target file to be upgraded.

6. The method according to claim 5, characterized in that The controlling the device to upgrade the target file to be upgraded according to the current version information and the latest version information comprises: Determine whether the current version information is consistent with the latest version information; If not, sending the latest version file to the device, so that the device upgrades the target file to be upgraded according to the latest version file; If yes, return to the step of obtaining the current version information of the target file to be upgraded of the device.

7. The method according to any one of claims 1 to 3, characterized in that: Generating a file name list according to the file name information includes: Get the latest version information of each file to be upgraded corresponding to each file name information; Obtaining current version information of each file to be upgraded of each of the devices; Determine a target upgrade file from each file to be upgraded according to the latest version information and the current version information; A file name list is generated according to the file name information of each target upgrade file, wherein the file name list includes the file name information of each target upgrade file.

8. The method according to claim 7, characterized in that Determining a target upgrade file from each file to be upgraded according to the latest version information and the current version information includes: Determine whether the current version information of each file to be upgraded is consistent with the corresponding latest version information; If not, determining that the file to be upgraded is a target upgrade file; If so, it is determined that the file to be upgraded is not a target upgrade file.

9. The method according to claim 7, characterized in that: The upgrade file list includes the latest version file corresponding to each target upgrade file, and the controlling each device to upgrade the file to be upgraded according to the upgrade file list includes: The latest version file corresponding to each of the target upgrade files is sent to the corresponding device, so that the device upgrades each of the target upgrade files according to the latest version file.

10. An electronic device, characterized in that: include: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 9.