Online and off-line based on SaaS uses integration method
Technical field
The present invention relates to a kind of software processing method, relate in particular to a kind of online and off-line and use integration method based on SaaS based on SaaS.
Background technology
The meaning of SaaS (Software-as-a-service) is that software is promptly served, and the Chinese of SaaS is soft battalion or software operation.SaaS is based on the software application pattern that the Internet provides software service.As a kind of software application pattern of the innovation that begins to rise in 21 century, SaaS is the recent tendency of software development in science and technology.The user need not to buy software, and also Maintenance free only needs to order required software service through the Internet to manufacturer, can be enterprise and practices thrift cost.In the SaaS pattern, the management software industry is just quietly experiencing the transformation to the online management service of SaaS pattern in the software industry at home.
Traditional software application all is based on a whole set of software of software developer's good development, and is packaged into and can the local software system that dispose be installed in client, and lets the user register paying, and such software function is fairly perfect, can break away from the network operation! But it is complicated that such software feature is installed configuration; Upgrade untimely; Overflow or the like the various drawbacks that exist easily, and the online software service that SaaS proposes just can well solve this type of problem, online service is exactly that the service provider of SaaS is put into service in the server of the Internet; Let server bear the data processing and the Business Processing of client's overwhelming majority, the user only needs the computer that can connect the Internet just can enjoy the various services that bring in this locality.
SaaS provider is that information-based needed all-network infrastructure and software, hardware running platform are built by enterprise; And be responsible for the enforcement in all early stages, a series of services such as maintenance in later stage; Can pass through the Internet, software service is leased to SaaS provider according to actual needs by enterprise.
The mode of SaaS service mode and traditional selling software permanent license is very different; The traditional services of comparing mode SaaS has the characteristic of a lot of uniquenesses: SaaS has not only reduced or has cancelled traditional soft ware authorization expense; And manufacturer is deployed in application software on the unified server; Exempted the expenditure of end user's server hardware, Network Security Device and software upgrading maintenance, the client need other IT investment except PC and Internet connection just can not obtain required software and services through the Internet.In addition, a large amount of new technologies, like Web Service, provide more simply, more flexibly, more practical SaaS.
In addition, SaaS supplier normally charges according to the software module that the client rented, so the user can order the software application service as required according to demand, and the supplier of SaaS can be responsible for deployment, upgrading and the maintenance of system.And conventional management software normally the buyer need once pay a considerable expense and could formally start.
The user need not to invest at software license and hardware aspect.Traditional software receives the restriction in space and place on occupation mode, must on fixing equipment, use, and the software project of SaaS pattern can use in any place and time of inserting Internet.The SaaS pattern all has very big advantage in various aspects such as the upgrading of software, service, data security transmission for traditional software.
SaaS service provider builds information-based needed all-network infrastructure and software, hardware running platform for medium-sized and small enterprises; And be responsible for the enforcement in all early stages, a series of services such as maintenance in later stage; Enterprise need not to buy software and hardware, builds machine room, recruits the IT personnel; Only need pay disposable project implementation expense and regular software rentals service charge in earlier stage, can enjoy information system through the Internet.The service provider can guarantee the fail safe and the confidentiality of every family business data through the otherwise effective technique measure.Enterprise adopts the SaaS service mode as broad as long basically with enterprise self-built information system on effect; But saved the fund that is used to buy IT product, technology and maintenance operation in a large number; And as opening just ability water of water tap; Utilize information system easily, thereby reduced the threshold and the risk of sme informatization significantly.
Though the online use that is software of SaaS greatest feature, data can local be stored, and guarantee data security.
The value of the offline storage SaaS application core off-line data storage among the SaaS
Because the imperfection of domestic sincere system, vast businessman is extremely low for the degree of belief that SaaS e-commerce venture is provided.One of challenge of the maximum of online SaaS is how to guarantee each trade company's safety of data; Especially the key business data as customer data, business transaction information, marketing program etc.; For businessman is vital, how to guarantee that the core business data that businessman is stored in the SaaS application are unlikely to be lost in rival's hand?
Present common practice is exactly:
1, adopt more the complicated technology means to come the level of security of elevator system, safety means such as fire compartment wall for example, digital certificate, SSL etc. carries out authentication, data transmission safety to identity;
2, stop institutional leak from management system, avoid losing because of the management system defective causes artificial data
More than 2 just from the safety of security of system passive assurance system with system.The safety of system is relative; Any firm system all might be captured, and the perfect of security mechanism is a long-term relatively process, can not accomplish in one move; Therefore; For the user of SaaS, data are put in its local hard drive and compare with being put into server database, and local data is safer.
Summary of the invention
The object of the invention is exactly the problems referred to above that exist in the prior art in order to solve, and provides a kind of online and off-line based on SaaS to use integration method.
The object of the invention is realized through following technical scheme:
Online and off-line based on SaaS uses integration method, wherein: when SaaS is online, through the Internet net data are backuped on the local computer-readable storage medium; When SaaS can't provide enough online service, carry out operation under the line through the data backup in the computer-readable storage medium; When SaaS provides service once more; Alternative line down and the database version on the line if the data on the line are newer than the database of subscriber's local, then downloads to this locality with the data on the line; When the user's data version is higher than on the line, then with the database synchronization under the line to the line in the database.
The above-mentioned online and off-line based on SaaS uses integration method; Wherein: when SaaS can't provide enough online service; User client system detects online service and interrupts, and automatically switches to the database that backups to this locality and operates, and is used for the basis not influence user's off-line; The SaaS pattern is combined with the local software mode, let the user when off-line, obtain whole services or part required service when online; Carry out once more when online at network, through subscriber's local software and database synchronization.
Further, above-mentioned online and off-line based on SaaS uses integration method, and wherein: the state that described influence user off-line uses does, on the line data sync transmission imperfect, the data of user's operation lack.
Further, the above-mentioned online and off-line based on SaaS uses integration method, and wherein: described local software is light-duty client software, is equivalent to thin client system; The online software service mode of described SaaS is based on the architecture mode of C/S; The mode of operation of customer end adopted localization software; The online connection of database when SaaS is online on collinear; Obtaining the data updated resource and to preserve user's data, simultaneously with data up-to-date on the line backuping in the local data base regularly, when the client software detection system breaks; Automatically transfer data from backuping to local database, detect online after again with line on synchrodata.
Further, the above-mentioned online and off-line based on SaaS uses integration method, wherein: when SaaS is online, through time period or the timing of Internet net in the free time, data are backuped on the hard disk of local computer as storage medium.
Again further; The above-mentioned online and off-line based on SaaS uses integration method; Wherein: describedly can't provide enough online service situation to include, user network interrupts, network is busy causes that the Connection Service device is overtime, server failure is shut down, server updating is safeguarded.
The advantage of technical scheme of the present invention has been mainly reflected in following advantage: 1, SaaS need not buy software, and shopping on net gets final product; 2, do not need to install; 3, redaction is upgraded automatically; 4, freely customize the service that needs; 5, strange land office, synergetic office work; 6, cross-platform; 7, littler risk; 8, the API that opens; 9, type Widget service; 10, instant technical assistance.
These advantages have been expanded the space for the technological progress of this area, and implementation result is good.
The object of the invention, advantage and characteristics will make an explanation through the non-limitative illustration of following preferred embodiment.These embodiment only are the prominent examples of using technical scheme of the present invention, and all technical schemes of taking to be equal to replacement or equivalent transformation and forming all drop within the scope of requirement protection of the present invention.
Embodiment
Online and off-line based on SaaS uses integration method, and it adopts following mode to realize: when SaaS is online, through the Internet net data are backuped on the local computer-readable storage medium.Subsequently, when SaaS can't provide enough online service, carry out operation under the line through the data backup in the computer-readable storage medium.And when SaaS provides when service once more, alternative line down and the database version on the line; If the data on the line are newer than the database of subscriber's local; Then the data on the line are downloaded to this locality, when the user's data version is higher than on the line, then with the database synchronization under the line to the line in the database.Specifically, data are kept at user side, are meant the subscriber's local database of a lightness, adopt the low profile edge database; Reducing the loaded down with trivial details of user's operation, the use problem the when user need not consider to break, the user still can be when online operation; System can make corresponding prompting, informs the user, when system detects system's line success; Again with the data synchronization updating of this locality to line, when synchronous when successful, switch on the line database again and operate.Certainly, for operating habit and the data extending that adapts to the user, can the editing data storehouse when user operates local data base in original data, or create new data.
Further; When SaaS can't provide enough online service; Owing to user data and other data that need use of user have been backuped in the hard disc of computer of subscriber's local when online; User client system detects online service and interrupts, and automatically switches to the database that backups to this locality and operates.Thus, can be used for the basis, the SaaS pattern is combined with the local software mode, let the user when off-line, obtain whole services or part required service when online not influence user's off-line; Carry out once more when online at network, through subscriber's local software and database synchronization.And, consider smooth implementation of the present invention, influence the state that user's off-line uses and do, on the line data sync transmission imperfect, the data disappearance of user's operation.
In conjunction with preferred embodiments of the present invention, the local software of employing is light-duty client software, is equivalent to thin client system.And the online software service mode of SaaS is based on the architecture mode of C/S.Specifically, the architecture mode of C/S is exactly often to say client/server mode, but not B/S (browser/server) pattern.The mode of operation of customer end adopted localization software.Specifically; Local software just is mounted in the light-duty client software system on the subscriber computer; It is a small-sized localization software between rich client and browser; Need when operating this software the online environment of network and can successful connecting line on each server, to obtain the latest data on the server and to preserve user data.For instance; Such as document process; Form is made or the like, and the processing operation part during owing to off-line need be carried out in this locality, so local corresponding calculated machine has also been proposed corresponding basic requirement; But need not reach the high-performance configuration of other off-line software certainly, as long as it is just enough to keep basic use.
The online connection of database when SaaS is online on collinear; To obtain the data updated resource and to preserve user's data; Simultaneously with data up-to-date on the line backuping in the local data base regularly; When the client software detection system breaks, can automatically transfer data from backuping to local database, detect online after again with line on synchrodata.
Again further; In order effectively to guarantee the ageing of data mode, can constitute and onlinely upgrade, when SaaS is online with being connected of broken string with complementary; Through of time period or the timing of Internet net, data are backuped on the hard disk of local computer as storage medium in the free time.Simultaneously, in conjunction with practical operation, can't provide enough online service situation to include, user network interrupts, network is busy causes that the Connection Service device is overtime, server failure is shut down, server updating is safeguarded.
In conjunction with actual enforcement of the present invention; When SaaS is online when stable service is provided; Light-duty client can be regularly every at a distance from what minutes (as 5 minutes); Database on the line is downloaded in the local embedded data library file (userdata.db), and this process user can see the synchronous prompting of below, does not need the user to confirm.Simultaneously, synchronizing frequency also can let the user be provided with, but this value has an appropriate scope, influences system resource too soon, causes the unnecessary wasting of resources, and too slow, data are not in time preserved or preserved imperfect.
When system detected in the update cycle, when the user did not have data manipulation to preserve, that just ignores this uploaded down operation synchronously, to save bandwidth.Simultaneously, also have another kind of mode, when server end finds that change takes place for data that the user needs, can initiatively send an application from server, the Spoke-to-Client end answers data download to this locality at this moment.These two kinds of methods of synchronization, the one, can adopt with the user side is main backup mode, lets user side oneself initiatively arrive the online access data, the 2nd, can adopt the mode Spoke-to-Client end software of server push to carry out the data sync backup operation.
And; Repeat for fear of data; Have only one in the backed up data library file, this database file is preserved the total data that user's off-line operation uses, and client software is operated it as database on the operating line; When the user client system detects broken string, can automatic embedded data from database on the operating line to switching this locality.Such process user is imperceptible, and the operation exception the when user generally also need not consider off-line only can have an off-line prompting in the lower end of system, and is easy to use.
Can find out that through above-mentioned character express behind employing the present invention, following advantage is arranged: 1, SaaS need not buy software, and shopping on net gets final product; 2, do not need to install; 3, redaction is upgraded automatically; 4, freely customize the service that needs; 5, strange land office, synergetic office work; 6, cross-platform; 7, littler risk; 8, the API that opens; 9, type Widget service; 10, instant technical assistance.