CN111460399A - Watermark data processing method, device, computer equipment and storage medium - Google Patents

Watermark data processing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN111460399A
CN111460399A CN202010180934.3A CN202010180934A CN111460399A CN 111460399 A CN111460399 A CN 111460399A CN 202010180934 A CN202010180934 A CN 202010180934A CN 111460399 A CN111460399 A CN 111460399A
Authority
CN
China
Prior art keywords
discrete point
encryption
personal electronic
parameters
coding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010180934.3A
Other languages
Chinese (zh)
Inventor
邹昆伦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202010180934.3A priority Critical patent/CN111460399A/en
Publication of CN111460399A publication Critical patent/CN111460399A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/16Program or content traceability, e.g. by watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Technology Law (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

The application relates to a watermark data processing method, a watermark data processing device, a computer device and a storage medium. The method comprises the following steps: acquiring encryption parameters set by a user according to the personal electronic data picture; obtaining coding parameters after coding the encryption parameters; carrying out splitting operation on the coding parameters to obtain discrete point information; the discrete point information comprises the position of the discrete point in the personal electronic material picture and the RGB value of the discrete point; and generating a ciphertext watermark image on the page of the personal electronic material picture according to the position of the discrete point in the personal electronic material picture in the discrete point information and the RGB value of the discrete point. The method can improve the security of the watermark encryption of the personal electronic data picture.

Description

Watermark data processing method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a watermark data processing method and apparatus, a computer device, and a storage medium.
Background
When a user transacts and registers business by utilizing the personal electronic data picture, the personal electronic data picture needs to be uploaded, and the personal electronic data picture in the uploading process is easily stolen by lawless persons in the network for illegal use, such as application of an identity card and a bank card information picture as a credit card by the lawless persons, application of company legal persons, telecom fraud and the like, so that the user bears unnecessary legal risks and legitimate and deceived risks.
The existing method for preventing the personal electronic material picture from being stolen by adding the watermark to the personal electronic material picture can not be used for illegal registration, but the personal information of the personal electronic material picture can still be known by lawbreakers. However, the existing lawbreakers fraud the users according to the personal information of the users, for example, the users transact a certain service, the lawbreakers fraud the users on the name of the certain service, and the users easily transfer accounts provided by the other party after checking that the personal information of the users provided by the other party is accurate. The existing method for encrypting the watermark of the personal electronic data picture has the problem of low security.
Disclosure of Invention
In view of the above, it is desirable to provide a watermark data processing method, device, computer device and storage medium capable of improving the security of watermark encryption of personal electronic data pictures.
A method of watermark data processing, the method comprising:
acquiring encryption parameters set by a user according to the personal electronic data picture;
obtaining coding parameters after coding the encryption parameters;
carrying out splitting operation on the coding parameters to obtain discrete point information; the discrete point information comprises the position of the discrete point in the personal electronic material picture and the RGB value of the discrete point;
and generating a ciphertext watermark image on the page of the personal electronic material picture according to the position of the discrete point in the personal electronic material picture in the discrete point information and the RGB value of the discrete point.
In one embodiment, the step of obtaining the encoding parameters after encoding the encryption parameters includes: and obtaining the coding parameters after coding the encryption parameters through the encryption key.
In one embodiment, the step of performing a splitting operation on the encoding parameters to obtain discrete point information includes: judging whether the length of the coding parameter is greater than a preset value; and if the length of the coding parameter is greater than a preset value, carrying out splitting operation on the coding parameter to obtain discrete point information.
In one embodiment, the step of performing a splitting operation on the encoding parameters to obtain discrete point information includes: when the length of the coding parameter is larger than a preset value, intercepting data of the preset value length of the coding parameter; and carrying out splitting operation on the data with the preset value length to obtain discrete point information.
In one embodiment, the watermark data processing method further includes: scanning the ciphertext watermark image to obtain an encryption parameter; the encryption parameter is used for verifying the authenticity of the personal electronic material picture.
In one embodiment, the step of scanning the ciphertext watermark image to obtain an encryption parameter includes: scanning the ciphertext watermark image to obtain discrete point information; the discrete point information comprises the position of the discrete point in the personal electronic material picture and the RGB value of the discrete point; calculating to obtain coding parameters according to the positions of the discrete points in the personal electronic data pictures and the RGB values of the discrete points in the discrete point information; and calculating to obtain an encryption parameter according to the coding parameter.
In one embodiment, the step of scanning the ciphertext watermark image to obtain an encryption parameter includes: and scanning the ciphertext watermark image, and acquiring an encryption parameter according to an input encryption key.
A watermark data processing apparatus, the apparatus comprising:
the encryption parameter acquisition module is used for acquiring encryption parameters set by a user according to the personal electronic data picture;
the coding module is used for coding the encryption parameters to obtain coding parameters;
the splitting operation module is used for carrying out splitting operation on the coding parameters to obtain discrete point information; the discrete point information comprises the position of the discrete point in the personal electronic material picture and the RGB value of the discrete point;
and the watermark image generation module is used for generating a ciphertext watermark image on the page of the personal electronic material picture according to the position of the discrete point in the personal electronic material picture in the discrete point information and the RGB value of the discrete point.
In one embodiment, the encoding module is further configured to obtain the encoding parameter after encoding the encryption parameter by using an encryption key.
In one embodiment, the splitting operation module includes: the judging unit is used for judging whether the length of the coding parameter is greater than a preset value or not; and the splitting operation unit is used for carrying out splitting operation on the coding parameters to obtain discrete point information if the length of the coding parameters is greater than a preset value.
In one embodiment, the splitting operation module includes: the intercepting unit is used for intercepting data of the length of the preset value of the coding parameter when the length of the coding parameter is larger than the preset value; and the splitting operation unit is used for performing splitting operation on the data with the preset value length to obtain discrete point information.
In one embodiment, the watermark data processing apparatus further includes: the scanning module is used for scanning the ciphertext watermark image to obtain an encryption parameter; the encryption parameter is used for verifying the authenticity of the personal electronic material picture.
In one embodiment, the scanning module comprises: a discrete point information acquisition unit, configured to scan the ciphertext watermark image to obtain discrete point information; the discrete point information comprises the position of the discrete point in the personal electronic material picture and the RGB value of the discrete point; the coding parameter calculation unit is used for calculating to obtain a coding parameter according to the position of the discrete point in the personal electronic data picture in the discrete point information and the RGB value of the discrete point; and the encryption parameter calculation unit is used for calculating the encryption parameters according to the coding parameters.
In one embodiment, the scanning module is further configured to scan the ciphertext watermark image, and obtain an encryption parameter according to an input encryption key.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring encryption parameters set by a user according to the personal electronic data picture;
obtaining coding parameters after coding the encryption parameters;
carrying out splitting operation on the coding parameters to obtain discrete point information; the discrete point information comprises the position of the discrete point in the personal electronic material picture and the RGB value of the discrete point;
and generating a ciphertext watermark image on the page of the personal electronic material picture according to the position of the discrete point in the personal electronic material picture in the discrete point information and the RGB value of the discrete point.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring encryption parameters set by a user according to the personal electronic data picture;
obtaining coding parameters after coding the encryption parameters;
carrying out splitting operation on the coding parameters to obtain discrete point information; the discrete point information comprises the position of the discrete point in the personal electronic material picture and the RGB value of the discrete point;
and generating a ciphertext watermark image on the page of the personal electronic material picture according to the position of the discrete point in the personal electronic material picture in the discrete point information and the RGB value of the discrete point.
According to the watermark data processing method, the device, the computer equipment and the storage medium, the encryption parameter input by the user can be a password set by the user, and the ciphertext watermark image is generated according to the encryption parameter so as to be distinguished from watermarks set by other people.
Drawings
Fig. 1 is a flowchart illustrating a watermark data processing method according to an embodiment;
FIG. 2 is a schematic flow chart illustrating a step of performing a splitting operation on the encoding parameters to obtain discrete point information according to an embodiment;
fig. 3 is a block diagram showing the structure of a watermark data processing apparatus in one embodiment;
FIG. 4 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 2, a watermarking method is provided, which is described by taking the method as an example applied to a terminal, which can be but is not limited to various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and includes the following steps:
step S110, obtaining the encryption parameter set by the user according to the personal electronic data picture.
The personal electronic data picture comprises pictures of electronic data such as an identity card scanning piece, a bank card scanning piece and the like of a user. The user inputs encryption parameters through a computer, a mobile phone and other terminals, wherein the encryption parameters comprise Chinese characters, English letters, Greek letters or numbers. The encryption parameter is equivalent to a password set by a user and is different from the encryption parameter set by others, and the generated watermark is different from the watermark set by others through the particularity of the set encryption parameter. For example, the encryption parameter is a six-digit password, specifically "000000".
And step S120, encoding the encryption parameters to obtain encoding parameters.
The encoding can adopt ASC LL code, the encoding parameter is binary data after being encoded, that is, the encoding parameter is binary data, of course, the encoding can also adopt other encoding modes, such as Unicode, GBK, GB2312, UTF-8 and the like, for example, the encoding parameter is "000000", and the encoding parameter is "110100111010" after being encoded.
Step S130, carrying out splitting operation on the coding parameters to obtain discrete point information; the discrete point information includes a position of the discrete point in the picture of the personal electronic material and RGB values of the discrete point.
Wherein the splitting operation is to convert the encoding parameters into discrete points. For example, if the encoding parameter is "110100111010", the splitting operation may be performed according to a fixed format based on the encoding parameter (binary data), and the encoding parameter "110100111010" is split into 110100, 111010, 110100, 52 and 58, where 52 and 58 are decimal numbers, 52 is used to represent the position of a discrete point in an image, and 58 is used to represent the RGB value of the discrete point, and of course, 52 cannot directly represent the position of the discrete point in the image, and a mapping table may be prepared to implement this, and similarly 58 cannot directly represent the RGB value of the discrete point, and this may be implemented by another mapping table. Of course, the splitting operation may also be in other forms, and may be set as needed, which is not described herein again.
Step S140, generating a ciphertext watermark image on the page of the personal electronic material picture according to the position of the discrete point in the personal electronic material picture in the discrete point information and the RGB value of the discrete point.
And the ciphertext watermark image generated by the discrete point information on the personal electronic data picture page is dot matrix information, and the dot matrix information comprises a two-dimensional code image or a bar code image which can be scanned. The ciphertext watermark image can be superposed with the content of the personal electronic material picture or can be positioned in the blank of the personal electronic material picture. When the ciphertext watermark image is coincident with the content of the personal electronic data picture, the ciphertext watermark image is distinguished from the content of the personal electronic data picture through the RGB value. The saturation, brightness and contrast of the ciphertext watermark image can be set by setting the RGB value, namely, the saturation, brightness and contrast of the ciphertext watermark image are distinguished from the content of the personal electronic data picture.
In the watermark data processing method, the encryption parameter input by the user can be a password set by the user, the ciphertext watermark image is generated according to the encryption parameter so as to be distinguished from watermarks set by other people, and compared with a uniform watermark mode in the prior art, such as 'patent application limited only', the watermark setting mode is not easy to be copied by other people, thousands of people can be realized, and the watermark encryption safety of the personal electronic data image is improved.
In one embodiment, the step of obtaining the encoding parameters after encoding the encryption parameters includes: and obtaining the coding parameters after coding the encryption parameters through the encryption key.
The encryption key is used for encrypting and encoding the encryption parameter, and the specific encoding mode can adopt the existing encryption algorithm for encoding. The encryption key may be determined by the material user, and the subsequent material user decrypts the encryption parameter with the encryption key to determine that the current material is provided by the correct material provider.
In one embodiment, as shown in fig. 2, the step of performing a splitting operation on the encoding parameter to obtain discrete point information includes: s131, judging whether the length of the coding parameter is larger than a preset value; s132, if the length of the coding parameter is larger than a preset value, splitting operation is carried out on the coding parameter to obtain discrete point information.
The length of the encryption parameter is in direct proportion to the length of the coding parameter, and the longer the length of the encryption parameter is, the less easily the encryption parameter is copied by people and the safer the encryption parameter is. The preset value can be set according to needs, and if the length of a general encoding parameter is greater than the preset value, it indicates that the encryption parameter corresponding to the encoding parameter is safe.
In one embodiment, the step of performing a splitting operation on the encoding parameters to obtain discrete point information includes: when the length of the coding parameter is larger than a preset value, intercepting data of the preset value length of the coding parameter; and carrying out splitting operation on the data with the preset value length to obtain discrete point information.
The data with the preset length is intercepted from the coding parameters, namely the data with the preset length is selected from the encryption parameters, the coding parameters with the preset length are easy to code, and after the data with the preset length of the coding parameters are coded, a user who inputs the encryption parameters can be informed to select the data with the preset length from the encryption parameters, so that the subsequent user can verify the encrypted watermark content of the personal electronic data picture.
In one embodiment, the watermark data processing method further includes: scanning the ciphertext watermark image to obtain an encryption parameter; the encryption parameter is used for verifying the authenticity of the personal electronic material picture.
The scanning terminal can be a terminal used by a data user, such as a mobile phone used by the data user. For example, the ciphertext watermark image is a two-dimensional code, the data user obtains an encryption parameter by scanning the two-dimensional code image, and judges whether the ciphertext watermark image is the correct data provided by the data provider according to the encryption parameter.
In one embodiment, the step of scanning the ciphertext watermark image to obtain an encryption parameter includes: scanning the ciphertext watermark image to obtain discrete point information; the discrete point information comprises the position of the discrete point in the personal electronic material picture and the RGB value of the discrete point; calculating to obtain coding parameters according to the positions of the discrete points in the personal electronic data pictures and the RGB values of the discrete points in the discrete point information; and calculating to obtain an encryption parameter according to the coding parameter.
The process of scanning the ciphertext watermark image to obtain the encryption parameters is opposite to the process of generating the ciphertext watermark image according to the encryption parameters. Scanning the ciphertext watermark image through a scanning terminal, and carrying out image processing on the ciphertext watermark image to obtain discrete point information; according to the position of the discrete point in the discrete point information in the personal electronic data picture and the RGB value of the discrete point, obtaining a coding parameter through combination operation calculation, wherein the calculation process of the combination operation is opposite to that of the splitting operation; and then, carrying out inverse coding according to the coding parameters to obtain the encryption parameters. The embodiment obtains the encryption parameters through scanning by the scanning terminal, and can be convenient for users to use.
In one embodiment, the step of scanning the ciphertext watermark image to obtain an encryption parameter includes: and scanning the ciphertext watermark image, and acquiring an encryption parameter according to an input encryption key.
The scanning terminal is used by a data user, and the data user can use the encryption parameter to authenticate the identity of the data user after obtaining the encryption parameter, for example, the data user is an insurance charging party and can indicate the identity of the data user according to the encryption parameter when charging is urged by a data provider; similarly, when receiving the insurance charging notification, the data provider can determine whether the data provider is the correct insurance charging party according to the encryption parameter provided by the other party. For example, after scanning the ciphertext watermark image, the scanning terminal displays prompt information for inputting the encryption key, the user inputs the encryption key according to the prompt information, and the scanning terminal decrypts the encryption parameter according to the encryption key.
The scanning terminal is a terminal used by a material provider, for example, the terminal used by the material provider is a mobile phone. In the case that the personal electronic material picture is leaked, the material provider can know who the personal electronic material picture is leaked by scanning the ciphertext watermark image of the leaked material to obtain the encryption parameter, because the encryption parameter has uniqueness, the material provider can set the unique encryption parameter when providing the personal electronic material picture with the encrypted watermark image, and can know the purpose of the personal electronic material picture according to the encryption parameter, and the material user who uses the personal electronic material picture as the purpose is also unique.
It should be understood that although the various steps in the flow charts of fig. 2-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In a specific embodiment, a user inputs an encryption parameter at a terminal, the terminal processes the encryption parameter into discrete point information, the discrete point is displayed at a corresponding position of the personal electronic material picture according to a position of the discrete point in the personal electronic material picture in the discrete point information and an RGB value of the discrete point, a red point is displayed in the personal electronic material picture when the RGB value is red, a gray point is displayed in the personal electronic material picture when the RGB value is gray, and the positions of the discrete points corresponding to different encryption parameters are different.
In one embodiment, as shown in fig. 3, there is provided a watermark data processing apparatus including: an encryption parameter obtaining module 210, an encoding module 220, a splitting operation module 230, and a watermark image generating module 240, wherein:
and an encryption parameter acquiring module 210, configured to acquire an encryption parameter set by a user according to the personal electronic data picture.
The user inputs encryption parameters through a computer, a mobile phone and other terminals, wherein the encryption parameters comprise Chinese characters, English letters, Greek letters or numbers. The encryption parameter is equivalent to a password set by a user and is different from the encryption parameter set by others, and the generated watermark is different from the watermark set by others through the particularity of the set encryption parameter.
And the encoding module 220 is configured to encode the encryption parameter to obtain an encoding parameter.
The encoding may adopt ASC LL code, and the encrypted parameter is encoded into binary data, that is, the encoded parameter is binary data, however, the encoding may also adopt other encoding methods, such as Unicode, GBK, GB2312, UTF-8, and the like.
A splitting operation module 230, configured to perform splitting operation on the coding parameters to obtain discrete point information; the discrete point information includes a position of the discrete point in the picture of the personal electronic material and RGB values of the discrete point.
Wherein the splitting operation is to convert the encoding parameters into discrete points.
The watermark image generating module 240 is configured to generate a ciphertext watermark image on the page of the personal electronic material picture according to the position of the discrete point in the personal electronic material picture in the discrete point information and the RGB value of the discrete point.
And generating a ciphertext watermark image on the personal electronic data picture page by the discrete point information, wherein the ciphertext watermark image is dot matrix information or a two-dimensional code image. The ciphertext watermark image can be superposed with the content of the personal electronic material picture or can be positioned in the blank of the personal electronic material picture. When the ciphertext watermark image is coincident with the content of the personal electronic data picture, the ciphertext watermark image is distinguished from the content in the personal electronic data picture through the RGB value of the image. The saturation, brightness and contrast of the ciphertext watermark image can be set by setting the RGB value, namely, the saturation, brightness and contrast of the ciphertext watermark image are distinguished from the content of the personal electronic data picture.
In one embodiment, the encoding module 220 is further configured to obtain an encoding parameter after encoding the encryption parameter by using an encryption key. The encryption key is used for encrypting and encoding the encryption parameter, and the specific encoding mode can adopt the existing encryption algorithm for encoding. The encryption key may be determined by the material user, and the subsequent material user decrypts the encryption parameter with the encryption key to determine that the current material is provided by the correct material provider.
In one embodiment, the splitting operation module 230 includes: the judging unit is used for judging whether the length of the coding parameter is greater than a preset value or not; and the splitting operation unit is used for carrying out splitting operation on the coding parameters to obtain discrete point information if the length of the coding parameters is greater than a preset value. The length of the encryption parameter is in direct proportion to the length of the coding parameter, and the longer the length of the encryption parameter is, the less easily the encryption parameter is copied by people and the safer the encryption parameter is. The preset value can be set according to needs, and if the length of a general encoding parameter is greater than the preset value, it indicates that the encryption parameter corresponding to the encoding parameter is safe.
In one embodiment, the splitting operation module 230 includes: the intercepting unit is used for intercepting data of the length of the preset value of the coding parameter when the length of the coding parameter is larger than the preset value; and the splitting operation unit is used for performing splitting operation on the data with the preset value length to obtain discrete point information.
The data with the preset length is intercepted from the coding parameters, namely the data with the preset length is selected from the encryption parameters, the coding parameters with the preset length are easy to code, and after the data with the preset length of the coding parameters are coded, a user who inputs the encryption parameters can be informed to select the data with the preset length from the encryption parameters, so that the subsequent user can verify the encrypted watermark content of the personal electronic data picture.
In one embodiment, the watermark data processing apparatus further includes: the scanning module is used for scanning the ciphertext watermark image to obtain an encryption parameter; the encryption parameter is used for verifying the authenticity of the personal electronic material picture. The scanning module can be a terminal used by a data user, such as a mobile phone used by the data user.
In one embodiment, the scanning module comprises: a discrete point information acquisition unit, configured to scan the ciphertext watermark image to obtain discrete point information; the discrete point information comprises the position of the discrete point in the personal electronic material picture and the RGB value of the discrete point; the coding parameter calculation unit is used for calculating to obtain a coding parameter according to the position of the discrete point in the personal electronic data picture in the discrete point information and the RGB value of the discrete point; and the encryption parameter calculation unit is used for calculating the encryption parameters according to the coding parameters.
The process of scanning the ciphertext watermark image to obtain the encryption parameters is opposite to the process of generating the ciphertext watermark image according to the encryption parameters. Scanning the ciphertext watermark image by a scanning terminal, and carrying out image processing on the ciphertext watermark image to obtain discrete point information; according to the position of the discrete point in the discrete point information in the personal electronic data picture and the RGB value of the discrete point, obtaining a coding parameter through combination operation calculation, wherein the calculation process of the combination operation is opposite to that of the splitting operation; and then, carrying out inverse coding according to the coding parameters to obtain the encryption parameters. The embodiment obtains the encryption parameters through scanning by the scanning terminal, and can be convenient for users to use.
In one embodiment, the scanning module is further configured to scan the ciphertext watermark image, and obtain an encryption parameter according to an input encryption key.
For specific limitations of the watermark data processing apparatus, reference may be made to the above limitations of the watermark data processing method, which are not described herein again. The modules in the watermark data processing device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 4. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a watermark data processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 4 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring encryption parameters set by a user according to the personal electronic data picture;
obtaining coding parameters after coding the encryption parameters;
carrying out splitting operation on the coding parameters to obtain discrete point information; the discrete point information comprises the position of the discrete point in the personal electronic material picture and the RGB value of the discrete point;
and generating a ciphertext watermark image on the page of the personal electronic material picture according to the position of the discrete point in the personal electronic material picture in the discrete point information and the RGB value of the discrete point.
In one embodiment, the processor, when executing the computer program, further performs the steps of: scanning the ciphertext watermark image to obtain an encryption parameter; the encryption parameter is used for verifying the authenticity of the personal electronic material picture.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring encryption parameters set by a user according to the personal electronic data picture;
obtaining coding parameters after coding the encryption parameters;
carrying out splitting operation on the coding parameters to obtain discrete point information; the discrete point information comprises the position of the discrete point in the personal electronic material picture and the RGB value of the discrete point;
and generating a ciphertext watermark image on the page of the personal electronic material picture according to the position of the discrete point in the personal electronic material picture in the discrete point information and the RGB value of the discrete point.
In one embodiment, the computer program when executed by the processor further performs the steps of: scanning the ciphertext watermark image to obtain an encryption parameter; the encryption parameter is used for verifying the authenticity of the personal electronic material picture.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of processing watermark data, the method comprising:
acquiring encryption parameters set by a user according to the personal electronic data picture;
obtaining coding parameters after coding the encryption parameters;
carrying out splitting operation on the coding parameters to obtain discrete point information; the discrete point information comprises the position of the discrete point in the personal electronic material picture and the RGB value of the discrete point;
and generating a ciphertext watermark image on the page of the personal electronic material picture according to the position of the discrete point in the personal electronic material picture in the discrete point information and the RGB value of the discrete point.
2. The method of claim 1, wherein the step of obtaining the encoded parameters after encoding the encrypted parameters comprises:
and obtaining the coding parameters after coding the encryption parameters through the encryption key.
3. The method of claim 1, wherein the step of performing the splitting operation on the encoding parameters to obtain the discrete point information comprises:
judging whether the length of the coding parameter is greater than a preset value;
and if the length of the coding parameter is greater than a preset value, carrying out splitting operation on the coding parameter to obtain discrete point information.
4. The method of claim 3, wherein the step of performing the splitting operation on the encoding parameters to obtain the discrete point information comprises:
intercepting data of the preset value length of the coding parameter;
and carrying out splitting operation on the data with the preset value length to obtain discrete point information.
5. The method according to any one of claims 1-4, characterized in that the method comprises:
scanning the ciphertext watermark image to obtain an encryption parameter; the encryption parameter is used for verifying the authenticity of the personal electronic material picture.
6. The method according to claim 5, wherein the step of scanning the ciphertext watermark image to obtain the encryption parameter comprises:
scanning the ciphertext watermark image to obtain discrete point information; the discrete point information comprises the position of the discrete point in the personal electronic material picture and the RGB value of the discrete point;
calculating to obtain coding parameters according to the positions of the discrete points in the personal electronic data pictures and the RGB values of the discrete points in the discrete point information;
and calculating to obtain an encryption parameter according to the coding parameter.
7. The method according to claim 5, wherein the step of scanning the ciphertext watermark image to obtain the encryption parameter comprises:
and scanning the ciphertext watermark image, and acquiring an encryption parameter according to an input encryption key.
8. A watermark data processing apparatus, characterized in that the apparatus comprises:
the encryption parameter acquisition module is used for acquiring encryption parameters set by a user according to the personal electronic data picture;
the coding module is used for coding the encryption parameters to obtain coding parameters;
the splitting operation module is used for carrying out splitting operation on the coding parameters to obtain discrete point information; the discrete point information comprises the position of the discrete point in the personal electronic material picture and the RGB value of the discrete point;
and the watermark image generation module is used for generating a ciphertext watermark image on the page of the personal electronic material picture according to the position of the discrete point in the personal electronic material picture in the discrete point information and the RGB value of the discrete point.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010180934.3A 2020-03-16 2020-03-16 Watermark data processing method, device, computer equipment and storage medium Pending CN111460399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010180934.3A CN111460399A (en) 2020-03-16 2020-03-16 Watermark data processing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010180934.3A CN111460399A (en) 2020-03-16 2020-03-16 Watermark data processing method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111460399A true CN111460399A (en) 2020-07-28

Family

ID=71680749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010180934.3A Pending CN111460399A (en) 2020-03-16 2020-03-16 Watermark data processing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111460399A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1862526A (en) * 2006-06-21 2006-11-15 北京大学 Discrete font generating method based on outline font technique
CN102880999A (en) * 2012-09-21 2013-01-16 吉林大学 Color image digital watermark method capable of resisting stamping, printing and scanning processes
CN106686333A (en) * 2016-11-02 2017-05-17 四川秘无痕信息安全技术有限责任公司 Method for producing video added watermarks for Android equipment
CN108629727A (en) * 2018-04-16 2018-10-09 深圳市联软科技股份有限公司 Method, terminal and the medium of watermark are generated according to color
CN108648132A (en) * 2018-04-16 2018-10-12 深圳市联软科技股份有限公司 According to the method for graphic hotsopt watermark, system, terminal and medium
CN109558705A (en) * 2018-12-10 2019-04-02 万兴科技股份有限公司 Watermark Tiling methods, device, computer equipment and storage medium based on PDF
CN110097488A (en) * 2018-01-29 2019-08-06 阿里巴巴集团控股有限公司 The generation of stealthy digital watermarking and extracting method and device
CN110796586A (en) * 2019-10-29 2020-02-14 中国人民解放军63850部队 Blind watermarking method and system based on digital dot matrix and readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1862526A (en) * 2006-06-21 2006-11-15 北京大学 Discrete font generating method based on outline font technique
CN102880999A (en) * 2012-09-21 2013-01-16 吉林大学 Color image digital watermark method capable of resisting stamping, printing and scanning processes
CN106686333A (en) * 2016-11-02 2017-05-17 四川秘无痕信息安全技术有限责任公司 Method for producing video added watermarks for Android equipment
CN110097488A (en) * 2018-01-29 2019-08-06 阿里巴巴集团控股有限公司 The generation of stealthy digital watermarking and extracting method and device
CN108629727A (en) * 2018-04-16 2018-10-09 深圳市联软科技股份有限公司 Method, terminal and the medium of watermark are generated according to color
CN108648132A (en) * 2018-04-16 2018-10-12 深圳市联软科技股份有限公司 According to the method for graphic hotsopt watermark, system, terminal and medium
CN109558705A (en) * 2018-12-10 2019-04-02 万兴科技股份有限公司 Watermark Tiling methods, device, computer equipment and storage medium based on PDF
CN110796586A (en) * 2019-10-29 2020-02-14 中国人民解放军63850部队 Blind watermarking method and system based on digital dot matrix and readable storage medium

Similar Documents

Publication Publication Date Title
US20210271745A1 (en) Authentication Methods and Systems
WO2019223177A1 (en) Electronic signature authentication method and system, computer device and storage medium
EP2693687A1 (en) Method for generating a code, authorization method and authorization system for authorizing an operation
JP2017503253A (en) Authentication system and method using QR code
CN109214159B (en) User information protection system and method for terminal face recognition cloud service
CN112529586B (en) Transaction information management method, device, equipment and storage medium
CN108335108A (en) A kind of two-dimension code safe method of mobile payment and system
CN104253689A (en) User identity module card generated dynamic password authentication method and system based on QR (quick response) code
US20220284448A1 (en) Anti-counterfeiting and encryption method based on local random image transformation technique
CN114880687A (en) Document security protection method and device, electronic equipment and storage medium
CN115222002A (en) Two-dimensional code generation method, scanning device and electronic equipment
CN116962021A (en) Method, device, equipment and medium for user real name authentication in financial cooperative institution
CN111242768A (en) Credit card information security obtaining method, device and system
CN111460399A (en) Watermark data processing method, device, computer equipment and storage medium
US20140143858A1 (en) Processing arrangement and a method for processing information in a machine-to-human communications interface
CN113254986A (en) Data processing method, device and computer readable storage medium
KR20210045823A (en) Apparatus and method for securing document information
KR100409270B1 (en) An authentication service method using code image physically represented and apparatus thereof
KR101641279B1 (en) Apparatus, computing terminal, scanner for protecting personal information and method thereof
EP3979556B1 (en) Electronic communication device for performing an authentication operation
US20230046380A1 (en) Communications device, method and communications system for managing an authentication event
US20220207518A1 (en) Card registration system, card registration method, and information storage medium
KR20060019926A (en) Using image authentication system and authentication method
CN117314420A (en) Cross-device resource transfer method, device, computer device and storage medium
CN114238902A (en) Fingerprint authentication method and device based on SM9 encryption and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination