CN110765396A - Figure adapting system and figure adapting method based on same - Google Patents

Figure adapting system and figure adapting method based on same Download PDF

Info

Publication number
CN110765396A
CN110765396A CN201910928402.0A CN201910928402A CN110765396A CN 110765396 A CN110765396 A CN 110765396A CN 201910928402 A CN201910928402 A CN 201910928402A CN 110765396 A CN110765396 A CN 110765396A
Authority
CN
China
Prior art keywords
picture
cutting
information
pictures
tag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910928402.0A
Other languages
Chinese (zh)
Inventor
刘树东
陆鹏
朱向升
李�赫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tongcheng Network Technology Co Ltd
Original Assignee
Tongcheng Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tongcheng Network Technology Co Ltd filed Critical Tongcheng Network Technology Co Ltd
Priority to CN201910928402.0A priority Critical patent/CN110765396A/en
Priority to PCT/CN2019/122009 priority patent/WO2021056812A1/en
Publication of CN110765396A publication Critical patent/CN110765396A/en
Priority to DE202020105321.3U priority patent/DE202020105321U1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention discloses a graph adaptation system and a graph adaptation method based on the same, relates to the technical field of graph adaptation, and aims to solve the problem that the existing graph adaptation scheme needs a large amount of storage cost. The technical scheme is that the system comprises a Web server, a write server, a tag information reading module, a meta information reading module and a graph cutting module; the Web server inquires whether the picture uploaded by the user is repeated or not and only uploads the non-repeated picture; the writing server acquires and stores the picture uploaded by the Web server; the tag information reading module receives and analyzes the transmitted picture URL to acquire a corresponding picture id and a picture cutting style; the meta-information reading module acquires meta-information of a corresponding picture and original image file information according to the picture id; and the picture cutting module cuts the original picture acquired by the meta-information reading module by using the acquired picture cutting style. The situation that a plurality of pictures are stored in the same picture due to different sizes is avoided, and the method has the advantage that a large amount of storage cost can be saved.

Description

