CN113240568A - Method and device for managing picture resources - Google Patents

Method and device for managing picture resources Download PDF

Info

Publication number
CN113240568A
CN113240568A CN202110653908.2A CN202110653908A CN113240568A CN 113240568 A CN113240568 A CN 113240568A CN 202110653908 A CN202110653908 A CN 202110653908A CN 113240568 A CN113240568 A CN 113240568A
Authority
CN
China
Prior art keywords
picture
user information
value
target
color channel
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
CN202110653908.2A
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.)
CCB Finetech Co Ltd
Original Assignee
CCB Finetech 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 CCB Finetech Co Ltd filed Critical CCB Finetech Co Ltd
Priority to CN202110653908.2A priority Critical patent/CN113240568A/en
Publication of CN113240568A publication Critical patent/CN113240568A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image 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/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
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration using two or more images, e.g. averaging or subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20224Image subtraction

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Technology Law (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a method and a device for managing picture resources, and relates to the technical field of mobile interconnection. One embodiment of the method comprises: analyzing user information and a target picture identification from a picture acquisition request of a user; generating a user information image according to the user information; and acquiring a target picture according to the target picture identification, merging the user information image and the target picture, and generating a response picture corresponding to the picture acquisition request. According to the embodiment, the user information is added to the target picture as the watermark to generate the response picture, so that the picture copyright information can be protected to a certain extent, and the tracing of picture leakage can be realized.

Description

Method and device for managing picture resources
Technical Field
The invention relates to the technical field of mobile interconnection, in particular to a method and a device for managing picture resources.
Background
The protection of the picture information comprises the protection of the copyright information of the picture, and the copyright information of the picture can be protected to a certain extent by adding the watermark to the picture.
In the prior art, the watermark added to the picture does not include user information, and this way can cause that the tracing of the picture leakage is difficult to realize after the picture leakage.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for managing picture resources, which can protect copyright information of a picture and facilitate tracing of picture copyright.
To achieve the above object, according to an aspect of the embodiments of the present invention, there is provided a method for picture resource management, including:
analyzing user information and a target picture identification from a picture acquisition request of a user;
generating a user information image according to the user information;
and acquiring a target picture according to the target picture identification, merging the user information image and the target picture, and generating a response picture corresponding to the picture acquisition request.
Optionally, merging the user information image and the target picture, and generating a response picture corresponding to the picture obtaining request includes:
determining a transparency value of the user information image;
and adjusting the pixel value of the target color channel of the corresponding pixel point in the target picture according to the transparency value to obtain the response picture.
Optionally, the transparency value of each pixel point in the user information image is a first numerical value or a second numerical value; adjusting the pixel value of the target color channel of the corresponding pixel point in the target picture according to the transparency value, including:
traversing the transparency value of each pixel point of the user information image and the pixel value of the target color channel of the corresponding pixel point in the target image;
when the transparency value is a first numerical value, adjusting the pixel value of the corresponding pixel point in the target picture in the target color channel to be a first type numerical value;
and when the transparency value is a second numerical value, adjusting the pixel value of the corresponding pixel point in the target picture in the target color channel to be a second type numerical value.
Optionally, the first type of value is even and the second type of value is odd.
Optionally, adjusting the pixel value of the corresponding pixel point in the target picture in the target color channel to a first type numerical value includes:
judging whether the pixel value of the corresponding pixel point in the target picture in the target color channel is an even number;
if so, keeping the pixel value of the corresponding pixel point in the target picture in the target color channel unchanged;
if not, judging whether the pixel value of the corresponding pixel point in the target picture is less than 0 after subtracting a preset odd number from the pixel value of the target color channel; if so, adding the preset odd number to the pixel value of the corresponding pixel point in the target color channel in the target picture; and if not, subtracting the preset odd number from the pixel value of the corresponding pixel point in the target color channel in the target picture.
Optionally, the absolute value of the preset odd number is not greater than a preset threshold.
Optionally, after generating a response picture corresponding to the picture obtaining request, the method further includes:
responding to a user information acquisition request, and acquiring a pixel value of the target color channel in each pixel point of the response picture;
when the pixel value of the target color channel is a first type numerical value, determining the transparency value of a corresponding pixel point in the user information image as a first numerical value;
when the pixel value of the target color channel is a second type numerical value, determining that the transparency value of a corresponding pixel point in the user information image is a second numerical value;
and determining the user information image according to the transparency value of each pixel point of the user information image as a first numerical value or a second numerical value so as to acquire the user information.
Optionally, before analyzing the user information and the target picture identifier from the picture obtaining request of the user, the method further includes:
receiving a picture acquisition request of a user for the target picture, wherein the picture acquisition request indicates the target picture identification, and a cookie of a request header of the picture acquisition request comprises the user information.
Optionally, before receiving a picture obtaining request of a user for the target picture, the method further includes:
receiving a login request of a user, wherein the login request comprises login information of the user;
and returning a successful verification result according to the valid verification result of the login information, wherein the cookie of the response head of the successful verification result comprises the user information.
Optionally, the user information image and the response picture are generated using canvas.
Optionally, generating a user information image according to the user information includes:
encrypting the user information to obtain encrypted information;
and generating the user information image according to the encrypted information.
Optionally, generating a response picture corresponding to the picture obtaining request includes:
and converting the combined image into a buffer object, and storing the buffer object as the response picture.
According to another aspect of the embodiments of the present invention, there is provided an apparatus for picture resource management, including:
the acquisition module analyzes the user information and the target picture identification from the picture acquisition request of the user;
the generating module generates a user information image according to the user information;
and the merging module is used for acquiring a target picture according to the target picture identification, merging the user information image and the target picture and generating a response picture corresponding to the picture acquisition request.
According to another aspect of an embodiment of the present invention, there is provided an electronic apparatus including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for picture resource management provided by the embodiment of the invention.
According to still another aspect of the embodiments of the present invention, there is provided a computer readable medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for picture resource management provided by the embodiments of the present invention.
One embodiment of the above invention has the following advantages or benefits: analyzing user information from a picture acquisition request of a user, and generating a user information image according to the user information; and combining the user information image with the target picture to generate a response picture corresponding to the picture acquisition request. The method of the embodiment of the invention can directly acquire the user information from the picture acquisition request, is difficult to tamper the user information, has high safety, and realizes the protection of the picture copyright information by adding the user information to the target picture.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a main flow of a method for picture resource management according to an embodiment of the present invention;
fig. 2 is a schematic main flow chart of a method for obtaining a response picture according to an embodiment of the present invention;
fig. 3 is a schematic main flow chart of another method for generating a response picture according to an embodiment of the invention;
FIG. 4 is a schematic diagram of a main flow chart of a method for adjusting pixel values of a target color channel according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating major blocks of an apparatus for picture resource management according to an embodiment of the present invention;
FIG. 6 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 7 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of a main flow of a method for managing picture resources according to an embodiment of the present invention, and as shown in fig. 1, the method for managing picture resources, applied to a server, includes:
step S101: analyzing user information and a target picture identification from a picture acquisition request of a user;
step S102: generating a user information image according to the user information;
step S103: and acquiring a target picture according to the target picture identification, merging the user information image and the target picture, and generating a response picture corresponding to the picture acquisition request.
In the embodiment of the present invention, before step S101, the method further includes:
receiving a picture acquisition request of a user for a target picture, wherein the picture acquisition request indicates a target picture identifier, and a cookie of a request header of the picture acquisition request comprises user information.
The method comprises the steps that a user sends a picture acquisition request aiming at a target picture, a target picture identification can be obtained from the picture acquisition request, and user information can be analyzed from a cookie of a request header of the picture acquisition request, wherein the user information is information corresponding to the identity of the user, the corresponding user can be found through the user information, and the user information can be selected from at least one of the following: the user information includes user name, user ID, mobile phone number, identification number, job number, mailbox, QQ, micro signal, etc., for example, the user information is user name and user ID.
In the embodiment of the present invention, before receiving a picture acquisition request of a user for a target picture, the method further includes: receiving a login request of a user, wherein the login request comprises login information of the user; and returning a successful verification result according to the effective verification result of the login information, wherein the cookie of the response head of the successful verification result comprises the user information. That is to say, before receiving a picture acquisition request of a user for a target picture, the method further includes: receiving a login request of a user, wherein the login request comprises login information of the user; verifying whether the login information is valid; if so, returning a result of successful verification, wherein the cookie of the response head of the result of successful verification comprises user information; if not, returning the result of the verification failure.
In the embodiment of the invention, the cookie of the client (such as a browser end) stores the user information, and when the picture acquisition request is sent, the cookie is stored in the request header, so that the user information can be analyzed from the picture acquisition request. The cookie of the client, in which the user information is stored, is obtained from a response header in which the server returns a successful login request. The user inputs login information at the client, a login request is sent to the server, the server verifies the login information, and if the verification is passed, the server returns the user information to a cookie of a response head of the login request.
Generally, the login mechanism corresponding to the login request can be password login, mobile phone authentication login or mobile phone code scanning login. The password login is that the user logs in by adopting login information comprising an account and a password when logging in, and the password can be stored in the password login mode, so that the password login can be avoided when the user logs in for a non-first time (in a preset time interval, such as 'ten-day password login-free'), the user can log in more conveniently, and the user experience is improved. However, the copyright protection of the picture may be risky by using the password login manner, for example, if the user a logs in a website by using a personal computer or a public computer, the password is valid for a period of time, if the user B logs in the website by using the personal computer or the public computer of the user a, the login by using the account of the user a is successful, and if the user B stores the picture locally or takes a picture to upload the picture, the picture is leaked, so that the tracing difficulty of the leakage of the picture is caused in such a scenario.
In an optional implementation manner of the embodiment of the invention, the login mechanism corresponding to the login request can be used for verifying login or code scanning login (such as code scanning two-dimensional code login) for the mobile phone, so that the risk of picture leakage caused by password login can be effectively avoided, and the tracing difficulty of picture leakage is reduced.
When the mobile phone is used for verification login, a user inputs a mobile phone number, a client sends a request for obtaining a verification code (a short message verification code), a server receives the request for obtaining the verification code and then judges whether the mobile phone number is registered, if the mobile phone number is not registered, a result that the mobile phone number is not registered or a result that the mobile phone number is input wrongly is returned to the client, if the mobile phone number is registered, the server generates the verification code according to the mobile phone number and returns the verification code to the client, and the server saves the mobile phone number, the verification code and the generation time of the verification code and sets the validity period of the verification code, for example, the verification code is saved in a Redis cache. The verification code may be a random 4-bit or 6-bit string generated by a random function of Math using JavaScript.
The client sends a login request to the server according to login information (a mobile phone number and a verification code), after the server receives the login request, the server verifies the login request, verifies whether the login information is valid, and verifies whether the login information is valid comprises the following steps: and verifying whether the verification code of the login information is the same as the stored verification code corresponding to the mobile phone number or not, and verifying whether the login time is within the valid period or not, namely judging whether the generation time of the verification code and the time interval of sending the login request by the user are within the valid period of the verification code or not, and if the verification codes are the same and within the valid period, verifying that the login information is valid. The server side returns a successful verification result to the client side, the cookie of a response head of the successful verification result comprises user information, the server side stores the corresponding relation between the mobile phone number and the user information in advance, the user information can be obtained through the mobile phone number, and therefore the cookie comprising the user is returned. And if the verification fails, returning a result of the verification failure, and returning information such as error of the verification code or overtime of the verification code.
In the embodiment of the invention, before the server returns the cookie including the user information to the client, the service end can configure the validity period of the cookie, for example, the validity period of the cookie can be configured through an Expire/Max-Age field, and the Expire/Max-Age field is configured as "Session" to indicate that the cookie and the Session are invalid together. Meanwhile, the HttpOnly attribute of the cookie is set to True, so that the server can modify cookie information, the client cannot read and modify the cookie information, the client is effectively prevented from modifying the cookie information and tampering user information in the cookie, and the tracing of the picture copyright is facilitated.
After receiving the picture acquisition request, the server analyzes the cookie of the request header of the picture acquisition request to acquire user information, if the user information cannot be analyzed from the picture acquisition request or the analyzed user information is null (for example, at least one of a user name and a user ID is null), the user is possibly not logged in, and at the moment, the picture acquisition request is not processed, and a result prompting the user to log in can be returned. If the user information can be acquired from the picture acquisition request and the target picture identification can be acquired, subsequent steps can be performed to acquire a response picture corresponding to the picture acquisition request.
In the embodiment of the present invention, user information images with effects such as canvas and svg (Scalable Vector Graphics) can be generated. Taking the canvas library as an example, after the server acquires the user information, the server draws the user information to the canvas, that is, draws the user name and the user ID to the canvas, thereby generating a user information image. When the canvas is used to draw the user information image, the size, font, color, etc. of the characters of the user information may be configured, the position of the user information on the user information image may be set, and the size of the user information image may be configured. As shown in the figure, a user information image obtained by canvas according to user information "userName-123456", where "userName" is a user name, "123456" is a user ID, a background color is white (completely transparent), a text color of the user information is black (completely opaque), a font size is 30 pixels, a font is Impact, and a size of the user information image is 200 pixels by 200 pixels.
In the user information image, the user information and the background color may be selected to be colors with large color contrast, such as black (or other colors) for the user information, white (or other colors) for the background color, or the like. The user information is white (or other colors), and the background color is black (or other colors), so that the subsequent combination with the target picture is facilitated.
After the user information image is generated, the pixel value of the user information image may be obtained by using a function of the getImage function of canvas, that is, the pixel value of each color channel of each pixel point of the user information image is obtained, so as to facilitate subsequent merging with the target picture.
In an optional implementation manner of the embodiment of the present invention, step 102 further includes: encrypting the user information to obtain encrypted information; and generating a user information image according to the encrypted information. The user information can be encrypted by adopting a symmetric Encryption Algorithm or an asymmetric Encryption Algorithm, and an asymmetric Encryption Algorithm is further selected, wherein the symmetric Encryption Algorithm can be selected from one or more of AES (Advanced Encryption Standard), 3DES (Triple Data Encryption Algorithm) and the like, and the asymmetric Encryption Algorithm can be selected from RSA (public key Encryption Algorithm) and the like. By encrypting the user information and then generating the user information image, the difficulty of obtaining the user information from the user information image can be improved, the safety of the user information is improved, and the safety of the picture copyright information is further improved.
In the embodiment of the present invention, as shown in fig. 2, merging the user information image with the target picture to generate a response picture corresponding to the picture obtaining request includes:
step 201: determining a transparency value of the user information image;
step 202: and adjusting the pixel value of the target color channel of the corresponding pixel point in the target picture according to the transparency value to obtain a response picture.
Each pixel point of the user information image and the target picture comprises four RGBA color channels, each color channel has a corresponding pixel value, an R channel represents red, a G channel represents green, a B channel represents blue, an A channel represents transparency, and the pixel values of R, G and the B channel are integers from 0 to 255 and respectively represent a red component, a green component and a blue component in the color. The pixel value of the channel A is 0-1, which represents the transparency.
In the embodiment of the present invention, a getImage function of canvas may be adopted to obtain a transparency value of a user information image, that is, a pixel value of an a channel of each pixel point, and then a pixel value of at least one target color channel in a target image is adjusted according to the transparency value of the user information image to obtain a response image, so that user information is stored in the target color channel, and user information can be obtained reversely through the pixel value of the target color channel subsequently. The target color channel may be one or more of R, G, B three channels, such as a single channel, e.g., R channel, G channel, or B channel, a dual channel, e.g., R channel and G channel, or R, G, B three channels. When adjusting the pixel value of the target picture, the sequence of the distortion degrees of the pictures is as follows: the single channel is less than the double channels and less than the three channels, that is to say, the distortion degree of the target picture can be minimized by adjusting the pixel value of the single channel, the distortion degree of the target picture can be larger by adjusting the pixel value of the double channels or the three channels, but the change of the target picture is difficult to be perceived by naked eyes, the difficulty of cracking user information can be improved by adjusting the pixel value of the double channels or the three channels, and the safety of the picture copyright is improved.
When the user information image and the target picture are combined, the overlapping position of the user information image on the target picture can be firstly determined, and the target picture can be divided into one or more overlapping areas, wherein the size of at least one overlapping area is larger than that of the user information image, so that the user information is added on the target picture as dark watermark. The user information image and the plurality of overlapping areas are overlapped, so that the user information is added to a plurality of overlapping positions of the target picture to obtain the response picture, the user information can be obtained from the cut response picture even if the response picture is cut, and the protection of the picture copyright information is enhanced.
After the superposition position of the user information image on the target picture is determined, the pixel point of the target picture corresponding to each pixel point of the user information image can be determined, so that the transparency value can be determined according to the pixel value of the channel A of each pixel point of the user information image, the pixel value of the target color channel of the corresponding pixel point of the target picture is determined according to the transparency value, and the user information is added to the target picture as a dark watermark to obtain a response picture.
In an implementation manner of the embodiment of the present invention, as shown in fig. 3, the transparency value of each pixel point in the user information image is a first numerical value or a second numerical value; according to the transparency value, adjusting the pixel value of the target color channel of the corresponding pixel point in the target picture, including:
traversing the transparency value of each pixel point of the user information image and the pixel value of a target color channel of the corresponding pixel point in the target image;
when the transparency value is a first numerical value, adjusting the pixel value of a corresponding pixel point in the target picture in the target color channel to be a first type numerical value;
and when the transparency value is a second numerical value, adjusting the pixel value of the corresponding pixel point in the target picture in the target color channel to be a second type numerical value.
In the embodiment of the present invention, the transparency value of the pixel point of the user information image is the first numerical value or the second numerical value, that is, the pixel point containing the user information image is the pixel point whose transparency value is the first numerical value or the pixel point whose transparency value is the second numerical value, and the pixel value of the target color channel is adjusted to the first type numerical value or the second type numerical value according to different transparency values, so that the target color channels with different pixel values contain the user information, thereby facilitating the subsequent acquisition of the user information from the response image.
In an optional implementation manner, if the background color of the user information image is white, the user information is black (or other colors), when the first numerical value is 1 (black) and the second numerical value is 0 (white), and when the transparency value of the pixel point of the user information image is the first numerical value, the target color channel in which the pixel value of the pixel point corresponding to the target image is the first type numerical value contains the user information, and the pixel value of the pixel point corresponding to the target image is the second type target color channel and does not contain the user information; if the background color of the user information image is black (or other colors), the user information is white, when the first numerical value is 1 (black) and the second numerical value is 0 (white), when the transparency value of the pixel point of the user information image is the first numerical value, the target color channel with the pixel value of the first type numerical value in the target color channel of the pixel point corresponding to the target image does not contain the user information, and the target color channel with the pixel value of the second type numerical value in the target color channel of the pixel point corresponding to the target image contains the user information.
And respectively adjusting the pixel value of the target color channel into a first type value and a second type value according to the transparency value of each pixel point of the traversal user information image and the pixel value of the target color channel of the corresponding pixel point in the target image, wherein optionally, the first type value or the second type value is different.
In the embodiment of the present invention, adjusting the pixel value of the target color channel of the corresponding pixel point in the target picture to the first type value or the second type value includes: and subtracting a preset value from the pixel value of the target color channel, wherein the preset value can be a positive integer, a negative integer or 0. Alternatively, the absolute value of the preset value is smaller than the preset threshold, the preset threshold may be a positive integer smaller than 20 or even smaller than 10, and the setting of the absolute value of the preset value smaller than the preset threshold may reduce the distortion of the target picture, for example, when the preset threshold is 5, the preset value may be any one of 0, 1, -1, 2, -2, 3, -3, 4 and 4.
In the embodiment of the present invention, before subtracting the preset value from the pixel value of the target color channel, it is determined whether the pixel value of the target color channel after subtracting the preset value is less than 0, if so, the pixel value of the target color channel is subtracted by an inverse number of the preset value (or an absolute value of the preset value is added), otherwise, the pixel value of the target color channel is subtracted by the preset value.
For example, when the background color of the user information image is white and the user information image is black, when the pixel value (transparency value) of the a channel of the pixel point of the user information image is a first numerical value (for example, 0), 1 is added to the pixel value of the R channel of the corresponding pixel point of the target picture; when the pixel value (transparency value) of the channel a of the pixel point of the user information image is a second numerical value (for example, 1), 3 is added to the pixel value of the channel R of the corresponding pixel point of the target picture, so that the channel R of the pixel value of the corresponding pixel point of the target picture added with 3 includes the user information.
In an optional implementation manner of the embodiment of the present invention, the first type value is an even number, and the second type value is an odd number; alternatively, the first type value is an odd number and the second type value is an even number. By obtaining the transparency value of the user information image and adjusting the pixel value of the corresponding pixel point in the target image in the target color channel into an even number and an odd number respectively according to whether the transparency value is a first numerical value or a second numerical value, the user information is stored in the target color channel of the pixel value of the odd number or the even number.
According to an embodiment of the present invention, after generating a response picture corresponding to the picture obtaining request, the method further includes: responding to a user information acquisition request, and acquiring a pixel value of the target color channel in each pixel point of a response picture;
when the pixel value of the target color channel is a first type numerical value, determining the transparency value of a corresponding pixel point in the user information image as a first numerical value;
when the pixel value of the target color channel is a second type numerical value, determining the transparency value of the corresponding pixel point in the user information image as a second numerical value;
determining a user information image according to the transparency value of each pixel point of the user information image as a first numerical value or a second numerical value, and acquiring the user information according to the user information image.
Traversing the pixel value of the target color channel of each pixel point in the response picture after receiving the user information acquisition request according to the response picture, judging whether the transparency value of the pixel point of the user information image corresponding to the pixel point of the response picture is a first numerical value or a second numerical value according to whether the pixel value of the target color channel of each pixel point is a first numerical value or a second numerical value, thereby determining the user information image and further acquiring the user information, determining the transparency value of the corresponding pixel point to be the first numerical value when the pixel value of the response picture in the target color channel is the first numerical value, determining the transparency value of the corresponding pixel point to be the second numerical value when the pixel value of the response picture in the target color channel is the second numerical value, and acquiring the user information image after determining the transparency value of the corresponding pixel point in the user information image, thereby obtaining user information. For example, when the response picture is generated, if the transparency value is 1, the pixel value of the target color channel is even, and if the transparency value is 0, the pixel value of the target color channel is odd; and when the user information is acquired through the response picture, acquiring the pixel value of the target color channel, wherein the transparency value is 1 when the pixel value of the target color channel is an even number, the transparency value is 0 when the pixel value of the target color channel is an odd number, and the user information image is acquired according to the transparency values of the corresponding pixel points of 1 and 0, so that the user information is acquired.
By carrying out reverse operation processing on the response picture, the user information can be obtained from the response picture, and the response picture is favorably traced. The process of acquiring the user information from the response picture is opposite to the process of adding the user information to the target picture to generate the response picture. Firstly, a pixel value of a target color channel of each pixel point of a response picture is obtained, if the superposition position of the user information image on the target picture is a partial superposition region of the target picture, only the pixel value of the target color channel of each pixel point of the corresponding partial superposition region on the response picture can be obtained, the transparency value of the user information image of the corresponding pixel point is determined according to the pixel value of the target color channel of each pixel point in the response picture, the user information image is obtained according to the transparency value of each pixel point of the user information image, and therefore the user information is obtained.
In an optional implementation manner of the embodiment of the present invention, as shown in fig. 4, when the first type value is an even number and the second type value is an odd number, adjusting the pixel value of the target color channel of the corresponding pixel point in the target picture to the first type value includes:
judging whether the pixel value of the corresponding pixel point in the target picture in the target color channel is an even number;
if so, keeping the pixel value of the corresponding pixel point in the target picture in the target color channel unchanged;
if not, judging whether the pixel value of the corresponding pixel point in the target picture is less than 0 after subtracting a preset odd number from the pixel value of the target color channel; if so, adding the preset odd number to the pixel value of the corresponding pixel point in the target color channel in the target picture; and if not, subtracting the preset odd number from the pixel value of the corresponding pixel point in the target color channel in the target picture. Optionally, the absolute value of the preset odd number is not greater than the preset threshold.
In the embodiment of the invention, when the first type numerical value is an even number and the second type numerical value is an odd number, the pixel value of the target color channel is adjusted to be the even number, and then whether the pixel value of the target color channel is the even number is judged, if so, the pixel value of the corresponding pixel point in the target image in the target color channel is kept unchanged; if not, judging whether the pixel value of the target color channel (such as an R channel) is less than 0 after subtracting a preset odd number, if so, adding the preset odd number to the pixel value of the target color channel, otherwise, subtracting the preset odd number from the pixel value of the target color channel to obtain a first type value; in order to reduce the distortion of the target picture, optionally, the preset threshold is a positive integer smaller than 10, for example, when the preset threshold is 5, the preset odd number may be 1, 3, or 5, and the pixel value of the target color channel is adjusted to be an even number, for example, if the pixel value of the target color channel is 1, and is smaller than 0 after subtracting the preset odd number 3, and is not in compliance with the requirement, the preset odd number 3 is added to the pixel value of the target color channel, that is, the preset odd number is adjusted to be 4.
In an optional implementation manner of the embodiment of the present invention, when the first type value is an odd number and the second type value is an even number, adjusting a pixel value of a corresponding pixel point in the target picture in the target color channel to the second type value includes:
judging whether the pixel value of the corresponding pixel point in the target picture in the target color channel is an even number;
if so, keeping the pixel value of the corresponding pixel point in the target picture in the target color channel unchanged;
if not, judging whether the pixel value of the corresponding pixel point in the target picture is less than 0 after subtracting a preset odd number from the pixel value of the target color channel; if so, adding the preset odd number to the pixel value of the corresponding pixel point in the target color channel in the target picture; and if not, subtracting the preset odd number from the pixel value of the corresponding pixel point in the target color channel in the target picture.
In the embodiment of the present invention, when the pixel value of the target color channel is adjusted to be an odd number, determining whether the pixel value of the target color channel is an odd number, if so, keeping the pixel value of the target color channel unchanged, if not, determining whether the pixel value of the target color channel (e.g., R channel) is less than 0 after subtracting the preset odd number, if so, adding the preset odd number to the pixel value of the target color channel, otherwise, subtracting the preset odd number from the pixel value of the target color channel to obtain a first type number value; the absolute value of the preset odd number is not greater than a preset threshold, the preset odd number may be a positive odd number or a negative odd number, optionally, the preset odd number is a positive odd number, the preset threshold is a positive integer smaller than 20, and in order to reduce the distortion of the target picture, the preset threshold is a positive integer smaller than 10, for example, when the preset threshold is 5, the preset odd number may be 1, 3, or 5, and the pixel value of the pixel point corresponding to the target picture in the target color channel is adjusted to be an odd number, and if the pixel value of the target color channel is 2, the pixel value is smaller than 0 after subtracting the preset odd number 3, and the pixel value of the target color channel is not satisfactory, the preset odd number is added to the pixel value of the target color channel, that is, the pixel value is adjusted to be 5.
In the embodiment of the invention, a canvas is used to generate a user information image and a response picture according to user information. The user information image and the target picture acquire pixel values of the pixel values through canvas, so that the user information image and the target picture are combined to obtain a response picture.
In the embodiment of the present invention, after adjusting the pixel value of the target color channel of the target picture according to the transparency value of the user information image, merging the user information image and the target picture to generate a response picture, wherein generating the response picture corresponding to the picture request includes: and converting the combined image into a buffer object, and storing the buffer object as a response picture.
The server side returns the generated response picture to the client side, the client side stores the response picture in a local memory after receiving the response picture, for example, the browser side stores the response picture in a browser cache, when the user sends a picture acquisition request of the target picture again, the client side can directly load the response picture from the local memory, and the loading speed of the response picture can be improved by storing the response picture in the local memory of the client side, so that the user experience is improved; meanwhile, redundant network data transmission can be reduced, website flow is saved, server burden is reduced, and requests processed by the server are reduced.
An expiration date may be set for the storage time of the response picture in the local storage, a cache-control field of the response header may be set during storage, and a maximum value max-age of the expiration date is set to a larger value, for example, the maximum value max-age is set to 31536000, which is set to be a second unit, that is, the unit is expired after 31536000/60/60/24-365 days, so that the response picture may be directly loaded from the client without being regenerated in a longer time.
The method for managing the picture resources, provided by the embodiment of the invention, comprises the following steps:
step 1: drawing user information into a user information image by using canvas, and acquiring a transparency value of the user information image by using getImageData API;
step 2: image is adopted to construct an image variable img;
and step 3: assigning the address (src attribute) of img as a target picture;
and 4, step 4: drawing the target picture onto the canvas by adopting a drawImage API of the canvas;
and 5: adopting getImageData API of canvas to obtain a pixel value of a target color channel of a pixel of a target picture;
step 6: adjusting the pixel value of a pixel point corresponding to the target picture in a target color channel according to the transparency value, adjusting the pixel value of the target color channel to be an even number when the transparency value is 1, and adjusting the pixel value of the target color channel to be an odd number when the transparency value is 0 so as to merge the user information image and the target picture to obtain a merged image;
and 7: converting the combined image into base64 picture coding by adopting the todataURL API of canvas;
and 8: replace "data: image/jpeg in base64 encoding; base64 "is an empty string;
and step 9: replacing the character string with a Buffer object by using a Buffer;
step 10: saving the buffer object as a response picture by adopting a writeFile API and outputting the response picture to a specified directory;
step 11: and returning the response picture to the client.
When the user information is obtained according to the response picture, the picture resource management method further comprises the following steps:
step 12: responding to a user information acquisition request aiming at the response picture, and acquiring a pixel value of a target color channel in each pixel point of the response picture;
step 13: obtaining the transparency value of a corresponding pixel point of the user information image according to the pixel value of the target color channel, determining that the transparency value of the corresponding pixel point of the user information image is 1 when the pixel value of the target color channel is an even number, and determining that the transparency value of the corresponding pixel point of the user information image is 0 when the pixel value of the target color channel is an odd number;
step 14: and determining a user information image according to the transparency value to acquire user information.
The method for managing the picture resources, provided by the embodiment of the invention, acquires the user information from the picture acquisition request, generates the user information image from the user information, merges the user information image and the target picture indicated by the picture acquisition request, and generates the response picture corresponding to the picture acquisition request. The merging algorithm is flexible and configurable, so that the user information is stored in the target color channel, and the user information can be conveniently reversely acquired from the response picture. By adding the user information to the target picture in a dark watermark mode, the protection of the copyright information of the picture can be well realized, the display effect of the picture is not influenced, and the tracing of the picture is facilitated; by configuring the attribute and the validity period of the cookie, the user information can be effectively prevented from being tampered, and the generated response picture is stored in the client by using a cache mechanism of the client, so that the loading speed is increased, and the user experience is further improved.
According to another aspect of the embodiments of the present invention, as shown in fig. 5, there is provided an apparatus 500 for picture resource management, including:
the acquiring module 501 analyzes user information and a target picture identifier from a picture acquiring request of a user;
a generating module 502 for generating a user information image according to the user information;
the merging module 503 acquires a target picture according to the target picture identifier, merges the user information image with the target picture, and generates a response picture corresponding to the picture acquisition request.
In this embodiment of the present invention, the obtaining module 501 is further configured to: receiving a picture acquisition request of a user for a target picture, wherein the picture acquisition request indicates a target picture identifier, and a cookie of a request header of the picture acquisition request comprises user information.
In this embodiment of the present invention, the obtaining module 501 is further configured to: receiving a login request of a user, wherein the login request comprises login information of the user; verifying whether the login information is valid; if so, returning a result of successful verification, wherein the cookie of the response head of the result of successful verification comprises the user information.
In this embodiment of the present invention, the generating module 502 is further configured to: encrypting the user information to obtain encrypted information; and generating a user information image according to the encrypted information.
In this embodiment of the present invention, the merging module 503 is further configured to: determining a transparency value of the user information image; and adjusting the pixel value of at least one target color channel of the corresponding pixel point in the target picture according to the transparency value to obtain a response picture.
In this embodiment of the present invention, the transparency value of each pixel point in the user information image is a first numerical value or a second numerical value, and the merging module 503 is further configured to: traversing the transparency value of each pixel point of the user information image and the pixel value of a target color channel of the corresponding pixel point in the target image; when the transparency value is a first numerical value, adjusting the pixel value of a corresponding pixel point in the target picture in the target color channel to be a first type numerical value; and when the transparency value is a second numerical value, adjusting the pixel value of the corresponding pixel point in the target picture in the target color channel to be a second type numerical value.
In this embodiment of the present invention, the merging module 503 is further configured to: judging whether the pixel value of the corresponding pixel point in the target color channel in the target picture is an even number; if so, keeping the pixel value of the corresponding pixel point in the target picture in the target color channel unchanged; if not, judging whether the pixel value of the corresponding pixel point in the target picture is less than 0 after subtracting the preset odd number from the pixel value of the target color channel; if so, adding a preset odd number to the pixel value of the corresponding pixel point in the target color channel in the target picture; and if not, subtracting the preset odd number from the pixel value of the corresponding pixel point in the target color channel in the target picture.
In this embodiment of the present invention, the merging module 503 is further configured to: and converting the combined image into a buffer object, and storing the buffer object as a response picture.
In the embodiment of the present invention, the apparatus for managing picture resources further includes: the analysis module is used for responding to the user information acquisition request and acquiring the pixel value of a target color channel in each pixel point of the response picture; when the pixel value of the target color channel is a first type numerical value, determining the transparency value of a corresponding pixel point in the user information image as a first numerical value; when the pixel value of the target color channel is a second type numerical value, determining the transparency value of the corresponding pixel point in the user information image as a second numerical value; and determining the user information image according to the transparency value of each pixel point of the user information image as the first numerical value or the second numerical value, and acquiring the user information according to the user information image.
Fig. 6 shows an exemplary system architecture 600 of a picture resource management method or a picture resource management apparatus to which an embodiment of the present invention may be applied.
As shown in fig. 6, the system architecture 600 may include terminal devices 601, 602, 603, a network 604, and a server 605. The network 604 serves to provide a medium for communication links between the terminal devices 601, 602, 603 and the server 605. Network 604 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 601, 602, 603 to interact with the server 605 via the network 604 to receive or send messages or the like. The terminal devices 601, 602, 603 may have installed thereon various communication client applications, such as shopping applications, web browser applications, search applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 601, 602, 603 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 605 may be a server providing various services, such as a background management server (for example only) providing support for intranet sites browsed by users using the terminal devices 601, 602, 603. The backend management server may analyze and perform other processing on the received data such as the picture acquisition request, and feed back a processing result (for example, a response picture — just an example) to the terminal device.
It should be noted that the method for managing picture resources provided by the embodiment of the present invention is generally executed by the server 605, and accordingly, the apparatus for managing picture resources is generally disposed in the server 605.
It should be understood that the number of terminal devices, networks, and servers in fig. 6 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 7, shown is a block diagram of a computer system 700 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 701.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes an acquisition module, a generation module, and a merge module. The names of these modules do not limit the module itself in some cases, and for example, the obtaining module may also be described as a "module for resolving the user information and the target picture identifier from the user's picture obtaining request".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: analyzing user information and a target picture identification from a picture acquisition request of a user; generating a user information image according to the user information; and acquiring a target picture according to the target picture identification, merging the user information image and the target picture, and generating a response picture corresponding to the picture acquisition request.
According to the technical scheme of the embodiment of the invention, the user information is acquired from the picture acquisition request, the user information is generated into a user information image, the user information image is merged with the target picture indicated by the picture acquisition request, and a response picture corresponding to the picture acquisition request is generated. The merging algorithm is flexible and configurable, so that the user information is stored in the target color channel, and the user information can be conveniently reversely acquired from the response picture. By adding the user information to the target picture in a dark watermark mode, the protection of the copyright information of the picture can be well realized, the display effect of the picture is not influenced, and the tracing of the picture is facilitated; by configuring the attribute and the validity period of the cookie, the user information can be effectively prevented from being tampered, and the generated response picture is stored in the client by using a cache mechanism of the client, so that the loading speed is increased, and the user experience is further improved.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (15)

1. A method for picture resource management, comprising:
analyzing user information and a target picture identification from a picture acquisition request of a user;
generating a user information image according to the user information;
and acquiring a target picture according to the target picture identification, merging the user information image and the target picture, and generating a response picture corresponding to the picture acquisition request.
2. The method of claim 1, wherein merging the user information image with the target picture to generate a response picture corresponding to the picture acquisition request comprises:
determining a transparency value of the user information image;
and adjusting the pixel value of the target color channel of the corresponding pixel point in the target picture according to the transparency value to obtain the response picture.
3. The method according to claim 2, wherein the transparency value of each pixel point in the user information image is a first numerical value or a second numerical value; adjusting the pixel value of the target color channel of the corresponding pixel point in the target picture according to the transparency value, including:
traversing the transparency value of each pixel point of the user information image and the pixel value of the target color channel of the corresponding pixel point in the target image;
when the transparency value is a first numerical value, adjusting the pixel value of the corresponding pixel point in the target picture in the target color channel to be a first type numerical value;
and when the transparency value is a second numerical value, adjusting the pixel value of the corresponding pixel point in the target picture in the target color channel to be a second type numerical value.
4. A method as claimed in claim 3, characterized in that the values of the first type are even and the values of the second type are odd.
5. The method of claim 4, wherein adjusting the pixel value of the corresponding pixel point in the target picture in the target color channel to a first type value comprises:
judging whether the pixel value of the corresponding pixel point in the target picture in the target color channel is an even number;
if so, keeping the pixel value of the corresponding pixel point in the target picture in the target color channel unchanged;
if not, judging whether the pixel value of the corresponding pixel point in the target picture is less than 0 after subtracting a preset odd number from the pixel value of the target color channel; if so, adding the preset odd number to the pixel value of the corresponding pixel point in the target color channel in the target picture; and if not, subtracting the preset odd number from the pixel value of the corresponding pixel point in the target color channel in the target picture.
6. The method of claim 5, wherein the absolute value of the preset odd number is not greater than a preset threshold.
7. The method according to claim 3, further comprising, after generating a response picture corresponding to the picture acquisition request:
responding to a user information acquisition request, and acquiring a pixel value of the target color channel in each pixel point of the response picture;
when the pixel value of the target color channel is a first type numerical value, determining the transparency value of a corresponding pixel point in the user information image as a first numerical value;
when the pixel value of the target color channel is a second type numerical value, determining that the transparency value of a corresponding pixel point in the user information image is a second numerical value;
and determining the user information image according to the transparency value of each pixel point of the user information image as a first numerical value or a second numerical value, and acquiring the user information according to the user information image.
8. The method of claim 1, before parsing the user information and the target picture identifier from the picture acquisition request of the user, further comprising:
receiving a picture acquisition request of a user for the target picture, wherein the picture acquisition request indicates the target picture identification, and a cookie of a request header of the picture acquisition request comprises the user information.
9. The method according to claim 8, before receiving a picture acquisition request of a user for the target picture, further comprising:
receiving a login request of a user, wherein the login request comprises login information of the user;
and returning a successful verification result according to the valid verification result of the login information, wherein the cookie of the response head of the successful verification result comprises the user information.
10. The method of claim 1, wherein the user information image and the response picture are generated using canvas.
11. The method of claim 1, wherein generating a user information image from the user information comprises:
encrypting the user information to obtain encrypted information;
and generating the user information image according to the encrypted information.
12. The method of claim 1, wherein generating the response picture corresponding to the picture acquisition request comprises:
and converting the combined image into a buffer object, and storing the buffer object as the response picture.
13. An apparatus for picture resource management, comprising:
the acquisition module analyzes the user information and the target picture identification from the picture acquisition request of the user;
the generating module generates a user information image according to the user information;
and the merging module is used for acquiring a target picture according to the target picture identification, merging the user information image and the target picture and generating a response picture corresponding to the picture acquisition request.
14. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-12.
15. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-12.
CN202110653908.2A 2021-06-11 2021-06-11 Method and device for managing picture resources Pending CN113240568A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110653908.2A CN113240568A (en) 2021-06-11 2021-06-11 Method and device for managing picture resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110653908.2A CN113240568A (en) 2021-06-11 2021-06-11 Method and device for managing picture resources

Publications (1)

Publication Number Publication Date
CN113240568A true CN113240568A (en) 2021-08-10

Family

ID=77139646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110653908.2A Pending CN113240568A (en) 2021-06-11 2021-06-11 Method and device for managing picture resources

Country Status (1)

Country Link
CN (1) CN113240568A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015696A1 (en) * 2002-07-22 2004-01-22 Xerox Corporation System and method for authentication of JPEG image data
CN110149535A (en) * 2019-05-16 2019-08-20 北京小米移动软件有限公司 Image management method and device, storage medium
CN112433713A (en) * 2020-11-30 2021-03-02 建信金融科技有限责任公司 Application program design graph processing method and device
CN113014609A (en) * 2019-12-19 2021-06-22 浙江宇视科技有限公司 Multimedia file processing and tracing method, device, equipment and medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015696A1 (en) * 2002-07-22 2004-01-22 Xerox Corporation System and method for authentication of JPEG image data
CN110149535A (en) * 2019-05-16 2019-08-20 北京小米移动软件有限公司 Image management method and device, storage medium
CN113014609A (en) * 2019-12-19 2021-06-22 浙江宇视科技有限公司 Multimedia file processing and tracing method, device, equipment and medium
CN112433713A (en) * 2020-11-30 2021-03-02 建信金融科技有限责任公司 Application program design graph processing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
薛辉等: "基于像素点灰度值奇偶性的数字图像水印方案", 《计算机应用研究》, no. 12, 31 December 2006 (2006-12-31), pages 0 - 3 *
谭秀湖等: "《数字水印算法研究和应用》", 北京:中国广播电视出版社, pages: 2 *

Similar Documents

Publication Publication Date Title
US11741185B1 (en) Managing content uploads
US11270007B2 (en) Systems and methods for embedding data in remote session displays
US8909933B2 (en) Decoupled cryptographic schemes using a visual channel
CN110933118A (en) Edge computing gateway secure communication method, system, terminal equipment and server
CN109067739B (en) Communication data encryption method and device
US11212325B2 (en) Collaborative browsing service using a cloud-based browser
EP3864826B1 (en) Systems and methods for traffic optimization via system on chip of intermediary device
CN112650456A (en) Printing method and device and electronic equipment
CN112866225A (en) Authentication method, authentication device, electronic device, and storage medium
CN116076055A (en) Method and system for verifying user identification
CN117542543A (en) Video file processing method, device, electronic equipment and computer readable medium
CN109388447B (en) Interface drawing and image processing method and device, terminal and server
CN113240568A (en) Method and device for managing picture resources
CN112399027A (en) Picture encryption and decryption method and device, storage medium and electronic equipment
CN109302287B (en) Message forwarding method and system
CN115296881A (en) Information acquisition method and device, electronic equipment and computer readable medium
CN109766703B (en) Information processing system, method and device
CN117354018A (en) Data encryption method, data decryption method, device, electronic equipment and medium
CN115630249A (en) Service processing method and device, electronic equipment and computer readable medium
CN117896153A (en) Data processing method, apparatus, device, medium, and program product
CN113111278A (en) Picture processing method and device
CN114036497A (en) Platform access method, system, medium and electronic device
CN114546959A (en) File processing method and device
CN113067997A (en) Method and device for real-time video call
CN113449314A (en) Data processing method and device

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