Method, apparatus and electronic device for embedding digital watermark in interest surface dataset

By generating watermark information data in the interest-side data set and determining the reference ray and target location, the problem of small watermark capacity in the prior art is solved, and the complete watermark embedding and merging attack resistance in the interest-side data set is realized.

CN120031703BActive Publication Date: 2025-07-22BEIJING BODAO FOCUS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510498033.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-21
Publication Date
2025-07-22
Estimated Expiration
2045-04-21

AI Technical Summary

Technical Problem

In the prior art, the capacity of embedding digital watermarks on interest-side data is small, and the complete watermark information cannot be embedded in a single interest-side, and cannot resist merge attacks.

Method used

By generating watermark information data, determining the reference ray, calculating the initial distance ratio of the target point, modifying the distance ratio using the preset mapping relationship, determining the target position, completing the digital watermark embedding operation, and embedding complete watermark information in the interest area dataset.

Benefits of technology

It realizes embedding complete watermark information in the interest-side dataset, which can resist merge attacks, and improves the capacity and robustness of watermark information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120031703B_ABST
    Figure CN120031703B_ABST
Patent Text Reader

Abstract

This application relates to the field of geographic information security technology, and relates to a method, apparatus, and electronic device for embedding digital watermarks in an interest surface dataset, including: generating watermark information data based on copyright information and the time of performing the digital watermark embedding operation; determining a reference ray according to the starting point on the interest surface and the farthest distal point from the starting point; calculating an initial distance ratio based on the initial perpendicular distance between the initial position of the target point and the reference ray and the ratio between the starting point and the distal point; determining multiple target watermark bit groups corresponding to the target point from the watermark information data; obtaining a target distance ratio according to the target watermark bit groups and a preset mapping relationship; determining the target position between the target point and the reference ray according to the target distance ratio, the starting point, and the distal point; and determining the target position of the target point according to the positional relationship between the target point, the starting point, and the distal point, and the target position, thereby completing the digital watermark embedding operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of geographic information security, and particularly relates to a method, device and electronic device for embedding digital watermarks in an interest surface dataset. Background Art

[0002] An interest surface refers to a regional geographic entity in map data, such as commercial buildings, residential communities, university campuses, business districts, etc. For these regional interest surface data, it has good expressiveness and computational power, can provide rich geographic information, and helps users to perform accurate geographic positioning and analysis. Since interest surface data usually contains a large amount of geographic coordinates and attribute information, it has high commercial value and research value, which makes the copyright protection of interest surface data particularly important.

[0003] Digital watermarking is a technology that embeds specific information (such as copyright information, time) into digital products. These information can be used to trace and identify the source and ownership of data without affecting the quality of digital products. The robustness of digital watermarking technology means that the watermark information can resist various data processing and attacks, thus providing effective evidence in copyright disputes. In addition, the invisibility of digital watermarks ensures that it will not affect the normal use and display of data when embedded in interest surface data. Therefore, digital watermarking provides an effective technical means for the copyright protection of interest surface data.

[0004] In the prior art, embedding digital watermarks in interest surface data is achieved by one of the following methods:

[0005] First, the map is evenly divided into blocks according to coordinates, the intensity of the watermark is adaptively modulated according to the classification of the vertex density of each block, and then the binary image is embedded into the vertex coordinate values.

[0006] Second, the watermark information is divided into two parts and embedded into the least significant bit of the node coordinates through double grid division.

[0007] Third, the vector coordinate data is normalized, the watermark is embedded into the normalized value, and then the embedded data value is denormalized to achieve resistance to geometric attacks.

[0008] The watermark capacities embedded by the above three methods are all small, and the complete watermark information cannot be embedded into a single interest surface, so it is not applicable to the interest surface dataset and cannot resist the merging attack. Summary of the Invention

[0009] The embodiments of the present invention provide a method, device and electronic device for embedding digital watermarks in an interest surface dataset. This method solves the technical problems in the above prior art, and specifically includes:

[0010] Generate watermark information data based on copyright information and the time when the digital watermark embedding operation is performed; the watermark information data includes a plurality of watermark bit groups;

[0011] Determine a reference ray according to the starting point on the region of interest and the distal point farthest from the starting point;

[0012] For each target point on the region of interest, calculate the initial distance ratio of the target point based on the ratio of the initial perpendicular distance between the initial position of the target point and the reference ray to the distance between the starting point and the distal point;

[0013] Determine a plurality of target watermark bit groups corresponding to the target point from the watermark information data;

[0014] Modify the initial distance ratio according to the target watermark bit groups and a preset mapping relationship to obtain a target distance ratio;

[0015] Determine the target position between the target point and the reference ray according to the target distance ratio, the starting point, and the distal point;

[0016] Determine the target position of the target point according to the positional relationship between the target point, the starting point, and the distal point, and the target position, and complete the digital watermark embedding operation.

[0017] Specifically, the determining a plurality of target watermark bit groups corresponding to the target point from the watermark information data includes:

[0018] Use the storage order of the coordinate string in the region of interest after deleting the starting point and the distal point as the watermark index;

[0019] Extract a plurality of target watermark bit groups corresponding to the target point from the watermark information data according to the watermark index.

[0020] Specifically, the modifying the initial distance ratio according to the target watermark bit groups and a preset mapping relationship to obtain a target distance ratio includes:

[0021] Determine the target number corresponding to each target watermark bit group according to the preset mapping relationship;

[0022] When the original number at a specified position in the decimal part of the initial distance ratio is inconsistent with the target number corresponding to the specified position, replace the original number with the target number to obtain the target distance ratio.

[0023] Specifically, determining the target position between the target point and the reference ray according to the target distance ratio, the starting point, and the distal point includes:

[0024] Determining the target angle of the target point in space according to the distance relationship between the target point and the starting point or the distal point;

[0025] Determining the target vertical distance according to the target distance ratio and the distance between the starting point and the distal point;

[0026] Taking the position with the vertical distance to the reference ray being the target vertical distance as the target position according to the target angle.

[0027] Specifically, determining the target angle of the target point in space according to the distance relationship between the target point and the starting point or the distal point includes:

[0028] When the distance between the target point and the starting point is greater than the distance between the target point and the distal point, determining the target angle with the distal point as the apex angle;

[0029] When the distance between the target point and the starting point is less than the distance between the target point and the distal point, determining the target angle with the starting point as the apex angle.

[0030] Specifically, the method further includes:

[0031] After each point in the region of interest has completed the operation of embedding the digital watermark,

[0032] Calculating the maximum value and the root mean square error of the absolute values of the differences between the abscissas and ordinates of all the embedding points before and after embedding;

[0033] If the error is greater than the set precision error, canceling the watermark embedding of this region of interest and restoring its coordinates to the original coordinate values.

[0034] An embodiment of the present invention further provides a device for embedding a digital watermark in a region of interest dataset, and the device includes:

[0035] A generation module, configured to generate watermark information data based on the copyright information and the time of performing the digital watermark embedding operation; the watermark information data includes a plurality of watermark bit groups;

[0036] A first determination module, configured to determine a reference ray according to a starting point on the region of interest and a distal point farthest from the starting point;

[0037] A calculation module, configured to calculate an initial distance ratio of each target point on the interest surface based on a ratio of an initial vertical distance between the initial position where the target point is located and the reference ray to the distance between the starting point and the far end point.

[0038] A second determination module, configured to determine a plurality of target watermark bit groups corresponding to the target point from the watermark information data.

[0039] A first operation module, configured to modify the initial distance ratio according to the target watermark bit group and a preset mapping relationship to obtain a target distance ratio.

[0040] A third determination module, configured to determine a target position between the target point and the reference ray according to the target distance ratio, the starting point, and the far end point.

[0041] A fourth determination module, configured to determine the target position of the target point according to the positional relationship between the target point and the starting point and the far end point, and the target position, so as to complete the digital watermark embedding operation.

[0042] The method provided by the embodiment of the present invention can embed complete watermark information into a single interest surface, so as to be applicable to an interest surface data set and achieve the purpose of resisting merger attacks. Description of the Drawings

[0043] Figure 1 It is a flowchart of a method for embedding a digital watermark in an interest surface data set provided by an embodiment of the present invention.

[0044] Figure 2 It is an effect diagram of an interest surface data set before completing watermark information embedding.

