CN106484769A - A kind of method of online quick access queries picture - Google Patents

A kind of method of online quick access queries picture Download PDF

Info

Publication number
CN106484769A
CN106484769A CN201610812385.0A CN201610812385A CN106484769A CN 106484769 A CN106484769 A CN 106484769A CN 201610812385 A CN201610812385 A CN 201610812385A CN 106484769 A CN106484769 A CN 106484769A
Authority
CN
China
Prior art keywords
picture
image data
module
unit
image
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
CN201610812385.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.)
Shenzhen Bincent Technology Co Ltd
Original Assignee
Shenzhen Bincent 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 Shenzhen Bincent Technology Co Ltd filed Critical Shenzhen Bincent Technology Co Ltd
Priority to CN201610812385.0A priority Critical patent/CN106484769A/en
Publication of CN106484769A publication Critical patent/CN106484769A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/54Browsing; Visualisation therefor
    • 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/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The invention provides a kind of method of online quick access queries picture, including:Transmission module, image data preserving module, data processing module, image data cache module and picture display module on image data is provided, the method for the online quick access queries picture is comprised the following steps:Step S1:On the image data, transmission module obtains the essential information data of picture, obtains Image ID using MD5 algorithm;Step S2:On the image data, transmission module whether there is from image data cache module inquiry picture successively according to Image ID, if it is present the picture is downloaded, if it does not exist, then terminating download pictures;The method of the online quick access queries picture can with the picture of the various forms of fast browsing, save and see the figure stand-by period, save floating resources when user sees figure, improve picture and obtain efficiency, meet that user quickly sees figure experience, the I/O visit capacity of disk can be obtained with dramatic decrease, invalid picture and also will filter out, significantly improve the hit rate for obtaining pictorial information.

Description

A kind of method of online quick access queries picture
Technical field
The present invention relates to picture Processing Technique field, more particularly to a kind of method of online quick access queries picture.
Background technology
Presently relevant sees figure service online, before being also to rely on reading with taking, or all extract, paging exhibition Show, such technical operation is simple, and treatment of details not enough puts in place, not only causes and cannot quickly see figure, also easily causes flow Waste, the page is in disorder, and customer experience is poor, need in many cases the essential information of picture is obtained, such as:Picture whether there is, scheme The length and width of piece, the size of picture, extension name of picture etc., obtain such essential information each time and are required for obtaining on disk Picture Binary Resources, get corresponding information after parsing Binary Resources again.When picture access amount reaches necessarily Amount, it will bring very big I/O handling capacity to disk, disk pressure is significantly improved, the stability of a system and security also can be obvious Reduce.
Therefore, those skilled in the art need badly develop a kind of can with the picture of the various forms of fast browsing, save see figure Stand-by period, floating resources of user when figure is seen are saved, is improved picture and efficiency is obtained, is met user and quickly sees figure experience, disk I/O visit capacity can be obtained with dramatic decrease, invalid picture and also will filter out, significantly improve the hit rate for obtaining pictorial information The online method for quickly checking picture.
Content of the invention
The technical problem to be solved in the present invention is to provide a kind of method of online quick access queries picture, and this is quick online Check picture method can with the picture of the various forms of fast browsing, save and see the figure stand-by period, save stream when user sees figure Amount resource, improve picture and obtain efficiency, meet that user quickly sees figure experience, the I/O visit capacity of disk can be with dramatic decrease, invalid Picture obtain also will filter out, significantly improve obtain pictorial information hit rate, the invention solves the problems that another technology ask Topic is to provide a kind of system of online quick access queries picture.
For solving above-mentioned technical problem, the invention provides a kind of method of online quick access queries picture, provides figure Transmission module, image data preserving module, data processing module, image data cache module and picture display module in sheet data, The method of the online quick access queries picture is comprised the following steps:
Step S1:On the image data, transmission module obtains the essential information data of picture, obtains picture using MD5 algorithm ID;
Step S2:On the image data, transmission module inquires about picture from image data cache module successively according to Image ID Whether there is, if it is present the picture is downloaded, if it does not exist, then terminating download pictures;
Step S3:The data processing module collects the big rim space distribution of the picture of the download, distribution of color, figure As fuzziness and saturation infromation, and it is calculated every display parameters scoring score value of the picture to be shown;
Wherein, the data processing module also includes image data query unit, image data judging unit, picture Data receipt unit and image data transmitting element, the step of realizing of step S3 include:
S301:The image data query unit external request uses http agreement, obtains figure by HEAD request method Piece essential information, first parses picture path, according to path from query graph in the image data cache module from message body Piece information;
S302:The image data judging unit judges whether to inquire image data, if inquired, execution step S303, otherwise, execution step S304;
S303:Image data is transferred to the image data receiving unit, terminates flow process;
S304:The image data query unit inquires about the picture with the presence or absence of text according to path from data cache module Mark in part system, if there is no file system in mark prompting, execution step S305, otherwise, then execution step S306;
S305:Return and pictorial information is not inquired, terminate flow process;
S306:The image data query unit goes to inquire about fileinfo in database according to picture path, if can look into Fileinfo is ask, then execution step S307, otherwise, execution step S308;
S307:Query Result is returned, and pictorial information is written in the image data cache module, flow process is tied Bundle;
S308:Go to obtain picture Binary Resources in MFS file system according to path, if do not get picture two entered Resource processed, then execution step S309, if get picture Binary Resources, execution step S310;
S309:Picture is not existed file system mark write in the image data cache module, flow process terminates;
S310:Parsing picture Binary Resources, get picture essential information, by essential information successively write into Databasce and The image data cache module, pictorial information is returned, and terminates flow process.
Preferably, on the image data, transmission module includes image data acquiring unit and image data resolution unit;
The step of realizing of step S1 includes:The image data uploading unit is asked using http agreement, by PUT Request method uploading pictures, are first stored in picture in the MFS file system of specified path, then obtain picture essential information, The Image ID of 16 systems, the picture that the image data resolution unit parsing is obtained is obtained using MD5 algorithm by picture path ID, and corresponding for Image ID pictorial information is saved in data classification chart, on the image data, transmission module is configured with data Classifying type table.
Preferably, the step of realizing of the method for the online quick access queries picture also includes:
Step S4:Artwork piece proportionally, is not being destroyed definition, is not changing its shape by the data processing module The picture of several various criterions under principle, is generated, the image data of the generation is issued the image data preserving module Save;
Step S5:The image data preserving module stores the various types of pictures for generating;
Step S6:When user opens design sketch, the data processing module judges the type of the equipment used by user, And corresponding picture is called according to the type of the equipment;
Step S7:The image data cache module is provided with the picture browsing experience mode of the formula of horizontally slipping, in user When slip dynamically obtains the picture of the image data preserving module, the picture temporary cache that checked, clear in client Look at slip this pictures, next pictures by asynchronous acquisition be added in queue and handle well displaying pattern, the picture number The picture of some various standards is all provided the user according to each Dynamic Extraction picture of preserving module;
Step S8:The picture display module shows the corresponding picture that user calls.
Preferably, the data processing module includes image data receiving unit, image data transmitting element;
The step of realizing of step S4 includes:Artwork piece proportionally, is not being broken by the image data receiving unit Bad definition, does not change under the principle of its shape, generates the picture of several various criterions, and the image data for being generated is passed through Image data transmitting element issues the image data preserving module.
Preferably, the data processing module includes image data confirmation unit, and step S6 realizes step to be included:When When user opens design sketch, the image data confirmation unit judges the type of the equipment used by user, and is set according to described Standby type calls the picture of the corresponding type that the image data receiving unit is processed into.
Preferably, the data processing module also includes image data pre-add carrier unit;
The step of realizing of step S7 includes:The image data pre-add carrier unit is provided with the picture of the formula of horizontally slipping Viewing experience mode, when user slides the picture for dynamically obtaining the image data preserving module, the image data is pre- The picture temporary cache that checked is browsed this pictures of slip in client by loading unit, and the image data is preloaded Next pictures are added in picture queue lists and handle well displaying pattern, the picture number by asynchronous acquisition by unit If the picture of dry type all can be extracted according to each Dynamic Extraction picture of pre-add carrier unit for user;
Wherein, the image data pre-add carrier unit is configured with picture queue lists.
Preferably, the step of realizing of step S2 includes:The image data acquiring unit external request uses HTTP Agreement, by GET request mode download pictures, obtains ID or the path of picture, then successively from image data from request Cache module, database and MFS file system query picture whether there is, and not exist with regard to failed download, if there is then reading The binary code stream of picture download pictures.
For solving above-mentioned technical problem, the present invention also provides a kind of system of online quick access queries picture, including:Figure Transmission module, image data preserving module, data processing module, image data cache module and picture display module in sheet data, The data processing module also includes image data query unit, image data judging unit, image data receiving unit and figure Sheet data transmitting element, on the image data, transmission module obtains the essential information data of picture, obtains picture using MD5 algorithm ID, on the image data, transmission module whether there is and download from image data cache module inquiry picture successively according to Image ID Picture, the data processing module collect the big rim space distribution of the picture of the download, distribution of color, image blur and Saturation infromation, and it is calculated every display parameters scoring score value of the picture to be shown;
Wherein, the data processing module also includes image data query unit, image data judging unit, image data Receiving unit and image data transmitting element,
The image data query unit external request uses http agreement, obtains picture by HEAD request method basic Information, first parses picture path from message body, inquires about pictorial information according to path from the image data cache module;
The image data judging unit judges whether to inquire image data, if inquiring image data, will figure Sheet data is transferred to the image data receiving unit;If inquiry is less than image data, the image data cargo tracer primitive root The picture is inquired about from data cache module with the presence or absence of the mark in file system according to path;If there is no text in mark prompting Part system, then return and do not inquire pictorial information;If there is file system in mark prompting, the image data cargo tracer Unit goes to inquire about fileinfo in database according to picture path;If fileinfo can be inquired, Query Result is returned, and Pictorial information is written in the image data cache module;If fileinfo can not be inquired, MFS text is gone according to path Picture Binary Resources are obtained in part system;If picture Binary Resources are not got, picture is not existed file system In the system mark write image data cache module, if there are picture Binary Resources are got, then parse picture binary system Resource, gets picture essential information, by essential information successively write into Databasce and the image data cache module, by picture Information is returned.
After employing said method and system, on the image data, transmission module obtains the essential information data of picture, Image ID is obtained using MD5 algorithm;On the image data, transmission module is looked into from image data cache module successively according to Image ID Ask picture whether there is, if it is present the picture is downloaded, if it does not exist, then terminating download pictures;The data processing The big rim space distribution of the picture that downloads described in module collection, distribution of color, image blur and saturation infromation, and calculate Obtain every display parameters scoring score value of the picture to be shown;The data processing module by artwork piece proportionally, Definition is not destroyed, is not changed under the principle of its shape, the picture of several various criterions is generated, by the picture number of the generation Save according to the image data preserving module is issued;The image data preserving module is the various types of pictures for generating Store;When user opens design sketch, the data processing module judges the type of the equipment used by user, and according to The type of the equipment calls corresponding picture;The image data cache module is provided with the picture browsing of the formula of horizontally slipping Experience mode, when user slides the picture for dynamically obtaining the image data preserving module, the picture that checked temporarily delays Storing away, this pictures of slip being browsed in client, next pictures are added in queue and are handled well by asynchronous acquisition Show pattern, each Dynamic Extraction picture of the image data preserving module be all the figure of some various standards of user's extraction Piece, the picture display module show the corresponding picture that user calls, method of the online quick access queries picture and System can with the picture of the various forms of fast browsing, save and see the figure stand-by period, save floating resources when user sees figure, raising Picture obtains efficiency, meet that user quickly sees figure experience, the I/O visit capacity of disk can be obtained with dramatic decrease, invalid picture Also will filter out, significantly improve the hit rate for obtaining pictorial information.
Description of the drawings
The flowchart of the step of Fig. 1 is the method for a kind of online quick access queries picture of present invention S3;
Fig. 2 is block mold schematic diagram corresponding with flow chart the step of Fig. 1.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with drawings and Examples, right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only used for explaining the present invention, not For limiting the present invention.
Embodiment 1
The step of referring to a kind of online quickly method of access queries picture that Fig. 1 to Fig. 2, Fig. 1 are present invention S3 Flowchart, Fig. 2 are block mold schematic diagrames corresponding with flow chart the step of Fig. 1;
The method of online quick access queries picture disclosed by the invention, provides transmission module on image data, image data Preserving module, data processing module, image data cache module and picture display module, the online quick access queries picture Method comprise the following steps:
Step S1:On the image data, transmission module obtains the essential information data of picture, obtains picture using MD5 algorithm ID;
Step S2:On the image data, transmission module inquires about picture from image data cache module successively according to Image ID Whether there is, if it is present the picture is downloaded, if it does not exist, then terminating download pictures;
Step S3:The data processing module collects the big rim space distribution of the picture of the download, distribution of color, figure As fuzziness and saturation infromation, and it is calculated every display parameters scoring score value of the picture to be shown;
Wherein, the data processing module also includes image data query unit, image data judging unit, picture Data receipt unit and image data transmitting element, the step of realizing of step S3 include:
S301:The image data query unit external request uses http agreement, obtains figure by HEAD request method Piece essential information, first parses picture path, according to path from query graph in the image data cache module from message body Piece information;
S302:The image data judging unit judges whether to inquire image data, if inquired, execution step S303, otherwise, execution step S304;
S303:Image data is transferred to the image data receiving unit, terminates flow process;
S304:The image data query unit inquires about the picture with the presence or absence of text according to path from data cache module Mark in part system, if there is no file system in mark prompting, execution step S305, otherwise, then execution step S306;
S305:Return and pictorial information is not inquired, terminate flow process;
S306:The image data query unit goes to inquire about fileinfo in database according to picture path, if can look into Fileinfo is ask, then execution step S307, otherwise, execution step S308;
S307:Query Result is returned, and pictorial information is written in the image data cache module, flow process is tied Bundle;
S308:Go to obtain picture Binary Resources in MFS file system according to path, if do not get picture two entered Resource processed, then execution step S309, if get picture Binary Resources, execution step S310;
S309:Picture is not existed file system mark write in the image data cache module, flow process terminates;
S310:Parsing picture Binary Resources, get picture essential information, by essential information successively write into Databasce and The image data cache module, pictorial information is returned, and terminates flow process.
On the image data, transmission module includes image data acquiring unit and image data resolution unit;Step S1 Step of realizing include:The image data uploading unit is asked using http agreement, by PUT request mode uploading pictures, First picture is stored in the MFS file system of specified path, picture essential information is then obtained, using MD5 algorithm by figure Piece path obtains the Image ID of 16 systems, the Image ID that the image data resolution unit parsing is obtained, and Image ID is corresponded to Pictorial information be saved in data classification chart, on the image data, transmission module is configured with data classifying type table.
In the present embodiment, the step of realizing of the method for preferably described online quick access queries picture also includes:
Step S4:Artwork piece proportionally, is not being destroyed definition, is not changing its shape by the data processing module The picture of several various criterions under principle, is generated, the image data of the generation is issued the image data preserving module Save;
Step S5:The image data preserving module stores the various types of pictures for generating;
Step S6:When user opens design sketch, the data processing module judges the type of the equipment used by user, And corresponding picture is called according to the type of the equipment;
Step S7:The image data cache module is provided with the picture browsing experience mode of the formula of horizontally slipping, in user When slip dynamically obtains the picture of the image data preserving module, the picture temporary cache that checked, clear in client Look at slip this pictures, next pictures by asynchronous acquisition be added in queue and handle well displaying pattern, the picture number The picture of some various standards is all provided the user according to each Dynamic Extraction picture of preserving module;
Step S8:The picture display module shows the corresponding picture that user calls.
The data processing module includes image data receiving unit, image data transmitting element;
The step of realizing of step S4 includes:Artwork piece proportionally, is not being broken by the image data receiving unit Bad definition, does not change under the principle of its shape, generates the picture of several various criterions, and the image data for being generated is passed through Image data transmitting element issues the image data preserving module.
The data processing module includes image data confirmation unit, and step S6 realizes step to be included:When user beats When opening design sketch, the image data confirmation unit judges the type of the equipment used by user, and the class according to the equipment Type calls the picture of the corresponding type that the image data receiving unit is processed into.
The data processing module also includes image data pre-add carrier unit;
The step of realizing of step S7 includes:The image data pre-add carrier unit is provided with the picture of the formula of horizontally slipping Viewing experience mode, when user slides the picture for dynamically obtaining the image data preserving module, the image data is pre- The picture temporary cache that checked is browsed this pictures of slip in client by loading unit, and the image data is preloaded Next pictures are added in picture queue lists and handle well displaying pattern, the picture number by asynchronous acquisition by unit If the picture of dry type all can be extracted according to each Dynamic Extraction picture of pre-add carrier unit for user;
Wherein, the image data pre-add carrier unit is configured with picture queue lists.
The step of realizing of step S2 includes:The image data acquiring unit external request uses http protocol, leads to GET request mode download pictures are crossed, and ID or the path of picture is obtained from request, then caches mould from image data successively Block, database and MFS file system query picture whether there is, and not exist with regard to failed download, if there is then reading picture Binary code stream download pictures.
Invention additionally discloses a kind of system of online quick access queries picture, including:Transmission module, picture on image data Data storage module, data processing module, image data cache module and picture display module, the data processing module are also wrapped Include image data query unit, image data judging unit, image data receiving unit and image data transmitting element, the figure In sheet data, transmission module obtains the essential information data of picture, obtains Image ID using MD5 algorithm, and the image data uploads mould Root tuber is according to Image ID successively from image data cache module inquiry picture with the presence or absence of simultaneously download pictures, the data processing module Big rim space distribution, distribution of color, image blur and the saturation infromation of the picture of the download is collected, and is calculated Every display parameters scoring score value of the picture to be shown;
Wherein, the data processing module also includes image data query unit, image data judging unit, image data Receiving unit and image data transmitting element,
The image data query unit external request uses http agreement, obtains picture by HEAD request method basic Information, first parses picture path from message body, inquires about pictorial information according to path from the image data cache module;
The image data judging unit judges whether to inquire image data, if inquiring image data, will figure Sheet data is transferred to the image data receiving unit;If inquiry is less than image data, the image data cargo tracer primitive root The picture is inquired about from data cache module with the presence or absence of the mark in file system according to path;If there is no text in mark prompting Part system, then return and do not inquire pictorial information;If there is file system in mark prompting, the image data cargo tracer Unit goes to inquire about fileinfo in database according to picture path;If fileinfo can be inquired, Query Result is returned, and Pictorial information is written in the image data cache module;If fileinfo can not be inquired, MFS text is gone according to path Picture Binary Resources are obtained in part system;If picture Binary Resources are not got, picture is not existed file system In the system mark write image data cache module, if there are picture Binary Resources are got, then parse picture binary system Resource, gets picture essential information, by essential information successively write into Databasce and the image data cache module, by picture Information is returned.
After employing said method and system, on the image data, transmission module obtains the essential information data of picture, Image ID is obtained using MD5 algorithm;On the image data, transmission module is looked into from image data cache module successively according to Image ID Ask picture whether there is, if it is present the picture is downloaded, if it does not exist, then terminating download pictures;The data processing The big rim space distribution of the picture that downloads described in module collection, distribution of color, image blur and saturation infromation, and calculate Obtain every display parameters scoring score value of the picture to be shown;The data processing module by artwork piece proportionally, Definition is not destroyed, is not changed under the principle of its shape, the picture of several various criterions is generated, by the picture number of the generation Save according to the image data preserving module is issued;The image data preserving module is the various types of pictures for generating Store;When user opens design sketch, the data processing module judges the type of the equipment used by user, and according to The type of the equipment calls corresponding picture;The image data cache module is provided with the picture browsing of the formula of horizontally slipping Experience mode, when user slides the picture for dynamically obtaining the image data preserving module, the picture that checked temporarily delays Storing away, this pictures of slip being browsed in client, next pictures are added in queue and are handled well by asynchronous acquisition Show pattern, each Dynamic Extraction picture of the image data preserving module be all the figure of some various standards of user's extraction Piece, the picture display module show the corresponding picture that user calls, method of the online quick access queries picture and System can with the picture of the various forms of fast browsing, save and see the figure stand-by period, save floating resources when user sees figure, raising Picture obtains efficiency, meet that user quickly sees figure experience, the I/O visit capacity of disk can be obtained with dramatic decrease, invalid picture Also will filter out, significantly improve the hit rate for obtaining pictorial information.
Simultaneously, it should be appreciated that these are only the preferred embodiments of the present invention, it is impossible to therefore limit the patent of the present invention Scope, equivalent structure or equivalent implementation method that every utilization description of the invention and accompanying drawing content are made, or directly or indirectly Other related technical fields are used in, are included within the scope of the present invention.

