CN103135991B - The customization implementation method of embedded device web interface - Google Patents

The customization implementation method of embedded device web interface Download PDF

Info

Publication number
CN103135991B
CN103135991B CN201310080130.6A CN201310080130A CN103135991B CN 103135991 B CN103135991 B CN 103135991B CN 201310080130 A CN201310080130 A CN 201310080130A CN 103135991 B CN103135991 B CN 103135991B
Authority
CN
China
Prior art keywords
demand
customized
worksheet
file
version
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.)
Active
Application number
CN201310080130.6A
Other languages
Chinese (zh)
Other versions
CN103135991A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201310080130.6A priority Critical patent/CN103135991B/en
Publication of CN103135991A publication Critical patent/CN103135991A/en
Application granted granted Critical
Publication of CN103135991B publication Critical patent/CN103135991B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of customization implementation method of embedded device web interface, comprise the following steps: utilize customized instrument in demand worksheet, fill in the demand ID of each customized version and corresponding demand parameter value, described demand worksheet is excel table; Worksheet according to demand, in baseline version, increases inhibition and generation demand catalogue, places corresponding customized function and realize file; Worksheet according to demand, increases the processing module for corresponding demand ID at baseline version, and the excel simultaneously increasing the corresponding demand ID of association in demand worksheet shows grand process code; Use excel to show grand instrument, unwanted functional module in automatic cutting baseline version, generates customized configuration file and source code, produces final customized version.The present invention, can manage customized demand easily, saves a large amount of flash space and the network bandwidth, does not need to upgrade source code by hand, decreases code maintenance task amount.

Description

