CN101901182A - Processing method and system of debug file data - Google Patents

Processing method and system of debug file data Download PDF

Info

Publication number
CN101901182A
CN101901182A CN2009101075818A CN200910107581A CN101901182A CN 101901182 A CN101901182 A CN 101901182A CN 2009101075818 A CN2009101075818 A CN 2009101075818A CN 200910107581 A CN200910107581 A CN 200910107581A CN 101901182 A CN101901182 A CN 101901182A
Authority
CN
China
Prior art keywords
file
cab
debug
file data
data
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.)
Pending
Application number
CN2009101075818A
Other languages
Chinese (zh)
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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN2009101075818A priority Critical patent/CN101901182A/en
Publication of CN101901182A publication Critical patent/CN101901182A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention is applicable to the technical field of software debugging and provides a processing method and a system of debug file data, and the method comprises the following steps: receiving the modification operation implemented on the debug file data and compiling the debug file data after modification; carrying out cab packaging on the debug file data after compiling, and generating a.cab file; and controlling the output of the generated.cab file to a developing device. The processing method can be simple to operate, shorten the software development cycle and improve the development efficiency by modifying the file data, packaging the debug file data after the modification, generating the.cab file and controlling the output of the generated.cab file to the developing device.

Description

A kind of disposal route of debug file data and system
Technical field
The invention belongs to the software debugging technical field, relate in particular to a kind of disposal route and system of debug file data.
Background technology
Along with updating of Windows embedded device, under the prerequisite that ensures software development quality, software development cycle is shorter and shorter, the equipment development merchant is for improving the competitive power in market, all carry forward vigorously the renewal speed of equipment, the development time of shortening equipment, aspect the device software exploitation, generally adopt some development schemes fast simultaneously.
Under existing conditions, the debugging of BSP is the mode of the routine of equipment development merchant employing, compile after revising code, again the image file that generates is downloaded on the development equipment, in this process, under the situation of computing machine common configuration, probably need 40 minutes time to finish download, increased software development cycle.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of disposal route of debug file data, be intended to solve in the prior art, when the image file of revising the generation of compiling back is downloaded to development equipment, need the long time to finish, increased the problem of software development cycle.
The embodiment of the invention is achieved in that a kind of disposal route of debug file data, and described method comprises the steps:
The retouching operation that reception is carried out debug file data, and amended debug file data compiled;
Debug file data after the compiling is carried out the cab packing, generate the .cab file;
Control outputs to development equipment with the .cab file of described generation.
Another purpose of the embodiment of the invention is to provide a kind of disposal system of debug file data, and described system comprises:
Revise collector, be used to receive the retouching operation that debug file data is carried out, and amended debug file data is compiled;
Packetization module is used for the debug file data after the compiling is carried out the cab packing, generates the .cab file; And
Output module, the .cab file that is used to control described generation outputs to development equipment.
In the present invention, file data is made amendment, and amended debug file data is packed, generate the .cab file, control outputs to development equipment with the .cab file that generates, and is simple to operate, shortened software development cycle, improved development efficiency.
Description of drawings
Fig. 1 is the realization flow figure of the disposal route of the debug file data that provides of the embodiment of the invention;
Fig. 2 is that the debug file data to after the compiling that the embodiment of the invention provides carries out the cab packing, generates the realization flow figure of .cab file;
Fig. 3 is the disposal system structured flowchart of the debug file data that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention, to the debug file data compiling of making amendment, and the debug file data after the compiling packed, generate the .cab file, the .cab file that control will generate outputs to development equipment.
Fig. 1 shows the realization flow of the disposal route of the debug file data that the embodiment of the invention provides, and its detailed step is as described below:
In step S101, the file destination data are downloaded to development equipment.
In embodiments of the present invention, pass through data line, computing machine is connected with development equipment, by download tool, Microsoft Platform Builder for Windows Mobile for example, the file destination data are downloaded to development equipment, wherein, this downloading process only needs once, afterwards in Tiao Shi the process, adopt the mode of cab packing, the file destination data are copied in the development equipment in the form of the compressed package mode by source synchronous go.
In step S102, receive the retouching operation that debug file data is carried out, and amended debug file data is compiled.
In embodiments of the present invention, this debug file data is part or all data that downloads to the file destination data of development equipment, promptly needs to revise the file destination data of compiling.
In step S103, the debug file data after the compiling is carried out the cab packing, generate the .cab file.
In embodiments of the present invention, after debug file data revised compiling and finish, do not need to generate image file (being file destination), but the debug file data after the compiling is carried out the cab packing, generate the .cab file, save the time that the debug file data that will revise after compiling of the prior art generates file destination.
In step S104, control outputs to development equipment with the .cab file that generates.
In embodiments of the present invention, above-mentioned steps S101-S103 finishes the debugging to debug file data, and by step S104 control the .cab file that generates is outputed to development equipment.
In embodiments of the present invention, the mode that the .cab file that generates is outputed to development equipment can have multiple, wherein, the mode that the .cab file that generates is outputed to development equipment can be the mode of the source synchronous under the Windows system platform, ActiveSync software mode for example, also can adopt the method for synchronization under other platforms, but be not used in restriction the present invention.
In step S105, the .cab file is installed, and is restarted development equipment.
In embodiments of the present invention, amended debug file data is compiled, and the debug file data after will compiling to carry out cab packing simple to operate, avoided needing debug file data is generated after compiling is finished in the prior art flow process of file destination, reduced the development time of expending.
In embodiments of the present invention, the debug file data after the compiling is carried out the cab packing manner comprise command menu mode and shortcut, but be not used in restriction the present invention.
The debug file data to after the compiling that Fig. 2 shows the embodiment of the invention to be provided carries out the cab packing, generates the realization flow of .cab file, and its detailed step is as described below:
In step S201, create the .inf file and the .bat file that are stored in destination folder, wherein, the .inf file comprises the source file inventory of disk path, source file place, needs packing and implements to install field information.
In embodiments of the present invention, at first create a .txt file, txt is revised as inf with suffix, open then and revise suffix file afterwards, write mount message in the .inf file after revising, SourDisksName for example, SourDiskFiles, DefaultInstall, CopyFiles, information such as Version and CEStrings, wherein main is SourDisksName (the disk path at assigned source file place), SourDiskFiles (the source file inventory that needs packing), DefaultInstall (implementing to install), CopyFiles (expression need do some copy work which is arranged on earth) information, for example:
[Version]
Signature=″$Windows?NT$″
Provider=″zhou″
CESignature=″$Windows?CE$″
[CEStrings]
AppName=″RIL?driver?CAB?installer″
InstallDir=″\Windows″
[SourceDisksNames]
1=, " CommonFiles ", D: WM610 PLATFORM Marvell_code Release Retail WPC----the disk path at-----assigned source file (path at the dll place that the file of modification compiling back generates) place
[SourceDisksFiles]--source file inventory of----required packing
Littleton_wavedev2.dll=1
rilcdma.dll=1
[DefaultInstall]
CopyFiles=CopyToProgramFiles
[DestinationDirs]
CopyToProgramFiles=0,\Windows
Which some copy work that [CopyToProgramFiles] expression need be done have on earth
″Littleton_wavedev2.dll″,Littleton_wavedev2.dll
″rilcdma.dll″,rilcdma.dll
Wherein, in the said procedure, [SourceDisksNames], [SourceDisksFiles] and [CopyToProgramFiles] are the parts that debugging person can revise, and debugging person can make amendment according to the debugging demand of reality.
Wherein, the constructive process of the constructive process of this .bat file and above-mentioned .inf file is similar, and txt is revised as bat with suffix, writes in amended .bat file:
cabwiz.exe?CAB_rilcdma.inf/cpu?ARMDevice
dir*.cab
pause
Wherein CAB_rilcdma.inf is the filename of the .inf file of establishment.
Then, this constructive process is withdrawed from preservation.
In step S202, search cabwiz.ddf file and makecab.exe file, and store destination folder into.
In step S203, after amended debug file data compiled, the .bat file that generates was created in operation, generated the .cab file.
As an alternative embodiment of the invention, also can realize this cab packing flow process by shortcut, it is specially:
1. start WinCAB, " New " of execution " Cabinet " menu orders or clicks " New cabinet " button on the shortcut bar then, prepares to make new cab compressed package.
2. click " Add file (s) to cabinet " button on the shortcut bar, open " Add file (s) tocabinet " dialog box.
3. click open button after selecting to desire to add to the file in the cab compressed package, the file of desiring to add in the cab compressed package is added in the listed files of WinCAB.
4. repeat the 2-3 step, all files that need compress are all added in the WinCAB listed files.
5. in " the Cabinet path and name " of WinCAB shortcut bar frame, import or utilize the path and the filename of " Browse for path and name " button appointment cab compressed package.
6. in " Cabinet size " hurdle, specify the size of cab compressed package, mainly contain 720K, 1.44M, ZIP 100M, options such as Flyer 230M, Unlimited are available.
When the user selects the Unlimited option (default value), WinCAB will directly compress (promptly not bundling), and when the user selected all the other several options, WinCAB will carry out the bundling compression according to the amount of capacity that the user selects.
7. in " Compression method " frame, select the proper compression mode.
8. click " Save cabinet " button, WinCAB promptly can compress according to user's requirement.
9. after compression was finished, WinCAB can provide the report frame of " WinCAB Report ", information such as the document size before and after user report relevant document number, compression, compressibility, compression time.
Above-mentioned is one embodiment of the present of invention only, specifically described to use the realization flow that shortcut is carried out the cab packing to the debug file data after compiling, but not in order to restriction the present invention.
Fig. 3 shows the disposal system of the debug file data that the embodiment of the invention provides, and for convenience of explanation, has only provided the part relevant with the embodiment of the invention among the figure.
File data download module 11 downloads to development equipment with the file destination data; Revise collector 12 and receive the retouching operation that debug file data is carried out, and amended debug file data is compiled; Debug file data after 13 pairs of compilings of packetization module carries out the cab packing, generates the .cab file; Output module 14 controls output to development equipment with the .cab file that generates.
In embodiments of the present invention, this debug file data is part or all data that downloads to the file destination data of development equipment, promptly needs to revise the file destination data of compiling.
File installed module 15 places development equipment, and the .cab file of output module 14 outputs is installed, and development equipment is restarted in control.
In embodiments of the present invention, document creation module 131 is created .inf file and the .bat file that is stored in destination folder, and wherein, this .inf file comprises the source file inventory of disk path, source file place, needs packing and implements to install field information; Search module 132 and search cabwiz.ddf file and makecab.exe file, and store destination folder into; After 12 pairs of amended debug file datas of modification collector compiled, the .bat file that generates was created in 133 operations of operation module, generation .cab file.
In embodiments of the present invention, output module is controlled the .cab file that will generate by the mode of source synchronous and is outputed to development equipment, the mode of this source synchronous is the ActiveSync software mode under the Windows system platform, also can adopt the method for synchronization under other platforms, but be not used in restriction the present invention.
In embodiments of the present invention, to the file data compiling of making amendment, and the file data after the compiling packed, generate the .cab file, control outputs to development equipment with the .cab file that generates, and the .cab file is installed in development equipment, and restart, the debugging of software data finished, whole process operation is simple, can save debugging person's time, shorten the construction cycle, be convenient to the exploitation of equipment novel product.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the disposal route of a debug file data is characterized in that, described method comprises the steps:
The retouching operation that reception is carried out debug file data, and amended debug file data compiled;
Debug file data after the compiling is carried out the cab packing, generate the .cab file;
Control outputs to development equipment with the .cab file of described generation.
2. the method for claim 1 is characterized in that, the retouching operation that described reception is carried out debug file data, and also comprise the steps: before the step that amended debug file data is compiled
File destination is downloaded to development equipment.
3. the method for claim 1 is characterized in that, described control also comprises the steps: after the .cab file of described generation being outputed to the step of development equipment
Described .cab file is installed, and is restarted development equipment.
4. the method for claim 1 is characterized in that, described amended debug file data is carried out cab packing, and the mode that generates the .cab file is the command menu mode, and its concrete steps comprise:
Establishment is stored in the .inf file and the .bat file of destination folder, and described .inf file comprises the source file inventory of disk path, source file place, needs packing and implements to install field information;
Locating file cabwiz.ddf and makecab.exe file, and store described destination folder into;
After amended debug file data is compiled, move the .bat file that described establishment generates, generate the .cab file.
5. the method for claim 1 is characterized in that, described amended debug file data is carried out cab packing, and the mode that generates the .cab file is a shortcut.
6. the method for claim 1 is characterized in that, described control is the method for synchronization with the mode that the .cab file of described generation outputs to development equipment.
7. the disposal system of a debug file data is characterized in that, described system comprises:
Revise collector, be used to receive the retouching operation that debug file data is carried out, and amended debug file data is compiled;
Packetization module is used for the debug file data after the compiling is carried out the cab packing, generates the .cab file; And
Output module, the .cab file that is used to control described generation outputs to development equipment.
8. system as claimed in claim 7 is characterized in that, described system also comprises:
The file data download module is used for the file destination data are downloaded to development equipment.
9. system as claimed in claim 7 is characterized in that, described system also comprises:
The file installed module is used to install described .cab file, and restarts development equipment.
10. system as claimed in claim 7 is characterized in that, described packetization module specifically comprises:
The document creation module is used to create the .inf file and the .bat file that are stored in destination folder, and described .inf file comprises the source file inventory of disk path, source file place, needs packing and implements to install field information;
Search module, be used for locating file cabwiz.ddf and makecab.exe file, and store described destination folder into; And
The operation module is used for after described modification collector compiles amended debug file data, moves the .bat file that described establishment generates, and generates the .cab file.
CN2009101075818A 2009-05-31 2009-05-31 Processing method and system of debug file data Pending CN101901182A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101075818A CN101901182A (en) 2009-05-31 2009-05-31 Processing method and system of debug file data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101075818A CN101901182A (en) 2009-05-31 2009-05-31 Processing method and system of debug file data

