CN113467857A - 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 PDF

Info

Publication number
CN113467857A
CN113467857A CN202110814454.2A CN202110814454A CN113467857A CN 113467857 A CN113467857 A CN 113467857A CN 202110814454 A CN202110814454 A CN 202110814454A CN 113467857 A CN113467857 A CN 113467857A
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.)
Pending
Application number
CN202110814454.2A
Other languages
Chinese (zh)
Inventor
邢敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zhouming Technology Co Ltd
Original Assignee
Shenzhen Zhouming Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Zhouming Technology Co Ltd filed Critical Shenzhen Zhouming Technology Co Ltd
Publication of CN113467857A publication Critical patent/CN113467857A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/37Compiler construction; Parser generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention discloses an FPGA system based on user customization, a firmware generation method and a display device, wherein the system comprises a server and a display device connected with the server; wherein: the server comprises a receiving and sending component, a compiling component and an authentication component; the receiving and transmitting component is used for receiving user identification information and configuration files 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 to automatically generate a customized firmware file. The invention can quickly identify the correct customized firmware file of the receiving card, realize that the screen configuration data is not lost, reduce unnecessary maintenance, has simple operation, ensures the safety of the customized firmware file and improves the customer satisfaction.

Description

FPGA system based on user customization, firmware generation method and display device
The present application is filed and claims priority from chinese patent application having application number 202021754597.6 filed on even 20/8/2020, which is hereby incorporated by reference in its entirety.
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 with its advantages of energy saving, environmental protection, high efficiency, and the like.
In the LED display system, after the receiving card is responsible for receiving the display/control data from the front-end sending card, the LED array is correctly driven to complete the display work of the relevant information.
In order to meet the requirements of diversification and component standardization of LED display systems, the hardware of the receiving card is usually 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) of the FPGA, the configuration file is that the FPGA erases the configuration file from a RAM (Random Access Memory) of the FPGA first after the receiving card is powered on, and then reads and writes the configuration file from the outside, and if the configuration file is not written in time, the LED screen may display an exception.
In the traditional scheme, because whether the upgrade firmware file is the correct receiving card firmware file cannot be identified in the process of upgrading the receiving card firmware file through software, the screen body is lightened only after the upgrade is successful to check whether the receiving card firmware file is correct, and thus, in a customer site, because the correct receiving card firmware file cannot be identified in the upgrade firmware files of the same type of cards, the functions cannot be adapted after the upgrade, and the condition of application cannot be realized. Moreover, the risk of data damage caused by unauthorized operation exists, and the satisfaction degree of customers is reduced while unnecessary after-sales service requirements are generated.
Disclosure of Invention
In view of this, the FPGA system based on user customization, the firmware generating method and the display device provided in the embodiments of the present invention can quickly identify a correct customized firmware file of a receiving card, achieve that the screen configuration data is not lost, the function adaptation is normal after the screen is upgraded, reduce unnecessary maintenance, have simple operation and less time consumption, ensure the security of the customized firmware file, avoid generating unnecessary after-sales service requirements, and improve the customer satisfaction.
The technical scheme adopted by the invention for solving the technical problems is as follows:
according to a first aspect of the embodiments of the present invention, a FPGA system based on user customization is provided, which includes a server and a display device connected to the server; wherein:
the server comprises a receiving and sending 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 user identification information and configuration files sent by the display device;
the authentication component is respectively connected with the transceiving 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 transceiving component and used for compiling the configuration file sent by the transceiving component and the target firmware source program file obtained by the authentication component, automatically generating a customized firmware file and sending the customized firmware file to the display device through the transceiving component for upgrading configuration.
According to a second aspect of the embodiments of the present invention, there is provided a firmware generation method applied to the system of the first aspect, the method including the steps of:
the server receives user identification information and a configuration file sent by a display device;
the server matches the user identification information with preset customized identification information, determines target customized identification information, and acquires 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 equipment is connected with the server and comprises a screen body, and a receiving card is configured on the screen body; wherein the server is a server in the system of 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 customized firmware file and a generic firmware file, and the customized 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 prior art, the FPGA system based on user customization, the firmware generation method and the display device provided by the embodiment of the invention comprise a server and a display device connected with the server; wherein: the receiving and sending component receives user identification information and configuration files sent by a display device, the authentication component matches the user identification information with preset customized identification information, target customized identification information is determined, a firmware source program file corresponding to the target customized identification information is obtained, the compiling component compiles the configuration files sent by the receiving and sending component and the firmware source program file obtained by the authentication component to automatically generate customized firmware files, and a customer can package and deliver the customized firmware files after completing upgrading of the customized firmware files on a screen body after downloading the customized firmware files on line without subsequent adjustment of the customized firmware files. Therefore, the correct customized firmware file of the receiving card can be quickly identified, the configuration data of the screen body is not lost, the function adaptation is normal after the screen body is upgraded, unnecessary maintenance is reduced, the operation is simple, the consumed time is short, and the safety of the customized firmware file is ensured. The problem that the function is not adaptive after upgrading and the application is not available due to the fact that the traditional scheme cannot identify whether the firmware file is the correct customized firmware file of the receiving card through software upgrading, only can light the screen body to check whether the user customized firmware file of the receiving card is correct after upgrading is successful and then the user customized firmware file of the receiving card is on the client site can be solved.
Drawings
Fig. 1 is a schematic structural diagram of an FPGA system based on user customization 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 illustrating 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 implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
An FPGA (Field Programmable Gate Array) is a product of further development based on Programmable devices such as PAL, GAL, EPLD, etc. The FPGA is very flexible to use, available resources inside the FPGA are rich, and different circuit functions can be generated by the same FPGA through different designs. FPGAs are widely used in many fields such as communications, data processing, networks, instruments, industrial control, LEDs, military and aerospace.
In one embodiment, as shown in fig. 1, the present invention provides a FPGA system customized by a user, the FPGA system includes a server 10 and a display device 20 connected to the server, the display device 20 is configured to receive user identification information input by the user and transmit 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 devices with display screens, with each display device 20 corresponding to a configuration file. The configuration file (also called 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, namely a Gamma table. Therefore, the same type of display device generally corresponds to the same profile. Wherein:
the server 10 comprises a transceiving component 11, a compiling component 12 and an authentication component 13;
the transceiver component 11 is in communication connection with a 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 connected to the transceiving component 11 and the compiling component 12, and is configured to match the user identification information with preset customized identification information, determine target customized identification information, and obtain a firmware source program file corresponding to the target customized identification information;
the compiling component 12 is connected to the transceiving component 11, and is configured to compile the configuration file sent by the transceiving component and the firmware source program file obtained by the authentication component 13, and automatically generate a customized firmware file; the customized firmware file can be downloaded and updated by a display device into an FPGA of a receiving card communicatively connected with the display device.
It should be noted that the firmware files stored in the server are divided into general firmware files and customized firmware files, and the general firmware files are used for standard program loading and are identified and determined by the general identification information. Whereas the customized firmware file cannot generate the generic firmware file in reverse. 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 recast 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 in a matching manner, and the update 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 transceiving component with preset customized identification information, determines target customized identification information, and acquires a firmware source program file corresponding to the target customized identification information, and the compiling component compiles the configuration file sent by the transceiving 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 deliver the customized firmware file after completing upgrading the customized firmware file on a screen body after downloading the customized firmware file online without subsequently adjusting the customized firmware file. Therefore, the correct customized firmware file of the receiving card can be quickly identified, the configuration data of the screen body is not lost, the function adaptation is normal after the screen body is upgraded, unnecessary maintenance is reduced, the operation is simple, the consumed time is short, and the safety of the customized firmware file is ensured. The problem that the function is not adaptive after upgrading and the application is not available due to the fact that the traditional scheme cannot identify whether the firmware file is the correct customized firmware file of the receiving card through software upgrading, only can light the screen body to check whether the user customized firmware file of the receiving card is correct after upgrading is successful and then the user customized firmware file of the receiving card is on the client site can be solved.
Preferably, the connection between the server 10 and the display device 20 may be implemented 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 transmitted by the display device 20 by any of the above connection methods, or may download the compiled customized firmware file to the display device 20 according to a download request of the display device 20 by any of the above connection methods. Similarly, the general firmware file corresponding to the user identification information directly stored in the server 10 may be downloaded to the display device 20 according to a 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 customized identification information includes a customized ID, wherein the customized ID is used to uniquely identify the display device 20, that is, the display device 20 can be uniquely determined by the customized ID.
In this embodiment of the application, the user identification information is used to distinguish whether the FPGA firmware file version of the product is a standard (factory) version firmware file or a customized version firmware file, where the standard version firmware file may be upgraded into the customized version firmware file, but the customized version firmware file cannot be retroactively compiled into the standard version firmware file.
The configuration file comprises the following contents: the FPGA model, the lamp panel diagram, the lamp panel parameters, the chip register parameters, and the display parameter table, i.e., the Gamma table, are not limited. As long as the acquired configuration file can satisfy the configuration file required for the upgrade of the display apparatus.
The configuration file is a configuration file formed of user configuration information that passes a screen body verification test in the display device 20, by which the screen body can normally operate in the case where the firmware files are matched.
In one embodiment, as shown in fig. 2, the authentication component 13 comprises an authentication unit 131 and an acquisition unit 132.
The identification unit 131 is configured to obtain a preset customized identification information base, match the received user identification information with each piece of customized identification information in the customized identification information base, and determine target customized identification information according to a matching result.
The identifying 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 adopts a customized firmware file mode to perform upgrading configuration, and issuing an instruction for generating 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, continuously judging whether the user identification information is general identification information;
if the user identification information is general identification information, determining that the display device adopts a general firmware file mode to carry out upgrading configuration;
and if the user identification information is not the general 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; that is, whether the two are the same or not is judged, if not, the user identification information is not verified to be passed, which indicates that the user identification information is not the preset customized identification information, which indicates that the display device 20 cannot be upgraded by using the customized firmware file and cannot load the customized program; if the user identification information is verified to be passed, the user identification information is the preset customized identification information, the display device 20 may perform upgrade configuration by using the customized firmware file, and at this time, the customized identification information matched with the user identification information is used as the target customized identification information.
It should be noted that the authentication unit 131 in the above embodiment adopts two judgment operations to further ensure data security.
In another embodiment, the difference between the authentication unit 131 and the above embodiments is that only one judgment operation is used to improve data security, that is, when the authentication unit 131 judges that the received user identification information is not the same as all the customized identification information, the judgment of the general identification information is not performed, and it is directly determined that the display device 20 is configured in the general firmware upgrade manner, and therefore, no compiling process is required, and no FPGA process in the receiving card is required to be updated, which simplifies the operation and improves the processing speed.
The obtaining unit 132 is configured to obtain a target firmware source program file corresponding to the target customization identification information according to a corresponding relationship between preset customization identification information and a 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, if the user identification information is general identification information, directly obtain a general firmware file matched with the user identification information without compiling, and send the general firmware file to the display device 20 through the transceiving component.
In the embodiment of the present application, the display device 20 adopts an upgrading mode that is divided into a general firmware file mode upgrading and a customized firmware file mode upgrading, the general firmware file mode upgrading is to meet the upgrading requirement of most display devices, in order to further improve data security and improve yield, reduce rework and improve user experience, the customized firmware file mode upgrading can be adopted only through authentication verification, and the original firmware source program file is upgraded into the customized firmware file.
In this embodiment, the authentication component verifies whether the user identification information received by the transceiving component is preset customized identification information, so that 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.
Then, after receiving the configuration file and the prompt that the verification passes, the compiling component 12 is specifically configured to:
updating the identification information in the target firmware source program file into 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 a readable and writable unit such as a RAM and/or a register inside the FPGA, when the server compiles the firmware source program file, it may be determined through the configuration file that the receiving card configures an initial value after being powered on, after receiving the uploaded configuration file, first package and integrate the information of the configuration file of the receiving card into a corresponding project configuration file, then perform compilation work on the firmware source program file through the FPGA, generate a customized firmware file containing the configuration information of the configuration file, and change a user ID stored in the customized firmware file to a customized ID, where the customized firmware file may be downloaded to a user through the internet after being generated. The related development technologies such as logic locking, user reconfiguration and the like are provided in the FPGA development tool, so that the integrity and the safety of the customized firmware file generated by the invention can be effectively ensured.
It should be noted that, after the compiling component 12 generates the customized firmware file, the customized firmware file and the target customized identification information are also stored in an associated manner. 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, and then directly acquires the stored customized firmware file to send to the display device 20 for upgrade configuration without compiling again, so that the operation is reduced, and the processing efficiency is improved.
The FPGA firmware source program file of the core of the invention is stored in a manufacturer server, and is protected from illegal invasion and acquisition by authorization protection measures such as a hardware firewall, user authentication and the like, thereby effectively ensuring the core intellectual property of an LED control system manufacturer and providing the maximum flexibility of customizing the firmware file configurable by a user.
In order to better understand the technical scheme of the application, a century application scenario description based on a user-customized FPGA system is illustrated, and in the specific operation:
and the field engineer inputs a user ID into the server through a computer in the LED display screen and uploads a configuration file to the server. And the server receives the user ID and the configuration file sent by the display device through a transceiving component. The authentication component verifies whether the user ID received by the transceiving component is a preset customized ID, if the user ID is verified to be passed, a firmware source program file corresponding to the preset customized ID is obtained in a preset firmware source program file library, the compiling component automatically loads a customized program, compiles the configuration file sent by the transceiving component and the firmware source program file obtained by the authentication component, and automatically generates a customized firmware file. And the field engineer downloads a 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 FPGA nonvolatile storage space in the receiving card by using a firmware upgrading program. Before the upgrade operation action is executed, the firmware upgrade program will check the user ID of the existing firmware of the receiving card, and execute the following operations: and verifying whether the user ID is the preset customized ID, if so, upgrading the firmware file by customizing the firmware file, and if not, upgrading the firmware file by adopting the general firmware file without executing the upgrading of the customized firmware file. The safety of the firmware file is ensured through the comparison operation. And packaging and delivering the screen customized firmware file after upgrading is completed, and the customized firmware file does not need to be adjusted subsequently.
In an embodiment, as shown in fig. 3, the present invention provides a firmware generation method, which is applied to the FPGA system based on the user customization, and the method includes:
s1, the server receives the user identification information and the configuration file sent by the display device;
s2, the server matches the user identification information with preset customized identification information, determines target customized identification information, and acquires a target firmware source program file corresponding to the target customized identification information based on the target customized identification information;
and 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, a server receives user identification information and a configuration file sent by a display device, 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, compiles the configuration file and the acquired firmware source program file to automatically generate a customized firmware file, and packages and delivers the customized firmware file after the customized firmware file is upgraded on a screen body after the customized firmware file is downloaded on line by a client without subsequent adjustment of the customized firmware file. Therefore, the correct customized firmware file of the receiving card can be quickly identified, the configuration data of the screen body is not lost, the function adaptation is normal after the screen body is upgraded, unnecessary maintenance is reduced, the operation is simple, the consumed time is short, and the safety of the customized firmware file is ensured. The problem that the function is not adaptive after upgrading and the application is not available due to the fact that the traditional scheme cannot identify whether the firmware file is the correct customized firmware file of the receiving card through software upgrading, only can light the screen body to check whether the user customized firmware file of the receiving card is correct after upgrading is successful and then the user customized firmware file of the receiving card is on the client site can be solved.
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 standard version firmware file can be upgraded into the firmware file of the customized version, but the firmware file of the customized version cannot be retroactively summarized into the firmware file of the standard version.
Preferably, the configuration file comprises at least 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 body verification test, and the screen body can normally work under the condition that the firmware files are matched through the configuration file.
In one embodiment, in step S2, the step of matching, by the server, the user identification information with preset customized identification information to determine target customized identification information, and acquiring, based on the target customized identification information, a target firmware source program file corresponding to the target customized identification information specifically includes:
s201, acquiring a preset customized identification information base stored by a server; the customized identification information base comprises a plurality of pieces of customized identification information;
s202, traversing the user identification information and each customized identification information, and judging whether the user identification information is the same as certain customized identification information or not;
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 present application, the user identification information is a user ID. The customized identification information is a customized ID. The customization ID is stored in the server in advance, and once the input user ID is the same as the stored customization ID, the firmware source program file and the configuration file need to be compiled to generate a customization firmware file, so that the customization firmware file is upgraded.
S205, if the user identification information is different from preset customized identification information, judging whether the user identification information is general identification information;
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, it is determined that the user ID is a general ID, and the user ID can only be upgraded in a general firmware file manner, that is, the user ID is directly obtained from the general firmware file corresponding to the general ID stored in the server without compiling, so as to upgrade the user ID in a general firmware file manner.
Therefore, through verifying whether the user identification information is the preset customized identification information or not, the safety can be improved, the risk of data damage caused by unauthorized operation can be avoided, and the customer satisfaction is reduced while the unnecessary after-sale service requirement is generated.
In this embodiment, since the configuration information in the configuration file of the receiving card is written into a readable and writable unit such as a RAM and/or a register inside the FPGA, when the online generation device of the server compiles the firmware source program file, it may be determined through the configuration file that the receiving card configures an initial value after being powered on, after receiving the uploaded configuration file, first package and integrate the information of the configuration file of the receiving card into a corresponding project configuration file, then perform compilation work on the FPGA firmware source program file, generate a customized firmware file containing the configuration information of the configuration file, and change the user ID stored in the customized firmware file to a customized ID, where the customized firmware file may be downloaded through the internet after being generated. Related development technologies such as logic locking, user reconfiguration and the like are provided in the FPGA development tool, so that the robustness (namely integrity and safety) of the customized firmware file generated by the invention can be effectively ensured.
The FPGA firmware source program file of the core of the invention is stored in a manufacturer server, and is protected from illegal invasion and acquisition by authorization protection measures such as a hardware firewall, user authentication and the like, thereby effectively ensuring the core intellectual property of an LED control system manufacturer and providing the maximum flexibility of customizing the firmware file configurable by a user.
In this embodiment, the server receives the user ID and the configuration file sent by the display device, the user ID is verified, and then the corresponding firmware source program file can be automatically and correctly matched, and the customized firmware file of the receiving card containing the configuration file information is automatically compiled, so that the client can package and deliver the customized firmware file after completing the upgrading of the customized firmware file on the screen body after online downloading, and the customized firmware file does not need to be subsequently adjusted. The method is completely compatible with the existing screen hardware system, and the hardware design does not need to be changed; the standardization, the usability and the universality of the existing product are kept; the screen configuration data is not lost, and unnecessary maintenance is reduced; the multi-level management of the authorized use of the user can be realized in an expanded way; because the firmware information is updated only through the specific authorized software and is usually completed by authorized service personnel, the updating operation has higher safety relatively, the risk of data damage caused by unauthorized operation is avoided, unnecessary after-sale service requirements are avoided, and the customer satisfaction is improved. The problem that the function is not adaptive after upgrading and cannot be applied due to the fact that the function cannot be identified and the function cannot be applied after upgrading because the correct customized firmware file for upgrading of the same type of cards cannot be identified in a client site because the correct customized firmware file for upgrading of the same type of cards can only be checked by lighting the screen body after upgrading is successful and the correct customized firmware file for receiving the cards cannot be identified in the traditional scheme can be solved; and the problem of configuration data damage caused by unauthorized operation can be solved.
In one embodiment, as shown in fig. 4, the present invention provides a display device, the display device is connected to a server, the server is the server 10 in the above system, wherein the display device includes a screen body 100 and a receiving card 300; wherein:
the screen body 100 receives user identification information input by a user and acquires a configuration file;
the screen body 100 sends the user identification information and the configuration file to a server in communication connection with the screen body;
the screen body 100 acquires a firmware file matched with the user identification information from a server; wherein the firmware file comprises one of a customized firmware file and a generic firmware file, and the customized firmware file comprises the configuration file;
if the fixed file is a customized firmware file, the screen body 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 send the user identification information and the configuration file to the server through the display device of the display device, so as to download the customized firmware file matched with the receiving card, and the screen body can be packaged and shipped after completing the upgrade of the customized firmware of the user, without the need of subsequently adjusting the customized firmware file. The customized firmware file is generated by automatically and correctly matching a corresponding firmware source program file and automatically compiling information containing the configuration file by the server according to the user identification information and the configuration file. The method is simple to operate, consumes less time, and ensures the safety of the customized firmware file. The problem that functions are not adaptive and cannot be applied after upgrading due to the fact that the traditional scheme cannot identify correct receiving card firmware files through software upgrading can be solved.
Preferably, the screen body 100 may be communicatively connected to a plurality of receiving cards 300.
Preferably, the connection between the display device and the server may be 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 of the above connection methods, or may download the compiled customized firmware file to the display device from a download request of the server 1 through any 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 standard (factory) version of the firmware file or a customized version of the firmware file, wherein a standard version of the firmware file program can be upgraded to the customized version of the firmware file, but the customized version of the firmware file cannot be retroactively summarized to the standard version of the firmware file.
Preferably, the configuration file includes at least one of: FPGA model, lamp panel tracing diagram, lamp panel parameters, chip register parameters and Gamma table.
The acquiring, by the screen body 100, the firmware file matched with the user identification information from the server specifically includes:
the screen body 100 recognizes the user identification information as customized identification information through the server, and then the screen body 100 acquires a customized firmware file matched with the user identification information;
the screen body 100 recognizes that the user identification information is the general identification information through the server, and then the screen body acquires a general firmware file matched with the user identification information.
If the screen body 100 recognizes that the user identification information is illegal information through the server, the screen body 100 displays an error prompt.
That is, if the input user ID is the same as the customized ID, the display device downloads the customized firmware file corresponding to the customized ID from the server, if the input user ID is different from the customized 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 customized ID nor the general ID, the user ID is illegal information, an error prompt is displayed.
Therefore, based on the display equipment, the customized firmware file can be packaged and delivered after the customized firmware file is updated on the screen body after the client downloads the customized firmware file on line, and the customized firmware file does not need to be adjusted subsequently. Therefore, the correct customized firmware file of the receiving card can be quickly identified, the configuration data of the screen body is not lost, the function adaptation is normal after the screen body is upgraded, unnecessary maintenance is reduced, the operation is simple, the consumed time is short, and the safety of the customized firmware file is ensured. The problem that the function is not adaptive after upgrading and the application is not available due to the fact that the traditional scheme cannot identify whether the firmware file is the correct customized firmware file of the receiving card through software upgrading, only can light the screen body to check whether the user customized firmware file of the receiving card is correct after upgrading is successful and then the user customized firmware file of the receiving card is on the client site can be solved.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

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 sending 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 user identification information and configuration files sent by the display device;
the authentication component is respectively connected with the transceiving 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 transceiving component and used for compiling the configuration file sent by the transceiving component and the target firmware source program file obtained by the authentication component, automatically generating a customized firmware file and sending the customized firmware file to the display device through the transceiving component for upgrading configuration.
2. The system of claim 1, wherein the authentication component comprises:
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;
and 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.
3. The system of claim 2, 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 customized identification information is the same as the user identification information, determining that the display device adopts a customized firmware file mode to perform upgrading configuration, and issuing an instruction for generating 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, continuously judging whether the user identification information is general identification information;
if the user identification information is general identification information, determining that the display device adopts a general firmware file mode to carry out upgrading configuration;
and if the user identification information is not the general identification information, the user identification information is illegal information, and error prompt is carried out.
4. The system of claim 3, wherein the obtaining unit is further specifically configured to:
and if the user identification information is general identification information, directly acquiring a general firmware file matched with the user identification information without compiling, and sending the general firmware file to the display device through the transceiving component.
5. The system of claim 1, wherein the compilation component is specifically configured to:
updating the identification information in the target firmware source program file into target customized identification information;
and compiling the configuration file and the updated target firmware source program file to generate a customized firmware file.
6. The system of claim 5, wherein after the compiling component generates the customized firmware file, further comprising:
and storing the customized firmware file and the target customized identification information in an associated manner.
7. A firmware generation method applied to the system according to any one of claims 1 to 6, wherein the method comprises the following steps:
the server receives user identification information and a configuration file sent by a display device;
the server matches the user identification information with preset customized identification information, determines target customized identification information, and acquires 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.
8. The method of claim 7, wherein the server matching the user identification information with preset customization identification information, determining target customization identification information, and based on the target customization identification information, obtaining a target firmware source program file corresponding to the target customization identification information comprises:
acquiring a preset customized identification information base stored by a server; the customized identification information base comprises a plurality of pieces of customized identification information;
traversing the user identification information and each customized identification information, and judging whether the user identification information is the same as certain 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.
9. The method of claim 8, wherein the method further comprises:
if the user identification information is different from preset customized identification information, judging whether the user identification information is general identification information;
and 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.
10. The display equipment is characterized in that the display equipment is connected with a server and comprises a screen body, wherein a receiving card is configured on the screen body; wherein the server is a server in the system according to any one of claims 1 to 6;
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 customized firmware file and a generic firmware file, and the customized 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.
11. The display device of claim 10, wherein the screen body obtaining the firmware file matching the user identification information from the server specifically comprises:
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;
and the screen body identifies that the user identification information is the general identification information through the server, and then the screen body acquires the general firmware file matched with the user identification information.
12. The display device of claim 11, further comprising:
and the screen body identifies that the user identification information is illegal information through the server, and the screen body displays an error prompt.
CN202110814454.2A 2020-08-20 2021-07-19 FPGA system based on user customization, firmware generation method and display device Pending CN113467857A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202021754597 2020-08-20
CN2020217545976 2020-08-20

Publications (1)

Publication Number Publication Date
CN113467857A true CN113467857A (en) 2021-10-01

Family

ID=77881092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110814454.2A Pending CN113467857A (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) CN113467857A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157654A (en) * 2021-10-28 2022-03-08 杭州未名信科科技有限公司 Integrated circuit collaborative design system and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389888A (en) * 2013-07-05 2013-11-13 曙光信息产业(北京)有限公司 Display device applied to servers, servers, system and method
US20140007080A1 (en) * 2012-06-27 2014-01-02 Clearside, Inc. System and method for dynamically creating executable files

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140007080A1 (en) * 2012-06-27 2014-01-02 Clearside, Inc. System and method for dynamically creating executable files
CN103389888A (en) * 2013-07-05 2013-11-13 曙光信息产业(北京)有限公司 Display device applied to servers, servers, system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157654A (en) * 2021-10-28 2022-03-08 杭州未名信科科技有限公司 Integrated circuit collaborative design system and method
CN114157654B (en) * 2021-10-28 2024-03-19 杭州未名信科科技有限公司 Integrated circuit collaborative design system and method

Similar Documents

Publication Publication Date Title
CN107924443B (en) Firmware upgrading method and system for process control device
KR101067615B1 (en) Loading data onto an electronic device
CN100416500C (en) Methods and apparatus for generating upgraded software from initial software and software upgrade packages
US10268845B2 (en) Securing of the loading of data into a nonvolatile memory of a secure element
CN101088071B (en) Method and device for secure parameterization of electronic devices
US20180095745A1 (en) Computer System, Method of Updating Software with Computer System, and Program Therefor
US9098374B2 (en) Version control for software configurable aircraft systems
US20130069761A1 (en) System and method to operate an extended range keyless entry system to recognize a keyless entry transmitter
US20200028737A1 (en) Method and device for upgrading module firmware of pos machine
US20110143661A1 (en) Method, device and system for firmware update by near-field communication
AU2014395561B2 (en) Optical transceiver device and method
US10172217B2 (en) Method for configuring an electronic element in a lighting system, electronic element and configuring system
KR20090068234A (en) Managing information relating to secure module applications
CN106648781B (en) Method and system for upgrading remote firmware of communication equipment
CN104021018A (en) Terminal, upgrade patch generation method and upgrade patch recognition method
CN107832065A (en) Firmware upgrade method, water purifier, upgrade-system and readable storage medium storing program for executing
EP2876554A1 (en) Method and apparatus for secure distribution of embedded firmware
CN106775778B (en) Program updating identification method and system in embedded program development
WO2018033613A1 (en) Tire pressure monitoring sensor
KR101751098B1 (en) Method for programming a mobile terminal chip
CN113467857A (en) FPGA system based on user customization, firmware generation method and display device
CN112346904A (en) Smart electric meter calibration method and device, smart electric meter and storage medium
CN113635860A (en) Vehicle control method, device, system, medium, equipment and terminal
US20050034116A1 (en) Control of programming electronic devices
CN103365684A (en) Updating method and multi-domain embedded system

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