The customization implementation method of embedded device web interface
Technical field
The present invention relates to the customization implementation method of embedded device, particularly relate to the customized method of web interface in the operating system of embedded device.
Background technology
Along with the widespread use in embedded electronic product at home and abroad market, the customized requirement of the user interface of the product more and more different client of demand fulfillment, provide one conveniently customized method become inexorable trend.Such as, Domestic Carriers has respective interface norm, and also there is the interface requirements of various customization in overseas each operator, and for the consideration to performance and cost, the customized implementation of current embedded product web interface mainly contains following several:
1) for the customized demand that operator is different customizes different user interface versions.The demand in different regions for each operator or same operator, developer creates branch's version from baseline version, and branch's version increases the feature support module of each particular demands, and final each branch's version of submitting to is to operator.
2) for the customized demand that operator is different provides compatible user interface version.The demand in different regions for each operator or same operator, developer increases the feature support module to each particular demands in baseline version, and the final version of compatible all demands of submitting to is to operator.
The deficiency that these two kinds of modes are main is above:
The first, the method creating branch's version substantially increases the workload of maintenance, and particularly when baseline version has renewal, the content of renewal needs to be synchronized in each branch's version.
The second, the compatible version submitting to specific user comprises the functional module supporting all demands, and these assemblies waste the limited flash space of embedded device, affect the runnability of electronic product.
3rd, under above two kinds of modes, developer needs manpower comparing to each demand, then manual each feature support module of increase, whether tester also must be included among version each demand by manpower comparing, which increases a large amount of development& testing maintenance times.Customized demand is dispersed in different editions and document simultaneously, if managerial personnel need the demand grasping all clients on the whole, compare and prioritization, must from dissimilar file as: gather conclusion mail, word document, this also increases handling cost.
In sum, be difficult to the customization implementation method of upper type the customized needs meeting development, in actual applications in the urgent need to a kind of demand customization implementation method with robotization framework.
Summary of the invention
To be solved by this invention is in prior art, embedded device web interface customized, and adopt branch's version mode, maintenance workload is large; Adopt compatible version mode, the problem in the flash space that waste embedded device is limited.
In order to solve the problems of the technologies described above, the invention provides a kind of customization implementation method of embedded device web interface, comprising the following steps:
Step one, customized demand personnel utilize customized instrument, in demand worksheet customerRequestTable, increase corresponding demand item, fill in the demand ID of each customized version and corresponding demand parameter value; Described demand worksheet is for transmitting the form of demand information in customized instrument, and this form uses excel document; Described demand ID is the id number that customized demand personnel have wished the embedded device of customized operation;
The demand worksheet that step 2, customized operating personnel generate according to step one, in baseline version, increases customized demand catalogue, places corresponding customized function and realize file;
Step 3, customized operating personnel worksheet according to demand, increase the processing module for corresponding demand ID at baseline version, and the excel simultaneously increasing the corresponding demand ID of association in demand worksheet shows grand process code;
Step 4, customized operating personnel use excel to show grand instrument, the unwanted functional module of automatic cutting baseline version, generate customized configuration file and cgi source code, produce final customized version, for the renewal of the operation system of software of embedded device.
In the above-mentioned methods, the customized function in step 2 realizes file, comprises page html file, javascript file, background picture, Language Translation file and function treatment cgi file.
In the above-mentioned methods, the customized version process subroutine in step 3 is the program reading Static Configuration Files or page html file and call cgi script; In step 3, the excel associating corresponding demand ID in demand worksheet shows grand process code, for generating corresponding Static Configuration Files, html file and cgi script.
In the above-mentioned methods, described demand worksheet is the summary sheet of customized demand.
The present invention, adopt the customized design of web interface of robotization framework, overcome the shortcoming and defect of the customized mode of current page, customized demand can be managed easily, when customized changes in demand, only need the original document upgrading customized demand, and this original document is provided with excel sheet form by demand management personnel, this excel table can by market, customer service, exploitation and managerial personnel read and use, customized configuration file required for developer is generated automatically by this excel table and source code, directly use in a program, no longer need manual conversion, greatly save the development time.
Adopt the technical scheme designed in the present invention, its advantage saves a large amount of flash space and the network bandwidth, do not need to upgrade source code by hand, decrease code maintenance task amount.
Accompanying drawing explanation
Fig. 1 is the customization implementation method process flow diagram of provided by the invention kind of embedded device web interface;
Fig. 2 is the schematic diagram making demand worksheet in the present invention.
Fig. 3 is the structural representation of the demand worksheet in the present invention.
Embodiment
Below in conjunction with Figure of description and embodiment, the present invention is described in detail.
Fig. 1 is the customization implementation method process flow diagram of embedded device web interface provided by the invention, demand personnel, developer and managerial personnel use customized instrument according to the step shown in Fig. 2, making demand worksheet customerRequestTable, demand worksheet customerRequestTable is excel form, below also claim excel table, the structure of demand worksheet customerRequestTable as shown in Figure 3.
As shown in Figure 1, the customization implementation method of embedded device web interface provided by the invention, realizes based on linuxcgi language and excelvba language design, comprises the following steps:
Step one:
Customized demand People Analysis and the customized demand of arrangement, the relevant information of each customized demand is inserted demand worksheet customerRequestTable, as shown in Figure 3, first hurdle of demand worksheet customerRequestTable represents demand ID, second hurdle represents the requirement description (demand implication) that this demand is corresponding, third column represents the corresponding customized demand parameter of client 1, and the 4th hurdle represents the corresponding customized demand parameter of client 2, by that analogy.
Step 2:
The demand worksheet customerRequestTable that customized operating personnel generate according to step one, the customized demand catalogue of client is increased in the baseline version comprising all functions, this catalogue is used for placing customized function and realizes file, comprises the file such as page html file and javascript file, logo file, background picture, Language Translation file, function treatment cgi.The customized demand catalogue of the such as version of client 1 be branches customer1, the customized demand catalogue of version of client 2 be branches customer2.
Step 3:
Operating personnel increase the processing module to corresponding demand ID at baseline version, processing mode can be read Static Configuration Files or html file, also can be call cgi script, in demand worksheet customerRequestTable, increase the grand process code of the corresponding demand ID of association, grand process code is for generating corresponding Static Configuration Files, html file and cgi script simultaneously.
It is below the part signal code that this module uses the grand realization of vba.
' function: generate port status html file.
Step 4:
Operating personnel use excel to show grand process code, unwanted functional module in the customized version of automatic cutting, generate customized configuration file, html file and cgi source code, produce the final customized version meeting this customized demand, for the renewal of the operation system of software of embedded device.
Such as, the logo file of cutting redundancy and background picture file, first can read the customized release type that in demand worksheet customerRequestTable, in demand ID, BRANDING represents, as client 1 Release parameter value is " customer1 ", then except other catalogue under branches except customer1 in deltreeing according to the type; The Language Translation file of cutting redundancy, first can read the page language type that in demand worksheet customerRequestTable, in demand ID, LANGUAGE represents, as Chinese and English this parameter value of mixed version is " ch; en ", then the other Languages translated document except language_ch and language_en is deleted.
Be below the part signal code that this module uses the grand realization of vba, its function generates customized configuration file and deletes the unwanted script of customized version and cgi file in baseline.
' function: generate customized configuration file
' function: delete the unwanted configuration file of customized version, html file and cgi file
The present invention has the following advantages and good effect:
1) version for particular customer does not need the functional module retaining all customer demands, saves a large amount of flash space and the network bandwidth.
2) programmer only need safeguard a set of baseline version, and different customer demand is preserved in demand worksheet, increases or revises certain demand, does not need to upgrade source code by hand, decreases code maintenance task amount.
3) the requirement definition file of demand librarian use is automatically converted to the development language file that programmer uses, and alleviates the work that programmer and demand personnel carry out coordination and communication.
4) managerial personnel can compare from the overall situation and the demand of each client that sorts.
The present invention is not limited to above-mentioned preferred forms, and anyone should learn the structure change made under enlightenment of the present invention, and every have identical or close technical scheme with the present invention, all falls within protection scope of the present invention.

Claims (3)

