CN103440143A - System and method for upgrading mobile web application - Google Patents

System and method for upgrading mobile web application Download PDF

Info

Publication number
CN103440143A
CN103440143A CN2013103347724A CN201310334772A CN103440143A CN 103440143 A CN103440143 A CN 103440143A CN 2013103347724 A CN2013103347724 A CN 2013103347724A CN 201310334772 A CN201310334772 A CN 201310334772A CN 103440143 A CN103440143 A CN 103440143A
Authority
CN
China
Prior art keywords
browser
web application
access
request
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013103347724A
Other languages
Chinese (zh)
Inventor
黄明登
郭正欧
张磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
iFlytek Co Ltd
Original Assignee
iFlytek 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 iFlytek Co Ltd filed Critical iFlytek Co Ltd
Priority to CN2013103347724A priority Critical patent/CN103440143A/en
Publication of CN103440143A publication Critical patent/CN103440143A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a system and a method for upgrading a mobile web application. The method comprises a primary browser, a secondary browser and a local cache module. The local cache module is used for storing browser cache data; the primary browser is used for uploading and running a web page, uploading data from a program installation directory when the web application is accessed for the first time, and uploading data from a browser cache database when the web application is started subsequently; the secondary browser is used for performing detection upgrading on the web application, and storing updated data into the browser cache database after each upgrading. By utilizing the system and the method for upgrading the mobile web application disclosed by the invention, a user can rapidly access the page every time, and does not need to wait upgrading.

Description

