CN107423237A - A kind of polar plot loading method, device, equipment and storage medium for terminal - Google Patents

A kind of polar plot loading method, device, equipment and storage medium for terminal Download PDF

Info

Publication number
CN107423237A
CN107423237A CN201710397678.1A CN201710397678A CN107423237A CN 107423237 A CN107423237 A CN 107423237A CN 201710397678 A CN201710397678 A CN 201710397678A CN 107423237 A CN107423237 A CN 107423237A
Authority
CN
China
Prior art keywords
picture resource
picture
mark
polar plot
stored
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
CN201710397678.1A
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.)
Beijing Honey Network Technology Co Ltd
Original Assignee
Beijing Honey 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 Beijing Honey Network Technology Co Ltd filed Critical Beijing Honey Network Technology Co Ltd
Priority to CN201710397678.1A priority Critical patent/CN107423237A/en
Publication of CN107423237A publication Critical patent/CN107423237A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0875Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches with dedicated cache, e.g. instruction or stack
    • 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/56Information retrieval; Database structures therefor; File system structures therefor of still image data having vectorial format
    • 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/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/10Providing a specific technical effect
    • G06F2212/1016Performance improvement
    • G06F2212/1024Latency reduction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/10Providing a specific technical effect
    • G06F2212/1041Resource optimization
    • G06F2212/1044Space efficiency improvement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/45Caching of specific data in cache memory
    • G06F2212/455Image or video data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a kind of picture loading method, device, equipment and storage medium for terminal.Wherein, picture loading method includes:Obtain picture resource mark corresponding to image load request;Detect whether default spatial cache is cached with picture resource corresponding to the picture resource mark;If it is not, then whether detection memory space is stored with and the corresponding picture resource of picture resource mark;If so, the picture resource is then returned to respond described image load request.The embodiment of the present invention passes through before the resource that Loads Image, detect in advance and return to storage to the picture resource of spatial cache, solves the problems, such as the repetition loading of the caching to identical picture resource in the prior art, it not only avoid the waste of memory headroom, and the reading speed and operating efficiency of picture resource are improved, and then optimized Consumer's Experience.

Description