1. the customization implementation method of embedded device web interface, is characterized in that, comprises the steps:
Step one, customized demand personnel utilize customized instrument, in demand worksheet customerRequestTable, increase corresponding demand item, fill in the demand ID of each customized version and corresponding demand parameter value; Described demand worksheet is for transmitting the form of demand information in customized instrument, and this form uses excel document; Described demand ID is the id number that customized demand personnel have wished the embedded device of customized operation;
The demand worksheet that step 2, customized operating personnel generate according to step one, in baseline version, increases customized demand catalogue, places corresponding customized function and realize file;
Step 3, customized operating personnel worksheet according to demand, increase the processing module for corresponding demand ID at baseline version, and the excel simultaneously increasing the corresponding demand ID of association in demand worksheet shows grand process code;
Step 4, customized operating personnel use excel to show grand instrument, unwanted functional module in automatic cutting baseline version, generate customized configuration file and cgi source code, produce final customized version, for the renewal of the operation system of software of embedded device;
Wherein, be the program reading Static Configuration Files or page html file and call cgi script for the processing module of corresponding demand ID in step 3; In step 3, the macrocode of the corresponding embedded equipment I D of the association increased in demand worksheet, for generating corresponding Static Configuration Files, html file and cgi script.
2. the customization implementation method of embedded device web interface according to claim 1, it is characterized in that, customized function in step 2 realizes file, comprises page html file, javascript file, background picture, Language Translation file and function treatment cgi file.
3. the customization implementation method of embedded device web interface according to claim 1, is characterized in that, described demand worksheet is the summary sheet of customized demand.
CN201310080130.6A 2013-03-13 2013-03-13 The customization implementation method of embedded device web interface Active CN103135991B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310080130.6A CN103135991B (en) 2013-03-13 2013-03-13 The customization implementation method of embedded device web interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310080130.6A CN103135991B (en) 2013-03-13 2013-03-13 The customization implementation method of embedded device web interface

Publications (2)

Publication Number Publication Date
CN103135991A CN103135991A (en) 2013-06-05
CN103135991B true CN103135991B (en) 2015-12-09

Family

ID=48495863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310080130.6A Active CN103135991B (en) 2013-03-13 2013-03-13 The customization implementation method of embedded device web interface

Country Status (1)

Country Link
CN (1) CN103135991B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573526B (en) * 2014-12-25 2018-01-12 百度在线网络技术(北京)有限公司 Software product multi version management method, device and computer equipment
US11372977B2 (en) * 2018-11-12 2022-06-28 Thirdwayv, Inc. Secure over-the-air firmware upgrade
CN110209409B (en) * 2019-03-20 2022-02-01 腾讯科技(深圳)有限公司 Customization method and system of application product and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192143A (en) * 2006-12-01 2008-06-04 上海亚伦科技有限公司 Software interface construction method
CN101783906A (en) * 2010-03-23 2010-07-21 烽火通信科技股份有限公司 Electronic program guide realization method in internet protocol television product

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100596174C (en) * 2006-01-20 2010-03-24 华为技术有限公司 Method for setting interface of electronic card

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192143A (en) * 2006-12-01 2008-06-04 上海亚伦科技有限公司 Software interface construction method
CN101783906A (en) * 2010-03-23 2010-07-21 烽火通信科技股份有限公司 Electronic program guide realization method in internet protocol television product

Also Published As

Publication number Publication date
CN103135991A (en) 2013-06-05

Similar Documents

Publication Publication Date Title
KR20180038539A (en) A method and system for implementing data tracking with a software development kit
CN104123227A (en) Method for automatically generating testing cases
CN104484216A (en) Method and device for generating service interface document and on-line test tool
CN104750472B (en) The resource package management method and device of a kind of terminal applies
CN105068794A (en) Realization method for supporting local research and development of Web page
CN104391786A (en) Webpage automatic test system and method thereof
CN102314469A (en) Method for implementing cross-domain request callback
CN104881776A (en) Office system convenient for multi-user collaboration
CN103135991B (en) The customization implementation method of embedded device web interface
CN106354857A (en) News tag management system
CN107391118B (en) Web application user experience platform system
CN104123155A (en) Business system page layer development platform and method based on WEB
CN102521008A (en) Program compiling device and method for compiling program
CN103647795B (en) The adjustment method that a kind of widget of realization remote service is called
CN102982217A (en) Processing method and device of screen print
CN105094768A (en) Application interface generation method and application interface generation device
CN105183500A (en) Method and system for configuring webpage language
CN105224420A (en) A kind of analytical approach of automatic parsing terminal abnormal and system
CN102739966A (en) Method and apparatus for editing program in remote centralized control system
CN104573053A (en) Configuration item template dynamic customizing method based on XML
CN104461893A (en) Data processing method and data processing device
CN104317779A (en) Browser-based Word formula copying and uploading control and method
CN109145209B (en) Method, apparatus and storage medium for searching blockchain data
KR20170105325A (en) Method for analyzing source code, system and apparatus for executing the method
CN115658127A (en) Data processing method and device, electronic equipment and storage 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
C14 Grant of patent or utility model
GR01 Patent grant