Mobile web application upgrade system and method
Technical field
The present invention relates to the application program updating technical field, particularly relate to a kind of mobile web application upgrade system and method.
Background technology
Mobile web(webpage) application refers to the main body of carrying out developing application based on the web technology, the primary browser control part webview(of coated outside one deck browser), the mode with third party's application runs on the application on operating system (as: Android, iOS, Windows Phone etc.).This application mix web and two kinds of development schemes of native, have both advantage concurrently, use homepages language and program language exploitation simultaneously, industry also is referred to as the hybrid application.
Along with the continuous expansion of mobile web application, for access to netwoks and the upgrade problem of weblication, seem more and more obvious.User's continuous application programs of having to is upgraded, and in the process of upgrading, while there will be user to access pages, whether always prompting needs to upgrade or to be updated the completing such as needs, the problem of ability accession page.
Summary of the invention
The invention provides a kind of mobile web application upgrade system and method so that the user is when each accession page, can both fast access, without etc. to be upgraded.
For this reason, the invention provides following technical scheme:
A kind of mobile web application upgrade system, comprising: master browser, inferior browser, local cache module;
Described local cache module, for storing browser caching data;
Described master browser for loading and the operation web page, and, when the web application is accessed first, loads data from the installation catalogue; When the follow-up startup of web application, from the browser caching data storehouse, load data;
Described browser, for described web application is detected to renewal, and store the data of renewal into described browser caching data storehouse after each the renewal in.
Preferably, described system also comprises:
Acting server, the request of access sent for monitoring described master browser and time browser, and, after the request of access that listens to described master browser transmission, extract the installation file of described web application from the installation catalogue, and described installation file is returned to described master browser; After the request of access that listens to described browser transmission, URL in described request of access is mapped as to concurrent network request of real URL of the described web application of network side, obtain the data of described web application from network side, and described web application data is returned to browser described time.
Preferably, described acting server is monitored the request of access of described master browser and time browser transmission by the same port of setting.
Preferably, described master browser comprises:
Receiving element, for receiving the request of access of user to the web application;
The local IP access unit, after at described receiving element, receiving described request of access, the browser caching data storehouse in access local cache module;
The server access unit, when being empty in described browser caching data storehouse, send the request of access to described web application to described acting server, and receive the installation file of the described web application that described acting server extracts from the installation catalogue;
Loading unit, for loading the installation file of described web application;
Storage unit, after having loaded at described loading unit, be stored in described installation file in described browser caching data storehouse.
Preferably, described browser comprises:
The request of access unit, for regularly to described acting server, sending the request of access to described browser caching data storehouse, and receive the data of the described web application that described acting server obtains from network side;
Detect updating block, the web application data for the data according to described web application to described browser caching data storehouse is detected and is upgraded.
Preferably, described browser also comprises:
Whether inquiry unit, for before at described detection updating block, the data in described browser caching data storehouse being detected and upgrading, upgraded described web application data to user's query; And, after receiving the information that the user confirms to upgrade, notify described detection updating block to carry out to detect and upgrade operation.
A kind of mobile web application upgrade method, described method comprises:
Master browser and time browser are set;
When the web application is accessed first, described master browser loads data from the installation catalogue;
When the follow-up startup of web application, described master browser loads data from the browser caching data storehouse;
Described time browser regularly detects renewal to described web application, and store the data of renewal into described browser caching data storehouse after each the renewal in.
Preferably, described method also comprises:
Acting server is set, described acting server is monitored the request of access of described master browser and time browser transmission, and after the request of access that listens to described master browser transmission, extract the installation file of described web application from the installation catalogue, and described installation file is returned to described master browser; After the request of access that listens to described browser transmission, URL in described request of access is mapped as to concurrent network request of real URL of the described web application of network side, obtain the data of described web application from network side, and described web application data is returned to browser described time.
Preferably, described when the web application is accessed first, described master browser loads data and comprises from the installation catalogue:
After described master browser receives the request of access of user to the web application, the browser caching data storehouse in access local cache module;
If described browser caching data storehouse is empty, described master browser sends the request of access to described web application to acting server, and receives the installation file of the described web application that described acting server extracts from the installation catalogue;
Described master browser loads the installation file of described web application, and, after loading completes, described installation file is stored in described browser caching data storehouse.
Preferably, described browser regularly detects to upgrade to described web application and comprises:
Described browser regularly sends the request of access to described browser caching data storehouse to described acting server, and receives the data of the described web application that described acting server obtains from network side;
According to the data of described web application, the web application data in described browser caching data storehouse is detected and upgraded.
The mobile web application upgrade system and method that the embodiment of the present invention provides, by master browser being set and from browser, master browser is used for loading and the operation web page, and inferior browser is used for detecting and upgrading on backstage.Two browsers use with a local cache, and master browser is responsible for reading out data from buffer memory, and inferior browser is responsible for upgrading cache database.Master browser is accessed and load data from the installation catalogue when program starts first, and follow-up startup is all read from local cache, thereby can accomplish rapid loading.Simultaneously, the web mechanism of inferior browser Application standard, obtain and new resources more from network side, therefore can accomplish in real time, the differentiation upgrading.
The mobile web application upgrade system and method that utilizes the embodiment of the present invention to provide, can promote well the user and experience, while making the each accession page of user, can both fast access, without etc. to be upgraded.When upgrading, take the method for differential update, speed of download is fast, saves flow.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment be briefly described, apparently, the accompanying drawing the following describes is only some embodiment that put down in writing in the present invention, for those of ordinary skills, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the theory diagram that the embodiment of the present invention moves web application upgrade system;
Fig. 2 is a kind of specific implementation structural representation that the embodiment of the present invention moves web application upgrade system;
Fig. 3 is that the embodiment of the present invention moves in web application upgrade system work schematic diagram when master browser is accessed first;
Fig. 4 is that the embodiment of the present invention moves in web application upgrade system work schematic diagram when master browser is non-accesses first;
Fig. 5 is that the embodiment of the present invention moves in web application upgrade system the work schematic diagram from browser;
Fig. 6 is a kind of structural representation of master browser in the embodiment of the present invention;
Fig. 7 is a kind of structural representation of time browser in the embodiment of the present invention;
Fig. 8 is the process flow diagram that the embodiment of the present invention moves web application upgrade method.
Embodiment
In order to make those skilled in the art person understand better the scheme of the embodiment of the present invention, below in conjunction with drawings and embodiments, the embodiment of the present invention is described in further detail.
The upgrading mode of current mobile web application mainly contains following three kinds:
(1) local update: the web resource is packaged in the installation bag, along with installation kit upgrades together.This mode advantage is that more new logic is simple, shortcoming also clearly: the AKU volume is large, and period of reservation of number is long; Once little upgrading or bug reparation also must obtain whole bag and upgrade together, cause the customer flow waste; After installation kit has been downloaded, could use after also needing the user again to carry out fitting operation.
(2) traditional web upgrades: the web resource deployment, at network side, is downloaded the web resource from network side during application program launching.The advantage of this mode is to take full advantage of the web update mechanism of standard, accomplishes renewal real-time, differentiation, without the user, again installs, need to be from the network side downloaded resources when shortcoming is to start first, and period of reservation of number is long; While there is no network, can't access offline resources.
(3) the html5 mode is upgraded: utilize the application cache mechanism in html5, problem that can't offline access in can settling mode 2.But the update mode of this mechanism is that whole off-line cache resources is upgraded together, can not carry out the differentiation renewal.
For the problem existed in above-mentioned existing mobile web application upgrade, the embodiment of the present invention provides a kind of mobile web application upgrade system and method, at the native of client layer, two browsers are set, be master browser and time browser, both cooperatively interact, master browser is used for loading and the operation web page, and inferior browser is used on backstage, web being applied and detecting renewal.Two browsers use with a local cache, and master browser is responsible for reading out data from buffer memory, and inferior browser is responsible for upgrading the data in buffer memory.When master browser starts first in the web application, the access program installation directory, carry out initial data and load, and follow-up startup is all read from local cache, thereby accomplishes rapid loading.The web mechanism of inferior browser Application standard, obtain and new resources more from network-side, realizes in real time, the differentiation upgrading.
Further, solve the large problem of downloaded resources first, the most effective scheme is exactly that web is applied in required web resource packing process order installation kit.In embodiments of the present invention, when the web application starts first, master browser is directly loaded from the installation catalogue, and follow-up startup is loaded from the local cache catalogue.Because browser engine is can not put into local cache for the file loaded from the installation catalogue, therefore, in embodiments of the present invention, further by acting server, the file that master browser is loaded from the installation catalogue becomes the local cache of browser.As shown in Figure 1, be the theory diagram that the embodiment of the present invention moves web application upgrade system.
This system comprises: master browser 11, inferior browser 12, local cache module 10.Wherein:
Local cache module 10, for storing browser caching data;
Master browser 11 for loading and the operation web page, and, when the web application is accessed first, loads data from the installation catalogue; When the follow-up startup of web application, from the browser caching data storehouse, load data;
Inferior browser 12, for described web application is detected to renewal, and store the data of renewal into described browser caching data storehouse after each the renewal in.
Solve the large problem of downloaded resources first, effective method is exactly by web resource packing process order installation kit.When the web application starts first, master browser is directly loaded from the installation catalogue, and follow-up startup is loaded from the local cache catalogue.Inferior browser is responsible for renewal work, after each the renewal, the result of renewal is put in the local cache file.
Because the address that access detected when browser is http: during // 127.0.0.1/xxx, can think that this is an access to netwoks, and it is cached in the browser data storehouse, and in fact this is a local IP access.Therefore, in the system of the embodiment of the present invention, utilize this characteristic of browser, an acting server is set in described system, set up an agency service in program, monitor control for the access of browser, coordinate the work of primary and secondary browser, the file that master browser is loaded from the installation catalogue is put into local cache.
As shown in Figure 2, be a kind of specific implementation structural representation that the embodiment of the present invention moves web application upgrade system.
In this embodiment, described system also comprises: acting server 20, the request of access sent for monitoring master browser 11 and time browser 12, and after the request of access to described web application that listens to master browser 11 transmissions, extract the installation file of described web application from the installation catalogue, and described installation file is returned to master browser 11; After the request of access to described browser caching data storehouse that listens to 12 transmissions of time browser, the URL in the browser caching data storehouse in described request of access is mapped as to concurrent network request of URL of the described web application of network side, obtain the data of described web application from network side, and described web application data is returned to time browser 12.
It should be noted that, in embodiments of the present invention, acting server can be monitored by the same port (such as at 8089 ports) of setting the request of access of described master browser and time browser transmission.And described port can configure voluntarily.
And, in embodiments of the present invention, can be in advance the access of browser be arranged, to the access of same address, the master browser setting be first access browser buffer memory, if do not have, then send out message to acting server; Inferior browser is directly sent out message to acting server.
Work and engagement process for master and slave browser in the system that further has a clear understanding of the embodiment of the present invention, below will be elaborated respectively.
As shown in Figure 3, be that the embodiment of the present invention moves in web application upgrade system work schematic diagram when master browser is accessed first.
31. master browser, after receiving the request of access of user to the web application, is accessed the browser caching data storehouse http in the local cache module: // 127.0.0.1/xxx.
32. if, the browser caching data storehouse is empty, master browser sends the request of access to described web application to acting server, carry the URL(Uniform Resource Locator of described web application in this request of access, URL(uniform resource locator)).
33. after acting server listens to request of access, judgement is the access first to the web application, determines it is the request of access that master browser sends, and then from the installation catalogue, extracts corresponding installation file.
Particularly, the request message that acting server can be monitored master browser and send from browser by certain port (such as 8089 ports) of setting, and set the access variable temp of a described web application of correspondence, by different variate-values, distinguishing is to access first also right and wrong to access first, during such as temp=0, it is access first; During temp=1, it is non-access first.
Like this, acting server is after listening to request message, and the value that reads temp is 0, and judgement is the access first to the web application.
34. acting server returns to master browser by the installation file of extraction.
35. master browser loads described installation file, and, after successful installation, to acting server, returns to successful installation message, so that the value of acting server temp is set to 1.
36. master browser is stored in described installation file in the browser caching data storehouse.
As shown in Figure 4, be that the embodiment of the present invention moves in web application upgrade system work schematic diagram when master browser is non-accesses first.
Due to the load mode that is provided with master browser for preferentially loading from the browser caching data storehouse, therefore, after master browser receives the request of access of user to the web application, directly access the browser caching data storehouse in the local cache module, do not need to initiate again the http request.
As can be seen here, in the embodiment of the present invention, master browser is only when to web, application conducts interviews first, need to send request of access to acting server, load corresponding installation file from the installation catalogue, all the other constantly, all only need be from the browser caching data storehouse of local cache module reading out data, even this access mode also can load cache resources in off-line.
And, for acting server, the message for once received for listening port is from master browser, all the other message that receive are all from inferior browser.Acting server only needs the value of test access variable temp at every turn, just can judge the message that master browser or inferior browser send and do accordingly and reply.
As shown in Figure 5, be that the embodiment of the present invention moves in web application upgrade system the work schematic diagram from browser.
51. inferior browser timed sending request of access, the file that access URL prefix is http: // 127.0.0.1/xxx.
After 52. acting server listens to above-mentioned request of access, judgement is the request of access (such as the value that access variable temp detected is 1) that time browser sends, the URL in request of access is mapped as to the address of actual network side web application, and uses this address to initiate the http request.
53. acting server obtains corresponding data from network side.
In said process, the effect that acting server plays is the effect that IP address translation and message forward.Listen to time browser and will access http when acting on behalf of server: during // 127.0.0.1/xxx, convert http: // 127.0.0.1/xxx to the actual network address, obtain the data of described web application from network side.
The described network address can be in advance in client configuration, and sends proxy server when client terminal start-up to.
54. the data that acting server will obtain from network side return to time browser.
55., after inferior browser is received the data that acting server returns, the browser engine in inferior browser, by the web caching mechanism of establishing criteria, is carried out detection and the renewal of buffer memory.
It should be noted that, in actual applications, inferior browser can arrange accordingly according to user's needs and the characteristics of application program.For example, the conditions such as flow that need according to the size of updating file, update content, renewal, determine whether directly upgraded, or, first to user's query, obtain after the user confirms being upgraded again.
In addition, according to the http caching mechanism, when browser sends the http request to web server, the last update time that can carry the local cache file in request, web server, after the request of receiving, can compare the update time of this document that server end is corresponding.According to comparative result, web server determines that whether issuing new file still informs that browser directly uses the local cache file.The web end has the file of renewal just can again download like this, and the use local cache file do not upgraded, reach the purpose of difference update with this.Therefore, when inferior browser is upgraded web application, can take differential update, save flow, further improve renewal speed.
Inferior browser can send once the request of access to the browser caching data storehouse at set intervals.
Therefore as can be seen here, in the embodiment of the present invention, inferior browser also uses acting server to conduct interviews, and with the URL of master browser access file, is consistent, and what two browsers were shared is with a buffer memory.After inferior browser is upgraded buffer memory, what master browser read has been exactly the resource after upgrading.
The mobile web application upgrade system that the embodiment of the present invention provides, adopt access and upgrade the mode of separating, and completed respectively loading and the operation of web page by master browser, and by inferior browser, on backstage, regularly to web, application detects renewal.Two browsers cooperatively interact, and use with a local cache, and master browser is responsible for reading out data from buffer memory, and inferior browser is responsible for upgrading the data in buffer memory.When master browser starts first in the web application, the access program installation directory, carry out initial data and load, and follow-up startup is all read from local cache, thereby accomplishes rapid loading.The web mechanism of inferior browser Application standard, obtain and new resources more from network-side, realizes in real time, the differentiation upgrading.Thereby while making the each accession page of user, can both fast access, the upgrading without waiting for relevant web application, promoted user's experience well.Further, when upgrading, adopt the mode of differential update, speed of download is fast, saves flow.
The mobile web application upgrade system and method that the embodiment of the present invention provides, by master browser being set and from browser, master browser is used for loading and the operation web page, and inferior browser is used for detecting and upgrading on backstage.Two browsers use with a local cache, and master browser is responsible for reading out data from buffer memory, and inferior browser is responsible for upgrading cache database.Master browser is accessed and load data from the installation catalogue when program starts first, and follow-up startup is all read from local cache, thereby can accomplish rapid loading.Simultaneously, the web mechanism of inferior browser Application standard, obtain and new resources more from network side, therefore can accomplish in real time, the differentiation upgrading.
The mobile web application upgrade system of utilizing the embodiment of the present invention to provide, can promote well the user and experience, while making the each accession page of user, can both fast access, without etc. to be upgraded.When upgrading, take the method for differential update, speed of download is fast, saves flow.
As shown in Figure 6, be a kind of structural representation of master browser in the embodiment of the present invention.
In this embodiment, described master browser comprises:
Receiving element 61, for receiving the request of access of user to the web application;
Local IP access unit 62, after at described receiving element 61, receiving described request of access, the browser caching data storehouse in access local cache module;
Server access unit 63, when being empty in described browser caching data storehouse, send the request of access to described web application to acting server, and receive the installation file of the described web application that described acting server extracts from the installation catalogue;
Loading unit 64, for loading the installation file of described web application.
Storage unit 65, after having loaded at loading unit 64, be stored in described installation file in described browser caching data storehouse.
This master browser is mainly used in loading and the operation web page, and, when the web application is accessed first, from the installation catalogue, loads data; When the follow-up startup of web application, from described browser caching data storehouse, load data.Its course of work can, with reference to flow process shown in prior figures 3 and Fig. 4, not repeat them here.
As shown in Figure 7, be a kind of structural representation of time browser in the embodiment of the present invention.
In this embodiment, described browser comprises:
Request of access unit 71, for regularly to acting server, sending the request of access to described browser caching data storehouse, and receive the data of the described web application that described acting server obtains from network side;
Detect updating block 72, the web application data for the data according to described web application to described browser caching data storehouse is detected and is upgraded.
Further, described time browser also can comprise: inquiry unit (not shown), for before being detected in the data in 72 pairs of described browser caching data storehouses of described detection updating block and upgrading, to user's query, whether described web application data is upgraded; And, after receiving the information that the user confirms to upgrade, notify described detection updating block 72 to carry out to detect and upgrade operation.
This browser is mainly used in described web application is detected to renewal, and store the data of renewal into described browser caching data storehouse after each the renewal in.Its course of work can, with reference to flow process shown in prior figures 5, not repeat them here.
Correspondingly, the embodiment of the present invention also provides a kind of mobile web application upgrade method, as shown in Figure 8, is the process flow diagram of the method, comprises the following steps:
Step 801, arrange master browser and time browser;
Step 802, when the web application is accessed first, described master browser loads data from the installation catalogue;
Step 803, when the follow-up startup of web application, described master browser loads data from the browser caching data storehouse;
Step 804, described time browser regularly detects renewal to described web application, and store the data of renewal into described browser caching data storehouse after each the renewal in.
It should be noted that, in actual applications, can make master browser complete and share out the work and help one another with time browser by acting server is set, realize the auto upgrading of mobile web application.
For this reason, in embodiments of the present invention, also can be further comprising the steps:
Acting server is set, described acting server is monitored the request of access of described master browser and time browser transmission, and after the request of access that listens to described master browser transmission, extract the installation file of described web application from the installation catalogue, and described installation file is returned to described master browser; After the request of access that listens to described browser transmission, URL in described request of access is mapped as to concurrent network request of real URL of the described web application of network side, obtain the data of described web application from network side, and described web application data is returned to browser described time.
Correspondingly, described master browser loads data and comprises the following steps from the installation catalogue:
After described master browser receives the request of access of user to the web application, the browser caching data storehouse in access local cache module;
If described browser caching data storehouse is empty, described master browser sends the request of access to described web application to acting server, and receives the installation file of the described web application that described acting server extracts from the installation catalogue;
Described master browser loads the installation file of described web application, and, after loading completes, described installation file is stored in described browser caching data storehouse.
Correspondingly, described browser regularly detects to upgrade to described web application and comprises:
Described browser regularly sends the request of access to described browser caching data storehouse to described acting server, and receives the data of the described web application that described acting server obtains from network side;
According to the data of described web application, the web application data in described browser caching data storehouse is detected and upgraded.
The mobile web application upgrade method that the embodiment of the present invention provides, adopt access and upgrade the mode of separating, while making the each accession page of user, can both fast access, without etc. to be upgraded, promoted well user's experience.Further, when upgrading, adopt the mode of differential update, speed of download is fast, saves flow.
It should be noted that, in actual applications, an assembly the method and system of the embodiment of the present invention can being applied as mobile web, the mode that adopts software or hardware and software to combine realizes.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and between each embodiment, identical similar part is mutually referring to getting final product, and each embodiment stresses is the difference with other embodiment.
System embodiment described above is only schematic, the wherein said unit as the separating component explanation can or can not be also physically to separate, the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed on a plurality of network element.Can select according to the actual needs some or all of module wherein to realize the purpose of the present embodiment scheme.Those of ordinary skills in the situation that do not pay creative work, can understand and implement.
Above the embodiment of the present invention is described in detail, has applied embodiment herein the present invention is set forth, the explanation of above embodiment is just for helping to understand method and apparatus of the present invention; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention simultaneously.

