Database security function instance providing method and device, equipment and medium
By introducing heterogeneous isolation modules, data guard modules and security management modules into the database security system, providing database security function examples, the problem of high database protection costs under heterogeneous isolation networks is solved, and flexible deployment and cost reduction are achieved.
Patent Information
- Application Number
- CN202411044350.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-12-03
AI Technical Summary
Existing database security systems require a complete set of equipment when using heterogeneous isolated networks, which leads to high costs and does not support virtualized cloud deployment, making it difficult to achieve flexible database protection.
By introducing heterogeneous isolation modules, data guardian modules and security management modules into the database security system, receiving application instance creation requests, creating data guardian virtual machines and configuring heterogeneous network channels, providing database security function examples, and realizing heterogeneous Unified management of isolated network and data protection services.
It realizes flexible sales and rapid deployment of database security services, dynamically adjusts instance configuration according to user needs, reducing resource waste and usage costs.
Smart Images

Figure CN119066700A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method for providing a database security function instance, a device for providing a database security function instance, an electronic device, and a computer-readable storage medium. Background Art
[0002] Visual Network is a network solution that eliminates IP (Internet Protocol) with independent intellectual property rights in China. Using Visual Network can naturally achieve isolation from traditional networks.
[0003] A heterogeneous isolated network is a network isolation solution that relies on visual networking technology and equipment. Since its functional services rely on equipment, it does not support virtualized cloud deployment. Although the database guardian service does not rely heavily on equipment, it requires a heterogeneous isolated network for up-front network-level protection. Therefore, when customers need a database security system based on a heterogeneous isolated network for database protection, they need to purchase a full set of equipment, which is costly. Summary of the invention
[0004] In view of the above problems, embodiments of the present invention are proposed to provide a method for providing a database security function instance, a corresponding database security function instance providing device, an electronic device and a computer-readable storage medium that overcome the above problems or at least partially solve the above problems.
[0005] In order to solve the above problems, an embodiment of the present invention discloses a method for providing a database security function instance, which is applied to a database security system. The database security system includes a heterogeneous isolation module, a data guard module and a security management module. The method includes:
[0006] receiving an instance creation request for an application and a database to be accessed by the application;
[0007] Creating a data guardian virtual machine in the data guardian module according to the data guardian resource configuration in the instance creation request;
[0008] According to the heterogeneous network channel quantity configuration in the instance creation request, in the security management module, an upper limit of the number of heterogeneous network channels that can be used in the heterogeneous isolation module is recorded;
[0009] The security management module provides the application with a database security function instance for accessing the database; wherein the database security function instance includes the data guardian virtual machine and the usable heterogeneous network channel.
[0010] Optionally, the providing, by the security management module, a database security function instance for the application to access the database comprises:
[0011] According to the data guardian virtual machine, the upper limit of the number and the database to be accessed by the application, configure the data guardian virtual machine of the database security function instance and the available heterogeneous network channel, as well as the database information of the database security function instance;
[0012] According to the application, configure application information of the database security function instance;
[0013] The database security function instance is provided by the security management module.
[0014] Optionally, the database security function instance provided by the security management module includes:
[0015] Based on the data guardian virtual machine of the database security function instance, the available heterogeneous network channel, the database information and the application information, a database access tool used by the application to access the database is generated for downloading and installation by the device where the application is located.
[0016] Optionally, the access request of the application reaches the database after passing through the heterogeneous network channel and the data guardian virtual machine of the database security function instance in sequence. The heterogeneous isolation module includes the heterogeneous isolation module of the application layer gateway and the heterogeneous isolation module of the data side gateway. The heterogeneous network channel is the network channel between the heterogeneous isolation module of the application layer gateway and the heterogeneous isolation module of the data layer gateway.
[0017] The embodiment of the present invention further discloses a database security function instance providing device, which is applied to a database security system. The database security system includes a heterogeneous isolation module, a data guard module and a security management module. The device includes:
[0018] A request receiving unit, configured to receive an instance creation request for an application and a database to be accessed by the application;
[0019] A virtual machine creation unit, configured to create a data guardian virtual machine in the data guardian module according to the data guardian resource configuration in the instance creation request;
[0020] an upper limit recording unit, configured to record, in the security management module, an upper limit of the number of heterogeneous network channels that can be used in the heterogeneous isolation module according to the heterogeneous network channel number configuration in the instance creation request;
[0021] An instance providing unit is used to provide the application with a database security function instance for accessing the database by the security management module; wherein the database security function instance includes the data guardian virtual machine and the usable heterogeneous network channel.
[0022] Optionally, the example providing unit includes:
[0023] An information configuration subunit, configured to configure the data guardian virtual machine and the available heterogeneous network channel of the database security function instance, and the database information of the database security function instance according to the data guardian virtual machine, the upper limit of the number and the database to be accessed by the application;
[0024] An application information configuration subunit, configured to configure application information of the database security function instance according to the application;
[0025] The instance providing subunit is used for providing the database security function instance by the security management module.
[0026] Optionally, the instance provides a sub-unit, which is specifically used to generate a database access tool used by the application to access the database based on the data guardian virtual machine of the database security function instance, the available heterogeneous network channel, the database information and the application information, for downloading and installation by the device where the application is located.
[0027] Optionally, the access request of the application reaches the database after passing through the heterogeneous network channel and the data guardian virtual machine of the database security function instance in sequence. The heterogeneous isolation module includes the heterogeneous isolation module of the application layer gateway and the heterogeneous isolation module of the data side gateway. The heterogeneous network channel is the network channel between the heterogeneous isolation module of the application layer gateway and the heterogeneous isolation module of the data layer gateway.
[0028] The embodiment of the present invention further discloses an electronic device, including:
[0029] one or more processors; and
[0030] One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, cause the apparatus to perform any of the methods described above.
[0031] The embodiment of the present invention further discloses a computer-readable storage medium, wherein a computer program stored in the storage medium enables a processor to execute any of the methods described above.
[0032] According to an embodiment of the present invention, by receiving an instance creation request for an application and a database to be accessed by the application, a data guardian virtual machine is created in the data guardian module according to the data guardian resource configuration in the instance creation request, and according to the number of heterogeneous network channels configured in the instance creation request, the upper limit of the number of heterogeneous network channels that can be used in the heterogeneous isolation module is recorded in the security management module, and the security management module provides the application with a database security function instance for accessing the database; wherein the database security function instance includes the data guardian virtual machine and the usable heterogeneous network channel, so that instances including heterogeneous isolation networks and data guardian services can be created and managed, instances of different specifications are allocated to users, unified management of instances is provided, user operations are simplified, and flexible sales are achieved, security services for application programs to access databases are quickly deployed, and instance configurations are dynamically adjusted according to user needs, thereby avoiding waste of resources and reducing usage costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 is a flowchart of a method for providing a database security function example of the present invention;
[0034] Figure 2 This is a schematic diagram of the Nebula all-in-one solution;
[0035] Figure 3 It is a schematic diagram of the modules within the database security system;
[0036] Figure 4 is a flowchart of a method for providing a database security function example of the present invention;
[0037] Figure 5 It is a schematic diagram of the instance creation and provision process;
[0038] Figure 6 It is a structural block diagram of an embodiment of a database security function instance providing device of the present invention;
[0039] Figure 7 The invention is a structural block diagram of an electronic device for providing a database security function instance according to an exemplary embodiment. DETAILED DESCRIPTION
[0040] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0041] Reference Figure 1, shows a flowchart of a method for providing a database security function instance according to an embodiment of the present invention, which is applied to a database security system. The database security system includes a heterogeneous isolation module, a data guard module and a security management module. The method may specifically include the following steps:
[0042] Step 101: Receive an instance creation request for an application and a database to be accessed by the application.
[0043] In the embodiment of the present invention, the application program refers to any applicable application program that needs to access a database. The device where the application program is located may be a device where the application program is deployed, for example, an application server where the application program is deployed.
[0044] In the embodiment of the present invention, the database security system refers to a system for managing the security of the access behavior of the application program to the database. The database security system includes a heterogeneous isolation module, a data guard module and a security management module.
[0045] Among them, the heterogeneous isolation module refers to a module used to control the database accessible to the application and monitor its traffic. It is a network that is heterogeneous with the external network of the database security system. For example, the external network of the database security system is the IP-based Internet, and the network in the heterogeneous isolation module is a network based on the visual network.
[0046] The data guard module refers to a module that performs security-related processing on the traffic filtered by the heterogeneous isolation module to protect the database. For example, the data guard module can intercept the application's access request to the database; the access request carries the permission information; the permission information is authenticated; and after the authentication is passed, the access request is sent to the database.
[0047] Among them, the security management module refers to the module that manages the heterogeneous isolation modules, data protection modules, etc. within the database security system, as well as the applications that access the database.
[0048] In an embodiment of the present invention, the database security system can provide an instance of the database security function to the outside (i.e., an application). Specifically, an instance creation request can be submitted through a management client of the database security system, and the instance creation request is submitted for the application and the database to be accessed by the application. The instance creation request can be received by a security management module in the database security system, and the security management module is responsible for execution.
[0049] For example, Figure 2The schematic diagram of the Nebula All-in-One Solution is shown in FIG. The Nebula All-in-One is a database security system composed of a security management module, a heterogeneous isolation module, a data guard module, and a V2V (visual network) core switching module. The security management module can manage and control the heterogeneous isolation module, the data guard module, the V2V core switching module, etc., and can also manage the applications deployed on the application server. The security management module can also receive the operation instructions of the Nebula All-in-One Management Client and feedback the processing results to the Nebula All-in-One Management Client. The heterogeneous isolation module is responsible for the management of the V2V network channel and the monitoring of the traffic therein. The data guard module can be responsible for the parsing and auditing of SQL (Structured Query Language) statements. The application can access the database in the database server through the channel of the heterogeneous isolation module and the data guard module. The solid line in the figure is the management flow, that is, the data flow managed by the security management module, and the dotted line is the business flow, that is, the business data flow of the application accessing the database.
[0050] Step 102: Create a data guardian virtual machine in the data guardian module according to the data guardian resource configuration in the instance creation request.
[0051] In an embodiment of the present invention, the instance creation request includes a data guard resource configuration, which is configuration information for allocating resources within a data guard module, wherein the resources may include processor resources, memory resources, bandwidth resources, etc., and the embodiment of the present invention does not impose any restrictions on this.
[0052] In an embodiment of the present invention, a data guard virtual machine is created in a data guard module according to the data guard resource configuration. The security management module can control the data guard module to allow the data guard module to create a data guard virtual machine according to the data guard resource configuration. The data guard virtual machine is a virtual machine that provides data guard services.
[0053] For example, the data guard module includes a data guard virtual machine unit, which can perform virtualized operations and management on the guard service. The Nebula All-in-One Management Client can configure the port number of the data guard virtual machine so that the traffic from the application can be allocated to the data guard virtual machine according to the port number.
[0054] Step 103: According to the configuration of the number of heterogeneous network channels in the instance creation request, the upper limit of the number of heterogeneous network channels that can be used in the heterogeneous isolation module is recorded in the security management module.
[0055] In an embodiment of the present invention, the instance creation request also includes a configuration for the number of heterogeneous network channels, which is configuration information for allocating the number of heterogeneous network channels within a heterogeneous isolation module, wherein a heterogeneous network channel refers to a channel for data transmission in a heterogeneous network. Since the heterogeneous network within the heterogeneous isolation module is also a limited resource, this network resource needs to be allocated according to the heterogeneous network channels.
[0056] In an embodiment of the present invention, the security management module can manage the heterogeneous network channels in the heterogeneous isolation module. Therefore, according to the configuration of the number of heterogeneous network channels, the upper limit of the number of heterogeneous network channels that can be used in the heterogeneous isolation module is recorded in the security management module. When the application accesses the database, the traffic between the application and the database needs to be transmitted through the available heterogeneous network channel. When the traffic increases, the available heterogeneous network channels need to be increased. When the traffic decreases, the available heterogeneous network channels can be reduced.
[0057] Step 104: The security management module provides the application with a database security function instance for accessing the database; wherein the database security function instance includes the data guardian virtual machine and the available heterogeneous network channel.
[0058] In an embodiment of the present invention, the database security function instance includes the above-mentioned data guard virtual machine and the available heterogeneous network channel. The security management module provides the created database security function instance for accessing the database to the application program for use. For example, the security management module transmits the information required to access the database security function instance to the application program through the network.
[0059] For example, Figure 3 The schematic diagram of the modules in the database security system shown in FIG. 1 includes a heterogeneous isolation module and a data guard module, and also includes an instance executor, an instance manager, and security management. The instance executor, instance manager, and security management are all functions within the security management module. The instance manager is responsible for managing information such as database security function instances. The instance executor is responsible for the instantiation operation of the heterogeneous isolation function domain data guard function.
[0060] According to an embodiment of the present invention, by receiving an instance creation request for an application and a database to be accessed by the application, a data guardian virtual machine is created in the data guardian module according to the data guardian resource configuration in the instance creation request, and according to the number of heterogeneous network channels configured in the instance creation request, the upper limit of the number of heterogeneous network channels that can be used in the heterogeneous isolation module is recorded in the security management module, and the security management module provides the application with a database security function instance for accessing the database; wherein the database security function instance includes the data guardian virtual machine and the usable heterogeneous network channel, so that instances including heterogeneous isolation networks and data guardian services can be created and managed, instances of different specifications are allocated to users, unified management of instances is provided, user operations are simplified, and flexible sales are achieved, security services for application programs to access databases are quickly deployed, and instance configurations are dynamically adjusted according to user needs, thereby avoiding waste of resources and reducing usage costs.
[0061] In an optional embodiment of the present invention, the access request of the application program reaches the database after passing through the heterogeneous network channel and the data guardian virtual machine of the database security function instance in sequence. The heterogeneous isolation module includes the heterogeneous isolation module of the application layer gateway and the heterogeneous isolation module of the data side gateway. The heterogeneous network channel is the network channel between the heterogeneous isolation module of the application layer gateway and the heterogeneous isolation module of the data layer gateway.
[0062] When an application wants to access a database, the access request sent by the application to the database includes requests for accessing the database such as data query, data update, data definition, data control, or any other applicable request, which is not limited in the embodiment of the present invention.
[0063] The access request will pass through the heterogeneous network channel of the database security function instance and the data guardian virtual machine in sequence before reaching the database. Among them, the heterogeneous isolation module includes the heterogeneous isolation module of the application layer gateway and the heterogeneous isolation module of the data side gateway, wherein the application layer gateway is the gateway on the application side, which can connect two heterogeneous networks. The data side gateway is the gateway of the database layer, which can also connect two heterogeneous networks. A network channel, namely a heterogeneous network channel, can be created between the heterogeneous isolation module of the application layer gateway and the heterogeneous isolation module of the data layer gateway. The heterogeneous network channel can filter traffic, and only network data packets encapsulated based on the heterogeneous network in the heterogeneous isolation module can pass through the heterogeneous network channel.
[0064] Reference Figure 4, shows a flowchart of a method for providing a database security function instance according to an embodiment of the present invention, which is applied to a database security system. The database security system includes a heterogeneous isolation module, a data guard module and a security management module. The method may specifically include the following steps:
[0065] Step 201: Receive an instance creation request for an application and a database to be accessed by the application.
[0066] In the embodiment of the present invention, the specific implementation method of this step can refer to the description in the above embodiment and will not be repeated here.
[0067] Step 202: Create a data guardian virtual machine in the data guardian module according to the data guardian resource configuration in the instance creation request.
[0068] In the embodiment of the present invention, the specific implementation method of this step can refer to the description in the above embodiment and will not be repeated here.
[0069] Step 203: According to the configuration of the number of heterogeneous network channels in the instance creation request, the upper limit of the number of heterogeneous network channels that can be used in the heterogeneous isolation module is recorded in the security management module.
[0070] In the embodiment of the present invention, the specific implementation method of this step can refer to the description in the above embodiment and will not be repeated here.
[0071] Step 204, configure the data guardian virtual machine of the database security function instance and the available heterogeneous network channels, as well as the database information of the database security function instance according to the data guardian virtual machine, the upper limit of the number and the database to be accessed by the application.
[0072] In the embodiment of the present invention, the security management module maintains information about the database security function instance created for the application. The information about the database security function instance is configured based on the above-mentioned data guardian virtual machine, the upper limit of the number, and the database to be accessed by the application. Specifically, the data guardian virtual machine and the available heterogeneous network channels of the database security function instance, as well as the database information of the database security function instance can be configured.
[0073] For example, after creating a data guardian virtual machine, the data guardian module returns the information of the data guardian virtual machine, and then configures the information of the database security function instance based on the data guardian virtual machine, the upper limit of the number of the above records, and the information of the database to be accessed by the application in the instance creation request.
[0074] Step 205: configure application information of the database security function instance according to the application.
[0075] In the embodiment of the present invention, the application information of the database security function instance is configured according to the application information in the instance creation request, wherein the application information is the information required by the security management module to manage the application.
[0076] For example, the information of the application in the instance creation request includes the device information of the device where the application is located, the name of the application, etc. The application information includes the authentication information of the application, which refers to the information used to authenticate the application. The authentication information is generated by the security management module for the application, such as the application ID (Identity document, account number) and password randomly generated for the application, or any other applicable authentication information, which is not limited in the embodiment of the present invention. The security management module pre-records the device information of the device where the application is located, and the authentication information is also generated by the security management module, and the security management module stores the authentication information of the application. After receiving the authentication request of the application, the security management module can authenticate the device information and authentication information carried by the authentication request according to the locally recorded device information and authentication information. When the device information and authentication information carried by the authentication request exist in the locally recorded device information and authentication information, the authentication is passed. After the authentication is passed, the security management module returns the permission information required for the application to access the database to the device where the application is located. The permission information required for the application to access the database is information representing that the application can access the database, such as a token, or any other applicable information, which is not limited in the embodiment of the present invention. Based on the permission information, the application sends an access request to the database security system, which is then forwarded to the database via the heterogeneous isolation module and the data guard module. The access request carries the above permission information. The data guard virtual machine of the data guard module can intercept the access request sent by the device where the application is located to the database, and authenticate the permission information carried in the access request. After the authentication is passed, the data guard virtual machine will release the access request.
[0077] Step 206: The security management module provides the database security function instance.
[0078] In an embodiment of the present invention, the security management module may provide a variety of implementation methods for the database security function instance, for example, returning relevant information of the database security function instance to the application for use by the application, or any other applicable implementation method, which is not limited by the embodiment of the present invention.
[0079] In an optional embodiment of the present invention, a specific implementation method of the database security function instance provided by the security management module may include: generating a database access tool used by the application to access the database based on the data guardian virtual machine of the database security function instance, the available heterogeneous network channel, the database information and the application information, for downloading and installation by the device where the application is located.
[0080] The database access tool refers to a tool used by an application to access a database, for example, an SDK (Software Development Kit) used by an application to access a database.
[0081] The device where the application is located downloads the database access tool and installs the database access tool. When the application accesses the database, it needs to use the database access tool to implement it.
[0082] The security management module generates a database access tool based on the data guardian virtual machine of the database security function instance, available heterogeneous network channels, database information, application information, etc., so that when the application uses the database access tool, it is equivalent to using the database security function instance.
[0083] For example, the security management module provides multiple database access tool templates. The database access tool template is a database access tool template corresponding to the database that the application wants to access. The database access tool template is essentially a database access tool that lacks customized data. A database access tool can be used to access one or more databases. For example, the developer of the application can import multiple SDK templates and select the SDK template corresponding to the database that the application wants to access.
[0084] When the security management module generates a database access tool for an application, it writes information such as the data guardian virtual machine of the database security function instance, available heterogeneous network channels, database information, and application information into the database access tool template to obtain the database access tool.
[0085] For example, Figure 5 The schematic diagram of the instance creation and provision process shown in the figure. After the client logs in, first determine whether the resources in the database security system are sufficient to create a database security function instance. If not, then end. If sufficient, then initiate a request to create an instance. First, divide the number of channels in the heterogeneous isolation module and divide the resources in the guardian module into virtual machines. Then configure the information of the database security function instance, configure the relevant information of the channel, database, and data guardian service. Finally, configure the application information of the database security function instance, and then generate the corresponding SDK based on the above configuration information.
[0086] According to an embodiment of the present invention, by receiving an instance creation request for an application and a database to be accessed by the application, a data guardian virtual machine is created in the data guardian module according to the data guardian resource configuration in the instance creation request, and according to the number of heterogeneous network channels in the instance creation request, the upper limit of the number of heterogeneous network channels that can be used in the heterogeneous isolation module is recorded in the security management module, and according to the data guardian virtual machine, the upper limit and the database to be accessed by the application, the data guardian virtual machine and the available heterogeneous network channels of the database security function instance and the database information of the database security function instance are configured, and according to the application, the application information of the database security function instance is configured, and the security management module provides the database security function instance, so that instances including heterogeneous isolation networks and data guardian services can be created and managed, instances of different specifications are allocated to users, unified management of instances is provided, and user operations are simplified, thereby realizing flexible sales, rapid deployment of security services for application programs to access databases, and dynamically adjusting the configuration of instances according to user needs, thereby avoiding resource waste and reducing usage costs.
[0087] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0088] Reference Figure 6 The structural block diagram of an embodiment of a database security function instance providing device of the present invention is shown, which is applied to a database security system. The database security system includes a heterogeneous isolation module, a data guard module and a security management module, and may specifically include the following modules:
[0089] A request receiving unit 301 is used to receive an instance creation request for an application and a database to be accessed by the application;
[0090] A virtual machine creation unit 302, configured to create a data guard virtual machine in the data guard module according to the data guard resource configuration in the instance creation request;
[0091] An upper limit recording unit 303 is used to record, in the security management module, an upper limit of the number of heterogeneous network channels that can be used in the heterogeneous isolation module according to the heterogeneous network channel number configuration in the instance creation request;
[0092] The instance providing unit 304 is used to provide the application with a database security function instance for accessing the database by the security management module; wherein the database security function instance includes the data guardian virtual machine and the available heterogeneous network channel.
[0093] Optionally, the example providing unit includes:
[0094] An information configuration subunit, configured to configure the data guardian virtual machine and the available heterogeneous network channel of the database security function instance, and the database information of the database security function instance according to the data guardian virtual machine, the upper limit of the number and the database to be accessed by the application;
[0095] An application information configuration subunit, configured to configure application information of the database security function instance according to the application;
[0096] The instance providing subunit is used for providing the database security function instance by the security management module.
[0097] Optionally, the instance provides a sub-unit, which is specifically used to generate a database access tool used by the application to access the database based on the data guardian virtual machine of the database security function instance, the available heterogeneous network channel, the database information and the application information, for downloading and installation by the device where the application is located.
[0098] Optionally, the access request of the application reaches the database after passing through the heterogeneous network channel and the data guardian virtual machine of the database security function instance in sequence. The heterogeneous isolation module includes the heterogeneous isolation module of the application layer gateway and the heterogeneous isolation module of the data side gateway. The heterogeneous network channel is the network channel between the heterogeneous isolation module of the application layer gateway and the heterogeneous isolation module of the data layer gateway.
[0099] According to an embodiment of the present invention, by receiving an instance creation request for an application and a database to be accessed by the application, a data guardian virtual machine is created in the data guardian module according to the data guardian resource configuration in the instance creation request, and according to the number of heterogeneous network channels configured in the instance creation request, the upper limit of the number of heterogeneous network channels that can be used in the heterogeneous isolation module is recorded in the security management module, and the security management module provides the application with a database security function instance for accessing the database; wherein the database security function instance includes the data guardian virtual machine and the usable heterogeneous network channel, so that instances including heterogeneous isolation networks and data guardian services can be created and managed, instances of different specifications are allocated to users, unified management of instances is provided, user operations are simplified, and flexible sales are achieved, security services for application programs to access databases are quickly deployed, and instance configurations are dynamically adjusted according to user needs, thereby avoiding waste of resources and reducing usage costs.
[0100] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0101] Figure 7 1 is a block diagram of an electronic device 600 for providing a database security function example according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0102] Reference Figure 7 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .
[0103] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned database security function instance providing method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0104] The memory 604 is configured to store various types of data to support operations on the device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0105] The power supply component 606 provides power to the various components of the electronic device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.
[0106] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0107] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0108] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0109] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the device 600, the relative positioning of components, such as the display and keypad of the electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or a component of the electronic device 600, the presence or absence of contact between the user and the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0110] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0111] In an exemplary embodiment, the electronic device 600 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned shutdown control method.
[0112] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by a processor 620 of an electronic device 600 to complete the above-mentioned shutdown control method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0113] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables a server to execute a method for providing a database security function instance, which is applied to a database security system, wherein the database security system includes a heterogeneous isolation module, a data guard module and a security management module, and the method includes:
[0114] receiving an instance creation request for an application and a database to be accessed by the application;
[0115] Creating a data guardian virtual machine in the data guardian module according to the data guardian resource configuration in the instance creation request;
[0116] According to the heterogeneous network channel quantity configuration in the instance creation request, in the security management module, an upper limit of the number of heterogeneous network channels that can be used in the heterogeneous isolation module is recorded;
[0117] The security management module provides the application with a database security function instance for accessing the database; wherein the database security function instance includes the data guardian virtual machine and the usable heterogeneous network channel.
[0118] Optionally, the providing, by the security management module, a database security function instance for the application to access the database comprises:
[0119] According to the data guardian virtual machine, the upper limit of the number and the database to be accessed by the application, configure the data guardian virtual machine of the database security function instance and the available heterogeneous network channel, as well as the database information of the database security function instance;
[0120] According to the application, configure application information of the database security function instance;
[0121] The database security function instance is provided by the security management module.
[0122] Optionally, the database security function instance provided by the security management module includes:
[0123] Based on the data guardian virtual machine of the database security function instance, the available heterogeneous network channel, the database information and the application information, a database access tool used by the application to access the database is generated for downloading and installation by the device where the application is located.
[0124] Optionally, the access request of the application reaches the database after passing through the heterogeneous network channel and the data guardian virtual machine of the database security function instance in sequence. The heterogeneous isolation module includes the heterogeneous isolation module of the application layer gateway and the heterogeneous isolation module of the data side gateway. The heterogeneous network channel is the network channel between the heterogeneous isolation module of the application layer gateway and the heterogeneous isolation module of the data layer gateway.
[0125] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0126] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0127] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0128] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0129] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0130] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0131] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device 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 terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0132] The above is a detailed introduction to a method for providing a database security function instance and a device for providing a database security function instance provided by the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for providing a database security function instance, It is characterized in that Applied to a database security system, the database security system includes a heterogeneous isolation module, a data guard module and a security management module, and the method includes: receiving an instance creation request for an application and a database to be accessed by the application; Creating a data guardian virtual machine in the data guardian module according to the data guardian resource configuration in the instance creation request; According to the heterogeneous network channel quantity configuration in the instance creation request, in the security management module, an upper limit of the number of heterogeneous network channels that can be used in the heterogeneous isolation module is recorded; The security management module provides the application with a database security function instance for accessing the database; wherein the database security function instance includes the data guardian virtual machine and the usable heterogeneous network channel.
2. The method according to claim 1, characterized in that the security management module provides the application with a database security function instance for accessing the database, include: According to the data guardian virtual machine, the upper limit of the number and the database to be accessed by the application, configure the data guardian virtual machine of the database security function instance and the available heterogeneous network channel, as well as the database information of the database security function instance; According to the application, configure application information of the database security function instance; The database security function instance is provided by the security management module.
3. The method according to claim 2, It is characterized in that The database security function instance provided by the security management module includes: Based on the data guardian virtual machine of the database security function instance, the available heterogeneous network channel, the database information and the application information, a database access tool used by the application to access the database is generated for downloading and installation by the device where the application is located.
4. The method according to claim 1, It is characterized in that The access request of the application program reaches the database after passing through the heterogeneous network channel and the data guardian virtual machine of the database security function instance in sequence. The heterogeneous isolation module includes the heterogeneous isolation module of the application layer gateway and the heterogeneous isolation module of the data side gateway. The heterogeneous network channel is the network channel between the heterogeneous isolation module of the application layer gateway and the heterogeneous isolation module of the data layer gateway.
5. A database security function instance providing device, It is characterized in that Applied to a database security system, the database security system includes a heterogeneous isolation module, a data guard module and a security management module, and the device includes: A request receiving unit, configured to receive an instance creation request for an application and a database to be accessed by the application; A virtual machine creation unit, configured to create a data guardian virtual machine in the data guardian module according to the data guardian resource configuration in the instance creation request; an upper limit recording unit, configured to record, in the security management module, an upper limit of the number of heterogeneous network channels that can be used in the heterogeneous isolation module according to the heterogeneous network channel number configuration in the instance creation request; An instance providing unit is used to provide the application with a database security function instance for accessing the database by the security management module; wherein the database security function instance includes the data guardian virtual machine and the usable heterogeneous network channel.
6. The device according to claim 5, characterized in that , The example provides a unit, comprising: An information configuration subunit, configured to configure the data guardian virtual machine and the available heterogeneous network channel of the database security function instance, and the database information of the database security function instance according to the data guardian virtual machine, the upper limit of the number and the database to be accessed by the application; An application information configuration subunit, configured to configure application information of the database security function instance according to the application; The instance providing subunit is used for providing the database security function instance by the security management module.
7. The device according to claim 6, It is characterized in that The instance provides a sub-unit, which is specifically used to generate a database access tool used by the application to access the database based on the data guardian virtual machine of the database security function instance, the available heterogeneous network channel, the database information and the application information, for downloading and installation by the device where the application is located.
8. The device according to claim 5, It is characterized in that The access request of the application program reaches the database after passing through the heterogeneous network channel of the database security function instance and the data guardian virtual machine in sequence. The heterogeneous isolation module includes the heterogeneous isolation module of the application layer gateway and the heterogeneous isolation module of the data side gateway. The heterogeneous network channel is the network channel between the heterogeneous isolation module of the application layer gateway and the heterogeneous isolation module of the data layer gateway.
9. An electronic device, It is characterized in that include: one or more processors; and One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, cause the apparatus to perform the method of any one of claims 1 to 4.
10. A computer-readable storage medium, It is characterized in that The computer program stored therein enables the processor to execute the method according to any one of claims 1 to 4.
