Database watermark embedding and extracting method and device, equipment and storage medium
By integrating the watermark SDK in the database and processing data using incremental methods, the limitations of database watermarks in the existing technology in the embedding and extraction of dynamic traffic data and the unfriendliness of incremental scenarios are solved, and efficient and flexible watermarks are achieved. Embedding and extraction saves human resources.
Patent Information
- Application Number
- CN202411473704.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-01-14
Smart Images

Figure CN119311753A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data security, and in particular to a method, device, equipment and storage medium for embedding and extracting a database watermark. Background Art
[0002] Database watermarking technology is an excellent solution for maintaining database copyright, but many algorithms are relatively large, and the scenarios limit the embedding and extraction of watermarks from database to database, and it is not suitable for real-time dynamic network scenarios. Specifically, the current database watermarking technology based on relational data is basically centered between databases, and it is not possible to embed and extract watermarks for dynamic traffic data of interface types. Moreover, database watermarks are usually aimed at migration and synchronization between databases, and are not friendly enough for data embedding and extraction in incremental situations. It is necessary to perform the task of embedding database watermarks manually or in a polling manner to achieve the effect of adding watermarks. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a database watermark embedding and extraction method, device, equipment and storage medium, which can effectively realize the watermark embedding and extraction of traffic data without relying on the watermark embedding and extraction in the database-to-database migration synchronization scenario, and support the data watermark embedding and extraction in the incremental scenario, thereby improving the efficiency and flexibility of watermark embedding and extraction, and saving human resources. The specific scheme is as follows:
[0004] In a first aspect, the present application provides a database watermark embedding and extraction method, comprising:
[0005] When the business flow data to be processed is received from the corresponding data sender through the preset relational database, the corresponding business system integration operation is triggered;
[0006] The watermark SDK in the preset relational database is called through the preset calling interface in the integrated target business system, and the watermark is embedded in the business flow data to be processed using the corresponding watermark parameters and the called watermark SDK to obtain the corresponding embedded data;
[0007] The embedded data is sent to the corresponding preset intermediate database or preset data sharing platform in an incremental manner, and when the amount of the embedded data stored in the preset intermediate database or the preset data sharing platform meets the preset conditions, the corresponding watermark extraction operation is triggered to obtain the corresponding target business data.
[0008] Optionally, when receiving the to-be-processed business traffic data sent by the corresponding data sender through the preset relational database, triggering the corresponding business system integration operation includes:
[0009] When the business flow data to be processed is received from the corresponding data sender through the preset relational database, the local watermark SDK is integrated into the target business system for processing the business flow data to be processed.
[0010] Optionally, calling the watermark SDK in the preset relational database through a preset calling interface in the integrated target business system, and embedding the watermark in the to-be-processed business traffic data using corresponding watermark parameters and the called watermark SDK, including:
[0011] Calling the watermark SDK in the preset relational database through a preset calling interface in the integrated target business system;
[0012] Acquire watermark parameters configured in advance based on a preset parameter configuration method; wherein the watermark parameters include a corresponding watermark embedding ratio and an embedding field;
[0013] The watermark SDK is used to embed the watermark into the service flow data to be processed in units of lines using the watermark parameters to obtain corresponding embedded data.
[0014] Optionally, embedding the watermark into the service flow data to be processed in units of lines by using the watermark SDK and the watermark parameters to obtain corresponding embedded data includes:
[0015] Segmenting the watermark information in the watermark parameters using the watermark SDK to obtain corresponding watermark fragments;
[0016] After partitioning the business traffic data to be processed in units of lines, watermarks are embedded in each line of data based on the watermark fragments to complete the watermark embedding operation corresponding to the business traffic data to be processed and obtain the embedded data.
[0017] Optionally, after triggering the corresponding watermark extraction operation to obtain the corresponding target service data, the method further includes:
[0018] The target business data is sent to a corresponding data receiver based on a preset data transmission interface, so that the data receiver performs a corresponding business processing flow based on the received target business data.
[0019] Optionally, when the amount of the embedded data stored in the preset intermediate database or the preset data sharing platform meets a preset condition, triggering a corresponding watermark extraction operation includes:
[0020] Determine whether the amount of the embedded data currently stored in the preset intermediate database or the preset data sharing platform is less than a preset threshold value, so as to obtain a corresponding determination result;
[0021] When the judgment result indicates that the value is not less than the preset threshold, a watermark extraction operation corresponding to the embedded data stored in the current preset intermediate database or the preset data sharing platform is completed based on the corresponding watermark parameters.
[0022] In a second aspect, the present application provides a database watermark embedding and extraction device, comprising:
[0023] The system integration module is used to trigger the corresponding business system integration operation when receiving the to-be-processed business flow data sent by the corresponding data sender through the preset relational database;
[0024] A watermark embedding module is used to call the watermark SDK in the preset relational database through the preset calling interface in the integrated target business system, and use the corresponding watermark parameters and the called watermark SDK to embed the watermark into the business flow data to be processed, so as to obtain the corresponding embedded data;
[0025] The watermark extraction module is used to send the embedded data to the corresponding preset intermediate database or preset data sharing platform in an incremental manner, and when the amount of the embedded data stored in the preset intermediate database or the preset data sharing platform meets the preset conditions, trigger the corresponding watermark extraction operation to obtain the corresponding target business data.
[0026] Optionally, the system integration module includes:
[0027] The business system integration unit is used to integrate the local watermark SDK into the target business system for processing the business flow data to be processed when receiving the business flow data to be processed sent by the corresponding data sender through the preset relational database.
[0028] In a third aspect, the present application provides an electronic device, including:
[0029] Memory, used to store computer programs;
[0030] The processor is used to execute the computer program to implement the steps of the aforementioned database watermark embedding and extraction method.
[0031] In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program, which, when executed by a processor, implements the steps of the aforementioned database watermark embedding and extraction method.
[0032] It can be seen that in this application, when the business flow data to be processed sent by the corresponding data sender is received through the preset relational database, the corresponding business system integration operation is triggered; the watermark SDK in the preset relational database is called through the preset call interface in the integrated target business system, and the watermark is embedded in the business flow data to be processed using the corresponding watermark parameters and the called watermark SDK to obtain the corresponding embedded data; the embedded data is sent to the corresponding preset intermediate database or preset data sharing platform in an incremental manner, and when the amount of the embedded data stored in the preset intermediate database or the preset data sharing platform meets the preset conditions, the corresponding watermark extraction operation is triggered to obtain the corresponding target business data. That is to say, when the corresponding business flow data to be processed is received in this application, the corresponding target business system is integrated based on the corresponding business scenario, and then the watermark SDK in the preset relational database can be called through the target business system and the interface, and the watermark is embedded based on the lightweight watermark SDK, and then the embedded data is pushed to the corresponding database or platform in an incremental manner until the accumulated amount of the embedded data meets the conditions, and the watermark is extracted. In this way, it is possible to effectively implement watermark embedding and extraction of traffic data without relying on watermark embedding and extraction in database-to-database migration synchronization scenarios, and support data watermark embedding and extraction in incremental scenarios, thereby improving the efficiency and flexibility of watermark embedding and extraction and saving human resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0034] Figure 1 A flow chart of a database watermark embedding and extraction method provided in this application;
[0035] Figure 2 A schematic diagram of a specific database watermark embedding and extraction method provided in this application;
[0036] Figure 3 An internal schematic diagram of a database watermark SDK provided for this application;
[0037] Figure 4 A schematic diagram of the structure of a database watermark embedding and extraction device provided in this application;
[0038] Figure 5A structural diagram of an electronic device provided for this application. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] At present, the database watermark technology based on relational data is basically centered between databases, and it is impossible to embed and extract watermarks for dynamic traffic data of interface types. In addition, database watermarks are usually aimed at migration and synchronization between databases, which is not friendly enough for data embedding and extraction in incremental situations. It is necessary to perform the task of embedding database watermarks manually or in a polling manner to achieve the effect of adding watermarks. To this end, the present application provides a database watermark embedding and extraction solution that can improve the efficiency and flexibility of watermark embedding and extraction and save human resources.
[0041] See also Figure 1 As shown, the embodiment of the present invention discloses a database watermark embedding and extraction method, including:
[0042] Step S11: When the to-be-processed business traffic data sent by the corresponding data sender is received through the preset relational database, the corresponding business system integration operation is triggered.
[0043] Specifically, in this embodiment, combined with the Figure 2 As shown, after the data generated and sent by the data sender is received through the preset relational database, business system integration needs to be performed first. That is, when the pending business traffic data sent by the corresponding data sender is received through the preset relational database, the corresponding business system integration operation is triggered, including: when the pending business traffic data sent by the corresponding data sender is received through the preset relational database, the local watermark SDK (Software Development Kit) is integrated into the target business system that processes the pending business traffic data. That is, this embodiment integrates the watermark SDK into the corresponding business system for internal interface calls of the business system. In this way, watermark embedding and extraction can be selectively performed on specific business data according to specific business scenarios. Among them, the data sender includes but is not limited to government affairs systems.
[0044] Step S12: calling the watermark SDK in the preset relational database through the preset calling interface in the integrated target business system, and embedding the watermark into the business traffic data to be processed using the corresponding watermark parameters and the called watermark SDK to obtain the corresponding embedded data.
[0045] Specifically, in this embodiment, the watermark SDK in the preset relational database is called through the preset calling interface in the integrated target business system, and the watermark is embedded in the business traffic data to be processed using the corresponding watermark parameters and the called watermark SDK, including: calling the watermark SDK in the preset relational database through the preset calling interface in the integrated target business system; obtaining the watermark parameters configured in advance based on the preset parameter configuration method; wherein the watermark parameters include the corresponding watermark embedding ratio and embedding field; embedding the business traffic data to be processed in units of lines through the watermark SDK and using the watermark parameters to obtain the corresponding embedded data. That is, in this embodiment, the watermark SDK is called through the integrated target business system, and the watermark is embedded using the corresponding watermark parameters. wherein the watermark parameters are parameters configured before the data is produced, and the configuration method can be manually configured or integrated into the business system configuration.
[0046] Furthermore, in combination with the Figure 3 As shown, in this embodiment, regarding the process of embedding watermarks using watermark parameters, the watermark SDK is used to embed watermarks into the service flow data to be processed in units of lines using the watermark parameters to obtain corresponding embedded data, including: the watermark SDK is used to segment the service flow data to be processed using the watermark information in the watermark parameters to obtain corresponding watermark fragments; after partitioning the service flow data to be processed in units of lines, watermarks are embedded into each line of data based on the watermark fragments to complete the watermark embedding operation corresponding to the service flow data to be processed, and the embedded data is obtained. That is, by fragmenting the watermark value (that is, the watermark information), each line of data specifies a field value and the total number of fragments to obtain the remainder, and the obtained remainder can establish a many-to-one relationship between tuple data and fragments, and then the fragment is embedded in another specified field, thereby realizing watermark embedding. In this way, each tuple data is responsible for a watermark fragment alone. In the case where the watermark can be extracted, incrementally adding tuples embedded with watermarks will only increase the robustness of the watermark.
[0047] Step S13: sending the embedded data to a corresponding preset intermediate database or a preset data sharing platform in an incremental manner, and when the amount of the embedded data stored in the preset intermediate database or the preset data sharing platform meets a preset condition, triggering a corresponding watermark extraction operation to obtain the corresponding target business data.
[0048] It should be understood that, in this embodiment, after the watermark is embedded in the unit of line based on the watermark SDK and the watermark parameters, the embedded data is placed in the preset intermediate database or the preset data sharing platform in an incremental manner, and the watermark is extracted when the amount of data in the database is sufficient. That is, when the amount of the embedded data stored in the preset intermediate database or the preset data sharing platform meets the preset conditions, the corresponding watermark extraction operation is triggered, including: judging whether the amount of the embedded data stored in the current preset intermediate database or the preset data sharing platform is less than the preset threshold value, so as to obtain the corresponding judgment result; when the judgment result shows that it is not less than the preset threshold value, the watermark extraction operation corresponding to the embedded data stored in the current preset intermediate database or the preset data sharing platform is completed based on the corresponding watermark parameters. It can be understood that even if the subsequent data is continuously pushed to the preset intermediate database or the preset data sharing platform, that is, in the incremental scenario, it does not affect the normal extraction of the previous and subsequent watermarks.
[0049] In addition, in this embodiment, after the watermark is extracted, the obtained target business data is sent to the data recipient. That is, after the corresponding watermark extraction operation is triggered to obtain the corresponding target business data, it also includes: sending the target business data to the corresponding data recipient based on a preset data transmission interface, so that the data recipient performs the corresponding business processing flow based on the received target business data. In a specific implementation, when the data sender is a provincial government system, the integrated system is the system where the business data sent by the provincial government system is processed, and the corresponding data recipient can be its subordinate municipal government system. The business data generated by the provincial government system is embedded and extracted through the watermark SDK and the integrated business system, and the target business data is securely transmitted to the municipal government system.
[0050] In summary, in this embodiment, 1) the present invention proposes a method for adding watermarks to data at the scheme level. Watermarks can be selectively embedded and extracted for specific data according to specific business scenarios. The provided watermark SDK is lightweight and easy to call, and can be integrated into the business system as needed. 2) Data watermarking is not limited to a specific database level, and watermark embedding and extraction can be more flexible for flowing data in the interface. 3) Data watermark embedding and extraction in incremental scenarios are supported, and real-time data interaction is better supported. 4) Watermark embedding and extraction can be achieved for real-time traffic data, and it does not rely on watermark embedding and extraction in database-to-database migration synchronization scenarios. 5) For more complex watermark embedding scenarios, according to the complexity of the business system, the watermark SDK can be selectively integrated in the corresponding business system or sub-business system to achieve the aforementioned watermark embedding effect.
[0051] It can be seen that in the embodiment of the present application, when the business flow data to be processed sent by the corresponding data sender is received through the preset relational database, the corresponding business system integration operation is triggered; the watermark SDK in the preset relational database is called through the preset call interface in the integrated target business system, and the watermark is embedded in the business flow data to be processed using the corresponding watermark parameters and the called watermark SDK to obtain the corresponding embedded data; the embedded data is sent to the corresponding preset intermediate database or preset data sharing platform in an incremental manner, and when the amount of the embedded data stored in the preset intermediate database or the preset data sharing platform meets the preset conditions, the corresponding watermark extraction operation is triggered to obtain the corresponding target business data. That is to say, when the corresponding business flow data to be processed is received in the present application, the corresponding target business system is integrated based on the corresponding business scenario, and then the watermark SDK in the preset relational database can be called through the target business system and the interface, and the watermark is embedded based on the lightweight watermark SDK, and then the embedded data is pushed to the corresponding database or platform in an incremental manner until the accumulated amount of the embedded data meets the conditions, and the watermark is extracted. In this way, it is possible to effectively implement watermark embedding and extraction of traffic data without relying on watermark embedding and extraction in database-to-database migration synchronization scenarios, and support data watermark embedding and extraction in incremental scenarios, thereby improving the efficiency and flexibility of watermark embedding and extraction and saving human resources.
[0052] See also Figure 4 As shown, the embodiment of the present application also discloses a database watermark embedding and extraction device, including:
[0053] The system integration module 11 is used to trigger the corresponding business system integration operation when receiving the to-be-processed business flow data sent by the corresponding data sender through the preset relational database;
[0054] The watermark embedding module 12 is used to call the watermark SDK in the preset relational database through the preset calling interface in the integrated target business system, and use the corresponding watermark parameters and the called watermark SDK to embed the watermark into the business flow data to be processed, so as to obtain the corresponding embedded data;
[0055] The watermark extraction module 13 is used to send the embedded data to the corresponding preset intermediate database or preset data sharing platform in an incremental manner, and when the amount of the embedded data stored in the preset intermediate database or the preset data sharing platform meets the preset conditions, trigger the corresponding watermark extraction operation to obtain the corresponding target business data.
[0056] Among them, for more specific working processes of the above-mentioned modules, please refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.
[0057] It can be seen that in the embodiment of the present application, when the service flow data to be processed sent by the corresponding data sender is received through the preset relational database, the corresponding service system integration operation is triggered; the watermark SDK in the preset relational database is called through the preset call interface in the integrated target service system, and the watermark is embedded in the service flow data to be processed using the corresponding watermark parameters and the called watermark SDK to obtain the corresponding embedded data; the embedded data is sent to the corresponding preset intermediate database or preset data sharing platform in an incremental manner, and when the amount of the embedded data stored in the preset intermediate database or the preset data sharing platform meets the preset conditions, the corresponding watermark extraction operation is triggered to obtain the corresponding target service data. That is to say, when the corresponding service flow data to be processed is received in the present application, the corresponding target service system is integrated based on the corresponding service scenario, and then the watermark SDK in the preset relational database can be called through the target service system and the interface, and the watermark is embedded based on the lightweight watermark SDK, and then the embedded data is pushed to the corresponding database or platform in an incremental manner until the accumulated amount of the embedded data meets the conditions, and the watermark is extracted. In this way, it is possible to effectively implement watermark embedding and extraction of traffic data without relying on watermark embedding and extraction in database-to-database migration synchronization scenarios, and support data watermark embedding and extraction in incremental scenarios, thereby improving the efficiency and flexibility of watermark embedding and extraction and saving human resources.
[0058] In some specific embodiments, the system integration module 11 may specifically include:
[0059] The business system integration unit is used to integrate the local watermark SDK into the target business system for processing the business flow data to be processed when receiving the business flow data to be processed sent by the corresponding data sender through the preset relational database.
[0060] In some specific embodiments, the watermark embedding module 12 may specifically include:
[0061] A watermark SDK calling unit, used to call the watermark SDK in the preset relational database through a preset calling interface in the integrated target business system;
[0062] A parameter acquisition unit, used to acquire watermark parameters configured in advance based on a preset parameter configuration method; wherein the watermark parameters include a corresponding watermark embedding ratio and an embedding field;
[0063] The watermark embedding unit is used to embed the watermark into the service flow data to be processed in units of lines by using the watermark SDK and the watermark parameters to obtain corresponding embedded data.
[0064] In some specific embodiments, the watermark embedding unit may specifically include:
[0065] A segmentation processing subunit, used to perform segmentation by using the watermark SDK and the watermark information in the watermark parameters to obtain corresponding watermark fragments;
[0066] The embedded data acquisition subunit is used to partition the business traffic data to be processed in units of rows, and then embed watermarks in each row of data based on the watermark fragments to complete the watermark embedding operation corresponding to the business traffic data to be processed and obtain the embedded data.
[0067] In some specific embodiments, the watermark extraction module 13 may further include:
[0068] The service data sending unit is used to send the target service data to the corresponding data receiving party based on the preset data transmission interface, so that the data receiving party performs the corresponding service processing flow based on the received target service data.
[0069] In some specific embodiments, the watermark extraction module 13 may specifically include:
[0070] A judgment result obtaining unit, used to judge whether the amount of the embedded data currently stored in the preset intermediate database or the preset data sharing platform is less than a preset threshold value, so as to obtain a corresponding judgment result;
[0071] The watermark extraction unit is used to complete the watermark extraction operation corresponding to the embedded data stored in the current preset intermediate database or the preset data sharing platform based on the corresponding watermark parameters when the judgment result shows that it is not less than the preset threshold.
[0072] Furthermore, the present application also discloses an electronic device. Figure 5 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.
[0073] Figure 5 The present invention provides a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the database watermark embedding and extraction method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0074] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0075] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0076] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, and can be Windows Server, Netware, Unix, Linux, etc. In addition to computer programs that can be used to complete the database watermark embedding and extraction method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include computer programs that can be used to complete other specific tasks.
[0077] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the aforementioned disclosed database watermark embedding and extraction method. The specific steps of the method can refer to the corresponding contents disclosed in the aforementioned embodiments, and will not be repeated here.
[0078] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0079] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0080] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0081] 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 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 device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0082] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A database watermark embedding and extraction method, characterized in that: include: When the business flow data to be processed is received from the corresponding data sender through the preset relational database, the corresponding business system integration operation is triggered; The watermark SDK in the preset relational database is called through the preset calling interface in the integrated target business system, and the watermark is embedded in the business flow data to be processed using the corresponding watermark parameters and the called watermark SDK to obtain the corresponding embedded data; The embedded data is sent to the corresponding preset intermediate database or preset data sharing platform in an incremental manner, and when the amount of the embedded data stored in the preset intermediate database or the preset data sharing platform meets the preset conditions, the corresponding watermark extraction operation is triggered to obtain the corresponding target business data.
2. The database watermark embedding and extraction method according to claim 1, characterized in that: When the service flow data to be processed sent by the corresponding data sender is received through the preset relational database, the corresponding service system integration operation is triggered, including: When the business flow data to be processed is received from the corresponding data sender through the preset relational database, the local watermark SDK is integrated into the target business system for processing the business flow data to be processed.
3. The database watermark embedding and extraction method according to claim 1 is characterized in that: The method of calling the watermark SDK in the preset relational database through the preset calling interface in the integrated target business system, and embedding the watermark in the business flow data to be processed by using the corresponding watermark parameters and the called watermark SDK, includes: Calling the watermark SDK in the preset relational database through a preset calling interface in the integrated target business system; Acquire watermark parameters configured in advance based on a preset parameter configuration method; wherein the watermark parameters include a corresponding watermark embedding ratio and an embedding field; The watermark SDK is used to embed the watermark into the service flow data to be processed in units of lines using the watermark parameters to obtain corresponding embedded data.
4. The database watermark embedding and extraction method according to claim 3 is characterized in that: The watermarking SDK and the watermarking parameters are used to embed the watermark into the service flow data to be processed in units of lines to obtain corresponding embedded data, including: Segmenting the watermark information in the watermark parameters by using the watermark SDK to obtain corresponding watermark fragments; After partitioning the business traffic data to be processed in units of lines, watermarks are embedded in each line of data based on the watermark fragments to complete the watermark embedding operation corresponding to the business traffic data to be processed and obtain the embedded data.
5. The database watermark embedding and extraction method according to claim 1, characterized in that: After triggering the corresponding watermark extraction operation to obtain the corresponding target business data, the method further includes: The target business data is sent to a corresponding data receiver based on a preset data transmission interface, so that the data receiver performs a corresponding business processing flow based on the received target business data.
6. The database watermark embedding and extraction method according to any one of claims 1 to 5, characterized in that: When the amount of the embedded data stored in the preset intermediate database or the preset data sharing platform meets a preset condition, triggering a corresponding watermark extraction operation includes: Determine whether the amount of the embedded data currently stored in the preset intermediate database or the preset data sharing platform is less than a preset threshold value, so as to obtain a corresponding determination result; When the judgment result indicates that the value is not less than the preset threshold, a watermark extraction operation corresponding to the embedded data stored in the current preset intermediate database or the preset data sharing platform is completed based on the corresponding watermark parameters.
7. A database watermark embedding and extraction device, characterized in that: include: The system integration module is used to trigger the corresponding business system integration operation when receiving the to-be-processed business flow data sent by the corresponding data sender through the preset relational database; A watermark embedding module is used to call the watermark SDK in the preset relational database through the preset calling interface in the integrated target business system, and use the corresponding watermark parameters and the called watermark SDK to embed the watermark into the business flow data to be processed, so as to obtain the corresponding embedded data; The watermark extraction module is used to send the embedded data to the corresponding preset intermediate database or preset data sharing platform in an incremental manner, and when the amount of the embedded data stored in the preset intermediate database or the preset data sharing platform meets the preset conditions, trigger the corresponding watermark extraction operation to obtain the corresponding target business data.
8. The database watermark embedding and extraction device according to claim 7, characterized in that: The system integration module comprises: The business system integration unit is used to integrate the local watermark SDK into the target business system for processing the business flow data to be processed when receiving the business flow data to be processed sent by the corresponding data sender through the preset relational database.
9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the database watermark embedding and extraction method as described in any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: Used to store a computer program, which, when executed by a processor, implements the database watermark embedding and extraction method as described in any one of claims 1 to 6.