Claims (10)

1. a mobile web application upgrade system, is characterized in that, comprising: master browser, inferior browser, local cache module;
Described local cache module, for storing browser caching data;
Described master browser for loading and the operation web page, and, when the web application is accessed first, loads data from the installation catalogue; When the follow-up startup of web application, from the browser caching data storehouse, load data;
Described browser, for described web application is detected to renewal, and store the data of renewal into described browser caching data storehouse after each the renewal in.
2. system according to claim 1, is characterized in that, described system also comprises:
Acting server, the request of access sent for monitoring described master browser and time browser, and, after the request of access that listens to described master browser transmission, extract the installation file of described web application from the installation catalogue, and described installation file is returned to described master browser; After the request of access that listens to described browser transmission, URL in described request of access is mapped as to concurrent network request of real URL of the described web application of network side, obtain the data of described web application from network side, and described web application data is returned to browser described time.
3. system according to claim 2, is characterized in that, described acting server is monitored the request of access of described master browser and time browser transmission by the same port of setting.
4. system according to claim 2, is characterized in that, described master browser comprises:
Receiving element, for receiving the request of access of user to the web application;
The local IP access unit, after at described receiving element, receiving described request of access, the browser caching data storehouse in access local cache module;
The server access unit, when being empty in described browser caching data storehouse, send the request of access to described web application to described acting server, and receive the installation file of the described web application that described acting server extracts from the installation catalogue;
Loading unit, for loading the installation file of described web application;
Storage unit, after having loaded at described loading unit, be stored in described installation file in described browser caching data storehouse.
5. system according to claim 2, is characterized in that, described time browser comprises:
The request of access unit, for regularly to described acting server, sending the request of access to described browser caching data storehouse, and receive the data of the described web application that described acting server obtains from network side;
Detect updating block, the web application data for the data according to described web application to described browser caching data storehouse is detected and is upgraded.
6. system according to claim 5, is characterized in that, described time browser also comprises:
Whether inquiry unit, for before at described detection updating block, the data in described browser caching data storehouse being detected and upgrading, upgraded described web application data to user's query; And, after receiving the information that the user confirms to upgrade, notify described detection updating block to carry out to detect and upgrade operation.
7. a mobile web application upgrade method, is characterized in that, comprising:
Master browser and time browser are set;
When the web application is accessed first, described master browser loads data from the installation catalogue;
When the follow-up startup of web application, described master browser loads data from the browser caching data storehouse;
Described time browser regularly detects renewal to described web application, and store the data of renewal into described browser caching data storehouse after each the renewal in.
8. method according to claim 7, is characterized in that, also comprises:
Acting server is set, described acting server is monitored the request of access of described master browser and time browser transmission, and after the request of access that listens to described master browser transmission, extract the installation file of described web application from the installation catalogue, and described installation file is returned to described master browser; After the request of access that listens to described browser transmission, URL in described request of access is mapped as to concurrent network request of real URL of the described web application of network side, obtain the data of described web application from network side, and described web application data is returned to browser described time.
9. method according to claim 8, is characterized in that, described when the web application is accessed first, described master browser loads data and comprises from the installation catalogue:
After described master browser receives the request of access of user to the web application, the browser caching data storehouse in access local cache module;
If described browser caching data storehouse is empty, described master browser sends the request of access to described web application to acting server, and receives the installation file of the described web application that described acting server extracts from the installation catalogue;
Described master browser loads the installation file of described web application, and, after loading completes, described installation file is stored in described browser caching data storehouse.
10. method according to claim 8, is characterized in that, described browser regularly detects to upgrade to described web application and comprise:
Described browser regularly sends the request of access to described browser caching data storehouse to described acting server, and receives the data of the described web application that described acting server obtains from network side;
According to the data of described web application, the web application data in described browser caching data storehouse is detected and upgraded.
CN2013103347724A 2013-08-02 2013-08-02 System and method for upgrading mobile web application Pending CN103440143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103347724A CN103440143A (en) 2013-08-02 2013-08-02 System and method for upgrading mobile web application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103347724A CN103440143A (en) 2013-08-02 2013-08-02 System and method for upgrading mobile web application

