CN102646067B - A kind of method of testing of embedded software - Google Patents
A kind of method of testing of embedded software Download PDFInfo
- Publication number
- CN102646067B CN102646067B CN201210045552.5A CN201210045552A CN102646067B CN 102646067 B CN102646067 B CN 102646067B CN 201210045552 A CN201210045552 A CN 201210045552A CN 102646067 B CN102646067 B CN 102646067B
- Authority
- CN
- China
- Prior art keywords
- software
- flash memory
- software product
- production
- mirroring
- 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.)
- Expired - Fee Related
Links
- 238000010998 test method Methods 0.000 title description 4
- 238000004519 manufacturing process Methods 0.000 claims abstract description 31
- 238000000034 method Methods 0.000 claims abstract description 18
- 230000008569 process Effects 0.000 claims abstract description 13
- 238000012360 testing method Methods 0.000 claims abstract description 12
- 238000009795 derivation Methods 0.000 claims description 3
- 238000002360 preparation method Methods 0.000 abstract description 3
- 239000000047 product Substances 0.000 description 13
- 238000011161 development Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 240000004859 Gamochaeta purpurea Species 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 239000006227 byproduct Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Abstract
The invention provides a kind of production method of embedded software, comprise and the priginal soft editted is burnt in flash memory, and flash memory is assembled in the device embedding this software, the priginal soft of operation flash memory in a device; Be configured according to device production requirement, generate the software product with preparation information in a flash memory; Test device, and calibration is the parameter needing to keep, reset other parameter; Mirror image is carried out to the software product in flash memory, generates mirroring software product; Mirroring software product is derived, is burnt in other flash memory more; Dispatch from the factory according to these other flash configuration devices.The present invention reduces the environment producing configuration software, and that can take into account again production has a link factory reset most simultaneously, can be set to default setting by restore software; Need of production can be met, speed production again when producing.Do not need to pull down memory device in the process of Software for producing mirror image, then read and write by other instruments, produce image file.
Description
Technical field
The present invention relates to the production test method field without software, particularly a kind of method of testing of embedded software.
Background technology
Along with the progress of society, the development of science and technology, diversification product is also with rapid changepl. never-ending changes and improvements, user it is also proposed higher requirement to embedded product, needs can provide the embedded product of complete function, safety, the advantage such as quick, stable, easy to operate, complete and perfect function must need a set of complete administrative mechanism, and little and special system is referred to as embedded system.
More common embedded system has Linux, WinCE, VxWorks at present, UC/OS, Nucleus, each system has its relative merits, each embedded system needed to be promoted in different periods and different application, Linux embedded system is exactly a good embedded system, the most widely used and operating system of increasing income, WinCE, VxWorks, UC/OS, Nucleus are the embedded OSs of paying, and can obtain good technical support on stream.Market is greatly account in this block market with regard to Linux in current embedded system, the feature of Linux is increased income, freely, and exist a huge tissue of increasing income no matter run into what problem in actual development process can by the forum that increases income, or other approach looks for solution, this system is that embedded system is filled with vigor, the development of embedded system is from now on gone through and with the addition of heavy one.As mentioned above, due to being in great demand of embedded product, good opportunity is provided to the development of embedded system.
Current embedded software production procedure as follows:
Carry out testing-> factory reset to flash-> making apparatus-> by programmable device burning " priginal soft "
Test process is as follows:
Manually carry out configuration software by the page after operating personnel take equipment to meet production requirement-> and do relevant test and calibration, and the conflict of software design patterns is more and more obvious when the personal settings of embedded product and production, through be everlasting production test time need go revise product software configuration after just can test, be very large wasting in this process.And the production of reality is more next high for the control of cost, just need while high-speed production to test fast to ensure production quality.
Summary of the invention
The object of the invention is the method for testing of openly a kind of embedded software, tested in the flash of equipment by programming burning mirroring software in the method, operating personnel do not need manually to carry out configuration software by the page and meet production requirement after taking equipment, overcome the deficiency that in current embedded software test process, cost is high.
Technical scheme of the present invention is: a kind of production method of embedded software, comprises the following steps:
A, the priginal soft editted to be burnt in flash memory, and described flash memory to be assembled in the device embedding this software, the priginal soft of operation flash memory in the device;
B, to run in described device in priginal soft process, be configured according to device production requirement, generate the software product with preparation information in a flash memory;
C, to test device, and calibration is the parameter needing to keep, reset other parameter;
D, mirror image is carried out to the software product in flash memory, generate mirroring software product;
E, mirroring software product to be derived, be burnt in other flash memory more;
F, to dispatch from the factory according to these other flash configuration devices.
Further, in the production method of above-mentioned embedded software, described priginal soft is by Linux system editor.In described step C, the process generating mirroring software product comprises the following steps:
Step C01, call the order DD mirror image flash memory of linux, generate image file;
Namely step C02, derivation image file generate mirroring software product.
Deriving mirroring software product is derived by network by http, ftp, tftp.
The invention has the beneficial effects as follows: reduce the environment producing configuration software, that can take into account again production has a link factory reset most simultaneously, can be set to default setting by restore software; Need of production can be met, speed production again when producing.Do not need to pull down memory device in the process of Software for producing mirror image, then read and write by other instruments, produce image file.
Below in conjunction with specific embodiment, the present invention is described in more detail.
Accompanying drawing explanation
Fig. 1 is upstream data flow process of the present invention.
Embodiment
Embodiment 1 is as shown in Figure 1: the present embodiment is a kind of production procedure of Linux system editor embedded software, burn recording software just configures product software before manufacture, and the last Default Value returning to product more in the end tested, so just can reduce environment, accelerate test.The method adopted for realizing goal of the invention in the present embodiment is, by according to production requirement in the product configuration software the direct mirror image of form out, make the software meeting our production and application, the software merit rating situation recovering client after dispatching from the factory can be taken into account again simultaneously, specifically comprise the following steps:
The priginal soft editted, by Linux system editor, is burnt in flash memory by A, priginal soft, and is assembled to by described flash memory in the device embedding this software, the priginal soft of operation flash memory in the device;
B, to run in described device in priginal soft process, be configured according to device production requirement, generate the software product with preparation information in a flash memory;
C, to test device, and calibration is the parameter needing to keep, reset other parameter; For radio communication product, need to write mac address in the process of the test of producing; The emissive power of less radio-frequency is calibrated, and remains on inside flash; These parameters similar are write inside flash and can not be lost because of reset.The configuration of other internet information then can be removed due to reset;
Step C01, call the order DD mirror image flash memory of linux, generate image file;
Namely step C02, derivation image file generate mirroring software product;
D, mirror image is carried out to the software product in flash memory, generate mirroring software product;
Download mirroring command to product, can pass through http, ftp, tftp, be generally imported by Internet Transmission;
Perform mirroring command, by product interface, product running status is derived.Mainly by the DD order of linux, all partition content of mirrored storage product.Because all software merit rating have been written to above the storage products of product, so only need mirroring software.Mirror image partition content is out derived by network, by the software document that the mirror image synthesis production and application of deriving uses;
E, mirroring software product to be derived, be burnt in other flash memory more;
F, to dispatch from the factory according to these other flash configuration devices.
Claims (3)
1. the production method of an embedded software, it is characterized in that: by according to production requirement in the product configuration software the direct mirror image of form out, make the software meeting our production and application, the software merit rating situation recovering client after dispatching from the factory can be taken into account again simultaneously, comprise the following steps:
A, the priginal soft editted to be burnt in flash memory, and described flash memory to be assembled in the device embedding this software, the priginal soft of operation flash memory in the device;
B, to run in described device in priginal soft process, be configured according to device production requirement, generate the software product with configuration information in a flash memory;
C, to test device, and calibration needs the parameter that keeps, reset other parameter;
D, mirror image is carried out to the software product in flash memory, generate mirroring software product;
The process generating mirroring software product comprises the following steps:
Step D01, call the order DD mirror image flash memory of linux, generate image file;
Namely step D02, derivation image file generate mirroring software product;
E, mirroring software product to be derived, be burnt in other flash memory more;
F, to dispatch from the factory according to these other flash configuration devices.
2. the production method of embedded software according to claim 1, is characterized in that: described priginal soft is by Linux system editor.
3. the production method of embedded software according to claim 1, is characterized in that: deriving mirroring software product is derived by network by http, ftp, tftp.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210045552.5A CN102646067B (en) | 2012-02-27 | 2012-02-27 | A kind of method of testing of embedded software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210045552.5A CN102646067B (en) | 2012-02-27 | 2012-02-27 | A kind of method of testing of embedded software |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102646067A CN102646067A (en) | 2012-08-22 |
CN102646067B true CN102646067B (en) | 2015-07-29 |
Family
ID=46658895
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210045552.5A Expired - Fee Related CN102646067B (en) | 2012-02-27 | 2012-02-27 | A kind of method of testing of embedded software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102646067B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677915B (en) * | 2013-12-11 | 2018-08-07 | 厦门雅迅网络股份有限公司 | A method of card is started based on TF and carries out the automatic programming of flash mirror |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6044346A (en) * | 1998-03-09 | 2000-03-28 | Lucent Technologies Inc. | System and method for operating a digital voice recognition processor with flash memory storage |
CN101567217A (en) * | 2008-04-23 | 2009-10-28 | 中兴通讯股份有限公司 | Flash memory safely writing method and data writing method |
CN101819552A (en) * | 2010-01-04 | 2010-09-01 | 深圳市共进电子有限公司 | Method for improving debugging speed during process of system development |
CN102289395A (en) * | 2011-07-14 | 2011-12-21 | 深圳市共进电子有限公司 | Method for using double-code mirror image operation on embedded equipment |
-
2012
- 2012-02-27 CN CN201210045552.5A patent/CN102646067B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6044346A (en) * | 1998-03-09 | 2000-03-28 | Lucent Technologies Inc. | System and method for operating a digital voice recognition processor with flash memory storage |
CN101567217A (en) * | 2008-04-23 | 2009-10-28 | 中兴通讯股份有限公司 | Flash memory safely writing method and data writing method |
CN101819552A (en) * | 2010-01-04 | 2010-09-01 | 深圳市共进电子有限公司 | Method for improving debugging speed during process of system development |
CN102289395A (en) * | 2011-07-14 | 2011-12-21 | 深圳市共进电子有限公司 | Method for using double-code mirror image operation on embedded equipment |
Also Published As
Publication number | Publication date |
---|---|
CN102646067A (en) | 2012-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10298451B1 (en) | Configuring wireless devices for a wireless infrastructure network | |
CN107122175B (en) | Interface creating method and device | |
CN104731636B (en) | Dispatcher's training simulation device and its operating method | |
CN106162664B (en) | A kind of generation method and system of base station configuration information | |
CN102646067B (en) | A kind of method of testing of embedded software | |
CN105100214A (en) | Information synchronization method, device and system | |
CN103888907A (en) | Cross-terminal file transmission method, terminal equipment, and system | |
CN108256034A (en) | Data migration method and equipment | |
CN104053016B (en) | A kind of image preview method and device | |
Stevic et al. | A two-step simulation approach for joint analysis of power systems and communication infrastructures | |
CN106462531A (en) | Methods, apparatus, and computer-readable medium for providing alternate visualization via wireless docking | |
CN104616682B (en) | Blu-ray player method of testing and smart machine, Blu-ray player | |
CN107885552A (en) | A kind of intelligent telecontrol communication machine unitizes collocation method | |
CN107168748A (en) | A kind of method that multinomial upgrading task is realized by a upgrade file bag | |
CN103313137A (en) | Method and system for playing control of network multimedia playing device | |
WO2022242268A1 (en) | Information processing method and apparatus | |
CN103716357B (en) | A kind of mobile information synchronous method, device and mobile communication terminal | |
CN104680863A (en) | Remote teaching implementation method | |
Ivković et al. | The advantages of using Raspberry Pi 3 compared to Raspberry Pi 2 SoC computers for sensor system support | |
CN108235537A (en) | A kind of illumination control method and system | |
CN104780148B (en) | Server, terminal, the system and method for document on-line operation | |
CN103220568A (en) | Method of shortcut initialization of network settings of smart television | |
CN102904926A (en) | Method and system for sharing and editing file | |
WO2015184907A1 (en) | Projection content editing method and device | |
EP2849018A1 (en) | Device for recording and reproducing illumination scenes |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150729 |
|
CF01 | Termination of patent right due to non-payment of annual fee |