Claims (8)

1. a kind of method of online quick access queries picture, it is characterised in that:Transmission module, image data on image data is provided Preserving module, data processing module, image data cache module and picture display module, the online quick access queries picture Method comprise the following steps:
Step S1:On the image data, transmission module obtains the essential information data of picture, obtains Image ID using MD5 algorithm;
Step S2:On the image data, whether transmission module inquires about picture from image data cache module successively according to Image ID Exist, if it is present the picture is downloaded, if it does not exist, then terminating download pictures;
Step S3:The data processing module collects the big rim space distribution of the picture of the download, distribution of color, image mould Paste degree and saturation infromation, and it is calculated every display parameters scoring score value of the picture to be shown;
Wherein, the data processing module also includes that image data query unit, image data judging unit, image data are received Unit and image data transmitting element, the step of realizing of step S3 include:
S301:The image data query unit external request uses http agreement, obtains picture base by HEAD request method This information, first parses picture path from message body, inquires about picture letter according to path from the image data cache module Breath;
S302:The image data judging unit judges whether to inquire image data, if inquired, execution step S303, otherwise, execution step S304;
S303:Image data is transferred to the image data receiving unit, terminates flow process;
S304:The image data query unit inquires about the picture with the presence or absence of file system according to path from data cache module Mark in system, if there is no file system in mark prompting, execution step S305, otherwise, then execution step S306;
S305:Return and pictorial information is not inquired, terminate flow process;
S306:The image data query unit goes to inquire about fileinfo in database according to picture path, if can inquire Fileinfo, then execution step S307, otherwise, execution step S308;
S307:Query Result is returned, and pictorial information is written in the image data cache module, flow process terminates;
S308:Go to obtain picture Binary Resources in MFS file system according to path, if not getting picture binary system money Source, then execution step S309, if get picture Binary Resources, execution step S310;
S309:Picture is not existed file system mark write in the image data cache module, flow process terminates;
S310:Parsing picture Binary Resources, get picture essential information, by essential information successively write into Databasce and described Image data cache module, pictorial information is returned, and terminates flow process.
2. the method for online quick access queries picture according to claim 1, it is characterised in that:On the image data Transmission module includes image data acquiring unit and image data resolution unit;
The step of realizing of step S1 includes:The image data uploading unit is asked using http agreement, by PUT request Mode uploading pictures, are first stored in picture in the MFS file system of specified path, then obtain picture essential information, use MD5 algorithm obtains the Image ID of 16 systems by picture path, and the image data resolution unit parses the Image ID for obtaining, and Corresponding for Image ID pictorial information is saved in data classification chart, on the image data, transmission module is configured with data classifying type Table.
3. the method for online quick access queries picture according to claim 2, it is characterised in that:The online quick visit Ask that the step of realizing of the method for inquiry picture also includes:
Step S4:Artwork piece proportionally, is not being destroyed definition, is not changing the principle of its shape by the data processing module Under, the picture of several various criterions is generated, the image data of the generation is issued image data preserving module preservation Get up;
Step S5:The image data preserving module stores the various types of pictures for generating;
Step S6:When user opens design sketch, the data processing module judges the type of the equipment used by user, and root Corresponding picture is called according to the type of the equipment;
Step S7:The image data cache module is provided with the picture browsing experience mode of the formula of horizontally slipping, and slides in user Dynamically obtain the image data preserving module picture when, the picture temporary cache that checked, browse cunning in client This pictures is moved, next pictures are added in queue and handle well displaying pattern by asynchronous acquisition, and the image data is protected The each Dynamic Extraction picture of storing module all provides the user the picture of some various standards;
Step S8:The picture display module shows the corresponding picture that user calls.
4. the method for online quick access queries picture according to claim 3, it is characterised in that:The data processing mould Block includes image data receiving unit, image data transmitting element;
The step of realizing of step S4 includes:Artwork piece proportionally, is not being destroyed clearly by the image data receiving unit Clear degree, does not change under the principle of its shape, generates the picture of several various criterions, and the image data for being generated is passed through picture Data transmission unit issues the image data preserving module.
5. the method for online quick access queries picture according to claim 4, it is characterised in that:The data processing mould Block includes image data confirmation unit, and step S6 realizes step to be included:When user opens design sketch, the image data Confirmation unit judges the type of the equipment used by user, and it is single to call the image data to receive according to the type of the equipment The picture of the corresponding type that unit is processed into.
6. the method for online quick access queries picture according to claim 3, it is characterised in that:The data processing mould Block also includes image data pre-add carrier unit;
The step of realizing of step S7 includes:The image data pre-add carrier unit is provided with the picture browsing of the formula of horizontally slipping Experience mode, when user slides the picture for dynamically obtaining the image data preserving module, the image data is preloaded The picture temporary cache that checked is browsed this pictures of slip, the image data pre-add carrier unit in client by unit Next pictures are added in picture queue lists and handle well displaying pattern by asynchronous acquisition, the image data is pre- If each Dynamic Extraction picture of loading unit all can extract the picture of dry type for user;
Wherein, the image data pre-add carrier unit is configured with picture queue lists.
7. the method for online quick access queries picture according to claim 2, it is characterised in that:The reality of step S2 Existing step includes:The image data acquiring unit external request uses http protocol, by GET request mode download pictures, ID or the path of picture is obtained from request, is then looked into from image data cache module, database and MFS file system successively Ask picture whether there is, do not exist with regard to failed download, if there is the binary code stream the download pictures that then read picture.
8. a kind of online quick visit of the method for the online quick access queries picture that realizes as described in claim 1 to 7 is arbitrary The system for asking inquiry picture, it is characterised in that:Including:Transmission module, image data preserving module, data processing mould on image data Block, image data cache module and picture display module, the data processing module also include image data query unit, picture Data determining unit, image data receiving unit and image data transmitting element, on the image data, transmission module obtains picture Essential information data, using MD5 algorithm obtain Image ID, on the image data, transmission module is according to Image ID successively from picture With the presence or absence of simultaneously download pictures, the data processing module collects the big of the picture of the download to data cache module inquiry picture Rim space distribution, distribution of color, image blur and saturation infromation, and it is aobvious to be calculated the items of the picture to be shown Show parameter scores score value;
Wherein, the data processing module also includes that image data query unit, image data judging unit, image data are received Unit and image data transmitting element;
The image data query unit external request uses http protocol, obtains picture by HEAD request method and believes substantially Breath, first parses picture path from message body, inquires about pictorial information according to path from the image data cache module;
The image data judging unit judges whether to inquire image data, if inquiring image data, by picture number According to being transferred to the image data receiving unit;If less than image data, the image data query unit is according to road for inquiry The picture is inquired about with the presence or absence of the mark in file system from data cache module in footpath;If there is no file system in mark prompting System, then return and do not inquire pictorial information;If there is file system in mark prompting, the image data cargo tracer primitive root Go in database, to inquire about fileinfo according to picture path;If fileinfo can be inquired, Query Result is returned, and will figure Piece information is written in the image data cache module;If fileinfo can not be inquired, MFS file system is gone according to path Picture Binary Resources are obtained in system;If picture Binary Resources are not got, picture is not existed file system mark Will is write in the image data cache module, if there are picture Binary Resources are got, then parse picture Binary Resources, Picture essential information is got, by essential information successively write into Databasce and the image data cache module, by pictorial information Return.
CN201610812385.0A 2016-09-08 2016-09-08 A kind of method of online quick access queries picture Pending CN106484769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610812385.0A CN106484769A (en) 2016-09-08 2016-09-08 A kind of method of online quick access queries picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610812385.0A CN106484769A (en) 2016-09-08 2016-09-08 A kind of method of online quick access queries picture