[0045] Figure 3 It is an effect diagram of an interest surface data set after completing watermark information embedding by the method provided by the present invention.

[0046] Figure 4 It is a structural diagram of a device for embedding a digital watermark in an interest surface data set provided by an embodiment of the present invention. Detailed Embodiments

[0047] To make the above objects, features, and advantages of the present application more obvious and understandable, the following will describe the specific embodiments of the present application in detail with reference to the drawings. Many specific details are set forth in the following description in order to fully understand the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without departing from the connotation of the present application. Therefore, the present application is not limited by the specific embodiments disclosed below.

[0048] In the description of the present application, it should be understood that if there are terms such as "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., the orientation or positional relationship indicated by these terms is based on the orientation or positional relationship shown in the drawings. These are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation to the present application.

[0049] In addition, if there are terms such as "first" and "second", these terms are only used for descriptive purposes and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In the description of the present application, if there is a term "plurality", the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise specifically defined.

[0050] As Figure 1 shown, an embodiment of the present invention provides a method for embedding a digital watermark in an interest surface dataset. The method includes:

[0051] Step 11, generating watermark information data based on the copyright information and the time of performing the digital watermark embedding operation; the watermark information data includes a plurality of watermark bit groups. The specific process in this step is as follows:

[0052] First, convert the copyright information and the time of performing the digital watermark embedding operation into binary sequences respectively, and then insert the binary information in the operation time into the copyright information in the order of copyright information first and operation time later to generate a binary sequence;

[0053] Then, generate a key of a binary sequence, and perform an exclusive OR operation on the key and the above binary sequence to obtain the encrypted watermark information;

[0054] Step 12, determining a reference ray according to the starting point on the interest surface and the distal point farthest from the starting point. The specific process in this step is as follows:

[0055] Starting point The coordinate of is ; calculate the Euclidean distance from this starting point to any other point, and mark the point farthest from the starting point as the distal point

[0056] Calculate and midpoint , passing through make a reference ray perpendicular to the line segment ;

[0057] Step 13. For each target point on the interest surface , based on this target point at its initial position and the initial perpendicular distance from the reference ray , and the ratio between the starting point and the distal point , calculate the initial distance ratio of the target point , with reference to formula (1): initial distance ratio , reference formula (1):

[0058] Formula (1)

[0059] Step 14. Determine multiple target watermark bit groups corresponding to the target point from the watermark information data; the specific process of this step is as follows:

[0060] After deleting the starting point and the distal point , use the storage order of the coordinate string in the interest surface as the watermark index;

[0061] According to the watermark index, extract multiple target watermark bit groups corresponding to the target point from the watermark information data , consisting of bit watermark bits.

[0062] Step 15. Modify the initial distance ratio according to the target watermark bit group and the preset mapping relationship to obtain the target distance ratio; this step specifically includes the following content:

[0063] Establish a preset mapping relationship between each watermark bit group in the watermark information data and the numbers (0, 1, 2, 3, 4, 5, 6, 7, 8, 9), so that each number has at least one corresponding watermark bit group; for example, the preset mapping relationship is that the number 1 corresponds to 000, the number 2 corresponds to 010, the number 3 corresponds to 001, the number 4 corresponds to 100, the numbers 5 and 6 correspond to 110, the numbers 7 and 8 correspond to 111, and the numbers 9 and 0 correspond to 011. Therefore, according to this preset mapping relationship, each target watermark bit group extracted in step 14

[0064] corresponds to a number respectively, and determine the number as the target number; The specified position in the decimal places If the original number at the specified position is inconsistent with the target number corresponding to the specified position, then replace the original number with the target number to obtain the target distance ratio. For example, At the If the original number is 2, but the watermark bit group to be embedded is 000, then the number at the needs to be changed to 1. At this time, the target distance ratio is obtained ;

[0065] Step 16, according to the target distance ratio , the starting point and the distal point , determine the target position between the target point and the reference ray; This step specifically includes:

[0066] Step 1, according to the target point to the starting point or the distal point The distance relationship between them determines the target angle of the target point in space; This step specifically includes:

[0067] When the distance from the target point to the starting point is greater than the distance from the target point to the distal point , taking the distal point as the vertex angle, determine the target angle ;

