CN104793945A - Large-batch picture displaying method for preventing memory overflow and device thereof - Google Patents
Large-batch picture displaying method for preventing memory overflow and device thereof Download PDFInfo
- Publication number
- CN104793945A CN104793945A CN201510205996.4A CN201510205996A CN104793945A CN 104793945 A CN104793945 A CN 104793945A CN 201510205996 A CN201510205996 A CN 201510205996A CN 104793945 A CN104793945 A CN 104793945A
- Authority
- CN
- China
- Prior art keywords
- painting canvas
- prestrain
- current screen
- picture
- canvas
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses a large-batch picture displaying method for preventing memory overflow. According to the method, a plurality of canvases are established on the current screen by a terminal, in addition, a pre-loaded canvas is established at the left side outside the display area of the current screen and a pre-loaded canvas is established at the right side of the display area outside the current screen, the canvases and the pre-loaded canvases are loaded according to the picture order of a picture list and display pictures corresponding to each canvas in the current screen. The invention further discloses a large-batch picture displaying device for preventing memory overflow, by means of the device, the memory capacity can be saved, the condition of memory overflow can not occur, the loading time of the pictures is quickened, the picture display is more smooth, the user experience is improved, the pictures browsed are released in time, and the memory capacity can be saved.
Description
Technical field
The invention belongs to terminal technical field of picture display, be specifically related to a kind of prevent internal memory from overflowing image display method in enormous quantities and device.
Background technology
Along with popularizing of intelligent terminal, take pictures easier, the quality of taking pictures and quantity are also in improve.
Along with the rising rapidly of photographic quality and quantity, due to the restriction of cell phone apparatus internal memory and travelling speed, developer develops in photograph album class application process more and more difficult, a large amount of picture to be shown on the one hand, will meet the Flow Experience browsed on the one hand, present product development does not often reach such effect.
The common practice of present technology is: all image datas needing display of disposable direct reading, puts into internal memory, so that user can quickly displaying picture.But this type of way can more and more along with picture, can cause low memory, program reports an error, and very affects Consumer's Experience.
Summary of the invention
In view of this, fundamental purpose of the present invention be to provide a kind of prevent internal memory from overflowing image display method in enormous quantities and device.
For achieving the above object, technical scheme of the present invention is achieved in that
The embodiment of the present invention provides a kind of image display method in enormous quantities preventing internal memory from overflowing, the method is: terminal creates several painting canvas at current screen, and the left and right sides outside current screen viewing area creates a prestrain painting canvas respectively, described painting canvas and prestrain painting canvas load according to the picture sequence of just list, the picture that in display current screen, each painting canvas is corresponding; Painting canvas when the leftmost side shifts out current screen, and when the prestrain painting canvas on right side is moved into current screen, show picture corresponding to described prestrain painting canvas and remain picture corresponding to painting canvas, the described painting canvas shifting out current screen moves to the left side of the prestrain painting canvas on the left of current screen, discharge current Loading Image simultaneously, afterwards, described painting canvas moves to the right side of current screen as new prestrain painting canvas, and loads new picture; Painting canvas when the rightmost side shifts out current screen, and when the prestrain painting canvas in left side is moved into current screen, show picture corresponding to described prestrain painting canvas and remain picture corresponding to painting canvas, the described painting canvas shifting out current screen moves to the right side of the prestrain painting canvas on the right side of current screen, discharge current Loading Image simultaneously, afterwards, described painting canvas moves to the left side of current screen as new prestrain painting canvas, and loads new picture.
In such scheme, the prestrain painting canvas on described painting canvas and right side loads according to the picture positive sequence order of just list, and the prestrain painting canvas in described left side loads according to the picture inverted order order of just list.
The embodiment of the present invention also provides a kind of image display apparatus in enormous quantities preventing internal memory from overflowing, and this device comprises: creating unit, picture acquiring unit, loading unit;
Described creating unit, creates several painting canvas for terminal at current screen, and the left and right sides outside current screen viewing area creates a prestrain painting canvas respectively;
Described loading unit, for loading according to the picture sequence of just list described painting canvas and prestrain painting canvas, the picture that in display current screen, each painting canvas is corresponding;
Described mobile unit, current screen is shifted out for the painting canvas when the leftmost side, and when the prestrain painting canvas on right side is moved into current screen, show picture corresponding to described prestrain painting canvas and remain picture corresponding to painting canvas, the described painting canvas shifting out current screen moves to the left side of the prestrain painting canvas on the left of current screen, discharges current Loading Image, afterwards simultaneously, described painting canvas moves to the right side of current screen as new prestrain painting canvas, and loads new picture; Painting canvas when the rightmost side shifts out current screen, and when the prestrain painting canvas in left side is moved into current screen, show picture corresponding to described prestrain painting canvas and remain picture corresponding to painting canvas, the described painting canvas shifting out current screen moves to the right side of the prestrain painting canvas on the right side of current screen, discharge current Loading Image simultaneously, afterwards, described painting canvas moves to the left side of current screen as new prestrain painting canvas, and loads new picture.
In such scheme, described loading unit, also for loading according to the picture positive sequence order of just list the prestrain painting canvas of described painting canvas and right side, the prestrain painting canvas in described left side loads according to the picture inverted order order of just list.
Compared with prior art, beneficial effect of the present invention:
The embodiment of the present invention provides a kind of image display method in enormous quantities preventing internal memory from overflowing, terminal creates several painting canvas at current screen, and the left and right sides outside current screen viewing area creates a prestrain painting canvas respectively, described painting canvas and prestrain painting canvas load according to the picture sequence of just list, the picture that in display current screen, each painting canvas is corresponding; Painting canvas when the leftmost side shifts out current screen, and when the prestrain painting canvas on right side is moved into current screen, show picture corresponding to described prestrain painting canvas and remain picture corresponding to painting canvas, the described painting canvas shifting out current screen moves to the left side of the prestrain painting canvas on the left of current screen, discharge current Loading Image simultaneously, afterwards, described painting canvas moves to the right side of current screen as new prestrain painting canvas, and loads new picture; Painting canvas when the rightmost side shifts out current screen, and when the prestrain painting canvas in left side is moved into current screen, show picture corresponding to described prestrain painting canvas and remain picture corresponding to painting canvas, the described painting canvas shifting out current screen moves to the right side of the prestrain painting canvas on the right side of current screen, discharge current Loading Image simultaneously, afterwards, described painting canvas moves to the left side of current screen as new prestrain painting canvas, and loads new picture; Can save internal memory by the present invention, there will not be the situation that internal memory overflows, accelerate the load time of picture, picture display is more smooth, and promote Consumer's Experience, browsed picture discharges in time, also can save internal memory.
Accompanying drawing explanation
The schematic flow sheet of a kind of image display method in enormous quantities preventing internal memory from overflowing that Fig. 1 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
The embodiment of the present invention provides a kind of image display method in enormous quantities preventing internal memory from overflowing, and as shown in Figure 1, the method is realized by following steps:
Step 101: terminal creates several painting canvas at current screen, and the left and right sides outside current screen viewing area creates a prestrain painting canvas respectively.
Step 102: described painting canvas and prestrain painting canvas load according to the picture sequence of just list, the picture that in display current screen, each painting canvas is corresponding.
Concrete, the prestrain painting canvas on described painting canvas and right side loads according to the picture positive sequence order of just list, namely the prestrain painting canvas on right side loads next photo according to the last pictures order of painting canvas viewing area, the prestrain painting canvas in described left side loads according to the picture inverted order order of just list, and the prestrain painting canvas is namely according to first the upper photo of loading of the picture of painting canvas viewing area.
Step 103: the painting canvas when the leftmost side shifts out current screen, and when the prestrain painting canvas on right side is moved into current screen, show picture corresponding to described prestrain painting canvas and remain picture corresponding to painting canvas, the described painting canvas shifting out current screen moves to the left side of the prestrain painting canvas on the left of current screen, discharge current Loading Image simultaneously, afterwards, described painting canvas moves to the right side of current screen as new prestrain painting canvas, and loads new picture; Painting canvas when the rightmost side shifts out current screen, and when the prestrain painting canvas in left side is moved into current screen, show picture corresponding to described prestrain painting canvas and remain picture corresponding to painting canvas, the described painting canvas shifting out current screen moves to the right side of the prestrain painting canvas on the right side of current screen, discharge current Loading Image simultaneously, afterwards, described painting canvas moves to the left side of current screen as new prestrain painting canvas, and loads new picture.
Concrete, suppose that the painting canvas of current screen is provided with three, the first painting canvas respectively, second painting canvas, 3rd painting canvas, just list has 20 photos, described first painting canvas, second painting canvas, 3rd painting canvas Loads Image first photo in list respectively, second photo, 3rd photo, the prestrain painting canvas on right side loads the 4th photo, the prestrain painting canvas in left side loads the 20 photo, after described first painting canvas is moved to the left out current screen, described first painting canvas moves to the left side of the prestrain painting canvas in left side, and discharge first photo of the just list of current display, the prestrain painting canvas on right side is moved into current screen and shows the 4th photo, prestrain painting canvas as new right side on the right side of described first painting canvas moves to loads the 5th photo, after described 3rd painting canvas moves right out current screen, described 3rd painting canvas moves to the right side of the prestrain painting canvas on right side, and discharge the 3rd photo of the just list of current display, the prestrain painting canvas in left side is moved into current screen and shows the 20 photo, and described 3rd painting canvas moves to prestrain painting canvas loading ten nine photo of left side as new left side.
The embodiment of the present invention also provides a kind of image display apparatus in enormous quantities preventing internal memory from overflowing, and this device comprises: creating unit, picture acquiring unit, loading unit;
Described creating unit, creates several painting canvas for terminal at current screen, and the left and right sides outside current screen viewing area creates a prestrain painting canvas respectively;
Described loading unit, for loading according to the picture sequence of just list described painting canvas and prestrain painting canvas, the picture that in display current screen, each painting canvas is corresponding;
Described mobile unit, current screen is shifted out for the painting canvas when the leftmost side, and when the prestrain painting canvas on right side is moved into current screen, show picture corresponding to described prestrain painting canvas and remain picture corresponding to painting canvas, the described painting canvas shifting out current screen moves to the left side of the prestrain painting canvas on the left of current screen, discharges current Loading Image, afterwards simultaneously, described painting canvas moves to the right side of current screen as new prestrain painting canvas, and loads new picture; Painting canvas when the rightmost side shifts out current screen, and when the prestrain painting canvas in left side is moved into current screen, show picture corresponding to described prestrain painting canvas and remain picture corresponding to painting canvas, the described painting canvas shifting out current screen moves to the right side of the prestrain painting canvas on the right side of current screen, discharge current Loading Image simultaneously, afterwards, described painting canvas moves to the left side of current screen as new prestrain painting canvas, and loads new picture.
Described loading unit, also for loading according to the picture positive sequence order of just list the prestrain painting canvas of described painting canvas and right side, the prestrain painting canvas in described left side loads according to the picture inverted order order of just list.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of hardware embodiment, software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.
Claims (4)
1. the image display method in enormous quantities preventing internal memory from overflowing, it is characterized in that, the method is: terminal creates several painting canvas at current screen, and the left and right sides outside current screen viewing area creates a prestrain painting canvas respectively, described painting canvas and prestrain painting canvas load according to the picture sequence of just list, the picture that in display current screen, each painting canvas is corresponding;
Painting canvas when the leftmost side shifts out current screen, and when the prestrain painting canvas on right side is moved into current screen, show picture corresponding to described prestrain painting canvas and remain picture corresponding to painting canvas, the described painting canvas shifting out current screen moves to the left side of the prestrain painting canvas on the left of current screen, discharge current Loading Image simultaneously, afterwards, described painting canvas moves to the right side of current screen as new prestrain painting canvas, and loads new picture;
Painting canvas when the rightmost side shifts out current screen, and when the prestrain painting canvas in left side is moved into current screen, show picture corresponding to described prestrain painting canvas and remain picture corresponding to painting canvas, the described painting canvas shifting out current screen moves to the right side of the prestrain painting canvas on the right side of current screen, discharge current Loading Image simultaneously, afterwards, described painting canvas moves to the left side of current screen as new prestrain painting canvas, and loads new picture.
2. the image display method in enormous quantities preventing internal memory from overflowing according to claim 1, it is characterized in that: the prestrain painting canvas on described painting canvas and right side loads according to the picture positive sequence order of just list, the prestrain painting canvas in described left side loads according to the picture inverted order order of just list.
3. prevent the image display apparatus in enormous quantities that internal memory overflows, it is characterized in that, this device comprises: creating unit, picture acquiring unit, loading unit;
Described creating unit, creates several painting canvas for terminal at current screen, and the left and right sides outside current screen viewing area creates a prestrain painting canvas respectively;
Described loading unit, for loading according to the picture sequence of just list described painting canvas and prestrain painting canvas, the picture that in display current screen, each painting canvas is corresponding;
Described mobile unit, current screen is shifted out for the painting canvas when the leftmost side, and when the prestrain painting canvas on right side is moved into current screen, show picture corresponding to described prestrain painting canvas and remain picture corresponding to painting canvas, the described painting canvas shifting out current screen moves to the left side of the prestrain painting canvas on the left of current screen, discharges current Loading Image, afterwards simultaneously, described painting canvas moves to the right side of current screen as new prestrain painting canvas, and loads new picture; Painting canvas when the rightmost side shifts out current screen, and when the prestrain painting canvas in left side is moved into current screen, show picture corresponding to described prestrain painting canvas and remain picture corresponding to painting canvas, the described painting canvas shifting out current screen moves to the right side of the prestrain painting canvas on the right side of current screen, discharge current Loading Image simultaneously, afterwards, described painting canvas moves to the left side of current screen as new prestrain painting canvas, and loads new picture.
4. the image display apparatus in enormous quantities preventing internal memory from overflowing according to claim 3, it is characterized in that: described loading unit, also for loading according to the picture positive sequence order of just list the prestrain painting canvas of described painting canvas and right side, the prestrain painting canvas in described left side loads according to the picture inverted order order of just list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510205996.4A CN104793945B (en) | 2015-04-27 | 2015-04-27 | The high-volume image display method and its device for preventing internal memory from overflowing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510205996.4A CN104793945B (en) | 2015-04-27 | 2015-04-27 | The high-volume image display method and its device for preventing internal memory from overflowing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104793945A true CN104793945A (en) | 2015-07-22 |
CN104793945B CN104793945B (en) | 2018-03-13 |
Family
ID=53558761
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510205996.4A Expired - Fee Related CN104793945B (en) | 2015-04-27 | 2015-04-27 | The high-volume image display method and its device for preventing internal memory from overflowing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104793945B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105843517A (en) * | 2016-03-14 | 2016-08-10 | 乐视移动智能信息技术(北京)有限公司 | Mobile terminal total graph displaying method and system |
CN106791911A (en) * | 2016-12-28 | 2017-05-31 | 北京风行在线技术有限公司 | A kind of loading method of picture and video |
CN106909283A (en) * | 2016-11-01 | 2017-06-30 | 广州视源电子科技股份有限公司 | canvas display control method and system |
CN106959898A (en) * | 2017-03-27 | 2017-07-18 | 广州优视网络科技有限公司 | Reduce method, device and the mobile terminal of EMS memory occupation |
CN107463313A (en) * | 2017-08-10 | 2017-12-12 | 四川长虹电器股份有限公司 | A kind of method of preloaded list |
CN108762836A (en) * | 2018-05-21 | 2018-11-06 | Oppo广东移动通信有限公司 | Management method, device, storage medium and the intelligent terminal of preloaded applications |
CN110806910A (en) * | 2018-07-18 | 2020-02-18 | 深圳市鸿合创新信息技术有限责任公司 | Method and system for optimizing carousel map and electronic equipment |
CN114296840A (en) * | 2021-05-28 | 2022-04-08 | 海信视像科技股份有限公司 | Wallpaper display method and display equipment |
CN114371798A (en) * | 2020-10-23 | 2022-04-19 | 统信软件技术有限公司 | Picture display method and computing device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067679A (en) * | 2011-10-20 | 2013-04-24 | 四川长虹电器股份有限公司 | Television local picture displaying method |
WO2013185549A2 (en) * | 2012-06-12 | 2013-12-19 | 腾讯科技(深圳)有限公司 | Picture displaying method and device, mobile terminal and computer storage medium |
CN104503685A (en) * | 2014-12-16 | 2015-04-08 | 新余兴邦信息产业有限公司 | Method and device for previewing pictures of photo albums and web pages |
-
2015
- 2015-04-27 CN CN201510205996.4A patent/CN104793945B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067679A (en) * | 2011-10-20 | 2013-04-24 | 四川长虹电器股份有限公司 | Television local picture displaying method |
WO2013185549A2 (en) * | 2012-06-12 | 2013-12-19 | 腾讯科技(深圳)有限公司 | Picture displaying method and device, mobile terminal and computer storage medium |
CN104503685A (en) * | 2014-12-16 | 2015-04-08 | 新余兴邦信息产业有限公司 | Method and device for previewing pictures of photo albums and web pages |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105843517A (en) * | 2016-03-14 | 2016-08-10 | 乐视移动智能信息技术(北京)有限公司 | Mobile terminal total graph displaying method and system |
CN106909283A (en) * | 2016-11-01 | 2017-06-30 | 广州视源电子科技股份有限公司 | canvas display control method and system |
CN106791911A (en) * | 2016-12-28 | 2017-05-31 | 北京风行在线技术有限公司 | A kind of loading method of picture and video |
CN106959898A (en) * | 2017-03-27 | 2017-07-18 | 广州优视网络科技有限公司 | Reduce method, device and the mobile terminal of EMS memory occupation |
CN107463313A (en) * | 2017-08-10 | 2017-12-12 | 四川长虹电器股份有限公司 | A kind of method of preloaded list |
CN108762836A (en) * | 2018-05-21 | 2018-11-06 | Oppo广东移动通信有限公司 | Management method, device, storage medium and the intelligent terminal of preloaded applications |
CN108762836B (en) * | 2018-05-21 | 2022-04-19 | Oppo广东移动通信有限公司 | Management method and device for preloaded application, storage medium and intelligent terminal |
CN110806910A (en) * | 2018-07-18 | 2020-02-18 | 深圳市鸿合创新信息技术有限责任公司 | Method and system for optimizing carousel map and electronic equipment |
CN114371798A (en) * | 2020-10-23 | 2022-04-19 | 统信软件技术有限公司 | Picture display method and computing device |
CN114296840A (en) * | 2021-05-28 | 2022-04-08 | 海信视像科技股份有限公司 | Wallpaper display method and display equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104793945B (en) | 2018-03-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104793945A (en) | Large-batch picture displaying method for preventing memory overflow and device thereof | |
RU2639651C2 (en) | Image identification and organization according to model without user intervention | |
CN113867661A (en) | Display method and terminal | |
CN103186638B (en) | A kind of picture layout method and device | |
CN109710865B (en) | Open type automatic layout method, device, electronic equipment and storage medium | |
CN102541538A (en) | Picture displaying method and device based on mobile terminal | |
CN103544207A (en) | Picture loading and displaying method and system | |
CN106296622B (en) | Automatic layout jigsaw method and device | |
US10802680B2 (en) | Pixel-aligned layout grids | |
CN103824252A (en) | Picture processing method and system | |
CN103702032A (en) | Image processing method, device and terminal equipment | |
CN105550181A (en) | File classification storage method and apparatus and terminal | |
CN113010063A (en) | File preview method and device, electronic equipment and storage medium | |
CN111061473A (en) | Visual component editing method and device for quickly building page | |
CN110806847A (en) | Distributed multi-screen display method, device, equipment and system | |
CN104461001A (en) | Information processing method and electronic equipment | |
CN106020752A (en) | Method and system for self-adaptation display | |
CN104462036A (en) | Method and system for synchronously editing format information of document | |
CN104636152A (en) | Floating-layer-based application program calling method and device | |
CN105824533A (en) | Method and device for loading picture and terminal | |
CN106933702A (en) | A kind of method of intelligent terminal storage space management, device and intelligent terminal | |
US20130083075A1 (en) | Method and apparatus for providing an overview of a plurality of home screens | |
CN103914223A (en) | Terminal application interface generation method and device | |
WO2020052373A1 (en) | Screenshot method and device | |
CN104516696A (en) | Information processing method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180313 Termination date: 20200427 |
|
CF01 | Termination of patent right due to non-payment of annual fee |