Figure adapting system and figure adapting method based on same
Technical Field
The invention relates to the technical field of graph adaptation, in particular to a graph adaptation system and a graph adaptation method based on the system.
Background
With the development of the internet, due to the advantages of intuition and liveliness, pictures often appear in a large number in service scenes of each large internet company, such as comment pictures at the APP end, hotel preview pictures and the like. Meanwhile, since the pictures need to be adapted to web sites and different mobile phone terminals, the same picture needs to be stored in many copies to be adapted to different terminals.
For example, chinese patent publication No. CN101699839A discloses a method for adapting graphics of a mobile terminal, which includes the following steps: a user terminal sends a data packet containing a mobile phone number, a mobile terminal type and a designated picture to a WEB or WAP server; the WEB or WAP server calculates the length-width ratio of the terminal screen according to the type of the mobile terminal, and then inquires pictures matched with the length-width ratio of the terminal screen and the picture numbers from the picture database server; and the WEB or WAP server sends the adaptive picture to the mobile terminal with the number.
However, the above prior art solutions have the following drawbacks: since a plurality of pictures are stored in the same picture, a large amount of storage cost is required, and therefore, in order to adapt to different terminals, reduce storage capacity as much as possible, and save cost, a scheme that can cut pictures in real time according to the terminal type and feed back pictures of different sizes to a service party in real time is required to be designed under the condition that only one picture is stored.
Disclosure of Invention
The invention aims to provide a graph adaptation system and a graph adaptation method based on the system.
The invention aims at: a graphic adaptation system is provided, which has the effect of saving a large amount of storage cost;
the second purpose of the invention is that: a graph adaptation method is provided, which has the effect of reducing the pressure of a server and simultaneously feeding back pictures with corresponding sizes for a business side in real time.
The above object of the present invention is achieved by the following technical solutions:
a graphics adaptation system, comprising:
the Web server is used for inquiring whether the pictures uploaded by the user are repeated or not, uploading the non-repeated pictures and directly returning corresponding picture ids to the repeated pictures;
the writing server is used for acquiring and storing the pictures uploaded by the Web server and managing and maintaining the meta information of the stored pictures, wherein the meta information comprises a picture id;
the tag information reading module is used for receiving and analyzing the transmitted picture URL corresponding to the type of the user terminal so as to acquire a corresponding picture id and a picture cutting style;
the meta-information reading module is used for acquiring meta-information of a corresponding picture and original image file information from the write server according to the picture id acquired by the tag information reading module;
and the cutting module is used for cutting the original image acquired by the meta-information reading module by using the cutting style acquired by the tag information reading module and returning the original image to the user terminal.
By adopting the technical scheme and the read-write separation architecture design, under the condition that only one picture is stored, the picture can be cut in real time according to the type of the user terminal (APP, browser webpage and the like), the pictures with different sizes are fed back to the service side in real time to be matched with the user terminal, a large amount of storage cost is saved, and the condition that the same picture is stored in a plurality of pictures due to different sizes is avoided.
The invention is further configured to: the Web server includes:
the duplication removing module is used for processing the picture uploaded by the user into a picture with all pixel points only having black and white colors, reducing the processed picture in an equal proportion to form a contrast image, comparing the formed contrast image with the contrast images corresponding to all the pictures in the write server and judging whether the comparison images are duplicated or not;
and the storage module is used for storing the comparison images of all the pictures in the writing server and is also used for storing the comparison images obtained by the duplication eliminating module when the duplication eliminating module judges that the comparison images are not the same.
By adopting the technical scheme, duplicate removal is carried out when the user uploads the picture, so that the storage capacity of the system is further saved, and the picture is prevented from being repeatedly uploaded.
The invention is further configured to: the image preprocessing module is used for preprocessing the image uploaded by the Web server into an image with a set format and a set style specification and then uploading the image to the write server.
By adopting the technical scheme, under the default condition, pictures with uploaded original pixels larger than a set value are subjected to real-time picture cutting, the pictures are processed to set style specifications in a unified mode, and the picture storage size is limited from the source, so that the storage capacity of the system is further saved, and the load pressure of the system is reduced.
The invention is further configured to: the tag information reading module comprises:
the analysis unit is used for analyzing the transmitted picture URL corresponding to the user terminal to acquire the label information tag and the picture id of the picture cutting;
the judging unit is used for judging whether the graph needs to be cut according to the tag information tag;
the reading unit is used for constructing an original image label of the picture and uploading the original image label to the meta-information reading module when the judging unit judges that the original image label is not the original image label; the meta-information reading module is further used for reading the cutting pattern in the tag information tag and uploading the cutting pattern to the meta-information reading module when the judging unit judges that the cutting pattern is positive;
the tag information tag comprises first characteristic information used for indicating whether a picture is cut or not and second characteristic information containing a picture cutting style.
By adopting the technical scheme, after the original image information and the cutting size pattern are obtained, the original image can be cut by utilizing the cutting pattern. The cutting is flexible and configurable, the requirements of different sizes can be met by configuring specification styles, pictures of different sizes are generated without traversing the pictures every time, and the system pressure is reduced. Meanwhile, in the cutting process, various parameters such as zooming and the like can be configured so as to meet the requirements of different sizes and improve the adaptability of the system.
The second aim of the invention is realized by the following technical scheme:
a figure adaptation method, the said figure adaptation method is based on the figure adaptation system of the above-mentioned technical scheme, including uploading the method A and picture and cutting the picture method B of the picture;
the picture uploading method A comprises the following steps:
s100, picture verification and duplication removal: removing duplicate when a user uploads a picture, directly returning a picture id for a repeated picture, and not repeatedly uploading;
s200, forwarding and backup: forwarding the pictures which are judged to be non-repeated in the step S100 to a writing server and writing the pictures into a file, and managing and maintaining the meta information of the pictures at the same time, wherein the meta information of each picture comprises a picture id;
the picture cutting method B comprises the following steps:
s300, obtaining the cutting specification: analyzing the transmitted picture URL corresponding to the type of the user terminal and acquiring a picture id and a picture cutting style;
s400, acquiring picture meta information: acquiring meta information of the picture and file information of the original picture according to the picture id;
s500, cutting a picture: and after obtaining the meta information of the picture, the file information of the original drawing and the cutting pattern, cutting the original drawing by using the cutting pattern and returning the original drawing to the user terminal.
By adopting the technical scheme, the picture system can request dynamic picture cutting each time and return pictures with different sizes according to the style requirements of the user by matching with style rules on the basis of only storing one original picture, and the effect of reducing the pressure of the server and feeding back the pictures with corresponding sizes to the business side in real time is achieved.
The invention is further configured to: step S100 includes the following substeps:
s101, processing the picture uploaded by the user through an MD5 message digest algorithm and generating a hash value;
s102, comparing the hash value generated in the substep S101 with the hash values of all pictures in the write server and judging whether the two are repeated; if so, go to substep S103; if not, entering the substep S104;
s103, directly returning corresponding picture id to the repeated picture without repeated uploading;
s104, stores the hash value generated in the substep S101, and then proceeds to step S200.
By adopting the technical scheme, the picture uploaded by the user can be compared with the existing picture quickly through the hash value, so that the purpose of duplicate removal is achieved, and repeated uploading and repeated storage are avoided. On the other hand, even if the picture uploaded by the user is slightly different from the picture stored by the system, the picture can be distinguished by the hash value when the picture cannot be distinguished by naked eyes, so that repeated uploading is avoided. Finally, because the hash value generated by processing is smaller, the hash value is favorable for storage, thereby further relieving the system pressure
The invention is further configured to: the picture uploading method A further comprises the following steps:
s600, picture preprocessing: preprocessing the picture which is judged to be non-repeated in the step S100 into a picture with a fixed rule;
the step S600 specifically includes the following substeps:
s601, acquiring basic information of the picture which is judged not to be repeated in the step S100, wherein the basic information comprises format and style specifications;
s602, judging the format of the picture obtained in the substep S601; if the picture is not in the jpg format, the substep S603 is performed; if the picture is in the jpg format, go to substep S604;
s603, converting the picture into a jpg format, and entering a substep S604;
s604, cutting the picture into a picture with set style specification, and entering the step S200.
By adopting the technical scheme, the storage size of the picture is limited from the source, so that the storage resource is saved, the dynamic cutting of the stored original picture by the system is facilitated, and the response efficiency of the system is improved.
The invention is further configured to: the step S300 includes the following substeps:
s301, generating a picture URL according to the type of the terminal;
s302, analyzing the picture URL generated in the sub-step S301 and acquiring a picture id and the label information tag of the picture cutting;
s303, judging whether the label information tag of the picture cutting acquired in the substep S302 is an original picture; if yes, go to substep S304; if not, go to substep S305;
s304, constructing an image original image label, and entering the step S400;
s305, reading the cutting pattern in the tag information tag, and proceeding to step S400.
By adopting the technical scheme, whether the graph needs to be cut can be quickly judged according to the tag information tag, if the graph does not need to be cut, the original graph tag is directly output to read the original graph information, and if the graph needs to be cut, the specific graph cutting style in the tag information tag is read for subsequent cutting. Through the above judgment mode, the response efficiency of the system is further improved, and the load pressure of the system is reduced.
The invention is further configured to: the picture URL consists of a domain name, a tag information tag and a picture id, wherein the tag information tag comprises first characteristic information used for indicating whether a picture is cut or not and second characteristic information containing a picture cutting style.
By adopting the technical scheme, the cutting information can be quickly judged according to the tag information tag, and the corresponding original image can be accurately corresponded to through the analysis of the picture URL so as to carry out dynamic operation on the original image.
In conclusion, the beneficial technical effects of the invention are as follows:
1. through the arrangement of the Web server, the write server, the tag information reading module, the meta information reading module and the graph cutting module, the effect of saving a large amount of storage cost is achieved;
2. whether the pictures are stored and the sizes of the stored pictures are limited from the source through the arrangement of the duplication elimination module, the storage module and the preprocessing module, so that the load pressure of the system is greatly reduced;
3. through the arrangement of the analysis unit, the judgment unit and the reading unit, the style requirement of the user can be identified rapidly, and therefore pictures with different sizes can be fed back to the user in real time.
Drawings
FIG. 1 is a schematic diagram illustrating an overall structure of a graphics adaptation system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of another graphics adaptation system according to an embodiment of the present invention;
FIG. 3 is a flowchart of a graphics adaptation method according to a second embodiment of the present invention;
fig. 4 is a flowchart of step S100 shown in the second embodiment of the present invention;
fig. 5 is a flowchart of step S600 according to the second embodiment of the present invention;
fig. 6 is a flowchart of step S300 according to the second embodiment of the present invention.
In the figure, 1, a Web server; 11. a duplicate removal module; 12. a storage module; 2. a write server; 3. a tag information reading module; 31. an analysis unit; 32. a judgment unit; 33. a reading unit; 4. a meta information reading module; 5. a graph cutting module; 6. a preprocessing module; 7. an upload subsystem; 8. and a graph cutting subsystem.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
Example one
Referring to fig. 1, the graphics adaptation system disclosed by the present invention includes an upload subsystem 7 and a graph cutting subsystem 8, where the upload subsystem 7 includes a Web server 1, a write server 2 and a preprocessing module 6, and the graph cutting subsystem 8 includes a tag information reading module 3, a meta information reading module 4 and a graph cutting module 5.
The Web server 1 is used for inquiring whether the pictures uploaded by the user are repeated or not, uploading the non-repeated pictures, and directly returning corresponding picture id to the repeated pictures so as to bind the pictures with the information input by the user.
The write server 2 is configured to acquire and store the picture uploaded by the Web server 1, and is further configured to manage and maintain meta information of the stored picture, where the meta information of the picture specifically includes a picture id, picture content information, picture classification information, and the like.
the tag information reading module 3 is used for receiving and analyzing the transmitted picture URL corresponding to the type of the user terminal, and is used for acquiring the corresponding picture id and the picture cutting style according to the analyzed data.
The meta-information reading module 4 is configured to obtain meta-information of a corresponding picture and original image file information from the write server 2 according to the picture id obtained by the tag information reading module 3.
The cutting module 5 is configured to cut the original image acquired by the meta information reading module 4 by using the cutting style acquired by the tag information reading module 3, and return the cut image to the user terminal.
The preprocessing module 6 is used for preprocessing the pictures uploaded by the Web server 1 into pictures with set formats and set style specifications and then uploading the pictures to the write server 2. Specifically, when the picture uploaded by the Web server 1 is not in the jpg format, the preprocessing module 6 converts the picture into the jpg format; when the pixels of the picture uploaded by the Web server 1 are larger than the set value, for example, 1500, the picture is processed to the style specification of 1500 × 1500.
Referring to fig. 2, the Web server 1 includes a deduplication module 11 and a storage module 12. The duplication elimination module 11 is configured to perform pixel processing on a picture uploaded by a user, so that all pixel points of the picture have only black and white colors, that is, a color picture is processed into a black and white picture; the duplication removing module 11 processes the color photo into a black-and-white photo and then reduces the black-and-white photo in equal proportion to form a contrast image, in this embodiment, the duplication removing module 11 reduces the processed black-and-white photo in equal proportion to one fourth of the original black-and-white photo; in addition, the duplication elimination module 11 is further configured to compare the obtained comparison image with comparison images corresponding to all pictures in the write server 2, and determine whether duplication occurs. The storage module 12 is configured to store the comparison images of all the pictures in the write server 2, and is further configured to store the comparison images obtained by the deduplication module 11 when the deduplication module 11 determines that the pictures are not duplicated.
Referring to fig. 2, the tag information reading module 3 includes an analysis unit 31, a determination unit 32, and a reading unit 33. The parsing unit 31 is configured to parse a transmitted picture URL corresponding to the user terminal, so as to obtain tag information tag and a picture id of the picture cut, where the picture URL is derived from a request of the system parsing user terminal and includes a domain name, a rule for cutting the picture, and a picture id. The judging unit 32 is configured to judge whether a picture needs to be cut according to the tag information tag, the reading unit 33 is configured to construct a picture original label and upload the picture original label to the meta information reading module 4 when the judging unit 32 judges that the picture original label is not needed, and the reading unit 33 reads a picture cutting pattern in the tag information tag and uploads the picture cutting pattern to the meta information reading module 4 when the judging unit 32 judges that the picture original label is not needed. Note that the tag information tag includes first feature information indicating whether or not to cut a drawing, and second feature information including a cut pattern.
The implementation principle of the above embodiment is as follows:
when a user uploads a picture, in order to save storage capacity and avoid repeated uploading of the picture, firstly, the Web server 1 checks and deduplicates the picture, directly returns a corresponding picture id for the repeated picture and corresponds to the user request information, and the repeated uploading is not repeated. After the non-repeated pictures are uploaded, the preprocessing module 6 preprocesses the uploaded pictures, that is, in a default condition, pictures with uploaded original pixels larger than a set value are subjected to real-time picture cutting, for example, when pictures with uploaded original pixels larger than 1500 are subjected to real-time picture cutting, the pictures are processed to 1500 × 1500 format specification in a unified manner and the picture format is adjusted to jpg, so that the storage size and format of the pictures are limited. And finally, forwarding and backing up, namely, the preprocessing module 6 forwards the processed picture to the writing server 2 and writes the processed picture into a file, and meanwhile, the writing server 2 can manage and maintain the meta information of the picture.
When the picture is cut, the system can return pictures with different sizes by matching with the style rule and requesting dynamic picture cutting each time according to the style requirement of the user on the basis of only storing one original picture. Specifically, after the user terminal sends a request, the tag information reading module 3 first analyzes the picture URL, and acquires the cutting specification according to the composition rule of the picture URL. Subsequently, the meta-information reading module 4 obtains the original information of the picture and the file information of the original image according to the picture id. Finally, after the cutting module 5 obtains the original drawing information and the cutting pattern, the original drawing is cut by using the cutting pattern, and various parameters such as whether to zoom and the like can be configured in the cutting process so as to meet the requirements of different sizes. After the cropping is completed, the system returns the picture with the corresponding size to the request end.
Example two
Referring to fig. 3, a graph adaptation method based on a graph adaptation system in the first embodiment of the present disclosure includes a picture uploading method a and a picture cutting method B.
The picture uploading method A comprises the following steps:
s100, picture verification and duplication removal: and removing the duplicate when the user uploads the picture, and directly returning the picture id to the repeated picture without repeatedly uploading.
S600, picture preprocessing: the picture determined not to be repeated in step S100 is preprocessed as an original picture and then the process proceeds to S200.
S200, forwarding and backup: and forwarding the picture preprocessed in the step S600 to the write server 2 and writing the picture into a file, and managing and maintaining meta information of the picture, where the meta information of each picture includes a picture id.
The picture cutting method B comprises the following steps:
s300, obtaining the cutting specification: and analyzing the transmitted picture URL corresponding to the type of the user terminal and acquiring a picture id and a picture cutting style. Specifically, the picture URL is composed of a domain name, a tag information tag and a picture id, and the tag information tag includes first feature information indicating whether to cut a picture and second feature information including a cut pattern.
S400, acquiring picture meta information: and acquiring the meta information of the picture and the file information of the original picture according to the picture id.
S500, cutting a picture: and after obtaining the meta information of the picture, the file information of the original drawing and the cutting pattern, cutting the original drawing by using the cutting pattern and returning the original drawing to the user terminal.
Referring to fig. 4, step S100 includes the following sub-steps:
s101, processing the picture uploaded by the user through an MD5 message digest algorithm and generating a hash value;
s102, comparing the hash value generated in the substep S101 with the hash values of all pictures in the write server 2 and judging whether the two are repeated; if so, go to substep S103; if not, entering the substep S104;
s103, directly returning corresponding picture id to the repeated picture without repeated uploading;
s104, stores the hash value generated in the substep S101, and then proceeds to step S200.
Referring to fig. 5, step S600 includes the following sub-steps:
s601, acquiring basic information of the picture which is judged not to be repeated in the step S100, wherein the basic information comprises a format of the picture and a style specification of the picture;
s602, judging whether the format of the picture acquired in the substep S601 is jpg; if the picture is not in the jpg format, entering the substep S603; if the picture is in jpg format, go to substep S604;
s603, converting the picture into a jpg format, and entering a substep S604;
s604, the picture is cut out into an original picture of the set style specification, and the process proceeds to step S200.
Referring to fig. 6, step S300 includes the following sub-steps:
s301, generating a picture URL by the terminal application according to the type of the terminal;
s302, analyzing the picture URL generated in the sub-step S301 and acquiring a picture id and the label information tag of the picture cutting;
s303, judging whether the label information tag of the picture cutting acquired in the substep S302 is an original picture; if yes, go to substep S304; if not, go to substep S305;
s304, constructing an image original image label, and entering the step S400;
s305, reading the cutting pattern in the tag information tag, and proceeding to step S400.
The embodiments of the present invention are preferred embodiments of the present invention, and the scope of the present invention is not limited by these embodiments, so: all equivalent changes made according to the structure, shape and principle of the invention are covered by the protection scope of the invention.