[0068] When the distance from the target point to the starting point is less than the distance from the target point to the distal point , taking the starting point as the vertex angle, determine the target angle ;

[0069] Step 2, according to the target distance ratio and the distance between the starting point and the distal point, determine the target vertical distance ;

[0070] According to formula (1), since the target distance ratio is known, The distance from to is fixed, so the target vertical distance can be obtained

[0071] Step 3, according to the target angle, take the position with the vertical distance to the reference ray being the target vertical distance as the target position. For example:

[0072] When the target angle is , on the ray find the point with a perpendicular distance of as the target position;

[0073] When the target angle is , on the ray find the point with a perpendicular distance of as the target position;

[0074] Step 17. Determine the target position of the target point according to the positional relationship between the target point and the starting point and the distal point, and the target position, and complete the digital watermark embedding operation.

[0075] Further, after completing the above steps, it may further include: when the digital watermark embedding operation is completed for each point in the region of interest, calculate the maximum value and the root mean square error of the absolute values of the differences in the abscissa and ordinate before and after embedding for all the embedded points; if the error is greater than the set precision error, cancel the watermark embedding for this region of interest and restore its coordinates to the original coordinate values.

[0076] The region of interest has points, and the coordinates of each point before embedding the watermark are , and the coordinates after embedding the watermark are . Calculate the absolute value of the difference in the abscissa and ordinate of each point according to formulas (2) and (3):

[0077] Formula (2)

[0078] Formula (3)

[0079] Calculate the root mean square error of the coordinates according to formula (4):

[0080] Formula (4)

[0081] If any one of the formulas (5) is satisfied, cancel the watermark embedding for this region of interest and restore its coordinates to the original coordinate values:

[0082] Formula (5)

[0083] The above method can embed the complete watermark information into a single region of interest, so as to be applicable to the region of interest data set and achieve the purpose of resisting the merging attack. Figure 2 For the effect diagram of the region of interest data set before completing the watermark information embedding, Figure 3 For the effect diagram of the region of interest data set after completing the watermark information embedding by the method provided by the present invention.

[0084] According to the above process, the embodiments of the present invention can also perform the detection of the interest surface watermark information, and the specific process is as follows:

[0085] Calculate the detection starting point of the interest surface The Euclidean distance to other points on the surface, and record the detection far-end point with the farthest distance from the detection starting point as ;

[0086] Calculate And The midpoint , and draw a detection perpendicular ray Perpendicular to the line segment ; ;

[0087] Calculate the detection perpendicular distance From any point On the interest surface to the detection perpendicular ray , and then calculate the detection distance ratio of the distance according to formula (1) ;

[0088] Extract The nd digit of the decimal part, and extract the detected watermark bit group embedded at this point according to the mapping relationship between the watermark bit group and the numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ;

[0089] Process the other points on the interest surface except the points , And the penultimate point in turn, and splice the extracted detected watermark bit groups in order to obtain the extracted detected watermark information , until The length of is the same as the length of the watermark information at the time of embedding, and then stop extraction;

[0090] Repeat the above steps to process each interest surface in the interest surface dataset to obtain all the watermark information in the dataset.

[0091] This method takes each interest surface as a watermark information embedding unit, constructs a watermark bit group to increase the embedding capacity of each interest surface, and embeds the watermark bit group into the geometric features, so that this method can realize the embedding and detection of watermarks and the resistance to the combined attack on the interest surface dataset. In addition, since this method embeds the watermark information into the distance ratio with rotation, scaling, and translation invariance, this method can resist almost all common types of attacks.

[0092] Such as Figure 4As shown in the figure, an embodiment of the present invention provides a device for embedding a digital watermark in an interest surface dataset. The device includes:

[0093] A generation module 41, configured to generate watermark information data based on copyright information and the time of performing the digital watermark embedding operation; the watermark information data includes a plurality of watermark bit groups;

[0094] A first determination module 42, configured to determine a reference ray according to a starting point on the interest surface and a distal point farthest from the starting point;

[0095] A calculation module 43, configured to calculate an initial distance ratio of each target point on the interest surface based on a ratio of an initial perpendicular distance between the initial position where the target point is located and the reference ray to the distance between the starting point and the distal point;

