CN101141449A - Apparatus and method for implementing Web client terminal software self-adaptive running - Google Patents
Apparatus and method for implementing Web client terminal software self-adaptive running Download PDFInfo
- Publication number
- CN101141449A CN101141449A CNA2007100309975A CN200710030997A CN101141449A CN 101141449 A CN101141449 A CN 101141449A CN A2007100309975 A CNA2007100309975 A CN A2007100309975A CN 200710030997 A CN200710030997 A CN 200710030997A CN 101141449 A CN101141449 A CN 101141449A
- Authority
- CN
- China
- Prior art keywords
- local
- web server
- module
- web
- 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
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to a device for realizing the self-adaptive running of Web client side software, which comprises a remote Web server and a plurality of client sides. The remote Web server deploys a remote page; each client side comprises a local page deploy module, an inlet module, a judging and switching module and a browsing module, wherein the local page deploy module is used to the local Web server in the local area, and to deploy the local page on the local Web server; the inlet module is used to receive the command for opening a Web client side software; the judging and switching module is used to judge the Web server is allowed to be connected or not; the browsing module is used to send out an access request to the remote Web server or the local Web server according to the judgment result of the judging and switching module, and correspondingly displays a remote page or a local page; the device is used to invoke the local page and the remote page of the page local client side function module which are registered in the local area and invoked by network pages.
Description
Technical field
The present invention relates to Internet technology, particularly a kind of apparatus and method that realize the online and off-line state self-adapting operation of Web client software.
Background technology
The Web client software: the main interface that refers to client is a webpage, calls client-side program by webpage.The main interface of this type of software obtains by browser software visit, relevant operation and in be placed in the webpage that browser software has access to.Wherein, " Web " refers to the webpage of main interface for having access to by browser software of this client, the position that webpage is disposed both can be long-range, also can be local, " client software " refers to, the program that is installed in this locality that the essence of this software is still moved is so it is still client-side program.
The remote mode of Web client software, promptly the main interface (webpage) of Web client software is deployed in the long-range Web server on the remote computer, must network and could move.
The local mode of Web client software, promptly the main interface (webpage) of Web client software is deployed in the local Web server in the local client.
The off-line state of client does not promptly have the state of networking.By the webpage on the long-range Web server of http protocol access the time, on line state must be in, in the remote mode that uses the Web client software, online state need be in equally.When client is in off-line state, can't use the remote mode of Web client software, what the user saw is the prompting page of " can not find this page ", this page does not have the information of any Web client software.Like this, originally the function that can call in this locality, can't use because using the remote mode (promptly can't visit the main interface of the Web client software that is deployed on the long-range Web server) of Web client software, and the user can not get any prompting relevant with the Web client software, can bring the user experience of extreme difference to the user.
Traditional solution has two kinds:
The one, do not take any measure, because Web client software master interface obtains by browser access, the error message meeting that browser itself is quoted allows the user know and causes " software can not visit and use " because webpage can not be visited.The defective of this way is: the user and unclear be that what reason causes and can not use software on earth, because such software is just informed user's " software must be networked and could be used " before, but meeting what happened when not networking is not but in the cognitive range of the spontaneous acceptance of user.
The 2nd, fall long-range network address from entry mask, promptly under the situation of off line, mask the inlet of client software, give and prompting by other parts of client software.
Above-mentioned two kinds of measures are all failed to solve the Web client software and are in root problem under the off-line state: the function that can call in this locality originally causes and can't use because using the remote mode of Web client software.Obviously above-mentioned two kinds of measures are not substantial solutions.
Summary of the invention
The objective of the invention is to, the device of the online and off-line state self-adapting operation of a kind of Web of realization client software is provided, when its under the networking state, visit the main interface of the Web client software on the long-range Web server, promptly with the operation of the remote mode of Web client software; When under off-line state, allow the Web client software to switch to the local mode of Web client software by the remote mode of Web client software, realize calling of local function, to reach the purpose of using local function.
The objective of the invention is to be achieved through the following technical solutions:
A kind of device of realizing the Web client terminal software self-adaptive running comprises long-range Web server and a plurality of client, connects by communication network between described long-range Web server and each the described client, and each described client can be controlled by the user; Described long-range Web server is deployed with remote pages; Each described client comprises inlet module, browses module, local Web server, local page, local page deployment module, judgement and handover module;
Described local page deployment module is used for creating in this locality described local Web server, and described local page is deployed on the described local Web server;
Described inlet module, the instruction that is used to accept to open the Web client software;
Described judgement and handover module are used to judge whether to connect described long-range Web server, if can not connect, just the inlet of Web client software can be switched on the local Web server local mode of enabling the Web client software;
The described module of browsing is used for the judged result according to described judgement and handover module, sends access request to described long-range Web server or described local Web server, and corresponding demonstration remote pages or local page;
Described local page and described remote pages are used to be invoked at the local client functional module that local Gong the webpage of registering calls.
Another object of the present invention is, the method for the online and off-line state self-adapting operation of a kind of Web of realization client software is provided.
A kind of method that realizes the Web client terminal software self-adaptive running, it comprises the steps:
The instruction accepting step: accept an instruction of opening the Web client software by inlet module, the acquiescence unfolding mode is the remote mode of Web client software;
Judge switch step: judge whether to be connected long-range Web server with handover module by judging,, then inlet is switched on the local Web server if can not connect;
Browse accessing step:, send access request to described long-range Web server or described local Web server by browsing module according to the judged result of described judgement and handover module;
The page is written into step: show remote pages or local page by browsing module, and be invoked at the local client functional module that local Gong the webpage of registering calls by local page or remote pages.
When networking and be first during accessed web page, described method also comprises:
Deploying step is installed: client is installed to local, creates local Web server in this locality by the local page deployment module, and local page is deployed on the described local Web server.
The present invention increases in the prior art and is used for that local page is deployed in local page deployment module on the local Web server and one and judges and handover module, when judging and handover module when knowing the current state that is in off line, just the inlet of Web client software can be switched on the local Web server, enable the local mode of Web client software, make the Web client software needn't rely on long-range Web server fully, even under the situation of off line, also can continue to call the local client functional module that can supply webpage to call, normally use the local function of software.The present invention has avoided the shortcoming that traditional solution is brought in the prior art, has broken because network environment to puzzlement and fascination that the user causes, gives the user favorable user experience.
Description of drawings:
Fig. 1 is a kind of structural representation of realizing the device of the online and off-line state self-adapting operation of Web client software of the present invention;
Fig. 2 is under the situation of non-accessed web page first, a kind of flow chart of realizing the method for the online and off-line state self-adapting operation of Web client software of the present invention.
Fig. 3 is under the situation of accessed web page first, a kind of flow chart of realizing the method for the online and off-line state self-adapting operation of Web client software of the present invention.
Embodiment
As shown in Figure 1, a kind of device of realizing the online or off-line state self-adapting operation of Web client software, comprise long-range Web server 1 and a plurality of client, connect by communication network between described long-range Web server and each the described client that each described client can be controlled by the user; Each described client comprises local Web server 2, browses module 3, inlet module 4, local page 5, local page deployment module 6, judgement and handover module 7; Described long-range Web server 1 is deployed with remote pages 8.For the user, described client practical manifestation is to comprise the webpage control and the software kit of the functional module downloaded by the webpage control; Described webpage control is as ActiveX, XPCOM or the like.
Described local page deployment module 6 is used for creating in this locality described local Web server 2, and described local page 5 is deployed on the described local Web server 2;
Described inlet module 4, the instruction that is used to accept to open the Web client software;
Described judgement and handover module 7 are used to judge whether to connect described long-range Web server 1; If can connect described long-range Web server 1, then send access request to described long-range Web server 1 by the described module 3 of browsing; If can not connect described long-range Web server 1, then the inlet with the Web client software switches on the local Web server 2, and sends access request by the described module 3 of browsing to described local Web server 2;
The described module 3 of browsing, be used for judged result according to described judgement and handover module 7, send access request to described long-range Web server 1 or described local Web server 2, and corresponding demonstration remote pages 8 or local page 5, promptly show with the remote mode of Web client software or the local mode of Web client software respectively; The display mode of acquiescence is the remote mode of Web client software.And the described module 3 of browsing both can have been carried out by system automatically to the mode that described local Web server 2 sends access request, also can allow the user send instruction by inlet module 4 and manually switch on the local Web server 2.
Described local page 5 and described remote pages 8 are used to be invoked at the local client functional module that local Gong the webpage of registering calls.
As shown in Figure 2, be the flow chart of the method for the online or off-line state self-adapting operation of a kind of Web of realization client software under the situation of non-accessed web page first, it comprises the steps:
Instruction accepting step: accept an instruction of opening the Web client software by inlet module 4; The acquiescence mode is the remote mode of Web client software.
Judge switch step: judge whether to be connected long-range Web server 1 with handover module 7 by judging; If can connect described long-range Web server 1, then indicate the described module 3 of browsing to send access request to described long-range Web server 1; If can not connect described long-range Web server 1, then the inlet with the Web client software switches on the local Web server 2, indicates the described module 3 of browsing to send access request to described local Web server 2.When switching to local Web server 2, can specify the local address of visit automatically from long-range Web server 1.The factor of dividing timing to consider is: whether URL is occupied for acquiescence; Whether default port is number occupied.
Browse accessing step:, send access request to described long-range Web server 1 or described local Web server 2 by browsing module 3 according to the judged result of described judgement and handover module 7; And the described module 3 of browsing both can have been carried out by system automatically to the mode that described local Web server 2 sends access request, also can allow the user send instruction by inlet module 4 and manually switch on the local Web server.
The page is written into step: show remote pages 8 or local page 5 by browsing module 3; And be invoked at the local client functional module that Gong the webpage of local registration calls by described local page 5 and described remote pages 8.The described module 3 of browsing is sent http request to described long-range Web server 1, is deployed on described remote pages 8 (or claiming main interface or webpage) on the described long-range Web server 1 by described module 3 embedded Web browsers (perhaps directly the ejecting Web browser) display part of browsing; Perhaps, the described module 3 of browsing is sent http request to described local Web server 2, is deployed on described local page 5 (or claiming main interface or webpage) on the described local Web server 2 by described module 3 embedded Web browsers (perhaps directly the ejecting Web browser) display part of browsing.Described local page 5 and described remote pages 8 as required can be identical or different.
As shown in Figure 3, be the flow chart of the method for the online or off-line state self-adapting operation of a kind of Web of realization client software under the situation of accessed web page first, it comprises the steps:
Instruction accepting step: accept an instruction of opening the Web client software by inlet module 4; The acquiescence mode is the remote mode of Web client software.
Determining step: judge whether to be connected long-range Web server 1 with handover module 7 by judging;
Deploying step is installed: if can connect long-range Web server 1 (i.e. networking), client then is installed, creates local Web server 2 in this locality by local page deployment module 6, and local page 5 is deployed on the described local Web server 2 to local; If can not connect long-range Web server 1 (being off line), then can only stop.Generally speaking, the installation of local Web server 2 is finished when client is installed automatically, need not user intervention.The deployment of local page 5 and renewal are also finished automatically by client, need not user intervention.
Browse accessing step: send access request to described long-range Web server 1 by browsing module 3;
The page is written into step: show remote pages 8 by browsing module 3; And be invoked at the local client functional module that Gong the webpage of local registration calls by described remote pages 8.
Be the exemplary of the present invention in the applicant's product below:
Product: security classes software.
Main interface is made of webpage, after the installation, opens main interface by the resident system tray icon.Long-range Web server is directly visited at main interface in browser.When for example opening " tray icon ":
Judge and handover module trial link http://mercury.duba.net,, just be judged to be off-line state if can not connect;
Automatically turn to local Web server, URL shape is as http://localhost:9090, and wherein port numbers is to distribute automatically;
The local page of local Web server is deployed under the installation directory, and these local pages and the remote pages that is deployed on the http://mercury.duba.net are similar, but has removed the function that needs networking;
Whether no matter network, the user can see main interface (Web client software) in browser, and just under the situation of off line, main interface can be reminded the user amicably, and part needs the function of networking in real time temporarily can not use.
Above embodiment is the unrestricted technical scheme of the present invention in order to explanation only; If those skilled in the art is subjected to inspiration of the present invention, do not break away from any modification or partial replacement of spirit and scope of the invention, all should be encompassed in the middle of protection scope of the present invention.
Claims (11)
1. a device of realizing the Web client terminal software self-adaptive running comprises long-range Web server and a plurality of client, connects by communication network between described long-range Web server and each the described client, and each described client can be controlled by the user; Described long-range Web server is deployed with remote pages; Each described client comprises inlet module, browses module, local Web server, local page, local page deployment module, judgement and handover module;
Described local page deployment module is used for creating in this locality described local Web server, and described local page is deployed on the described local Web server;
Described inlet module, the instruction that is used to accept to open the Web client software;
Described judgement and handover module are used to judge whether to connect described long-range Web server, if can not connect, just the inlet of Web client software can be switched on the local Web server local mode of enabling the Web client software;
The described module of browsing is used for the judged result according to described judgement and handover module, sends access request to described long-range Web server or described local Web server, and corresponding demonstration remote pages or local page;
Described local page and described remote pages are used to be invoked at the local client functional module that local Gong the webpage of registering calls.
2. a kind of device of realizing the Web client terminal software self-adaptive running according to claim 1 is characterized in that, for the user, described client practical manifestation is to comprise the webpage control and the software kit of the functional module downloaded by the webpage control.
3. a kind of device of realizing the Web client terminal software self-adaptive running according to claim 2 is characterized in that described webpage control refers to ActiveX, XPCOM.
4. a method that realizes the Web client terminal software self-adaptive running is characterized in that it comprises the steps:
Instruction accepting step: accept an instruction of opening the Web client software by inlet module;
Judge switch step: judge whether to be connected long-range Web server with handover module by judging,, then inlet is switched on the local Web server if can not connect;
Browse accessing step:, send access request to described long-range Web server or described local Web server by browsing module according to the judged result of described judgement and handover module;
The page is written into step: show remote pages or local page by browsing module, and be invoked at the local client functional module that local Gong the webpage of registering calls by local page or remote pages.
5. a kind of method that realizes the Web client terminal software self-adaptive running according to claim 4 is characterized in that, when networking and be first during accessed web page, described method also comprises:
Deploying step is installed: client is installed to local, creates local Web server in this locality by the local page deployment module, and local page is deployed on the described local Web server.
6. according to claim 4 or 5 described a kind of methods that realize the Web client terminal software self-adaptive running, it is characterized in that for the user, described client practical manifestation is to comprise the webpage control and the software kit of the functional module downloaded by the webpage control.
7. a kind of method that realizes the Web client terminal software self-adaptive running according to claim 6 is characterized in that described webpage control refers to ActiveX, XPCOM.
8. according to claim 4 or 5 described a kind of methods that realize the Web client terminal software self-adaptive running, it is characterized in that being created in when client is installed of local Web server finished automatically; The deployment of local page and renewal are finished automatically by client.
9. according to claim 4 or 5 described a kind of methods that realize the Web client terminal software self-adaptive running, it is characterized in that described local page and remote pages can be identical or different.
10. according to claim 4 or 5 described a kind of methods that realize the Web client terminal software self-adaptive running, it is characterized in that, in the instruction accepting step, serves as the acquiescence unfolding mode with the remote mode of Web client software.
11. according to claim 4 or 5 described methods, it is characterized in that, when switching to local Web server, specify the local address of visit automatically from long-range Web server; The distribution principle of automatically specifying the local address of visit is to judge whether acquiescence URL is occupied, and whether default port is number occupied.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007100309975A CN101141449A (en) | 2007-10-22 | 2007-10-22 | Apparatus and method for implementing Web client terminal software self-adaptive running |
JP2008157720A JP2009104580A (en) | 2007-10-22 | 2008-06-17 | Apparatus and method for implementing web user terminal software self-adaptive running |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007100309975A CN101141449A (en) | 2007-10-22 | 2007-10-22 | Apparatus and method for implementing Web client terminal software self-adaptive running |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101141449A true CN101141449A (en) | 2008-03-12 |
Family
ID=39193193
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2007100309975A Pending CN101141449A (en) | 2007-10-22 | 2007-10-22 | Apparatus and method for implementing Web client terminal software self-adaptive running |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2009104580A (en) |
CN (1) | CN101141449A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104010031A (en) * | 2014-05-21 | 2014-08-27 | 华南理工大学 | Distributed cooperative method improving application efficiency of Web browser |
WO2016023268A1 (en) * | 2014-08-13 | 2016-02-18 | 中兴通讯股份有限公司 | Centralized operation and maintenance method and apparatus and storage medium |
CN109344355A (en) * | 2018-09-26 | 2019-02-15 | 北京因特睿软件有限公司 | Automatic returning detection and Block- matching adaptive approach and device for Web evolution |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032810A (en) * | 2017-06-09 | 2018-12-18 | 阿里巴巴集团控股有限公司 | The starting method and apparatus of business procedure |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11110321A (en) * | 1997-09-30 | 1999-04-23 | Nippon Telegr & Teleph Corp <Ntt> | Method and device for expanding www browser function |
AU2001246269A1 (en) * | 2000-03-31 | 2001-10-23 | Mdsi Mobile Data Solutions, Inc. | Configurable scheduling system |
JP4004839B2 (en) * | 2002-04-15 | 2007-11-07 | 株式会社東芝 | Communication apparatus and network system |
JP2006185013A (en) * | 2004-12-27 | 2006-07-13 | Kyocera Mita Corp | Information processor, image formation apparatus equipped with the same and program |
-
2007
- 2007-10-22 CN CNA2007100309975A patent/CN101141449A/en active Pending
-
2008
- 2008-06-17 JP JP2008157720A patent/JP2009104580A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104010031A (en) * | 2014-05-21 | 2014-08-27 | 华南理工大学 | Distributed cooperative method improving application efficiency of Web browser |
CN104010031B (en) * | 2014-05-21 | 2018-01-05 | 华南理工大学 | A kind of distributed cooperative algorithm for improving Web browser application efficiency |
WO2016023268A1 (en) * | 2014-08-13 | 2016-02-18 | 中兴通讯股份有限公司 | Centralized operation and maintenance method and apparatus and storage medium |
CN109344355A (en) * | 2018-09-26 | 2019-02-15 | 北京因特睿软件有限公司 | Automatic returning detection and Block- matching adaptive approach and device for Web evolution |
CN109344355B (en) * | 2018-09-26 | 2022-03-15 | 北京因特睿软件有限公司 | Automatic regression detection and block matching self-adaption method and device for webpage change |
Also Published As
Publication number | Publication date |
---|---|
JP2009104580A (en) | 2009-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105511805B (en) | The data processing method and device of cluster file system | |
US7054922B2 (en) | Remote fieldbus messaging via Internet applet/servlet pairs | |
CN102447572B (en) | Internet-surfing assistant system and method for assisting client side user in solving encountered faults | |
US20150146706A1 (en) | Remotely Provisioning And Operating A Headless WIFI Device | |
CN102905181A (en) | Method for realizing on-line video playing on mobile terminal, underlying library and system | |
CN106936633A (en) | Method and server that a kind of application installation package makes | |
CN101075990B (en) | Method for issuing instant telecommunication software and instant telecommunication server | |
CN101141449A (en) | Apparatus and method for implementing Web client terminal software self-adaptive running | |
CN102144235B (en) | IC chip, signal conditioning package, software module control method, information handling system, information processing method and program | |
CN101895526A (en) | Dial-up authentication method and system | |
CN107181779A (en) | Processing method, the device and system of access request | |
CN104346198A (en) | Information processing apparatus, server apparatus, information processing method, and program | |
CN110493337A (en) | Data access method, gateway, system, storage medium and device | |
CN107229484A (en) | The method and device of automatically disposing application program under a kind of virtualized environment | |
CN105931077A (en) | Method, device and terminal for displaying advertisement in browser | |
CN101272293B (en) | Network testing method and device | |
CN1874610B (en) | Method and system for debugging telephone call | |
JP2005510179A (en) | System for managing a dedicated application in a device connected to a network, application management method, access terminal, application server, and device for such a system | |
CN107404543A (en) | A kind of APN distribution methods, device and terminal | |
CN107817789A (en) | CAN emulation test system | |
CN103019752B (en) | The upgrade method of application program and device | |
CN104065845B (en) | Information processing unit and information processing method | |
CN101170733B (en) | An authentication and charging control method, device and system for WAP service | |
TWI488465B (en) | Routing method with automatic detection and portable routing apparatus, and a method of panel display configuration | |
CN110113192A (en) | Route selecting method, routing device, system, storage medium and the device of virtual desktop |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20080312 |