CN112114836A - File updating method, device and system, storage medium and display box - Google Patents
File updating method, device and system, storage medium and display box Download PDFInfo
- Publication number
- CN112114836A CN112114836A CN201910529083.6A CN201910529083A CN112114836A CN 112114836 A CN112114836 A CN 112114836A CN 201910529083 A CN201910529083 A CN 201910529083A CN 112114836 A CN112114836 A CN 112114836A
- Authority
- CN
- China
- Prior art keywords
- file
- version information
- configuration parameter
- program file
- updated
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000015654 memory Effects 0.000 claims abstract description 177
- 238000004590 computer program Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 8
- 238000012423 maintenance Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a file updating method, a file updating device, a file updating system, a storage medium and a display box body. The file updating method comprises the following steps: after the power is on, loading a program file and a configuration parameter file of a local memory to a programmable logic device, and acquiring version information of the program file and the configuration parameter file of the local memory as first version information; reading version information of a program file and a configuration parameter file in a non-local memory as second version information; judging whether the second version information is consistent with the first version information; and when the second version information is inconsistent with the first version information, replacing the program file and the configuration parameter file of the local memory with the program file and the configuration parameter file in the non-local memory, and loading the replaced program file and the replaced configuration parameter file in the local memory to the programmable logic device. The embodiment of the invention can realize the automatic loading and updating of the program file and the configuration parameter file after the display control card is replaced.
Description
Technical Field
The present invention relates to the field of display control technologies, and in particular, to a file updating method, a file updating apparatus, a file updating system, a storage medium, and a display box.
Background
When some applications of the display screen, such as a display box, require replacement of a display control card, a problem may occur that a program or a parameter of the newly replaced display control card is inconsistent with a program or a parameter of an original display control card. The current processing method mainly needs to reconnect the computer to reload and update the program file and/or the configuration parameter file and the like for the newly replaced display control card so as to ensure that the display effect of the newly replaced display control card is consistent with that of the original display control card. Obviously, the method has higher dependence on the management of a computer, a program file, a configuration parameter file and the like, and the display box is inconvenient to maintain.
Disclosure of Invention
The embodiment of the invention provides a file updating method, a file updating device, a file updating system, a storage medium and a display box body, so as to realize automatic loading and updating of a program file and a configuration parameter file after a display control card is replaced, and solve the problems of high dependence on computers and the like and inconvenient maintenance of the display box body in the prior art.
In one aspect, a file updating method provided in an embodiment of the present invention is suitable for being applied to a display control card, where the display control card includes a programmable logic device and a local memory, and the file updating method includes: after the power is on, loading a program file and a configuration parameter file of the local memory to the programmable logic device, and acquiring version information of the program file and the configuration parameter file of the local memory as first version information; reading version information of a program file and a configuration parameter file in a non-local memory as second version information; judging whether the second version information is consistent with the first version information; and when the second version information is inconsistent with the first version information, replacing the program file and the configuration parameter file of the local memory with the program file and the configuration parameter file in the non-local memory, and loading the replaced program file and the replaced configuration parameter file in the local memory to the programmable logic device.
In an embodiment of the present invention, the file updating method further includes: receiving a program file to be updated transmitted by the programmable logic device; acquiring version information of the program file to be updated; judging whether the version information of the program file to be updated is consistent with the version information of the program file in the non-local memory corresponding to the second version information; and when the version information of the program file to be updated is inconsistent with the version information of the program file in the non-local memory corresponding to the second version information, replacing the program file in the non-local memory with the received program file to be updated.
In an embodiment of the present invention, the file updating method further includes: receiving a configuration parameter file to be updated transmitted by the programmable logic device; acquiring version information of the configuration parameter file to be updated; judging whether the version information of the configuration parameter file to be updated is consistent with the version information of the configuration parameter file to be updated in the non-local memory corresponding to the second version information; and when the version information of the configuration parameter file to be updated is inconsistent with the version information of the configuration parameter file in the non-local memory corresponding to the second version information, replacing the configuration parameter file in the non-local memory with the received configuration parameter file to be updated.
On the other hand, a file updating apparatus provided in an embodiment of the present invention includes: the file loading module is used for loading a program file and a configuration parameter file of a local memory to a programmable logic device after being electrified, and acquiring version information of the program file and the configuration parameter file of the local memory as first version information; the first reading module is used for reading the version information of the program file and the configuration parameter file in the non-local memory as second version information; the first judging module is used for judging whether the second version information is consistent with the first version information; and a first updating module, configured to, when the second version information is inconsistent with the first version information, replace the program file and the configuration parameter file in the local memory with the program file and the configuration parameter file in the non-local memory, and load the program file and the configuration parameter file, which are replaced in the local memory, to the programmable logic device.
In an embodiment of the present invention, the file updating apparatus further includes: the first receiving module is used for receiving the program file to be updated transmitted by the programmable logic device; the first acquisition module is used for acquiring the version information of the program file to be updated; the second judging module is used for judging whether the version information of the program file to be updated is consistent with the version information of the program file in the non-local storage corresponding to the second version information; and the second updating module is used for replacing the program file in the non-local memory with the received program file to be updated when the version information of the program file to be updated is inconsistent with the version information of the program file in the non-local memory corresponding to the second version information.
In an embodiment of the present invention, the file updating apparatus further includes: the second receiving module is used for receiving the configuration parameter file to be updated, which is transmitted by the programmable logic device; the second acquisition module is used for acquiring the version information of the configuration parameter file to be updated; a third judging module, configured to judge whether version information of the to-be-updated configuration parameter file is consistent with version information of the to-be-configured parameter file in the non-local storage corresponding to the second version information; and a third updating module, configured to replace the configuration parameter file in the non-local storage with the received configuration parameter file to be updated when the version information of the configuration parameter file to be updated is inconsistent with the version information of the configuration parameter file in the non-local storage corresponding to the second version information.
In another aspect, an embodiment of the present invention provides a file update system, including: a memory and a processor connected to the memory, the memory storing a computer program, the processor executing the computer program to perform a file update method as described above.
In another aspect, an embodiment of the present invention provides a storage medium, which is a non-volatile memory and stores computer-executable instructions, where the computer-executable instructions are used to execute the file updating method as described above.
In another aspect, an embodiment of the present invention provides a display box, including: the display control card comprises a programmable logic device, a first nonvolatile memory and a microcontroller connected with the programmable logic device and the first nonvolatile memory; the display module is connected with the display control card and comprises a second nonvolatile memory; wherein the microcontroller is configured to load the program file and the configuration parameter file of the first nonvolatile memory to the programmable logic device after being powered on, acquire version information of the program file and the configuration parameter file of the first nonvolatile memory as first version information, read version information of the program file and the configuration parameter file in the second nonvolatile memory as second version information, and determine whether the second version information is consistent with the first version information, and when the second version information is inconsistent with the first version information, replacing the program file and the configuration parameter file in the first nonvolatile memory with the program file and the configuration parameter file in the second nonvolatile memory, and loading the replaced program file and the replaced configuration parameter file in the first nonvolatile memory to the programmable logic device.
In an embodiment of the invention, the display module includes a display lamp panel, the display lamp panel is connected to the display control card, and the second nonvolatile memory is located on the display lamp panel and connected to the microcontroller on the display control card.
In an embodiment of the present invention, the display module further includes an adapter board and a display lamp panel connected to the adapter board, the display lamp panel is connected to the display control card through the adapter board, and the second nonvolatile memory is connected to the microcontroller of the display control card.
One or more of the above technical solutions may have the following advantages or beneficial effects: embodiments of the present invention store the program files and configuration parameter files on the non-local memory attached to the display control card, comparing the version information of the loaded program file and the configuration parameter file of the display control card with the version information of the stored program file and the configuration parameter file in the non-local memory, and automatically loading the program file and the configuration parameter file on the display control card according to the judgment result, namely, automatically loading the program file and the configuration parameter file on the newly replaced display control card without any external operation and without depending on a computer, the program file and the configuration parameter file on the newly replaced display control card are consistent with the program file and the configuration parameter file on the original display control card, so that the normal display of the image is ensured, and the problems of high dependence on computers and the like and inconvenient maintenance of the display box body in the prior art are solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a file updating method according to a first embodiment of the present invention.
Fig. 2 is a flowchart illustrating another file updating method according to a first embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a file updating apparatus according to a second embodiment of the present invention.
Fig. 4 is a schematic structural diagram of another file updating apparatus according to a second embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a file updating system according to a third embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a storage medium according to a fourth embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a display box according to a fifth embodiment of the present invention.
Fig. 8 is a schematic structural diagram of another display box provided in a fifth embodiment of the present invention.
Fig. 9 is a schematic structural diagram of another display box according to a fifth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
[ first embodiment ] A method for manufacturing a semiconductor device
As shown in fig. 1, a file updating method according to a first embodiment of the present invention is suitable for being applied to a display control card, such as a receiving card. The display control card is used for carrying a display module, such as an LED display module. Typically, the display control card includes a programmable logic device, a local memory (the memory of the display control card itself), and a microcontroller connecting the programmable logic device and the local memory. The Programmable logic device may be, for example, an FPGA (Field Programmable Gate Array). The local Memory may be, for example, a non-volatile Memory such as a Flash Memory. The display control card is installed on the back of a display module, such as an LED display module, for example. Specifically, the file updating method provided by the embodiment of the present invention includes, for example, the steps of:
s11: after the power is on, loading a program file and a configuration parameter file of the local memory to the programmable logic device, and acquiring version information of the program file and the configuration parameter file of the local memory as first version information;
s13: reading version information of a program file and a configuration parameter file in a non-local memory as second version information;
s15: judging whether the second version information is consistent with the first version information; and
s17: when the second version information is inconsistent with the first version information, replacing the program file and the configuration parameter file of the local memory with the program file and the configuration parameter file in the non-local memory, and loading the replaced program file and the replaced configuration parameter file in the local memory to the programmable logic device.
In order to facilitate understanding of the present invention, each step of the file updating method of the present embodiment will be described in detail below.
Firstly, after power-on and start-up, the microcontroller of the display control card loads the program file and the configuration parameter file of the local memory to the programmable logic device to complete the FPGA program loading and the parameter configuration of the display control card. In addition, the microcontroller also acquires version information of the program file and version information of the configuration parameter file on the local memory as the first version information.
Secondly, the microcontroller of the display control card reads the version information of the program file and the configuration parameter file in the non-local memory as second version information. It should be noted that the non-local memory herein is a non-volatile memory on the display control card, and the non-local memory is a non-volatile memory outside the display control card, such as a flash memory, with respect to the local memory. For example, the non-local memory may be located on a patch panel (HUB panel) connected to the display control card, or on a display light panel connected to the display control card, or on a transmitter card, or on an internet cloud server, etc. Program files and configuration parameter files are also stored on the non-local memory. The program files and configuration parameter files stored in the non-local memory may or may not be the same as the program files and configuration parameter files stored in the local memory.
Then, the microcontroller judges whether the second version information is consistent with the first version information. Specifically, when the version information of the program file in the local storage is consistent with the version information of the program file in the non-local storage, and the version information of the configuration parameter file in the local storage is consistent with the version information of the configuration parameter file in the non-local storage, the second version information is consistent with the first version information, otherwise, the second version information is inconsistent with the first version information.
Finally, when the second version information is inconsistent with the first version information, the microcontroller replaces the program file and the configuration parameter file of the local memory with the program file and the configuration parameter file in the non-local memory, and loads the replaced program file and the replaced configuration parameter file in the local memory to the programmable logic device.
Therefore, the embodiment of the invention determines whether the program file and the configuration parameter file loaded by the display control card are consistent with the program file and the configuration parameter file stored on the non-local memory outside the display control card through the consistency judgment of the first version information and the second version information; when the first version information is inconsistent with the second version information, the display control card is possibly replaced, and the program file and the configuration parameter file stored on the non-local memory outside the display control card are read back to the replaced new display control card, so that the program file and the configuration parameter file on the replaced display control card and the original display control card are ensured to be identical under the conditions of no need of any external operation and no need of depending on a computer, the version information of the program file and the configuration parameter file on the replaced display control card and the original display control card is kept consistent, and the normal display of the image is ensured.
In addition, as shown in fig. 2, the file updating method provided in the embodiment of the present invention further includes:
s31: receiving a program file to be updated transmitted by the programmable logic device;
s33: acquiring version information of the program file to be updated;
s35: judging whether the version information of the program file to be updated is consistent with the version information of the program file in the non-local memory corresponding to the second version information; and
s37: and when the version information of the program file to be updated is inconsistent with the version information of the program file in the non-local memory corresponding to the second version information, replacing the program file in the non-local memory with the received program file to be updated.
Specifically, when the program file on the display control card needs to be updated, the user sends the program file to be updated to the display control card. The microcontroller of the display control card receives the program file to be updated transmitted by the programmable logic device and stores the program file to be updated into the local memory, acquires the version information of the program file to be updated, judges whether the version information of the program file to be updated is consistent with the version information of the program file in the corresponding non-local memory in the second version information, and replaces the program file in the non-local memory with the received program file to be updated when the version information of the program file to be updated is inconsistent with the version information of the program file in the corresponding non-local memory in the second version information so as to ensure that the program file in the non-local memory is consistent with the updated program file of the display control card.
Furthermore, as shown in fig. 3, the file updating method provided in the embodiment of the present invention further includes:
s51: receiving a configuration parameter file to be updated transmitted by the programmable logic device;
s53: acquiring version information of the configuration parameter file to be updated;
s55: judging whether the version information of the configuration parameter file to be updated is consistent with the version information of the configuration parameter file to be updated in the non-local memory corresponding to the second version information; and
s57: when the version information of the configuration parameter file to be updated is inconsistent with the version information of the configuration parameter file in the non-local memory corresponding to the second version information, replacing the configuration parameter file in the non-local memory with the received configuration parameter file to be updated.
Specifically, when the configuration parameter file on the display control card needs to be updated, the user sends the configuration parameter file to be updated to the display control card. The microcontroller of the display control card receives the configuration parameter file to be updated transmitted by the programmable logic device and stores the configuration parameter file to be updated into the local memory, the version information of the configuration parameter file to be updated is obtained, whether the version information of the configuration parameter file to be updated is consistent with the version information of the configuration parameter file in the corresponding non-local memory in the second version information is judged, and when the version information of the configuration parameter file to be updated is inconsistent with the version information of the configuration parameter file in the corresponding non-local memory in the second version information, the configuration parameter file in the non-local memory is replaced by the received configuration parameter file to be updated, so that the configuration parameter file in the non-local memory is ensured to be consistent with the configuration parameter file updated by the display control card.
In summary, in the embodiments of the present invention, the program file and the configuration parameter file are stored in the non-local memory connected to the display control card, and the consistency between the version information of the program file and the configuration parameter file loaded by the display control card and the version information of the program file and the configuration parameter file stored in the non-local memory is compared, and the program file and the configuration parameter file on the display control card are automatically loaded according to the determination result, that is, the newly replaced display control card automatically updates the loaded program file and the configuration parameter file without performing any external operation or depending on a computer, so that the maintenance is convenient, the program file and the configuration parameter file on the newly replaced display control card are consistent with the program file and the configuration parameter file on the original display control card, and the normal display of the image is ensured. In addition, when the program file or the configuration parameter file on the display control card needs to be updated, the microcontroller of the display control card ensures that the program file or the configuration parameter file in the non-local memory is consistent with the program file or the configuration parameter file updated by the display control card by receiving the program file or the configuration parameter file to be updated, acquiring the version information of the program file or the configuration parameter file, judging whether the version information of the program file or the configuration parameter file is consistent with the version information of the corresponding program file or the corresponding configuration parameter file in the non-local memory, and replacing the program file or the configuration parameter file in the non-local memory with the received program file or the configuration parameter file to be updated when the version information is inconsistent. Therefore, the maintenance convenience of the on-site display box body of the user can be improved, the automatic maintenance is realized, and the issuing and updating operation of the program file and the configuration parameter file is not required to be carried out through a computer again. In addition, in the aspect of program design, whether the display control card is replaced or not can be directly judged by judging the version information of the program file and the configuration parameter file of the display control card, the additional increase of the ID information of the lamp panel is not needed, and the judgment accuracy is improved.
[ second embodiment ]
As shown in fig. 3, a second embodiment of the present invention provides a file updating apparatus 100. The file updating apparatus 100 includes, for example: the file updating system comprises a file loading module 110, a first reading module 130, a first judging module 150 and a first updating module 170.
The file loading module 110 is configured to load a program file and a configuration parameter file of the local memory to the programmable logic device after power-on, and acquire version information of the program file and the configuration parameter file of the local memory as first version information.
The first reading module 130 is configured to read version information of the program file and the configuration parameter file in the non-local storage as second version information.
The first determining module 150 is configured to determine whether the second version information is consistent with the first version information.
A first updating module 170, configured to, when the second version information is inconsistent with the first version information, replace the program file and the configuration parameter file in the local memory with the program file and the configuration parameter file in the non-local memory, and load the replaced program file and the replaced configuration parameter file in the local memory to the programmable logic device.
In addition, as shown in fig. 4, the file updating apparatus 100 further includes:
a first receiving module 210, configured to receive a program file to be updated, where the program file is transmitted via the programmable logic device;
a first obtaining module 230, configured to obtain version information of the program file to be updated;
a second determining module 250, configured to determine whether version information of the program file to be updated is consistent with version information of the program file in the non-local storage corresponding to the second version information; and
a second updating module 270, configured to replace the program file in the non-local storage with the received program file to be updated when the version information of the program file to be updated is inconsistent with the version information of the program file in the non-local storage corresponding to the second version information.
Further, as shown in fig. 4, the file updating apparatus 100 further includes:
a second receiving module 310, configured to receive the configuration parameter file to be updated, which is transmitted via the programmable logic device;
a second obtaining module 330, configured to obtain version information of the configuration parameter file to be updated;
a third determining module 350, configured to determine whether version information of the to-be-updated configuration parameter file is consistent with version information of the to-be-configured parameter file in the non-local storage corresponding to the second version information; and
a third updating module 370, configured to replace the configuration parameter file in the non-local storage with the received configuration parameter file to be updated when the version information of the configuration parameter file to be updated is inconsistent with the version information of the configuration parameter file in the non-local storage in the second version information.
The specific operation and technical effects of the modules in the file updating apparatus 100 in this embodiment are described in the foregoing first embodiment.
[ third embodiment ]
As shown in FIG. 5, a third embodiment of the present invention provides a file update system 400. File update system 400 includes a memory 410 and a processor 430 coupled to memory 410. The memory 410 may be, for example, a non-volatile memory, on which the computer program 411 is stored. The processor 430 may be, for example, an embedded processor. The processor 430 executes the computer program 411 to execute the file update method in the first embodiment described above.
The specific operation and technical effects of the file updating system 400 in this embodiment are described in the foregoing first embodiment.
[ fourth example ] A
As shown in fig. 6, a storage medium 500 is provided according to a fourth embodiment of the present invention. The storage medium 500 is a nonvolatile memory, which is, for example: magnetic media (e.g., hard disks, floppy disks, and magnetic tape), optical media (e.g., CDROM disks and DVDs), magneto-optical media (e.g., optical disks), and hardware devices specially constructed for storing and executing computer-executable instructions (e.g., Read Only Memories (ROMs), Random Access Memories (RAMs), flash memories, etc.). The storage medium 500 has stored thereon computer-executable instructions 510. The storage medium 500 may execute the computer-executable instructions 510 by one or more processors or processing devices to implement the file update method in the foregoing first embodiment.
[ fifth embodiment ]
Referring to fig. 7, a schematic structural diagram of a display case 700 according to a fifth embodiment of the present invention is provided. As shown in fig. 7, the display cabinet 700 is, for example, an LED display cabinet. The display box 700 includes, for example, a display control card 710 and a display module 730. The display module 730 is connected to the display control card 710. Display control card 710 is, for example, a receiving card.
Specifically, display control card 710 includes non-volatile memory 711, programmable logic device 713, and microcontroller 715. The microcontroller 715 is connected between the non-volatile memory 711 and the programmable logic device 713.
The nonvolatile Memory 711 is, for example, a Flash Memory (Flash Memory). The non-volatile memory 711 stores a program file 1 and a configuration parameter file 1 for loading to the programmable logic device 713 after the microcontroller 715 is powered on.
The programmable logic device 713 is, for example, an FPGA, and is mainly used to process the image data received from the sending card and send the processed image data to the display module 730 for display. In addition, when the display control card 710 needs to update the program file and/or the configuration parameter file, the programmable logic device 713 is configured to receive the program file to be updated and/or the configuration parameter file to be updated, which are transmitted from the sending card.
The microcontroller 715 is, for example, a single chip Microcomputer (MCU), and is mainly used to control a power supply, detect some temperature, humidity, voltage, and alarm functions.
The display module 730 includes a non-volatile memory 731. The nonvolatile memory 731 stores a program file 2 and a configuration parameter file 2.
Wherein, the microcontroller 715 is configured to load the program file 1 and the configuration parameter file 1 of the nonvolatile memory 711 to the programmable logic device 713 after being powered on, acquire version information of the program file 1 and the configuration parameter file 1 of the nonvolatile memory 711 as first version information, read version information of the program file 2 and the configuration parameter file 2 in the nonvolatile memory 731 as second version information, determine whether the second version information is consistent with the first version information, and when the second version information is inconsistent with the first version information, replacing the program file 1 and the configuration parameter file 1 in the nonvolatile memory 711 with the program file 2 and the configuration parameter file 2 in the nonvolatile memory 731, and loading the replaced program file 2 and configuration parameter file 2 in the nonvolatile memory 711 to the programmable logic device 713 to complete the FPGA program loading and the configuration of the relevant parameters.
Therefore, after the display control card is replaced, the newly replaced display control card automatically loads the program file and the configuration parameter file without any external operation and without depending on a computer, so that the program file and the configuration parameter file on the newly replaced display control card are consistent with the program file and the configuration parameter file on the original display control card, and normal display of images is ensured.
Thereafter, when the program file 1 on the display control card 710 needs to be updated, the user sends the program file to be updated to the display control card 710. The microcontroller 715 of the display control card 710 receives the to-be-updated program file transmitted by the programmable logic device 713, acquires version information of the to-be-updated program file, determines whether the version information of the to-be-updated program file is consistent with the version information of the program file 2 in the corresponding nonvolatile memory 731 in the second version information, and replaces the program file 2 in the nonvolatile memory 731 with the received to-be-updated program file when the version information of the to-be-updated program file is inconsistent with the version information of the program file 2 in the corresponding nonvolatile memory 731 in the second version information. In addition, the micro-controller 715 replaces the program file 1 in the non-volatile memory 711 with a program file to be updated for loading at the next power-on start, so as to ensure that the program file 2 in the non-volatile memory 731 is consistent with the program file loaded at the next time by the display control card 710.
Furthermore, when the configuration parameter file 1 on the display control card 710 needs to be updated, the user sends the configuration parameter file to be updated to the display control card 710. The microcontroller 715 of the display control card 710 receives the to-be-updated configuration parameter file transmitted by the programmable logic device 713, acquires version information of the to-be-updated configuration parameter file, determines whether the version information of the to-be-updated configuration parameter file is consistent with the version information of the configuration parameter file 2 in the corresponding nonvolatile memory 731 in the second version information, and replaces the configuration parameter file 2 in the nonvolatile memory 731 with the received to-be-updated configuration parameter file when the version information of the to-be-updated configuration parameter file is inconsistent with the version information of the configuration parameter file 2 in the corresponding nonvolatile memory 731 in the second version information. In addition, the micro-controller 715 replaces the configuration parameter file 1 in the non-volatile memory 711 with a configuration parameter file to be updated for loading at the next power-on start, so as to ensure that the configuration parameter file 2 in the non-volatile memory 731 is consistent with the configuration parameter file loaded by the display control card 710 at the next time.
It should be noted that the nonvolatile memory 731 herein can also be disposed on a sending card connected to the display control card 710, or on an internet cloud server connected to the display control card 710 through a wired network or a wireless network, so as to implement similar functions.
Further, as shown in fig. 8, the display module 730 further includes a display lamp panel 733. The display lamp panel 733 is, for example, an LED display lamp panel, and is loaded and lit by the display control card 710. The display lamp panel 733 is connected to the programmable logic device 713 of the display control card 710 to obtain and display image data processed by the programmable logic device 713. The non-volatile memory 731 is located on the display lamp panel 733 and connected to the microcontroller 715 of the display control card 710. The number of the display lamp panels 733 may be plural. When display control card 710 carries multiple display lamp panels 733, program file 2 and configuration parameter file 2 are stored in nonvolatile memory 731 in each display lamp panel 733.
In other embodiments of the present invention, the display module 730 further includes an adapter plate 735 and a display lamp panel 733 connected to the adapter plate 735. The display lamp panel 733 is connected to the programmable logic device 713 of the display control card 710 through the adapter board 735, so as to obtain and display the image data processed by the programmable logic device 713. The nonvolatile memory 731 is connected to the microcontroller 715 of the display control card 710. Therefore, the hardware design can ensure short communication distance between the nonvolatile memory 731 and the display control card 710, high communication speed and high communication stability, and the reliability of the finished product is improved. In addition, when the display control card 710 carries a plurality of display lamp panels 733, this structure also avoids the situation that one non-volatile memory 731 is required to be arranged on each of the plurality of display lamp panels 733, and the cost of the product is also reduced.
In summary, in the embodiments of the present invention, the program file and the configuration parameter file are stored in the nonvolatile memory connected to the display control card, and the consistency between the version information of the loaded program file and the loaded configuration parameter file of the display control card and the version information of the stored program file and the stored configuration parameter file in the nonvolatile memory of the display module is compared, and the program file and the configuration parameter file on the display control card are automatically loaded according to the determination result, that is, the newly replaced display control card is enabled to automatically load the program file and the configuration parameter file without performing any external operation or depending on a computer, so that the maintenance is convenient, the program file and the configuration parameter file on the newly replaced display control card are enabled to be consistent with the program file and the configuration parameter file on the original display control card, and the normal display of the image is ensured. In addition, when the program file or the configuration parameter file on the display control card needs to be updated, the microcontroller of the display control card ensures that the program file or the configuration parameter file in the non-local memory is consistent with the program file or the configuration parameter file updated by the display control card by receiving the program file or the configuration parameter file to be updated, acquiring the version information of the program file or the configuration parameter file, judging whether the version information of the program file or the configuration parameter file is consistent with the version information of the corresponding program file or the corresponding configuration parameter file in the non-local memory, and replacing the program file or the configuration parameter file in the non-local memory with the received program file or the configuration parameter file to be updated when the version information is inconsistent. Therefore, the maintenance convenience of the on-site display box body of the user can be improved, the automatic maintenance is realized, and the issuing and updating operation of the program file and the configuration parameter file is not required to be carried out through a computer again. In addition, in the aspect of program design, whether the display control card is replaced or not can be directly judged by judging the version information of the program file and the configuration parameter file of the display control card, the additional increase of the ID information of the lamp panel is not needed, and the judgment accuracy is improved.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of one logic function, and an actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may also be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (11)
1. A file updating method is suitable for being applied to a display control card, wherein the display control card comprises a programmable logic device and a local memory, and the file updating method comprises the following steps:
after the power is on, loading a program file and a configuration parameter file of the local memory to the programmable logic device, and acquiring version information of the program file and the configuration parameter file of the local memory as first version information;
reading version information of a program file and a configuration parameter file in a non-local memory as second version information;
judging whether the second version information is consistent with the first version information; and
and when the second version information is judged to be inconsistent with the first version information, replacing the program file and the configuration parameter file of the local memory with the program file and the configuration parameter file in the non-local memory, and loading the replaced program file and the replaced configuration parameter file in the local memory to the programmable logic device.
2. The file updating method according to claim 1, further comprising:
receiving a program file to be updated transmitted by the programmable logic device;
acquiring version information of the program file to be updated;
judging whether the version information of the program file to be updated is consistent with the version information of the program file in the non-local memory corresponding to the second version information; and
and when the version information of the program file to be updated is inconsistent with the version information of the program file in the non-local memory corresponding to the second version information, replacing the program file in the non-local memory with the received program file to be updated.
3. The file updating method according to claim 1, further comprising:
receiving a configuration parameter file to be updated transmitted by the programmable logic device;
acquiring version information of the configuration parameter file to be updated;
judging whether the version information of the configuration parameter file to be updated is consistent with the version information of the configuration parameter file to be updated in the non-local memory corresponding to the second version information; and
when the version information of the configuration parameter file to be updated is inconsistent with the version information of the configuration parameter file in the non-local memory corresponding to the second version information, replacing the configuration parameter file in the non-local memory with the received configuration parameter file to be updated.
4. A file update apparatus, comprising:
the file loading module is used for loading a program file and a configuration parameter file of a local memory to a programmable logic device after being electrified, and acquiring version information of the program file and the configuration parameter file of the local memory as first version information;
the first reading module is used for reading the version information of the program file and the configuration parameter file in the non-local memory as second version information;
the first judging module is used for judging whether the second version information is consistent with the first version information; and
a first updating module, configured to, when the second version information is inconsistent with the first version information, replace the program file and the configuration parameter file in the local memory with the program file and the configuration parameter file in the non-local memory, and load the program file and the configuration parameter file, which are replaced in the local memory, to the programmable logic device.
5. The file updating apparatus according to claim 4, wherein the file updating apparatus further comprises:
the first receiving module is used for receiving the program file to be updated transmitted by the programmable logic device;
the first acquisition module is used for acquiring the version information of the program file to be updated;
the second judging module is used for judging whether the version information of the program file to be updated is consistent with the version information of the program file in the non-local storage corresponding to the second version information; and
and the second updating module is used for replacing the program file in the non-local storage with the received program file to be updated when the version information of the program file to be updated is inconsistent with the version information of the program file in the non-local storage corresponding to the second version information.
6. The file updating apparatus according to claim 4, wherein the file updating apparatus further comprises:
the second receiving module is used for receiving the configuration parameter file to be updated, which is transmitted by the programmable logic device;
the second acquisition module is used for acquiring the version information of the configuration parameter file to be updated;
a third judging module, configured to judge whether version information of the to-be-updated configuration parameter file is consistent with version information of the to-be-configured parameter file in the non-local storage corresponding to the second version information; and
a third updating module, configured to replace the configuration parameter file in the non-local storage with the received configuration parameter file to be updated when the version information of the configuration parameter file to be updated is inconsistent with the version information of the configuration parameter file in the non-local storage corresponding to the second version information.
7. A file update system, comprising: a memory and a processor connected to the memory, the memory storing a computer program, the processor executing the computer program to perform the file update method according to any one of claims 1 to 3.
8. A storage medium which is a non-volatile memory and stores computer-executable instructions for performing the file update method of any one of claims 1 to 3.
9. A display cabinet, comprising:
the display control card comprises a programmable logic device, a first nonvolatile memory and a microcontroller connected with the programmable logic device and the first nonvolatile memory;
the display module is connected with the display control card and comprises a second nonvolatile memory;
wherein the microcontroller is configured to load the program file and the configuration parameter file of the first nonvolatile memory to the programmable logic device after being powered on, acquire version information of the program file and the configuration parameter file of the first nonvolatile memory as first version information, read version information of the program file and the configuration parameter file in the second nonvolatile memory as second version information, and determine whether the second version information is consistent with the first version information, and when the second version information is inconsistent with the first version information, replacing the program file and the configuration parameter file in the first nonvolatile memory with the program file and the configuration parameter file in the second nonvolatile memory, and loading the replaced program file and the replaced configuration parameter file in the first nonvolatile memory to the programmable logic device.
10. The display box body of claim 9, wherein the display module comprises a display lamp panel, the display lamp panel is connected with the display control card, and the second nonvolatile memory is located on the display lamp panel and connected with the microcontroller on the display control card.
11. The display box body of claim 9, wherein the display module further comprises an adapter plate and a display lamp panel connected with the adapter plate, the display lamp panel is connected with the display control card through the adapter plate, and the second nonvolatile memory is connected with the microcontroller of the display control card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910529083.6A CN112114836A (en) | 2019-06-19 | 2019-06-19 | File updating method, device and system, storage medium and display box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910529083.6A CN112114836A (en) | 2019-06-19 | 2019-06-19 | File updating method, device and system, storage medium and display box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112114836A true CN112114836A (en) | 2020-12-22 |
Family
ID=73795214
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910529083.6A Pending CN112114836A (en) | 2019-06-19 | 2019-06-19 | File updating method, device and system, storage medium and display box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112114836A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113377583A (en) * | 2021-06-30 | 2021-09-10 | 西安诺瓦星云科技股份有限公司 | Display screen controller backup method, device and system |
CN113470565A (en) * | 2021-06-17 | 2021-10-01 | 西安诺瓦星云科技股份有限公司 | Display box configuration method, device and system and display screen controller |
CN116069676A (en) * | 2023-04-07 | 2023-05-05 | 中国空气动力研究与发展中心计算空气动力研究所 | Version comparison method, device, terminal equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101853172A (en) * | 2010-05-24 | 2010-10-06 | 中兴通讯股份有限公司 | Device and method for dynamically upgrading complex programmable logic device (CPLD) |
US20140371533A1 (en) * | 2012-04-11 | 2014-12-18 | Olympus Corporation | Endoscope device and endoscope system |
CN105261329A (en) * | 2015-11-26 | 2016-01-20 | 西安诺瓦电子科技有限公司 | Multi-LED display module management method |
US20160328229A1 (en) * | 2015-05-04 | 2016-11-10 | American Megatrends, Inc. | System and method of online firmware update for baseboard management controller (bmc) devices |
WO2016188344A1 (en) * | 2015-05-28 | 2016-12-01 | 武汉精测电子技术股份有限公司 | Soft processor-based image signal source and method for processing image signal |
CN107391112A (en) * | 2017-06-23 | 2017-11-24 | 江苏艾科半导体有限公司 | A kind of FileVersion detection method and its special purpose device |
CN107977217A (en) * | 2017-11-22 | 2018-05-01 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | The method of on-line loaded XILINX-FPGA multi versions more new procedures |
CN108845824A (en) * | 2018-07-10 | 2018-11-20 | 平安科技(深圳)有限公司 | Using update method and device and computer readable storage medium |
-
2019
- 2019-06-19 CN CN201910529083.6A patent/CN112114836A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101853172A (en) * | 2010-05-24 | 2010-10-06 | 中兴通讯股份有限公司 | Device and method for dynamically upgrading complex programmable logic device (CPLD) |
US20140371533A1 (en) * | 2012-04-11 | 2014-12-18 | Olympus Corporation | Endoscope device and endoscope system |
US20160328229A1 (en) * | 2015-05-04 | 2016-11-10 | American Megatrends, Inc. | System and method of online firmware update for baseboard management controller (bmc) devices |
WO2016188344A1 (en) * | 2015-05-28 | 2016-12-01 | 武汉精测电子技术股份有限公司 | Soft processor-based image signal source and method for processing image signal |
CN105261329A (en) * | 2015-11-26 | 2016-01-20 | 西安诺瓦电子科技有限公司 | Multi-LED display module management method |
CN107391112A (en) * | 2017-06-23 | 2017-11-24 | 江苏艾科半导体有限公司 | A kind of FileVersion detection method and its special purpose device |
CN107977217A (en) * | 2017-11-22 | 2018-05-01 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | The method of on-line loaded XILINX-FPGA multi versions more new procedures |
CN108845824A (en) * | 2018-07-10 | 2018-11-20 | 平安科技(深圳)有限公司 | Using update method and device and computer readable storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113470565A (en) * | 2021-06-17 | 2021-10-01 | 西安诺瓦星云科技股份有限公司 | Display box configuration method, device and system and display screen controller |
CN113377583A (en) * | 2021-06-30 | 2021-09-10 | 西安诺瓦星云科技股份有限公司 | Display screen controller backup method, device and system |
CN116069676A (en) * | 2023-04-07 | 2023-05-05 | 中国空气动力研究与发展中心计算空气动力研究所 | Version comparison method, device, terminal equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021253854A1 (en) | Method and apparatus for remotely updating firmware in batches, and computer-readable storage medium | |
CN112114836A (en) | File updating method, device and system, storage medium and display box | |
US9710284B1 (en) | System for programmably configuring a motherboard | |
US8640118B2 (en) | Managing firmware on a system board | |
US8423991B2 (en) | Embedded network device and firmware upgrading method | |
US10860425B2 (en) | Method for recovering basic input/output system image file of a computer system and the computer system | |
US20120060151A1 (en) | System and method for updating firmware | |
CN107133033B (en) | Customized server LOGO updating method | |
CN103593281A (en) | Test system and test method | |
US10387306B2 (en) | Systems and methods for prognosticating likelihood of successful save operation in persistent memory | |
CN110837387A (en) | Portable power source leasing system, automatic revenue collecting system and updating method thereof | |
US11100228B2 (en) | System and method to recover FPGA firmware over a sideband interface | |
US11340882B2 (en) | Systems and methods for enforcing update policies while applying updates from bootable image file | |
WO2020192669A1 (en) | Gas meter intelligent controller and firmware upgrade start-up method therefor | |
CN111708577A (en) | Method and equipment for self-adapting processor model and VR parameter | |
US20230126538A1 (en) | Component tracking for information handling systems | |
CN115129345A (en) | Firmware upgrading method, device, equipment and storage medium | |
US11934841B2 (en) | System and method for managing a power supply management namespace during a chassis boot up | |
US20230127223A1 (en) | Physical port validation for information handling systems | |
US11423180B2 (en) | Secure identification of components installed in information handling systems | |
US20220207125A1 (en) | Secure data collection for validation of installed components of information handling systems | |
US11810062B2 (en) | Validating secure modifications to information handling systems | |
CN114253573A (en) | PCIe device firmware batch upgrading method, system, terminal and storage medium | |
CN102184721B (en) | Daughter board with two stages of field programmable gate array (FPGA) chips and large-screen control system | |
CN109684134B (en) | Method and server for rapidly deploying firmware settings among multiple devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201222 |