CN109582334A - The upgrade method and device of programmable logic device - Google Patents
The upgrade method and device of programmable logic device Download PDFInfo
- Publication number
- CN109582334A CN109582334A CN201811442221.9A CN201811442221A CN109582334A CN 109582334 A CN109582334 A CN 109582334A CN 201811442221 A CN201811442221 A CN 201811442221A CN 109582334 A CN109582334 A CN 109582334A
- Authority
- CN
- China
- Prior art keywords
- file
- upgrade
- programmable logic
- upgrade file
- logic 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
This specification provides the upgrade method and device of a kind of programmable logic device, which comprises obtains total upgrade file of programmable logic device;Wherein, total upgrade file includes the upgrade file and its file information of the first file verification value, each programmable logic device;The second file verification value is calculated according to the upgrade file and its file information, and total upgrade file is verified with the second file verification value according to the first file verification value;After verification passes through, each programmable logic device is upgraded according to the upgrade file and its file information.The upgrade file of multiple programmable logic device is packaged into a total upgrade file by the program, and is verified using matching verification scheme, and the upgrading of equipment programmable logic device can be improved in the defect that upgrading can be caused to fail to avoid file error of transmission.
Description
Technical field
This specification be related to computer software technical field more particularly to a kind of programmable logic device upgrade method and
Device.
Background technique
Programmable logic device is widely used in electronic equipment of various, with Complex Programmable Logic Devices
For (Complex Programmable Logic Device, abbreviation CPLD), CPLD is that one kind can be according to customer demand structure
The programmable logic device built is from PAL (Programmable Array Logic, programmable logic array) device and GAL
(Generic Array Logic, Universal Array Logic) device development comes out, be a kind of user can according to respective need and from
The digital integrated electronic circuit of row constitutive logic function.Its basic design method is by Integrated Development software platform, with schematic diagram, firmly
The methods of part description language generates corresponding file destination, code is transmitted in objective chip by download cable, realization is set
The digital display circuit of meter.In the plug-in card of frame type equipment, it is typically necessary and is done at veneer digital signal using programmable logic device
Reason, such as power-on and power-off, chip reset, the interruption convergence, interface conversion of plug-in card.
With internet, the accelerated development of cloud computing and big data industry, each enterprise network computer room, data center scale and
Construction speed is all being exponentially increased.And as core equipment therein, frame type equipment (such as it is mainframe frame-type switch, anti-
Wall with flues, storage equipment etc.) with the scalability of powerful performance and height, importance also rapidly rises.Programmable logic device
Although not being main business processing chip, play an important role in veneer.The version of programmable logic device needs
Known to upgrading solves the problems, such as, or increase new function etc. according to customer demand.Therefore, programmable logic device is scalable
Property and upgrading reliability it is particularly important;And if upgrading failure, or upgrade wrong version, it is more likely that cause plug-in card without
Method starting, it is serious to may result in plug-in card damage.
It is usually that will use in the plug-in card device for on-line upgrading of programmable logic to frame type equipment in traditional technical solution
The online upgrading file that manufacturer's compilation tool generates is downloaded in each plug-in card by the management network port of master control borad via long-range pipe
Reason network interface issues the programmable logic device upgrade command of corresponding plug-in card, upgrades on plug-in card to corresponding to.The technical solution is held
The problem of bit bit flipping, file and plug-in card, which mismatch, or file is imperfect when being also easy to produce file transmission leads to upgrading failure.
Summary of the invention
To overcome the problems in correlation technique, present description provides a kind of upgrade methods of programmable logic device
And device.
According to this specification embodiment in a first aspect, provide a kind of upgrade method of programmable logic device, the side
Method includes:
Obtain total upgrade file of programmable logic device;Wherein, total upgrade file include the first file verification value,
The upgrade file and its file information of each programmable logic device;
The second file verification value is calculated according to the upgrade file and its file information, and according to first file verification
Value verifies total upgrade file with the second file verification value;
After verification passes through, each programmable logic device is risen according to the upgrade file and its file information
Grade.
In one embodiment, the step of total upgrade file for obtaining programmable logic device, comprising:
Total upgrade file that upgrade server issues is received by long-range management network port, and total upgrade file is downloaded
Into the memory of the master control borad of frame type equipment.
In one embodiment, total upgrade file includes index area and file area;
Wherein, the index area is used to store the file information of the first file verification value and the upgrade file;Institute
File area is stated for storing the upgrade file.
In one embodiment, the upgrade file includes that the programmable logic device of every piece of plug-in card of frame type equipment is corresponding
Upgrade file;
The file information of the upgrade file includes: of the plug-in card ID of every piece of plug-in card of frame type equipment, the upgrade file
Beginning position, file size and file type;
The first file verification value is that the other information in total upgrade file in addition to check value is calculated according to agreement verification
The check value that method generates.
In one embodiment, the plug-in card ID, for indicating identification frame type equipment difference plug-in card;
The file initial position, for indicating the upgrade file of corresponding with plug-in card ID programmable logic device
Store initial position;
The file size, for indicate programmable logic device corresponding with the plug-in card ID upgrade file it is big
It is small;
The file type, the file of the upgrade file for indicating programmable logic device corresponding with the plug-in card ID
Type.
In one embodiment, it is described according to the upgrade file and its file information to each programmable logic device into
The step of row upgrading, comprising:
Upgrade command is received by the long-range management network port, and obtains the upgrading of corresponding plug-in card according to the upgrade command
File and its file information;
The programmable logic device of corresponding plug-in card is upgraded according to the upgrade file and its file information.
In one embodiment, it is described according to the upgrade file and its file information to the programmable logic of corresponding plug-in card
The step of device is upgraded, comprising:
The plug-in card ID of plug-in card to be upgraded is obtained according to the file information;
Corresponding upgrade file is issued to according to plug-in card ID in the memory of the managing chip of plug-in card;Wherein, the management
Chip, which downloads to upgrade file in the programmable logic device of plug-in card, to be upgraded.
In one embodiment, the step that the second file verification value is calculated according to the upgrade file and its file information
Suddenly, comprising:
The first file verification value is extracted from total upgrade file and is saved;
Using other fields in total upgrade file in addition to the first file verification value corresponding field and according to institute
It states agreement check algorithm and calculates the second file verification value.
In one embodiment, it is described according to the first file verification value and the second file verification value to described total
The step of upgrade file is verified, comprising:
The first file verification value is compared with the second file verification value;
If equal, determine that total upgrade file verification passes through, otherwise re-download total upgrade file.
According to the second aspect of this specification embodiment, a kind of update device of programmable logic device is provided, comprising:
Module is obtained, for obtaining total upgrade file of programmable logic device;Wherein, total upgrade file includes the
The upgrade file and its file information of one file verification value, each programmable logic device;
Correction verification module, for calculating the second file verification value according to the upgrade file and its file information, and according to institute
It states the first file verification value and total upgrade file is verified with the second file verification value;
Upgraded module, for being patrolled according to the upgrade file and its file information each may be programmed after verification passes through
Device is collected to be upgraded.
According to the third aspect of this specification embodiment, a kind of frame type equipment is provided, it is more including master control borad and its control
A plug-in card equipped with programmable logic device, the master control borad is equipped with processor, and can run computer journey on a processor
Sequence, wherein the processor realizes following method when executing described program:
Obtain total upgrade file of programmable logic device;Wherein, total upgrade file include the first file verification value,
The upgrade file and its file information of each programmable logic device;
The second file verification value is calculated according to the upgrade file and its file information, and according to first file verification
Value verifies total upgrade file with the second file verification value;
After verification passes through, each programmable logic device is risen according to the upgrade file and its file information
Grade.
The technical solution that the embodiment of this specification provides can include the following benefits:
It by obtaining programmable logic device include the first file verification value, each programmable in this specification embodiment
The upgrade file of logical device and its total upgrade file of the file information calculate the second text according to upgrade file and its file information
Part check value combines the first file verification value to verify total upgrade file;To each programmable logic device after verification passes through
Part is upgraded.The upgrade file of multiple programmable logic device is packaged into a total upgrade file by the program, and is being transmitted
After verified, verification by being upgraded again, can be with so as to the defect for avoiding file error of transmission that upgrading is caused to fail
Improve the accuracy and efficiency of equipment programmable logic device upgrading.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
This specification can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the reality for meeting this specification
Example is applied, and is used to explain the principle of this specification together with specification.
Fig. 1 is the structural schematic diagram of this specification frame type equipment shown according to an exemplary embodiment.
Fig. 2 is a kind of this specification stream of the upgrade method of programmable logic device shown according to an exemplary embodiment
Cheng Tu.
Fig. 3 is the form schematic diagram of this specification total upgrade file shown according to an exemplary embodiment.
Fig. 4 is this specification upgrading flow diagram shown according to an exemplary embodiment.
Fig. 5 is a kind of this specification frame of the update device of programmable logic device shown according to an exemplary embodiment
Figure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with this specification.On the contrary, they are only and such as institute
The example of the consistent device and method of some aspects be described in detail in attached claims, this specification.
It is only to be not intended to be limiting this explanation merely for for the purpose of describing particular embodiments in the term that this specification uses
Book.The "an" of used singular, " described " and "the" are also intended to packet in this specification and in the appended claims
Most forms are included, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein is
Refer to and includes that one or more associated any or all of project listed may combine.
It will be appreciated that though various information may be described using term first, second, third, etc. in this specification, but
These information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not taking off
In the case where this specification range, the first information can also be referred to as the second information, and similarly, the second information can also be claimed
For the first information.Depending on context, word as used in this " if " can be construed to " ... when " or
" when ... " or " in response to determination ".
Next this specification embodiment is described in detail.
The upgrade method of the programmable logic device of this specification embodiment can be applied in frame type equipment, in equipment
Programmable logic device (such as CPLD) on plug-in card is upgraded.Refering to what is shown in Fig. 1, Fig. 1 is the structural schematic diagram of frame type equipment,
Frame type equipment includes master control borad, and master control borad is equipped with management network port, has multiple plates in equipment, have one can compile on every piece of plate
Journey logical device;It is the elaboration programmable logic device upgrading scheme by taking frame type equipment plug-in card as an example in figure, it is as shown in the figure, first
The online upgrading file of programmable logic device is first generated using manufacturer's compilation tool in upgrade server, frame type equipment passes through
The management network port of master control borad downloads in the memory of master control borad, then issues the programmable of corresponding plug-in card by long-range management network port and patrol
Volume device upgrade command, the managing chip being issued to upgrade file by control channel (such as PCIe, GE) on corresponding plug-in card
In memory, managing chip is downloaded to programmable logic device by bus (such as I2C, SPI, JTAG, localbus) and is risen
Grade.
It is a kind of this specification upgrading of programmable logic device shown according to an exemplary embodiment with reference to Fig. 2, Fig. 2
The flow chart of method, mainly includes the following steps:
In step S101, total upgrade file of programmable logic device is obtained;Wherein, total upgrade file includes first
File verification value, the upgrade file of each programmable logic device and its file information.
In this step, the upgrade file of online programmable logic device is mainly downloaded from upgrade server, the liter
Grade file is the total upgrade file for including each programmable logic device in frame type equipment;In total upgrade file in addition to it is each can
Outside the upgrade file of programmed logic device, the file information of upgrade file and the first file school for subsequent check are further comprised
Test value.
Frame type equipment schematic diagram as shown in connection with fig. 1 can generate total upgrade file in upgrade server first, this is total
Upgrade file includes the upgrade file and its file information of the first file verification value, each programmable logic device;Relative to biography
The online upgrading file of system, signified total upgrade file in this specification, the composing software that manufacturer's offer can be used are given birth to respectively
At the online upgrading file of every piece of plug-in card, then the device for on-line upgrading of programmable logic file of every piece of plug-in card is calculated according to agreement
Method is merged into a total upgrade file.
In one embodiment, for total upgrade file, refering to what is shown in Fig. 3, two regions can be set, first is that a index
Area, the index area are used to store the file information of the first file verification value and the upgrade file;The other is file area,
This document area is for storing the upgrade file.
Further, upgrade file may include the corresponding upgrading text of programmable logic device of every piece of plug-in card of frame type equipment
Part;First file verification value is other information in total upgrade file in addition to check value according to agreement checking algorithm (such as CRC32
Checking algorithm) generate check value.The file information of upgrade file may include: the plug-in card ID of every piece of plug-in card of frame type equipment, institute
State initial position, file size and the file type etc. of upgrade file.The ground of each plug-in card can be recognized by plug-in card ID
Location can match corresponding upgrade file, and avoiding upgrade file and plug-in card mismatch causes to upgrade unsuccessful problem.
As embodiment, in the file information of upgrade file, specific effect is as follows:
Plug-in card id field, for indicating the field of identification frame type equipment difference plug-in card;I.e. frame type equipment is different for identification
Unique field of veneer can add if muti-piece plug-in card shares a programmable logic device program in upgrade file
Multiple and different ID.
File initial position field, for indicating the upgrade file of corresponding with plug-in card ID programmable logic device
Store initial position.
File size field, for indicate programmable logic device corresponding with the plug-in card ID upgrade file it is big
It is small.
File type field, the file of the upgrade file for indicating programmable logic device corresponding with the plug-in card ID
Type.
In Fig. 3, Fig. 3 is the form schematic diagram of total upgrade file, and upgrade file format is shown in figure, total upgrading text
The first file verification value is contained in part, is recorded as file verification field hereof, and frame type equipment includes plug-in card A~X, file
Information records plug-in card ID, the initial position of upgrade file, file size and file type information respectively.The upgrading of plug-in card A~X
File is respectively stored in file area.
In addition, caused by being mismatched in order to avoid mistake that may be present in document transmission process and file and plug-in card
Accidentally the problem of upgrading, in practical application, plug-in card ID and file verification field can also be added in the filename of upgrade file,
File can be judged according to filename in this way with the presence or absence of mistake, each document upgrading requires modification filename, if
When muti-piece difference plug-in card shares a program, modifying filename according to plug-in card ID can just upgrade, and this scheme realizes that process can
With more simple.
In one embodiment, for obtaining total upgrade file the step of, frame type equipment structure as shown in connection with fig. 1 can
To receive total upgrade file that upgrade server issues by long-range management network port, and total upgrade file is downloaded into frame
It is subsequent that total upgrade file is verified in the memory of the master control borad of equipment.
In step S102, the second file verification value is calculated according to the upgrade file and its file information, and according to described
First file verification value verifies total upgrade file with the second file verification value.
In the step, the second file verification value can be calculated using upgrade file and its file information, then utilize
First file verification value verifies total upgrade file with the second file verification value.
In one embodiment, the step of calculating the second file verification value may include as follows:
The first file verification value is extracted from total upgrade file and is saved;Using being removed in total upgrade file
Other fields outside the first file verification value corresponding field simultaneously calculate second file according to the agreement check algorithm
Check value;Wherein, the agreement check algorithm is consistent using checking algorithm with the first file verification value, such as CRC32 checking algorithm.
For carrying out school to total upgrade file according to the first file verification value and the second file verification value
The step of testing may include as follows:
The first file verification value is compared with the second file verification value;If equal, determine described total
Upgrade file verification passes through, and otherwise can first prompt total upgrade file mistake, then re-download total upgrade file.
In step S103, after verification passes through, according to the upgrade file and its file information to each programmable logic
Device is upgraded.
In one embodiment, the step of upgrading to each programmable logic device of step S103, can pass through
The long-range management network port receives upgrade command, and the upgrade file and its file of corresponding plug-in card are obtained according to the upgrade command
Information;Then the programmable logic device of corresponding plug-in card is upgraded according to the upgrade file and its file information.
After through verification, upgrade server can send instructions down, and frame type equipment receives upgrading by long-range management network port
Instruction, can perform the next step updating operation, if verification is not over needing to transmit total upgrade file again at this time.
As embodiment, above-mentioned escalation process can be specific as follows:
The plug-in card ID of plug-in card to be upgraded is obtained according to the file information;Corresponding upgrade file is issued according to plug-in card ID
Into the memory of the managing chip of plug-in card;Wherein, upgrade file is downloaded to the programmable logic device of plug-in card by the managing chip
Upgraded in part.
Upgrade server issues upgrade command by long-range management network port, and upgrade command is issued to after master control borad, master control
Plate obtains the plug-in card ID of plug-in card to be upgraded according to upgrade command, and corresponding upgrade file is issued to the pipe of plug-in card according to plug-in card ID
In the memory for managing chip, the managing chip on plug-in card is downloaded to upgrade file in programmable logic device by low speed bus,
Complete upgrading.
Refering to what is shown in Fig. 4, Fig. 4 is upgrading flow diagram, upgrade server can be by the programmable of frame type equipment plug-in card
Logic device on-line upgrade file is merged into a total upgrade file, then downloads files into master control by long-range management network port
In the memory of plate, then by frame type equipment master control borad according to agreement checking algorithm file integrality and correctness are verified,
Verification isolates the online upgrading file of all plug-in cards after passing through, then is issued correct file by unique ID of every piece of plug-in card
It into every piece of plug-in card, realizes and upgrades corresponding programmable logic device, set to realize by a total upgrade file upgrading frame
The function of the programmable logic device of standby all plug-in cards is examined upgrade file correctness by the checking algorithm of agreement, is avoided
Mistake in document transmission process leads to the problem of upgrading failure.
Further, according to the unique ID for increasing every piece of plug-in card in total upgrade file, corresponding upgrade file is matched, is kept away
Exempt from upgrade file and the unmatched problem of plug-in card, improves the accuracy and efficiency of equipment programmable logic device upgrading.
As shown in figure 5, Fig. 5 is a kind of this specification liter of programmable logic device shown according to an exemplary embodiment
The block diagram of stage arrangement, described device include:
Module 101 is obtained, for obtaining total upgrade file of programmable logic device;Wherein, total upgrade file packet
Include the upgrade file and its file information of the first file verification value, each programmable logic device;
Correction verification module 102 is used for according to the upgrade file and its file information the second file verification value of calculating, and according to
The first file verification value verifies total upgrade file with the second file verification value;
Upgraded module 103, for may be programmed according to the upgrade file and its file information to each after verification passes through
Logical device is upgraded.
The function of modules and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The module of explanation may or may not be physically separated, and the component shown as module can be or can also be with
It is not physical module, it can it is in one place, or may be distributed on multiple network modules.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize this specification scheme.Those of ordinary skill in the art are not
In the case where making the creative labor, it can understand and implement.
A kind of frame type equipment is also provided according to this specification embodiment, is equipped with including at least master control borad and its multiple of control
Managing chip also can be set on plug-in card for the plug-in card of programmable logic device, and the master control borad is equipped with processor, and can locate
Computer program is run on reason device, wherein the processor realizes following method when executing described program:
Obtain total upgrade file of programmable logic device;Wherein, total upgrade file include the first file verification value,
The upgrade file and its file information of each programmable logic device;
The second file verification value is calculated according to the upgrade file and its file information, and according to first file verification
Value verifies total upgrade file with the second file verification value;
After verification passes through, each programmable logic device is risen according to the upgrade file and its file information
Grade.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment
It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable
Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can
With or may be advantageous.
Those skilled in the art will readily occur to this specification after considering specification and practicing the invention applied here
Other embodiments.This specification is intended to cover any variations, uses, or adaptations of this specification, these modifications,
Purposes or adaptive change follow the general principle of this specification and do not apply in the art including this specification
Common knowledge or conventional techniques.The description and examples are only to be considered as illustrative, the true scope of this specification and
Spirit is indicated by the following claims.
It should be understood that this specification is not limited to the precise structure that has been described above and shown in the drawings,
And various modifications and changes may be made without departing from the scope thereof.The range of this specification is only limited by the attached claims
System.
The foregoing is merely the preferred embodiments of this specification, all in this explanation not to limit this specification
Within the spirit and principle of book, any modification, equivalent substitution, improvement and etc. done should be included in the model of this specification protection
Within enclosing.
Claims (10)
1. a kind of upgrade method of programmable logic device, comprising:
Obtain total upgrade file of programmable logic device;Wherein, total upgrade file includes the first file verification value, each
The upgrade file and its file information of programmable logic device;
Calculate the second file verification value according to the upgrade file and its file information, and according to the first file verification value with
The second file verification value verifies total upgrade file;
After verification passes through, each programmable logic device is upgraded according to the upgrade file and its file information.
2. the method according to claim 1, wherein the total upgrade file for obtaining programmable logic device
Step, comprising:
Total upgrade file that upgrade server issues is received by long-range management network port, and total upgrade file is downloaded into frame
In the memory of the master control borad of formula equipment.
3. according to the method described in claim 2, it is characterized in that, total upgrade file includes index area and file area;
Wherein, the index area is used to store the file information of the first file verification value and the upgrade file;The text
Part area is for storing the upgrade file.
4. according to the method described in claim 3, it is characterized in that, the upgrade file include every piece of plug-in card of frame type equipment can
The corresponding upgrade file of programmed logic device;
The file information of the upgrade file includes: the start bit of the plug-in card ID of every piece of plug-in card of frame type equipment, the upgrade file
It sets, file size and file type;
The first file verification value is that the other information in total upgrade file in addition to check value is raw according to agreement checking algorithm
At check value.
5. according to the method described in claim 4, it is characterized in that, the plug-in card ID, identifies that frame type equipment is different for indicating
Plug-in card;
The file initial position, the storage of the upgrade file for indicating programmable logic device corresponding with the plug-in card ID
Initial position;
The file size, the size of the upgrade file for indicating programmable logic device corresponding with the plug-in card ID;
The file type, the files classes of the upgrade file for indicating programmable logic device corresponding with the plug-in card ID
Type.
6. according to the method described in claim 5, it is characterized in that, it is described according to the upgrade file and its file information to each
The step of a programmable logic device is upgraded, comprising:
Upgrade command is received by the long-range management network port, and obtains the upgrade file of corresponding plug-in card according to the upgrade command
And its file information;
The programmable logic device of corresponding plug-in card is upgraded according to the upgrade file and its file information.
7. according to the method described in claim 6, it is characterized in that, it is described according to the upgrade file and its file information to phase
The step of answering the programmable logic device of plug-in card to be upgraded, comprising:
The plug-in card ID of plug-in card to be upgraded is obtained according to the file information;
Corresponding upgrade file is issued to according to plug-in card ID in the memory of the managing chip of plug-in card;Wherein, the managing chip
Upgrade file is downloaded in the programmable logic device of plug-in card and is upgraded.
8. according to the method described in claim 6, it is characterized in that, described calculate according to the upgrade file and its file information
The step of second file verification value, comprising:
The first file verification value is extracted from total upgrade file and is saved;
Using other fields in total upgrade file in addition to the first file verification value corresponding field and according to it is described about
Regular inspection checking method calculates the second file verification value.
9. according to the method described in claim 8, it is characterized in that, described according to the first file verification value and described second
The step of file verification value verifies total upgrade file, comprising:
The first file verification value is compared with the second file verification value;
If equal, determine that total upgrade file verification passes through, otherwise re-download total upgrade file.
10. a kind of update device of programmable logic device, the device include:
Module is obtained, for obtaining total upgrade file of programmable logic device;Wherein, total upgrade file includes the first text
Part check value, the upgrade file of each programmable logic device and its file information;
Correction verification module, for calculating the second file verification value according to the upgrade file and its file information, and according to described the
One file verification value verifies total upgrade file with the second file verification value;
Upgraded module, for after verification passes through, according to the upgrade file and its file information to each programmable logic device
Part is upgraded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811442221.9A CN109582334B (en) | 2018-11-29 | 2018-11-29 | Upgrading method and device for programmable logic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811442221.9A CN109582334B (en) | 2018-11-29 | 2018-11-29 | Upgrading method and device for programmable logic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109582334A true CN109582334A (en) | 2019-04-05 |
CN109582334B CN109582334B (en) | 2022-04-26 |
Family
ID=65925592
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811442221.9A Active CN109582334B (en) | 2018-11-29 | 2018-11-29 | Upgrading method and device for programmable logic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109582334B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111381851A (en) * | 2020-03-03 | 2020-07-07 | 上海御渡半导体科技有限公司 | Batch upgrading method of multi-firmware distributed board card based on special codes |
CN112559017A (en) * | 2019-09-10 | 2021-03-26 | 北京嗨动视觉科技有限公司 | Program upgrading method and device of card-inserting type equipment, card-inserting type equipment and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130132700A1 (en) * | 2011-07-21 | 2013-05-23 | Huawei Technologies Co., Ltd. | Method and system for dynamically upgrading a chip and baseboard management controller |
US20150339118A1 (en) * | 2014-05-20 | 2015-11-26 | Huawei Technologies Co., Ltd. | Upgrade Processing Method, Apparatus and System for CPLD |
CN105468389A (en) * | 2014-09-04 | 2016-04-06 | 中兴通讯股份有限公司 | CPLD-based remote upgrading control method and apparatus |
CN105487888A (en) * | 2015-11-26 | 2016-04-13 | 武汉光迅科技股份有限公司 | Method for generating upgrade file in system upgrade and/or application upgrade |
CN107181971A (en) * | 2017-05-22 | 2017-09-19 | 华为软件技术有限公司 | The upgrade method and relevant device of a kind of IPTV terminal |
CN107562434A (en) * | 2016-06-30 | 2018-01-09 | 中兴通讯股份有限公司 | Preparation method, upgrade method, device and the equipment of upgrade file |
-
2018
- 2018-11-29 CN CN201811442221.9A patent/CN109582334B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130132700A1 (en) * | 2011-07-21 | 2013-05-23 | Huawei Technologies Co., Ltd. | Method and system for dynamically upgrading a chip and baseboard management controller |
US20150339118A1 (en) * | 2014-05-20 | 2015-11-26 | Huawei Technologies Co., Ltd. | Upgrade Processing Method, Apparatus and System for CPLD |
CN105468389A (en) * | 2014-09-04 | 2016-04-06 | 中兴通讯股份有限公司 | CPLD-based remote upgrading control method and apparatus |
CN105487888A (en) * | 2015-11-26 | 2016-04-13 | 武汉光迅科技股份有限公司 | Method for generating upgrade file in system upgrade and/or application upgrade |
CN107562434A (en) * | 2016-06-30 | 2018-01-09 | 中兴通讯股份有限公司 | Preparation method, upgrade method, device and the equipment of upgrade file |
CN107181971A (en) * | 2017-05-22 | 2017-09-19 | 华为软件技术有限公司 | The upgrade method and relevant device of a kind of IPTV terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559017A (en) * | 2019-09-10 | 2021-03-26 | 北京嗨动视觉科技有限公司 | Program upgrading method and device of card-inserting type equipment, card-inserting type equipment and system |
CN111381851A (en) * | 2020-03-03 | 2020-07-07 | 上海御渡半导体科技有限公司 | Batch upgrading method of multi-firmware distributed board card based on special codes |
WO2021174860A1 (en) * | 2020-03-03 | 2021-09-10 | 上海御渡半导体科技有限公司 | Special code-based method for batch upgrading multi-firmware distributed board card |
CN111381851B (en) * | 2020-03-03 | 2023-11-24 | 上海御渡半导体科技有限公司 | Batch upgrading method of multi-firmware distributed board card based on special codes |
Also Published As
Publication number | Publication date |
---|---|
CN109582334B (en) | 2022-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104111885A (en) | Method and device for verifying interface test results | |
CN109408247A (en) | Interaction data processing method and device | |
WO2014089435A1 (en) | Systems and methods for testing a financial trading system | |
CN111258832B (en) | Interface parameter verification method, device, equipment and medium | |
CN109582334A (en) | The upgrade method and device of programmable logic device | |
WO2022142040A1 (en) | Billing data verification method and apparatus, computer device and storage medium | |
CN113138808A (en) | Integration method, integration device, computer equipment and storage medium | |
CN103425580A (en) | Method for automatically and rapidly obtaining and calibrating configuration information of cloud computing device | |
CN111629200A (en) | Method and device for rapidly detecting differential packet reliability and readable storage medium | |
CN115544968B (en) | Method, system, equipment and storage medium compatible with multi-project equipment tree | |
CN112567375A (en) | Format verification method, information identification method, device and storage medium | |
CN114091391A (en) | Chip verification method, device, equipment and storage medium | |
CN111080209B (en) | BOM verification method, system, device and storage medium | |
CN109800565A (en) | Software upgrading method and terminal equipment | |
CN113704120A (en) | Data transmission method, device, equipment and storage medium | |
EP3734491A1 (en) | Method, apparatus, device, and medium for implementing simulator | |
KR101737575B1 (en) | Method and device for verifying data based on sql sentences generated automatically | |
CN109669872A (en) | A kind of verification method and device | |
CN111857664B (en) | Application development method, device, equipment and storage medium | |
US20230367923A1 (en) | Framework for system simulation using multiple simulators | |
CN114444423B (en) | Data processing method and system based on verification platform and electronic equipment | |
CN112860284B (en) | SP upgrade package generation method and device for equipment remote upgrade and computer equipment | |
CN118550840A (en) | Firmware analysis and verification method, jig, computer equipment and storage medium | |
CN116400903A (en) | Verification platform code generation method, equipment and medium based on pin multiplexing table | |
CN116976259A (en) | Fool-proof method, device, equipment and medium of FPGA development board |
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 |