[0096] A second determination module 44, configured to determine a plurality of target watermark bit groups corresponding to the target point from the watermark information data;

[0097] A first operation module 45, configured to modify the initial distance ratio according to the target watermark bit group and a preset mapping relationship to obtain a target distance ratio;

[0098] A third determination module 46, configured to determine a target position between the target point and the reference ray according to the target distance ratio, the starting point, and the distal point;

[0099] A fourth determination module 47, configured to determine the target position of the target point according to the positional relationship between the target point and the starting point and the distal point, and the target position, to complete the digital watermark embedding operation.

[0100] The second determination module 44 is specifically configured to use the storage order of the coordinate string in the interest surface after deleting the starting point and the distal point as a watermark index; according to the watermark index, extract a plurality of target watermark bit groups corresponding to the target point from the watermark information data.

[0101] The first operation module 45 is specifically configured to determine a target number corresponding to each target watermark bit group according to the preset mapping relationship; when the original number at a specified position in the decimal part of the initial distance ratio is inconsistent with the target number corresponding to the specified position, replace the original number with the target number to obtain the target distance ratio.

[0102] The third determination module 46 is specifically configured to determine the target angle of the target point in space according to the distance relationship between the target point and the starting point or the distal point; determine the target vertical distance according to the target distance ratio and the distance between the starting point and the distal point; and use the position with the vertical distance to the reference ray being the target vertical distance as the target position according to the target angle. Among them, determining the target angle of the target point in space according to the distance relationship between the target point and the starting point or the distal point includes:

[0103] When the distance between the target point and the starting point is greater than the distance between the target point and the distal point, the target angle is determined with the distal point as the apex angle; when the distance between the target point and the starting point is less than the distance between the target point and the distal point, the target angle is determined with the starting point as the apex angle.

[0104] The device further includes a second operation module 48 configured to, when the operation of embedding the digital watermark is completed for each point in the region of interest, calculate the maximum value and the root mean square error of the absolute value of the difference between the abscissa and the ordinate of all the embedding points before and after embedding; if the error is greater than the set precision error, cancel the watermark embedding of the region of interest and restore its coordinates to the original coordinate values.

[0105] An embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, and the program or instruction is executed by the processor to perform the steps of the above method for obtaining a human behavior recognition signal.

[0106] In this application, unless otherwise clearly defined and limited, if terms such as "installation", "connection", "connection", "fixation" appear, these terms should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or integrated; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two components or the interaction relationship between two components, unless otherwise clearly limited. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific situations.

[0107] In this application, unless otherwise clearly specified and defined, when a first feature is described as being "on" or "under" a second feature or similar descriptions, it may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, the first feature being "above", "over" and "on top of" the second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature has a higher horizontal height than the second feature. The first feature being "under", "beneath" and "underneath" the second feature may be that the first feature is directly below or obliquely below the second feature, or simply means that the first feature has a lower horizontal height than the second feature.

[0108] It should be noted that if an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or there may also be an intermediate element. If an element is considered to be "connected to" another element, it can be directly connected to the other element or there may be an intermediate element at the same time. If any, the terms "vertical", "horizontal", "up", "down", "left", "right" and similar expressions used in this application are only for the purpose of illustration and do not represent the only implementation. The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as falling within the scope described in this specification.

[0109] The above-described embodiments merely represent several implementation manners of this application. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the patent application. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can still be made, and these all belong to the protection scope of this application. Therefore, the protection scope of the patent of this application shall be subject to the appended claims.

Claims

1. A method for embedding digital watermark in an interest surface dataset, characterized in that, The method includes: generating watermark information data based on the copyright information and the time when the digital watermark embedding operation is performed; the watermark information data includes a plurality of watermark bit groups; determining a reference ray according to the starting point on the region of interest and the distal point farthest from the starting point; for each target point on the region of interest, calculating an initial distance ratio of the target point based on a ratio of an initial perpendicular distance between the initial position of the target point and the reference ray to the distance between the starting point and the distal point; determining a plurality of target watermark bit groups corresponding to the target point from the watermark information data; modifying the initial distance ratio according to the target watermark bit groups and a preset mapping relationship to obtain a target distance ratio; determining a target position between the target point and the reference ray according to the target distance ratio, the starting point, and the distal point; determining the target position of the target point according to the positional relationship between the target point, the starting point, and the distal point, and the target position, and completing the digital watermark embedding operation.