Publications (1)

Publication Number Publication Date
CN103440143A true CN103440143A (en) 2013-12-11

Family

ID=49693834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103347724A Pending CN103440143A (en) 2013-08-02 2013-08-02 System and method for upgrading mobile web application

Country Status (1)

Country Link
CN (1) CN103440143A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338058A (en) * 2015-09-24 2016-02-17 新浪网技术(中国)有限公司 Application updating method and device
WO2016066048A1 (en) * 2014-10-31 2016-05-06 阿里巴巴集团控股有限公司 Method, apparatus and system for updating web application
CN105634972A (en) * 2016-01-29 2016-06-01 四川长虹电器股份有限公司 Method for improving access efficiency of Web client
CN105791992A (en) * 2014-12-23 2016-07-20 中国电信股份有限公司 Control method and system for web page of set top box and set top box
CN103744652B (en) * 2013-12-19 2017-02-08 深圳市蓝凌软件股份有限公司 Hybrid APP development method and device across mobile terminals
CN109756474A (en) * 2018-11-23 2019-05-14 国电南瑞科技股份有限公司 A kind of trans-regional call method of the service of electric power scheduling automatization system and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006088507A1 (en) * 2005-02-15 2006-08-24 Xata Corporation Data conduit
CN101257485A (en) * 2007-03-02 2008-09-03 华为技术有限公司 Web applied system and method
CN102591963A (en) * 2011-12-30 2012-07-18 奇智软件(北京)有限公司 Method and device for controlling webpage content loading
CN103067417A (en) * 2011-10-19 2013-04-24 华耀(中国)科技有限公司 Web service mapping method and system of security agent in virtual private network (VPN)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006088507A1 (en) * 2005-02-15 2006-08-24 Xata Corporation Data conduit
CN101257485A (en) * 2007-03-02 2008-09-03 华为技术有限公司 Web applied system and method
CN103067417A (en) * 2011-10-19 2013-04-24 华耀(中国)科技有限公司 Web service mapping method and system of security agent in virtual private network (VPN)
CN102591963A (en) * 2011-12-30 2012-07-18 奇智软件(北京)有限公司 Method and device for controlling webpage content loading

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744652B (en) * 2013-12-19 2017-02-08 深圳市蓝凌软件股份有限公司 Hybrid APP development method and device across mobile terminals
WO2016066048A1 (en) * 2014-10-31 2016-05-06 阿里巴巴集团控股有限公司 Method, apparatus and system for updating web application
CN105791992A (en) * 2014-12-23 2016-07-20 中国电信股份有限公司 Control method and system for web page of set top box and set top box
CN105791992B (en) * 2014-12-23 2019-07-02 中国电信股份有限公司 Control method, system and the set-top box of set-top box web page
CN105338058A (en) * 2015-09-24 2016-02-17 新浪网技术(中国)有限公司 Application updating method and device
CN105338058B (en) * 2015-09-24 2018-12-07 新浪网技术(中国)有限公司 A kind of method and device that application updates
CN105634972A (en) * 2016-01-29 2016-06-01 四川长虹电器股份有限公司 Method for improving access efficiency of Web client
CN109756474A (en) * 2018-11-23 2019-05-14 国电南瑞科技股份有限公司 A kind of trans-regional call method of the service of electric power scheduling automatization system and device
CN109756474B (en) * 2018-11-23 2021-02-05 国电南瑞科技股份有限公司 Service cross-region calling method and device for power dispatching automation system