Publications (1)

Publication Number Publication Date
CN106484769A true CN106484769A (en) 2017-03-08

Family

ID=58273508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610812385.0A Pending CN106484769A (en) 2016-09-08 2016-09-08 A kind of method of online quick access queries picture

Country Status (1)

Country Link
CN (1) CN106484769A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113033173A (en) * 2021-04-26 2021-06-25 广州文石信息科技有限公司 Streaming document picture loading method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020156775A1 (en) * 2001-04-20 2002-10-24 Kunihiro Yamamoto Image processing apparatus and its method and server apparatus
CN101557389A (en) * 2008-04-11 2009-10-14 北京闻言科技有限公司 Method for dynamically scaling picture as required in request
CN103617165A (en) * 2013-10-22 2014-03-05 小米科技有限责任公司 Picture loading method, device and terminal
CN103678357A (en) * 2012-09-13 2014-03-26 腾讯科技(深圳)有限公司 Method and device for obtaining picture thumbnail through mobile terminal
CN105912593A (en) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 Method and device for obtaining information related to pictures, mobile terminal and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020156775A1 (en) * 2001-04-20 2002-10-24 Kunihiro Yamamoto Image processing apparatus and its method and server apparatus
CN101557389A (en) * 2008-04-11 2009-10-14 北京闻言科技有限公司 Method for dynamically scaling picture as required in request
CN103678357A (en) * 2012-09-13 2014-03-26 腾讯科技(深圳)有限公司 Method and device for obtaining picture thumbnail through mobile terminal
CN103617165A (en) * 2013-10-22 2014-03-05 小米科技有限责任公司 Picture loading method, device and terminal
CN105912593A (en) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 Method and device for obtaining information related to pictures, mobile terminal and server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113033173A (en) * 2021-04-26 2021-06-25 广州文石信息科技有限公司 Streaming document picture loading method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108875091B (en) Distributed web crawler system with unified management
CA2623493A1 (en) System and method for image processing
US9977710B2 (en) Self-stabilizing network nodes in mobile discovery system
EP2257037A3 (en) Image forming apparatus as client of a distributed file system, image processing method, image processing program and recording medium
CN104199728B (en) Picture transmits information displaying method and device
CN107301091A (en) Resource allocation methods and device
CN105550179B (en) Webpage collection method and browser plug-in
CN110955646A (en) Data storage and query method, device, equipment and medium
CN111061896B (en) Loading method, device, equipment and medium for 3D (three-dimensional) graph based on glTF (generalized likelihood TF)
CN108200127A (en) Data transmission method for uplink, device, server, terminal and storage medium
CN105404672B (en) The system and method for web data storage and operation
CN109522282B (en) Picture management method, device, computer device and storage medium
CN111223558A (en) Medical article management method, device, server, and storage medium
CN106484769A (en) A kind of method of online quick access queries picture
CN109284428A (en) Data processing method, device and storage medium
CN113535226A (en) Application downloading method, terminal, server, computer device and storage medium
CN110020297A (en) A kind of loading method of web page contents, apparatus and system
CN107784023A (en) The generation method and device of a kind of graph text information
JP7037180B2 (en) Learning data discriminator and learning data discriminator
WO2009047364A1 (en) A system for performing instructions that are dependent upon received media-based messages and associated methods and components
CN105912593A (en) Method and device for obtaining information related to pictures, mobile terminal and server
CN110839986A (en) A intelligent gloves for sorting express delivery
CN107070987B (en) Data acquisition method and system for distributed object storage system
CN106407367A (en) Method for quickly viewing pictures online
CN105224879B (en) A kind of encapsulation of picture, picture de-encapsulation method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170308