CN101388911B - Off-line data collecting method for network application program - Google Patents

Off-line data collecting method for network application program Download PDF

Info

Publication number
CN101388911B
CN101388911B CN2008102259640A CN200810225964A CN101388911B CN 101388911 B CN101388911 B CN 101388911B CN 2008102259640 A CN2008102259640 A CN 2008102259640A CN 200810225964 A CN200810225964 A CN 200810225964A CN 101388911 B CN101388911 B CN 101388911B
Authority
CN
China
Prior art keywords
client
line
web application
browser
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2008102259640A
Other languages
Chinese (zh)
Other versions
CN101388911A (en
Inventor
仲崇文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yonyou Network Technology Co Ltd
Original Assignee
Yonyou Software 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 Yonyou Software Co Ltd filed Critical Yonyou Software Co Ltd
Priority to CN2008102259640A priority Critical patent/CN101388911B/en
Publication of CN101388911A publication Critical patent/CN101388911A/en
Application granted granted Critical
Publication of CN101388911B publication Critical patent/CN101388911B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a network application program off line data acquisition method, which comprises: A. the server transfers the resources needed by the network application program operation under off line mode to the client end; B. the client end creates a data base according to the received resources; C. accessing the network application program under off line mode through the client end browser; D. when the network application program returns to on line mode, synchronizing the data base on the client end the data base of the network application program on the server. The invention can realize data acquisition under the network application program off line mode without installing any extra off line tool software.

Description

Off-line data collecting method for network application program
Technical field
The present invention relates to the network application technical field, be meant a kind of off-line data collecting method for network application program especially.
Background technology
Software serves promptly that (SaaS is a kind ofly to provide the pattern of software by the Internet Software-as-a-service), belongs to web application.Web application is based on Web's, is browser/server (B/S, Browser/Server) product of framework.
The B/S framework can be applied on the wide area network well, adopts Internet to go up the communication protocol (normally ICP/IP protocol) of standard as the agreement of client computer with server communication.Can make the normal access server of people that is positioned at the Internet optional position like this.For server, can handle data by relevant Web service and database service.The pattern that software is promptly served makes that the processing to data is further simplified on client computer, with the application program of browser as client, to realize the demonstration to data.Be no longer necessary for client and write and install the application program of other types separately.Like this, as long as in the operating system of client, have browser, just can realize visit to data on the server.
In realization, by SaaS service provider is that medium-sized and small enterprises are built information-based needed all-network infrastructure and software, hardware running platform, the server of Web service and database service for example provides support, and provide the application program of carrying out by browser, for example Network Finance management software to the user.The client need not to install separately financial software on local computer, only need be connected to the webpage that internet access SaaS service provider is provided by local computer, can use the program that is provided by this webpage, for example software/service such as financial statement use.
For the customer, owing to can not all connect on the internet all the time, therefore need be when off-line state, when promptly not being connected to network, for example at the obstructed place of network (for example on the vehicles such as aircraft), or under the situation under the situation of network failure, also can carry out the editor of corresponding contents.By the time in the time of can access network, again the content on off-line time institute's content edited and the Web server be carried out synchronously.Editor during with realization user off-line uses.
Because web application provides program by server by browser, therefore when not being connected to network, the user then can't use these programs.Though service provider can provide off-line tools software to realize off-line editing and when reaching the standard grade and the function of server database information synchronization.But, off-line tools software need be installed to separately in the system usually, and off-line tools software has requirement to mounting condition, usually need operating system that the support (for example a lot of off-line tools softwares can only be used under Windows) of related resource is provided, this makes this class off-line tools software that the restriction of certain use be arranged, for example, when the user uses another computer that off-line tools software is not installed, or use other system (as linux system) all can't carry out off-line editing.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of off-line data collecting method for network application program, to realize that need not to install separately off-line tools software can carry out data acquisition under the web application off-line state.
Off-line data collecting method for network application program provided by the invention comprises: A, server move required resource transmission down with the web application off-line mode and give client; B, client are according to the asset creation database that receives; C, by client browser visit off-line mode web application down, storage collected when web application moves is in the database of being created; When D, web application recover line model, the database of this web application on database on the client and the server is carried out synchronously.
Wherein, also comprise before the steps A: during the operation of web application line model, determine client browser not during the operation under the network enabled application program off-line mode, server will support the browser of off-line operation to be transferred to client.
Wherein, described definite client browser not the operation under the network enabled application program off-line mode be that title and version number by described browser determines.
More excellent, also comprise before the steps A: during the operation of web application line model, when determining that client browser does not have the browser plug-in of operation under the network enabled application program off-line mode, server is transferred to client with described browser plug-in.
In addition, not have under the network enabled application program off-line mode browser plug-in of operation be by judging that the record of whether putting down in writing support off-line plug-in unit in the client log-on message determines to described definite client browser.
Be provided with when wherein, described web application line model is designated presence according to user model.
More excellent, also comprise before the steps A: confirm that client does not store the step of operation resource requirement under the web application off-line mode.
Wherein, a configuration file is set and indicates the required resource of the following operation of web application off-line mode that client has been stored; Server is determined the following operation of the application program off-line mode resource requirement that client is not stored according to described configuration file, and gives client with the resource transmission of being determined.
Wherein, the described establishment database of step B is created under off-line mode or line model at web application.
Preferable, described step C is when network quality drops to set point or carries out during suspension.
By on can learn that the web application off-line mode of client reception server transmission is the required resource of operation down, client can make web application move in client off-line according to the asset creation database that receives like this.
The user is by the web application under the client browser visit off-line mode, storage collected during the web application operation is in the database of being created, when web application recovers line model, the database of this web application on database on the client and the server is carried out synchronously.Work as web application like this and be under the off-line mode, can use the data acquisition operation of client database customer in response.
Judge client browser not during the following operation of network enabled application program off-line mode, the browser plug-in of the support off-line operation that server will be stored, or the browser of support off-line operation is transferred to client.Can automatically the browser of not supporting off-line operation be escalated into the browser of supporting off-line operation like this, user-friendly.
Before download network application program off-line mode moves required resource down, confirm that client does not store operation resource requirement under the web application off-line mode, can avoid repetitive operation like this, make faster for client's demand response speed.
Database can be set up before being in off-line state in advance, made faster for client's demand response speed.
When web application is under the ray mode, and network quality drops to set point, when being lower than set point or transmission error rates and being higher than set point or suspension as network speed, also can use the data acquisition operation of client database customer in response.
The present invention can realize that need not to install separately off-line tools software can carry out data acquisition under off-line state.
Description of drawings
Fig. 1 is for realizing the off-line data collecting method flow chart of web application of the present invention.
Embodiment
Fig. 1 is for realizing the off-line data collecting method flow chart of web application of the present invention.
As shown in the figure, the present invention includes following steps:
Step 101, when the user passes through client browser accesses network application program, web application obtains user model sign, determines that according to the user model sign web application operational mode is online or off-line mode, and when for off-line mode execution in step 105; When being following time of presence, then provide the network application service to the user, and execution in step 102.
Web application is provided with user model sign, is used for the current line states that whether is in of identifying user.The two states of respective user pattern, web application also have line model and two kinds of operational modes of off-line mode.
Wherein, when the customer access network application program, the default user pattern identification of web application is " presence ", and this moment, application program was moved with line model; When judging that user model is designated " off-line state ", as the user's modification pattern or judge that web application transfers off-line mode to when not being connected to network.Wherein, when user model is designated " presence ", boolean OfflineFlag=false; When the user changes the user model sign into " off-line state ", boolean OfflineFlag=true
if(OfflineFlag==false){
// system operates in ray mode
}else{//OfflineFlag==true
// system operation off-line mode
}
Step 102 judges whether the employed current browser of client supports off-line operation under the web application off-line mode.
Wherein, by judging whether the employed browser of user is equipped with corresponding insert or determines to judge by title and the version number of judging described browser whether current browser supports off-line operation.If judge when current browser is not supported off-line operation, then enter step 103, otherwise enter step 104.
For example, the browser of supporting at present off-line for comprise Internet Explorer 6.0+, Firefox 1.5+, the plug-in unit of the support off-line that is adopted comprises gears plug-in unit (the gears plug-in unit is an offline network application program of increasing income of the Google of Google exploitation).Web application obtains and judges the title and the version number of browser, or (for example by judge whether to exist respective record to judge whether to have the off-line plug-in unit in log-on message) can determine whether current browser supports off-line operation to judge whether have the off-line plug-in unit.
Step 103, because the judged result of step 102 is that current browser is not supported off-line operation, the browser of the support off-line operation that server will be stored or support the plug-in unit of off-line to be transferred to user client accordingly.
Wherein, can send information to the user, the user downloads after seeing information by browser.For example, described information is to inform that user's download has the browser or the described plug-in unit of offline functionality.Wherein, can point out spendable browser or plug-in unit in the information, as the browser Internet Explorer 6.0 of present support off-line operation+, Firefox 1.5+etc., or corresponding gears plug-in unit, and download link can be provided.After supporting the browser downloads of off-line operation, or after the off-line plug-in unit successfully is installed, built-in off-line is indicated position (offline-flag==true) be set to very, be used to judge whether current browser supports off-line.
Step 104, from the required resource of the remote server download network application program off-line operation of web application to client.
The required resource of described web application off-line operation is all resources on the remote server, comprises HTML, JavaScript, CSS and Image file and basic data etc., these files is kept in the file of client establishment.
The required resource of download network application program off-line operation is after client, can also in a configuration file, indicate the information of downloaded resources, comprise the file at downloaded files, institute file in download place etc., and be used for representing to download an identifier that finishes.Like this, when the user uses web application next time, can confirm whether active client has downloaded all resource requirements, perhaps confirm to have downloaded which resource, avoid the resource of having downloaded is carried out repeated downloads according to this configuration file.
Step 105, because the judged result of step 101 is an off-line mode for the web application operational mode, judge whether the client has downloaded the required resource of web application off-line operation, whether client has created database, do not create database when having downloaded resource and client, then can create database in client according to the step 104 time contained resource that obtains.Database initialize is in the file that the required resource of network application system off-line operation is housed, and this moment, the user just can be in client off-line operational network application system.
Step 106, by the web application under the client browser visit off-line mode, storage collected during the web application operation is in the database of client.
The web application of off-line mode operation can provide the basic data of downloading from the remote server of web application, and the user can carry out typing by select data from basic data.Other data that the web application that moves for off-line mode can not provide are write direct by the user.Data in the web application of off-line mode that the user is input to operation are stored in local data base.
Be example with the typing of off-line credential information below, introduce the web application off-line data collecting.Need the credential information of typing to comprise summary, subject, debit, credit side etc.The required subject information of voucher typing wherein can be provided by the basic data of offline network application program, such as, on behalf of cash, 1002,100 represent cash in banks, 5201 to represent investment return.Other voucher information needed are write direct by the user.
After all information typings were finished, the user clicked save button, and the off-line application program is stored in client database with the information of user's typing.
When step 107, web application are recovered line model, the database of this web application on database on the client and the server is carried out synchronously.
Specifically, after the user finishes task under off-line mode, the user model sign is switched to presence, corresponding web application operational mode switches to line model, network application system will be uploaded the remote server data storehouse of the data of local data base to web application automatically, finish data synchronization.
Need to prove, in the foregoing description, database is under the off-line mode at step 105 web application to be created, be understood that the establishment of database also can be before step 105, for example when the required resource of web application off-line operation has downloaded to client, promptly can set up database on the backstage, perhaps point out the user whether to set up database in client immediately, and when the user selects to be, create database in client according to the following contained resource that obtains.Like this, because the foundation in advance of database makes faster for client's demand response speed.And, even web application is under the ray mode, when network quality drops to set point, when being lower than set point or transmission error rates and being higher than set point or during suspension, also can preferentially use client database to accelerate corresponding to client's operation as network speed.By the foregoing description as can be seen, the present invention need not to install separately off-line tools software can carry out data acquisition under the off-line state of web application.Since do not need to install separately on computers off-line tools software, thereby reduced requirement computer and operating system, user-friendly.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. an off-line data collecting method for network application program is characterized in that, comprising:
A, server move required resource transmission down with the web application off-line mode and give client;
B, client are according to the asset creation database that receives;
C, judge that by client browser visit off-line mode web application down, storage collected when web application moves was in the database of being created when network speed was lower than set point or transmission error rates and is higher than set point;
When D, web application recover line model, the database of this web application on database on the client and the server is carried out synchronously.
2. method according to claim 1 is characterized in that, also comprises before the steps A:
Web application line model when operation, determine client browser not during the operation under the network enabled application program off-line mode, server will support the browser of off-line operation to be transferred to client.
3. method according to claim 2 is characterized in that, the described definite client browser not operation under the network enabled application program off-line mode is that title and version number by described browser determines.
4. method according to claim 1 is characterized in that, also comprises before the steps A:
During the operation of web application line model, when determining that client browser does not have the browser plug-in of operation under the network enabled application program off-line mode, server is transferred to client with described browser plug-in.
5. method according to claim 4, it is characterized in that the browser plug-in that described definite client browser does not have operation under the network enabled application program off-line mode is to support the record of off-line plug-in unit to determine by judging whether to put down in writing in the client log-on message.
6. according to claim 2 or 4 described methods, it is characterized in that described web application line model is provided with when being designated presence according to user model.
7. method according to claim 1 is characterized in that, also comprises before the steps A: confirm that client does not store the step of operation resource requirement under the web application off-line mode.
8. according to claim 1 or 7 described methods, it is characterized in that,
One configuration file is set indicates the required resource of the following operation of web application off-line mode that client has been stored;
Server is determined the following operation of the application program off-line mode resource requirement that client is not stored according to described configuration file, and gives client with the resource transmission of being determined.
9. method according to claim 1 is characterized in that, the described establishment database of step B is created under off-line mode or line model at web application.
CN2008102259640A 2008-11-07 2008-11-07 Off-line data collecting method for network application program Expired - Fee Related CN101388911B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102259640A CN101388911B (en) 2008-11-07 2008-11-07 Off-line data collecting method for network application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102259640A CN101388911B (en) 2008-11-07 2008-11-07 Off-line data collecting method for network application program

Publications (2)

Publication Number Publication Date
CN101388911A CN101388911A (en) 2009-03-18
CN101388911B true CN101388911B (en) 2011-09-14

Family

ID=40478083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102259640A Expired - Fee Related CN101388911B (en) 2008-11-07 2008-11-07 Off-line data collecting method for network application program

Country Status (1)

Country Link
CN (1) CN101388911B (en)

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729600B (en) * 2009-11-30 2012-11-28 用友软件股份有限公司 Method and device for quickening realization of software operation application
CN102457499B (en) * 2010-10-26 2015-09-16 腾讯科技(深圳)有限公司 The method that works offline of client and the client that works offline
CN102647289A (en) * 2011-02-16 2012-08-22 苏州同程旅游网络科技有限公司 On-line and off-line use integration method based on SaaS (Software as a Service)
CN102855572B (en) * 2011-07-01 2016-03-09 北京亚投科技有限责任公司 Mobile interactive mode is ordered positioning service system and method
CN102325159B (en) * 2011-07-14 2014-06-04 华中科技大学 Virtual experimental platform offline application interaction system
CN102629200A (en) * 2012-03-02 2012-08-08 浪潮集团山东通用软件有限公司 Processing method for Web system off-line using
CN103379472B (en) * 2012-04-12 2016-02-03 腾讯科技(深圳)有限公司 The method of download file, device and mobile terminal
CN102821087B (en) * 2012-04-20 2016-05-18 曾理 A kind of method that not affected by the Internet broadband network speed height and can normally carry out distance learning or examination
CN103595744B (en) * 2012-08-16 2018-08-07 腾讯科技(深圳)有限公司 The method and client of information management
CN102882878B (en) * 2012-09-28 2015-04-08 浙江图讯科技有限公司 Web-based method and Web-based system for data analysis and personalized display on client-side
CN103812902B (en) * 2012-11-13 2018-09-21 中国电信股份有限公司 Method, system and the mobile terminal handled official business offline are realized using mobile terminal
CN103856490A (en) * 2012-11-28 2014-06-11 纽海信息技术(上海)有限公司 Shopping website accessed by multiple network speed
CN103118120A (en) * 2013-02-17 2013-05-22 北京量子伟业时代信息技术有限公司 Intelligent offline data uploading system
CN103257874A (en) * 2013-04-24 2013-08-21 深圳市中兴移动通信有限公司 Offline operation method and system for WEB application
CN104346514A (en) * 2013-08-09 2015-02-11 聚游互动(北京)科技发展有限公司 Method and system capable of supporting off-line running of online game application
CN104219280B (en) * 2014-07-01 2018-03-16 武汉众廉科技有限公司 A kind of intelligent use data transmission channel
CN105245558B (en) * 2014-07-09 2020-04-21 腾讯科技(深圳)有限公司 Application program running method, system and server supporting virtual online
CN104102747A (en) * 2014-08-06 2014-10-15 江西交通咨询公司 Expressway construction data inputting method and device
CN106209934A (en) * 2015-04-30 2016-12-07 西门子瑞士有限公司 Control device in fire alarm system and collocation method thereof
CN106850712B (en) * 2015-12-04 2019-08-20 鈊象电子股份有限公司 The golden flow verification system and method for third-party charging platform
CN106231110A (en) * 2016-08-12 2016-12-14 北京东方车云信息技术有限公司 The offline service method of driver's client, driver's client and related system
CN106648960A (en) * 2016-09-13 2017-05-10 天津海量信息技术股份有限公司 Data recovery method and device when browser end edits application program
CN106681707A (en) * 2016-10-28 2017-05-17 徐国宇 Method for user customization of software interface menu and words, and method for website data management in application program
TWI641969B (en) * 2017-06-28 2018-11-21 宏碁股份有限公司 Electronic device and operation method thereof and server host device
CN107463657B (en) * 2017-07-28 2018-08-17 腾讯科技(深圳)有限公司 File operation method and terminal
CN110309450A (en) * 2018-02-12 2019-10-08 北京京东尚科信息技术有限公司 A kind of method and apparatus of user behavior guidance
CN111427913B (en) * 2020-03-19 2023-07-25 上海太美星云数字科技有限公司 Data processing method, device, server, system and computer readable medium
CN112822175B (en) * 2020-12-31 2022-06-28 联想(北京)有限公司 Information access method and device and electronic equipment
CN113990417B (en) * 2021-12-28 2022-09-20 上海柯林布瑞信息技术有限公司 Multi-center scientific research data and sample acquisition method and device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713574A (en) * 2004-06-25 2005-12-28 深圳市傲天通信有限公司 Delivering system of webpage information of internet
CN101256644A (en) * 2008-03-28 2008-09-03 山东浪潮齐鲁软件产业股份有限公司 Design and implementing method of off-line indent gathering system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713574A (en) * 2004-06-25 2005-12-28 深圳市傲天通信有限公司 Delivering system of webpage information of internet
CN101256644A (en) * 2008-03-28 2008-09-03 山东浪潮齐鲁软件产业股份有限公司 Design and implementing method of off-line indent gathering system

Also Published As

Publication number Publication date
CN101388911A (en) 2009-03-18

Similar Documents

Publication Publication Date Title
CN101388911B (en) Off-line data collecting method for network application program
EP1488353B1 (en) Recording user interaction with an application
US7739327B2 (en) Distributed link processing system for delivering application and multi-media content on the internet
CN109862064B (en) Configuration method and device for remote monitoring of equipment
CN102480510B (en) The implementation method of C/S and B/S mixed architecture and device
JP2002149640A (en) Information processing system, terminal, information processing supporting server, information processing method, html document, storage medium and program transmitter
CN105630512A (en) Method and system for implementing mobile device data tracking through software development toolkit
CN104268241B (en) Attribute display method in a kind of configuration database
CN103391222A (en) System and method for monitoring web service
CN104321743A (en) Method and system for developing applications for consulting content and services on a telecommunications network
CN101335766A (en) Communication system, proxy server, method of controlling same and control program therefor
CN102523106A (en) Video website user behavior analysis system based on Flex RIA (Rich Internet Applications) technology
CN101512523A (en) System and method for dynamic context-sensitive integration of content into a web portal application
CN110011875A (en) Dial testing method, device, equipment and computer readable storage medium
CN1319001C (en) Resolving method of internet keyword and system thereof
WO2007044946A1 (en) System and method for installing software
CN101615270A (en) A kind of based on the workflow analysis of B/S pattern and the system and method that presents
CN110071951A (en) Data query display systems and method under the conditions of a kind of big data
CN107222575A (en) Realize the method that OPC communicates between industrial control equipment
CN103970773A (en) Page updating method and device for web page
CN112445473A (en) Client layout method and device, storage medium and electronic equipment
JP3999251B2 (en) Information processing system with front-end processing function
KR101401938B1 (en) Application Launch Service System and Method, Apparatus supporting the same
CN101772196A (en) Method and system for processing message sent by mobile terminal and acting server
CN102130927B (en) Update method, the Apparatus and system of session window in instant communication software

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: YONYOU NETWORK TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: UFIDA SOFTWARE CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: 100094 Haidian District North Road, Beijing, No. 68

Patentee after: Yonyou Network Technology Co., Ltd.

Address before: 100094 Haidian District North Road, Beijing, No. 68

Patentee before: UFIDA Software Co., Ltd.

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

Granted publication date: 20110914

Termination date: 20181107

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