CN104793945B - The high-volume image display method and its device for preventing internal memory from overflowing - Google Patents

The high-volume image display method and its device for preventing internal memory from overflowing Download PDF

Info

Publication number
CN104793945B
CN104793945B CN201510205996.4A CN201510205996A CN104793945B CN 104793945 B CN104793945 B CN 104793945B CN 201510205996 A CN201510205996 A CN 201510205996A CN 104793945 B CN104793945 B CN 104793945B
Authority
CN
China
Prior art keywords
painting canvas
preloading
current screen
picture
moved
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.)
Expired - Fee Related
Application number
CN201510205996.4A
Other languages
Chinese (zh)
Other versions
CN104793945A (en
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 Meibeike Technology Co Ltd
Original Assignee
Shenzhen Meibeike 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 Meibeike Technology Co Ltd filed Critical Shenzhen Meibeike Technology Co Ltd
Priority to CN201510205996.4A priority Critical patent/CN104793945B/en
Publication of CN104793945A publication Critical patent/CN104793945A/en
Application granted granted Critical
Publication of CN104793945B publication Critical patent/CN104793945B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of high-volume image display method for preventing internal memory from overflowing, terminal creates several painting canvas in current screen, and a preloading painting canvas is respectively created in the left and right sides outside current screen viewing area, the painting canvas and preloading painting canvas are loaded according to the picture sequence of just list, show picture corresponding to each painting canvas in current screen;The invention also discloses a kind of high-volume image display apparatus for preventing internal memory from overflowing, internal memory can be saved by the present invention, it is not in the situation that internal memory overflows, accelerate the load time of picture, picture shows more smooth, Consumer's Experience is lifted, browsed picture discharges in time, can also save internal memory.

Description

The high-volume image display method and its device for preventing internal memory from overflowing
Technical field
The invention belongs to terminal technical field of picture display, and in particular to a kind of high-volume picture for preventing that internal memory from overflowing shows Show method and its device.
Background technology
With the popularization of intelligent terminal, take pictures easier, the quality and quantity taken pictures also are improving.
With the rapidly rising of photographic quality and quantity, due to the limitation of cell phone apparatus internal memory and the speed of service, developer It is more and more difficult in exploitation photograph album class application process, a large amount of pictures are on the one hand shown, on the one hand to meet the smooth body browsed Test, present product development does not often reach such effect.
The common practice of technology is now:It is disposable directly read display in need image data, be put into internal memory, So that user can quickly displaying picture.But such way can be with picture it is more and more, low memory, program report can be caused Mistake, influence very much Consumer's Experience.
The content of the invention
In view of this, it is a primary object of the present invention to provide a kind of high-volume image display method for preventing internal memory from overflowing And its device.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
The embodiment of the present invention provides a kind of high-volume image display method for preventing internal memory from overflowing, and this method is:Terminal exists Current screen creates several painting canvas, and a preloading picture is respectively created in the left and right sides outside current screen viewing area Cloth, the painting canvas and preloading painting canvas are loaded according to the picture sequence of just list, show each painting canvas in current screen Corresponding picture;When the painting canvas of the leftmost side removes current screen, and the preloading painting canvas on right side is moved into current screen, show Show picture corresponding to picture corresponding to the preloading painting canvas and remaining painting canvas, the painting canvas for removing current screen is moved to The left side of preloading painting canvas on the left of current screen, while release currently Loads Image, afterwards, the painting canvas is moved to current screen The right side of curtain loads new picture as new preloading painting canvas;When the painting canvas of the rightmost side removes current screen, and a left side When the preloading painting canvas of side is moved into current screen, show corresponding to picture corresponding to the preloading painting canvas and remaining painting canvas Picture, the right side for the preloading painting canvas that the painting canvas for removing current screen is moved on the right side of current screen, while discharge current Load Image, afterwards, the painting canvas is moved to the left side of current screen as new preloading painting canvas, and loads new figure Piece.
In such scheme, the preloading painting canvas on the painting canvas and right side is added according to the picture positive sequence order of just list Carry, the preloading painting canvas in the left side is loaded according to the picture inverted order order of just list.
The embodiment of the present invention also provides a kind of high-volume image display apparatus for preventing internal memory from overflowing, and the device includes:Wound Build unit, picture acquiring unit, loading unit;
The creating unit, several painting canvas are created in current screen for terminal, and outside current screen viewing area The left and right sides be respectively created one preloading painting canvas;
The loading unit, for adding to the painting canvas and preloading painting canvas according to the picture sequence of just list Carry, show picture corresponding to each painting canvas in current screen;
The mobile unit, for removing current screen when the painting canvas of the leftmost side, and the preloading painting canvas on right side moves into During to current screen, picture corresponding to picture corresponding to the preloading painting canvas and remaining painting canvas is shown, it is described to remove currently The left side for the preloading painting canvas that the painting canvas of screen is moved on the left of current screen, while release currently Loads Image, it is afterwards, described Painting canvas is moved to the right side of current screen as new preloading painting canvas, and loads new picture;When the painting canvas of the rightmost side moves Go out current screen, and when the preloading painting canvas in left side is moved into current screen, show picture corresponding to the preloading painting canvas And picture corresponding to remaining painting canvas, the preloading painting canvas that the painting canvas for removing current screen is moved on the right side of current screen Right side, while release currently Loads Image, afterwards, the painting canvas is moved to the left side of current screen as new preloading picture Cloth, and load new picture.
In such scheme, the loading unit, it is additionally operable to arrange the preloading painting canvas on the painting canvas and right side according to picture The picture positive sequence order of table is loaded, and the preloading painting canvas in the left side is added according to the picture inverted order order of just list Carry.
Compared with prior art, beneficial effects of the present invention:
The embodiment of the present invention provides a kind of high-volume image display method for preventing internal memory from overflowing, and terminal is created in current screen Several painting canvas are built, and a preloading painting canvas, the painting canvas is respectively created in the left and right sides outside current screen viewing area Loaded with painting canvas is preloaded according to the picture sequence of just list, show picture corresponding to each painting canvas in current screen; When the painting canvas of the leftmost side removes current screen, and the preloading painting canvas on right side is moved into current screen, the pre-add is shown Picture corresponding to picture corresponding to painting canvas and remaining painting canvas is carried, the painting canvas for removing current screen is moved to a current screen left side The left side of the preloading painting canvas of side, while release currently Loads Image, afterwards, the right side that the painting canvas is moved to current screen is made For new preloading painting canvas, and load new picture;When the painting canvas of the rightmost side removes current screen, and the preloading in left side When painting canvas is moved into current screen, picture corresponding to picture corresponding to the preloading painting canvas and remaining painting canvas is shown, it is described The right side for preloading painting canvas that the painting canvas of current screen is moved on the right side of current screen is removed, while release currently Loads Image, Afterwards, the painting canvas is moved to the left side of current screen as new preloading painting canvas, and loads new picture;By this hair It is bright to save internal memory, be not in the situation that internal memory overflows, accelerate load time of picture, picture show it is more smooth, Consumer's Experience is lifted, browsed picture discharges in time, can also save internal memory.
Brief description of the drawings
Fig. 1 is a kind of flow signal of high-volume image display method for preventing internal memory from overflowing provided in an embodiment of the present invention Figure.
Embodiment
The present invention is described in detail with reference to the accompanying drawings and detailed description.
The embodiment of the present invention provides a kind of high-volume image display method for preventing internal memory from overflowing, as shown in figure 1, this method Realized by following steps:
Step 101:Terminal creates several painting canvas, and the left and right sides outside current screen viewing area in current screen A preloading painting canvas is respectively created.
Step 102:The painting canvas and preloading painting canvas are loaded according to the picture sequence of just list, show current screen Picture corresponding to each painting canvas in curtain.
Specifically, the painting canvas and the preloading painting canvas on right side are loaded according to the picture positive sequence order of just list, I.e. the preloading painting canvas on right side loads next photo, the preloading in the left side according to the last pictures order of painting canvas viewing area Painting canvas according to just list picture inverted order order loaded, i.e., left side preloading painting canvas according to painting canvas viewing area picture The first upper photo of loading.
Step 103:When the painting canvas removal current screen of the leftmost side, and the preloading painting canvas on right side is moved into current screen When, show picture corresponding to picture corresponding to the preloading painting canvas and remaining painting canvas, the painting canvas for removing current screen The left side for the preloading painting canvas being moved on the left of current screen, while release currently Loads Image, afterwards, the painting canvas is moved to The right side of current screen loads new picture as new preloading painting canvas;When the rightmost side painting canvas remove current screen, And when the preloading painting canvas in left side is moved into current screen, show picture and remaining painting canvas corresponding to the preloading painting canvas Corresponding picture, the right side for the preloading painting canvas that the painting canvas for removing current screen is moved on the right side of current screen, is released simultaneously Put and currently Load Image, afterwards, the painting canvas is moved to the left side of current screen as new preloading painting canvas, and loads new Picture.
It is the first painting canvas, the second painting canvas, the 3rd painting canvas respectively specifically, assuming that the painting canvas of current screen is provided with three, Just list shares 20 photos, and first painting canvas, the second painting canvas, the 3rd painting canvas Load Image first in list respectively Photo, second photo, the 3rd photo, the preloading painting canvas on right side load the 4th photo, and the preloading painting canvas in left side adds The 20th photo is carried, after first painting canvas is moved to the left out current screen, first painting canvas is moved to the pre- of left side The left side of painting canvas is loaded, and discharges first photo of the just list currently shown, the preloading painting canvas on right side moves into To current screen and the 4th photo is shown, first painting canvas is moved to right side and added as the preloading painting canvas on new right side Carry the 5th photo;After the 3rd painting canvas is moved right out current screen, the 3rd painting canvas is moved to the pre-add on right side The right side of painting canvas is carried, and discharges the 3rd photo of the just list currently shown, the preloading painting canvas in left side is moved into The 20th photo of current screen and display, the 3rd painting canvas are moved to left side and added as the preloading painting canvas in new left side Carry the 19th photo.
The embodiment of the present invention also provides a kind of high-volume image display apparatus for preventing internal memory from overflowing, and the device includes:Wound Build unit, picture acquiring unit, loading unit;
The creating unit, several painting canvas are created in current screen for terminal, and outside current screen viewing area The left and right sides be respectively created one preloading painting canvas;
The loading unit, for adding to the painting canvas and preloading painting canvas according to the picture sequence of just list Carry, show picture corresponding to each painting canvas in current screen;
The mobile unit, for removing current screen when the painting canvas of the leftmost side, and the preloading painting canvas on right side moves into During to current screen, picture corresponding to picture corresponding to the preloading painting canvas and remaining painting canvas is shown, it is described to remove currently The left side for the preloading painting canvas that the painting canvas of screen is moved on the left of current screen, while release currently Loads Image, it is afterwards, described Painting canvas is moved to the right side of current screen as new preloading painting canvas, and loads new picture;When the painting canvas of the rightmost side moves Go out current screen, and when the preloading painting canvas in left side is moved into current screen, show picture corresponding to the preloading painting canvas And picture corresponding to remaining painting canvas, the preloading painting canvas that the painting canvas for removing current screen is moved on the right side of current screen Right side, while release currently Loads Image, afterwards, the painting canvas is moved to the left side of current screen as new preloading picture Cloth, and load new picture.
The loading unit, it is additionally operable to preload picture positive sequence of the painting canvas according to just list to the painting canvas and right side Order is loaded, and the preloading painting canvas in the left side is loaded according to the picture inverted order order of just list.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the shape of the embodiment in terms of the present invention can use hardware embodiment, software implementation or combination software and hardware Formula.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more to use storage The form for the computer program product that medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.).
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (4)

1. a kind of high-volume image display method for preventing internal memory from overflowing, it is characterised in that this method is:Terminal is in current screen Several painting canvas are created, and a preloading painting canvas, the picture is respectively created in the left and right sides outside current screen viewing area Cloth and preloading painting canvas are loaded according to the picture sequence of just list, are shown in current screen and are schemed corresponding to each painting canvas Piece;
When the painting canvas of the leftmost side removes current screen, and the preloading painting canvas on right side is moved into current screen, described in display Picture corresponding to picture corresponding to painting canvas and remaining painting canvas is preloaded, the painting canvas for removing current screen is moved to current screen The left side of the preloading painting canvas in curtain left side, while release currently Loads Image, afterwards, the painting canvas is moved to the right side of current screen Side loads new picture as new preloading painting canvas;
When the painting canvas of the rightmost side removes current screen, and the preloading painting canvas in left side is moved into current screen, described in display Picture corresponding to picture corresponding to painting canvas and remaining painting canvas is preloaded, the painting canvas for removing current screen is moved to current screen The right side of the preloading painting canvas on curtain right side, while release currently Loads Image, afterwards, the painting canvas is moved to a left side for current screen Side loads new picture as new preloading painting canvas.
2. the high-volume image display method according to claim 1 for preventing internal memory from overflowing, it is characterised in that:The painting canvas Loaded with the preloading painting canvas on right side according to the picture positive sequence order of just list, the preloading painting canvas in the left side according to The picture inverted order order of just list is loaded.
3. a kind of high-volume image display apparatus for preventing internal memory from overflowing, it is characterised in that the device includes:Creating unit, shifting Moving cell, loading unit;
The creating unit, several painting canvas, and the left side outside current screen viewing area are created in current screen for terminal A preloading painting canvas is respectively created in right both sides;
The loading unit, for being loaded to the painting canvas and preloading painting canvas according to the picture sequence of just list, show Show each picture corresponding to painting canvas in current screen;
The mobile unit, for removing current screen when the painting canvas of the leftmost side, and the preloading painting canvas on right side is moved into and worked as During forth screen, picture corresponding to picture corresponding to the preloading painting canvas and remaining painting canvas, the removal current screen are shown Painting canvas be moved on the left of current screen preloading painting canvas left side, while release currently Load Image, afterwards, the painting canvas The right side of current screen is moved to as new preloading painting canvas, and loads new picture;Work as when the painting canvas of the rightmost side removes Forth screen, and when the preloading painting canvas in left side is moved into current screen, show picture corresponding to the preloading painting canvas and Picture corresponding to remaining painting canvas, the right side for the preloading painting canvas that the painting canvas for removing current screen is moved on the right side of current screen Side, while release currently Loads Image, afterwards, the painting canvas are moved to the left side of current screen as new preloading painting canvas, And load new picture.
4. the high-volume image display apparatus according to claim 3 for preventing internal memory from overflowing, it is characterised in that:The loading Unit, it is additionally operable to load the painting canvas and the preloading painting canvas on right side according to the picture positive sequence order of just list, institute The preloading painting canvas for stating left side is loaded according to the picture inverted order order of just list.
CN201510205996.4A 2015-04-27 2015-04-27 The high-volume image display method and its device for preventing internal memory from overflowing Expired - Fee Related CN104793945B (en)

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 CN104793945A (en) 2015-07-22
CN104793945B true 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)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843517A (en) * 2016-03-14 2016-08-10 乐视移动智能信息技术(北京)有限公司 Mobile terminal total graph displaying method and system
CN106909283B (en) * 2016-11-01 2020-03-06 广州视源电子科技股份有限公司 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
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

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN104793945A (en) 2015-07-22

Similar Documents

Publication Publication Date Title
CN104793945B (en) The high-volume image display method and its device for preventing internal memory from overflowing
RU2639651C2 (en) Image identification and organization according to model without user intervention
US20160358042A1 (en) Electronic Travel Album Generating Method and Computing Device
WO2017092335A1 (en) Processing method and apparatus for displaying stereoscopic image
CN106657757B (en) Image preview method and device for camera application and camera application system
CN105247567B (en) A kind of image focusing device, method, system and non-transient program storage device again
CN103824252A (en) Picture processing method and system
WO2015130270A1 (en) Photo and document integration
CN110248115B (en) Image processing method, device and storage medium
US9407835B2 (en) Image obtaining method and electronic device
WO2017032233A1 (en) Image generation method and device
CN105898523A (en) Video playing method and video playing device
CN110062157B (en) Method and device for rendering image, electronic equipment and computer readable storage medium
CN105550181A (en) File classification storage method and apparatus and terminal
CN106879263A (en) A kind of image pickup method and mobile device
CN104731855A (en) Method and device for displaying image resources of WeChat friend circle
WO2015161809A1 (en) Picture splitting method and apparatus, and picture loading method and apparatus
CN111835982A (en) Image acquisition method, image acquisition device, electronic device, and storage medium
WO2015110060A1 (en) Filter realization method and apparatus of camera application
CN103390288B (en) Three-dimensional rendering files in batch splits rendering layer disposal system
CN104991695A (en) Information processing method and electronic equipment
CN108093249A (en) A kind of image processing method and device
CN107748644A (en) A kind of sectional drawing display methods and equipment, terminal and readable storage medium storing program for executing
CN107967095A (en) A kind of image display method and device
CN111599449B (en) Automatic playing method, device and equipment of electronic image and storage medium

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