CN103685537B - A kind of data read-write method for realizing SaaS service mode - Google Patents

A kind of data read-write method for realizing SaaS service mode Download PDF

Info

Publication number
CN103685537B
CN103685537B CN201310714379.8A CN201310714379A CN103685537B CN 103685537 B CN103685537 B CN 103685537B CN 201310714379 A CN201310714379 A CN 201310714379A CN 103685537 B CN103685537 B CN 103685537B
Authority
CN
China
Prior art keywords
user
data
enterprise
database
subdata base
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.)
Active
Application number
CN201310714379.8A
Other languages
Chinese (zh)
Other versions
CN103685537A (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.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud Technology 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 G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN201310714379.8A priority Critical patent/CN103685537B/en
Publication of CN103685537A publication Critical patent/CN103685537A/en
Application granted granted Critical
Publication of CN103685537B publication Critical patent/CN103685537B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to field of cloud calculation, especially a kind of data read-write method for realizing SaaS service mode.The present invention read data the step of be:(1), log in;(2) server ip that the enterprise's number information and the corresponding subdata base of active user for, obtaining currently logged on user is located, and access database connection string information;(3), user directly with this enterprise subdata base interaction data;The step of writing data:(1), log in acquisition and write data permission;(2) and then, first in subdata base, increase a user data newly, if increased newly successfully, while inserting this data in public library.It is quicker in SaaS softwares, safe and stable that the present invention applies reading and writing data;Can apply to the reading and writing data of SaaS service mode.

Description

A kind of data read-write method for realizing SaaS service mode
Technical field
The present invention relates to field of cloud calculation, especially a kind of data read-write method for realizing SaaS service mode.
Background technology
Cloud computing (Cloud Computing) is virtualization (Virtualization), effectiveness calculating (Utility Computing), the concept such as laaS (infrastructure is serviced), PaaS (platform is serviced), SaaS (software is serviced) mixing is drilled The result that enters and rise to.Cloud computing describes a kind of new computation schema:Application, data and IT resources are passed through in the way of servicing Network is supplied to user's use.
Cloud operating system supports large-scale virtual computing resource, storage resource, the unified management of Internet resources, can be existing Extendible efficient private clound and mixed cloud is realized on the basis of IT infrastructure.Cloud operating system major function includes calculating money Source control, SRM, network resource management, key are to management, Secure group management, mirror image management, user management, system Configuration etc..Product is applied to the scene that IDC and information centre etc. need to carry out extensive resource management, can be greatly enhanced clothes The utilization rate of business device, reduces expense and cost of labor of the enterprise in the IT conservation of resources, easily realizes " energy-saving and emission-reduction ", " low-carbon (LC) " Deng strategic effect, while the server admin and application deployment in physics and virtual environment is greatly simplify, in scale More preferable cost effect is produced on the basis of change, is the cloud computing operation system that a whole set of possesses feasibility, ease for use, extensibility System solution.
SaaS is the abbreviation of Software-as-a-service, is translated as software and services.The country is generally termed software fortune Battalion's service mode, i.e., the business model for software being provided as a kind of service.
The subject matter for facing at present has:
1st, individual system design is confined to, it is impossible to is met multiple enterprises and is used in conjunction with same system, system accesses pressure greatly, nothing Method supports multi-user to access simultaneously.
2nd, current SaaS system designs read-write data are all a set of shared databases of operation.To reading and writing bringing for data Operating pressure is than larger.Enterprise storehouse cannot automatic deployment, separately storage cannot accomplish that unified monitoring is managed, bring to maintenance very big Difficulty, Maintenance Difficulty problem, the multiple enterprises of SaaS softwares share same database, if system jam, it may be difficult to recover to use User data, recovers the data that whole database means to cover each enterprise on database with Backup Data, but regardless of specifically Whether out of joint the data of which enterprise are.Therefore, in order to recover the data of single client, keeper has to database Return on staging server, then the form of client is directed into generation server, this process is extremely complex, and may spend Take for a long time.
3rd, software services (SaaS) and promotes the safety issue that ill reason is mainly enterprise's concern of data, does not put The heart places the data in cloud service provider there;The extended capability of SaaS services is weaker, personalized customization ability also imperfection, for For those enterprises higher, larger to individual demand, this is undoubtedly a very big problem;And in services migrating Aspect is also required to consider emphatically, if enterprise is not continuing with SaaS services, the data of enterprise this how to fetch, how again profit With, the unified management for how solving database and the read-write concurrency for how improving data;Also there is no one in this respect at present Family SaaS service provider has good solution.
Content of the invention
Present invention solves the technical problem that being to provide a kind of data read-write method for realizing SaaS service mode;Can overcome The defect that above-mentioned prior art is present, stable, safety, can substantially reduce entreprise cost.
The present invention solves the technical scheme of above-mentioned technical problem:
By cloud operating system provide support cloud computing platform service ability, including the resource management to cloud computing platform, Configuration and capacity management, and the automatically dispose for realizing public library, subdata base;
Public library is used for the public information for storing all users, mainly storage user name, password, enterprise's numbering, subdata Storehouse IP and connection string information, and for verifying the legitimacy of User logs in, judge the identity information of login user;
Each database of subdata base represents an enterprise, for storing the user data and creation data of the user; Each database is separate;
Read data to comprise the steps:
(1), user input user name cryptographic acess public database first;
(2) if the username and password of user input is correct, you can obtain enterprise's number information of currently logged on user The server ip being located with the corresponding subdata base of active user, and access database connection string information;Conversely, then again Needs re-enter login;
(3) after, logining successfully, the user directly with this enterprise subdata base interaction data, without need again with public library Interaction data;
Data packets include following steps:
(1), after authenticating users, the user gets the numbering of oneself enterprise and corresponding enterprise's subdata Storehouse, user have the authority of write data;
(2) and then, first in subdata base, increase a user data newly, if increase successfully, while slotting in public library newly Enter this data.
Described newly-increased subdata base step is as follows:
(1) cloud operating system creates the virtual machine with database environment, and provides database IP, database in server Store in public library after user name, encrypted message encryption;
(2) and then database IP, database user name, password in server corresponding for enterprise user information in public affairs It is associated in storehouse altogether;
(3) subdata base of enterprise is created.
Beneficial effect:
1st, the present invention physically isolates to database, enhances number using each enterprise using independent database According to security and fast restoration capabilities;Each enterprise is owned by the database of oneself, then if unique user will be recovered Data, then only need to recover from nearest backup.
2nd, when the present invention solves write data, user is first operated to public library, causes public library than larger pressure Power, the present invention, so can be mitigated if operate significantly using first writing to word bank The pressure of public library, improves the stability of a system.
3rd, when the present invention solves user and reads data, after being verified by public library, all operations of user only and from Oneself enterprise's word bank interaction data, substantially increases the concurrency of access.
4th, in public library of the present invention, the connection string of word bank is stored using cipher mode, enhances the data peace of database Quan Xing, and database solves the safety issue of data by the management of cloud operating system unified monitoring.
Description of the drawings
The present invention is further described below in conjunction with the accompanying drawings:
Accompanying drawing is the reading and writing data flow chart of SaaS service mode of the present invention.
Specific embodiment
As shown in drawings, the present invention is the reading and writing data for realizing SaaS service mode in the following manner, and concrete grammar is walked Suddenly it is:
First, enterprise storehouse is generated
Newly-increased SaaS enterprises subdata base step is as follows:
(1) G-CLOUD clouds operating system creates the virtual machine with database environment, and provides database in server IP, database user name, encrypted message are stored in public library after encrypting.
(2) and then database IP, database user name, password in server corresponding for enterprise user information in public affairs It is associated in storehouse altogether.
(3) database of enterprise is created.
2nd, data are read
(1) user input user name cryptographic acess public database first.
Public library is independently disposed, and for storing the public information of all users, mainly storage user name, password, enterprise compile Number, subdata base IP and connection string information.
It is mainly used to the legitimacy for verifying User logs in, judges the identity information of login user.
(2) if the username and password of user input is correct, you can obtain enterprise's number information of currently logged on user The server ip being located with the corresponding subdata base of active user, and access database connection string information.Conversely, then again Needs re-enter login.
Subdata base refers to database 1 in figure, database 2, database n, and each database represents an enterprise, For the related user data of the enterprise for storing the user and creation data.
(3) after logining successfully, the user directly with this enterprise subdata base interaction data, without need again with public library hand over Mutual data.It is also separate with other enterprise storehouses, has no effect.
3rd, data are write
(4), after authenticating users, the user gets the numbering of oneself enterprise and corresponding enterprise's subdata base, User has the authority of write data.The such as enterprise needs to increase a new user.
(5) the now basic method for adopting is to increase a data customer data base newly first in public library, then from public affairs In storehouse, Timing Synchronization data, to subdata base, cannot so ensure the constantly synchronous of data, and increase the access of public library altogether Pressure.
(6) method that the present invention is adopted is, first in subdata base increases a user data newly, if increased newly successfully, This data is inserted simultaneously in public library, and so write data are only once interacted with public library.Solve the problems referred to above.

Claims (2)

1. a kind of data read-write method for realizing SaaS service mode, it is characterised in that:
The service ability for supporting cloud computing platform is provided by cloud operating system, including the resource management to cloud computing platform, configuration And capacity management, and the automatically dispose for realizing public library, subdata base;
Public library is used for the public information for storing all users, mainly storage user name, password, enterprise's numbering, subdata place Server ip and connection string information, and the identity letter for for verifying the legitimacy of User logs in, judging login user Breath;
Each database of subdata base represents an enterprise, for storing the user data and creation data of the user;Each Database is separate;
Read data to comprise the steps:
(1), user input user name cryptographic acess public library first;
(2) if the username and password of user input is correct, you can obtain enterprise's number information of currently logged on user and work as The server ip that the corresponding subdata base of front user is located, and access database connection string information;Conversely, then needing again Input is logged in;
(3) after, logining successfully, the user directly with this enterprise subdata base interaction data, without need interact with public library again Data;
Data packets include following steps:
(1), after authenticating users, the user gets the numbering of oneself enterprise and corresponding enterprise's subdata base, user Have the authority of write data;
(2) and then, first in subdata base, increase a user data newly, if increased newly successfully, while inserting this in public library Data.
2. data read-write method according to claim 1, it is characterised in that:A user newly-increased in subdata base The step of data, is as follows:
(1) cloud operating system creates the virtual machine with database environment, and provides database IP, database user in server Store in public library after name, encrypted message encryption;
(2) and then database IP, database user name, password in server corresponding for enterprise user information in public library In be associated;
(3) subdata base of enterprise is created.
CN201310714379.8A 2013-12-20 2013-12-20 A kind of data read-write method for realizing SaaS service mode Active CN103685537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310714379.8A CN103685537B (en) 2013-12-20 2013-12-20 A kind of data read-write method for realizing SaaS service mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310714379.8A CN103685537B (en) 2013-12-20 2013-12-20 A kind of data read-write method for realizing SaaS service mode

Publications (2)

Publication Number Publication Date
CN103685537A CN103685537A (en) 2014-03-26
CN103685537B true CN103685537B (en) 2017-03-15

Family

ID=50321811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310714379.8A Active CN103685537B (en) 2013-12-20 2013-12-20 A kind of data read-write method for realizing SaaS service mode

Country Status (1)

Country Link
CN (1) CN103685537B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410604A (en) * 2014-10-28 2015-03-11 国云科技股份有限公司 SaaS service system for achieving large scale of users to log in at the same time and method thereof
CN112653665A (en) * 2020-11-25 2021-04-13 航天信息股份有限公司广州航天软件分公司 Data isolation interaction method and system based on cloud service

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630391A (en) * 2008-07-14 2010-01-20 李�真 Mobile electronic commerce on-line operating (SaaS) platform based on mobile communication network
WO2012042509A1 (en) * 2010-10-01 2012-04-05 Peter Chacko A distributed virtual storage cloud architecture and a method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630391A (en) * 2008-07-14 2010-01-20 李�真 Mobile electronic commerce on-line operating (SaaS) platform based on mobile communication network
WO2012042509A1 (en) * 2010-10-01 2012-04-05 Peter Chacko A distributed virtual storage cloud architecture and a method thereof

Also Published As

Publication number Publication date
CN103685537A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN105184154B (en) A kind of system and method that crypto-operation service is provided in virtualized environment
CN103051631B (en) Unified security authentication method for PaaS (Platform as a Service) platform and SaaS (Software as a Service) application system
CN107181808B (en) Private cloud system and operation method
CN105450636B (en) A kind of cloud computing management system
CN102932459B (en) A kind of method of controlling security of virtual machine
CN104520869B (en) Credible performing environment virtual machine clone
CN105991734B (en) A kind of cloud platform management method and system
US20140289829A1 (en) Computer account management system and realizing method thereof
WO2013138979A1 (en) Hybrid multi-tenancy cloud platform
CN103685463A (en) Access control method and system in cloud computing system
CN102811239A (en) Virtual machine system and safety control method thereof
CN104933188A (en) Data synchronism system and method of patent individuation index
CN109284839A (en) Mobile operation management platform safe operation and big data application system under cloud environment
CN103618752A (en) Virtual machine remote desktop safety access system and method
Descher et al. Retaining data control to the client in infrastructure clouds
CN104298472A (en) Layered computing virtualization implementing method and device
CN103024027B (en) A kind of data mining method and system based on cloud computing
CN103685537B (en) A kind of data read-write method for realizing SaaS service mode
CN105844165A (en) Method and device for achieving calculation virtualization by using four layers of structures
Huo et al. Design and implementation of private cloud storage platform based on OpenStack
US10644890B1 (en) Language-agnostic secure application deployment
US10601959B2 (en) System and method for managing virtual environments in an infrastructure
Shibu et al. An approach to increase the awareness of e-governance initiatives based on cloud computing
CN114422542A (en) Terminal domain management system
Xue et al. Research on Cryptography as a Service Technique Based on Commercial Cryptography

Legal Events

Date Code Title Description
PB01 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
CP02 Change in the address of a patent holder

Address after: 523808 19th Floor, Cloud Computing Center, Chinese Academy of Sciences, No. 1 Kehui Road, Songshan Lake Hi-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: G-Cloud Technology Co., Ltd.

Address before: 523808 No. 14 Building, Songke Garden, Songshan Lake Science and Technology Industrial Park, Dongguan City, Guangdong Province

Patentee before: G-Cloud Technology Co., Ltd.

CP02 Change in the address of a patent holder