CN104021003A - Method and device for modifying home page of information management system - Google Patents
Method and device for modifying home page of information management system Download PDFInfo
- Publication number
- CN104021003A CN104021003A CN201410290111.0A CN201410290111A CN104021003A CN 104021003 A CN104021003 A CN 104021003A CN 201410290111 A CN201410290111 A CN 201410290111A CN 104021003 A CN104021003 A CN 104021003A
- Authority
- CN
- China
- Prior art keywords
- management system
- information management
- html
- homepage
- page
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000002347 injection Methods 0.000 claims description 11
- 239000007924 injection Substances 0.000 claims description 11
- 238000012986 modification Methods 0.000 abstract 1
- 230000004048 modification Effects 0.000 abstract 1
- 230000001105 regulatory effect Effects 0.000 abstract 1
- 238000007726 management method Methods 0.000 description 112
- 238000010586 diagram Methods 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a method and a device for modifying the home page of an information management system. The method comprises the following steps: establishing a proxy page used for being proxy for the home page of the information management system; acquiring the HTML (hypertext markup language) of the home page of the information management system by HTTP (hypertext transfer protocol) request by the proxy page, and loading HTML; injecting JS (jump if sign) script including logics for modifying the home page of the information management system; returning the HTML of the information management system home page injected with JS script to the client to realize modification on the home page of the information system. According to the method and the device, the home page of the information management system can be structurally regulated or updated, so that the personalized customization of the home page of the information management system can be realized.
Description
Technical field
The present invention relates to information systems technology field, more specifically, relate to a kind of method and device of revising information management system homepage.
Background technology
Along with the development of infotech, each enterprise starts to pay attention to the information management of himself gradually, and therefore the information management system of enterprise is arisen at the historic moment.Because can helping enterprise, information management system realizes the centralized management of robotization, sequencing and the information of office, therefore nowadays each enterprises and institutions all have the information management system towards miscellaneous service of multiple WEB modes, for example ERP (Enterprise Resource Planning, Enterprise Resources Plan or claim Enterprise Resources Planning), eHR (enterprise Human Resource, drainage of human resources), OA (Office Automation, office automation) etc.And the entrance that the homepage of information management system is used as user, to represent at most to user's, the design style of the homepage of information management system should with the VI of owned enterprise (Visual Identity, visual identifying system) be consistent or as required it adjusted to renewal, to represent to greatest extent the cultural connotation of enterprise.
For the enforcement of the above-mentioned enterprise information management system, there are at present two kinds of embodiments, a kind of is to adopt the mode of Project settings, another kind of be the mode that adopts software product sale.For the information management system that adopts customization mode to implement, it can be according to Party A's requirement, the homepage of Customization System, must meet Party A's VI style such as Party A can require the homepage of information management system of implementing, fully to represent Party A's Enterprise Culture Connotation.But the information management system of implementing with software product marketing method for some, it does not generally provide the customization of system home page or a small amount of customization is only provided, Logo and user's name that for example can customization enterprise, so the cultural connotation of enterprise can not get sufficient embodiment.
In addition, for the information management system of having implemented, which kind of no matter once by mode implemented, because system is not through there is no source code after compiling, conventionally can only modify to some pictures, can not carry out structural change to interface, therefore in the time need to modifying to the homepage of information management system, can be subject to a lot of restrictions, can not on demand the homepage of information management system be adjusted or be upgraded.
Summary of the invention
In view of the above problems, the object of this invention is to provide a kind of method and device of revising information management system homepage, as required the homepage of information management system is carried out to structural adjustment or renewal, realize the personalized customization of the homepage to information management system.
According to an aspect of the present invention, provide a kind of method of revising information management system homepage, comprising:
On server, set up and act on behalf of the page, act on behalf of the homepage of the page for proxy information management system;
Act on behalf of the page by the HTML of HTTP acquisition request information management system homepage and load HTML;
After HTML, inject JS script, JS script comprises the logic that information management system homepage is modified;
Return to the HTML of the information management system homepage that is injected with JS script to client, realize the amendment to information management system homepage.
Wherein, JS script operates by DOM the page that HTML is shown and modifies.
Wherein, in the process of HTML from the information management system homepage that is injected with JS script to client that return to, client is the HTML of operation information management system homepage first, then moves described JS script.
On the other hand, the invention provides a kind of device of revising information management system homepage, comprising:
Act on behalf of the page and set up unit, for setting up and act on behalf of the page, act on behalf of the homepage of the page for proxy information management system on server;
Loading unit, for acting on behalf of the page by the HTML of HTTP acquisition request information management system homepage and loading HTML;
Script injection unit, for injecting JS script after the HTML loading at loading unit, JS script comprises the logic that information management system homepage is modified;
Return to unit, for return to the HTML of the information management system homepage that is injected with JS script to client, realize the amendment to information management system homepage.
Utilize above-mentioned according to method and the device of amendment information management system homepage of the present invention, by the agency who acts on behalf of the page and realize the homepage to information management system who sets up on the WEB server in information management system, then use the JS script injecting to carry out structural adjustment or renewal to the homepage of information management system, and then realize the personalized customization of the homepage to information management system.
In order to realize above-mentioned and relevant object, one or more aspects of the present invention comprise below by the feature that describes in detail and particularly point out in the claims.Explanation below and accompanying drawing describe some illustrative aspects of the present invention in detail.But, the instruction of these aspects be only some modes that can use in the variety of way of principle of the present invention.In addition, the present invention is intended to comprise all these aspects and their equivalent.
Brief description of the drawings
By reference to the content below in conjunction with the description of the drawings and claims, and along with understanding more comprehensively of the present invention, other object of the present invention and result will be understood and easy to understand more.In the accompanying drawings:
Fig. 1 is the first pass schematic diagram of the method for the amendment information management system homepage of the embodiment of the present invention;
Fig. 2 is the second schematic flow sheet of the method for the amendment information management system homepage of the embodiment of the present invention;
Fig. 3 is according to the logical organization block diagram of the device of the amendment information management system homepage of the embodiment of the present invention.
In institute's drawings attached, identical label is indicated similar or corresponding feature or function.
Embodiment
Below with reference to accompanying drawing, specific embodiments of the invention are described in detail.
Problem that can not the structure of the homepage to information management system is adjusted or upgraded as required for aforementioned existing embodiment, the present invention sets up and acts on behalf of the page on the WEB of information management system server, this acts on behalf of the homepage of the page for proxy information management system, wherein, act on behalf of the page by the HTML of HTTP acquisition request information management system homepage, after the HTML that treats information management system homepage has loaded, after this HTML, inject JS script, then return to the HTML of the information management system homepage that is injected with JS script to client.That is to say, what finally return to client is to act on behalf of the page, and the page of acting on behalf of that returns to client is the HTML that includes the information management system homepage of JS script.Can carry out structural adjustment or renewal to the homepage of information management system by the present invention, and then realize the personalized customization of the homepage to information management system.
For the method for amendment information management system homepage provided by the invention is described, Fig. 1 shows according to the first pass of the method for the amendment information management system homepage of the embodiment of the present invention.
As shown in Figure 1, the method for amendment information management system homepage provided by the invention comprises:
S110: set up and act on behalf of the page on server, act on behalf of the homepage of the page for proxy information management system.
It should be noted that, information management system all relies on WEB server to move mostly, therefore also needs to set up on server for the page of acting on behalf of of the homepage of proxy information management system.
Particularly, on the WEB of information management system server, set up one and act on behalf of the page, a kind of technology that the technology of its realization can select any former WEB server to support, such as ASP, JSP, PHP, ASP.NET etc.That is to say, set up and act on behalf of the page on server by ASP or JSP or PHP, open the homepage of information management system by this URL that acts on behalf of the page.In order conveniently to act on behalf of the page, the homepage of information management system is acted on behalf of, further, can be changed the acquiescence homepage URL of WEB server into act on behalf of the page URL.
S120: act on behalf of the page by the HTML of HTTP acquisition request information management system homepage and load HTML.
Particularly, remove the HTML of obtaining information management system homepage by setting in advance at the code of acting on behalf of in the page.That is: agency page page is asked the URL of obtaining information management system homepage by HTTP, and then the HTML of acquired information management system homepage complete the loading to HTML.
S130: inject JS script after HTML.
After the loading of HTML completes, HTML add JS script backmost, wherein this JS script comprises the logic that the structure of information management system homepage is modified, logic herein refers to modifies to the structure of information management system homepage.Further, this JS script is to operate by DOM the amendment that the page that HTML is shown carries out.Also just say so, the structure that this JS script can be realized the page that HTML is shown by the amendment to DOM is modified, and then causes the change of full page structure.
S140: return to the HTML of the information management system homepage that is injected with JS script to client, realize the amendment to information management system homepage.
Particularly, in the process of HTML from the information management system homepage that is injected with JS script to client that return to, client is the HTML of operation information management system homepage first, and then the JS script of operation injection.That is to say, just there is change being injected into after JS script in the HTML of infosystem homepage, and then client to represent be also amended HTML to user, amended HTML is after client loads, first that operation is the HTML (not injecting JS script HTML before) of prime information management system homepage, if certainly there are the words of JS script in the HTML of prime information management system homepage, original JS script also can move thereupon, the state of the homepage of the information management system of now client operation is the end-state of prime information management system homepage, after the HTML of prime information management system homepage operation is complete, just can move the JS script of injection, instead of directly on the backstage of acting on behalf of the page, HTML is modified.
That is to say, the JS script of injection needs foreground to wait for after former HTML has loaded HTML to be modified again, and so just can avoid JS script in prime information management system homepage after the page is modified, may occur the problem of run-time error.
For the method for amendment information management system homepage provided by the invention is described more intuitively, Fig. 2 shows the second flow process of the method for the amendment information management system homepage of the embodiment of the present invention.
Particularly, as shown in Figure 2, user browser asks to act on behalf of the page to WEB server access by HTTP, and on WEB server, act on behalf of the page by the HTML of HTTP acquisition request information management system homepage, to obtain the end-state of information management system homepage before amendment, after the HTML that treats information management system homepage has loaded, after this HTML, inject JS script, then return to the HTML of the information management system homepage that is injected with JS script to user browser (being client).That is to say, what finally return to client is to act on behalf of the page, and the page of acting on behalf of that returns to client is the HTML that includes the information management system homepage of JS script.
It should be noted that, the method of amendment information management system homepage provided by the invention and original system are realize by which kind of WEB technology irrelevant, it is applicable to any WEB system, in addition, the present invention just modifies to the interface pattern of prime information management system homepage, and it also impacts the function of original page.
Can find out by the flow process shown in Fig. 1 and Fig. 2, the method of amendment information management system homepage provided by the invention is not in affecting original page function, can carry out structural adjustment or renewal to the homepage of information management system, and then realize the personalized customization of the homepage to information management system.
Corresponding with said method, the present invention also provides a kind of device of revising information management system homepage.Wherein, Fig. 3 shows according to the logical organization of the device of the amendment information management system homepage of the embodiment of the present invention.
As shown in Figure 3, the device 300 of amendment information management system homepage provided by the invention comprises that acting on behalf of the page sets up unit 310, loading unit 320, script injection unit 330 and return to unit 340.
Wherein, act on behalf of the page and set up unit 310 for setting up and act on behalf of the page on server, this acts on behalf of the homepage of the page for proxy information management system.
Particularly, on the WEB of information management system server, set up one and act on behalf of the page, a kind of technology that the technology of its realization can select any former WEB server to support, such as ASP, JSP, PHP, ASP.NET etc.That is to say, act on behalf of the page and set up unit 310 and set up and act on behalf of the page on server by ASP or JSP or PHP, open the homepage of information management system by this URL that acts on behalf of the page.In order conveniently to act on behalf of the page, the homepage of information management system is acted on behalf of, further, can be changed the acquiescence homepage URL of WEB server into act on behalf of the page URL.
Loading unit 320 is for acting on behalf of the page by the HTML of HTTP acquisition request information management system homepage and loading HTML.
Particularly, remove the HTML of obtaining information management system homepage by setting in advance at the code of acting on behalf of in the page.That is: agency page page is asked the URL of obtaining information management system homepage by HTTP, and then the HTML of acquired information management system homepage complete the loading to HTML.
Script injection unit 330 is for injecting JS script after the HTML loading at loading unit 320.
After the loading of HTML completes, add JS script backmost at HTML, wherein this JS script comprises the logic that the structure of information management system homepage is modified, that is to say, the JS script that script injection unit 330 injects comprises the logic that described information management system homepage is modified, and logic herein refers to modifies to the structure of information management system homepage.Further, the JS script that script injection unit 310 injects operates by DOM the page that HTML is shown and modifies.Also just say so, the structure that this JS script can be realized the page that HTML is shown by the amendment to DOM is modified, and then causes the change of full page structure.
Return to unit 340 for return to the HTML of the information management system homepage that is injected with JS script to client, realize the amendment to information management system homepage.
Return to unit 340 in the process of HTML from the information management system homepage that is injected with JS script to client that return to, client is the HTML of operation information management system homepage first, then moves JS script.
That is to say, just there is change being injected into after JS script in the HTML of infosystem homepage, and then client to represent be also amended HTML to user, amended HTML is after client loads, first that operation is the HTML (not injecting JS script HTML before) of prime information management system homepage, if certainly there are the words of JS script in the HTML of prime information management system homepage, original JS script also can move thereupon, the state of the homepage of the information management system of now client operation is the end-state of prime information management system homepage, after the HTML of prime information management system homepage operation is complete, just can move the JS script of injection, instead of directly on the backstage of acting on behalf of the page, HTML is modified.
Describe according to method and the device of amendment information management system homepage of the present invention in the mode of example above with reference to accompanying drawing.But, it will be appreciated by those skilled in the art that method and the device of the amendment information management system homepage proposing for the invention described above, can also on the basis that does not depart from content of the present invention, make various improvement.Therefore, protection scope of the present invention should be determined by the content of appending claims.
Claims (8)
1. a method of revising information management system homepage, comprising:
On server, set up and act on behalf of the page, the described homepage of the page for proxy information management system of acting on behalf of;
Describedly act on behalf of the page by the HTML of information management system homepage described in HTTP acquisition request and load described HTML;
After described HTML, inject JS script, described JS script comprises the logic that described information management system homepage is modified;
Return to the HTML of the information management system homepage that is injected with JS script to client, realize the amendment to information management system homepage.
2. the method for amendment information management system homepage as claimed in claim 1, wherein, described JS script operates by DOM the page that described HTML is shown and modifies.
3. the method for amendment information management system homepage as claimed in claim 1, wherein, is set up and acts on behalf of the page on server by ASP or JSP or PHP.
4. the method for amendment information management system homepage as claimed in claim 1, wherein, in the process of HTML from the information management system homepage that is injected with JS script to client that return to,
First described client moves the HTML of described information management system homepage, then moves described JS script.
5. a device of revising information management system homepage, comprising:
Act on behalf of the page and set up unit, for setting up and act on behalf of the page, the described homepage of the page for proxy information management system of acting on behalf of on server;
Loading unit, acts on behalf of the page by the HTML of information management system homepage described in HTTP acquisition request and loads described HTML for described;
Script injection unit, for injecting JS script after the HTML loading at described loading unit, described JS script comprises the logic that described information management system homepage is modified;
Return to unit, for return to the HTML of the information management system homepage that is injected with JS script to client, realize the amendment to information management system homepage.
6. the device of amendment information management system homepage as claimed in claim 5, wherein, the JS script that described script injection unit injects operates by DOM the page that described HTML is shown and modifies.
7. the device of amendment information management system homepage as claimed in claim 5, wherein, the described page of acting on behalf of is set up unit and is set up and act on behalf of the page on server by ASP or JSP or PHP.
8. the device of amendment information management system homepage as claimed in claim 5, wherein, described in return to unit in the process of HTML from the information management system homepage that is injected with JS script to client that return to,
First described client moves the HTML of described information management system homepage, then moves described JS script.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410290111.0A CN104021003A (en) | 2014-06-24 | 2014-06-24 | Method and device for modifying home page of information management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410290111.0A CN104021003A (en) | 2014-06-24 | 2014-06-24 | Method and device for modifying home page of information management system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104021003A true CN104021003A (en) | 2014-09-03 |
Family
ID=51437778
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410290111.0A Pending CN104021003A (en) | 2014-06-24 | 2014-06-24 | Method and device for modifying home page of information management system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104021003A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109783093A (en) * | 2018-12-12 | 2019-05-21 | 四川商通实业有限公司 | A kind of dynamic composition method of iOS loaded page and default page |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1327195A (en) * | 2000-05-08 | 2001-12-19 | 互联网号码公司 | Method and system for accessing information on network |
CN1447262A (en) * | 2003-03-24 | 2003-10-08 | 深圳市深信服电子科技有限公司 | Method and system of using web pages to carry out dynamic addressing |
US20040187076A1 (en) * | 2003-03-22 | 2004-09-23 | Knowledge Info-Net Service, Inc. | Redirection technique based control method for internet contents providing services and control system for the same |
CN101615179A (en) * | 2008-06-25 | 2009-12-30 | 国际商业机器公司 | The method and system that is used for the cross-domain alternation of Web application |
CN102043832A (en) * | 2010-11-23 | 2011-05-04 | 苏州阔地网络科技有限公司 | Method for realizing cross-domain request callback on webpage |
CN102307220A (en) * | 2011-03-18 | 2012-01-04 | 北京神州数码思特奇信息技术股份有限公司 | Cross-domain webpage information interaction method |
CN102693280A (en) * | 2012-04-28 | 2012-09-26 | 广州市动景计算机科技有限公司 | Webpage browsing method, WebApp framework, method and device for executing JavaScript, and mobile terminal |
CN103246667A (en) * | 2012-02-08 | 2013-08-14 | 腾讯科技(深圳)有限公司 | Method and device for cross-domain transfer of data |
CN103268319A (en) * | 2013-04-17 | 2013-08-28 | 北京航空航天大学 | A web-based cloud browser |
CN103605527A (en) * | 2013-12-06 | 2014-02-26 | 普元信息技术股份有限公司 | System and method for realizing cloud computing application interface integration and unified style display |
-
2014
- 2014-06-24 CN CN201410290111.0A patent/CN104021003A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1327195A (en) * | 2000-05-08 | 2001-12-19 | 互联网号码公司 | Method and system for accessing information on network |
US20040187076A1 (en) * | 2003-03-22 | 2004-09-23 | Knowledge Info-Net Service, Inc. | Redirection technique based control method for internet contents providing services and control system for the same |
CN1447262A (en) * | 2003-03-24 | 2003-10-08 | 深圳市深信服电子科技有限公司 | Method and system of using web pages to carry out dynamic addressing |
CN101615179A (en) * | 2008-06-25 | 2009-12-30 | 国际商业机器公司 | The method and system that is used for the cross-domain alternation of Web application |
CN102043832A (en) * | 2010-11-23 | 2011-05-04 | 苏州阔地网络科技有限公司 | Method for realizing cross-domain request callback on webpage |
CN102307220A (en) * | 2011-03-18 | 2012-01-04 | 北京神州数码思特奇信息技术股份有限公司 | Cross-domain webpage information interaction method |
CN103246667A (en) * | 2012-02-08 | 2013-08-14 | 腾讯科技(深圳)有限公司 | Method and device for cross-domain transfer of data |
CN102693280A (en) * | 2012-04-28 | 2012-09-26 | 广州市动景计算机科技有限公司 | Webpage browsing method, WebApp framework, method and device for executing JavaScript, and mobile terminal |
CN103268319A (en) * | 2013-04-17 | 2013-08-28 | 北京航空航天大学 | A web-based cloud browser |
CN103605527A (en) * | 2013-12-06 | 2014-02-26 | 普元信息技术股份有限公司 | System and method for realizing cloud computing application interface integration and unified style display |
Non-Patent Citations (2)
Title |
---|
徐红霞等: "MVC模式在Web开发中的应用", 《科技信息》 * |
钟润阳等: "基于改进的三层BS模式的工程训练系统设计", 《江西师范大学学报(自然科学版)》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109783093A (en) * | 2018-12-12 | 2019-05-21 | 四川商通实业有限公司 | A kind of dynamic composition method of iOS loaded page and default page |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111027921B (en) | Service processing method and device, electronic equipment and storage medium | |
EP2704037A2 (en) | A method for generating or updating an interactive webpage | |
EP2916243B1 (en) | Method, apparatus, server and system for implementing web application | |
US12093966B2 (en) | Customer service representative dashboard with micro-applications | |
CN104866327B (en) | A kind of PHP development approaches and framework | |
US20170192941A1 (en) | Computer-Automated Generation of Application Deep Links | |
CN103946833A (en) | System and method for managing dedicated caches | |
CN110321177A (en) | A kind of mobile application localization loading method, device and electronic equipment | |
CN105354025A (en) | Service model configuration system and method based on mobile application | |
CN103618773B (en) | Display method, device and system for thermodynamic diagrams | |
HK1221294A1 (en) | Method and device for constructing application program of intelligent terminal and intelligent terminal | |
CN105608078B (en) | A kind of method and apparatus of Webpage live preview | |
US20170031882A1 (en) | Web Page Profiler | |
CN110321120B (en) | Data processing method, data processing apparatus, and computer-readable storage medium | |
CN110109684A (en) | Block chain node administration agent services installation method, electronic device and storage medium | |
KR20130037995A (en) | Method for configuring business logic of multi-tenant application | |
CN106484458A (en) | A kind of open software warehouse management system and its management method | |
CN113326079A (en) | Service version switching method, switching device, electronic equipment and storage medium | |
CN104461509B (en) | A kind of information interaction system and method | |
CN105574114A (en) | On-line plotting method based on telecom resource management standard control library | |
CN104021003A (en) | Method and device for modifying home page of information management system | |
CN104063219A (en) | Form development method and system for WEB system | |
CN103164409A (en) | Network advertisement show type post test method and network advertisement show type post test system | |
CN103197922A (en) | Technical method for developing (WEB) dynamic script by HTML (hypertext markup language) | |
CN111209009B (en) | Content distribution method and device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 261031 Dongfang Road, Weifang high tech Industrial Development Zone, Shandong, China, No. 268 Applicant after: Goertek Inc. Address before: 261031 Dongfang Road, Weifang high tech Industrial Development Zone, Shandong, China, No. 268 Applicant before: Goertek Inc. |
|
COR | Change of bibliographic data | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140903 |
|
RJ01 | Rejection of invention patent application after publication |