Claims (9)

1. A graphics adaptation system, comprising:
the Web server (1) is used for inquiring whether the pictures uploaded by the user are repeated or not, uploading the non-repeated pictures and directly returning corresponding picture ids to the repeated pictures;
the writing server (2) is used for acquiring and storing the pictures uploaded by the Web server (1), and is also used for managing and maintaining the meta information of the stored pictures, wherein the meta information comprises a picture id;
the tag information reading module (3) is used for receiving and analyzing the transmitted picture URL corresponding to the type of the user terminal so as to acquire a corresponding picture id and a picture cutting style;
the meta information reading module (4) is used for acquiring the meta information of the corresponding picture and original image file information from the writing server (2) according to the picture id acquired by the tag information reading module (3);
and the cutting module (5) is used for cutting the original image acquired by the meta-information reading module (4) by using the cutting style acquired by the tag information reading module (3) and returning the original image to the user terminal.
2. A graphics adaptation system according to claim 1, characterized in that the Web server (1) comprises:
the duplication removing module (11) is used for processing the picture uploaded by the user into a picture with all pixel points only having black and white colors, reducing the processed picture in an equal proportion to form a contrast image, comparing the formed contrast image with the contrast images corresponding to all the pictures in the write server (2) and judging whether the comparison images are duplicated or not;
and the storage module (12) is used for storing the comparison images of all the pictures in the writing server (2), and is also used for storing the comparison images obtained by the duplication removing module (11) when the duplication removing module (11) judges that the comparison images are not the same.
3. The graphic adaptation system according to claim 1, further comprising a preprocessing module (6), wherein the preprocessing module (6) is configured to preprocess the pictures uploaded by the Web server (1) into pictures with a set format and a set style specification and upload the pictures to the write server (2).
4. Graphics adaptation system according to claim 1, characterized in that the tag information reading module (3) comprises:
the parsing unit (31) is used for parsing the transmitted picture URL corresponding to the user terminal to acquire the tag information tag and the picture id of the picture cutting;
a judging unit (32) for judging whether the image cutting is required according to the label information tag;
a reading unit (33) for constructing a picture original image label and uploading the picture original image label to the meta information reading module (4) when the judging unit (32) judges that the picture original image label is not included; the judging unit (32) is also used for reading the cutting pattern in the tag information tag and uploading the cutting pattern to the meta-information reading module (4) when judging that the cutting pattern is positive;
the tag information tag comprises first characteristic information used for indicating whether a picture is cut or not and second characteristic information containing a picture cutting style.
5. A graphics adaptation method, wherein the graphics adaptation method is based on the graphics adaptation system of claim 1, and comprises a picture uploading method a and a picture cutting method B;
the picture uploading method A comprises the following steps:
s100, picture verification and duplication removal: removing duplicate when a user uploads a picture, directly returning a picture id for a repeated picture, and not repeatedly uploading;
s200, forwarding and backup: forwarding the pictures which are judged to be non-repeated in the step S100 to a writing server (2) and writing the pictures into a file, and managing and maintaining the meta information of the pictures, wherein the meta information of each picture comprises a picture id;
the picture cutting method B comprises the following steps:
s300, obtaining the cutting specification: analyzing the transmitted picture URL corresponding to the type of the user terminal and acquiring a picture id and a picture cutting style;
s400, acquiring picture meta information: acquiring meta information of the picture and file information of the original picture according to the picture id;
s500, cutting a picture: and after obtaining the meta information of the picture, the file information of the original drawing and the cutting pattern, cutting the original drawing by using the cutting pattern and returning the original drawing to the user terminal.
6. A graphics adaptation method according to claim 5, characterized in that step S100 comprises the following sub-steps:
s101, processing the picture uploaded by the user through an MD5 message digest algorithm and generating a hash value;
s102, comparing the hash value generated in the substep S101 with the hash values of all pictures in the writing server (2) and judging whether the two are repeated or not; if so, go to substep S103; if not, entering the substep S104;
s103, directly returning corresponding picture id to the repeated picture without repeated uploading;
s104, stores the hash value generated in the substep S101, and then proceeds to step S200.
7. The graphics adaptation method according to claim 5, wherein the picture uploading method A further comprises the steps of:
s600, picture preprocessing: preprocessing the picture which is judged to be non-repeated in the step S100 into a picture with a fixed rule;
the step S600 specifically includes the following substeps:
s601, acquiring basic information of the picture which is judged not to be repeated in the step S100, wherein the basic information comprises format and style specifications;
s602, judging the format of the picture obtained in the substep S601; if the picture is not in the jpg format, the substep S603 is performed; if the picture is in the jpg format, go to substep S604;
s603, converting the picture into a jpg format, and entering a substep S604;
s604, cutting the picture into a picture with set style specification, and entering the step S200.
8. A graphics adaptation method according to claim 5, characterized in that said step S300 comprises the following sub-steps:
s301, generating a picture URL according to the type of the terminal;
s302, analyzing the picture URL generated in the sub-step S301 and acquiring a picture id and the label information tag of the picture cutting;
s303, judging whether the label information tag of the picture cutting acquired in the substep S302 is an original picture; if yes, go to substep S304; if not, go to substep S305;
s304, constructing an image original image label, and entering the step S400;
s305, reading the cutting pattern in the tag information tag, and proceeding to step S400.
9. The graphics adaptation method according to claim 8, wherein the picture URL is composed of a domain name, a tag information tag, and a picture id, and the tag information tag includes first feature information indicating whether to cut a picture and second feature information including a cut pattern.
CN201910928402.0A 2019-09-28 2019-09-28 Figure adapting system and figure adapting method based on same Pending CN110765396A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201910928402.0A CN110765396A (en) 2019-09-28 2019-09-28 Figure adapting system and figure adapting method based on same
PCT/CN2019/122009 WO2021056812A1 (en) 2019-09-28 2019-11-29 Graphic adaptation system and graphic adaptation method based on same
DE202020105321.3U DE202020105321U1 (en) 2019-09-28 2020-09-17 Graphics customization system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910928402.0A CN110765396A (en) 2019-09-28 2019-09-28 Figure adapting system and figure adapting method based on same

Publications (1)

Publication Number Publication Date
CN110765396A true CN110765396A (en) 2020-02-07

Family

ID=69330740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910928402.0A Pending CN110765396A (en) 2019-09-28 2019-09-28 Figure adapting system and figure adapting method based on same

Country Status (3)

Country Link
CN (1) CN110765396A (en)
DE (1) DE202020105321U1 (en)
WO (1) WO2021056812A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113382180A (en) * 2021-06-01 2021-09-10 海南车智易通信息技术有限公司 Picture processing method, computing device and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811442A (en) * 2011-06-03 2012-12-05 杨珺 Control method and control system for supporting self-adaptation display of multi-type cellphone terminal pictures based on internet of things
CN103390012A (en) * 2012-09-13 2013-11-13 爱乐活(北京)科技有限公司 Display picture generating method and device based on access
CN103729825A (en) * 2013-12-31 2014-04-16 世纪龙信息网络有限责任公司 Method for processing picture in dynamic adaption to terminal
CN105512329A (en) * 2015-12-24 2016-04-20 上海携程商务有限公司 GO-language-based dynamic figure cutting system
CN106682130A (en) * 2016-12-14 2017-05-17 北京五八信息技术有限公司 Similar picture detection method and device
CN109684568A (en) * 2018-12-13 2019-04-26 珠海天燕科技有限公司 Image processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811442A (en) * 2011-06-03 2012-12-05 杨珺 Control method and control system for supporting self-adaptation display of multi-type cellphone terminal pictures based on internet of things
CN103390012A (en) * 2012-09-13 2013-11-13 爱乐活(北京)科技有限公司 Display picture generating method and device based on access
CN103729825A (en) * 2013-12-31 2014-04-16 世纪龙信息网络有限责任公司 Method for processing picture in dynamic adaption to terminal
CN105512329A (en) * 2015-12-24 2016-04-20 上海携程商务有限公司 GO-language-based dynamic figure cutting system
CN106682130A (en) * 2016-12-14 2017-05-17 北京五八信息技术有限公司 Similar picture detection method and device
CN109684568A (en) * 2018-12-13 2019-04-26 珠海天燕科技有限公司 Image processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113382180A (en) * 2021-06-01 2021-09-10 海南车智易通信息技术有限公司 Picture processing method, computing device and readable storage medium
CN113382180B (en) * 2021-06-01 2023-02-28 海南车智易通信息技术有限公司 Picture processing method, computing device and readable storage medium