Publications (1)

Publication Number Publication Date
CN101901182A true CN101901182A (en) 2010-12-01

Family

ID=43226731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101075818A Pending CN101901182A (en) 2009-05-31 2009-05-31 Processing method and system of debug file data

Country Status (1)

Country Link
CN (1) CN101901182A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218269A (en) * 2013-03-22 2013-07-24 北京飞流九天科技有限公司 Grading method and system for application software
CN105260184A (en) * 2015-10-15 2016-01-20 广东欧珀移动通信有限公司 Image recovery file debugging method and apparatus
CN105404504A (en) * 2015-11-02 2016-03-16 北京锐安科技有限公司 Debugging method and device of Web assembly

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218269A (en) * 2013-03-22 2013-07-24 北京飞流九天科技有限公司 Grading method and system for application software
CN103218269B (en) * 2013-03-22 2015-10-28 北京飞流九天科技有限公司 Application software methods of marking and system
CN105260184A (en) * 2015-10-15 2016-01-20 广东欧珀移动通信有限公司 Image recovery file debugging method and apparatus
CN105260184B (en) * 2015-10-15 2019-02-19 Oppo广东移动通信有限公司 A kind of adjustment method and device for restoring image file
CN105404504A (en) * 2015-11-02 2016-03-16 北京锐安科技有限公司 Debugging method and device of Web assembly
CN105404504B (en) * 2015-11-02 2018-12-25 北京锐安科技有限公司 A kind of adjustment method and device of Web component

