CN102508875B - Method for quickly modifying and expanding WEB user interface of terminal equipment - Google Patents

Method for quickly modifying and expanding WEB user interface of terminal equipment Download PDF

Info

Publication number
CN102508875B
CN102508875B CN 201110314830 CN201110314830A CN102508875B CN 102508875 B CN102508875 B CN 102508875B CN 201110314830 CN201110314830 CN 201110314830 CN 201110314830 A CN201110314830 A CN 201110314830A CN 102508875 B CN102508875 B CN 102508875B
Authority
CN
China
Prior art keywords
web page
file
page files
terminal device
terminal equipment
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
CN 201110314830
Other languages
Chinese (zh)
Other versions
CN102508875A (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 CN 201110314830 priority Critical patent/CN102508875B/en
Publication of CN102508875A publication Critical patent/CN102508875A/en
Application granted granted Critical
Publication of CN102508875B publication Critical patent/CN102508875B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method for quickly modifying and expanding a WEB user interface of terminal equipment, relates to the field of computer technology application and in particular relates to upgrading and developing technologies of a WEB user interface of terminal equipment. A webpage file is not required to be directly compiled into a target file in the terminal equipment, and only a new webpage file storage module and a matched expansion memory are additionally installed in the terminal equipment; and a webpage file addressing vector index memorizer is additionally arranged in a hyper text transport protocol (HTTP) server module in a matching manner. The method comprises the following steps of: A, transmitting the webpage file to a new webpage file storage region by a working master; B, constructing a webpage file addressing index table; C, setting a priority for an HTTP server program to access a webpage file address; and D, checking and modifying a new webpage file text.

Description

A kind of method of finishing terminal device WEB user interface modifications and expansion fast
Technical field
The present invention relates to the Computer Applied Technology field, especially to the method for the quick transformation and upgrade of realization of WEB user interface in the terminal device.
Background technology
At present, nearly all network-termination device all has the user friendly interface, and most terminal equipment user interface all adopts technology such as html, js to realize that the user conducts interviews to terminal device by browser and controls.
Different terminal devices, different clients is to the requirement difference at interface, and this just makes equipment manufacturers have to drop into great amount of manpower, time and for adapting to different the requirement setting and functional link thereof at interface is developed, transformed and upgrade.
Interface development to existing terminal device mainly contains two kinds of methods: the first adopts following steps: at first generate in the machine-tool design and transform text, namely increase the text that function adaptability promotes, compile then, generate binary object file, the file destination that generates is uploaded to terminal device, terminal device is debugged after startup at last, and at every turn all will repeat above step to the change of web page files.In the method, according to the function difference of using compiler, compiling each time needs 3-5 minute, and file transfer needs 2-3 minute, adds device start, generally needs 5-8 minute terminal device ability ready.Each terminal device comprises tens pages at present, and each webpage on average needs to revise verification 5-6 time, adopts the method need spend the plenty of time for compiling, transmission and terminal device startup.
Another kind method is to adopt the mode of network file system(NFS) to debug and develop, and is to be with file
System is placed in the machine-tool, rather than the terminal device the inside, though the method function is more powerful, it has a lot of limitation, is not adapted at using on all schemes and the function code.
Summary of the invention
The present invention is intended to overcome the deficiencies in the prior art, provides a kind of WEB user interface that makes terminal device fast to finish exploitation, transform and the method for upgrading.
The technical solution used in the present invention is: a kind of method of finishing terminal device WEB user interface modifications and expansion fast, this method based on machine-tool, and generate web page files at machine-tool, file type is html file or js file or xml file, be provided with the http server module in the terminal device, key is: terminal device is set up new web page files memory module and supporting exented memory, supporting increase web page files addressing vector index storer in the http server module, finish and comprise following steps in the method for revising with expansion:
A, machine-tool are transferred to the web page files that processes in the terminal device, preserve web page files in the memory module of setting,
B, in addressing vector index storer, set up the addressing concordance list relevant with above-mentioned web page files address,
The right of priority of C, the http server routine access related web page file address when terminal device being set receiving the interface request at first is the address of new web storage module, secondly is the related web page file storage area address of acquiescence,
D, start to revise or expansion after the interface request, after revising according to designing requirement after the checking, deposit new web page files storage area for the function at interface and new web page files text defective in.
Steps A may further comprise the steps:
A1, machine-tool are transferred to new web page files in the internal memory of terminal equipment mainframe;
A2, terminal equipment mainframe take out new web page files from internal memory, store new web page files memory module into after being reduced into the interface text, and file name remains unchanged.
Web page files memory module newly-increased in the terminal device is located at/the var/webs/ file.
The present invention not be used in the terminating machine web page files is compiled, generates binary file be transferred to terminal device again in machine-tool, and the web page files that only will debug is transferred to terminal device separately, finish debugging and prepare, and then carry out the debugging of web page files.In the terminal device, be provided with the http server module, be used for the response external request.When this module is received external request, search corresponding file from the position/webs/ file of acquiescence and also respond to external request.
Intuitively, the web page files of needs debugging is transferred to/the webs/ file just can debug it.But the file the under/webs/ file is read-only, and content just can not be changed once definite, and the content of the inside is determined by uploading binary object file.Therefore, the web page files of need debugging can not be sent to separately under this document folder and debug, can only set up the web page files that a new web page files storage area is deposited needs debugging again, transfer files is to this zone so separately.
Because the http server program in the terminal device is only searched/the webs/ file, therefore need to change its ff path.If file is sent to the internal memory of terminal device by browser, the text of uploading can increase beginning and end mark by viewed device automatically, therefore needs terminal equipment mainframe original also earlier, stores new web page files storage area again into.
For the web page files call relation that makes terminal device remains unchanged, the debugging file of newly uploading can be called, must keep filename constant, with the filename unanimity under the default document system.
Like this, need the web page files of debugging can upload to assigned address separately, debugging work is finished in the debugging request that terminal device also can response external.
Adopt the present invention to come the WEB user interface in the terminal device is realized quick transformation and upgrade, changing
Make in the process and need not compile, file was uploaded for 4 seconds and can be finished, and terminal device also need not restart, and terminal device was just ready after file transfer was finished.Comprise tens pages in each terminal device at present, each webpage on average needs to revise verification 5-6 time, adopts the method to save the plenty of time, accelerates Products Development, upgrading progress greatly, simplify R﹠D process and online processing cycle, product can be introduced to the market fast.
Description of drawings
Fig. 1 is process flow diagram of the present invention.
Embodiment
A kind of method of finishing terminal device WEB user interface modifications and expansion fast, this method based on machine-tool, and generate web page files at machine-tool, file type is html file or js file or xml file, be provided with the http server module in the terminal device, key is that terminal device is set up new web page files memory module and supporting exented memory, supporting increase web page files addressing vector index storer in the http server module, finish and comprise following steps in the method for revising with expansion:
A, machine-tool are transferred to the web page files that processes in the terminal device, preserve web page files in the memory module of setting,
B, in addressing vector index storer, set up the addressing concordance list relevant with above-mentioned web page files address,
The right of priority of C, the http server routine access related web page file address when terminal device being set receiving the interface request at first is the address of new web storage module, secondly is the related web page file storage area address of acquiescence,
D, start to revise or expansion after the interface request, after revising according to designing requirement after the checking, deposit new web page files storage area for the function at interface and new web page files text defective in.
Steps A may further comprise the steps:
A1, machine-tool are transferred to new web page files in the internal memory of terminal equipment mainframe;
A2, terminal equipment mainframe take out new web page files from internal memory, store new web page files memory module into after being reduced into the interface text, and file name remains unchanged.
Web page files memory module newly-increased in the terminal device is located at/the var/webs/ file.
The present invention is described in detail below in conjunction with accompanying drawing.
In the terminal device, a http server program is arranged, be used for the response external request.When this program is received external request, search corresponding file from the position/webs/ file of acquiescence and also respond to external request.
The present invention sets up new web page files memory module and supporting exented memory in terminal device, supporting increase web page files addressing vector index storer in the http server module.
When carrying out terminal device WEB user interface development, at first generate web page files at machine-tool, machine-tool is transferred to the web page files that processes in the internal memory of terminal device, terminal equipment mainframe takes out web page files from the terminal internal memory, the content that system increases automatically when removing transmission, as filename, end-of-file mark etc., reduction original web page file, the title of file remains unchanged, in the present embodiment, it is stored in/the var/webs/ file, in the web page files addressing vector index storer in the http server module, set up the addressing index, both pointed to/the var/webs/ file.When http server responds mutually, being arranged at first visit/the var/webs/ file, secondly is the related web page file storage area address of acquiescence.
During webpage, http server is received external request in debugging, and in the present embodiment, at first locating file under/var/webs/ file if find, is responded request, otherwise, from the file of the web page files storage area search request of acquiescence.
If upload the webpage defectiveness of debugging, repeat above-mentioned steps, until reaching designing requirement.

Claims (2)

1. method of finishing terminal device WEB user interface modifications and expansion fast, this method based on machine-tool, and generate web page files at machine-tool, file type is html file or js file or xml file, be provided with the http server module in the terminal device, it is characterized in that terminal device sets up new web page files memory module and supporting exented memory, supporting increase web page files addressing vector index storer in the http server module, finish and comprise following steps in the method for revising with expansion:
A, machine-tool are transferred to the web page files that processes in the terminal device, preserve web page files in the memory module of setting,
B, in addressing vector index storer, set up the addressing concordance list relevant with above-mentioned web page files address,
The right of priority of C, the http server routine access related web page file address when terminal device being set receiving the interface request at first is the address of new web storage module, secondly is the related web page file storage area address of acquiescence,
D, start to revise or expansion after the interface request, for the function at interface and new web page files text defective, after revising in checking and according to designing requirement, deposit new web page files storage area in;
Described steps A may further comprise the steps:
A1, machine-tool are transferred to new web page files in the internal memory of terminal equipment mainframe;
A2, terminal equipment mainframe take out new web page files from internal memory, store new web page files memory module into after being reduced into the interface text, and file name remains unchanged.
2. a kind of method of finishing terminal device WEB user interface modifications and expansion fast according to claim 1 is characterized in that, web page files memory module newly-increased in the terminal device is located at/the var/webs/ file.
CN 201110314830 2011-10-18 2011-10-18 Method for quickly modifying and expanding WEB user interface of terminal equipment Expired - Fee Related CN102508875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110314830 CN102508875B (en) 2011-10-18 2011-10-18 Method for quickly modifying and expanding WEB user interface of terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110314830 CN102508875B (en) 2011-10-18 2011-10-18 Method for quickly modifying and expanding WEB user interface of terminal equipment

Publications (2)

Publication Number Publication Date
CN102508875A CN102508875A (en) 2012-06-20
CN102508875B true CN102508875B (en) 2013-08-14

Family

ID=46220961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110314830 Expired - Fee Related CN102508875B (en) 2011-10-18 2011-10-18 Method for quickly modifying and expanding WEB user interface of terminal equipment

Country Status (1)

Country Link
CN (1) CN102508875B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209925B (en) * 2015-04-29 2019-07-26 阿里巴巴集团控股有限公司 Page loading method, client and system
CN110795353B (en) * 2019-10-29 2023-10-13 北京小米移动软件有限公司 Quick application debugging method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527783A (en) * 2008-12-25 2009-09-09 深圳市同洲电子股份有限公司 Method and system for acquiring interface data and digital TV receiving terminal
CN101650739A (en) * 2008-07-10 2010-02-17 论理工场株式会社 Method for system for interface of wep page
CN101727327A (en) * 2010-02-01 2010-06-09 山东浪潮齐鲁软件产业股份有限公司 Development method for visual JSP interface based on GEF technology

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650739A (en) * 2008-07-10 2010-02-17 论理工场株式会社 Method for system for interface of wep page
CN101527783A (en) * 2008-12-25 2009-09-09 深圳市同洲电子股份有限公司 Method and system for acquiring interface data and digital TV receiving terminal
CN101727327A (en) * 2010-02-01 2010-06-09 山东浪潮齐鲁软件产业股份有限公司 Development method for visual JSP interface based on GEF technology

Also Published As

Publication number Publication date
CN102508875A (en) 2012-06-20

Similar Documents

Publication Publication Date Title
CN111273898B (en) Automatic construction method, system and storage medium for web front-end code
CN104978194A (en) Web page front-end development method and apparatus
CN104133685B (en) The method and system of Website front-end exploitation
CN102663062B (en) Method and device for processing invalid links in search result
CN105045887B (en) The system and method for mixed mode cross-domain data interaction
CN106293675B (en) System static resource loading method and device
EP2696283A1 (en) Method and system for synchronization of applications across devices
CN109445835A (en) Method, terminal device and the computer readable storage medium of building project frame
US20130311599A1 (en) Updating Web Resources
CN102109989A (en) Method, device and system for controlling browser cache
CN102289382B (en) TV software update method, Apparatus and system
CN103034583A (en) Method and system for processing automatic test scrip of software
CN102779128A (en) Method and device for offline running of HTML5 (hypertext markup language 5) application program in mobile terminal
CN102821133B (en) The method of XBRL Data Analysis and server
CN106354484A (en) Browser compatibility method and browser
CN107193607A (en) Method and apparatus, storage medium, processor and terminal for updating code file
CN103248524A (en) Flexible test technology based test data version control method, device and system
CN103294717B (en) Web page opening method and device based on double-kernel browser
CN107704256A (en) The method that Python relies on system library automation installation is realized on a kind of Ubuntu
CN105068802A (en) Cross device running Web application software implementation system and method
CN102508875B (en) Method for quickly modifying and expanding WEB user interface of terminal equipment
CN100470546C (en) Data center server, data service system and data query method
CN101315629B (en) Downloading method and system for web page dynamic contents
CN114253798A (en) Index data acquisition method and device, electronic equipment and storage medium
CN102156697A (en) Method and terminal equipment for realizing webpage application through widget

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: 20130814

CF01 Termination of patent right due to non-payment of annual fee