CN109427031A - A kind of data processing method and equipment - Google Patents
A kind of data processing method and equipment Download PDFInfo
- Publication number
- CN109427031A CN109427031A CN201710724353.XA CN201710724353A CN109427031A CN 109427031 A CN109427031 A CN 109427031A CN 201710724353 A CN201710724353 A CN 201710724353A CN 109427031 A CN109427031 A CN 109427031A
- Authority
- CN
- China
- Prior art keywords
- watermark
- information
- determining
- data
- content
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 33
- 238000000034 method Methods 0.000 claims description 18
- 238000009877 rendering Methods 0.000 claims description 15
- 230000008859 change Effects 0.000 abstract description 8
- 230000002123 temporal effect Effects 0.000 abstract 2
- 241001269238 Data Species 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 18
- 238000003860 storage Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 230000000694 effects Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 238000009826 distribution Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/0021—Image watermarking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Image Processing (AREA)
Abstract
This application discloses a kind of data processing method and equipment, comprising: when receiving the watermark data acquisition request comprising location information and/or temporal information that client is sent, can determine the watermark content according to the positional information and/or the temporal information;And according to the watermark content, watermark data is generated;The watermark data is sent to the client, the client is made in the watermark data embedded images information and display will to be rendered.In this way, the watermark data acquisition request sent for different clients, server can determine different watermark datas, dynamically issue watermark data, realize the dynamic change of watermark content and/or watermark template, the watermark data for meeting user demand can be issued for different users, reach the difference of watermark used in the image information of different user, and watermark used in the different images information of identical user is different, effectively improves user to the user experience of watermark service provided by application platform.
Description
Technical Field
The present application relates to the field of internet information processing technologies and computer technologies, and in particular, to a data processing method and device.
Background
Watermarking is used as a protection means of digital information. It can be understood that some digital information is added to digital multimedia (e.g. image, sound, video signal, etc.) to achieve authenticity identification, copyright protection, etc. of the digital multimedia. In general, watermark information is hidden in a host (e.g., digital multimedia) file, and does not affect the objectivity and integrity of the host file.
At present, ways to add watermark information in digital multimedia include, but are not limited to, the following:
the first mode is as follows: when the digital multimedia is released in the application platform, the pre-configured watermark content and the watermark display template are searched, and the watermark content is embedded in the digital multimedia according to the watermark display template.
That is, in the development stage of the application platform, the watermark content and the watermark display template are predetermined, which means that the digital multimedia distributed in the application platform will use the predetermined watermark content and watermark template at the time of distribution.
However, since the watermark content and the watermark template provided by the first method are relatively fixed, it is not possible to change or replace the watermark content and/or the watermark template according to actual requirements.
The second mode is as follows: watermarks are embedded in digital multimedia using a watermarking camera (Insta Place).
Specifically, when the watermark camera is used to collect an image, the current position is located, watermark content including the position information can be generated according to the current position, and the watermark content is embedded into the collected image. In this way, the image output by the watermark camera contains watermark content.
Compared with the first mode, although the second mode realizes the dynamic change of the watermark content based on the position, the mode still cannot meet the user requirement, so that the user experience of the user on the watermark service provided by the application platform is poor.
Disclosure of Invention
In view of this, embodiments of the present application provide a data processing method and device, which are used to solve the problem in the prior art that user experience of a watermark service provided by an application platform is relatively poor.
An embodiment of the present application provides a data processing method, including:
receiving a watermark data acquisition request sent by a client, wherein the watermark data acquisition request comprises position information and/or time information;
determining the watermark content according to the position information and/or the time information;
generating watermark data according to the watermark content;
and sending the watermark data to the client, so that the client embeds the watermark data into image information and renders and displays the image information.
An embodiment of the present application further provides a data processing method, including:
receiving an image processing request sent by a user, wherein the image processing request comprises image information;
determining position information and/or time information according to the image processing request;
sending a watermark data acquisition request to a server, wherein the watermark acquisition request comprises the position information and/or the time information;
receiving watermark data sent by the server, and embedding watermark content contained in the watermark data into the image information;
rendering the image information containing the watermark content, and displaying the image information.
An embodiment of the present application further provides a data processing method, including:
acquiring image information;
determining position information and/or time information, and determining watermark data according to the position information and/or the time information;
and embedding watermark content contained in the watermark data into the image information.
An embodiment of the present application further provides a data processing apparatus, including:
the receiving unit is used for receiving a watermark data acquisition request sent by a client, wherein the watermark data acquisition request comprises position information and/or time information;
the processing unit is used for determining the watermark content according to the position information and/or the time information; generating watermark data according to the watermark content;
and the sending unit is used for sending the watermark data to the client, so that the client embeds the watermark data into image information and renders and displays the image information.
An embodiment of the present application further provides a data processing apparatus, including:
the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving an image processing request sent by a user, and the image processing request comprises image information;
the processing unit is used for determining position information and/or time information according to the image processing request;
the sending unit is used for sending a watermark data acquisition request to a server, wherein the watermark acquisition request comprises the position information and/or the time information;
the receiving unit is used for receiving the watermark data sent by the server;
the processing unit embeds watermark content contained in the watermark data into the image information, renders the image information containing the watermark content, and displays the image information.
An embodiment of the present application further provides a data processing apparatus, including:
an acquisition unit that acquires image information;
the determining unit is used for determining position information and/or time information and determining watermark data according to the position information and/or the time information;
and the processing unit is used for embedding the watermark content contained in the watermark data into the image information.
An embodiment of the present application further provides a data processing apparatus, including: at least one memory and at least one processor, wherein the memory stores a program and is configured to perform, by the at least one processor, the steps of:
receiving a watermark data acquisition request sent by a client, wherein the watermark data acquisition request comprises position information and/or time information;
determining the watermark content according to the position information and/or the time information;
generating watermark data according to the watermark content;
and sending the watermark data to the client, so that the client embeds the watermark data into image information and renders and displays the image information.
An embodiment of the present application further provides a data processing apparatus, including: at least one memory and at least one processor, wherein the memory stores a program and is configured to perform, by the at least one processor, the steps of:
receiving an image processing request sent by a user, wherein the image processing request comprises image information;
determining position information and/or time information according to the image processing request;
sending a watermark data acquisition request to a server, wherein the watermark acquisition request comprises the position information and/or the time information;
receiving watermark data sent by the server, and embedding watermark content contained in the watermark data into the image information;
rendering the image information containing the watermark content, and displaying the image information.
An embodiment of the present application further provides a data processing apparatus, including: at least one memory and at least one processor, wherein the memory stores a program and is configured to perform, by the at least one processor, the steps of:
acquiring image information;
determining position information and/or time information, and determining watermark data according to the position information and/or the time information;
and embedding watermark content contained in the watermark data into the image information.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects:
in the technical solution provided in the embodiment of the present application, when receiving a watermark data acquisition request including location information and/or time information sent by a client, the watermark content may be determined according to the location information and/or the time information; generating watermark data according to the watermark content; and sending the watermark data to the client, so that the client embeds the watermark data into image information and renders and displays the image information. Therefore, aiming at the watermark data acquisition requests sent by different clients, the server can determine different watermark data and dynamically issue the watermark data to realize the dynamic change of the watermark content and/or the watermark template, namely the watermark data meeting the requirements of users can be issued for different users, the purpose that the watermarks used by the image information of different users are different and the watermarks used by the different image information of the same user are different is achieved, and the user experience of the user on the watermark service provided by the application platform is effectively improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 3 is a schematic diagram of an image information publishing interface provided in an embodiment of the present application;
fig. 4 is a schematic diagram of an image information publishing interface provided in an embodiment of the present application;
fig. 5 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 8 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application.
Detailed Description
In order to achieve the purpose of the present application, embodiments of the present application provide a data processing method and device, where when receiving a watermark data acquisition request that includes location information and/or time information and is sent by a client, the watermark content may be determined according to the location information and/or the time information; generating watermark data according to the watermark content; and sending the watermark data to the client, so that the client embeds the watermark data into image information and renders and displays the image information. Therefore, aiming at the watermark data acquisition requests sent by different clients, the server can determine different watermark data and dynamically issue the watermark data to realize the dynamic change of the watermark content and/or the watermark template, namely the watermark data meeting the requirements of users can be issued for different users, the purpose that the watermarks used by the image information of different users are different and the watermarks used by the different image information of the same user are different is achieved, and the user experience of the user on the watermark service provided by the application platform is effectively improved.
It should be noted that the data processing device described in the embodiment of the present application may also be applied to a scenario of publishing advertisement information, that is, when publishing image information matched with advertisement information as a service content, the advertisement information is embedded in the image information as a watermark content to be published, so that a user viewing the image information can also view the advertisement information, thereby achieving promotion of the advertisement information.
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a data processing method according to an embodiment of the present application. The method may be as follows.
Step 101: receiving a watermark data acquisition request sent by a client, wherein the watermark data acquisition request comprises position information and/or time information.
In the embodiment of the application, the client can send a watermark data acquisition request to the server when receiving an image information publishing request sent by a user; or sending a watermark data acquisition request to the server when detecting that the user acquires the image information by using the acquisition function of the client, which is not specifically limited herein.
When the client sends a watermark data acquisition request to the server, the position of the client is determined in a positioning mode, and position information corresponding to the position is carried in the watermark data acquisition request and sent to the server.
It should be noted that the location information here may be a location where the located client is located, or may also be a shooting location of the image information to be distributed, for example: the image information is acquired from the Beijing Imperial palace, and the position information contained in the watermark data acquisition request can be the position information corresponding to the Beijing Imperial palace.
The time information here may be time information when the server receives the watermark data acquisition request, and this time information includes year, month, day, hour, minute and second, or may be shooting time of image information to be distributed, for example: the image information is collected in winter of a certain year, and the time information included in the watermark data acquisition request may be winter.
Step 102: and determining the watermark content according to the position information and/or the time information.
In the embodiment of the application, when receiving a watermark data acquisition request sent by a client, a server determines the position characteristics corresponding to the position information according to the position information.
Specifically, the location information may be a POI (point Of interest), so that the server may analyze the location characteristics corresponding to the POI by using different map databases.
Preferably, after obtaining the location characteristic, the server may determine the watermark content according to the location characteristic and/or the time information.
Namely, the server can determine the watermark content according to the position characteristics; or,
the server can determine the watermark content according to the time information; or,
the server can determine the watermark content according to the position characteristic and the time information.
Thus, if the position characteristics are the same and the time information is different, the obtained watermark contents are also different; if the position characteristics are different and the time information is the same, the obtained watermark content is also different.
The time information here may be time information when the server receives the watermark data acquisition request, where the time information includes year, month, day, hour, minute and second, or may be shooting time of image information to be distributed, and is not specifically limited here.
In the embodiment of the application, when receiving a watermark data acquisition request sent by a client, a server determines weather information of a position corresponding to the position information according to the time information.
If the time information is the year, month and day, the determined weather information is the weather information of the position corresponding to the position information meeting the requirement of a certain day, for example: weather information corresponding to the position information is sunny days, cloudy days, rainy days, snow days and the like; if the time information is time, minute and second, the determined weather information is the weather information of the position corresponding to the position information at a certain moment, for example: the weather information corresponding to the position information is morning weather information, noon weather information, afternoon weather information, evening weather information and the like.
Preferably, after obtaining the weather information, the watermark content is determined according to the position information and the weather information and by combining system time.
Therefore, the determined watermark content is different when the position information is different, the weather information is different, and the time information is different.
That is, the watermark contents determined by different position information are different;
and/or the watermark contents determined by different time information are different.
Preferably, in an embodiment of the present application, the method further includes:
when determining the watermark content, different watermark contents may be determined for different service scenarios, that is, if the location information is the same and the time information is the same, the determined watermark contents are also different for different service scenarios.
Specifically, according to image information contained in the watermark data acquisition request, service content associated with the image information is determined, and then according to the position information and the service content, the watermark content is determined; or,
determining the watermark content according to the time information and the service content; or,
and determining the watermark content according to the position characteristic, the time information and the service content.
It should be noted that, for the same service scenario, the service content may be determined according to the service progress, so that the service content determined at different times is also different.
For example: the service scene is the promotion activity of a certain product, so the service content can be the product promotion condition, and the service content determined at the promotion activity starting stage is different from the service content determined at the promotion activity development stage; the business content determined in the development stage of the promotion activity is different from the business content determined in the ending stage of the promotion activity.
That is, the watermark contents determined by different position information are different;
and/or the watermark contents determined by different time information are different;
and/or the watermark contents determined by different service contents are different.
Step 103: and generating watermark data according to the watermark content.
In this embodiment of the present application, the watermark data may include watermark content, and may also include watermark content and a watermark template, where the watermark template is used to characterize one or more of a presentation manner and a presentation position of the watermark content in the host file.
The same watermark template may be used for the same watermark content, or different watermark templates may be used, which is not specifically limited herein.
Preferably, the watermark template is selected by the user himself. The server may push the watermark template to the client in a real-time or periodic manner, or may push the updated watermark template to the client after the watermark template is updated, which is not limited herein. Then, when or after the client receives an image information publishing request sent by a user or detects that the user uses the acquisition function of the client to acquire image information, the watermark template can be displayed to the user, the user selects the used watermark template, and then the client includes the watermark template selected by the user in the watermark data acquisition request sent to the server.
In this way, when receiving a watermark data acquisition request sent by a client, the server generates watermark data according to the watermark content and the watermark template, wherein the watermark data comprises the watermark template and the watermark content.
Preferably, a preset relationship between the watermark content and the watermark template configured in the server may be preset, so that after the server determines the watermark content, the server may obtain the determined watermark template corresponding to the watermark content according to the preset relationship; and generating watermark data according to the watermark content and the watermark template.
Step 104: and sending the watermark data to the client, so that the client embeds the watermark data into image information and renders and displays the image information.
In the embodiment of the application, after determining the watermark data, the server sends the watermark data to the client, so that the client can embed the watermark data into the image information and render and display the image information.
According to the technical scheme provided by the embodiment of the application, when a watermark data acquisition request containing position information and/or time information sent by a client is received, the watermark content can be determined according to the position information and the time information; generating watermark data according to the watermark content; and sending the watermark data to the client, so that the client embeds the watermark data into image information and renders and displays the image information. Therefore, aiming at the watermark data acquisition requests sent by different clients, the server can determine different watermark data and dynamically issue the watermark data to realize the dynamic change of the watermark content and/or the watermark template, namely the watermark data meeting the requirements of users can be issued for different users, the purpose that the watermarks used by the image information of different users are different and the watermarks used by the different image information of the same user are different is achieved, and the user experience of the user on the watermark service provided by the application platform is effectively improved.
If the technical scheme provided by the embodiment of the application is applied to a travel scene, the server can generate different watermark data for the user based on different factors such as the travel destination of the user, the image shooting position, the weather condition of the destination, the image uploading time and the like, so as to achieve the purpose of dynamically adjusting the watermark content.
Fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application. The method may be as follows.
Step 201: receiving an image processing request sent by a user, wherein the image processing request comprises image information.
In the embodiment of the application, when a user needs to publish the shot image information on the application platform, an image processing request can be sent to the client through an interface provided by the application platform.
The image processing request can be understood as an image uploading request, that is, a user needs to upload image information to the server; it can also be understood as an image publishing request, i.e. the user needs to publish image information through an application client, for example: posting travel-related image information, and the like; it can also be understood as an image processing request, i.e. a user needs to add a watermark to certain image information, and so on.
The following description will be given taking an example in which the image processing request is an image information distribution request.
Fig. 3 is a schematic diagram of an image information publishing interface provided in an embodiment of the present application.
As can be seen from fig. 3, the image information distribution interface includes two parts: one part is image information to be issued; another part is descriptive information about the image information that needs to be input by the user, such as: shooting location, shooting time, and the like. The user can send an image information publishing request to the client by clicking the submission control.
Preferably, the client acquires the image information through the acquisition equipment; and if the user touch submission control is detected, determining that an image information issuing request containing the image information sent by the user is received.
Fig. 4 is a schematic diagram of an image information publishing interface provided in an embodiment of the present application.
As can be seen from fig. 4, the client has an acquisition function, and the user can acquire image information through the acquisition device and send an image information publishing request to the client through the touch submission control.
Step 202: and determining position information and/or time information according to the image processing request.
In the embodiment of the present application, if the image processing request is determined in the manner shown in fig. 3, the client determines the shooting position of the image information according to the image information contained in the image processing request. And determining the generation time of the image information according to the image information contained in the image processing request.
If the image processing request is determined in the manner shown in fig. 4, the client determines the position information by the positioning means when receiving the image processing request, and determines the system time when receiving the image processing request.
In this embodiment of the application, the determination manner of the location information may be implemented by a map service center or by other means, and if the location information is determined by the map service center, the map service center may be integrated in the server or may be independent of the server, which is not specifically limited herein.
Step 203: and sending a watermark data acquisition request to a server, wherein the watermark acquisition request comprises the position information and/or the time information.
Step 204: and receiving the watermark data sent by the server.
In this embodiment of the application, the watermark data sent by the server may be determined based on that the watermark acquisition request includes the location information and/or the time information, or may also be determined based on that the watermark template is acquired from a watermark template database and is determined based on that the watermark acquisition request includes the location information and/or the time information, which is not specifically limited herein.
The watermark template database described herein may be integrated in the server, or may be independent of the server, and the generated watermark templates need to be periodically or periodically pushed to the server.
Step 205: and embedding the watermark content contained in the watermark data into the image information to generate the image information containing the watermark content.
In the embodiment of the present application, watermark content included in the watermark data is embedded in the image information; and rendering the image information containing the watermark content through a rendering container, and loading and displaying the image information.
The rendering technology used by the rendering container may be a technology supporting 2D rendering, or a technology supporting 3D rendering, and is not limited in detail here.
Fig. 5 is a schematic flowchart of a data processing method according to an embodiment of the present application. The method may be as follows.
Step 501: the client receives an image information publishing request sent by a user, wherein the image information publishing request comprises image information.
Step 502: and the client determines the position information and/or the time information according to the image information issuing request.
Step 503: and the client sends a watermark data acquisition request to the server, wherein the watermark acquisition request comprises the position information and/or the time information.
Step 504: and the server determines the watermark content according to the position information and/or the time information.
Step 505: and the server generates watermark data according to the watermark content.
Step 506: and the server sends the watermark data to the client.
Step 507: and the client receives the watermark data sent by the server.
Step 508: and the client embeds the watermark content contained in the watermark data into the image information, and renders and displays the image information containing the watermark content.
Fig. 6 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. The data processing apparatus includes: a receiving unit 601, a processing unit 602, and a transmitting unit 603, wherein:
a receiving unit 601, configured to receive a watermark data acquisition request sent by a client, where the watermark data acquisition request includes location information and/or time information;
a processing unit 602, configured to determine the watermark content according to the location information and/or the time information; generating watermark data according to the watermark content;
a sending unit 603, configured to send the watermark data to the client, so that the client embeds the watermark data in image information and renders and displays the image information.
In another embodiment of the present application, the watermark data acquisition request further includes a watermark template selected by a user, and the watermark template includes one or more of a display mode and a display position of the watermark content; the processing unit 603 generates watermark data according to the watermark content, including:
and generating watermark data according to the watermark content and the watermark template, wherein the watermark data comprises the watermark template and the watermark content.
In another embodiment of the present application, the data processing apparatus further comprises: a determination unit 604, wherein:
the determining unit 604 determines, according to the image information included in the watermark data acquisition request, service content associated with the image information;
the processing unit 603 determines the watermark content according to the location information and/or the time information, including:
determining the watermark content according to the position information and the service content; or,
determining the watermark content according to the time information and the service content; or,
and determining the watermark content according to the position characteristic, the time information and the service content.
In another embodiment of the present application, the determining, by the processing unit 603, the watermark content according to the position information and/or the time information includes:
determining weather information of a position corresponding to the position information according to the time information;
and determining the watermark content according to the position information and the weather information and by combining system time.
In another embodiment of the present application, the determining, by the processing unit 603, the watermark content according to the position information and/or the time information includes:
determining a position characteristic corresponding to the position information according to the position information;
and determining the watermark content according to the position characteristics and the time information.
In another embodiment of the present application, the processing unit 603 generates watermark data according to the watermark content, including:
obtaining a watermark template corresponding to the determined watermark content according to a preset relation between the configured watermark content and the watermark template;
and generating watermark data according to the watermark content and the watermark template.
In another embodiment of the present application, the watermark contents determined by different position information are different;
and/or the watermark contents determined by different time information are different.
It should be noted that the data processing device provided in the embodiment of the present application may be implemented by hardware or by software, and is not limited herein. When receiving a watermark data acquisition request containing position information and/or time information sent by a client, a data processing device may determine the watermark content according to the position information and/or the time information; generating watermark data according to the watermark content; and sending the watermark data to the client, so that the client embeds the watermark data into image information and renders and displays the image information. Therefore, aiming at the watermark data acquisition requests sent by different clients, the server can determine different watermark data and dynamically issue the watermark data to realize the dynamic change of the watermark content and/or the watermark template, namely the watermark data meeting the requirements of users can be issued for different users, the purpose that the watermarks used by the image information of different users are different and the watermarks used by the different image information of the same user are different is achieved, and the user experience of the user on the watermark service provided by the application platform is effectively improved.
Based on the same inventive concept, an embodiment of the present application further provides a data processing apparatus, including: at least one memory and at least one processor, wherein the memory stores a program and is configured to perform, by the at least one processor, the steps of:
receiving a watermark data acquisition request sent by a client, wherein the watermark data acquisition request comprises position information and/or time information;
determining the watermark content according to the position information and/or the time information;
generating watermark data according to the watermark content;
and sending the watermark data to the client, so that the client embeds the watermark data into image information and renders and displays the image information.
The specific implementation manner in the embodiment of the present application can be implemented by the above-mentioned manner, and details are not repeated here.
Fig. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. The data processing apparatus includes: a receiving unit 701, a processing unit 702 and a transmitting unit 703, wherein:
a receiving unit 701, configured to receive an image processing request sent by a user, where the image processing request includes image information;
a processing unit 702 that determines position information and/or time information according to the image processing request;
a sending unit 703, configured to send a watermark data obtaining request to a server, where the watermark obtaining request includes the location information and/or the time information;
the receiving unit 701 receives watermark data sent by the server;
the processing unit 702 embeds the watermark content included in the watermark data into the image information, renders the image information including the watermark content, and displays the image information.
In another embodiment of the present application, the processing unit 702 determines the position information according to the image processing request, including:
when the image processing request is received, determining position information in a positioning mode;
or,
and determining the shooting position of the image information according to the image information contained in the image processing request.
In another embodiment of the present application, the processing unit 702 determines time information according to the image processing request, including:
determining a system time upon receiving the image processing request;
or,
and determining the generation time of the image information according to the image information contained in the image processing request.
In another embodiment of the present application, the receiving unit 701 receives an image processing request sent by a user, and includes:
collecting image information through collection equipment;
and if the user touch submission control is detected, determining that an image processing request containing the image information sent by the user is received.
In another embodiment of the present application, the embedding, by the processing unit 702, the watermark content included in the watermark data into the image information, and rendering and displaying the image information including the watermark content includes:
embedding watermark content contained in the watermark data into the image information;
and rendering the image information containing the watermark content through a rendering container, and loading and displaying the image information.
It should be noted that the data processing device provided in the embodiment of the present application may be implemented by hardware or by software, and is not limited herein.
Based on the same inventive concept, an embodiment of the present application further provides a data processing apparatus, including: at least one memory and at least one processor, wherein the memory stores a program and is configured to perform, by the at least one processor, the steps of:
receiving an image processing request sent by a user, wherein the image processing request comprises image information;
determining position information and/or time information according to the image processing request;
sending a watermark data acquisition request to a server, wherein the watermark acquisition request comprises the position information and/or the time information;
receiving watermark data sent by the server, embedding watermark content contained in the watermark data into the image information, rendering the image information containing the watermark content, and displaying the image information.
The specific implementation manner in the embodiment of the present application can be implemented by the above-mentioned manner, and details are not repeated here.
Fig. 8 is a schematic flowchart of a data processing method according to an embodiment of the present application. The method may be as follows. The data processing method provided by the embodiment of the application can be applied to the aspect of adding watermarks to image information, and is not limited here as to whether the image information is issued or displayed.
Step 801: image information is acquired.
In the embodiment of the present application, the manner of acquiring the image information includes, but is not limited to: the user acquires the image information through the acquisition device, and sends the image to the application client through the specified control (such as a submission control and a watermark adding control), and the application client can acquire the image information at this time.
Step 802: location information and/or time information is determined.
In an embodiment of the present application, determining location information includes:
determining position information in a positioning mode; or,
and determining the shooting position of the image information according to the image information.
Determining time information, including:
determining a system time; or,
and determining the generation time of the image information according to the image information.
Specific implementation can refer to specific operations in the above embodiments.
Step 803: and determining watermark data according to the position information and/or the time information.
In the embodiment of the present application, first, watermark content is determined according to the location characteristics and/or the time information corresponding to the location information.
Specifically, the watermark content may be determined according to the location characteristics; or,
determining watermark content according to the time information; or,
and determining the watermark content according to the position characteristics and the time information.
And secondly, determining watermark data according to the watermark content.
Specifically, a watermark template is determined, and watermark data is determined based on the watermark template and the watermark content.
The watermark template described herein may be obtained from the server side, and the specific obtaining manner is not specifically limited here.
Step 804: and embedding watermark content contained in the watermark data into the image information.
Specific implementation manners may refer to specific operations in the above embodiments, and details are not described here.
Fig. 9 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. The data processing apparatus includes: an acquisition unit 901, a determination unit 902 and a processing unit 903, wherein:
an acquisition unit 901 that acquires image information;
a determining unit 902, configured to determine location information and/or time information, and determine watermark data according to the location information and/or the time information;
the processing unit 903 embeds the watermark content included in the watermark data into the image information.
In another embodiment of the present application, the determining unit 902 determines the position information, including:
determining position information in a positioning mode;
or,
and determining the shooting position of the image information according to the image information.
In another embodiment of the present application, the determining unit 902 determines time information, including:
determining a system time;
or,
and determining the generation time of the image information according to the image information.
Based on the same inventive concept, an embodiment of the present application further provides a data processing apparatus, including: at least one memory and at least one processor, wherein the memory stores a program and is configured to perform, by the at least one processor, the steps of:
acquiring image information;
determining position information and/or time information, and determining watermark data according to the position information and/or the time information;
and embedding watermark content contained in the watermark data into the image information.
The specific implementation manner in the embodiment of the present application can be implemented by the above-mentioned manner, and details are not repeated here.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (21)
1. A data processing method, comprising:
receiving a watermark data acquisition request sent by a client, wherein the watermark data acquisition request comprises position information and/or time information;
determining the watermark content according to the position information and/or the time information;
generating watermark data according to the watermark content;
and sending the watermark data to the client, so that the client embeds the watermark data into image information.
2. The data processing method according to claim 1, wherein the watermark data acquisition request further includes a watermark template selected by a user, and the watermark template includes one or more of a display mode and a display position of the watermark content;
generating watermark data according to the watermark content, comprising:
and generating watermark data according to the watermark content and the watermark template, wherein the watermark data comprises the watermark template and the watermark content.
3. The data processing method of claim 1, wherein the method further comprises:
determining service content associated with the image information according to the image information contained in the watermark data acquisition request;
determining the watermark content according to the position information and/or the time information, including:
determining the watermark content according to the position information and the service content; or,
determining the watermark content according to the time information and the service content; or,
and determining the watermark content according to the position information, the time information and the service content.
4. The data processing method of claim 1, wherein determining the watermark content according to the location information and/or the time information comprises:
determining weather information of a position corresponding to the position information according to the time information;
and determining the watermark content according to the position information and the weather information and by combining system time.
5. The data processing method of claim 1, wherein determining the watermark content according to the location information and/or the time information comprises:
determining a position characteristic corresponding to the position information according to the position information;
and determining the watermark content according to the position characteristics and/or the time information.
6. The data processing method of claim 1, wherein generating watermark data from the watermark content comprises:
obtaining a watermark template corresponding to the determined watermark content according to a preset relation between the configured watermark content and the watermark template;
and generating watermark data according to the watermark content and the watermark template.
7. The data processing method according to any one of claims 1 to 6, wherein the watermark contents determined by different position information are different;
and/or the watermark contents determined by different time information are different.
8. A data processing method, comprising:
receiving an image processing request sent by a user, wherein the image processing request comprises image information;
determining position information and/or time information according to the image processing request;
sending a watermark data acquisition request to a server, wherein the watermark acquisition request comprises the position information and/or the time information;
receiving watermark data sent by the server, and embedding watermark content contained in the watermark data into the image information;
generating the image information containing the watermark content.
9. The data processing method of claim 8, wherein determining location information based on the image processing request comprises:
when the image processing request is received, determining position information in a positioning mode;
or,
and determining the shooting position of the image information according to the image information contained in the image processing request.
10. The data processing method of claim 8, wherein determining time information according to the image processing request comprises:
determining a system time upon receiving the image processing request;
or,
and determining the generation time of the image information according to the image information contained in the image processing request.
11. The data processing method of claim 8, wherein receiving an image processing request sent by a user comprises:
collecting image information through collection equipment;
and if the user touch submission control is detected, determining that an image processing request containing the image information sent by the user is received.
12. The data processing method according to claim 8, wherein embedding watermark content included in the watermark data in the image information, and generating the image information including the watermark content, comprises:
embedding watermark content contained in the watermark data into the image information;
and rendering the image information containing the watermark content through a rendering container, and loading and displaying the image information.
13. A data processing method, comprising:
acquiring image information;
determining position information and/or time information, and determining watermark data according to the position information and/or the time information;
and embedding watermark content contained in the watermark data into the image information.
14. The data processing method of claim 13, wherein determining location information comprises:
determining position information in a positioning mode;
or,
and determining the shooting position of the image information according to the image information.
15. The data processing method of claim 13, wherein determining time information comprises:
determining a system time;
or,
and determining the generation time of the image information according to the image information.
16. A data processing apparatus, characterized by comprising:
the receiving unit is used for receiving a watermark data acquisition request sent by a client, wherein the watermark data acquisition request comprises position information and/or time information;
the processing unit is used for determining the watermark content according to the position information and/or the time information; generating watermark data according to the watermark content;
and the sending unit is used for sending the watermark data to the client, so that the client embeds the watermark data into image information and renders and displays the image information.
17. A data processing apparatus, characterized by comprising:
the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving an image processing request sent by a user, and the image processing request comprises image information;
the processing unit is used for determining position information and/or time information according to the image processing request;
the sending unit is used for sending a watermark data acquisition request to a server, wherein the watermark acquisition request comprises the position information and/or the time information;
the receiving unit is used for receiving the watermark data sent by the server;
the processing unit embeds the watermark content contained in the watermark data into the image information to generate the image information containing the watermark content.
18. A data processing apparatus, characterized by comprising:
an acquisition unit that acquires image information;
the determining unit is used for determining position information and/or time information and determining watermark data according to the position information and/or the time information;
and the processing unit is used for embedding the watermark content contained in the watermark data into the image information.
19. A data processing apparatus, characterized by comprising: at least one memory and at least one processor, wherein the memory stores a program and is configured to perform, by the at least one processor, the steps of:
receiving a watermark data acquisition request sent by a client, wherein the watermark data acquisition request comprises position information and/or time information;
determining the watermark content according to the position information and/or the time information;
generating watermark data according to the watermark content;
and sending the watermark data to the client, so that the client embeds the watermark data into image information and renders and displays the image information.
20. A data processing apparatus, characterized by comprising: at least one memory and at least one processor, wherein the memory stores a program and is configured to perform, by the at least one processor, the steps of:
receiving an image processing request sent by a user, wherein the image processing request comprises image information;
determining position information and/or time information according to the image processing request;
sending a watermark data acquisition request to a server, wherein the watermark acquisition request comprises the position information and/or the time information;
receiving watermark data sent by the server, and embedding watermark content contained in the watermark data into the image information;
rendering the image information containing the watermark content, and displaying the image information.
21. A data processing apparatus, characterized by comprising: at least one memory and at least one processor, wherein the memory stores a program and is configured to perform, by the at least one processor, the steps of:
acquiring image information;
determining position information and/or time information, and determining watermark data according to the position information and/or the time information;
and embedding watermark content contained in the watermark data into the image information.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710724353.XA CN109427031A (en) | 2017-08-22 | 2017-08-22 | A kind of data processing method and equipment |
TW107119147A TW201914311A (en) | 2017-08-22 | 2018-06-04 | Data processing method and equipment |
PCT/CN2018/100564 WO2019037623A1 (en) | 2017-08-22 | 2018-08-15 | Data processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710724353.XA CN109427031A (en) | 2017-08-22 | 2017-08-22 | A kind of data processing method and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109427031A true CN109427031A (en) | 2019-03-05 |
Family
ID=65439958
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710724353.XA Pending CN109427031A (en) | 2017-08-22 | 2017-08-22 | A kind of data processing method and equipment |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN109427031A (en) |
TW (1) | TW201914311A (en) |
WO (1) | WO2019037623A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112199731A (en) * | 2020-11-17 | 2021-01-08 | 支付宝(杭州)信息技术有限公司 | Data processing method, device and equipment |
CN113407961A (en) * | 2021-06-16 | 2021-09-17 | 中国工商银行股份有限公司 | Data anti-leakage method, device and system |
CN113420242A (en) * | 2021-08-24 | 2021-09-21 | 阿里巴巴(中国)有限公司 | Shopping guide method, resource distribution method, content display method and equipment |
CN113518200A (en) * | 2020-04-10 | 2021-10-19 | 腾讯科技(深圳)有限公司 | Image generation method, device, equipment and computer readable storage medium |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112800396B (en) * | 2021-02-08 | 2023-10-27 | 北京百度网讯科技有限公司 | Page watermark generation method, device, equipment, storage medium and program product |
CN113596392B (en) * | 2021-06-30 | 2024-09-13 | 海南视联通信技术有限公司 | Watermark processing method, watermark processing device, terminal equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130297737A1 (en) * | 2011-01-14 | 2013-11-07 | Irdeto B.V. | Multiparty watermarking method and system |
CN103401870A (en) * | 2013-07-31 | 2013-11-20 | 腾讯科技(深圳)有限公司 | Method, device and system for presenting network socializing information |
CN103533248A (en) * | 2013-10-24 | 2014-01-22 | 腾讯科技(上海)有限公司 | Image processing method, terminal and system |
CN104867097A (en) * | 2014-02-26 | 2015-08-26 | 腾讯科技(深圳)有限公司 | Method and device for generating watermark picture |
CN105631797A (en) * | 2015-12-24 | 2016-06-01 | 小米科技有限责任公司 | Watermarking method and device |
CN106210928A (en) * | 2016-08-10 | 2016-12-07 | 深圳市企拍文化科技有限公司 | Add real-time geographical locations information watermaking system and method in video |
-
2017
- 2017-08-22 CN CN201710724353.XA patent/CN109427031A/en active Pending
-
2018
- 2018-06-04 TW TW107119147A patent/TW201914311A/en unknown
- 2018-08-15 WO PCT/CN2018/100564 patent/WO2019037623A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130297737A1 (en) * | 2011-01-14 | 2013-11-07 | Irdeto B.V. | Multiparty watermarking method and system |
CN103401870A (en) * | 2013-07-31 | 2013-11-20 | 腾讯科技(深圳)有限公司 | Method, device and system for presenting network socializing information |
CN103533248A (en) * | 2013-10-24 | 2014-01-22 | 腾讯科技(上海)有限公司 | Image processing method, terminal and system |
CN104867097A (en) * | 2014-02-26 | 2015-08-26 | 腾讯科技(深圳)有限公司 | Method and device for generating watermark picture |
CN105631797A (en) * | 2015-12-24 | 2016-06-01 | 小米科技有限责任公司 | Watermarking method and device |
CN106210928A (en) * | 2016-08-10 | 2016-12-07 | 深圳市企拍文化科技有限公司 | Add real-time geographical locations information watermaking system and method in video |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113518200A (en) * | 2020-04-10 | 2021-10-19 | 腾讯科技(深圳)有限公司 | Image generation method, device, equipment and computer readable storage medium |
CN112199731A (en) * | 2020-11-17 | 2021-01-08 | 支付宝(杭州)信息技术有限公司 | Data processing method, device and equipment |
CN113407961A (en) * | 2021-06-16 | 2021-09-17 | 中国工商银行股份有限公司 | Data anti-leakage method, device and system |
CN113420242A (en) * | 2021-08-24 | 2021-09-21 | 阿里巴巴(中国)有限公司 | Shopping guide method, resource distribution method, content display method and equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2019037623A1 (en) | 2019-02-28 |
TW201914311A (en) | 2019-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109427031A (en) | A kind of data processing method and equipment | |
JP5546246B2 (en) | Content management system | |
KR101430889B1 (en) | Consolidating metadata relating to duplicate images | |
CN103631954B (en) | Personalized recommendation method and device | |
US20160344783A1 (en) | Content provision system, information processing apparatus and content reproduction method | |
US20190340836A1 (en) | Systems and Methods for Anchoring Virtual Objects to Physical Locations | |
US10075399B2 (en) | Method and system for sharing media content between several users | |
TW201203170A (en) | Information processing device, information processing system, and program | |
US20190082235A1 (en) | Descriptive metadata extraction and linkage with editorial content | |
CN110851538A (en) | Block chain-based content generation method, device, equipment and storage medium | |
CN111046306A (en) | Method for dynamically displaying employment information analysis result chart by browser | |
CN103577458A (en) | Control method and corresponding control device for displaying webpage according to terminal type | |
US11457248B2 (en) | Method to insert ad content into a video scene | |
WO2017176337A1 (en) | Identifying viewing characteristics of an audience of a content channel | |
CN110908877A (en) | Log recording engine | |
EP2645277A1 (en) | Cloud information trading system and cloud information trading method using the same | |
US20150221054A1 (en) | Virtual property system | |
CN116610308B (en) | Code management method and device, electronic equipment and storage medium | |
CN112508472A (en) | Method and system for viewing order information of same account by multiple persons | |
US8931011B1 (en) | Systems and methods for streaming media content | |
WO2015093385A1 (en) | Album generation device, album generation method, album generation program and recording medium that stores program | |
US10108882B1 (en) | Method to post and access information onto a map through pictures | |
CN115718824A (en) | Method for judging position of equipment and automatically pushing equipment information through space distance | |
CN114428550A (en) | Displaying augmented reality in response to input | |
CN106411975B (en) | A data output method, device and computer readable storage medium |
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 |