CN102646067B - A kind of method of testing of embedded software - Google Patents

A kind of method of testing of embedded software Download PDF

Info

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
Application number
CN201210045552.5A
Other languages
Chinese (zh)
Other versions
CN102646067A (en
Inventor
周雪春
黄双榜
黄洪波
张永杰
汪澜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN201210045552.5A priority Critical patent/CN102646067B/en
Publication of CN102646067A publication Critical patent/CN102646067A/en
Application granted granted Critical
Publication of CN102646067B publication Critical patent/CN102646067B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

A kind of method of testing of embedded software
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.
CN201210045552.5A 2012-02-27 2012-02-27 A kind of method of testing of embedded software Expired - Fee Related CN102646067B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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
CN102081537B (en) Method for upgrading software
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
CN108431701A (en) Control method, control panel and the control system of smart home device
CN104980795A (en) Multi-terminal video file processing method and system
CN104391703B (en) It is rapidly completed the apparatus and method of page layout
CN102646067B (en) A kind of method of testing of embedded software
CN103888907A (en) Cross-terminal file transmission method, terminal equipment, and system
CN108256034A (en) Data migration method and equipment
CN202334600U (en) Cloud storage accelerator and cloud storage system
CN109151860A (en) A kind of test configuration method and its system of wireless chip
CN104219583B (en) The method and system of the user interface of TV is operated by mobile terminal
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
CN103929491B (en) Method of data synchronization and system and mobile terminal
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
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
CN104243403A (en) Method capable of supporting online playing and equipment thereof
WO2015184907A1 (en) Projection content editing method and device

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