A kind of polar plot loading method, device, equipment and storage medium for terminal
Technical field
The present embodiments relate to data loading technique, more particularly to a kind of polar plot loading method, dress for terminal Put, equipment and storage medium.
Background technology
In the daily R&D process in mobile phone mobile terminal, calling and loading to picture materials can be commonly used.
In picture loading method of the prior art, it can make all be loaded using picture materials every time, use knot Shu Houhui discharges shared space immediately, it is therefore desirable to repeats to load.
, it is necessary to which repetition loading, causes resource when to this calling identical picture resource in existing loading method Waste.
The content of the invention
The embodiment of the present invention provides a kind of picture loading method, device, equipment and storage medium for terminal, to improve The loading efficiency of picture.
In a first aspect, the embodiments of the invention provide a kind of picture loading method for terminal, specifically include:
Obtain picture resource mark corresponding to image load request;
Detect whether default spatial cache is cached with picture resource corresponding to the picture resource mark;
If it is not, then whether detection memory space is stored with and the corresponding picture resource of picture resource mark;
If so, the picture resource is then returned to respond described image load request.
Further, the spatial cache includes internal memory and memory space;
Whether the detection preserves picture resource corresponding to the picture resource mark, bag in default spatial cache Include:
Detect and picture resource corresponding to the picture resource mark whether is cached with the internal memory;
Picture resource corresponding to the picture resource mark whether is cached with the spatial cache if it is not, then detecting.
Further, it is described detection memory space whether be stored with the corresponding picture resource of picture resource mark,
If so, the picture resource is then returned to respond described image load request, including:
Whether detection memory space is stored with and the corresponding polar plot of picture resource mark;
If so, the polar plot is then returned to respond described image load request;
If it is not, then whether detection memory space is stored with and the corresponding bitmap of picture resource mark;
If so, the bitmap is then returned to respond described image load request.
Further, it is described detection memory space whether be stored with the corresponding polar plot of picture resource mark it Afterwards, in addition to:
If so, the polar plot is then cached to default spatial cache.
Second aspect, the embodiment of the present invention additionally provide a kind of picture loading device for terminal, and the device includes:
Resource identification acquisition module, identified for obtaining picture resource corresponding to image load request;
Picture resource caches detection module, for detecting whether default spatial cache is cached with the picture resource mark Corresponding picture resource;
Picture resource detection module, if for default spatial cache it is uncached have scheme corresponding to picture resource mark During piece resource, then detect whether memory space is stored with and the corresponding picture resource of picture resource mark;
Picture resource returns to module, if for default spatial cache it is uncached have scheme corresponding to picture resource mark During piece resource, then the picture resource is returned to respond described image load request.
Further, the spatial cache includes internal memory and memory space;
Picture resource caches detection module, including:
Memory cache detection unit, scheme for detecting whether to be cached with the internal memory corresponding to the picture resource mark Piece resource;
If if it is not, in the internal memory it is uncached have the picture resource identify corresponding to picture resource, detect institute State and picture resource corresponding to the picture resource mark whether is cached with spatial cache.
Further, the picture resource returns to module and included:
Polar plot detection unit, for detecting whether memory space is stored with and the corresponding vector of picture resource mark Figure;
Polar plot asks returning unit, if being stored with and the corresponding vector of picture resource mark for memory space Figure, then return to the polar plot to respond described image load request;
Bitmap detection unit, if be not stored with for memory space with the corresponding polar plot of picture resource mark, Whether detection memory space is stored with and the corresponding bitmap of picture resource mark;
Bitmap ask returning unit, if memory space whether be stored with the corresponding bitmap of picture resource mark, The bitmap is returned to respond described image load request.
Further, the picture loading device also includes:
Polar plot cache module, if for detecting whether memory space is stored with and the corresponding position of picture resource mark Figure, then be cached to default spatial cache by the polar plot.
The third aspect, the embodiment of the present invention additionally provide a kind of equipment, and the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are by one or more of computing devices so that one or more of processing Device realizes picture loading method as described in the present embodiment of the invention.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer Program, picture loading method as described in the present embodiment of the invention is realized when the program is executed by processor.
The embodiment of the present invention by before the resource that Loads Image, detecting and returning storage to the picture of spatial cache in advance Resource, solve the problems, such as the repetition loading of the caching to identical picture resource in the prior art, not only avoid memory headroom Waste, and improve the reading speed and operating efficiency of picture resource, and then optimized Consumer's Experience.
Brief description of the drawings
Fig. 1 is a kind of polar plot loading method flow chart for terminal in the embodiment of the present invention one;
Fig. 2 is a kind of polar plot loading method flow chart for terminal in the embodiment of the present invention two;
Fig. 3 is a kind of polar plot loading method flow chart for terminal in the embodiment of the present invention three;
Fig. 4 is a kind of structural representation of polar plot loading device for terminal in the embodiment of the present invention four;
Fig. 5 is a kind of structural representation of polar plot loading equipemtn for terminal in the embodiment of the present invention five.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
A kind of polar plot loading method flow chart for terminal that Fig. 1 provides for the embodiment of the present invention one, the present embodiment The situation of quick loading polar plot is applicable to, this method can be performed by polar plot loading device, specifically include following step Suddenly:
S110, obtain picture resource mark corresponding to image load request.
Wherein, the image load request in the present embodiment is sent by user, carrying and picture resource in picture load request Corresponding match information is identified, therefore picture resource corresponding with image load request can be obtained according to the match information Mark;Picture resource is identified for identifying specific picture resource.
Optionally, picture resource mark can be the specific routing information of file where picture resource in server, It can be identification number in tables of data where picture resource in database.
Exemplary, when needing to check picture, the message input device by being arranged at terminal sends picture and added user Request is carried, data processing equipment is according to picture load request returned data.
Whether S120, the default spatial cache of detection are cached with picture resource corresponding to the picture resource mark.
Wherein, spatial cache is the buffer area for data exchange, it can also be used to the data storage of transience.Specifically, Spatial cache can include memory cache space and memory buffers space, respectively in internal memory and memory.The picture money Source can each middle form picture and the related information such as dimension of picture information.
It is exemplary, when picture resource mark is the specific routing information of file where picture resource in server, Can be by judging whether there is corresponding file under file corresponding to the path, to judge it is described whether spatial cache is cached with Picture resource corresponding to picture resource mark.
It is again exemplary, can be by inquiring about database when identification number in tables of data where picture resource in database In whether be stored with data corresponding with the identification number in corresponding tables of data, to judge whether spatial cache is cached with the figure Picture resource corresponding to piece resource identification.
Preferably, after terminal receives image load request, detected first according in image load request in cushion space Whether be stored with the picture resource that matches of picture resource mark, so setting is advantageous in that and not only avoid because to identical The waste of spatial cache caused by the repetition loading of resource.
S130, if it is not, then detection memory space whether be stored with and the corresponding picture resource of picture resource mark.
Wherein, memory space is used for long-term save routine information and data message, can be empty with the part in external memorizer Between.
Exemplary, when terminal detects the picture resource for not being stored with cushion space and matching with picture resource mark When, the picture to match money can be identified with picture resource according to detecting whether be stored with memory space in image load request Source, and then complete the calling of picture resource.
S140, if so, then returning to the picture resource to respond described image load request.
When testing result is yes, then it represents that preserve the figure that the image load request sent with user matches in memory space As resource, and picture resource is returned to the display device of terminal to respond described image load request.
When testing result is no, then it represents that the image that the image load request not sent in memory space with user matches Resource, now terminal can by way of radio communication from server obtain corresponding to picture resource.
The present invention arrives the picture resource of spatial cache by before the resource that Loads Image, detecting and returning storage in advance, Solve the problems, such as the repetition loading of the caching to identical picture resource in the prior art, not only avoid the waste of memory headroom, And the reading speed and operating efficiency of picture resource are improved, and then optimized Consumer's Experience.
Embodiment two
A kind of polar plot loading method flow chart for terminal that Fig. 2 provides for the embodiment of the present invention two, the present embodiment Picture resource in detecting internal memory on the basis of above-described embodiment, this method can be loaded by a kind of polar plot for terminal Device performs, and specifically comprises the following steps:
S210, obtain picture resource mark corresponding to image load request.
Whether the picture resource mark corresponding to picture resource is cached with S220, the detection internal memory.
The present embodiment can preferentially detect the picture resource in caching, when the caching in caching when detecting spatial cache Be stored with space with the corresponding picture resource of picture resource mark, then directly invoke the picture resource.So set It is advantageous in that, the data processing speed of caching is very fast, improves the reading speed and operating efficiency of picture resource.
S230, if it is not, then detecting picture money corresponding to picture resource mark whether is cached with the memory space Source.
Wherein, the memory space in the present embodiment is the buffer area in memory, data cached for preserving, when detecting Be stored with spatial cache in memory with the corresponding picture resource of picture resource mark, then directly invoke the caching money Source, the problem of the repetition loading for the caching for avoiding identical picture resource, and then the waste of memory headroom is avoided, improve number According to reading efficiency.
S240, if so, then returning to the picture resource to respond described image load request.
The technical scheme of the present embodiment, the preferential of spatial cache is set according to the speed of internal memory and memory read data Level, and then the picture resource that spatial cache always preserves progressively is read, further increase reading speed and the work of picture resource Efficiency.
Embodiment three
A kind of polar plot loading method flow chart for terminal that Fig. 3 provides for the embodiment of the present invention three, the present embodiment The loading method of polar plot and bitmap is described on the basis of above-described embodiment, this method can be used for eventually by one kind The polar plot loading device at end performs, and specifically comprises the following steps:
S310, obtain picture resource mark corresponding to image load request.
Whether S320, the detection memory space are stored with and the corresponding polar plot of picture resource mark.
In the present embodiment, terminal can load polar plot according to image load request, wherein, polar plot is the one of object-oriented Class image, mathematically it is defined as a series of points connected by line.Graphic element in vector file is referred to as object.Each object All it is an entity having a style of one's own, it has the attributes such as color, shape, profile, size and screen position.The characteristics of polar plot Be after amplification image will not distortion, and resolution ratio is unrelated, suitable for graphic designs, word design and some Mark Designings, format Design etc..
The present embodiment can preferentially detect the polar plot in caching, when being stored with the spatial cache in caching and the figure Polar plot corresponding to piece resource identification, then the polar plot is directly invoked, asked with what the repetition avoided to identical polar plot loaded Topic.
S330, if so, then returning to the polar plot to respond described image load request.
Optionally, the polar plot will be returned with before responding described image load request, including:Detect the caching Whether memory data output reaches the maximum storage upper limit;If so, cleaning initial data, to prevent the buffer data size mistake in internal memory Greatly, the normal work of terminal is influenceed.
S340, if it is not, then detection memory space whether be stored with and the corresponding bitmap of picture resource mark.
Wherein, the bitmap is made up of multiple pixels, and the effect for expanding bitmap size is increase single pixel.Institute's rheme Figure can be used for being converted to polar plot.
It is optional, be stored with memory space it is a set of with the vector identification and corresponding bitmap resource, to ensure to use Family, can be with the corresponding bitmap of quick calling when using polar plot, and quickly generates polar plot.
S350, if so, then returning to the bitmap to respond described image load request.
Return after the bitmap, it is necessary to first carry out calibration operation to the bitmap, and carry out vectorized process to bitmap and obtain To polar plot, and then polar plot is back to the image display apparatus of terminal.
Optionally, after the completion of polar plot, polar plot can be respectively loaded on to spatial cache in internal memory and/or memory In, in case calling again.
Optionally, when the bitmap of non-memory response in memory, then empty data are returned to the image display device of terminal.
The technical scheme of the present embodiment, by the way that the bitmap stored in memory space is converted into polar plot, and by polar plot Target location is back to, is ensured in the case of not preserving polar plot in the memory cell of terminal, also can be according to corresponding bitmap Obtain polar plot.
On the basis of above-mentioned technical proposal, after S320, polar plot can also be cached to default spatial cache;Tool Body is to include, it is described detection memory space whether be stored with after the corresponding polar plot of picture resource mark, in addition to: If so, the polar plot is then cached to default spatial cache.So setting is advantageous in that the caching number prevented in internal memory It is excessive according to measuring, influence the normal work of terminal.
Example IV
Fig. 4 is a kind of structural representation of polar plot loading device for terminal in the embodiment of the present invention four, such as Fig. 4 Shown, the polar plot loading device includes:Resource identification acquisition module 410, picture resource caching detection module 420, picture Resources detection module 430 and picture resource return to module 440.
Resource identification acquisition module 410, identified for obtaining picture resource corresponding to image load request;
Picture resource caches detection module 420, for detecting whether default spatial cache is cached with the picture resource Picture resource corresponding to mark;
Picture resource detection module 430, if having picture resource mark corresponding for default spatial cache to be uncached Picture resource when, then detect memory space whether be stored with and the corresponding picture resource of picture resource mark;
Picture resource returns to module 440, if having picture resource mark corresponding for default spatial cache to be uncached Picture resource when, then return to the picture resource to respond described image load request.
The present invention arrives the picture resource of spatial cache by before the resource that Loads Image, detecting and returning storage in advance, Solve the problems, such as the repetition loading of the caching to identical picture resource in the prior art, not only avoid the waste of memory headroom, And the reading speed and operating efficiency of picture resource are improved, and then optimized Consumer's Experience.
On the basis of above-described embodiment, the spatial cache includes internal memory and memory space;
Picture resource caches detection module 420, including:
Memory cache detection unit, scheme for detecting whether to be cached with the internal memory corresponding to the picture resource mark Piece resource;
If if it is not, in the internal memory it is uncached have the picture resource identify corresponding to picture resource, detect institute State and picture resource corresponding to the picture resource mark whether is cached with spatial cache.
On the basis of above-described embodiment, the picture resource, which returns to module 440, to be included:
Polar plot detection unit, for detecting whether memory space is stored with and the corresponding vector of picture resource mark Figure;
Polar plot asks returning unit, if being stored with arrow corresponding with picture resource mark for the memory space Spirogram, then the polar plot is returned to respond described image load request;
Bitmap detection unit, if be not stored with for memory space with the corresponding polar plot of picture resource mark, Detect whether the memory space is stored with and the corresponding bitmap of picture resource mark;
Bitmap ask returning unit, if memory space whether be stored with the corresponding bitmap of picture resource mark, The bitmap is returned to respond described image load request.
On the basis of above-described embodiment, the picture loading device also includes:
Polar plot cache module, if whether being stored with for the detection memory space corresponding with picture resource mark Bitmap, then the polar plot is cached to default spatial cache.
The picture loading device for terminal that the embodiment of the present invention is provided can perform any embodiment of the present invention and be carried The picture loading method for terminal supplied, possesses the corresponding functional module of execution method and beneficial effect.
Embodiment five
The embodiments of the invention provide a kind of equipment, the equipment includes processor 510, memory 520, input unit 530 With output device 540;The quantity of processor 510 can be one or more, in Fig. 5 by taking a processor 510 as an example;In equipment Processor 510, memory 520, input unit 530 can be connected with output device 540 by bus or other modes.
Memory 510 is used as a kind of computer-readable recording medium, and journey is can perform available for storage software program, computer Sequence and module, the programmed instruction as corresponding to a kind of picture loading method in the embodiment of the present invention.Processor 510 passes through operation Software program, instruction and the module being stored in memory 520, so as to perform at the various function application and data of equipment Reason, that is, realize a kind of above-mentioned picture loading method for terminal.
Namely:Realized during the computing device described program:Obtain picture resource mark corresponding to image load request; Detect whether default spatial cache is cached with picture resource corresponding to the picture resource mark;If it is not, then detection storage is empty Between whether be stored with and the corresponding picture resource of picture resource mark;If so, the picture resource is then returned to respond State image load request.
Memory 520 can mainly include storing program area and storage data field, wherein, storing program area can store operation system Application program needed for system, at least one function;Storage data field can store uses created data etc. according to terminal.This Outside, memory 520 can include high-speed random access memory, can also include nonvolatile memory, for example, at least one Disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 520 can enter one Step includes that relative to the remotely located memory of processor 510, these remote memories network connection to equipment can be passed through.On The example for stating network includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input unit 530 can be used for the numeral or character information for receiving input, and produce with the user of equipment set with And the key signals input that function control is relevant.Output device 540 may include the display devices such as display screen.
Embodiment six
The embodiment of the present invention six also provides a kind of storage medium for including computer executable instructions, and the computer can be held When being performed by computer processor for performing a kind of picture loading method for terminal, this method includes for row instruction:
Obtain picture resource mark corresponding to image load request;
Detect whether default spatial cache is cached with picture resource corresponding to the picture resource mark;
If it is not, then whether detection memory space is stored with and the corresponding picture resource of picture resource mark;
If so, the picture resource is then returned to respond described image load request.
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, its computer The operation of method that executable instruction is not limited to the described above, can also carry out that any embodiment of the present invention provided is used for terminal Picture loading method in associative operation.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to realized by hardware, but the former is more in many cases Good embodiment.Based on such understanding, what technical scheme substantially contributed to prior art in other words Part can be embodied in the form of software product, and the computer software product can be stored in computer-readable recording medium In, floppy disk, read-only storage (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are causing a computer to set Standby (can be personal computer, server, or network equipment etc.) performs the method described in each embodiment of the present invention.
It is worth noting that, in the embodiment of above-mentioned searcher, included unit and module are simply according to work( Energy logic is divided, but is not limited to above-mentioned division, as long as corresponding function can be realized;In addition, each work( The specific name of energy unit is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. picture loading method for terminal, it is characterised in that including:
    Obtain picture resource mark corresponding to image load request;
    Detect whether default spatial cache is cached with picture resource corresponding to the picture resource mark;
    If it is not, then whether detection memory space is stored with and the corresponding picture resource of picture resource mark;
    If so, the picture resource is then returned to respond described image load request.
  2. 2. according to the method for claim 1, it is characterised in that the spatial cache includes internal memory and memory space;
    Whether the detection preserves picture resource corresponding to the picture resource mark in default spatial cache, including:
    Detect and picture resource corresponding to the picture resource mark whether is cached with the internal memory;
    Picture resource corresponding to the picture resource mark whether is cached with the memory space if it is not, then detecting.
  3. 3. method according to claim 1 or 2, it is characterised in that it is described detection memory space whether be stored with it is described Picture resource corresponding to picture resource mark,
    If so, the picture resource is then returned to respond described image load request, including:
    Whether detection memory space is stored with and the corresponding polar plot of picture resource mark;
    If so, the polar plot is then returned to respond described image load request;
    If it is not, then whether detection memory space is stored with and the corresponding bitmap of picture resource mark;
    If so, the bitmap is then returned to respond described image load request.
  4. 4. according to the method for claim 3, it is characterised in that whether the detection memory space is stored with and the picture After polar plot corresponding to resource identification, in addition to:
    If so, the polar plot is then cached to default spatial cache.
  5. A kind of 5. picture loading device for terminal, it is characterised in that including:
    Resource identification acquisition module, identified for obtaining picture resource corresponding to image load request;
    Picture resource caches detection module, for detecting whether default spatial cache is cached with the picture resource mark correspondingly Picture resource;
    Picture resource detection module, if for default spatial cache it is uncached have the picture resource identify corresponding to picture money During source, then detect whether memory space is stored with and the corresponding picture resource of picture resource mark;
    Picture resource returns to module, if for default spatial cache it is uncached have the picture resource identify corresponding to picture money During source, then the picture resource is returned to respond described image load request.
  6. 6. device according to claim 5, it is characterised in that the spatial cache includes internal memory and memory space;
    Picture resource caches detection module, including:
    Memory cache detection unit, picture money corresponding to the picture resource mark whether is cached with the internal memory for detecting Source;
    If if it is not, having picture resource corresponding to the picture resource mark for uncached in the internal memory, deposited described in detection Whether the picture resource mark corresponding to picture resource is cached with storage space.
  7. 7. the device according to claim 5 or 6, it is characterised in that the picture resource, which returns to module, to be included:
    Polar plot detection unit, for detecting whether memory space is stored with and the corresponding polar plot of picture resource mark;
    Polar plot ask returning unit, if for memory space be stored with the corresponding polar plot of picture resource mark, The polar plot is returned to respond described image load request;
    Bitmap detection unit, if be not stored with for memory space with the corresponding polar plot of picture resource mark, detect Whether memory space is stored with and the corresponding bitmap of picture resource mark;
    Bitmap ask returning unit, if memory space whether be stored with the corresponding bitmap of picture resource mark, return The bitmap is to respond described image load request.
  8. 8. device according to claim 7, it is characterised in that the picture loading device also includes:
    Polar plot cache module, if for detect memory space whether be stored with the corresponding bitmap of picture resource mark, The polar plot is then cached to default spatial cache.
  9. 9. a kind of equipment, it is characterised in that the equipment includes:
    One or more processors;
    Storage device, for storing one or more programs;
    When one or more of programs are by one or more of computing devices so that one or more of processors are real The now picture loading method as described in any in claim 1-4.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The picture loading method as described in any in claim 1-4 is realized during execution.
CN201710397678.1A 2017-05-31 2017-05-31 A kind of polar plot loading method, device, equipment and storage medium for terminal Pending CN107423237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710397678.1A CN107423237A (en) 2017-05-31 2017-05-31 A kind of polar plot loading method, device, equipment and storage medium for terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710397678.1A CN107423237A (en) 2017-05-31 2017-05-31 A kind of polar plot loading method, device, equipment and storage medium for terminal

Publications (1)

Publication Number Publication Date
CN107423237A true CN107423237A (en) 2017-12-01

Family

ID=60428881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710397678.1A Pending CN107423237A (en) 2017-05-31 2017-05-31 A kind of polar plot loading method, device, equipment and storage medium for terminal

Country Status (1)

Country Link
CN (1) CN107423237A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110175053A (en) * 2019-04-24 2019-08-27 阿里巴巴集团控股有限公司 Picture loading method and device
CN110209432A (en) * 2018-02-28 2019-09-06 优酷网络技术(北京)有限公司 View loading method and device
CN111078920A (en) * 2019-11-22 2020-04-28 北京云宽志业网络技术有限公司 Data processing method, device, equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617165A (en) * 2013-10-22 2014-03-05 小米科技有限责任公司 Picture loading method, device and terminal
CN103760966A (en) * 2013-05-02 2014-04-30 乐视网信息技术(北京)股份有限公司 Picture buffering implementation method
CN104267996A (en) * 2014-09-29 2015-01-07 广州金山网络科技有限公司 Image resource processing method, device and terminal
CN104407812A (en) * 2014-11-14 2015-03-11 北京国双科技有限公司 Network loading method and network loading device for terminal equipment
CN105118020A (en) * 2015-09-08 2015-12-02 北京乐动卓越科技有限公司 Image fast processing method and apparatus
CN105843751A (en) * 2016-04-01 2016-08-10 乐视控股(北京)有限公司 Image display method and device as well as mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103760966A (en) * 2013-05-02 2014-04-30 乐视网信息技术(北京)股份有限公司 Picture buffering implementation method
CN103617165A (en) * 2013-10-22 2014-03-05 小米科技有限责任公司 Picture loading method, device and terminal
CN104267996A (en) * 2014-09-29 2015-01-07 广州金山网络科技有限公司 Image resource processing method, device and terminal
CN104407812A (en) * 2014-11-14 2015-03-11 北京国双科技有限公司 Network loading method and network loading device for terminal equipment
CN105118020A (en) * 2015-09-08 2015-12-02 北京乐动卓越科技有限公司 Image fast processing method and apparatus
CN105843751A (en) * 2016-04-01 2016-08-10 乐视控股(北京)有限公司 Image display method and device as well as mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209432A (en) * 2018-02-28 2019-09-06 优酷网络技术(北京)有限公司 View loading method and device
CN110175053A (en) * 2019-04-24 2019-08-27 阿里巴巴集团控股有限公司 Picture loading method and device
CN110175053B (en) * 2019-04-24 2023-10-27 创新先进技术有限公司 Picture loading method and device
CN111078920A (en) * 2019-11-22 2020-04-28 北京云宽志业网络技术有限公司 Data processing method, device, equipment and computer readable storage medium
CN111078920B (en) * 2019-11-22 2021-09-03 北京云宽志业网络技术有限公司 Data processing method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN107360010B (en) Website gray level publishing method and device
CN107423237A (en) A kind of polar plot loading method, device, equipment and storage medium for terminal
US9830163B2 (en) Control flow in a heterogeneous computer system
CN112114892B (en) Deep learning model acquisition method, loading method and selection method
CN107945796B (en) Speech recognition method, device, equipment and computer readable medium
CN109347898B (en) Scene information sending method, scene information display method, server and mobile terminal
CN113010224B (en) Front-end micro-servitization method, front-end micro-servitization device, computer equipment and storage medium
US20210089469A1 (en) Data consistency techniques for processor core, processor, apparatus and method
CN109298905A (en) Utilize the method and electronic equipment of the optimization picture lazyness load of front end programming language
CN106951323A (en) Application program local cache method and apparatus
CN105956030A (en) WEB system and WEB request processing method
CN111586097A (en) Network request processing method, computing device and storage medium
CN114780537A (en) Flow table storage and message forwarding method, device, computing equipment and medium
CN104376123B (en) The method and apparatus of the cross-page face shared data of browser
CN105677678B (en) Method and system for determining first screen position of webpage and displaying webpage information
CN114266539A (en) File flow processing method, system, device and computer readable storage medium
CN104156694A (en) Method and device for identifying target object of image
CN111381748A (en) Image display method, device, equipment and storage medium
CN111078920B (en) Data processing method, device, equipment and computer readable storage medium
CN108345683A (en) Webpage display process, device, terminal and storage medium
US20140331117A1 (en) Application-based dependency graph
CN114118389B (en) Neural network data processing method, device and storage medium
CN112363806B (en) Cluster management method and device, electronic equipment and storage medium
US8549485B2 (en) Method and system for concise expression of optional code snippets in interrepted languages
CN114995735A (en) Image display method, system, device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171201

RJ01 Rejection of invention patent application after publication