2. The method according to claim 1, characterized in that, The determining a plurality of target watermark bit groups corresponding to the target point from the watermark information data includes: using the storage order of the coordinate string in the region of interest after deleting the starting point and the distal point as a watermark index; extracting a plurality of target watermark bit groups corresponding to the target point from the watermark information data according to the watermark index.

3. The method according to claim 1, characterized in that, The modifying the initial distance ratio according to the target watermark bit groups and a preset mapping relationship to obtain a target distance ratio includes: determining a target number corresponding to each target watermark bit group according to the preset mapping relationship; when the original number at a specified position in the decimal part of the initial distance ratio is inconsistent with the target number corresponding to the specified position, replacing the original number with the target number to obtain the target distance ratio.

4. The method according to claim 1, characterized in that, The determining a target position between the target point and the reference ray according to the target distance ratio, the starting point, and the distal point includes: determining a target angle of the target point in space according to the distance relationship between the target point and the starting point or the distal point; determining a target perpendicular distance according to the target distance ratio and the distance between the starting point and the distal point; taking the position with a perpendicular distance to the reference ray being the target perpendicular distance as the target position according to the target angle.

5. The method according to claim 4, wherein The determining a target angle of the target point in space according to the distance relationship between the target point and the starting point or the distal point includes: when the distance between the target point and the starting point is greater than the distance between the target point and the distal point, determining the target angle with the distal point as the apex angle; when the distance between the target point and the starting point is less than the distance between the target point and the distal point, determining the target angle with the starting point as the apex angle.

6. The method according to claim 1, wherein The method further includes: when the digital watermark embedding operation is completed for each point in the region of interest, Calculate the maximum value of the absolute value of the difference between the abscissa and ordinate of all embedding points before and after embedding, as well as the root mean square error; If the error is greater than the set precision error, cancel the watermark embedding of the region of interest and restore its coordinates to the original coordinate values.

7. An apparatus for embedding a digital watermark in an interest surface dataset, characterized in that, The device includes: A generation module, configured to generate watermark information data based on the copyright information and the time when the digital watermark embedding operation is performed; the watermark information data includes a plurality of watermark bit groups; A first determination module, configured to determine a reference ray according to a starting point on the region of interest and a distal point farthest from the starting point; A calculation module, configured to calculate an initial distance ratio of each target point on the region of interest based on the ratio of the initial perpendicular distance between the initial position of the target point and the reference ray to the distance between the starting point and the distal point; A second determination module, configured to determine a plurality of target watermark bit groups corresponding to the target point from the watermark information data; A first operation module, configured to modify the initial distance ratio according to the target watermark bit group and a preset mapping relationship to obtain a target distance ratio; A third determination module, configured to determine a target position between the target point and the reference ray according to the target distance ratio, the starting point, and the distal point; A fourth determination module, configured to determine the target position of the target point according to the positional relationship between the target point, the starting point, and the distal point, and the target position, to complete the digital watermark embedding operation.

8. The device according to claim 7, wherein, The second determination module is specifically configured to: Use the storage order of the coordinate string in the region of interest after deleting the starting point and the distal point as a watermark index; Extract a plurality of target watermark bit groups corresponding to the target point from the watermark information data according to the watermark index.

9. The device according to claim 8, characterized in that, The first operation module is specifically configured to: Determine a target number corresponding to each target watermark bit group according to the preset mapping relationship; When the original number at a specified position in the decimal part of the initial distance ratio is inconsistent with the target number corresponding to the specified position, replace the original number with the target number to obtain the target distance ratio.

10. An electronic device, characterized in that, The electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, and the program or instruction is executed by the processor to perform the steps of any one of claims 1-6 for embedding a digital watermark in a region of interest dataset.

Citation Information

Patent Citations

  • Digital audio watermarking method capable of resisting re-recording attack

    CN103208289A

  • Digital watermark implanting and extracting method based on parth search

    CN1440196A