CN109840098A - A kind of retroactive method and system of embedded software - Google Patents
A kind of retroactive method and system of embedded software Download PDFInfo
- Publication number
- CN109840098A CN109840098A CN201910032584.3A CN201910032584A CN109840098A CN 109840098 A CN109840098 A CN 109840098A CN 201910032584 A CN201910032584 A CN 201910032584A CN 109840098 A CN109840098 A CN 109840098A
- Authority
- CN
- China
- Prior art keywords
- software
- burning
- project
- coding
- fwid
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of retroactive method of embedded software and systems, belong to embedded system field.A kind of retroactive method of embedded software, it includes first establishing four codings of design: project code PID, Software Coding FWID, hardware encoding HWID and burning encode BurnID, software and hardware is associated with by project simultaneously, during burning, burning movement and software, hardware and project are subjected to information association, retrospect for the later period, improve the closure and safety of entire trace back process, significantly reduce error rate, the effectively state of control embedded device and software Life cycle, improves working efficiency.A kind of traceability system of embedded software, including the Back Administration Module mutually communicated and replication tool module, the system for executing above-mentioned retroactive method, also achieve embedded device from project, to hardware, to software version, to software source codes, the retrospect of the full spectrum information acted to burning.
Description
Technical field
The invention belongs to embedded system fields, specially the control technical field of embedded software and equipment, more specifically
Ground is said, the retroactive method and system of a kind of embedded software are related to.
Background technique
With the fast development of electronic information technology, all trades and professions are more and more for the demand of embedded product.Existing
Have in technology, in the production of embedded hardware equipment, generally requires required firmware burning into embedded device.Work as needs
When producing embedded product in batches, burn recording software mainly by by software subsidiary company Wen Kong department or research and development department's related computer or
It is copied on server on batch CD writers or production labor control machine, then chip is put into batch CD writers or by specific work
Dress, deck and production labor control machine connect, and then carry out burning program.In this process, inevitably will appear because of software version
When this problem, operator's operational issue or recording device problem etc. cause embedded hardware equipment not to be available or use one section
Between after go wrong, it is big for solving the above problems if each step of equipment whole life cycle accurately can be traced back to quickly
It is helpful.And in large batch of process of producing product, the prior art is difficult to trace the burning of which product or burning
The software of which kind of version is missed a bit so that some products of operator be easy to cause to be repeated burning, or because is difficult to chase after
The problem of tracing back occurs when the product needs to update or repair, it is difficult to the original burning information of the control device product, production
Low efficiency.
China Patent Publication No.: CN102930378A, publication date: the patent document of 2013-02-13 discloses a kind of bar code
Automatic printing and management system, it includes database server, terminal computer and terminal with database server data connection
The programmer of computer data connection, and the bar code printer with programmer data connection;Foregoing routine cd-rom recorder
After burning program, bar code printer automatic printing goes out the corresponding version bar code of foregoing routine;Aforementioned terminals computer has item
Code creation module, the bar code created can completely show material information.The invention has the beneficial effect that bar code printer and plate
Card cd-rom recorder is connected, after burning program can automatic printing bar code, greatly reduce by hand printing bar code error rate, improve
Production efficiency;Using bar code opposite depot management, found, maintenance storeroom synthetic relationship, material information is complete, can be according to production
Product bar code, name of product, software version number, ownership place carry out material retrieval, trace convenient for product problem.But the invention is still deposited
In deficiency: entire management system is much located also to need artificial intervention, such as artificial burning, artificial joint strip code etc., and artificial intervention is difficult
Exempt to will increase the probability of error, therefore the invention reduces in the closure of the system of raising and need to be improved in error rate.
China Patent Publication No.: CN105159735A, publication date: the patent document of 2015-12-16 discloses one kind and is used for
The control method of electronic product production process software burning, it by using software code as virtual material and entity material together
It is stored in a warehouse and is managed, and be managed and controlled by the software code management module of company's manufacturing management system, realize software
The control such as code receiving when producing burning, burning, destruction, record, so that software code also becomes a kind of material, it will not
Other versions or other product softwares are burnt in the product currently produced, the chip of burning is recorded and counted,
The case where burning and burning omission will not be duplicated again, and destroy software code after the completion of burning, guarantee software code
Safety and uniqueness.There are still certain deficiencies for the invention: 1) its can only specific on the identical product of a collection of model, and
Different product under unified model can not accomplished to trace well;2) only accomplish to trace software code, without
The association of software and hardware equipment is established, hardware and software device information tracing checks inconvenience;3) there is still a need for improve entire control system
The closure of system.
Summary of the invention
1, it to solve the problems, such as
For in the administrative skill of existing embedded software and equipment, full life can not be carried out to embedded device and software
Period supervision and the not high problem for leading to equipment confusion corresponding with software version of management system closure, the present invention provide one
The retroactive method and system of kind embedded software.The control mode of embedded software of the invention can accomplish embedded software
It monitors and traces with the Life cycle of equipment, and entire managing and control system closure is high, error rate is small.
2, technical solution
To solve the above problems, the present invention adopts the following technical scheme that.
A kind of retroactive method of embedded software, comprising the following steps:
A) it establishes and records project information and the corresponding project code PID of the project, the project information includes software
List and list of devices;
B1 software source code file corresponding with the project) is uploaded, the compiled generation of software source code file can
Recordable paper, establishes and records Software Coding FWID corresponding with the writable file, while by the writable File
And Software Coding FWID is added in the software matrix under the project;
B2) if software needs to update, the software source code file of update is uploaded, recompilates and generates new writable file,
And corresponding new Software Coding FWID is established, the writable file of the update and the corresponding new Software Coding FWID are added
It adds in the software matrix under the project, the software selection in former software matrix retains or disabling;
C) it establishes and records the corresponding hardware encoding HWID of every equipment;
D1 it) identifies project code PID, obtains the writable file and Software Coding FWID for needing to be embedded in, burning is submitted to ask
After asking and completing burning, generates and record burning coding BurnID corresponding with the secondary burning movement;By the writable file
And the Software Coding FWID, burning coding BurnID are burned onto the equipment, the facility information and its hardware together
Coding HWID is added into the list of devices under the project;
D2) if equipment needs burning again, by the hardware encoding HWID of identification equipment, corresponding project code PID is found,
It inquires and selects the software under the corresponding project, after submitting burning to request and complete burning, generate and act phase with the secondary burning
The burning coding BurnID answered;Together by the writable file and the Software Coding FWID, burning coding BurnID
It is burned onto the equipment.
Control in order to be more convenient for identifying to project, convenient for system to whole projects, it is preferable that project described in a)
Information further includes project verification date, customer name and equipment purposes.
Classify for the convenience of the users to disparity items and manage, also system is facilitated quickly to identify respective item, it is preferable that a)
Described in project code PID classified by client's classification or device type.
In order to save coding process, it is preferable that hardware encoding HWID described in c) is chip factory number in the equipment.
In order to reduce the error rate for being manually entered coding, it is preferable that d1) in project code PID identification method be barcode scanning
Identification.
The relevant information for encoding retrospect burning movement by burning for the convenience of the users, where decision problem, it is preferable that
D1 in) and d2) when submitting burning request, need submission time, station number, operator, operation burning movement computerized information
And the hardware encoding HWID, the burning coding BurnID of recording device is needed also to be associated with burning result.
Further intuitively to show software release, the time of burning or software version number, burning number information, preferably
It include temporal information and serial number, the time in the number of ground, the Software Coding FWID and burning coding BurnID
Date Hour Minute Second when information is operation.
A kind of traceability system of embedded software, the traceability system of the embedded software include:
Back Administration Module, for establishing and recording project information and the corresponding project code PID of the project, the item
Mesh information includes software matrix and list of devices;The corresponding hardware encoding HWID of every equipment of the list of devices passes through backstage
Management module is established and is recorded;
The Back Administration Module includes source code trustship unit, and the source code trustship unit is for uploading and the project pair
The sound code file answered, the sound code file generate writable file by compiling, and the writable file is uploaded to the backstage
When management module, Software Coding FWID corresponding with the writable file is established by the Back Administration Module, the backstage is managed
The writable file and Software Coding FWID are added in the software matrix under the project by reason module;
If software needs to update, the source code of update is uploaded to the source code trustship module, the sound code file of the update passes through
Compiling generates the writable file updated, the Back Administration Module generate it is corresponding with the writable file of the update newly
Software Coding FWID, and the writable file of the update and the corresponding new Software Coding FWID are added to the project
Under software matrix in, the selection of software in former software matrix retains or disabling;
Replication tool module is communicated with the Back Administration Module, for identification project code PID, device hardware coding
HWID;And complete burning movement;
The replication tool module obtains the writable file for needing to be embedded in and software is compiled by identification project code PID
Code FWID, after submitting burning to request and complete burning, the Back Administration Module is generated and is recorded corresponding to the secondary burning movement
Burning encode BurnID;The replication tool module is by the writable file and the Software Coding FWID, the burning
Coding BurnID is burned onto the equipment together, and the facility information and its hardware encoding HWID are added by the Back Administration Module
It adds in the list of devices under the project;
If equipment needs burning again, the replication tool module finds correspondence by the hardware encoding HWID of identification equipment
Project code PID, inquire and select the software under the corresponding project, Xiang Suoshu Back Administration Module submits burning request,
Burning coding BurnID corresponding with the secondary burning movement is generated after completing burning;The writable file and the software are compiled
Code FWID, burning coding BurnID are burned onto together in the equipment.
In order to further facilitate the software of burning needed for user judges, the version of burning mistake is prevented, it is preferable that described
Functional remarks are set for each software in software matrix under project information.
3, beneficial effect
Compared with the prior art, the invention has the benefit that
(1) retroactive method and system of a kind of embedded software of the invention, after software source code file uploads, compiling life
Corresponding Software Coding FWID is established while at writable file, every equipment is also composed of corresponding hardware encoding HWID, when
When equipment carries out software burning, writable file and Software Coding FWID, burning coding BurnID are burned onto equipment together, simultaneously
Corresponding burning coding BurnID is generated again, since information is interrelated between each coding, by hard on identification relevant device
Part encodes HWID, can realize the retrospect of the information such as software code in embedded device, version number, recordable time, is easy to use
Person inquires and solves the problems, such as;
(2) retroactive method and system of a kind of embedded software of the invention, has also set up project information and project code
PID, project information include that software matrix and list of devices, i.e. software information and hardware information are associated by project, are improved
The closure of entire traceability system, reduces error rate;
(3) retroactive method and system of a kind of embedded software of the invention updates if software need to be updated or be repaired
Software source code file after, compiling generates writable file, and generates corresponding corresponding new Software Coding FWID, the update
Writable file and corresponding new Software Coding FWID are updated and are associated in the software matrix under respective item, facilitate this
Each version of software is managed collectively, and the retrospect of the Life cycle of entire embedded software may be implemented;
(4) retroactive method of a kind of embedded software of the invention, if equipment needs burn recording software again, by identifying equipment
Hardware encoding HWID, find corresponding project code PID, inquire and select the software under respective item, submit burning request
And after completing burning, burning coding BurnID corresponding with the secondary burning movement is generated;By writable file and Software Coding
FWID, burning coding BurnID are burned onto equipment together, and entire trace back process closing is not necessarily to artificial intervention, significantly reduces and burn
The error rate of record, while by interrelated between each coding, the retrospect of embedded device Life cycle is realized, is also realized
Embedded device from project, to hardware, to software version, to software source codes, the retrospect of the full spectrum information acted to burning.
Detailed description of the invention
Fig. 1 is flow diagram of the invention.
Specific embodiment
The present invention will be described in detail in the following with reference to the drawings and specific embodiments.
Embodiment 1
A kind of retroactive method of embedded software, comprising the following steps:
A) it establishes and records project information and the corresponding project code PID of the project, project information includes software matrix
And list of devices;Wherein project information includes but is not limited to set up the project date, customer name and equipment purposes, be more convenient for project into
Row identification, while in trace back process, above- mentioned information can also be traced back to, more accurately convenient for users to judging under the project
Who client is equipment correspondence be, these equipment are used wherein, in the medium information of who hand at present.
For the convenience of the users to disparity items classify manage, also system is facilitated quickly to identify respective item, a) in project
Coding PID can choose through client's classification or device type classification.
In general, at the beginning of project is established, software matrix and list of devices are sky list.
Improve above-mentioned software matrix:
B1) after project is established, software engineer carries out the exploitation of software according to the demand of project, reaches in software test
To after project demands, the announcement for just carrying out writable file is uploaded, specifically, software source code is formed after compiling can
Recordable paper simultaneously announces upload, generates Software Coding corresponding with the writable file when writable file is announced simultaneously
Writable file and software source code are associated by FWID;Then writable file and Software Coding FWID are added to item
Now in software matrix.
B2) during later period embedded device use, software need to update or have BUG need repair or due to
The change of project demands, software engineer need to develop software again, at this point it is possible to developed based on original code,
It can completely newly develop, after software test reaches project demand, compiling source code generates writable file, uploads burning for update
It records file and establishes corresponding new Software Coding FWID, Software Coding FWID is carried out between new writable file and fresh code
Association;Then the writable file of update and corresponding new Software Coding FWID are added in the software matrix under project.
And at this point, the software selection in former software matrix retains or disabling, this is because the software of a version setting in different regions
Standby above to have different use states, the software self problem for being not due to the version at this time causes equipment to need burning again
, then it does not select to retain the software of the version, in order to which software of the later period for the version carries out burning and retrospect again;If
The software of the version itself then needs to disable the software of this version there are problem, then the later period carries out the software again
When burning, the problematic version will not be used again, and design rationally, reduces error.
Improve above equipment list:
C) according to the production requirement of project, the production of equipment, equipment are established and are remembered after production is completed under carry out project
The corresponding hardware encoding HWID of every equipment is recorded, in other embodiments, hardware encoding HWID can also be incorporated by tool
In hardware or according to the write-in that certain coding method is numbered, the present embodiment is in order to save coding process, hardware encoding
HWID directly selects chip factory number in equipment and is incorporated into.
D1) embedded device, by identifying project code PID, is obtained when carrying out the first production burning of embedded software
The writable file and Software Coding FWID that needs are embedded in are taken, in order to reduce error rate caused by being manually entered coding, here
The identification method of project code PID is barcode scanning identification: in specific production, Back Administration Module can be issued comprising project code PID
Two dimensional code papery production task list to production workshop section, production scene according to scanning record project code PID inquiry need using
Software Coding FWID, obtained according to Software Coding FWID and need the code file of burning, and record tracing information, submit burning
After requesting and completing burning, generates and record burning coding BurnID corresponding with the secondary burning movement;By writable file and
Software Coding FWID, burning coding BurnID are burned onto equipment together, and facility information and its hardware encoding HWID are added into item
Now in list of devices, the perfect of list of devices is so far completed.
D2) if equipment needs burning again, by the hardware encoding HWID of identification equipment, corresponding project code PID is found,
The software under respective item is inquired and selected, after submitting burning to request and complete burning, is generated corresponding with the secondary burning movement
Burning encodes BurnID;Writable file and Software Coding FWID, burning coding BurnID are burned onto equipment together.
It is associated at this point, software is established with device hardware by project, forms a closed traceability system, user can
To find the software for needing to carry out burning and equipment by project code PID, production work and burning work are carried out.
By identifying that hardware encoding HWID can find the software of respective items each version now, it is easy to carry out software at this time
Comparison, it is known that software be it is more complicated, have important relationship with burning history.Such as: an equipment is using
It there is a problem in the process, after identification, it is found that the software of 1.0.0 version, 1.0.1 version and 1.0.2 version is crossed in this trolley burning,
And the software of 1.0.1 version and 1.0.2 version is crossed in another equipment not gone wrong with model, burning, then having very much can
The problem of being because of software 1.0.1 version, therefore can clearly be traced and be gone through by the control of software and life period of an equipment
History information where person more convenient to use finds the root of mistake, improves working efficiency.
The information of respective items individual device now can be found by encoding FWID by identification software, if software has been carried out
It updates, the burning again for carrying out other equipment software can be contacted in time with equipment management side in time, preferably done for manager
It well works after sale and biggish convenience is provided.For example, discovery has five when certain software for a 1.0.2 version carries out burning
Equipment is problematic, and there is no problem for 20 other equipment, we can be by comparing discover whether it is burning version at this time
The problem of, where finding problem, problematic five equipment can be traced, and after the update of burning again of following up in time
The version software that there is no problem.
The closed management of embedded software has may be implemented in retroactive method of the invention, can trace back to equipment, software,
The whole process information of burning execution movement, has prevented the problem of device software version confusion.
Embodiment 2
A kind of retroactive method of embedded software is present embodiments provided, specific implementation method is with embodiment 1, further
, pass through the relevant information of burning coding retrospect burning movement, where decision problem, d1 for the convenience of the users) and d2) in
When submitting burning request, needs submission time, station number, operator, the computerized information for running burning movement and need recording device
Hardware encoding HWID, burning coding BurnID be also associated with burning result.Software version is not can be only seen by burning history
This problem of, it is further seen that: whose burning, burning result (either with or without burning success) is burning success either with or without possible
It is the computer problem of operator oneself, this is because some softwares on the computer of operator sometimes, have an impact to burning movement.
This information association through this embodiment, further closes traceability system, reduces error rate;And tracing information
More comprehensively, whole comprehensive retrospect mistake source, significantly improves working efficiency.
It is compiled for further intuitive display software release, the time of burning or software version number, burning number information, software
It include temporal information and serial number, time-division date when temporal information is operation in the number of code FWID and burning coding BurnID
Second.For example, the numbering scheme of Software Coding FWID can be FymdHMSXXX, wherein F is writing a Chinese character in simplified form for FWID project code;
YmdHMS respectively indicates date Hour Minute Second, and XXX is serial number, ensures that coding does not repeat with this.Similarly, burning encodes BurnID
Numbering scheme can be BymdHMSXXX, wherein B be BurnID burning coding write a Chinese character in simplified form;YmdHMS respectively represents the date
Hour Minute Second;XXX is serial number, is not repeated with ensuring to encode.The above coding mode can use other coding modes to ensure not
It repeats.
Embodiment 3
A kind of traceability system of embedded software is present embodiments provided, the system is for realizing above-described embodiment and preferably
Embodiment, the descriptions that have already been made will not be repeated.As used below, predetermined function may be implemented in term " module "
The combination of software and/or hardware.Although system described in following embodiment is preferably realized with software, hardware, or
The realization of the combination of person's software and hardware is also that may and be contemplated.
The traceability system of embedded software includes:
Back Administration Module, for establishing and recording project information and the corresponding project code PID of the project, project letter
It ceases including software matrix and list of devices, project information further includes but is not limited to project verification date, customer name, product purpose etc.,
It can also include some information financially, information of customer order amount etc.;The project is like a container, establishment of item
At the beginning of, software matrix and list of devices are sky list, and software matrix therein is in one new software of every publication or update
One new version just will increase one, and list of devices one equipment of every production burning just also will increase one.Software and hardware
It establishes and contacts by project " container ".Connection is also established between each equipment and project, between each software and project simultaneously,
It is traced for the later period.
The corresponding hardware encoding HWID of every equipment of list of devices is established and is recorded by Back Administration Module.Each item
One and only one unique PID code of mesh, the HWID code that each embedded device has and only one is different from other equipment.
Unlike the prior art, the traceability system of embedded software of the invention can manage in specific every equipment, and retrospect is more
Targetedly, efficient work.And in traceability system of the invention used coding be Back Administration Module automatically generate or
Person's automatic input is not necessarily to artificial intervention, and whole system only needs manual operation to upload when uploading and announcing software, remaining judgement
Operating procedure be all it is closed, error rate is smaller.
Back Administration Module includes source code trustship unit, for uploading sound code file corresponding with project, sound code file warp
It crosses after software test reaches project demand, then writable file is generated by compiler compiling, writable file is uploaded to backstage
When management module, Software Coding FWID corresponding with the writable file is established by Back Administration Module, to establish software
Incidence relation between source code is traced for the later period.Back Administration Module adds writable file and Software Coding FWID
In software matrix under to project.The identification code FWID that each publication software has and only one is different from other software.
If customer complaint is fed back to after sale, after carrying out problem investigation, software issue is the discovery that, if software needs to update, by project pipe
Reason submits Software Create job order, and software engineer uploads the source code updated to source code trustship module, and the sound code file of update is logical
It crosses compiling and generates the writable file updated, Back Administration Module generates new software corresponding with the writable file updated and compiles
Code FWID, and records the incidence relation of the writable file and source code, while by the writable file of update and corresponding new soft
Part coding FWID is added in the software matrix under project, and the software selection in former software matrix retains or disabling.
It should be noted that preventing the version of burning mistake to further facilitate the software of burning needed for user judges
This, is arranged functional remarks for each software in the software matrix under project information.
Replication tool module is specifically as follows a set of program, is come out by Computing and carries out burning movement, burning work
Tool module is communicated with Back Administration Module, and project code PID, device hardware encode HWID for identification;And complete burning movement.
Therefore specific replication tool module includes the replication tool and the burning work for needing to use live after sale that plant produced scene is used
Tool:
Plant produced scene: at this point, only knowing project, list of devices is initially sky, and replication tool module passes through identification item
Mesh encodes PID, obtains the writable file and Software Coding FWID for needing to be embedded in, after submitting burning to request and complete burning, after
Platform management module generates and records burning coding BurnID corresponding with the secondary burning movement;Each burning movement has and only one
It is a that different identification code BurnID are acted from other burnings.Replication tool module by writable file and Software Coding FWID, burn
Record coding BurnID is burned onto equipment together, and facility information and its hardware encoding HWID are added under project by Back Administration Module
List of devices in;It is acted, is established between burning coding BurnID and hardware encoding HWID, Software Coding FWID by burning
Incidence relation, the retrospect for software and equipment.
It is live after sale: to be different from production burning, at this time and be unaware of which project is the equipment belong to, also do not know the equipment
Interior software information, if equipment needs burning again at this time, replication tool module passes through the hardware encoding HWID of identification equipment, in life
On the basis of production burning establishes project information, list of devices and software matrix, corresponding project code PID is found, inquiry is simultaneously
The software under respective item is selected, submits burning request to Back Administration Module, generation is acted with the secondary burning after completing burning
Corresponding burning encodes BurnID;Writable file and Software Coding FWID, burning coding BurnID are burned onto equipment together
In.
When specific retrospect, writable file of the invention uploads while establishing corresponding Software Coding FWID, every equipment
Also it is composed of corresponding hardware encoding HWID, when equipment carries out software burning, writable file and Software Coding FWID, burning are compiled
Code BurnID is burned onto equipment together, while generating corresponding burning coding BurnID again, since information is mutual between each coding
Association can realize software code in embedded device, version number, burning by the hardware encoding HWID on identification relevant device
The retrospect of the information such as time is recorded, convenient for users to inquiring and solving the problems, such as.Compared to existing embedded software or apparatus management/control
Method arrives scene progress burning, the traceability system of the present embodiment, operator after needing to copy code file originally by USB flash disk
It only needs in the entire system, to click the software for selecting corresponding equipment to need, clicks burning button and carry out burning, operation
Simply, it is not easy to malfunction.
The present invention has also set up project information and project code PID, and project information includes software matrix and list of devices, i.e.,
Software information and hardware information are associated by project, improve the closure of entire traceability system, reduce error rate.
And during burning, entire trace back process closing is not necessarily to artificial intervention, significantly reduces the error rate of burning, simultaneously
By interrelated between each coding, realize the retrospect of embedded device Life cycle, also achieve embedded device from
Project, to hardware, to software version, to software source codes, to burning act full spectrum information retrospect.For batch burning work
Make, significantly improves working efficiency, traceability system of the invention may be implemented quickly to trace, such as a certain project needs to produce two
Batch facility, is required to burning or needs to repair the same problem simultaneously, be also possible to different problems, work as needs by totally 200
When many equipment carry out burning and traceability system not of the invention, operator is live after sale in the later period, is difficult to know this
Equipment whether repaired again by burning, or also how many platform equipment burning reparation, and also how many platform does not have burning
It repairs.And traceability system through the invention, by scanning field device on coding, i.e., knowable this equipment at present whether
It is newest software;It also can be clearly seen that by list of devices, how many platform was repaired for this batch facility at present, and
Remaining several now wherein, specific address is gone to operate before quickly guiding operator in turn, significantly improves operating efficiency.
Schematically the invention and embodiments thereof are described above, description is not limiting, attached drawing
Shown in be also the invention one of embodiment, actual scheme is not limited thereto.So if this field
Those of ordinary skill enlightened by it, in the case where not departing from this creation objective, not inventively design and the technology
The similar scheme of scheme and embodiment, should belong to the protection scope of this patent.
Claims (10)
1. a kind of retroactive method of embedded software, which comprises the following steps:
A) it establishes and records project information and the corresponding project code PID of the project, the project information includes software matrix
And list of devices;
B1 software source code file corresponding with the project) is uploaded, the compiled generation of software source code file is writable
File is established and is recorded Software Coding FWID corresponding with the writable file, while the writable file and software being compiled
Code FWID is added in the software matrix under the project;
B2) if software needs to update, the software source code file of update is uploaded, recompilates the new writable file of production, and build
Vertical corresponding new Software Coding FWID, the writable file of the update and the corresponding new Software Coding FWID are added to
In software matrix under the project, the software selection in former software matrix retains or disabling;
C) it establishes and records the corresponding hardware encoding HWID of every equipment;
D1 it) identifies project code PID, obtains the writable file and Software Coding FWID for needing to be embedded in, submit burning request simultaneously
After completing burning, generates and record burning corresponding with the secondary burning movement and encode BurnID;By the writable file and institute
State Software Coding FWID, burning coding BurnID is burned onto the equipment, the facility information and its hardware encoding together
HWID is added into the list of devices under the project;
D2) if equipment needs burning again, by identifying the hardware encoding HWID of equipment, corresponding project code PID is found, is inquired
And the software under the corresponding project is selected to generate corresponding with the secondary burning movement after submission burning requests and completes burning
Burning encodes BurnID;The writable file and the Software Coding FWID, the burning are encoded into BurnID burning together
To in the equipment.
2. a kind of retroactive method of embedded software according to claim 1, it is characterised in that: project information described in a)
It further include project verification date, customer name and equipment purposes.
3. a kind of retroactive method of embedded software according to claim 1 or 2, it is characterised in that: project described in a)
PID is encoded to classify by client's classification or device type.
4. a kind of retroactive method of embedded software according to claim 1, it is characterised in that: hardware encoding described in c)
HWID is chip factory number in the equipment.
5. a kind of retroactive method of embedded software according to claim 3, it is characterised in that: d1) in project code PID
Identification method be barcode scanning identification.
6. a kind of retroactive method of embedded software according to claim 1 or 4, it is characterised in that: d1) and d2) in
When submitting burning request, needs submission time, station number, operator, the computerized information for running burning movement and need recording device
Hardware encoding HWID, the burning coding BurnID is also associated with burning result.
7. a kind of retroactive method of embedded software according to claim 1, it is characterised in that: the Software Coding FWID
Encoding with the burning includes temporal information and serial number in the number of BurnID, when the temporal information is operation when the date
Every minute and second.
8. a kind of traceability system of embedded software, which is characterized in that the traceability system of the embedded software includes:
Back Administration Module, for establishing and recording project information and the corresponding project code PID of the project, the project letter
Breath includes software matrix and list of devices;The corresponding hardware encoding HWID of every equipment of the list of devices passes through back-stage management
Module is established and is recorded;
The Back Administration Module includes source code trustship unit, and the source code trustship unit is corresponding with the project for uploading
Sound code file, the sound code file generate writable file by compiling, and the writable file is uploaded to the back-stage management
When module, Software Coding FWID corresponding with the writable file, the back-stage management mould are established by the Back Administration Module
The writable file and Software Coding FWID are added in the software matrix under the project by block;
Replication tool module is communicated with the Back Administration Module, and project code PID, device hardware encode HWID for identification;
And complete burning movement;
The replication tool module obtains the writable file and Software Coding for needing to be embedded in by identification project code PID
FWID, after submitting burning to request and complete burning, the Back Administration Module is generated and is recorded corresponding with the secondary burning movement
Burning encodes BurnID;The replication tool module compiles the writable file and the Software Coding FWID, the burning
Code BurnID is burned onto the equipment together, and the facility information and its hardware encoding HWID are added by the Back Administration Module
In list of devices under to the project;
The replication tool module is found corresponding project code PID, is inquired and selected by the hardware encoding HWID of identification equipment
The software under the corresponding project is selected, Xiang Suoshu Back Administration Module submits burning request, generates and the secondary burning after completing burning
Record acts corresponding burning and encodes BurnID;By the writable file and the Software Coding FWID, burning coding
BurnID is burned onto together in the equipment.
9. a kind of traceability system of embedded software according to claim 8, it is characterised in that: upload the source code of update extremely
The sound code file of the source code trustship module, the update generates the writable file updated, the back-stage management by compiling
Module generates new Software Coding FWID corresponding with the writable file of the update, and by the writable file of the update
And the corresponding new Software Coding FWID is added in the software matrix under the project, the software selection in former software matrix
Retain or disables.
10. a kind of traceability system of embedded software according to claim 8, it is characterised in that: under the project information
Software matrix in for each software, functional remarks are set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910032584.3A CN109840098B (en) | 2019-01-14 | 2019-01-14 | Embedded software tracing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910032584.3A CN109840098B (en) | 2019-01-14 | 2019-01-14 | Embedded software tracing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109840098A true CN109840098A (en) | 2019-06-04 |
CN109840098B CN109840098B (en) | 2022-05-27 |
Family
ID=66883775
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910032584.3A Active CN109840098B (en) | 2019-01-14 | 2019-01-14 | Embedded software tracing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109840098B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111930423A (en) * | 2020-09-17 | 2020-11-13 | 四川新网银行股份有限公司 | Method for tracing software release version based on microservice |
CN113821227A (en) * | 2021-09-23 | 2021-12-21 | 青岛海信日立空调系统有限公司 | Air conditioner online burning system |
CN116755727A (en) * | 2023-08-21 | 2023-09-15 | 湖南博匠信息科技有限公司 | Intelligent upgrading method and system for firmware of embedded device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060218338A1 (en) * | 2005-03-23 | 2006-09-28 | Inventec Corporation | Method for preventing software from being wrongly burned |
CN105159735A (en) * | 2015-10-22 | 2015-12-16 | 宁波市江北九方和荣电气有限公司 | Control method for software burn in electronic product production |
CN109144531A (en) * | 2018-08-08 | 2019-01-04 | 上海庆科信息技术有限公司 | The approaches to IM and device of programming system and its server |
CN109189402A (en) * | 2018-07-11 | 2019-01-11 | 厦门华联电子股份有限公司 | The automatic programming system of product software, method and burning server |
-
2019
- 2019-01-14 CN CN201910032584.3A patent/CN109840098B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060218338A1 (en) * | 2005-03-23 | 2006-09-28 | Inventec Corporation | Method for preventing software from being wrongly burned |
CN105159735A (en) * | 2015-10-22 | 2015-12-16 | 宁波市江北九方和荣电气有限公司 | Control method for software burn in electronic product production |
CN109189402A (en) * | 2018-07-11 | 2019-01-11 | 厦门华联电子股份有限公司 | The automatic programming system of product software, method and burning server |
CN109144531A (en) * | 2018-08-08 | 2019-01-04 | 上海庆科信息技术有限公司 | The approaches to IM and device of programming system and its server |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111930423A (en) * | 2020-09-17 | 2020-11-13 | 四川新网银行股份有限公司 | Method for tracing software release version based on microservice |
CN113821227A (en) * | 2021-09-23 | 2021-12-21 | 青岛海信日立空调系统有限公司 | Air conditioner online burning system |
CN113821227B (en) * | 2021-09-23 | 2024-05-17 | 青岛海信日立空调系统有限公司 | Online burning system of air conditioner |
CN116755727A (en) * | 2023-08-21 | 2023-09-15 | 湖南博匠信息科技有限公司 | Intelligent upgrading method and system for firmware of embedded device |
CN116755727B (en) * | 2023-08-21 | 2023-11-03 | 湖南博匠信息科技有限公司 | Intelligent upgrading method and system for firmware of embedded device |
Also Published As
Publication number | Publication date |
---|---|
CN109840098B (en) | 2022-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10664771B2 (en) | Product development management system and method | |
CN103336742B (en) | A kind of automated software Black-box Testing system and method based on Android | |
CN109840098A (en) | A kind of retroactive method and system of embedded software | |
CN101000671B (en) | Workflow management system | |
CN101241354B (en) | Event triggered data capture via embedded historians | |
CN103677973A (en) | Distributed multi-task scheduling management system | |
CN111767247A (en) | File specification and synchronous forming control platform for real-time supervision of engineering data | |
CN108170447A (en) | The on-line automatic method for burn-recording of chip and system | |
JP2008518295A5 (en) | ||
KR102365292B1 (en) | A method for managing the lifecycle of a complex engineering object and a system for its implementation | |
CN110297956A (en) | Generate method and system, the computer storage medium of product ID | |
CN105453095B (en) | Function setting method | |
CN107807969A (en) | New time series data storage method for power plant | |
Golfarelli et al. | Data warehouse testing | |
WO2024032644A1 (en) | Nuclear fuel charging/discharging and position automatic tracking system and method | |
CN107831741A (en) | New time series data read method for power plant | |
CN107423035A (en) | A kind of software development process product data management system | |
US10108187B2 (en) | Control device, control system, support device, and control-device maintenance management method | |
CN115017141A (en) | Digital twinning method, device and equipment for event full life cycle | |
CN115759670A (en) | Data management system and management method based on product research and development process | |
CN108875181A (en) | A kind of three-dimensional labeling revision change method for tracing of threedimensional model | |
CN108920137A (en) | A kind of system of creation web project and code based on eclipse frame | |
Software configuration management of change control study based on baseline | ||
CN110555218A (en) | Production model update system, apparatus, method, and computer-readable medium | |
JP2005084941A (en) | Equipment management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |