CN102622213A - One-click upgrade tool generation system and manufacturing method thereof - Google Patents

One-click upgrade tool generation system and manufacturing method thereof Download PDF

Info

Publication number
CN102622213A
CN102622213A CN2011100323220A CN201110032322A CN102622213A CN 102622213 A CN102622213 A CN 102622213A CN 2011100323220 A CN2011100323220 A CN 2011100323220A CN 201110032322 A CN201110032322 A CN 201110032322A CN 102622213 A CN102622213 A CN 102622213A
Authority
CN
China
Prior art keywords
file
upgrading
key
veneer
resource
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
CN2011100323220A
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.)
SHANGHAI THREE FLAG COMMUNICATION TECHNOLOGY CO LTD
Original Assignee
SHANGHAI THREE FLAG COMMUNICATION TECHNOLOGY 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 SHANGHAI THREE FLAG COMMUNICATION TECHNOLOGY CO LTD filed Critical SHANGHAI THREE FLAG COMMUNICATION TECHNOLOGY CO LTD
Priority to CN2011100323220A priority Critical patent/CN102622213A/en
Publication of CN102622213A publication Critical patent/CN102622213A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a one-click upgrade tool generation system and a manufacturing method thereof. The system comprises single-board image files to be upgraded, a target file unit, a resource file control unit, a configuration file control unit, a script file unit and a compile link control unit, wherein the script file unit and the compile link control unit realizes the management on one-click upgrade tool generation, and the operation of one-click upgrade tool generation is convenient and flexible and can be completed on a common PC (personal computer) by common users without professional knowledge; the operation of one-click upgrade tool generation is short in time and less in workload; and under the condition of default settings, a one-click upgrade tool can be generated just after the user put to-be-upgraded terminal software into a specified catalog to execute a script file.

Description

A kind of generation one key upgrading tool system and method for making
Technical field
The present invention relates to the communications electronics field, relate in particular to tool system and system's method for making that can generate a key upgrading terminals software that is user-friendly on computers.
Background technology
Current, the communications electronics user is more and more, and user's request more and more widely; The software function at terminal is along with the increase of demand is also more and more abundanter, the research and development at terminal, producing and selling, after sale and final user's use all can upgrade with the particular demands that satisfies to terminal software, during customer upgrade must in the face of one must not irrespective problem; How to upgrade; By the method for often returning is at first the terminal software of upgrading to be offered the user, and then offers the user to the instrument of the whole software of upgraded side, and the explanation of more subsidiary numerous and diverse methods of operating; The user reads over the explanation of method of operating; Carry out software upgrading more step by step according to explanation, the upgrading mode is not only complicated but also influence user experience, if misoperation also maybe be to causing the unforeseen consequence in terminal.Develop a key upgrading tool that is user-friendly to; The Developmental Engineer need be in the IDE environment coding code; And be integrated into terminal software in the upgrading tool; And the upgrading tool to terminal software version exploitation each time all needs repetition miscellaneous work like this, and the exploitation of instrument need want the Developmental Engineer of professional knowledge to operate, and the work of exploitation has in the IDE development environment, carry out; The a lot of Developmental Engineer's of terminal software version workload just becomes huge, and each stage also can increase construction cycle and the input that increases cost virtually.
In order to make the user can very simply, easily can make the instrument of the whole software of a key upgraded side, high requirement has been proposed the system and the method for making that can generate upgrading tool.
Summary of the invention
In view of this; Fundamental purpose of the present invention is to provide a kind of generation one key upgrading tool system and method for making; When having solved exploitation one key upgrading tool the IDE development environment need be installed, need specialize in slip-stick artist's coding code, the layman can't make the problem of a key upgrading tool; And solve the problem that repeats numerous and diverse development when the terminal software different needs, reduced the construction cycle and the development workload of upgrading tool.
Goal of the invention of the present invention realizes through following technical scheme:
A kind of generation one key upgrading tool system and method for making; Generate a key upgrading tool system; Comprise veneer image file, file destination unit, resource file control module, configuration file control module, script file unit and the compiling link control module that will upgrade, described script file unit and compiling link control module are realized generating the management of a key upgrading tool.
In the described generation one key upgrading tool system; Through the control of script file and configuration file control module the key upgrading tool that will generate; Script file is responsible for compiling, the linked operation of total system, and configuration file mainly is used for identifying certain file of whether downloading veneer and identifies the downloading mode that adopts.
In the described generation one key upgrading tool system, the veneer image file that the document control institute of file in download control through configuration RC form will upgrade mainly disposes the position that the veneer image file belongs on PC in the file of RC form.
In the described generation one key upgrading tool system, resource file control generates the scale-of-two resource file that comprises the veneer image file to the file of RC form through compiling, and the RC formatted file is through just generating the resource file of real RES form after compiling.
In the described generation one key upgrading tool system, it still be a part of file that configuration file is used for control whole veneer image files of whether upgrading, and 1 expression is downloaded corresponding image file 0 and represented not download corresponding image file in the configuration identifier.
In the described generation one key upgrading tool system, through carrying out the executable file of script file compiling link resource file, configuration file, veneer image file output EXE form.
In the described generation one key upgrading tool system, a key upgrading tool of generation is the executable file of an EXE form, has comprised veneer image file and configuration file in the EXE executable file.
In the described generation one key upgrading tool system, do not need Developmental Engineer's coding code, dress IDE development environment need be installed on common Windows operating system accomplish the operation that generates a key upgrading tool.
The method for making that generates a key upgrading tool system is following: A, write the code of upgrading terminals software at IDE (Integrated Development, IDE); B, veneer mirror image that veneer is to be upgraded are integrated in the IDE environment with the mode of resource; C, the configuration file that will control upgrading mode and control upgrading content are integrated in the IDE environment; D, in the IDE environment, write a key upgrading tool interface code; E, compiled code and resource generate file destination; F, from IDE (Integrated Development, IDE) environment, isolate compiling, link needed file; G, the veneer image file that will upgrade are placed in the assigned catalogue of disk; H, resource allocation defined file (FilePacket.rc), configuration file (Config.ini), and add the most frequently used default setting; I, configuration script file and MAKE file, the compiling of script file, link configuration do not need to dispose once more later after accomplishing.
After the present invention adopts above technical scheme, mainly contain following effect:
The research and development slip-stick artist need be installed when 1, the present invention generates a key upgrading tool develop upgrading tool
The time IDE development environment installed.
Do not need expert engineer's update routine code when 2, generating a key upgrading tool, only need be according to liter
Level content and characteristic are revised corresponding configuration file and are got final product.
Domestic consumer can on common Windows operating system platform when 3, generating a key upgrading tool
Produce a corresponding key upgrading tool as required.
4, easy to operate, flexible, the user is soft terminal to be upgraded under the situation that adopts Default device
Script file of execution just can generate a key upgrading tool after part was put into designated directory.
5, a key upgrading tool that generates is an EXE executable program, wherein integrated instrument,
Being provided with etc. of terminal software and control upgrading content, the customer upgrade terminal software is very convenient.
6, generate key upgrading tool time weak point, workload seldom.
 
Description of drawings
Fig. 1 generates the composition synoptic diagram of a key upgrading tool system for the present invention;
Fig. 2 generates the schematic diagram of a key upgrading tool system for the present invention;
Fig. 3 generates the method for making process flow diagram of a key upgrading tool system for the present invention.
 
Embodiment
Further specify the present invention below in conjunction with embodiment and accompanying drawing.
As shown in Figure 1, the key upgrading tool system that generates is made up of the veneer image file that will upgrade, file destination unit, resource file control module, configuration file control module, script file unit and compiling link control module.
As shown in Figure 2; It is the schematic diagram that generates a key upgrading tool system; Image file according to veneer will be upgraded is gone up the file that the RC form is write in the position of placing at personal computer (PC); The concrete written contents of RC formatted file comprises resource identifier, key word, path, resource file place, and under the Updatefile catalogue of C dish, it is Updatefile then to be written as AmssFile MBN C: such as file amss.mbn on the computing machine.Configuration file wherein is the file of INI form; Configuration identifier is mainly a certain veneer image file of whether upgrading; 1 identifies the corresponding file of will upgrading, and 0 identifies the corresponding file of not upgrading, and veneer image file amss.mbn then is configured to bAMSSFile=1 such as upgrading.Mainly disposed the mode of operation of compiling, link environment and control compiler, linker in the script file; Compiler the resource file of RC formatted file and configuration file compiling and output RES form, has comprised veneer image file and configuration file in the RES format resource file according to the compile mode that disposes in the script file.Can carry out the EXE formatted file to RES format resource file and file destination link output through the control linker when carrying out script file; Can carry out the control operation that has comprised veneer image file and all configurations in the EXE formatted file, but move the operation of this executable file one-key operation upgrading veneer mirror image.
As shown in Figure 3, the method for making of generation one key upgrading tool system in one embodiment of the present of invention may further comprise the steps:
A, on personal computer (PC), set up IDE (Integrated Development, IDE) development environment, C++ Builder is installed develops software, write the program code of upgrading board software, make the instrument of the exploitation board software of can upgrading;
All Files with single board updating in the IDE development environment of B, the exploitation single board updating instrument in steps A loads into, and load mode is realized through program code or passed through to select corresponding file load in the resource module of IDE.
C, in the IDE environment, write the code of the code that reads configuration file and control upgrading content, like the corresponding document of the veneer mirror image of when reading a certain sign of configuration file, upgrading.
D, in the IDE environment, write a key upgrading tool interface control code, on the interface, have only a button, press this button after exploitation carry out upgrading veneer mirrored procedure.
E, the program code that in the IDE development environment, compiles the exploitation upgrading tool and resource generate file destination;
F, will compile exploitation upgrading tool needed file from IDE (Integrated Development; IDE) separates separately in the environment; With the linker in the IDE environment and link needed file and also separate, separate the file of file, RES formatted file, BPR formatted file and OBJ form of file, the DFM form of file, the EXE form of file that file comprises compiler brcc32.exe, linker ilink32.exe, LIB form, DLL form.
G, the veneer image file that will upgrade are placed in the assigned catalogue in the computer disk.
H, according to veneer image file memory location resource allocation defined file (FilePacket.rc) on computers, according to the content configuration configuration file (Config.ini) of upgrading veneer mirror image.
I, configuration script file and MAKE file are formed compiling, link environment; Final sum resources definition file (FilePacket.rc), configuration file (Config.ini) constitute total system; Debug system finally can generate a key upgrading tool of an EXE form, and the making of total system has just been accomplished like this.

Claims (9)

1. one kind generates a key upgrading tool system and a method for making; This system comprises veneer image file, file destination unit, resource file control module, configuration file control module, script file unit and the compiling link control module that will upgrade, it is characterized in that: described script file unit and compiling link control module are realized generating the management of a key upgrading tool; Through the key upgrading tool that script and configuration file control module control institute will generate, the document control of file in download control through disposing the RC form the veneer image file that will upgrade; Resource file control generates the file of RC form the scale-of-two resource file that comprises the veneer image file through compiling; It still is a part of file that configuration file is used for controlling whole veneer image files of whether upgrading, through carrying out the executable file of script file compiling link resource file, configuration file, veneer image file output EXE form.
2. a kind of generation one key upgrading tool system and method for making according to claim 1, it is characterized in that: described method for making comprises the steps:
Write the code of upgrading terminals software at the IDE IDE;
The veneer mirror image that veneer is to be upgraded is integrated in the IDE environment with the mode of resource;
The configuration file of control upgrading mode with control upgrading content is integrated in the IDE environment;
In the IDE environment, write a key upgrading tool interface code;
Compiled code and resource generate file destination;
From IDE (Integrated Development, IDE) environment, isolate compiling, link needed file;
The veneer image file that will upgrade is placed in the assigned catalogue of disk;
Resource allocation defined file FilePacket.rc, configuration file Config.ini;
Configuration script file and MAKE file;
A kind of generation one key upgrading tool system and method for making according to claim 2 is characterized in that: the code of writing upgrading terminals software described in the described steps A comprises PC and terminal communication protocol code and reads the resource file code.
3. a kind of generation one key upgrading tool system and method for making according to claim 2 is characterized in that: the veneer image file to be upgraded of the terminal described in the described step B is meant HEX formatted file and MBN formatted file.
4. a kind of generation one key upgrading tool system and method for making according to claim 2 is characterized in that: the control upgrading mode of described step C is meant with control upgrading content wipes the upgrading still backup upgrading and a certain veneer image file of whether upgrading.
5. a kind of generation one key upgrading tool system and method for making according to claim 2 is characterized in that: have only a button on the key upgrading tool interface described in the described step D.
6. a kind of generation one key upgrading tool system and method for making according to claim 2 is characterized in that: generate file destination described in the described step e and be meant the file of OBJ form and the executable file of EXE form.
7. a kind of generation one key upgrading tool system and method for making according to claim 2 is characterized in that: the file of file, RES formatted file, BPR formatted file and the OBJ form of the file of isolating file that compiling, the needed file of link comprise file, the DLL form of LIB form, EXE form described in the described step F, DFM form.
8. a kind of generation one key upgrading tool system and method for making according to claim 2; It is characterized in that: resource identifier, file layout and path, veneer file place with the veneer image file among the described step H write among the resources definition file FilePacket.rc, and the ident value of revising among the configuration file Config.ini is 0 or 1.
9. a kind of generation one key upgrading tool system and method for making according to claim 2; It is characterized in that: configuration script file and MAKE file are meant and revise BAT form script file and MAK formatted file among the described step I, and with step F in the isolated file composition compiling link environment that combines.
CN2011100323220A 2011-01-30 2011-01-30 One-click upgrade tool generation system and manufacturing method thereof Pending CN102622213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100323220A CN102622213A (en) 2011-01-30 2011-01-30 One-click upgrade tool generation system and manufacturing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100323220A CN102622213A (en) 2011-01-30 2011-01-30 One-click upgrade tool generation system and manufacturing method thereof

Publications (1)

Publication Number Publication Date
CN102622213A true CN102622213A (en) 2012-08-01

Family

ID=46562144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100323220A Pending CN102622213A (en) 2011-01-30 2011-01-30 One-click upgrade tool generation system and manufacturing method thereof

Country Status (1)

Country Link
CN (1) CN102622213A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020919A (en) * 2016-05-09 2016-10-12 烽火通信科技股份有限公司 A realization method for multi-server one-button compiling
CN106681761A (en) * 2016-12-13 2017-05-17 深圳市恒扬数据股份有限公司 Interactive upgrade method and system
CN108874417A (en) * 2018-05-22 2018-11-23 上海康斐信息技术有限公司 A kind of method for upgrading software and system of embedded device
CN109947417A (en) * 2019-03-21 2019-06-28 上海龙旗科技股份有限公司 For generating the method and apparatus of a key upgrade procedure
CN112560041A (en) * 2021-02-25 2021-03-26 北京微步在线科技有限公司 Method, apparatus and computer storage medium for automated quality verification detection

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5973687A (en) * 1996-12-18 1999-10-26 Sun Microsystems, Inc. Graphical distributed make tool methods apparatus and computer program products
EP1026586A2 (en) * 1999-02-04 2000-08-09 Sun Microsystems, Inc. Method and system for managing and displaying programs having a plurality of programming levels
US20020129347A1 (en) * 2001-01-10 2002-09-12 International Business Machines Corporation Dependency specification using target patterns
US20080040705A1 (en) * 2006-08-08 2008-02-14 Samsung Electronics Co., Ltd. Method for building software project
CN101697125A (en) * 2009-11-04 2010-04-21 中兴通讯股份有限公司 Method and device for development environment conversion
CN101814032A (en) * 2010-02-08 2010-08-25 河南大学 Resource encapsulation method utilizing Delphi resource file to generate Windows application program
CN101916194A (en) * 2010-06-01 2010-12-15 浙江大学 Method for deploying node procedure of wireless sensing network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5973687A (en) * 1996-12-18 1999-10-26 Sun Microsystems, Inc. Graphical distributed make tool methods apparatus and computer program products
EP1026586A2 (en) * 1999-02-04 2000-08-09 Sun Microsystems, Inc. Method and system for managing and displaying programs having a plurality of programming levels
US20020129347A1 (en) * 2001-01-10 2002-09-12 International Business Machines Corporation Dependency specification using target patterns
US20080040705A1 (en) * 2006-08-08 2008-02-14 Samsung Electronics Co., Ltd. Method for building software project
CN101697125A (en) * 2009-11-04 2010-04-21 中兴通讯股份有限公司 Method and device for development environment conversion
CN101814032A (en) * 2010-02-08 2010-08-25 河南大学 Resource encapsulation method utilizing Delphi resource file to generate Windows application program
CN101916194A (en) * 2010-06-01 2010-12-15 浙江大学 Method for deploying node procedure of wireless sensing network

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020919A (en) * 2016-05-09 2016-10-12 烽火通信科技股份有限公司 A realization method for multi-server one-button compiling
CN106020919B (en) * 2016-05-09 2019-06-21 烽火通信科技股份有限公司 A kind of implementation method of one key of multiserver compiling
CN106681761A (en) * 2016-12-13 2017-05-17 深圳市恒扬数据股份有限公司 Interactive upgrade method and system
CN106681761B (en) * 2016-12-13 2020-12-01 深圳市恒扬数据股份有限公司 Interactive upgrading method and system
CN108874417A (en) * 2018-05-22 2018-11-23 上海康斐信息技术有限公司 A kind of method for upgrading software and system of embedded device
CN109947417A (en) * 2019-03-21 2019-06-28 上海龙旗科技股份有限公司 For generating the method and apparatus of a key upgrade procedure
CN112560041A (en) * 2021-02-25 2021-03-26 北京微步在线科技有限公司 Method, apparatus and computer storage medium for automated quality verification detection

Similar Documents

Publication Publication Date Title
US9696972B2 (en) Method and apparatus for updating a web-based user interface
US9442744B2 (en) Multilingual build integration for compiled applications
CN110825488A (en) Business processing method and device, electronic equipment and storage medium
CN104781785A (en) Generating native code from intermediate language code for an application
US20140309983A1 (en) Integrated Application Localization
TWI471802B (en) Conversion methods of applications of mobile devices and mobile devices and systems capable of converting applications of mobile devices
CN102508669A (en) Automatic program code generating method
WO2010077445A1 (en) Developing applications at runtime
CN101859244A (en) Multi-toolchain engineering construction method and system
CN102622213A (en) One-click upgrade tool generation system and manufacturing method thereof
CN101226479A (en) Method for implementing dynamic collocation of mobile phone menu
CN104090765A (en) Method and device for switching from mobile game to webgame
CN103443763A (en) ISA bridging including support for call to overidding virtual functions
CN103761107B (en) Software package customizing device and method
CN111338925A (en) Applet test method, device and system, electronic equipment and storage medium
CN1661553A (en) System and method for interactive wireless applications
JP2022027529A (en) Boarding application compilation optimization method, device, electronic instrument and readable storage medium
CN112988165A (en) Kubernetes-based interactive modeling method and device, electronic equipment and storage medium
CN110990022A (en) Software project development method and device, processor and electronic device
JP2016066355A (en) Web application generating system, control method of web application generating system, program for web application generating system, web application generating device, control method of web application generating device, and program for web application generating device
CN114721647B (en) Object-oriented programming method based on codeless application development
EP4006715A1 (en) Creating a native app method and system
CN112988139B (en) Method and device for developing event processing file
CN114115899A (en) Project development method and device, electronic equipment and storage medium
CN104539697A (en) Client end, server and method for making Android mobile application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120801