Similar Documents

Publication Publication Date Title
CN103440143A (en) System and method for upgrading mobile web application
CN104765622A (en) Page resource loading method and device
CN107943594B (en) Data acquisition method and device
JP2019032883A (en) Method, apparatus, server and system for implementing web application
US8171109B2 (en) Mobile bookmarks
CN104468817A (en) Method and device for achieving resource download through CDN, server and client side
CN102571940B (en) Application program remote installation system, method, intelligent terminal, application server
CN105208127A (en) Webpage caching processing method and system and intelligent terminal
CN103902696A (en) Method and device for loading resource files
CN107015870B (en) Method and device for realizing communication between web page and local application and electronic equipment
CN104778057A (en) Terminal system upgrading method and device, and server
CN103916373A (en) Data updating method, server, client side and system
CN101997853A (en) Data downloading method and terminal
CN104580267A (en) A resource downloading method, device, server and corresponding system
CN104980289A (en) Message pushing method, device and system
CN104506643A (en) Server of distributed storage system and data synchronizing method between servers
CN102567339A (en) Method, device and system for acquiring start page
CN102087664A (en) Optimizing method of mobile terminal access network, system and mobile terminal
CN103475682A (en) File transfer method and file transfer equipment
CN104935668A (en) Distributed file system and data synchronization method therefor
CN109634753B (en) Data processing method, device, terminal and storage medium for switching browser kernels
CN103595782A (en) Distributed storage system and method for downloading files thereof
CN110824948A (en) Intelligent household control method and device based on IOT virtual service
CN103312489A (en) Method and device for synchronizing terminal and server
CN105141495A (en) Method for creating virtual device and gateway device

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: Wangjiang Road high tech Development Zone Hefei city Anhui province 230088 No. 666

Applicant after: Iflytek Co., Ltd.

Address before: Wangjiang Road high tech Development Zone Hefei city Anhui province 230088 No. 666

Applicant before: Anhui USTC iFLYTEK Co., Ltd.

COR Change of bibliographic data
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131211