SaaS platform privatization deployment method, device, equipment and storage medium
By receiving and verifying the SaaS platform configuration information provided by users, connecting and synchronizing the local database, the problem that traditional SaaS platforms cannot support privatization operations is solved, and the secure processing and management of local data is realized, which meets the software privatization and data security. demand.
Patent Information
- Application Number
- CN202411118340.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-08-15
AI Technical Summary
Traditional SaaS platforms cannot directly support privatization operations, cannot apply their functions and capabilities to local data, and cannot meet the needs of software privatization and data security.
By receiving the SaaS platform configuration information provided by the user, including local database connection information, performing connection security verification, and establishing a connection with the local database after the verification is successful, performing data synchronization operations, importing the data of the SaaS platform into the local database or local database Data is imported into the SaaS platform to achieve privatized deployment.
It realizes that while using the software functions and data services provided by the SaaS platform, it processes local data, makes full use of the convenience of the SaaS platform, and meets the needs of privatization of data, improving data security and control capabilities.
Smart Images

Figure CN118660063B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a SaaS platform private deployment method, device, equipment and storage medium. Background Art
[0002] With the continuous development of cloud computing technology, the market demand for cloud computing services is also growing. In the field of cloud computing, the SaaS (Software as a Service) model provides systems in the form of cloud services, while local deployment deploys the system on the company's own servers. The SaaS platform provides convenient software services, but users sometimes want to apply the functions and capabilities of the SaaS platform to local data to meet the needs of software privatization and data security. However, traditional SaaS platforms usually cannot directly support privatization operations. Summary of the invention
[0003] The main purpose of the present invention is to provide a SaaS platform private deployment method, device, equipment and storage medium, aiming to solve the technical problem that traditional SaaS platforms cannot directly support private operations.
[0004] To achieve the above object, the present invention provides a SaaS platform private deployment method, which is applied to a cloud server and includes:
[0005] Receive SaaS platform configuration information provided by a user, wherein the SaaS platform configuration information includes local database connection information;
[0006] Performing connection security verification with the local database based on the local database connection information;
[0007] After the security verification is successful, a connection is established with the local database;
[0008] Based on the connection, a data synchronization operation is performed on the SaaS platform and the local database, wherein the data synchronization operation includes importing the data of the SaaS platform into the local database or importing the data of the local database into the SaaS platform.
[0009] Optionally, the step of performing connection security verification with a local database based on the local database connection information includes:
[0010] Initiate a connection request to the local database;
[0011] Acquire database user information corresponding to the connection request in the local database connection information, wherein the database user information at least includes a user name and a password;
[0012] authenticating the database user information according to the local database;
[0013] After the identity authentication is successful, the step of establishing a connection with the local database is performed.
[0014] Optionally, before the step of performing connection security verification with the local database based on the local database connection information, the method further includes:
[0015] Encrypting the database user information in the database connection information, and storing the encrypted database user information in the SaaS platform;
[0016] The step of authenticating the database user information according to the local database comprises:
[0017] Sending the encrypted database user information to the local database, and decrypting the database user information to obtain a user name and password;
[0018] The user name and the password are submitted to the local database so that the local database performs user identity authentication based on the user name and the password.
[0019] Optionally, the SaaS platform privatization deployment method further includes:
[0020] Obtaining user permissions corresponding to the database user information;
[0021] Determine whether the user corresponding to the database user information obtains access and operation authority to the local database;
[0022] If the access and operation authority is obtained, the user corresponding to the database user information is allowed to operate the database;
[0023] If the access and operation authority is not obtained, the user corresponding to the database user information is not allowed to operate the database, and the connection with the local database is deleted.
[0024] Optionally, after the step of establishing a connection with the local database after the security verification is successful, the method further includes:
[0025] Receiving a function instruction of the SaaS platform sent by the user;
[0026] The functional modules and API interfaces of the SaaS platform are operated according to the functional instructions, and the data of the local database are processed according to the corresponding operation results.
[0027] Optionally, the step of processing the data in the local database according to the corresponding operation result includes:
[0028] Obtaining a database instruction corresponding to the operation result, wherein the database instruction includes encrypted database operation data and an operation command, and the operation command includes a database access command and a database editing command;
[0029] A database operation is performed on the database operation data in the local database according to the operation command.
[0030] Optionally, the step of performing a database operation on the database operation data in the local database according to the operation command further includes:
[0031] The database operations corresponding to the database access command and the database editing command are monitored and audited to obtain security risk events existing in the database operations.
[0032] In addition, to achieve the above-mentioned purpose, the present application also provides a SaaS platform privatization deployment device, and the SaaS platform privatization deployment device includes:
[0033] A configuration module, used to receive SaaS platform configuration information provided by a user, wherein the SaaS platform configuration information includes local database connection information;
[0034] A verification module, used for performing connection security verification with a local database based on the local database connection information;
[0035] A connection module, used to establish a connection with the local database after the security verification is successful;
[0036] A synchronization module is used to perform data synchronization operations on the SaaS platform and the local database based on the connection, wherein the data synchronization operation includes importing data of the SaaS platform into the local database or importing data of the local database into the SaaS platform.
[0037] In addition, to achieve the above-mentioned purpose, the present application also provides a SaaS platform privatization deployment device, which includes: a memory, a processor, and a SaaS platform privatization deployment program stored in the memory and executable on the processor, and when the SaaS platform privatization deployment program is executed by the processor, the SaaS platform privatization deployment method as described above is implemented.
[0038] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, which is a computer-readable storage medium, and a SaaS platform privatization deployment program is stored on the computer-readable storage medium. When the SaaS platform privatization deployment program is executed by the processor, the steps of the SaaS platform privatization deployment method as described above are implemented.
[0039] In this embodiment, SaaS platform configuration information provided by a user is received, wherein the SaaS platform configuration information includes local database connection information; connection security verification is performed with the local database based on the local database connection information; after the security verification is successful, a connection is established with the local database; data synchronization operations are performed between the SaaS platform and the local database based on the connection, wherein the data synchronization operations include importing data of the SaaS platform into the local database or importing data of the local database into the SaaS platform. This application can privately deploy the SaaS platform by configuring the database of the SaaS platform as a local database, thereby processing local data while using the software functions and data services provided by the SaaS platform, making full use of the convenience of the SaaS platform and satisfying the privatization of data operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 This is a flow chart of the first embodiment of the SaaS platform privatization deployment method of the present invention;
[0041] Figure 2 This is a technical solution flow chart of the SaaS platform privatization deployment method of the present invention;
[0042] Figure 3 This is a flow chart of a second embodiment of the SaaS platform privatization deployment method of the present invention;
[0043] Figure 4 It is a flow chart of the third embodiment of the SaaS platform privatization deployment method of the present invention;
[0044] Figure 5 A schematic diagram of the structure of the SaaS platform of the present invention for private deployment of multiple devices at different levels;
[0045] Figure 6 It is a structural diagram of a SaaS platform private deployment device in a hardware operating environment involved in an embodiment of the present invention.
[0046] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0047] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0048] With the continuous development of cloud computing technology, the market demand for cloud computing services is also growing. In the field of cloud computing, SaaS (Software as a Service) and private deployment are the two most common deployment methods. The SaaS model provides the system in the form of cloud services, while local deployment deploys the system on the enterprise's own servers. The SaaS platform provides convenient software services, but users sometimes want to apply the functions and capabilities of the SaaS platform to local data to meet the needs of software privatization and data security. However, traditional SaaS platforms are usually unable to directly support private operations.
[0049] Based on this, the embodiment of the present invention provides a SaaS platform private deployment method, referring to Figure 1 , Figure 1 The figure is a flow chart of a first embodiment of a SaaS platform private deployment method of the present invention.
[0050] In this embodiment, the SaaS platform private deployment method is applied to a cloud server, including:
[0051] Step S10: receiving SaaS platform configuration information provided by a user, wherein the SaaS platform configuration information includes local database connection information.
[0052] SaaS (Software as a Service) aims to provide fixed software services to users through the Internet. Users do not need to purchase and maintain software. They can directly rent it from suppliers and pay service fees on time to use the relevant functions of the software on the cloud. Localization (data is directly stored locally) aims to purchase system software independently and install it directly on the local server. All operation processes are carried out within the enterprise. Users can independently control internal data and reduce the risk of data loss and leakage. In terms of deployment methods, the main difference between the two is whether the system software needs to be installed on the local server. SaaS cloud deployment mainly deploys the system on the cloud purchased by the enterprise, which is more convenient and quick to use. Localization deployment is to deploy the system on the local server of the enterprise, and the data is stored within the enterprise and belongs to the enterprise. Therefore, SaaS cloud deployment and localization deployment are actually two relative deployment methods. However, in some cases, while applying the convenient software functions and data services in the SaaS model, enterprises also hope to save data on the local server of the enterprise to prevent data leakage and file loss.
[0053] Before applying the SaaS platform, users need to comprehensively consider the needs of their own enterprises and customize and configure the system. The SaaS platform configuration information is the configuration information required for users to build a SaaS platform. Among them, since the functions of the platform require the support of the database, the configuration information of the database is also included in the SaaS platform configuration information. In this embodiment, the user configures the database of the SaaS platform as a local database, and the local database connection information is the database connection information provided by the user, including information such as the database address, port, user name and password.
[0054] The cloud server receives SaaS platform configuration information provided by the user through a configuration interface provided by the SaaS platform, and the SaaS platform configuration information includes local database connection information.
[0055] It should be noted that in the SaaS model, software is no longer sold to users in the traditional way, but is provided as a service. Specifically, the SaaS model deploys software on cloud servers, and users can access and use the software through the Internet without installing and maintaining it on local devices. In traditional SaaS platforms, all functions are accessed through the Internet and do not need to be installed on local devices. Therefore, cloud databases are usually used for data storage and management services. In this embodiment, a cloud database is not used, but the database of the SaaS platform is configured as a local database, and data is processed in the local environment, so that local data can be processed while using the SaaS platform to ensure data security.
[0056] Step S20: performing connection security verification with the local database based on the local database connection information.
[0057] In the case where the database of the SaaS platform based on the cloud server needs to be configured as a local database, since the functions in the SaaS platform need to continuously operate the database, the cloud server needs to continuously interact with the local database for data, and the SaaS platform needs to establish a connection with the local database. There are data security issues in the connection process. Therefore, before the connection, the local database needs to perform connection security verification based on the configuration information in the cloud server. The connection security verification process includes common sense connection, identity verification, and permission verification steps to ensure the data security in the database and the authenticity and validity of the local database connection information provided by the user.
[0058] Step S30, after the security verification is successful, establishing a connection with the local database.
[0059] After the local database connection security verification is successful, the SaaS platform will establish a connection with the user's local database to support the SaaS platform to perform database operations on the local database and ensure the normal operation of the SaaS platform's functions.
[0060] Step S40: performing a data synchronization operation on the SaaS platform and the local database based on the connection, wherein the data synchronization operation includes importing the data of the SaaS platform into the local database or importing the data of the local database into the SaaS platform.
[0061] After configuring the database of the SaaS platform as a local database, since the SaaS platform contains various management functions, and the functions involve the operation and management of data. However, since the database used in this embodiment is not the cloud database corresponding to the SaaS platform, the local database may lack data associated with the function, and the data related to the function in the SaaS platform needs to be imported into the local database. Similarly, when the SaaS platform needs to display some data that only exists in the local database, the data in the local database needs to be imported into the SaaS platform for normal display.
[0062] After the SaaS platform is successfully connected to the local database, the SaaS platform and the local database are synchronized based on the connection to maintain data consistency between the SaaS platform and the local database.
[0063] Taking the online education SaaS platform as an example, users hope to apply the education course management function of the SaaS platform to the local school education system to realize the management of local education data and the utilization of teaching resources. The user first configures the database of the SaaS platform as a local database through the configuration interface provided by the SaaS platform. Once the local database connection verification is successful, the SaaS platform will establish a connection with the user's local database and perform data synchronization operations. The data synchronization operation includes importing the education course data in the SaaS platform into the local database to maintain data consistency. The data synchronization operation can also include importing the data in the local database into the SaaS platform to display the data in the local database on the SaaS platform. Users can manage, query and analyze the education course data in the local database through the functional modules, API interfaces, etc. provided by the SaaS platform.
[0064] The technical solution flow chart of this embodiment is as follows Figure 2As shown in the figure, after logging into the SaaS platform, users can configure the database of the SaaS platform as a local database and use the public capabilities of the SaaS platform to process local data in a private deployment manner. By implementing the configuration, connection verification, data synchronization and security solutions in the steps, users can fully utilize the functions and convenience of the SaaS platform in the local environment while maintaining control and security of local data.
[0065] In this embodiment, SaaS platform configuration information provided by a user is received, wherein the SaaS platform configuration information includes local database connection information; connection security verification is performed with the local database based on the local database connection information; after the security verification is successful, a connection is established with the local database; data synchronization operations are performed between the SaaS platform and the local database based on the connection, wherein the data synchronization operations include importing data of the SaaS platform into the local database or importing data of the local database into the SaaS platform. This application can privately deploy the SaaS platform by configuring the database of the SaaS platform as a local database, thereby processing local data while using the software functions and data services provided by the SaaS platform, making full use of the convenience of the SaaS platform and satisfying the privatization of data operations.
[0066] Further, see Figure 3 The second embodiment of the present invention provides a SaaS platform private deployment method based on the above Figure 3 In the illustrated embodiment, the step of performing connection security verification with the local database based on the local database connection information includes:
[0067] Step S21, initiating a connection request to the local database;
[0068] Step S22, obtaining database user information corresponding to the connection request in the local database connection information, wherein the database user information at least includes a user name and a password;
[0069] Step S23, performing identity authentication on the database user information according to the local database;
[0070] Step S24, after the identity authentication is successful, execute the step of establishing a connection with the local database.
[0071] In this embodiment, it should be noted that the connection security verification process includes steps such as connection attempt, identity verification and permission verification. In the identity verification process, the connection request initiated by the cloud server carries the local database connection information. The database user information in the local database connection information is used to connect to the local database. The database user information specifically includes a user name and a password. When the user name and password are successfully verified, it means that the identity verification in the local database is successful. At this time, the SaaS platform in the cloud server can establish a connection with the local database.
[0072] Exemplarily, steps S21 to S24 include:
[0073] Initiate a connection request to the local database, obtain the local database user name and password corresponding to the connection request from the local database connection information, and perform database authentication on the user name and password according to the local database. After the authentication is passed, execute the step: establish a connection with the local database.
[0074] This embodiment uses the user name and password provided by the user for identity authentication of the local database, ensures the security of database information, and maintains the security of local data through identity authentication.
[0075] Furthermore, before the step of performing connection security verification with the local database based on the local database connection information, the method further includes:
[0076] Step A10, encrypting the database user information in the database connection information, and storing the encrypted database user information in the SaaS platform;
[0077] The step of authenticating the database user information according to the local database comprises:
[0078] Step S231, sending the encrypted database user information to the local database, and decrypting the database user information to obtain a user name and password;
[0079] Step S232: submitting the user name and the password to the local database so that the local database performs user identity authentication based on the user name and the password.
[0080] In this embodiment, it should be noted that in order to solve the problem of user information and data security in the user database, the database user information is encrypted during transmission and storage to prevent malicious acquisition.
[0081] Step A10 is a database user information storage step, including: after receiving the SaaS platform configuration information provided by the user through the configuration page, encrypting the database user information in the SaaS platform configuration information, and saving the encrypted database user information in the cloud server SaaS platform.
[0082] Steps S231 to S232 are steps for transmitting database user information, including: sending the encrypted database user information to the local database, and at the same time, decrypting the database user information to obtain the decrypted user name and password, submitting the user name and password to the local database, so that the local database can log in based on the user name and password, thereby passing the user identity authentication.
[0083] This embodiment ensures the security of the database user information during transmission and storage by encrypting the database user information, and can prevent the database user information from being maliciously acquired.
[0084] Furthermore, the SaaS platform private deployment method also includes:
[0085] Step B10, obtaining user rights corresponding to the database user information;
[0086] Step B20, determining whether the user corresponding to the database user information obtains access and operation authority to the local database;
[0087] Step B30, if the access and operation authority is obtained, then the user corresponding to the database user information is allowed to operate the database;
[0088] Step B40: If the access and operation authority is not obtained, the user corresponding to the database user information is not allowed to operate the database, and the connection with the local database is deleted.
[0089] In this embodiment, it should be noted that the SaaS platform performs access permission control on the user's local database, allowing only authorized users to access and operate the database.
[0090] Exemplarily, steps B10 to B40 include:
[0091] After successful identity authentication, the SaaS platform establishes a connection with the local database; at this time, the permissions corresponding to the database user information are obtained, and it is determined whether the user corresponding to the database user information has obtained access and operation permissions to the local database; if the access and operation permissions are obtained, the user corresponding to the database user information is allowed to operate the database; if the access and operation permissions are not obtained, the user corresponding to the database user information is not allowed to operate the database, and at the same time, the connection to the local database is deleted.
[0092] In this embodiment, the access rights to the local database are controlled, thereby improving the security of the database account information and maintaining the security of the local database.
[0093] Further, see Figure 4 The third embodiment of the present invention provides a SaaS platform private deployment method, based on the above Figure 4 In the embodiment shown, after the step of establishing a connection with the local database after the security verification is successful, the step further includes:
[0094] Step C10, receiving a function instruction of the SaaS platform sent by the user;
[0095] Step C20: operating the functional modules and API (Application Programming Interface) interface of the SaaS platform according to the functional instructions, and processing the data of the local database according to the corresponding operation results.
[0096] In this embodiment, it should be noted that the function instruction is an execution instruction of the function provided on the SaaS platform specified by the user. On the SaaS platform, in order to facilitate use and reduce development costs and operation and maintenance resources, a rich set of functions and services are provided in advance, and enterprises can purchase the required functions and services according to their actual needs.
[0097] Specifically, each functional module corresponds to multiple data operations, and each data operation corresponds to a functional instruction. The data operation needs to be applied to the data in the local database. Taking the online education SaaS platform as an example, the user uses the education course management functional module provided on the SaaS platform. In the education course management functional module, there are similar functional instructions such as "view this semester's class schedule", "add a new course", "modify a course", and "delete a course". The operations corresponding to the above functional instructions are "query this semester's class schedule", "add a certain course", "change a certain course to a certain course", "delete a certain course", etc., and the data in the local database needs to be processed according to the above functional instructions.
[0098] Exemplarily, steps C10 to C20 include:
[0099] Receive function instructions on the SaaS platform triggered by users, operate the function modules and API interfaces of the SaaS platform according to the function instructions, and process the data in the local database according to the operation results.
[0100] This embodiment synchronizes data between the SaaS platform and the local database, thereby meeting the requirement of synchronizing data in the local database when executing functions on the cloud server.
[0101] Furthermore, the step of processing the data in the local database according to the corresponding operation result includes:
[0102] Step D10, obtaining a database instruction corresponding to the operation result, wherein the database instruction includes encrypted database operation data and an operation command, and the operation command includes a database access command and a database editing command;
[0103] Step D20: performing a database operation on the database operation data in the local database according to the operation command.
[0104] In this embodiment, it should be noted that the database instructions are standard database manipulation instructions, which may include operation commands and database operation data. The operation commands include query, modify, add, delete and other commands, and the encrypted database operation data are the values, table names, column names and other data in the standard database manipulation instructions.
[0105] For example, the online education SaaS platform uses a SQL database, and the operation result can be "change the second class on Wednesday in the class table of class 2 to mathematics." Converting it into a database instruction is "UPDATE class_2 SET course='mathematics', WHERE day=Wednesday, class=second", where the operation command is the "UPDATE" update instruction, and the database operation data is "class_2" (the table name to be modified), "course" (the field name to be modified), "mathematics" (the value to be modified), "day=Wednesday", "class=second" (modification conditions). Therefore, during the data transmission process, the database operation data is encrypted.
[0106] Exemplarily, steps D10 to D20 include:
[0107] Determine the result of the operation on the data corresponding to the functional instruction, obtain the converted database instruction corresponding to the operation result, and perform the corresponding database operation on the data in the local database according to the database operation instruction.
[0108] In this embodiment, the user can perform privatization operations on the local database by using the functional modules and API interfaces provided by the SaaS platform to perform data analysis, processing, and management operations.
[0109] Furthermore, the step of performing a database operation on the database operation data in the local database according to the operation command further includes:
[0110] Step D21 , monitoring and security auditing the database operations corresponding to the database access command and the database editing command to obtain security risk events existing in the database operations.
[0111] In this embodiment, it should be noted that the SaaS platform implements a security audit and monitoring mechanism to monitor and record user database access and operations, and promptly detect and respond to security incidents.
[0112] Exemplarily, step D21 includes:
[0113] Obtain operation commands, monitor and perform security audits on the operations performed by all database access commands and database editing commands in the operation commands, so as to obtain security risk events existing in database operations based on the results of monitoring and security audits.
[0114] This embodiment can improve the data security of local data by monitoring and performing security audits on database operations.
[0115] In addition, the present invention also provides a SaaS platform private deployment device, please refer to Figure 5 , Figure 5 The module diagram of the SaaS platform privatization deployment device involved in the embodiment of the present invention is as follows:
[0116] Configuration module 10, used to receive SaaS platform configuration information provided by a user, wherein the SaaS platform configuration information includes local database connection information;
[0117] A verification module 20, configured to perform connection security verification with a local database based on the local database connection information;
[0118] A connection module 30, used to establish a connection with the local database after the security verification is successful;
[0119] The synchronization module 40 is used to perform data synchronization operation on the SaaS platform and the local database based on the connection, wherein the data synchronization operation includes importing the data of the SaaS platform into the local database or importing the data of the local database into the SaaS platform.
[0120] In one embodiment, the verification module 20 is further configured to:
[0121] Initiate a connection request to the local database;
[0122] Acquire database user information corresponding to the connection request in the local database connection information, wherein the database user information at least includes a user name and a password;
[0123] authenticating the database user information according to the local database;
[0124] After the identity authentication is successful, the step of establishing a connection with the local database is performed.
[0125] In one embodiment, the verification module 20 is further configured to:
[0126] Encrypting the database user information in the database connection information, and storing the encrypted database user information in the SaaS platform;
[0127] In one embodiment, the verification module 20 is further configured to:
[0128] Sending the encrypted database user information to the local database, and decrypting the database user information to obtain a user name and password;
[0129] The user name and the password are submitted to the local database so that the local database performs user identity authentication based on the user name and the password.
[0130] In one embodiment, the verification module 20 is further configured to:
[0131] Obtaining user permissions corresponding to the database user information;
[0132] Determine whether the user corresponding to the database user information obtains access and operation authority to the local database;
[0133] If the access and operation authority is obtained, the user corresponding to the database user information is allowed to operate the database;
[0134] If the access and operation authority is not obtained, the user corresponding to the database user information is not allowed to operate the database, and the connection with the local database is deleted.
[0135] In one embodiment, the SaaS platform privatization deployment device is further used to:
[0136] Receiving a function instruction of the SaaS platform sent by the user;
[0137] The functional modules and API interfaces of the SaaS platform are operated according to the functional instructions, and the data of the local database are processed according to the corresponding operation results.
[0138] In one embodiment, the SaaS platform privatization deployment device is further used to:
[0139] Obtaining a database instruction corresponding to the operation result, wherein the database instruction includes encrypted database operation data and an operation command, and the operation command includes a database access command and a database editing command;
[0140] A database operation is performed on the database operation data in the local database according to the operation command.
[0141] In one embodiment, the SaaS platform privatization deployment device is further used to:
[0142] The database operations corresponding to the database access command and the database editing command are monitored and audited to obtain security risk events existing in the database operations.
[0143] In addition, the present invention also provides a SaaS platform privatization deployment device, which includes a memory, a processor, and a SaaS platform privatization deployment program stored in the memory and executable on the processor. When the SaaS platform privatization deployment program is executed by the processor, the steps of the SaaS platform privatization deployment method described above are implemented.
[0144] Please refer to Figure 6 , Figure 6 The present invention is a schematic diagram of the structure of a SaaS platform private deployment device in the hardware operating environment involved in the embodiment of the present invention.
[0145] like Figure 6 As shown, the SaaS platform private deployment device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0146] Those skilled in the art will understand that Figure 6 The structure shown in does not constitute a limitation on the private deployment device of the SaaS platform, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0147] like Figure 6 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module, and a SaaS platform private deployment program.
[0148] exist Figure 6 In the SaaS platform privatization deployment device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with users; the processor 1001 and the memory 1005 in the SaaS platform privatization deployment device of the present invention can be set in the SaaS platform privatization deployment device, and the SaaS platform privatization deployment device calls the SaaS platform privatization deployment program stored in the memory 1005 through the processor 1001, and executes the SaaS platform privatization deployment method provided by the embodiment of the present invention.
[0149] In addition, an embodiment of the present application also proposes a storage medium, which is a computer-readable storage medium, and the computer-readable storage medium can be a non-volatile computer-readable storage medium. The computer-readable storage medium stores a SaaS platform privatization deployment program, and when the SaaS platform privatization deployment program is executed by a processor, it implements the SaaS platform privatization deployment method of the present application as described above.
[0150] The various embodiments of the electronic device and computer-readable storage medium of the present application can all refer to the various embodiments of the SaaS platform privatization deployment method of the present application, and will not be repeated here.
[0151] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or system including the element.
[0152] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0153] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0154] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A SaaS platform private deployment method, characterized in that: Applied to cloud servers, the SaaS platform private deployment method includes the following steps: Receive SaaS platform configuration information provided by a user, wherein the SaaS platform configuration information includes local database connection information; Performing connection security verification with the local database based on the local database connection information; After the security verification is successful, a connection is established with the local database; Performing a data synchronization operation between the SaaS platform and the local database based on the connection, wherein the data synchronization operation includes importing data related to management functions in the SaaS platform into the local database or importing data unique to the local database for display on the SaaS platform into the SaaS platform; The step of performing connection security verification with the local database based on the local database connection information includes: Initiate a connection request to the local database; Obtaining database user information corresponding to the connection request in the local database connection information, wherein the database user information includes at least a user name and a password; authenticating the database user information according to the local database; After successful authentication, the steps of: establishing a connection with the local database; Wherein, after the step of establishing a connection with the local database after the security verification is successful, the method further includes: Receive a function instruction of the SaaS platform sent by the user, where the function instruction is an execution instruction of a function provided on the SaaS platform specified by the user; Operate the functional modules and API interfaces of the SaaS platform according to the functional instructions, and process the data in the local database according to the corresponding operation results; The step of processing the data in the local database according to the corresponding operation result includes: Obtaining a database instruction corresponding to the operation result, wherein the database instruction includes encrypted database operation data and an operation command, and the operation command includes a database access command and a database editing command; Perform a database operation on the database operation data in the local database according to the operation command.
2. The SaaS platform private deployment method according to claim 1, characterized in that: Before the step of performing connection security verification with the local database based on the local database connection information, the method further includes: Encrypting the database user information in the database connection information, and storing the encrypted database user information in the SaaS platform; The step of authenticating the database user information according to the local database includes: Sending the encrypted database user information to the local database, and decrypting the database user information to obtain a user name and password; The user name and the password are submitted to the local database, so that the local database performs user identity authentication based on the user name and the password.
3. The SaaS platform private deployment method according to claim 1, characterized in that: The SaaS platform private deployment method further includes: Obtaining user permissions corresponding to the database user information; Determine whether the user corresponding to the database user information obtains access and operation permissions to the local database; If the access and operation permissions are obtained, the user corresponding to the database user information is allowed to operate the database; If the access and operation authority is not obtained, the user corresponding to the database user information is not allowed to operate the database, and the connection with the local database is deleted.
4. The SaaS platform private deployment method according to claim 1, characterized in that: The step of performing a database operation on the database operation data in the local database according to the operation command further includes: The database operations corresponding to the database access command and the database editing command are monitored and audited to obtain security risk events existing in the database operations.
5. A SaaS platform private deployment device, characterized in that: The SaaS platform private deployment device includes: A configuration module, configured to receive SaaS platform configuration information provided by a user, wherein the SaaS platform configuration information includes local database connection information; A verification module, configured to perform connection security verification with a local database based on the local database connection information; A connection module, configured to establish a connection with the local database after successful security verification; a synchronization module, configured to perform a data synchronization operation between the SaaS platform and the local database based on the connection, wherein the data synchronization operation includes importing data related to management functions in the SaaS platform into the local database or importing data unique to the local database for display on the SaaS platform into the SaaS platform; The verification module is specifically used for: Initiate a connection request to the local database; Obtaining database user information corresponding to the connection request in the local database connection information, wherein the database user information includes at least a user name and a password; authenticating the database user information according to the local database; After successful authentication, the steps of: establishing a connection with the local database; Wherein, the connection module is specifically used for: Receive a function instruction of the SaaS platform sent by the user, where the function instruction is an execution instruction of a function provided on the SaaS platform specified by the user; Operate the functional modules and API interfaces of the SaaS platform according to the functional instructions, and process the data in the local database according to the corresponding operation results; Wherein, the connection module is further used for: Obtaining a database instruction corresponding to the operation result, wherein the database instruction includes encrypted database operation data and an operation command, and the operation command includes a database access command and a database editing command; Perform a database operation on the database operation data in the local database according to the operation command.
6. A SaaS platform private deployment device, characterized in that: The SaaS platform privatization deployment device includes: a memory, a processor, and a SaaS platform privatization deployment program stored in the memory and executable on the processor. The SaaS platform privatization deployment program is configured to implement the steps of the SaaS platform privatization deployment method according to any one of claims 1 to 4.
7. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, on which a SaaS platform privatization deployment program is stored. When the SaaS platform privatization deployment program is executed by a processor, the steps of the SaaS platform privatization deployment method according to any one of claims 1 to 4 are implemented.