Similar Documents

Publication Publication Date Title
US8028268B2 (en) System and method for building software package for embedded system
CN102053836B (en) Implementation method of version management tool for Android application development
CN107391104B (en) Client and reactive native code update dependence management method, device and system
CN108897547B (en) Software automation deployment method and device
CN109491695A (en) A kind of increment updating method of integrated Android application
CN107193544B (en) Application program componentization development method and device
US6934940B2 (en) Source code transformation-temporary object reduction
CN101963915A (en) Building method of compilation and system thereof
CN105718251A (en) Multilanguage SDK (software development kit) automatic implementation method and system
CN103473067A (en) Embedded Linux partitioning and data recovery method, embedded Linux partitioning and data recovery system and system development method
CN107577609B (en) Embedded system dynamic module debugging system based on host end dynamic link
CN106775842B (en) Customizable dex subpackaging method
CN111857801B (en) Construction method of mobile application
CN102799444B (en) The method of cross-platform packing program and device
CN102023885A (en) Method and system for storing bytecode of JCRE (Java card run time environment)
CN110659031A (en) Compiling method and device of application program, electronic equipment and storage medium
US20200319867A1 (en) Systems and methods for eager software build
CN111008007A (en) Component development method, system, storage medium and processor
CN103761107A (en) Software package customizing device and method
CN105511854A (en) Application fallback method and terminal equipment
CN111880894A (en) Method and system for generating front-end container mirror image
CN105468428A (en) Android source code compiling method and system
CN101901182A (en) Processing method and system of debug file data
CN104484207A (en) Mirror image upgrading method for switch, linux operation system and switch
CN113656040A (en) Program component debugging and updating method and corresponding device, equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20101201