Also Published As

Publication number Publication date
WO2021056812A1 (en) 2021-04-01
DE202020105321U1 (en) 2020-12-03

Similar Documents

Publication Publication Date Title
US7065249B2 (en) System and method for image editing
US7792388B2 (en) Controlling format of a compound image
US20060193012A1 (en) Techniques for acquiring a parent multimedia asset (digital negative) from any of a plurality of multiply modified child multimedia assets
US20040133924A1 (en) Techniques for syncronizing any of a plurality of associated multimedia assets in a distributed system
US20070140559A1 (en) Compressing images in documents
JP2009081707A (en) Image processing device, image forming device, image processing method, image processing program, and recording medium
US7319536B1 (en) Techniques for synchronizing any of a plurality of associated multimedia assets in a distributed system
US20020135685A1 (en) Digital camera device
WO2001063558A2 (en) System and method for image processing
US11849240B2 (en) Dynamically configured processing of a region of interest dependent upon published video data selected by a runtime configuration file
JP2016076235A (en) Acquiring multimedia asset from multiple modified child multimedia assets
US20070226692A1 (en) Image processing apparatus and image processing method
JP5829083B2 (en) Techniques for synchronizing any of multiple associated multimedia assets in a distributed system
US8184343B2 (en) Image forming apparatus, apparatus for creating electronic album, image forming method, method for creating electronic album, program and index sheet
JP2004040784A (en) Image scan processing system, image scan processing method, and selection method of master file composed of scanned image encoded data
CN110765396A (en) Figure adapting system and figure adapting method based on same
US8254712B2 (en) Image processing apparatus, image processing method, image managing apparatus, image managing method, computer program product, and image order sheet
JP2009232295A (en) Content converting apparatus
CN112084155B (en) Picture processing method, device, equipment, terminal and readable storage medium
US10257370B2 (en) Cloud-based document quality assurance
CN112995927A (en) Method and device for processing 5G message user head portrait display
JP2005250716A (en) Image processing system
CN113438444A (en) Picture transmission and storage method and system
KR20020081239A (en) Digital watermarks as data proxies
US11961273B2 (en) Dynamically configured extraction, preprocessing, and publishing of a region of interest that is a subset of streaming video data

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200207

RJ01 Rejection of invention patent application after publication