CN113467857B - FPGA system based on user customization, firmware generation method and display device - Google Patents
FPGA system based on user customization, firmware generation method and display device Download PDFInfo
- Publication number
- CN113467857B CN113467857B CN202110814454.2A CN202110814454A CN113467857B CN 113467857 B CN113467857 B CN 113467857B CN 202110814454 A CN202110814454 A CN 202110814454A CN 113467857 B CN113467857 B CN 113467857B
- Authority
- CN
- China
- Prior art keywords
- identification information
- customized
- file
- firmware
- target
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000004891 communication Methods 0.000 claims description 7
- 238000012423 maintenance Methods 0.000 abstract description 7
- 230000006870 function Effects 0.000 description 13
- 238000012795 verification Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 238000011161 development Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000006978 adaptation Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000001681 protective effect Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- 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/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1407—General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/37—Compiler construction; Parser generation
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses an FPGA system based on user customization, a firmware generation method and display equipment, wherein the system comprises a server and a display device connected with the server; wherein: the server comprises a receiving and transmitting component, a compiling component and an authentication component; the receiving and transmitting component is used for receiving the user identification information and the configuration file sent by the display device; the authentication component is used for matching the user identification information with preset customized identification information, determining target customized identification information and acquiring a firmware source program file corresponding to the target customized identification information; the compiling component is used for compiling the configuration file and the firmware source program file acquired by the authentication component, and automatically generating a customized firmware file. The invention can quickly identify the customized firmware file of the correct receiving card, realize that the screen configuration data is not lost, reduce unnecessary maintenance, simplify operation, ensure the safety of the customized firmware file and improve customer satisfaction.
Description
The present application is based on the chinese patent application with application number 202021754597.6 and application date 2020, 8 and 20, and claims priority from the chinese patent application, the entire contents of which are incorporated herein by reference.
Technical Field
The invention relates to the field of LED display, in particular to an FPGA system based on user customization, a firmware generation method and display equipment.
Background
As a novel display technology, an LED display screen (LIGHT EMITTING Diode) is increasingly favored by users due to the advantages of energy saving, environmental protection, high efficiency and the like.
In the LED display system, the receiving card is responsible for correctly driving the LED array to complete the display operation of the related information after receiving the display/control data from the front-end transmitting card.
To meet the needs of diversification and component standardization of LED display systems, the receiver card hardware is generally composed of FPGA (Field Programmable GATE ARRAY ) programmable logic and an external nonvolatile memory unit. When the LED display screen normally displays, the FPGA in the receiving card needs to read the configuration file and the firmware program at the same time, the existing configuration file and the firmware program are separated, the firmware program is stored in an EEPROM (ELECTRICALLY ERASABLE PROGRAMMABLE READ ONLY MEMORY, charged erasable programmable read-only memory) of the FPGA, the configuration file is firstly erased from a RAM (Random Access Memory ) of the FPGA by the FPGA after the receiving card is electrified, then the configuration file is read from the outside and written in, and if the configuration file is not written in timely, the LED screen can display abnormality.
In the traditional scheme, the receiving card firmware file is updated through software, whether the updated firmware file is the correct receiving card firmware file cannot be identified, and whether the receiving card firmware file is correct can be checked only by lighting a screen body after the updating is successful, so that the situation that the function is not adapted and cannot be applied after the updating is caused by the fact that the correct receiving card firmware file in the updated firmware file of the same type of card cannot be identified on the site of a client. Moreover, there is a risk of data corruption from unauthorized operations, reducing customer satisfaction while creating unnecessary after-market service requirements.
Disclosure of Invention
In view of this, the FPGA system, the firmware generating method and the display device provided by the embodiments of the present invention can quickly identify the customized firmware file of the correct receiving card, so that the screen configuration data is not lost, the function adaptation after the screen is updated is normal, unnecessary maintenance is reduced, the operation is simple, less time is consumed, the security of the customized firmware file is ensured, unnecessary after-sales service requirements are avoided, and customer satisfaction is improved.
The technical scheme adopted by the invention for solving the technical problems is as follows:
according to a first aspect of an embodiment of the present invention, there is provided a user-customized FPGA system, including a server and a display device connected to the server; wherein:
the server comprises a receiving and transmitting component, a compiling component and an authentication component;
The receiving and transmitting assembly is in communication connection with the display device and is used for receiving the user identification information and the configuration file sent by the display device;
the authentication component is respectively connected with the receiving and transmitting component and the compiling component and is used for matching the user identification information with preset customized identification information, determining target customized identification information and acquiring a target firmware source program file corresponding to the target customized identification information based on the target customized identification information;
The compiling component is connected with the receiving and transmitting component and is used for compiling the configuration file sent by the receiving and transmitting component and the target firmware source program file acquired by the authentication component, automatically generating a customized firmware file and sending the customized firmware file to the display device for upgrading configuration through the receiving and transmitting component.
According to a second aspect of an embodiment of the present invention, there is provided a firmware generation method applied to the system described in the first aspect, the method including the steps of:
the server receives user identification information and a configuration file sent by the display device;
The server matches the user identification information with preset customized identification information, determines target customized identification information, and obtains a target firmware source program file corresponding to the target customized identification information based on the target customized identification information;
and the server compiles the configuration file and the target firmware source program file, automatically generates a customized firmware file and sends the customized firmware file to the display device for upgrading configuration.
According to a third aspect of embodiments of the present invention, there is provided a display device,
The display device is connected with the server and comprises a screen body, and the screen body is provided with a receiving card; wherein the server is a server in the system according to the first aspect;
the screen body receives user identification information input by a user and acquires a configuration file;
The screen body sends the user identification information and the configuration file to a server in communication connection with the screen body;
The screen body acquires a firmware file matched with the user identification information from a server; wherein the firmware file comprises one of a custom firmware file and a general firmware file, and the custom firmware file comprises the configuration file;
And if the fixed file is a customized firmware file, the screen body updates the customized firmware file into the FPGA of the receiving card.
Compared with the related art, the FPGA system based on user customization, the firmware generation method and the display equipment provided by the embodiment of the invention comprise a server and a display device connected with the server; wherein: the receiving and transmitting component receives user identification information and configuration files sent by the display device, the authentication component matches the user identification information with preset customized identification information, determines target customized identification information, acquires a firmware source program file corresponding to the target customized identification information, and compiles the configuration files sent by the receiving and transmitting component and the firmware source program file acquired by the authentication component to automatically generate customized firmware files for customers to package and shipment after the screen body is upgraded after the customized firmware files are downloaded on line without subsequent adjustment of the customized firmware files. Therefore, the customized firmware file of the correct receiving card can be quickly identified, the screen configuration data is not lost, the function adaptation is normal after the screen is upgraded, unnecessary maintenance is reduced, the operation is simple, the time consumption is less, and the safety of the customized firmware file is ensured. The method can solve the problems that whether the receiving card firmware file is correctly received or not can not be identified by software upgrading in the traditional scheme, and only the screen can be lightened to check whether the user customized firmware file of the receiving card is correctly received or not after the upgrading is successful, so that the function is not adapted and can not be applied after the upgrading of the card of the same type is not recognized due to the fact that the correctly customized firmware file of the card of the same type is not correctly upgraded.
Drawings
Fig. 1 is a schematic structural diagram of an FPGA system customized based on a user according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of an authentication component in an FPGA system based on user customization according to an embodiment of the present invention.
Fig. 3 is a flowchart of a firmware generation method according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a display device according to an embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
In order to make the technical problems, technical schemes and beneficial effects to be solved more clear and obvious, the invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the particular embodiments described herein are illustrative only and are not limiting upon the invention.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
FPGA (Field Programmable GATE ARRAY ), which is a product of further development on the basis of programmable devices such as PAL, GAL, EPLD. The FPGA is flexible to use, the available resources in the FPGA are rich, and the same FPGA can generate different circuit functions through different designs. FPGAs are widely used in many fields such as communications, data processing, networking, instrumentation, industrial control, LEDs, military, and aerospace.
In one embodiment, as shown in fig. 1, the present invention provides a FPGA system customized based on a user, where the system includes a server 10 and a display device 20 connected to the server, and the display device 20 is configured to receive user identification information input by the user and send the user identification information and a configuration file corresponding to the display device 20 to the server connected to the display device 20. In some embodiments, the display devices 20 may be display apparatuses with display screens, and each display device 20 corresponds to a configuration file. The configuration file (i.e. hardware configuration file) at least comprises an FPGA model, a chip signal, a lamp panel diagram, a lamp panel parameter, a chip register parameter and a display parameter table, i.e. a Gamma table. Thus, the same type of display device typically corresponds to the same profile. Wherein:
The server 10 comprises a transceiver component 11, a compiling component 12 and an authentication component 13;
the transceiver component 11 is in communication connection with the display device 20, and is configured to receive user identification information and a configuration file sent by the display device 20;
The authentication component 13 is respectively connected with the transceiver component 11 and the compiling component 12, and is used for matching the user identification information with preset customized identification information, determining target customized identification information, and obtaining a firmware source program file corresponding to the target customized identification information;
The compiling component 12 is connected with the transceiver component 11, and is used for compiling the configuration file sent by the transceiver component and the firmware source program file acquired by the authentication component 13, and automatically generating a customized firmware file; the customized firmware file may be downloaded and updated by a display device into an FPGA of a receiving card communicatively coupled to the display device.
It should be noted that, the firmware files stored in the server are divided into a general firmware file and a customized firmware file, and the general firmware file is used for loading a standard program and is identified and determined by general identification information. And the custom firmware file cannot be reversed to generate a generic firmware file. The customized firmware file is used for loading the customized program and is determined by specific customized identification information, wherein the standard program can be upgraded into the customized program, and the customized program cannot be reversely returned into the standard program.
In this embodiment, compared with the conventional method, the authentication component and the compiling component are added to the server to authenticate and identify the user identification information input by the user, and the user identification information is selectively compiled, so that different upgrades are performed by selecting the firmware file corresponding to the user identification information, and the updating of the standard firmware file can be performed only when the authorization verification is passed, thereby ensuring the data security. The authentication component matches the user identification information received by the receiving and transmitting component with preset customized identification information, determines target customized identification information, acquires a firmware source program file corresponding to the target customized identification information, and the compiling component compiles the configuration file sent by the receiving and transmitting component and the firmware source program file acquired by the authentication component to automatically generate a customized firmware file, so that a customer can package and shipment after finishing upgrading the customized firmware file after downloading on line, and the customized firmware file is not required to be adjusted subsequently. Therefore, the customized firmware file of the correct receiving card can be quickly identified, the screen configuration data is not lost, the function adaptation is normal after the screen is upgraded, unnecessary maintenance is reduced, the operation is simple, the time consumption is less, and the safety of the customized firmware file is ensured. The method can solve the problems that whether the receiving card firmware file is correctly received or not can not be identified by software upgrading in the traditional scheme, and only the screen can be lightened to check whether the user customized firmware file of the receiving card is correctly received or not after the upgrading is successful, so that the function is not adapted and can not be applied after the upgrading of the card of the same type is not recognized due to the fact that the correctly customized firmware file of the card of the same type is not correctly upgraded.
Preferably, the connection between the server 10 and the display device 20 may be performed by a wired network, a wireless network, or a mobile communication network, and the transceiver component 11 of the server 10 may receive the user ID and the configuration file sent by the display device 20 through any one of the above connection methods, or may download the compiled customized firmware file onto the display device 20 according to the download request of the display device 20 through any one of the above connection methods. Similarly, the general firmware file corresponding to the user identification information stored directly in the server 10 may be downloaded to the display device 20 according to the download request of the display device 20 by any of the above connection methods.
Preferably, the user identification information includes a user ID and the custom identification information includes a custom ID, wherein the custom ID is used to uniquely identify the display device 20, that is, the display device 20 may be uniquely determined by the custom ID.
In the embodiment of the application, the user identification information is used for distinguishing whether the firmware file version of the FPGA of the product is a firmware file of a standard (factory) version or a firmware file of a customized version, wherein the firmware file of the standard version can be upgraded into the firmware file of the customized version, but the firmware file of the customized version cannot be reversely returned into the firmware file of the standard version.
The configuration file includes the following contents: the FPGA model, the light panel map, the light panel parameters, the chip register parameters, and the display parameter table, i.e., the Gamma table, are not limiting. As long as the obtained configuration file can meet the configuration file required by the upgrade of the display device.
The configuration file is a configuration file formed by user configuration information passing through a screen experience verification test in the display device 20, and the screen body can work normally under the condition that the firmware files are matched through the configuration file.
In one embodiment, as shown in fig. 2, the authentication component 13 includes an authentication unit 131 and an acquisition unit 132.
The authentication unit 131 is configured to obtain a preset custom identification information base, match the received user identification information with each custom identification information in the custom identification information base, and determine target custom identification information according to a matching result.
The authentication unit 131 is specifically configured to include:
Judging whether the received user identification information is the same as the customized identification information;
If the customized identification information is the same as the user identification information, determining that the display device is subjected to upgrading configuration in a customized firmware file mode, and generating an instruction of a customized firmware file to the compiling component, wherein the customized identification information is used as target customized identification information;
If all the customized identification information is different from the user identification information, continuing to judge whether the user identification information is the universal identification information or not;
if the user identification information is the universal identification information, determining that the display device is updated and configured in a universal firmware file mode;
if the user identification information is not the universal identification information, the user identification information is illegal information and error prompt is carried out.
That is, verifying whether the user identification information is preset customized identification information; judging whether the user identification information and the custom firmware file are the same, if not, the user identification information is not verified, and the user identification information is not preset custom identification information, and the display device 20 cannot adopt the custom firmware file for upgrading and cannot load the custom program; if yes, the user identification information passes the verification, which indicates that the user identification information is preset customized identification information, and the display device 20 may use the customized firmware file to perform upgrade configuration, and at this time, the customized identification information matched with the user identification information is taken as target customized identification information.
Note that, the authentication unit 131 in the above embodiment further ensures data security by adopting two judgment operations.
In another embodiment, the difference between the authentication unit 131 and the above embodiment is that the data security is improved by only one judgment operation, that is, when the authentication unit 131 judges that the received user identification information is different from all the customized identification information, the judgment of the common identification information is not performed, and it is directly determined that the display device 20 is configured in a common firmware upgrade mode, so that compiling processing is not required, FPGA processing in the update receiving card is not required, operation is simplified, and processing speed is improved.
The obtaining unit 132 is configured to obtain a target firmware source program file corresponding to the target customization identification information according to a preset correspondence between the customization identification information and the firmware source program file and the target customization identification information, and send the target firmware source program file to the compiling component.
The obtaining unit 132 is further configured to directly obtain a general firmware file that matches the user identification information if the user identification information is general identification information, without performing compiling processing, and send the general firmware file to the display device 20 through the transceiver component.
In the embodiment of the present application, the display device 20 adopts an upgrade mode that is divided into a general firmware file upgrade and a custom firmware file upgrade, and the general firmware file upgrade satisfies most of display device upgrades, so as to further improve data security, improve yield, reduce rework, improve user experience, and upgrade an original firmware source program file into a custom firmware file only through authentication verification.
In this embodiment, the authentication component verifies whether the user identification information received by the transceiver component is preset customized identification information, so that security can be improved, the risk of data damage caused by unauthorized operation can be avoided, and customer satisfaction is reduced while unnecessary after-sale service requirements are generated.
Next, after receiving the configuration file and the prompt for verification, the compiling component 12 is specifically configured to:
Updating the identification information in the target firmware source program file to target customized identification information; the identification information is a user ID, i.e. version number information.
And compiling the configuration file and the updated target firmware source program file to generate a customized firmware file.
In this embodiment, since the configuration information in the configuration file of the receiving card is written into the RAM and/or the register in the FPGA and the like, when the server compiles the firmware source program file, the configuration initial value after powering on the receiving card can be determined through the configuration file, after receiving the uploaded configuration file, the information of the configuration file of the receiving card is packaged and integrated into the corresponding project configuration file, then the compiling work of the firmware source program file is performed through the FPGA, the custom firmware file containing the configuration information of the configuration file is generated, and the user ID stored in the custom firmware file is changed to be the custom ID, and the custom firmware file can be downloaded by the user through the internet after being generated. The FPGA development tool provides relevant development technologies such as logic locking, user reconfiguration and the like, and can effectively ensure the integrity and the safety of the customized firmware file generated by the invention.
After the compiling component 12 generates the customized firmware file, the customized firmware file and the target customized identification information are also stored in association. In this way, when the user inputs the same user identification information again, the server recognizes that the customized firmware file corresponding to the user identification information is already stored in the database through the association relationship, so that compiling processing is not required again, and the stored customized firmware file is directly acquired and sent to the display device 20 for upgrading configuration.
The FPGA firmware source program file of the core is stored in the manufacturer server, and is protected from illegal intrusion and acquisition by authorized protective measures such as hardware firewall, user authentication and the like, so that the maximum flexibility of the customized firmware file configurable by the user is provided while the core intellectual property of the LED control system manufacturer is effectively ensured.
In order to better understand the technical scheme of the application, century application scene description of the FPGA system customized by a user is exemplified, and the method comprises the following steps:
The field engineer inputs a user ID into the LED display screen through a computer to log in the server, and uploads a configuration file to the server. The server receives the user ID and the configuration file sent by the display device through the receiving and transmitting component. The authentication component verifies whether the user ID received by the receiving and transmitting component is a preset customized ID, if the user ID passes the verification, a firmware source program file corresponding to the preset customized ID is obtained from a preset firmware source program file library, the compiling component automatically loads a customized program, and the configuration file sent by the receiving and transmitting component and the firmware source program file obtained by the authentication component are compiled to automatically generate a customized firmware file. The field engineer downloads the customized firmware file containing the configuration file information of the receiving card from the server through the display device, and updates the customized firmware file to the nonvolatile storage space of the FPGA in the receiving card by using the firmware upgrading program. Before the upgrade operation is performed, the firmware upgrade program checks the user ID of the existing firmware of the receiving card, and performs the following operations: and verifying whether the user ID is the preset customized ID, if so, upgrading the customized firmware file, and if not, upgrading the universal firmware file without executing the customized firmware file. The security of the firmware file is ensured by such a comparison operation. And after the screen body customized firmware file is updated, the screen body customized firmware file can be packaged and shipped without subsequent adjustment.
In one embodiment, as shown in fig. 3, the present invention provides a firmware generating method, which is applied to the above FPGA system based on user customization, and the method includes:
s1, a server receives user identification information and a configuration file sent by a display device;
S2, the server matches the user identification information with preset customized identification information, determines target customized identification information, and obtains a target firmware source program file corresponding to the target customized identification information based on the target customized identification information;
s3, the server compiles the configuration file and the target firmware source program file, automatically generates a customized firmware file and sends the customized firmware file to the display device for upgrading configuration.
In this embodiment, the server receives the user identification information and the configuration file sent by the display device, matches the user identification information with preset customized identification information, determines target customized identification information, obtains a firmware source program file corresponding to the target customized identification information, compiles the configuration file and the obtained firmware source program file, automatically generates a customized firmware file, and allows a customer to package and shipment after the screen body is upgraded after online downloading, without subsequent adjustment of the customized firmware file. Therefore, the customized firmware file of the correct receiving card can be quickly identified, the screen configuration data is not lost, the function adaptation is normal after the screen is upgraded, unnecessary maintenance is reduced, the operation is simple, the time consumption is less, and the safety of the customized firmware file is ensured. The method can solve the problems that whether the receiving card firmware file is correctly received or not can not be identified by software upgrading in the traditional scheme, and only the screen can be lightened to check whether the user customized firmware file of the receiving card is correctly received or not after the upgrading is successful, so that the function is not adapted and can not be applied after the upgrading of the card of the same type is not recognized due to the fact that the correctly customized firmware file of the card of the same type is not correctly upgraded.
Preferably, the user identification information includes a user ID, and the customized identification information includes a customized ID.
The user identification information is used for distinguishing whether the FPGA firmware file version of the product is a standard (factory) version firmware file or a customized version firmware file, wherein the standard version firmware file can be upgraded into the customized version firmware file, but the customized version firmware file cannot be reversely returned into the standard version firmware file.
Preferably, the configuration file at least includes the following: FPGA model, lamp panel tracing diagram, lamp panel parameters, chip register parameters and Gamma table.
The configuration file is formed by user configuration information passing the on-screen experience verification test, and the screen body can work normally under the condition that the firmware files are matched through the configuration file.
In one embodiment, in the step S2, the server matches the user identification information with preset customized identification information, determines target customized identification information, and obtains a target firmware source program file corresponding to the target customized identification information based on the target customized identification information, where the target firmware source program file specifically includes:
s201, acquiring a preset customized identification information base stored by a server; the customized identification information base comprises a plurality of customized identification information;
S202, traversing the user identification information and each piece of customized identification information, and judging whether the user identification information is identical to a certain piece of customized identification information;
s203, if the customized identification information is the same as the user identification information, the customized identification information is used as target customized identification information;
S204, acquiring a target firmware source program file corresponding to the target customization identification information according to the corresponding relation between the preset customization identification information and the firmware source program file and the target customization identification information.
In the embodiment of the application, the user identification information is a user ID. The customization identification information is a customization ID. The custom ID is stored in the server in advance, and once the input user ID is the same as the stored custom ID, the firmware source program file and the configuration file need to be compiled to generate the custom firmware file, so that the custom firmware file mode is upgraded.
S205, if the user identification information is different from the preset customized identification information, judging whether the user identification information is universal identification information or not;
S206, if the user identification information is the universal identification information, directly acquiring a universal firmware file corresponding to the universal identification information in the server without compiling.
In the embodiment of the application, if the input user ID is different from the stored customized ID, the user ID is judged to be the universal ID, and the universal firmware file mode can only be adopted for upgrading, namely, the compiling processing is not needed, and the universal firmware file corresponding to the universal ID stored by the server is directly acquired to upgrade the universal firmware file mode.
Therefore, by verifying whether the user identification information is preset customized identification information, the security can be improved, the risk of data damage caused by unauthorized operation can be avoided, and the customer satisfaction is reduced while unnecessary after-sale service requirements are generated.
In this embodiment, since the configuration information in the configuration file of the receiving card is written into the readable and writable unit such as RAM and/or a register in the FPGA, when the on-line generating device of the server compiles the firmware source program file, the configuration initial value of the receiving card after powering on can be determined through the configuration file, after receiving the uploaded configuration file, the information of the configuration file of the receiving card is packaged and integrated into the corresponding project configuration file, and then compiling the FPGA firmware source program file is performed, so as to generate a customized firmware file containing the configuration information of the configuration file, and at the same time, the user ID stored in the customized firmware file is changed to be the customized ID, and after the customized firmware file is generated, the user can download the customized firmware file through the internet. The FPGA development tool provides relevant development technologies such as logic locking, user reconfiguration and the like, and can effectively ensure the robustness (namely the integrity and the safety) of the customized firmware file generated by the FPGA development tool.
The FPGA firmware source program file of the core is stored in the manufacturer server, and is protected from illegal intrusion and acquisition by authorized protective measures such as hardware firewall, user authentication and the like, so that the maximum flexibility of the customized firmware file configurable by the user is provided while the core intellectual property of the LED control system manufacturer is effectively ensured.
In this embodiment, the server receives the user ID and the configuration file sent by the display device, and after verification of the user ID, the user ID can automatically and correctly match with the corresponding firmware source program file, and automatically compiles the customized firmware file of the receiving card containing the configuration file information, so that the client can package and shipment after finishing upgrading the customized firmware file on the screen after downloading on line, and the customized firmware file does not need to be adjusted subsequently. The method is completely compatible with the existing screen hardware system, and the hardware design is not required to be changed; the standardization and usability and the universality of the existing product are maintained; the screen configuration data is not lost, and unnecessary maintenance is reduced; the multilevel management for authorizing the user to use can be realized in an expanded manner; because updating firmware information is only completed through specific authorized software and is usually completed by authorized service personnel, the updating operation has higher safety relatively, the data damage risk caused by unauthorized operation is avoided, unnecessary after-sales service requirements are avoided, and customer satisfaction is improved. The method can solve the problems that the traditional scheme can not identify the correct receiving card customized firmware file through software upgrading, and only can lighten a screen to detect whether the user customized firmware file of the receiving card is correct or not after the upgrading is successful, so that the function is not adapted and can not be applied after the upgrading of the card of the same type is not identified due to the fact that the correct customized firmware file of the card is not identified on the site of a customer; and the problem of the damage of the configuration data caused by unauthorized operation can be solved.
In one embodiment, as shown in fig. 4, the present invention provides a display device, where the display device is connected to a server, and the server is the server 10 in the system, where the display device includes a screen body 100 and a receiving card 300; wherein:
the screen 100 receives user identification information input by a user and acquires a configuration file;
The screen 100 sends the user identification information and the configuration file to a server in communication connection with the screen;
The screen 100 obtains a firmware file matched with the user identification information from a server; wherein the firmware file comprises one of a custom firmware file and a general firmware file, and the custom firmware file comprises the configuration file;
If the fixed file is a customized firmware file, the screen 100 updates the customized firmware file to the FPGA of the receiving card 300.
In this embodiment, the client only needs to connect the display device to the network, and sends the user identification information and the configuration file to the server through the display device of the display device, so that the user identification information and the configuration file can be downloaded to the customized firmware file matched with the receiving card, and the screen body can be packaged and delivered after the user customized firmware is upgraded, so that the customized firmware file does not need to be adjusted subsequently. The customized firmware file is generated by automatically and correctly matching corresponding firmware source program files according to user identification information and configuration files by the server and automatically compiling information containing the configuration files. The operation is simple, the time consumption is less, and the security of the customized firmware file is ensured. The method can solve the problems that the traditional scheme can upgrade the received card firmware file through software, and can not identify the correct received card firmware file, so that the function is not adapted after upgrade and can not be applied.
Preferably, the screen 100 is communicatively connectable to a plurality of the receiver cards 300.
Preferably, the connection between the display device and the server may be performed through a wired network, a wireless network, or a mobile communication network, and the display device may send the user ID and the configuration file to the server through any one of the above connection methods, or may download the compiled customized firmware file onto the display device through a download request from the server 1 through any one of the above connection methods.
Preferably, the user identification information includes a user ID, and the customized identification information includes a customized ID.
The user identification information is used for distinguishing whether the FPGA firmware file version of the product is a firmware file of a standard (factory) version or a firmware file of a customized version, wherein the firmware file program of the standard version can be upgraded into the firmware file of the customized version, but the firmware file of the customized version cannot be reversely backed into the firmware file of the standard version.
Preferably, the configuration file includes at least one of the following contents: FPGA model, lamp panel tracing diagram, lamp panel parameters, chip register parameters and Gamma table.
The screen 100 obtains, from a server, a firmware file that matches the user identification information, where the firmware file specifically includes:
The screen 100 recognizes that the user identification information is customized identification information through the server, and the screen 100 acquires a customized firmware file matched with the user identification information;
and the screen 100 recognizes that the user identification information is the universal identification information through the server, and then the screen acquires the universal firmware file matched with the user identification information.
The screen 100 recognizes that the user identification information is illegal information through the server, and the screen 100 displays an error prompt.
That is, if the input user ID is the same as the custom ID, the display device downloads the custom firmware file corresponding to the custom ID from the server, if the input user ID is different from the custom ID and the user ID is a general ID, the display device downloads the general firmware file corresponding to the general ID from the server, and if the input user ID is neither the custom ID nor the general ID, the user ID is illegal information, and an error prompt is displayed.
Therefore, based on the display equipment, the client can package and deliver after finishing upgrading the customized firmware file on the screen after downloading on line, and the customized firmware file is not required to be adjusted subsequently. Therefore, the customized firmware file of the correct receiving card can be quickly identified, the screen configuration data is not lost, the function adaptation is normal after the screen is upgraded, unnecessary maintenance is reduced, the operation is simple, the time consumption is less, and the safety of the customized firmware file is ensured. The method can solve the problems that whether the receiving card firmware file is correctly received or not can not be identified by software upgrading in the traditional scheme, and only the screen can be lightened to check whether the user customized firmware file of the receiving card is correctly received or not after the upgrading is successful, so that the function is not adapted and can not be applied after the upgrading of the card of the same type is not recognized due to the fact that the correctly customized firmware file of the card of the same type is not correctly upgraded.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.
Claims (9)
1. An FPGA system based on user customization, which is characterized by comprising a server and a display device connected with the server; wherein:
the server comprises a receiving and transmitting component, a compiling component and an authentication component;
The receiving and transmitting component is in communication connection with the display device and is used for receiving user identification information and configuration files sent by the display device, wherein the user identification information comprises a user ID;
The authentication component is respectively connected with the receiving and transmitting component and the compiling component and is used for matching the user identification information with preset customized identification information, determining target customized identification information and acquiring a target firmware source program file corresponding to the target customized identification information based on the target customized identification information, wherein the customized identification information comprises a customized ID (identity) which is used for uniquely determining a display device;
The compiling component is connected with the receiving and transmitting component and is used for compiling the configuration file sent by the receiving and transmitting component and the target firmware source program file acquired by the authentication component, automatically generating a customized firmware file and sending the customized firmware file to the display device for upgrading configuration through the receiving and transmitting component;
Wherein, the authentication component includes:
The identification unit is used for acquiring a preset customized identification information base, matching the received user identification information with each piece of customized identification information in the customized identification information base, and determining target customized identification information according to a matching result;
The acquisition unit is used for acquiring a target firmware source program file corresponding to the target customization identification information according to the corresponding relation between the preset customization identification information and the firmware source program file and the target customization identification information, and sending the target firmware source program file to the compiling component;
Wherein, the authentication unit is specifically configured to:
Judging whether the received user identification information is the same as the customized identification information;
If the custom identification information is the same as the user identification information, determining that the display device is updated and configured in a mode of customizing a firmware file, and generating an instruction of customizing the firmware file to the compiling component, wherein the custom identification information is used as target custom identification information.
2. The system of claim 1, wherein the authentication unit is further specifically configured to:
If all the customized identification information is different from the user identification information, continuing to judge whether the user identification information is the universal identification information or not;
if the user identification information is the universal identification information, determining that the display device is updated and configured in a universal firmware file mode;
if the user identification information is not the universal identification information, the user identification information is illegal information and error prompt is carried out.
3. The system according to claim 2, wherein the acquisition unit is further specifically configured to:
If the user identification information is the universal identification information, directly acquiring a universal firmware file matched with the user identification information without compiling, and sending the universal firmware file to the display device through the receiving and transmitting component.
4. The system of claim 1, wherein the compiling component is specifically configured to:
updating the identification information in the target firmware source program file to target customized identification information;
and compiling the configuration file and the updated target firmware source program file to generate a customized firmware file.
5. The system of claim 4, wherein the compilation component further comprises, after generating the custom firmware file:
and carrying out association storage on the customized firmware file and the target customized identification information.
6. A firmware generation method applied to the system according to any one of claims 1 to 5, characterized in that the method comprises the steps of:
The server receives user identification information and a configuration file sent by the display device, wherein the user identification information comprises a user ID;
The server matches the user identification information with preset customized identification information, determines target customized identification information, and obtains a target firmware source program file corresponding to the target customized identification information based on the target customized identification information, wherein the customized identification information comprises a customized ID (identity) which is used for uniquely determining a display device;
The server compiles the configuration file and the target firmware source program file, automatically generates a customized firmware file, and sends the customized firmware file to the display device for upgrading configuration;
The server matches the user identification information with preset customized identification information, determines target customized identification information, and obtains a target firmware source program file corresponding to the target customized identification information based on the target customized identification information, wherein the obtaining comprises the following steps:
acquiring a preset customized identification information base stored by a server; the customized identification information base comprises a plurality of customized identification information;
traversing the user identification information and each piece of customized identification information, and judging whether the user identification information is identical to a certain piece of customized identification information or not;
if the customized identification information is the same as the user identification information, the customized identification information is used as target customized identification information;
And acquiring a target firmware source program file corresponding to the target customization identification information according to the corresponding relation between the preset customization identification information and the firmware source program file and the target customization identification information.
7. The method of claim 6, wherein the method further comprises:
if the user identification information is different from the preset customized identification information, judging whether the user identification information is universal identification information or not;
If the user identification information is the universal identification information, the universal firmware file corresponding to the universal identification information in the server is directly acquired without compiling.
8. A display device, wherein the display device is connected to a server, the display device comprising a screen configured with a receiving card; wherein the server is a server in the system according to any one of claims 1 to 5;
The screen body receives user identification information input by a user and acquires a configuration file, wherein the user identification information comprises a user ID;
The screen body sends the user identification information and the configuration file to a server in communication connection with the screen body;
The screen body acquires a firmware file matched with the user identification information from a server; wherein the firmware file comprises one of a custom firmware file and a general firmware file, and the custom firmware file comprises the configuration file;
if the firmware file is a customized firmware file, the screen body updates the customized firmware file into the FPGA of the receiving card;
The screen body obtains the firmware file matched with the user identification information from the server, and the firmware file comprises the following specific steps:
The screen body identifies the user identification information as customized identification information through the server, and then the screen body acquires a customized firmware file matched with the user identification information, wherein the customized identification information comprises a customized ID (identity) which is used for uniquely determining a display device;
the screen body identifies the user identification information as universal identification information through the server, and then the screen body acquires a universal firmware file matched with the user identification information;
The screen body identifies that the user identification information is customized identification information through the server, and the screen body obtains a customized firmware file matched with the user identification information, wherein the customized firmware file comprises:
Judging whether the received user identification information is the same as the customized identification information;
If the custom identification information is the same as the user identification information, determining that the display device is updated and configured in a mode of customizing a firmware file, and generating an instruction of customizing the firmware file to the compiling component, wherein the custom identification information is used as target custom identification information.
9. The display device of claim 8, further comprising:
And the screen body recognizes that the user identification information is illegal information through the server, and then the screen body displays an error prompt.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2020217545976 | 2020-08-20 | ||
CN202021754597 | 2020-08-20 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113467857A CN113467857A (en) | 2021-10-01 |
CN113467857B true CN113467857B (en) | 2024-05-28 |
Family
ID=77881092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110814454.2A Active CN113467857B (en) | 2020-08-20 | 2021-07-19 | FPGA system based on user customization, firmware generation method and display device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113467857B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114157654B (en) * | 2021-10-28 | 2024-03-19 | 杭州未名信科科技有限公司 | Integrated circuit collaborative design system and method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7043715B1 (en) * | 2000-06-06 | 2006-05-09 | Emc Corporation | Method and apparatus for customizing software |
CN103389888A (en) * | 2013-07-05 | 2013-11-13 | 曙光信息产业(北京)有限公司 | Display device applied to servers, servers, system and method |
CN107688464A (en) * | 2017-06-28 | 2018-02-13 | 上海壹账通金融科技有限公司 | Software customized server, method and computer-readable recording medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9032391B2 (en) * | 2012-06-27 | 2015-05-12 | Clearside, Inc. | System and method for dynamically creating executable files |
US9274790B2 (en) * | 2014-04-30 | 2016-03-01 | Oracle International Corporation | Customization manager |
-
2021
- 2021-07-19 CN CN202110814454.2A patent/CN113467857B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7043715B1 (en) * | 2000-06-06 | 2006-05-09 | Emc Corporation | Method and apparatus for customizing software |
CN103389888A (en) * | 2013-07-05 | 2013-11-13 | 曙光信息产业(北京)有限公司 | Display device applied to servers, servers, system and method |
CN107688464A (en) * | 2017-06-28 | 2018-02-13 | 上海壹账通金融科技有限公司 | Software customized server, method and computer-readable recording medium |
Non-Patent Citations (1)
Title |
---|
Pro_E软件定制开发实现分析;梅启元;《电子机械工程》;20130228;第29卷(第1期);第60-64页 * |
Also Published As
Publication number | Publication date |
---|---|
CN113467857A (en) | 2021-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107924443B (en) | Firmware upgrading method and system for process control device | |
US11048493B2 (en) | Computer system, method of updating software with computer system, and program therefor | |
US9836300B2 (en) | Method for updating vehicle ECUs using differential update packages | |
KR101067615B1 (en) | Loading data onto an electronic device | |
CN113176902B (en) | OTA upgrading method of vehicle ECU, electronic equipment, vehicle and readable storage medium | |
US20130069761A1 (en) | System and method to operate an extended range keyless entry system to recognize a keyless entry transmitter | |
US20160371077A1 (en) | Method for wireless remote updating vehicle software | |
US20160378457A1 (en) | Program update system and program update method | |
CN107615292A (en) | For the system and method for the installation for managing the application package for needing excessive risk authority to access | |
US20160364232A1 (en) | Method for ota updating vehicle electronic control unit | |
US10268845B2 (en) | Securing of the loading of data into a nonvolatile memory of a secure element | |
CN104580351A (en) | Programming vehicle modules from remote devices and related methods and systems | |
CN107832065A (en) | Firmware upgrade method, water purifier, upgrade-system and readable storage medium storing program for executing | |
CN103729597A (en) | System starting verifying method and device and terminal | |
CN106648781B (en) | Method and system for upgrading remote firmware of communication equipment | |
CN113467857B (en) | FPGA system based on user customization, firmware generation method and display device | |
CN108196861B (en) | Data upgrading method and diagnostic equipment thereof | |
CN112346904A (en) | Smart electric meter calibration method and device, smart electric meter and storage medium | |
JP2006221274A (en) | Electronic control device for vehicle and rewriting method of control program | |
KR101751098B1 (en) | Method for programming a mobile terminal chip | |
CN105791017A (en) | Vehicle-mounted module refreshing method and apparatus | |
US20050034116A1 (en) | Control of programming electronic devices | |
CN117707578A (en) | Beacon firmware upgrading method, device and system | |
CN109740304A (en) | A kind of vehicle diagnosis right management method and relevant device | |
US20240281243A1 (en) | Software Update Management for Vehicles |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |