CN110018854A - A kind of firmware matching process, equipment and computer readable storage medium - Google Patents

A kind of firmware matching process, equipment and computer readable storage medium Download PDF

Info

Publication number
CN110018854A
CN110018854A CN201910233478.1A CN201910233478A CN110018854A CN 110018854 A CN110018854 A CN 110018854A CN 201910233478 A CN201910233478 A CN 201910233478A CN 110018854 A CN110018854 A CN 110018854A
Authority
CN
China
Prior art keywords
firmware
identification information
information
equipment identification
fpga device
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.)
Granted
Application number
CN201910233478.1A
Other languages
Chinese (zh)
Other versions
CN110018854B (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201910233478.1A priority Critical patent/CN110018854B/en
Publication of CN110018854A publication Critical patent/CN110018854A/en
Application granted granted Critical
Publication of CN110018854B publication Critical patent/CN110018854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • 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
    • G06F9/4451User profiles; Roaming

Abstract

The embodiment of the invention discloses a kind of firmware matching process, which comprises obtains the firmware identifiers information of firmware to be configured;Obtain the first equipment identification information of primary scene programmable gate array FPGA equipment;Based on the firmware identifiers information and first equipment identification information, determine whether the firmware to be configured matches with the first FPGA device.The embodiment of the present invention also discloses a kind of firmware matching unit and computer readable storage medium simultaneously.

Description

A kind of firmware matching process, equipment and computer readable storage medium
Technical field
The present invention relates to the information processing technologies more particularly to a kind of firmware matching process, equipment and meter in the communications field Calculation machine readable storage medium storing program for executing.
Background technique
With the development of cloud, using traditional x86 CPU (Central Processing Unit, CPU) The energy consumption of the calculating power under special applications is unable to satisfy than requiring, this allows for field programmable gate array (Field Programmable Gate Array, FPGA) it is used as programmable logic device, it will be used wider and wider.FPGA is as one The mature technology of kind, there are many hardware realizations of product and different products to be all different in the market, different FPGA products Firmware can not be used interchangeably.In actual use to be reconfigured to FPGA firmware, need using one-to-one solid Part and FPGA can just complete reconfiguring for FPGA firmware;If matching error, the failure of FPGA device firmware configuration will lead to Even the case where equipment fault, occurs.
Summary of the invention
In order to solve the above technical problems, an embodiment of the present invention is intended to provide a kind of firmware matching process, equipment and computers Readable storage medium storing program for executing, avoiding firmware present in existing firmware configuration, it fails to match with FPGA device, will lead to FPGA and sets The case where standby firmware configuration failure or even equipment fault, occurs, and improves the success rate of firmware configuration.
The technical scheme of the present invention is realized as follows:
A kind of firmware matching process, which comprises
Obtain the firmware identifiers information of firmware to be configured;
Obtain the first equipment identification information of primary scene programmable gate array FPGA equipment;
Based on the firmware identifiers information and first equipment identification information, the firmware to be configured and first are determined Whether FPGA device matches.
Optionally, a kind of firmware matching process, which comprises
Obtain the firmware identifiers information of firmware to be configured;
Obtain the first equipment identification information of primary scene programmable gate array FPGA equipment;
Based on the firmware identifiers information and first equipment identification information, determine the firmware to be configured with it is described Whether FPGA device to be configured matches.
Optionally, described to generate corresponding with second FPGA device firmware to be configured, and it is based on described the Two equipment identification informations obtain the firmware identifiers information of the firmware to be configured, comprising:
The firmware identifiers information of the firmware to be configured is generated, and is converted into the target identification information of preset format It is stored in the default memory space with preset length;
Based on second equipment identification information, the target identification information is read from the default memory space;
The target identification information is converted, the firmware identifiers information is obtained.
Optionally, the method also includes:
First equipment identification information of first FPGA device is stored in the register of first FPGA device;
Correspondingly, first equipment identification information for obtaining primary scene programmable gate array FPGA equipment, comprising:
The register for reading first FPGA device obtains first equipment identification information.
Optionally, the method also includes:
Second equipment identification information of second FPGA device is stored in the register of second FPGA device;
Correspondingly, second equipment identification information for obtaining the second FPGA device, comprising:
The register for reading second FPGA device obtains second equipment identification information.
Optionally, described to be based on the firmware identifiers information and first equipment identification information, it determines described to be configured Firmware whether matched with the FPGA device to be configured, comprising:
Determine whether the firmware identifiers information matches with first equipment identification information;
If the firmware identifiers information is matched with first equipment identification information, by leased line will it is described to The firmware configuration of configuration is to first FPGA device.
Optionally, the method also includes:
If the firmware identifiers information and first equipment identification information mismatch, generate described to be configured for prompting Firmware and the unmatched miscue information of first FPGA device;
Export the miscue information.
A kind of firmware matching unit, the equipment include: processor, memory and communication bus, in which:
The communication bus is for realizing the communication connection between processor and memory;
The processor is for executing the firmware matcher stored in memory, to perform the steps of
Obtain the firmware identifiers information of firmware to be configured;
Obtain the first equipment identification information of the first FPGA device;
Based on the firmware identifiers information and first equipment identification information, the firmware to be configured and first are determined Whether FPGA device matches.
Optionally, the processor is also used to execute the firmware matcher stored in memory, to perform the steps of
Determine whether the firmware identifiers information matches with first equipment identification information;
If the firmware identifiers information is matched with first equipment identification information, by leased line will it is described to The firmware configuration of configuration is to first FPGA device.
A kind of computer readable storage medium, the computer-readable recording medium storage have one or more program, One or more of programs can be executed by one or more processor, to realize firmware matching process described above Step.
Firmware matching process, equipment and computer readable storage medium, obtain wait match provided by the embodiment of the present invention The firmware identifiers information for the firmware set obtains the first equipment identification information of primary scene programmable gate array FPGA equipment, base In firmware identifiers information and the first equipment identification information, determine whether firmware to be configured matches with the first FPGA device, so Before carrying out firmware matching to be configured, can determine in advance the firmware to be configured and FPGA device to be configured whether Match, avoiding firmware present in existing firmware configuration, it fails to match with FPGA device, will lead to FPGA device firmware configuration The case where failure or even equipment fault, occurs, and improves the success rate of firmware configuration.
Detailed description of the invention
Fig. 1 is a kind of flow diagram for firmware matching process that the embodiment of the present invention provides;
Fig. 2 is the flow diagram for another firmware matching process that the embodiment of the present invention provides;
Fig. 3 is the flow diagram for another firmware matching process that the embodiment of the present invention provides;
Fig. 4 is the schematic diagram that a kind of firmware that the embodiment of the present invention provides matches framework;
Fig. 5 is a kind of structural schematic diagram for firmware matching unit that the embodiment of the present invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.
The embodiment of the present invention provides a kind of firmware matching process, shown referring to Fig.1, method includes the following steps:
Step 101, the firmware identifiers information for obtaining firmware to be configured.
Wherein, the firmware identifiers information that step 101 obtains firmware to be configured can be realized by firmware matching unit;To The firmware of configuration can be the firmware for configuring FPGA device;Firmware identifiers information can be that this is to be configured for unique identification Firmware equipment identification information.
Step 102, the first equipment identification information for obtaining primary scene programmable gate array FPGA equipment.
Wherein, the first equipment identification information that step 102 obtains primary scene programmable gate array FPGA equipment can be by Firmware matching unit is realized;First FPGA device can be the FPGA device for needing to be configured with firmware to be configured.The One equipment identification information can be the equipment identification information for unique identification first FPGA device.
Step 103 is based on firmware identifiers information and the first equipment identification information, determines firmware and the first FPGA to be configured Whether equipment matches.
Wherein, step 103 is based on firmware identifiers information and the first equipment identification information, determines firmware and first to be configured Whether FPGA device matches can be realized by firmware matching unit;In the firmware identifiers information for obtaining firmware to be configured and After first equipment identification information of one FPGA device, by determine firmware identifiers information and the first equipment identification information whether Match, determines whether firmware to be configured matches with the first FPGA device.
Firmware matching process provided by the embodiment of the present invention obtains the firmware identifiers information of firmware to be configured, obtains The first equipment identification information of primary scene programmable gate array FPGA equipment is taken, firmware identifiers information and the first equipment mark are based on Know information, determines whether firmware to be configured matches with the first FPGA device, so before carrying out firmware matching to be configured, It can determine whether the firmware to be configured matches with FPGA device to be configured in advance, avoid and deposited in existing firmware configuration Firmware it fails to match with FPGA device, will lead to FPGA device firmware configuration failure even equipment fault the case where generation, Improve the success rate of firmware configuration.
Based on previous embodiment, the embodiment of the present invention provides a kind of firmware matching process, referring to shown in Fig. 2, this method The following steps are included:
Step 201, firmware matching unit obtain the second equipment identification information of the second FPGA device.
Wherein, the second FPGA device has determined and the matched FPGA device of firmware to be configured before can be;For example, Second FPGA device can be the FPGA device of vendor A production.Second equipment identification information can be should for unique identification The equipment identification information of second FPGA device.
Step 202, firmware matching unit generate firmware to be configured corresponding with the second FPGA device, and set based on second Standby identification information obtains the firmware identifiers information of firmware to be configured.
Wherein, step 202 can be accomplished by the following way:
Step 202a, firmware matching unit generates the firmware identifiers information of firmware to be configured, and is converted into preset format Target identification information be stored in the default memory space with preset length.
Wherein, the firmware generation program in firmware matching unit can be generated matched to be configured with the second FPGA device Firmware, and then generate the firmware identifiers information of the firmware to be configured;It later, is regular length by firmware identifiers information processing Identification information, and fixed length space of the identification information storage of the regular length obtained after processing in FPGA firmware file head is deposited It stores up in equipment.There can be matching relationship according to the second equipment identification information and the identification information of regular length when storage Storage.Preset format can be the identification information with regular length.
Step 202b, firmware matching unit is based on the second equipment identification information, and target mark is read from default memory space Know information.
Wherein, default memory space can be the fixed length space storage in file header corresponding with firmware generation program and set It is standby;Target identification information can be the identification information of regular length.
Step 202c, firmware matching unit converts target identification information, obtains firmware identifiers information.
Wherein, after reading target identification information, inverse operation is carried out to the target identification information and obtains to be configured consolidate The firmware identifiers information of part.
Step 203, firmware matching unit obtain the first device identification letter of primary scene programmable gate array FPGA equipment Breath.
Step 204, firmware matching unit determine whether firmware identifiers information matches with the first equipment identification information.
It can be wherein it is determined that whether firmware identifiers information matches with the first equipment identification information by determining firmware identifiers What whether information and the first equipment identification information there is corresponding relationship to realize;
It should be noted that step 205 or step 206-207 can be executed after step 204;
If step 205, firmware identifiers information are matched with the first equipment identification information, firmware matching unit passes through specific communications Route is by firmware configuration to be configured to the first FPGA device.
Wherein, if firmware identifiers information is matched with the first equipment identification information, illustrate that the first FPGA device is also vendor A FPGA product can also think that firmware to be configured is matched with the first FPGA device.At this point, firmware configuration program can pass through USB line or pci bus are by the firmware configuration to be configured into first FPGA device.It should be noted that specific communications Route may include USB line or pci bus.
If step 206, firmware identifiers information and the first equipment identification information mismatch, firmware matching unit is generated for mentioning Show the unmatched miscue information of firmware and the first FPGA device to be configured.
Step 207, firmware matching unit output error prompt information.
Wherein, if firmware identifiers information and the first equipment identification information mismatch, illustrate that the first FPGA device is not vendor A FPGA product, can also think that firmware to be configured and the first FPGA device mismatch.At this point, firmware configuration program can be with It generates corresponding miscue information and exports.
It should be noted that in the present embodiment with the explanation of same steps in other embodiments and identical content, Ke Yican According to the description in other embodiments, details are not described herein again.
Firmware matching process provided by the embodiment of the present invention obtains the firmware identifiers information of firmware to be configured, obtains The first equipment identification information of primary scene programmable gate array FPGA equipment is taken, firmware identifiers information and the first equipment mark are based on Know information, determines whether firmware to be configured matches with the first FPGA device, so before carrying out firmware matching to be configured, It can determine whether the firmware to be configured matches with FPGA device to be configured in advance, avoid and deposited in existing firmware configuration Firmware it fails to match with FPGA device, will lead to FPGA device firmware configuration failure even equipment fault the case where generation, Improve the success rate of firmware configuration.
Based on previous embodiment, the embodiment of the present invention provides a kind of firmware matching process, referring to shown in Fig. 3, this method The following steps are included:
Second equipment identification information of the second FPGA device is stored in the 2nd FPGA and set by step 301, firmware matching unit In standby register.
Wherein, the second equipment identification information of the second FPGA device of vendor A is stored in the second FPGA device in advance In register, firmware generates program later can read the second equipment mark from the register of the second FPGA device of vendor A Know information.
Step 302, firmware matching unit read the register of the second FPGA device, obtain the second equipment identification information.
Step 303, firmware matching unit generate the firmware identifiers information of firmware to be configured, and are converted into preset format Target identification information is stored in the default memory space with preset length.
Step 304, firmware matching unit are based on the second equipment identification information, read target identification from default memory space Information.
Step 305, firmware matching unit convert target identification information, obtain firmware identifiers information.
First equipment identification information of the first FPGA device is stored in the first FPGA and set by step 306, firmware matching unit In standby register.
Step 307, firmware matching unit read the register of the first FPGA device, obtain the first equipment identification information.
Wherein, the first equipment identification information of the first FPGA device is stored in the register of the first FPGA device in advance In, firmware configuration program can read first equipment identification information from the register of the first FPGA device later.
Step 308, firmware matching unit determine whether firmware identifiers information matches with the first equipment identification information.
It should be noted that step 309 or step 310-311 can be executed after step 308;
If step 309, firmware identifiers information are matched with the first equipment identification information, firmware matching unit passes through specific communications Route is by firmware configuration to be configured to the first FPGA device.
If step 310, firmware identifiers information and the first equipment identification information mismatch, firmware matching unit is generated for mentioning Show the unmatched miscue information of firmware and the first FPGA device to be configured.
Step 311, firmware matching unit output error prompt information.
It should be noted that in the present embodiment with the explanation of same steps in other embodiments and identical content, Ke Yican According to the description in other embodiments, details are not described herein again.
Firmware matching process provided by the embodiment of the present invention obtains the firmware identifiers information of firmware to be configured, obtains The first equipment identification information of primary scene programmable gate array FPGA equipment is taken, firmware identifiers information and the first equipment mark are based on Know information, determines whether firmware to be configured matches with the first FPGA device, so before carrying out firmware matching to be configured, It can determine whether the firmware to be configured matches with FPGA device to be configured in advance, avoid and deposited in existing firmware configuration Firmware it fails to match with FPGA device, will lead to FPGA device firmware configuration failure even equipment fault the case where generation, Improve the success rate of firmware configuration.
Based on previous embodiment, the firmware matching process provided in using the embodiment of the present invention is for FPGA to be configured When equipment carries out firmware configuration, firmware matching framework as shown in Figure 4 is referred to implement: as shown in Figure 4 wait match It is including file leading address, equipment identification information and firmware depositing than top grade byte that the relevant information for the firmware set, which can store, It stores up in the memory space of format (memory space is memory space corresponding with firmware file);Wherein, firmware to be configured Firmware identifiers information is stored in the corresponding byte of equipment identification information.The relevant information of first FPGA device and the 2nd FPGA are set Standby relevant information, can store is including as shown in Figure 4 its real address of register, equipment identification information and function mark Know in the registers of the storage format of bytes such as information (register is memory space corresponding with FPGA device).It needs to illustrate , the first equipment identification information of the first FPGA device can be to be read with firmware configuration program, the second FPGA device The second equipment identification information can be firmware generate program come what is read, the firmware identifiers information of firmware to be configured can be What firmware generation program and firmware configuration program collective effect were got;Between firmware identifiers information and the first equipment identification information Matching judgement and firmware configuration to be configured may each be to firmware configuration program into the first FPGA device to realize.
Based on previous embodiment, the embodiment of the present invention provides a kind of firmware matching unit, which can be applied to Fig. 1 In the firmware matching process that~3 corresponding embodiments provide, referring to Figure 5, which may include: processor 41, storage Device 42 and communication bus 43, in which:
Communication bus 43 is for realizing the communication connection between processor 41 and memory 42;
Processor 41 is for executing the firmware matcher stored in memory 42, to perform the steps of
Obtain the firmware identifiers information of firmware to be configured;
Obtain the first equipment identification information of the first FPGA device;
Based on firmware identifiers information and the first equipment identification information, whether firmware and the first FPGA device to be configured are determined Matching.
In other embodiments of the invention, processor is also used to execute obtaining for the firmware matcher stored in memory The firmware identifiers information of firmware to be configured is taken, to perform the steps of
Obtain the second equipment identification information of the second FPGA device;
Firmware to be configured corresponding with the second FPGA device is generated, and to be configured based on the acquisition of the second equipment identification information Firmware firmware identifiers information.
In other embodiments of the invention, processor is also used to execute the life of the firmware matcher stored in memory At firmware to be configured corresponding with the second FPGA device, and consolidating for firmware to be configured is obtained based on the second equipment identification information Part identification information, to perform the steps of
The firmware identifiers information of firmware to be configured is generated, and the target identification information for being converted into preset format is stored in tool There is the default memory space of preset length;
Based on the second equipment identification information, target identification information is read from default memory space;
Target identification information is converted, firmware identifiers information is obtained.
In other embodiments of the invention, processor is also used to execute the firmware matcher stored in memory and may be used also To execute following steps:
First equipment identification information of the first FPGA device is stored in the register of the first FPGA device;
Correspondingly, the acquisition primary scene that processor is also used to execute the firmware matcher stored in memory is programmable First equipment identification information of gate array FPGA equipment, to perform the steps of
The register for reading the first FPGA device obtains the first equipment identification information.
In other embodiments of the invention, processor is also used to execute the firmware matcher stored in memory and may be used also To execute following steps:
Second equipment identification information of the second FPGA device is stored in the register of the second FPGA device;
Correspondingly, processor is also used to execute the second FPGA device of acquisition of the firmware matcher stored in memory Second equipment identification information, to perform the steps of
The register for reading the second FPGA device obtains the second equipment identification information.
In other embodiments of the invention, processor is also used to execute the base of the firmware matcher stored in memory In firmware identifiers information and the first equipment identification information, determine whether firmware to be configured matches with FPGA device to be configured, To perform the steps of
Determine whether firmware identifiers information matches with the first equipment identification information;
If firmware identifiers information is matched with the first equipment identification information, firmware to be configured is matched by leased line It sets to the first FPGA device.
In other embodiments of the invention, processor is also used to execute the firmware matcher stored in memory and may be used also To perform the steps of
If firmware identifiers information and the first equipment identification information mismatch, generate for prompting firmware and first to be configured The unmatched miscue information of FPGA device;
Output error prompt information.
It should be noted that in the present embodiment step performed by processor specific implementation process, be referred to Fig. 1~ The realization process in firmware matching process that 3 corresponding embodiments provide, details are not described herein again.
Firmware matching unit provided by the embodiment of the present invention obtains the firmware identifiers information of firmware to be configured, obtains The first equipment identification information of primary scene programmable gate array FPGA equipment is taken, firmware identifiers information and the first equipment mark are based on Know information, determines whether firmware to be configured matches with the first FPGA device, so before carrying out firmware matching to be configured, It can determine whether the firmware to be configured matches with FPGA device to be configured in advance, avoid and deposited in existing firmware configuration Firmware it fails to match with FPGA device, will lead to FPGA device firmware configuration failure even equipment fault the case where generation, Improve the success rate of firmware configuration.
Based on previous embodiment, the embodiment of the present invention provides a kind of computer readable storage medium, this is computer-readable Storage medium can be applied in the firmware matching process that the corresponding embodiment in Fig. 1~3 provides, the computer readable storage medium It is stored with one or more program, which can be executed by one or more processor, to realize such as Lower step:
Obtain the firmware identifiers information of firmware to be configured;
Obtain the first equipment identification information of the first FPGA device;
Based on firmware identifiers information and the first equipment identification information, whether firmware and the first FPGA device to be configured are determined Matching.
In other embodiments of the invention, which can be executed by one or more processor The firmware identifiers information of firmware to be configured is obtained, to realize following steps:
Obtain the second equipment identification information of the second FPGA device;
Firmware to be configured corresponding with the second FPGA device is generated, and to be configured based on the acquisition of the second equipment identification information Firmware firmware identifiers information.
In other embodiments of the invention, which can be executed by one or more processor Firmware to be configured corresponding with the second FPGA device is generated, and obtains firmware to be configured based on the second equipment identification information Firmware identifiers information, to realize following steps:
The firmware identifiers information of firmware to be configured is generated, and the target identification information for being converted into preset format is stored in tool There is the default memory space of preset length;
Based on the second equipment identification information, target identification information is read from default memory space;
Target identification information is converted, firmware identifiers information is obtained.
In other embodiments of the invention, which can be executed by one or more processor, To realize following steps:
First equipment identification information of the first FPGA device is stored in the register of the first FPGA device;
Correspondingly, one or more program can be compiled by the acquisition primary scene that one or more processor executes First equipment identification information of journey gate array FPGA equipment, to realize following steps:
The register for reading the first FPGA device obtains the first equipment identification information.
In other embodiments of the invention, which can be executed by one or more processor, To realize following steps:
Second equipment identification information of the second FPGA device is stored in the register of the second FPGA device;
Correspondingly, one or more program can be by the second FPGA device of acquisition that one or more processor executes The second equipment identification information, to realize following steps:
The register for reading the second FPGA device obtains the second equipment identification information.
In other embodiments of the invention, which can be executed by one or more processor Based on firmware identifiers information and the first equipment identification information, determine firmware to be configured and FPGA device to be configured whether Match, to realize following steps:
Determine whether firmware identifiers information matches with the first equipment identification information;
If firmware identifiers information is matched with the first equipment identification information, firmware to be configured is matched by leased line It sets to the first FPGA device.
In other embodiments of the invention, which can be executed by one or more processor, To realize following steps:
If firmware identifiers information and the first equipment identification information mismatch, generate for prompting firmware and first to be configured The unmatched miscue information of FPGA device;
Output error prompt information.
It should be noted that the step of a or multiple programs can be by one or more processor in the embodiment of the present invention Explanation, the realization process being referred in the firmware matching process that the corresponding embodiment in Fig. 1~3 provides, herein no longer It repeats.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention Formula.Moreover, the present invention, which can be used, can use storage in the computer that one or more wherein includes computer usable program code The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (10)

1. a kind of firmware matching process, which comprises
Obtain the firmware identifiers information of firmware to be configured;
Obtain the first equipment identification information of primary scene programmable gate array FPGA equipment;
Based on the firmware identifiers information and first equipment identification information, the firmware to be configured and the first FPGA are determined Whether equipment matches.
2. the method according to claim 1, wherein the firmware identifiers information for obtaining firmware to be configured, Include:
Obtain the second equipment identification information of the second FPGA device;
The firmware to be configured corresponding with second FPGA device is generated, and is obtained based on second equipment identification information Take the firmware identifiers information of the firmware to be configured.
3. according to the method described in claim 2, it is characterized in that, the generation is corresponding with second FPGA device described Firmware to be configured, and believed based on the firmware identifiers that second equipment identification information obtains the firmware to be configured Breath, comprising:
The firmware identifiers information of the firmware to be configured is generated, and is converted into the target identification information storage of preset format In the default memory space with preset length;
Based on second equipment identification information, the target identification information is read from the default memory space;
The target identification information is converted, the firmware identifiers information is obtained.
4. the method according to claim 1, wherein the method also includes:
First equipment identification information of first FPGA device is stored in the register of first FPGA device;
Correspondingly, first equipment identification information for obtaining primary scene programmable gate array FPGA equipment, comprising:
The register for reading first FPGA device obtains first equipment identification information.
5. according to the method described in claim 2, it is characterized in that, the method also includes:
Second equipment identification information of second FPGA device is stored in the register of second FPGA device;
Correspondingly, second equipment identification information for obtaining the second FPGA device, comprising:
The register for reading second FPGA device obtains second equipment identification information.
6. the method according to claim 1, wherein described set based on the firmware identifiers information and described first Standby identification information, determines whether the firmware to be configured matches with the FPGA device to be configured, comprising:
Determine whether the firmware identifiers information matches with first equipment identification information;
It, will be described to be configured by leased line if the firmware identifiers information is matched with first equipment identification information Firmware configuration to first FPGA device.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
If the firmware identifiers information and first equipment identification information mismatch, generate for prompting described to be configured consolidate Part and the unmatched miscue information of first FPGA device;
Export the miscue information.
8. a kind of firmware matching unit, which is characterized in that the equipment includes: processor, memory and communication bus, in which:
The communication bus is for realizing the communication connection between processor and memory;
The processor is for executing the firmware matcher stored in memory, to perform the steps of
Obtain the firmware identifiers information of firmware to be configured;
Obtain the first equipment identification information of the first FPGA device;
Based on the firmware identifiers information and first equipment identification information, the firmware to be configured and the first FPGA are determined Whether equipment matches.
9. equipment according to claim 8, which is characterized in that the processor is also used to execute consolidating of storing in memory Part matcher, to perform the steps of
Determine whether the firmware identifiers information matches with first equipment identification information;
It, will be described to be configured by leased line if the firmware identifiers information is matched with first equipment identification information Firmware configuration to first FPGA device.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 7 Any one of described in firmware matching process the step of.
CN201910233478.1A 2019-03-26 2019-03-26 Firmware matching method, equipment and computer readable storage medium Active CN110018854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910233478.1A CN110018854B (en) 2019-03-26 2019-03-26 Firmware matching method, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910233478.1A CN110018854B (en) 2019-03-26 2019-03-26 Firmware matching method, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110018854A true CN110018854A (en) 2019-07-16
CN110018854B CN110018854B (en) 2021-10-22

Family

ID=67190018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910233478.1A Active CN110018854B (en) 2019-03-26 2019-03-26 Firmware matching method, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110018854B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110780931A (en) * 2019-09-25 2020-02-11 芯创智(北京)微电子有限公司 Self-adaptive firmware starting method and system

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050223373A1 (en) * 2004-04-05 2005-10-06 Dell Products L.P. Method for updating the firmware of a device
US20070078957A1 (en) * 2005-08-24 2007-04-05 Nokia Corporation Firmware-licensing system for binding terminal software to a specific terminal unit
DE102010016257A1 (en) * 2010-03-31 2011-10-06 Softing Ag Method for updating firmware of field programmable gate array utilized in e.g. programmable logical circuit for controlling industrial process, involves rejecting data file in dependent upon result of identifier verification
CN103838590A (en) * 2012-11-20 2014-06-04 联想(北京)有限公司 Software version upgrading method and electronic device
CN104579719A (en) * 2013-10-10 2015-04-29 中兴通讯股份有限公司 A method and system for updating firmware, upper computer and optical module
CN104951714A (en) * 2014-03-27 2015-09-30 恩智浦有限公司 Constellation based on device binding
US9229706B2 (en) * 2008-04-24 2016-01-05 Micron Technology, Inc. Method and apparatus for field firmware updates in data storage systems
US20160036956A1 (en) * 2014-07-30 2016-02-04 Google Technology Holdings LLC Contextually updating wireless device firmware
US9262153B2 (en) * 2012-06-27 2016-02-16 Microsoft Technology Licensing, Llc Firmware update discovery and distribution
CN105915401A (en) * 2016-06-29 2016-08-31 北京小米移动软件有限公司 Firmware upgrading method and device of smart hardware, and equipment
US9513900B2 (en) * 2013-04-18 2016-12-06 Otter Products, Llc Peripheral device and method for updating firmware thereof
CN106598632A (en) * 2015-10-15 2017-04-26 中兴通讯股份有限公司 Firmware upgrading method and apparatus for optical module
CN106815050A (en) * 2016-12-30 2017-06-09 深圳怡化电脑股份有限公司 A kind of firmware management method and device of embedded device
CN107438830A (en) * 2016-09-30 2017-12-05 深圳市大疆创新科技有限公司 Upgrade method, update device, updating apparatus and upgrade-system
CN107656776A (en) * 2017-10-31 2018-02-02 郑州云海信息技术有限公司 A kind of firmware update, device and the medium of FPGA accelerator cards
CN108469959A (en) * 2017-02-20 2018-08-31 西安理邦科学仪器有限公司 The firmware upgrade method and device of custodial care facility
US20180314511A1 (en) * 2017-04-28 2018-11-01 Dell Products, L.P. Automated intra-system persistent memory updates

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050223373A1 (en) * 2004-04-05 2005-10-06 Dell Products L.P. Method for updating the firmware of a device
US20070078957A1 (en) * 2005-08-24 2007-04-05 Nokia Corporation Firmware-licensing system for binding terminal software to a specific terminal unit
US9229706B2 (en) * 2008-04-24 2016-01-05 Micron Technology, Inc. Method and apparatus for field firmware updates in data storage systems
DE102010016257A1 (en) * 2010-03-31 2011-10-06 Softing Ag Method for updating firmware of field programmable gate array utilized in e.g. programmable logical circuit for controlling industrial process, involves rejecting data file in dependent upon result of identifier verification
US9262153B2 (en) * 2012-06-27 2016-02-16 Microsoft Technology Licensing, Llc Firmware update discovery and distribution
CN103838590A (en) * 2012-11-20 2014-06-04 联想(北京)有限公司 Software version upgrading method and electronic device
US9513900B2 (en) * 2013-04-18 2016-12-06 Otter Products, Llc Peripheral device and method for updating firmware thereof
CN104579719A (en) * 2013-10-10 2015-04-29 中兴通讯股份有限公司 A method and system for updating firmware, upper computer and optical module
CN104951714A (en) * 2014-03-27 2015-09-30 恩智浦有限公司 Constellation based on device binding
US20160036956A1 (en) * 2014-07-30 2016-02-04 Google Technology Holdings LLC Contextually updating wireless device firmware
CN106598632A (en) * 2015-10-15 2017-04-26 中兴通讯股份有限公司 Firmware upgrading method and apparatus for optical module
CN105915401A (en) * 2016-06-29 2016-08-31 北京小米移动软件有限公司 Firmware upgrading method and device of smart hardware, and equipment
CN107438830A (en) * 2016-09-30 2017-12-05 深圳市大疆创新科技有限公司 Upgrade method, update device, updating apparatus and upgrade-system
CN106815050A (en) * 2016-12-30 2017-06-09 深圳怡化电脑股份有限公司 A kind of firmware management method and device of embedded device
CN108469959A (en) * 2017-02-20 2018-08-31 西安理邦科学仪器有限公司 The firmware upgrade method and device of custodial care facility
US20180314511A1 (en) * 2017-04-28 2018-11-01 Dell Products, L.P. Automated intra-system persistent memory updates
CN107656776A (en) * 2017-10-31 2018-02-02 郑州云海信息技术有限公司 A kind of firmware update, device and the medium of FPGA accelerator cards

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110780931A (en) * 2019-09-25 2020-02-11 芯创智(北京)微电子有限公司 Self-adaptive firmware starting method and system

Also Published As

Publication number Publication date
CN110018854B (en) 2021-10-22

Similar Documents

Publication Publication Date Title
CN102437938B (en) Large-scale network monitoring oriented virtual deployment system and method
CN108736465A (en) A kind of future-state electric network model construction method and device
CN202373055U (en) Embedded integrated lane controller
CN104375915A (en) Method for using interaction of server motherboard BMC and CPLD for rapid diagnosis of motherboard timing
CN105182210B (en) A kind of general-purpose interface and its implementation of computation chip test device
CN103279846A (en) Project acceptance method and system based on BIM model
CN103677821A (en) Method and device for publishing software development tool code
CN109656607A (en) A kind of full address scaling method that supporting super large nominal data amount and system
CN105335316A (en) Motor assembling line serial port server based on cloud computation
CN107885517A (en) Embedded system handles device program loaded circuit
CN110018854A (en) A kind of firmware matching process, equipment and computer readable storage medium
CN208077394U (en) A kind of the communication test plate and communication test system of concentrator communication module
CN105224327A (en) A kind of embedded equipment variable exchanges transport address off-line distribution method
CN203786739U (en) Centralized decoding system through network for identity card recognizer
CN107147719A (en) A kind of hardware update method, master node, slave node and server cluster
CN107133170A (en) A kind of detection method of car-mounted terminal automatic detection black box, apparatus and system
CN207924568U (en) Fast implement the device that embedded device processor replaces upgrading
CN103762721B (en) A kind of method ensureing Electrical Instrument Transducers with Digital output-consistence
CN104713553A (en) Signal processing apparatus of micro-inertia measurement unit, and method thereof
CN104240009A (en) Method for managing wiring relation by bar code combination
CN207397017U (en) A kind of electric quantity acquisition based on optical-fibre communications merges device
CN104717093A (en) Management method of an electric installation and management system of one such installation
CN207557362U (en) A kind of full production cycle automatic test device of distribution terminal
CN103325170B (en) A kind of method and system of mechanical check lottery information
CN102629284B (en) Design method for intelligent substation communication based on intelligent device physical port modeling

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