CN109710827A - Picture attribute management method, device, photo services end and business processing end - Google Patents
Picture attribute management method, device, photo services end and business processing end Download PDFInfo
- Publication number
- CN109710827A CN109710827A CN201811525436.7A CN201811525436A CN109710827A CN 109710827 A CN109710827 A CN 109710827A CN 201811525436 A CN201811525436 A CN 201811525436A CN 109710827 A CN109710827 A CN 109710827A
- Authority
- CN
- China
- Prior art keywords
- picture
- attribute
- business processing
- processing end
- data
- 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.)
- Granted
Links
Abstract
This application discloses a kind of picture attribute management method, device, photo services end and business processing ends, wherein, method includes: to carry out unified attributive analysis to picture to be processed by photo services end, and the attribute value of picture is saved in picture attribute library, other need the business processing end of the attribute information of the picture, the business processing end can be obtained from the picture attribute library at photo services end and handles attribute data required for the picture, and relevant treatment is carried out to the picture according to the attribute data obtained from picture attribute library.Thus, it only needs to carry out an attributive analysis in Content Management Platform, so that the business processing end in Content Management Platform can obtain the attribute data of corresponding picture by inquiring picture attribute library, reduces attribute and compute repeatedly, it repeats to store, resource utilization is lower.
Description
Technical field
This application involves Internet technical field more particularly to a kind of picture attribute management method, device, photo services ends
With business processing end.
Background technique
With the development of internet, information reading becomes indispensable part in people's life, and content ecology also becomes
At the cash cow of Internet enterprises.Simple text is no longer satisfied the demand of people, picture, short-sighted frequency in information reading
Abundant form, in internet have more propagation effect.And popularizing with smart machines such as mobile phones, everyone is picture
The producer, user, there is the picture of magnanimity to be generated and propagate daily.
In the related art, the usually corresponding content distribution platform of content publisher issues the picture of oneself, content publication
Platform receive content publisher publication picture after, by each business processing in Content Management Platform hold level with both hands to picture into
Row relevant treatment, for example, cut by cutting system to picture, as pre-set dimension, and to lead to the size adjusting of picture
The picture examination system for crossing each dimension audits picture, is required with determining whether picture meets publication.
However, during realizing the application it is found by the applicant that Content Management Platform in the related technology at least exist with
Lower problem: when handling picture, used picture attribute is by each business processing end at each business processing end
Picture is downloaded, and attributive analysis is carried out to figure picture and is obtained, also, the picture attribute at each business processing end is only by industry
Business processing end oneself is used alone.This mode being managed to picture attribute, there are a large amount of attributes to compute repeatedly, and repeats
Storage, resource utilization are lower.
Summary of the invention
The application is intended to solve at least some of the technical problems in related technologies.
For this purpose, first purpose of the application is to propose a kind of picture attribute management method, the method increase search
The introducing efficiency of the structural data of website is introduced in engine, and improves the more new content that website is included in search engine
Efficiency, and then when subsequent user is scanned for by search engine, the accuracy and timeliness of search result can be improved.
Second purpose of the application is to propose a kind of picture attribute management method.
The third purpose of the application is to propose a kind of picture attribute managing device.
The 4th purpose of the application is to propose a kind of picture attribute managing device.
The 5th purpose of the application is to propose a kind of electronic equipment.
The 6th purpose of the application is to propose a kind of non-transitorycomputer readable storage medium.
The 7th purpose of the application is to propose a kind of computer program product.
In order to achieve the above object, the application first aspect embodiment proposes picture attribute management method, the picture attribute
Management method is executed by photo services end, and the photo services end is configured in Content Management Platform, the Content Management Platform
It further include business processing end, which comprises obtain picture to be processed;It is right according to the picture attribute analysis strategy prestored
The picture carries out attributive analysis, and to obtain the attribute data of the picture, the attribute data includes property parameters and institute
State the parameter value of property parameters;The attribute data of the picture is saved in picture attribute library;It receives business processing end and is directed to institute
State the attribute query request of picture transmission;From the picture attribute library, target corresponding with attribute query request is obtained
Attribute data, the objective attribute target attribute data are some or all of the attribute data;The objective attribute target attribute data are sent out
The business processing end is given, so that the business processing end is according to the parameter for corresponding to property parameters in the objective attribute target attribute data
Value correspondingly handles picture execution.
The picture attribute management method of the embodiment of the present application carries out unified category to picture to be processed by photo services end
Property analysis, and the attribute value of picture is saved in picture attribute library, other need the business processing of the attribute information of the picture
End, the business processing end can be obtained from the picture attribute library at photo services end and handles attribute data required for the picture, and
Relevant treatment is carried out to the picture according to the attribute data obtained from picture attribute library.As a result, in Content Management Platform only
Need to carry out an attributive analysis, so that the business processing end in Content Management Platform passes through inquiry picture attribute library
The attribute data for obtaining corresponding picture, reduces attribute and computes repeatedly, and repeats to store, resource utilization is lower.
In order to achieve the above object, the application second aspect embodiment proposes a kind of picture attribute management method, comprising: described
Picture attribute management method is executed by business processing end, and the business processing end is configured in Content Management Platform, the content
Managing platform further includes photo services end, which comprises obtains picture to be processed;Needle is sent to the photo services end
Attribute query request to the picture, the attribute query request are used to indicate the picture servers from picture attribute library
Obtain the corresponding objective attribute target attribute data of the picture;Receive the objective attribute target attribute data that the photo services end returns;According to
The objective attribute target attribute data accordingly handle picture execution.
The picture attribute management method of the embodiment of the present application, business processing end pass through the picture attribute library from photo services end
Middle acquisition business processing end handles attribute data required for the picture, and according to the attribute number obtained from picture attribute library
Relevant treatment is carried out according to the picture.Business processing end can obtain the category of corresponding picture by inquiring picture attribute library as a result,
Property data, avoid itself download pictures of business processing end and calculate the trouble of picture attribute, reducing attribute computes repeatedly, weight
Multiple storage, resource utilization are lower.
In order to achieve the above object, the application third aspect embodiment proposes a kind of picture attribute managing device, the picture
Properties managing device is applied in photo services end, and the photo services end is located in Content Management Platform, the Content Management
Platform further includes business processing end, and described device includes: the first acquisition module, for obtaining picture to be processed;Attributive analysis
Module, for attributive analysis being carried out to the picture, to obtain the category of the picture according to the picture attribute analysis strategy prestored
Property data, the attribute data includes the parameter value of property parameters and the property parameters;Preserving module is used for the figure
The attribute data of piece is saved in picture attribute library;First receiving module is sent for receiving business processing end for the picture
Attribute query request;Second obtains module, for obtaining corresponding with attribute query request from the picture attribute library
Objective attribute target attribute data, the objective attribute target attribute data be the attribute data it is some or all;First sending module is used
In the objective attribute target attribute data are sent to the business processing end, so that the business processing end is according to the objective attribute target attribute number
Picture execution is correspondingly handled according to the parameter value of middle corresponding property parameters.
The picture attribute managing device of the embodiment of the present application carries out unified category to picture to be processed by photo services end
Property analysis, and the attribute value of picture is saved in picture attribute library, other need the business processing of the attribute information of the picture
End, the business processing end can be obtained from the picture attribute library at photo services end and handles attribute data required for the picture, and
Relevant treatment is carried out to the picture according to the attribute data obtained from picture attribute library.As a result, in Content Management Platform only
Need to carry out an attributive analysis, so that the business processing end in Content Management Platform passes through inquiry picture attribute library
The attribute data for obtaining corresponding picture, reduces attribute and computes repeatedly, and repeats to store, resource utilization is lower.
In order to achieve the above object, the application fourth aspect embodiment proposes a kind of picture attribute managing device, the picture
Properties managing device is located in business processing end, and the business processing end is configured in Content Management Platform, the Content Management
Platform further includes photo services end, and described device includes: the 4th acquisition module, for obtaining picture to be processed;Second sends
Module, for sending the attribute query request for the picture to the photo services end, the attribute query request is used for
Indicate that the picture servers obtain the corresponding objective attribute target attribute data of the picture from picture attribute library;Receiving module is used for
Receive the objective attribute target attribute data that the photo services end returns;Processing module is used for according to the objective attribute target attribute data, right
The picture execution is accordingly handled.
The picture attribute managing device of the embodiment of the present application, business processing end pass through the picture attribute library from photo services end
Middle acquisition business processing end handles attribute data required for the picture, and according to the attribute number obtained from picture attribute library
Relevant treatment is carried out according to the picture.Business processing end can obtain the category of corresponding picture by inquiring picture attribute library as a result,
Property data, avoid itself download pictures of business processing end and calculate the trouble of picture attribute, reducing attribute computes repeatedly, weight
Multiple storage, resource utilization are lower.
In order to achieve the above object, the 5th aspect embodiment of the application proposes a kind of electronic equipment, comprising: processor and storage
Device;Wherein, the processor is run by reading the executable program code stored in the memory can be performed with described
The corresponding program of program code, for realizing the picture attribute management method as described in above-described embodiment.
To achieve the goals above, the 6th aspect embodiment of the application proposes a kind of computer-readable storage of non-transitory
Medium realizes the picture attribute management method as described in above-described embodiment when the program is executed by processor.
To achieve the goals above, the 7th aspect embodiment of the application proposes a kind of computer program product, when described
When instruction processing unit in computer program product executes, the picture attribute management method as described in above-described embodiment is executed.
The additional aspect of the application and advantage will be set forth in part in the description, and will partially become from the following description
It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart according to the picture attribute management method of the application one embodiment;
Fig. 2 is the schematic diagram of the photo services frame of the embodiment of the present application;
Fig. 3 is the flow chart according to the picture attribute management method of the application another embodiment;
Fig. 4 is the structural schematic diagram according to the picture attribute managing device of the application one embodiment;
Fig. 5 is the structural schematic diagram according to the picture attribute managing device of the application another embodiment;
Fig. 6 is the structural schematic diagram according to the picture attribute managing device of the application another embodiment;
Fig. 7 is the structural schematic diagram according to the picture attribute managing device of the application further embodiment;
Fig. 8 is the structural schematic diagram according to the electronic equipment of the application one embodiment.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the application, and should not be understood as the limitation to the application.
Below with reference to the accompanying drawings the picture attribute management method, device and search engine of the embodiment of the present application are described.
Fig. 1 is the flow chart according to the picture attribute management method of the application one embodiment.
Wherein, it should be noted that the picture attribute management method of the embodiment of the present application is executed by photo services end, picture
Server-side is configured in Content Management Platform, and Content Management Platform further includes business processing end.
As shown in Figure 1, this method may include:
Step 101, picture to be processed is obtained.
The embodiment of property as an example, the content to be released that reception content publisher submits are to be released determining
When content includes picture, can picture in content to be released as picture to be processed.
As another illustrative embodiment, the picture that grasping system is grabbed is as picture to be processed.
Specifically, controllable grasping system is connect using picture crawl in order to avoid malice picture is propagated in internet
Picture on mouth crawl network, and the picture grabbed is sent to photo services end, so that category of the photo services end to picture
Property is managed collectively.
As another exemplary embodiment, photo services end can read picture to be processed from local.
Wherein, it should be noted that in order to enable business processing end can obtain picture from photo services end, show as one kind
The embodiment of example property, photo services end can save picture to be processed by way of file.
Wherein, in order to which picture to be processed can be read, the picture identification and figure of the picture can also be saved at photo services end
Piece saves the corresponding relationship between address, to facilitate subsequent can be saved according to the corresponding relationship from corresponding picture to obtain in address pair
The picture answered.
Wherein, it is to be understood that due to can all generate the picture of magnanimity daily, picture accessed daily can be protected
It is stored in distributed memory system, to facilitate subsequent expansible system.
Step 102, according to the picture attribute analysis strategy prestored, attributive analysis is carried out to picture, to obtain the category of picture
Property data.
Wherein, attribute data includes the attribute value of property parameters and property parameters.
Wherein, picture attribute analysis strategy can include determining that attributive analysis plan required for each property parameters of picture
Slightly.
Wherein, the property parameters of picture may include the essential attribute parameter and advanced property parameter of picture.
Wherein, essential attribute parameter can include but is not limited to height, width, clarity, brightness, saturation degree and shared deposit
Store up the size etc. in space.
Wherein, it should be noted that determine attributive analysis strategy required for the essential attribute parameter of picture, it can be by existing
There is technology realization, which repeats no more this.
Wherein, whether advanced property parameter may include whether vulgar picture, be two-dimension code image, containing advertisement letter
Cease, whether have sensitive word etc..
The embodiment of property as an example, in order to determine in picture whether be two-dimension code image, whether containing advertisement,
Whether there are the attributes such as sensitive word, after obtaining picture to be processed, OCR (Optical Character can be carried out to picture
Recognition, optical character identification), the text information in picture is determined according to optical character identification result, then, is passed through
Text information judges whether picture contains advertising information, if contains watermark information, if has sensitive word.
The embodiment of property as an example, after obtaining picture to be processed, in order to determine whether picture is vulgar
Picture can determine that picture is normal picture or vulgar picture by the neural network model of the vulgar picture of identification.
Wherein, it should be noted that when picture to be processed is vulgar picture, the corresponding attribute of vulgar picture can be passed through
Label marks the attribute of the picture.
In addition, picture situation used in front of being convenient to know for content publisher, and then content is facilitated to issue
Used picture before person reuses, the embodiment of property, is content publication in picture to be processed as an example
When the picture that person is issued, the attribute of the content publisher of picture can also be marked, by the content publisher of picture
Also it is saved in picture attribute library as an attribute, to facilitate subsequent content publisher can be before picture attribute library inquiry certainly
Used picture service condition before oneself.
Step 103, the attribute data of picture is saved in picture attribute library.
In order to improve reading and writing data speed, the embodiment of property, can pass through the database of non-relational as an example
Save the attribute data of picture.
Specifically, after the attribute data for obtaining picture, it can be as api interface corresponding with picture attribute library by obtained by
To the attribute data of picture be written to picture attribute library.
Step 104, the attribute query request that business processing end is sent for picture is received.
Wherein, attribute query request may include that the picture identification of the picture and attribute required for the business processing end are joined
Number.
For example, business processing end is intelligent selection surface plot business end, it is assumed that business processing end is needed using the clear of picture
The attribute informations such as clear degree, width, height, size, when surface plot business end is to picture Resource selection surface plot, surface plot business end can
From the parameter value for obtaining the property parameters such as clarity, width, height, size of every picture in picture set in picture attribute library.
Step 105, from picture attribute library, objective attribute target attribute data corresponding with attribute query request, objective attribute target attribute are obtained
Data are some or all of attribute data.
For example, it is assumed that picture database saves the height of picture A, width, size and whether comprising advertising information
The parameter value of equal property parameters is being received when business processing end is whether audit picture includes the audit processing end of advertisement
When auditing attribute query request of the processing end transmission for picture A, the property parameters name of picture A can be obtained from picture attribute library
Referred to as parameter value corresponding to " whether including advertising information ", and whether picture A is corresponding comprising corresponding to advertising information
Parameter value is sent to audit processing end.Accordingly, audit terminal can be handled picture A according to acquired parameter value in which carry out,
If determined according to parameter value, includes advertising information in picture A, then picture A is forbidden to be published in internet.
In another example being the business end B for selecting cover picture at business processing end, it is assumed that picture database saves plurality of picture
Height, width, clarity, picture quality, size and when whether comprising the parameter value of property parameters such as advertising information, in picture
When server-side receives the attribute query request of business end B transmission being directed to, it may be determined that attribute information packet required for the B of business end
The clarity and picture quality of picture are included, ginseng corresponding with picture identification and attribute query condition can be obtained from picture attribute library
Then the clarity of the picture inquired and picture quality are fed back to business end B, business end B can be according to the clear of picture by numerical value
Clear degree and picture quality determine cover picture from plurality of pictures, and the picture set for user's publication adds cover picture.
The trouble that user manually selects cover picture can be reduced as a result,.In addition, business end B can also be from figure for the B of business end
The size of the cover picture is inquired in piece server-side, then, judges whether the size of cover picture meets the size of cover picture
It is required that when determining that selected cover size is unsatisfactory for the size requirements of cover picture the knowledge of picture main body can be carried out to picture
Not, and according to main body recognition result, automatic cutting cuts satisfactory cover picture.It can be further reduced content publication as a result,
Person's manual operation, reduces the workload of content publisher.
Wherein, it is to be understood that multiple business processing ends, each business processing are usually had in Content Management Platform
Hold the processing carried out to picture different.Also, for each business processing end, each business processing end is to processing picture
When required attribute be different.
For each business processing end, when business processing end needs the attribute information of corresponding picture, corresponding business
Processing end can send attribute query request to photo services end, wherein include the picture mark of corresponding picture in attribute query request
Know and correspond to property parameters required for business processing end.
Step 106, objective attribute target attribute data are sent to business processing end, so that business processing end is according to objective attribute target attribute data
In attribute value to picture execution correspondingly handle.
The picture attribute management method that the application is implemented carries out unified attribute to picture to be processed by photo services end
Analysis, and the attribute value of picture is saved in picture attribute library, other need the business processing end of the attribute information of the picture,
The business processing end can be obtained from the picture attribute library at photo services end handles attribute data required for the picture, and according to
The attribute data obtained from picture attribute library carries out relevant treatment to the picture.It is only needed in Content Management Platform as a result,
An attributive analysis is carried out, so that the business processing end in Content Management Platform can be obtained by inquiring picture attribute library
The attribute data of corresponding picture, reduces attribute and computes repeatedly, and repeats to store, resource utilization is lower.
On the basis of based on the above embodiment, in order to accurately obtain the attribute data of picture, to facilitate at follow-up business
It manages end and relevant treatment is carried out according to the correspondence attribute data of picture, as an example the embodiment of property, prestored in basis
Picture attribute analysis strategy, to picture carry out attributive analysis before, can also the property parameters according to required for business processing end,
Determine picture attribute analysis strategy.
In addition, it is necessary to understand, in order to enable the attribute in picture attribute library also can be used in Added Business processing end
Data, therefore, the picture attribute management method of the embodiment can be combined with the ginseng of attribute required for newly increasing business processing end
Several pairs of picture attribute analysis strategies are adjusted.
Wherein, in conjunction with newly increasing what property parameters required for business processing end were adjusted picture attribute analysis strategy
Detailed process are as follows: when detecting that Content Management Platform increases new business processing end, obtain and belong to required for new business processing end
Property;According to attribute required for new business processing end, picture attribute analysis strategy is adjusted.
Wherein, it should be noted that the existing property parameters in possible picture attribute library can satisfy Added Business processing
The demand at end, therefore, the embodiment of property is adjusted in the property parameters according to required for new business processing end as an example
Before whole picture attribute analysis strategy, can also judge whether existing property parameters meet new business processing in picture attribute library
The attribute specification at end;If conditions are not met, the then attribute according to required for new business processing end, adjusts picture attribute analysis strategy.
Wherein, it should be noted that if existing property parameters have met new business processing end in picture attribute library
Attribute specification, at this point, can be without being adjusted to picture attribute analysis strategy.
Wherein, the schematic diagram of the photo services frame of the embodiment of the present application, as shown in Figure 2.
As seen in Figure 2, photo services include four layers, respectively application layer, interface layer, logical layer and accumulation layer.
Wherein, accumulation layer, picture original image store the binary content of picture using big file;The attribute information of picture uses
NOSql is stored, and the table of picture attribute is melted into Hadoop table offline and facilitates the statistical analysis for carrying out picture service condition.
Logical layer is the downloading of picture, unloading, crawl, the upload of picture, cuts out, compresses and watermark and picture attribute
Management additions and deletions change and look into.The function of photo services is provided away in the form of API, is broadly divided into three classes interface, picture crawl
Download interface, the online processing interface of picture, picture attribute management interface.These interfaces can be used to picture in business processing end
Storage access is carried out, and the attribute of picture is managed and is used.For example, grasping system is grabbed using picture crawl interface
Picture on network, user save picture using interface is uploaded, and the attribute that deep learning network analysis goes out picture passes through picture category
Property addition interface be saved in the library of picture attribute, auditing system by read picture attribute, audited accordingly, department of statistic
System can statistically analyze out offline service condition according to Hadoop.
Fig. 3 is the flow chart according to the picture attribute management method of the application another embodiment.
Wherein, it should be noted that the picture attribute management method of the embodiment of the present application is executed by business processing end, business
Processing end is configured in Content Management Platform, and Content Management Platform further includes photo services end.
As shown in figure 3, this method may include:
Step 301, picture to be processed is obtained.
Step 302, the attribute query request for picture is sent to photo services end, attribute query request is used to indicate figure
Piece server obtains the corresponding objective attribute target attribute data of picture from picture attribute library.
Specifically, when corresponding to business processing end in Content Management Platform and handling picture to be processed, at this point, industry
Photo services end can be sent the attribute query request for the picture by business processing end.
Wherein, attribute query request may include that the picture identification of the picture and attribute required for the business processing end are joined
Number.
Accordingly, photo services end receive attribute query request after, can be obtained from server and picture identification and
The corresponding objective attribute target attribute data of property parameters required for the business processing end.
Wherein, picture attribute library includes the attribute data of the picture.
Wherein, objective attribute target attribute data can with some or all of attribute data.
Step 303, the objective attribute target attribute data that photo services end returns are received.
Step 304, according to objective attribute target attribute data, picture execution is accordingly handled.
Wherein, objective attribute target attribute data may include property parameters and the corresponding parameter value of property parameters.
Specifically, business processing end can be determined according to the parameter value of corresponding property parameters to target performed by picture
Operation.
For example, it is assumed that the corresponding parameter value of sensitive information property parameters is to have sensitive information, sensitive information in 0 expression picture
The corresponding parameter value of property parameters is not have sensitive information in 1 expression picture.Need to audit whether picture A wraps at business processing end
When containing sensitive information, at this point, business processing end can be requested by sending attribute query to photo services end, and according to attribute query
The corresponding parameter value of advertisement attributes parameter in response results determines whether picture A includes sensitive information.If attribute query responds
As a result the corresponding parameter value of middle advertisement attributes parameter is 1, it is determined that includes sensitive information in picture A, at this time, it may be determined that the figure
Piece A is not suitable for propagating in internet, can delete picture A.
The embodiment of property as an example, business processing end are directed to picture to be processed, can send out to photo services end
It send attribute query to request, and receives photo services end and request returned response message for attribute query, if photo services
The response message that end returns is not inquire the corresponding attribute information of the picture, at this point, business processing end can also be according to itself
In set picture attribute strategy attributive analysis is carried out to picture, to obtain the attribute information of corresponding picture, and by the picture
Attribute information be uploaded to picture attribute library so that other business processing ends of the subsequent attribute information for needing the picture can be straight
The attribute information for obtaining the picture from photo services end is connect, the fiber crops that other business processing ends compute repeatedly picture attribute are avoided
It is tired, it reduces resource waste.
The picture attribute management method that the application is implemented, business processing end passes through from the picture attribute library at photo services end
It obtains the business processing end and handles attribute data required for the picture, and according to the attribute data obtained from picture attribute library
Relevant treatment is carried out to the picture.Business processing end can obtain the attribute of corresponding picture by inquiring picture attribute library as a result,
Data avoid itself download pictures of business processing end and calculate the trouble of picture attribute, reduce attribute and compute repeatedly, and repeat
Storage, resource utilization are lower.
In order to realize above-described embodiment, the application also proposes a kind of picture attribute managing device.
Fig. 4 is the structural schematic diagram according to the picture attribute managing device of the application one embodiment.
Wherein, it should be noted that the picture attribute managing device is applied in photo services end, and photo services end is located at
In Content Management Platform, Content Management Platform further includes business processing end.
As shown in figure 4, the picture attribute managing device may include the first acquisition module 110, attributive analysis module 120,
Preserving module 130, the first receiving module 140, second obtain module 150 and the first sending module 160, in which:
First obtains module 110, for obtaining picture to be processed.
Attributive analysis module 120, for carrying out attributive analysis to picture according to the picture attribute analysis strategy prestored, with
The attribute data of picture is obtained, attribute data includes the parameter value of property parameters and property parameters.
Preserving module 130, for the attribute data of picture to be saved in picture attribute library.
First receiving module 140, the attribute query request sent for receiving business processing end for picture.
Second obtains module 150, for obtaining objective attribute target attribute number corresponding with attribute query request from picture attribute library
According to objective attribute target attribute data are some or all of attribute data.
First sending module 160, for objective attribute target attribute data to be sent to business processing end so that business processing end according to
The parameter value that property parameters are corresponded in objective attribute target attribute data correspondingly handles picture execution.
In one embodiment of the application, on the basis of embodiment shown in Fig. 4, as shown in figure 5, the device may be used also
To include:
Determining module 170 is used for the property parameters according to required for business processing end, determines picture attribute analysis strategy.
In one embodiment of the application, on the basis of embodiment shown in Fig. 4, as shown in fig. 6, the device may be used also
To include:
Third obtains module 180, for obtaining new business when detecting that Content Management Platform increases new business processing end
Property parameters required for processing end.
Module 190 is adjusted, the property parameters according to required for new business processing end are used for, adjustment picture attribute analyzes plan
Slightly.
In one embodiment of the application, as shown in fig. 6, the device can also include:
Judgment module 200, for judging whether existing property parameters meet new business processing end in picture attribute library
Attribute specification.
Wherein, module 190 is adjusted, is unsatisfactory for new business processing for property parameters existing in knowing picture attribute library
When the attribute specification at end, according to property parameters required for new business processing end, picture attribute analysis is adjusted.
Wherein, it should be noted that the third in aforementioned Installation practice shown in fig. 6 obtains module 180, adjustment module
190 and the structure of judgment module 200 also may be embodied in aforementioned Installation practice shown in fig. 5, which does not make this
It limits.
Wherein, it should be noted that the aforementioned explanation to picture attribute management method embodiment is also applied for the reality
The picture attribute managing device of example is applied, details are not described herein again.
The picture attribute managing device that the application is implemented carries out unified attribute to picture to be processed by photo services end
Analysis, and the attribute value of picture is saved in picture attribute library, other need the business processing end of the attribute information of the picture,
The business processing end can be obtained from the picture attribute library at photo services end handles attribute data required for the picture, and according to
The attribute data obtained from picture attribute library carries out relevant treatment to the picture.It is only needed in Content Management Platform as a result,
An attributive analysis is carried out, so that the business processing end in Content Management Platform can be obtained by inquiring picture attribute library
The attribute data of corresponding picture, reduces attribute and computes repeatedly, and repeats to store, resource utilization is lower.
In order to realize above-described embodiment, the application also proposes a kind of picture attribute managing device.
Fig. 7 is the structural schematic diagram according to the picture attribute managing device of the application further embodiment.
Wherein, it should be noted that picture attribute managing device is located in business processing end, and business processing end is configured at interior
Hold in management platform, Content Management Platform further includes photo services end.
As shown in fig. 7, the apparatus may include:
4th obtains module 210, for obtaining picture to be processed.
Second sending module 220, for sending the attribute query request for picture to photo services end, attribute query is asked
It asks and is used to indicate picture servers and obtains the corresponding objective attribute target attribute data of picture from picture attribute library.
Wherein, attribute query request may include that the picture identification of the picture and attribute required for the business processing end are joined
Number.
Receiving module 230, for receiving the objective attribute target attribute data of photo services end return.
Processing module 240, for accordingly handling picture execution according to objective attribute target attribute data.
Wherein, it should be noted that the aforementioned explanation to picture attribute management method embodiment is also applied for the reality
The picture attribute managing device of example is applied, details are not described herein again.
The picture attribute managing device that the application is implemented, business processing end passes through from the picture attribute library at photo services end
It obtains the business processing end and handles attribute data required for the picture, and according to the attribute data obtained from picture attribute library
Relevant treatment is carried out to the picture.Business processing end can obtain the attribute of corresponding picture by inquiring picture attribute library as a result,
Data avoid itself download pictures of business processing end and calculate the trouble of picture attribute, reduce attribute and compute repeatedly, and repeat
Storage, resource utilization are lower.
In order to realize above-described embodiment, the application also proposes a kind of electronic equipment.
Fig. 8 is the structural schematic diagram according to the electronic equipment of the application one embodiment.
As shown in figure 8, the electronic equipment 100 may include: memory 1010, processor 1020 and be stored in memory
On 1010 and the computer program 1030 that can run on processor 1020, when processor 1020 executes program 1030, this is realized
Apply for the picture attribute management method of any of the above-described a embodiment.
In order to realize above-described embodiment, the application also proposed a kind of non-transitorycomputer readable storage medium, thereon
It is stored with computer program, the picture attribute management of any of the above-described a embodiment of the application is realized when program is executed by processor.
In order to realize above-described embodiment, the application also proposes a kind of computer program product, when in computer program product
Instruction processing unit execute when, execute above-described embodiment shown in picture attribute management method.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that can on it the paper of print routine or other suitable be situated between
Matter, because can then be edited, be interpreted or when necessary with other for example by carrying out optical scanner to paper or other media
Suitable method is handled electronically to obtain program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used
Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from
Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
Suddenly be that relevant hardware can be instructed to complete by program, program can store in a kind of computer readable storage medium
In, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.If integrated module with
The form of software function module is realized and when sold or used as an independent product, also can store computer-readable at one
It takes in storage medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application
Type.
Claims (12)
1. a kind of picture attribute management method, which is characterized in that the picture attribute management method is executed by photo services end, institute
It states photo services end to be configured in Content Management Platform, the Content Management Platform further includes business processing end, the method packet
It includes:
Obtain picture to be processed;
According to the picture attribute analysis strategy prestored, attributive analysis is carried out to the picture, to obtain the attribute number of the picture
According to the attribute data includes the parameter value of property parameters and the property parameters;
The attribute data of the picture is saved in picture attribute library;
Receive the attribute query request that business processing end is sent for the picture;
From the picture attribute library, objective attribute target attribute data corresponding with attribute query request, the objective attribute target attribute are obtained
Data are some or all of the attribute data;
The objective attribute target attribute data are sent to the business processing end, so that the business processing end is according to the objective attribute target attribute
The parameter value that property parameters are corresponded in data correspondingly handles picture execution.
2. the method as described in claim 1, which is characterized in that in the picture attribute analysis strategy that the basis prestores, to institute
State picture carry out attributive analysis before, further includes:
According to property parameters required for the business processing end, the picture attribute analysis strategy is determined.
3. the method as described in claim 1, which is characterized in that further include:
When detecting that the Content Management Platform increases new business processing end, obtains and belong to required for the new business processing end
Property parameter;
According to property parameters required for the new business processing end, the picture attribute analysis strategy is adjusted.
4. method as claimed in claim 3, which is characterized in that in the attribute according to required for the new business processing end
Parameter, before adjusting the picture attribute analysis strategy, further includes:
Judge whether existing property parameters in the picture attribute library meet the attribute specification of the new business processing end;
If conditions are not met, then executing the property parameters according to required for the new business processing end, the picture category is adjusted
Property analysis strategy.
5. a kind of picture attribute management method, which is characterized in that the picture attribute management method is executed by business processing end, institute
It states business processing end to be configured in Content Management Platform, the Content Management Platform further includes photo services end, the method packet
It includes:
Obtain picture to be processed;
The attribute query request for the picture is sent to the photo services end, the attribute query request is used to indicate institute
It states picture servers and obtains the corresponding objective attribute target attribute data of the picture from picture attribute library;
Receive the objective attribute target attribute data that the photo services end returns;
According to the objective attribute target attribute data, picture execution is accordingly handled.
6. a kind of picture attribute managing device, which is characterized in that the picture attribute managing device is applied in photo services end,
The photo services end is located in Content Management Platform, and the Content Management Platform further includes business processing end, described device packet
It includes:
First obtains module, for obtaining picture to be processed;
Attributive analysis module, for attributive analysis being carried out to the picture, to obtain according to the picture attribute analysis strategy prestored
The attribute data of the picture, the attribute data include the parameter value of property parameters and the property parameters;
Preserving module, for the attribute data of the picture to be saved in picture attribute library;
First receiving module, the attribute query request sent for receiving business processing end for the picture;
Second obtains module, for obtaining objective attribute target attribute corresponding with attribute query request from the picture attribute library
Data, the objective attribute target attribute data are some or all of the attribute data;
First sending module, for the objective attribute target attribute data to be sent to the business processing end, so that the business processing
End is correspondingly handled picture execution according to the parameter value for corresponding to property parameters in the objective attribute target attribute data.
7. device as claimed in claim 6, which is characterized in that further include:
Determining module is used for the property parameters according to required for the business processing end, determines the picture attribute analysis strategy.
8. the device stated such as claim 6, which is characterized in that further include:
Third obtains module, for obtaining the new industry when detecting that the Content Management Platform increases new business processing end
Property parameters required for business processing end;
Module is adjusted, the property parameters according to required for the new business processing end are used for, adjusts the picture attribute analysis plan
Slightly.
9. device as claimed in claim 8, which is characterized in that further include:
Judgment module, for judging whether existing property parameters meet the new business processing end in the picture attribute library
Attribute specification;
The adjustment module, in knowing the picture attribute library existing property parameters be unsatisfactory for new business processing
When the attribute specification at end, the property parameters according to required for the new business processing end adjust the picture attribute analysis.
10. a kind of picture attribute managing device, which is characterized in that the picture attribute managing device is located in business processing end,
The business processing end is configured in Content Management Platform, and the Content Management Platform further includes photo services end, described device
Include:
4th obtains module, for obtaining picture to be processed;
Second sending module, for sending the attribute query request for the picture, the attribute to the photo services end
Inquiry request is used to indicate the picture servers and obtains the corresponding objective attribute target attribute data of the picture from picture attribute library;
Receiving module, the objective attribute target attribute data returned for receiving the photo services end;
Processing module, for accordingly handling picture execution according to the objective attribute target attribute data.
11. a kind of electronic equipment, which is characterized in that on a memory and can be in processor including memory, processor and storage
The computer program of upper operation when the processor executes described program, realizes the picture as described in any in claim 1-4
Attribute management method or picture attribute management method as claimed in claim 5.
12. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the meter
The picture attribute management method or such as right as described in any in claim 1-4 are realized when calculation machine program is executed by processor
It is required that picture attribute management method described in 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811525436.7A CN109710827B (en) | 2018-12-13 | 2018-12-13 | Picture attribute management method and device, picture server and business processing terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811525436.7A CN109710827B (en) | 2018-12-13 | 2018-12-13 | Picture attribute management method and device, picture server and business processing terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109710827A true CN109710827A (en) | 2019-05-03 |
CN109710827B CN109710827B (en) | 2021-07-13 |
Family
ID=66256494
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811525436.7A Active CN109710827B (en) | 2018-12-13 | 2018-12-13 | Picture attribute management method and device, picture server and business processing terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109710827B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111223155A (en) * | 2019-10-22 | 2020-06-02 | 浙江大搜车软件技术有限公司 | Image data processing method, image data processing device, computer equipment and storage medium |
CN112312200A (en) * | 2019-08-06 | 2021-02-02 | 北京字节跳动网络技术有限公司 | Video cover generation method and device and electronic equipment |
CN113076961A (en) * | 2021-05-12 | 2021-07-06 | 北京奇艺世纪科技有限公司 | Image feature library updating method, image detection method and device |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103793498A (en) * | 2014-01-22 | 2014-05-14 | 百度在线网络技术(北京)有限公司 | Picture searching method and device and searching engine |
CN104536973A (en) * | 2014-12-03 | 2015-04-22 | 北京奇虎科技有限公司 | Picture identification method and browser client |
CN104572905A (en) * | 2014-12-26 | 2015-04-29 | 小米科技有限责任公司 | Photo index creation method, photo searching method and devices |
CN105808782A (en) * | 2016-03-31 | 2016-07-27 | 广东小天才科技有限公司 | Adding method and device for picture labels |
CN105989153A (en) * | 2015-03-02 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Interaction method and device of database |
CN106570157A (en) * | 2016-11-03 | 2017-04-19 | 北京金山安全软件有限公司 | Picture pushing method and device and electronic equipment |
CN107491521A (en) * | 2017-08-16 | 2017-12-19 | 深圳市爱思拓信息存储技术有限公司 | A kind of image search system and method |
CN107967705A (en) * | 2017-12-06 | 2018-04-27 | 央视动画有限公司 | The store method of animated actions, the call method of animated actions and device |
CN108197164A (en) * | 2017-12-14 | 2018-06-22 | 泰康保险集团股份有限公司 | Business data storage method and device |
CN108304815A (en) * | 2018-02-08 | 2018-07-20 | 百度在线网络技术(北京)有限公司 | A kind of data capture method, device, server and storage medium |
CN108495036A (en) * | 2018-03-29 | 2018-09-04 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN108829745A (en) * | 2018-05-24 | 2018-11-16 | 北京三快在线科技有限公司 | Management method, device and the electronic equipment of business datum |
CN108829844A (en) * | 2018-06-20 | 2018-11-16 | 聚好看科技股份有限公司 | A kind of information search method and system |
CN108961364A (en) * | 2018-07-10 | 2018-12-07 | 麒麟合盛网络技术股份有限公司 | A kind of image processing method and device |
-
2018
- 2018-12-13 CN CN201811525436.7A patent/CN109710827B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103793498A (en) * | 2014-01-22 | 2014-05-14 | 百度在线网络技术(北京)有限公司 | Picture searching method and device and searching engine |
CN104536973A (en) * | 2014-12-03 | 2015-04-22 | 北京奇虎科技有限公司 | Picture identification method and browser client |
CN104572905A (en) * | 2014-12-26 | 2015-04-29 | 小米科技有限责任公司 | Photo index creation method, photo searching method and devices |
CN105989153A (en) * | 2015-03-02 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Interaction method and device of database |
CN105808782A (en) * | 2016-03-31 | 2016-07-27 | 广东小天才科技有限公司 | Adding method and device for picture labels |
CN106570157A (en) * | 2016-11-03 | 2017-04-19 | 北京金山安全软件有限公司 | Picture pushing method and device and electronic equipment |
CN107491521A (en) * | 2017-08-16 | 2017-12-19 | 深圳市爱思拓信息存储技术有限公司 | A kind of image search system and method |
CN107967705A (en) * | 2017-12-06 | 2018-04-27 | 央视动画有限公司 | The store method of animated actions, the call method of animated actions and device |
CN108197164A (en) * | 2017-12-14 | 2018-06-22 | 泰康保险集团股份有限公司 | Business data storage method and device |
CN108304815A (en) * | 2018-02-08 | 2018-07-20 | 百度在线网络技术(北京)有限公司 | A kind of data capture method, device, server and storage medium |
CN108495036A (en) * | 2018-03-29 | 2018-09-04 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN108829745A (en) * | 2018-05-24 | 2018-11-16 | 北京三快在线科技有限公司 | Management method, device and the electronic equipment of business datum |
CN108829844A (en) * | 2018-06-20 | 2018-11-16 | 聚好看科技股份有限公司 | A kind of information search method and system |
CN108961364A (en) * | 2018-07-10 | 2018-12-07 | 麒麟合盛网络技术股份有限公司 | A kind of image processing method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112312200A (en) * | 2019-08-06 | 2021-02-02 | 北京字节跳动网络技术有限公司 | Video cover generation method and device and electronic equipment |
CN111223155A (en) * | 2019-10-22 | 2020-06-02 | 浙江大搜车软件技术有限公司 | Image data processing method, image data processing device, computer equipment and storage medium |
CN111223155B (en) * | 2019-10-22 | 2023-12-05 | 浙江大搜车软件技术有限公司 | Image data processing method, device, computer equipment and storage medium |
CN113076961A (en) * | 2021-05-12 | 2021-07-06 | 北京奇艺世纪科技有限公司 | Image feature library updating method, image detection method and device |
CN113076961B (en) * | 2021-05-12 | 2023-09-05 | 北京奇艺世纪科技有限公司 | Image feature library updating method, image detection method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109710827B (en) | 2021-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10545976B2 (en) | Automated presentation of information using infographics | |
US7543228B2 (en) | Template for rendering an electronic form | |
CN110225373B (en) | Video auditing method and device and electronic equipment | |
CN109710827A (en) | Picture attribute management method, device, photo services end and business processing end | |
CN110443552B (en) | Method and device for automatically transmitting product main data information | |
CN107067289A (en) | A kind of personal marketing commending system | |
CN112131504B (en) | Webpage editing and displaying method, device, equipment and storage medium | |
CN109299178A (en) | A kind of application method and data analysis system | |
CN109598278A (en) | Clustering processing method, apparatus, electronic equipment and computer readable storage medium | |
CN109657225A (en) | Data integration method, device, terminal and storage medium | |
CN106537437A (en) | Identifying media channels that have a high likelihood of multiple consumptions by one or more users | |
CN109271561A (en) | A kind of profile information search method and device | |
CN107665237A (en) | Data structure sorter, the distribution subscription system of unstructured data and method | |
CN109800036A (en) | Information flow page display method, system, calculates equipment and storage medium at device | |
US20110184956A1 (en) | Accessing digitally published content using re-indexing of search results | |
CN110019263A (en) | Information storage means and device | |
WO2009005237A2 (en) | System and method for providing personalized album production | |
CN103164409B (en) | A kind of web advertisement represents pattern posteriority method and system | |
CN109918626A (en) | A kind of foundation investment and financing service system | |
JP2023550884A (en) | Systems and methods for automatically configuring custom product selections based on user interaction | |
KR20030054104A (en) | Contents personalization method and apparatus by aggregating multiple profiles | |
CN108074108A (en) | A kind of display methods and its terminal of net recommendation | |
CN110290201A (en) | Picture acquisition method, mobile terminal, server and storage medium | |
CN109710410A (en) | A kind of internet information resource distribution method and device | |
CN111415209A (en) | Information distribution 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |