CN108256072A - Photograph album display methods, device, storage medium and electronic equipment - Google Patents

Photograph album display methods, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN108256072A
CN108256072A CN201810045020.9A CN201810045020A CN108256072A CN 108256072 A CN108256072 A CN 108256072A CN 201810045020 A CN201810045020 A CN 201810045020A CN 108256072 A CN108256072 A CN 108256072A
Authority
CN
China
Prior art keywords
textures
image
view
photograph album
group
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
Application number
CN201810045020.9A
Other languages
Chinese (zh)
Other versions
CN108256072B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810045020.9A priority Critical patent/CN108256072B/en
Publication of CN108256072A publication Critical patent/CN108256072A/en
Application granted granted Critical
Publication of CN108256072B publication Critical patent/CN108256072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • 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/53Querying
    • G06F16/532Query formulation, e.g. graphical querying

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

This application discloses a kind of photograph album display methods, device, storage medium and electronic equipment, which includes:Obtain year view idsplay order;First textures were generated according to this year view idsplay order, which includes the textures block of one or more blank;One or more image generation mapping table in the photograph album, the mapping table are used to record the textures block of the corresponding blank of one or more image;An at least month view is shown according to one or more image, mapping table and the first textures;According to this month view generation year view of display, so as to which the picture in photograph album is showed user in the way of year view, method is simple, and flexibility is high.

Description

Photograph album display methods, device, storage medium and electronic equipment
Technical field
This application involves field of computer technology more particularly to a kind of photograph album display methods, device, storage medium and electricity Sub- equipment.
Background technology
With the continuous development of mobile communication technology, mobile terminal have become people's daily life indispensable tool it One, call and SMS function can be not only provided, also with multimedia and camera function.
At present, due to the continuous promotion of the hardware devices such as camera and memory capacity, more and more users tend to make It is taken pictures with mobile terminal, and the photo for shooting every time, mobile terminal can be all stored it in photograph album, for follow-up It checks, still, the photo stored in existing photograph album is only simply enumerated, Yong Huxu in chronological order when display It to browse a sheet by a sheet, can not by year carry out general view, display mode is single, lacks flexibility.
Invention content
The embodiment of the present application provides a kind of photograph album display methods, device, storage medium and electronic equipment, can be with the year The mode of axis shows photograph album, and display mode is flexible.
The embodiment of the present application provides a kind of photograph album display methods, applied to electronic equipment, including:
Obtain year view idsplay order;
First textures are generated according to the year view idsplay order, first textures include one or more blank Textures block;
In the photograph album one or more image generation mapping table, the mapping table for record described one or The textures block of the corresponding blank of multiple images;
An at least month view is shown according to one or more image, mapping table and the first textures;
According to the moon view generation year view of display.
The embodiment of the present application additionally provides a kind of photograph album display device, applied to electronic equipment, including:
Acquisition module, for obtaining year view idsplay order;
First generation module for generating the first textures according to the year view idsplay order, wraps in first textures Include the textures block of one or more blank;
Second generation module generates mapping table, the mapping table for one or more image in the photograph album For recording the textures block of the corresponding blank of one or more image;
Third generation module, for generating at least one according to one or more image, mapping table and the first textures Open moon view;
4th generation module, for according to the moon view generation year view.
Further, the third generation module includes:
Acquisition submodule, for obtaining the shooting time of one or more image;
Submodule is grouped, one is classified as belonging to the image in identical month to shooting time in one or more image Group obtains at least one image group;
Determination sub-module, for according to the mapping table, determining that every image is in first textures in described image group In corresponding textures block, obtain textures block group;
Submodule is generated, for generating moon view according to the textures block group and corresponding image group.
Further, the generation submodule is specifically used for:
Generate the thumbnail of every image in described image group;
The thumbnail is filled into corresponding textures block, to be updated to the textures block group;
Off screen rendering is carried out to updated textures block group, obtains corresponding moon view.
Further, the generation submodule is specifically used for:
An extra buffer is created except current screen buffering area;
Obtain the texel information of textures block in updated textures block group;
In the extra buffer, the texel information is converted by Pixel Information according to default conversion proportion and is protected It deposits, obtains a moon view.
Further, the 4th generation module is specifically used for:
The splicing sequence of moon view is determined according to the shooting time;
Moon view is spliced into adult view according to splicing sequence.
The embodiment of the present application additionally provides a kind of storage medium, and a plurality of instruction, the finger are stored in the storage medium It enables and is suitable for being loaded to perform any of the above-described photograph album display methods by processor.
The embodiment of the present application additionally provides a kind of electronic equipment, including processor and memory, the processor with it is described Memory is electrically connected, and the memory is for storing instruction and data, the processor are used for phase described in any one of the above embodiments Step in volume display methods.
Photograph album display methods, device, storage medium and the electronic equipment that the application provides applied to electronic equipment, lead to Acquisition year view idsplay order is crossed, and the first textures were generated according to this year view idsplay order, which includes one Or the textures block of multiple blank, then, the one or more image generation mapping table in the photograph album, the mapping table is used to remember The textures block of the corresponding blank of one or more image is recorded, and according to one or more image, mapping table and first Textures show an at least month view, later according to this month view generation year view of display, so as to by the picture in photograph album The mode of time shaft shows user per year, and method is simple, and flexibility is high.
Description of the drawings
Below in conjunction with the accompanying drawings, it is described in detail by the specific embodiment to the application, the technical solution of the application will be made And other beneficial effects are apparent.
Fig. 1 is the flow diagram of photograph album display methods provided by the embodiments of the present application.
Fig. 2 is another flow diagram of photograph album display methods provided by the embodiments of the present application.
Mapping schematic diagrames of the Fig. 3 between textures block group provided by the embodiments of the present application and thumbnail file.
Fig. 4 is the schematic diagram of electronic equipment middle age view display interface provided by the embodiments of the present application.
Fig. 5 is the structure diagram of photograph album display device provided by the embodiments of the present application.
Fig. 6 is the structure diagram of third generation module provided by the embodiments of the present application.
Fig. 7 is the structure diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, the technical solution in the embodiment of the present application is carried out clear, complete Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, the every other implementation that those skilled in the art are obtained without creative efforts Example, shall fall in the protection scope of this application.
The embodiment of the present application provides a kind of photograph album display methods, device, storage medium and electronic equipment.
A kind of photograph album display methods, applied to electronic equipment, including:Obtain year view idsplay order;According to this year view Idsplay order generates the first textures, which includes the textures block of one or more blank;According to one in the photograph album It opens or multiple images generation mapping table, the mapping table is used to record the textures block of the corresponding blank of one or more image; An at least month view is shown according to one or more image, mapping table and the first textures;According to this month view of display Generate year view.
As shown in Figure 1, the photograph album display methods is applied to electronic equipment, idiographic flow can be as follows:
101st, year view idsplay order is obtained.
In the present embodiment, the photograph album application in electronic equipment can provide multi-display function, for example time shaft is shown per year Show, a month axis is shown or Time of Day axis is shown etc., when time shaft is shown user's selection per year, can generate and regard in the year Figure idsplay order.
102nd, the first textures were generated according to this year view idsplay order, which includes one or more blank Textures block.
In the present embodiment, which both can be used for regarding map generalization in year, can be used for the moon and regards map generalization, Showed in the form of grid view, each grid corresponds to the textures block of a blank, which is used to protect in the form of texel Picture material is deposited, similar with the pixel of image, texel can save colors data, and the difference between pixel and texel is very micro- It is wonderful:Pixel usually represents the color point of a reality on computer screen, is usually used to as a units of measurement, than As it may be said that the size of an image for 256 pixels are wide, 256 pixels are high, and in contrast, texel, which is present in one, virtual not to be had Have in the mathematical coordinates system (be usually S-T axis coordinate systems) of size, in a texture block no matter how many pixel, size is forever Far it is on S axis from 0.0 to 1.0, on T axis from 0.0 to 1.0.
103rd, the one or more image generation mapping table in the photograph album, the mapping table are used to record this or more Open the textures block of the corresponding blank of image.
In the present embodiment, which determines preservation sequence of the image in the first textures, usually, is presented to use Family year view should according to time shaft come sort namely the first textures in textures block should per year or the moon is from as far as near Or from closely corresponding picture material in photograph album is preserved successively to remote shooting sequence, at this point, above-mentioned steps 103 can specifically wrap It includes:
Obtain the shooting time of one or more image;
According to the shooting time, the mapping relations between the image and the textures block of the blank are established;
By mapping relations record in the mapping table, to generate mapping table.
In the present embodiment, which can show as the form of x seconds during x x month x day x, for being obtained from other equipment The image taken, if without specific shooting time, storage time that can using the acquisition time or in the electronic device is as shooting Time.
104th, an at least month view is shown according to one or more image, mapping table and the first textures.
For example, above-mentioned steps 104 can specifically include:
Obtain the shooting time of one or more image;
The image in identical month is belonged to shooting time in one or more image and is classified as one group, obtains at least one figure As group;
According to the mapping table, determine every image corresponding textures block in first textures in the image group, pasted Segment group;
It is generated according to the textures block group and corresponding image group and shows a moon view.
In the present embodiment, since each image group is grouped to obtain according to month, therefore have in different months different Image group, and each image has corresponding textures block in the first textures, therefore corresponding textures can be determined according to image group Block group.
For example, above-mentioned steps " generated according to the textures block group and corresponding image group and show a moon view " can specifically wrap It includes:
Generate the thumbnail of every image in the image group;
The thumbnail is filled into corresponding textures block, to be updated to textures block group;
Off screen rendering is carried out to updated textures block group, obtains corresponding moon view.
In the present embodiment, can thumbnail be generated by down-sampled mode, later by OpenGL (Open Graphics Library, open graphic library) in the textures block of blank the thumbnail is drawn, textures block is filled out with realizing It fills, which is one across programming language, the graphic package interface of the profession of cross-platform programming interface specification.The off screen wash with watercolours Dye refers to that GPU newly opens up a buffering area other than the buffering area of current screen and carries out Rendering operations, generally and currently shields Curtain render correspond to, the current screen rendering refer to GPU Rendering operations be in the screen buffer for being currently used in display into Row.
For example, above-mentioned steps " carrying out off screen rendering to updated textures block group, obtain corresponding moon view " specifically may be used To include:
An extra buffer is created except current screen buffering area;
Obtain the texel information of textures block in updated textures block group;
In the extra buffer, which is converted by Pixel Information according to default conversion proportion and is preserved, is obtained To moon view.
In the present embodiment, which can be that good or electronic equipment is set in advance according to ought in user Before different textures block groups can simultaneously be handled by different threads, so as to improving treatment effeciency as far as possible.The default conversion ratio Example determines the screen resolution of moon view namely for determining textures single texel point in the block being converted into how many a pixels Point can be manually set well, such as default conversion proportion 1:2, which represent 1 texel point, corresponds to 2 pixels.
105th, according to this month view generation year view of display.
For example, above-mentioned steps 105 can specifically include:
The splicing sequence of moon view is determined according to the shooting time;
Moon view is spliced into adult view according to splicing sequence.
In the present embodiment, since the image shown in year view is typically from as far as near or from closely to remote by shooting time Sequence be arranged in order, and the image in each month is also tactic according to this in moon view, thus only need to according to January~ The sequence in December or December~January splices moon view, you can the year view of display order needed for obtaining.
It can be seen from the above, photograph album display methods provided in this embodiment, applied to electronic equipment, is shown by obtaining year view Show instruction, and the first textures were generated according to this year view idsplay order, which includes the patch of one or more blank Segment, then, one or more image in photograph album generation mapping table, the mapping table for record this one or more The textures block of the corresponding blank of image, and show at least one according to one or more image, mapping table and the first textures Moon view, later according to this month view generation year view of display, so as to by the side of the time shaft per year of the picture in photograph album Formula shows user, and method is simple, and flexibility is high.
In the present embodiment, it will be described in detail so that the photograph album display device specifically integrates in the electronic device as an example.
Fig. 2 is referred to, a kind of photograph album display methods, idiographic flow can be as follows:
201st, electronic equipment obtains year view idsplay order, and generates the first textures according to this year view idsplay order, should First textures include the textures block of one or more blank.
For example, when user clicks the function button that instruction year axis is shown in photograph album application, it can generate and regard in the year Figure idsplay order.
202nd, electronic equipment obtains the shooting time of one or more image in photograph album, and according to the shooting time, establishes Mapping relations between the image and the textures block of the blank by mapping relations record in the mapping table later, are reflected with generation Firing table.
For example, when the image of certain year in photograph album there are 120, first textures of one 4 × 30 (row × row) can be generated, Namely first textures share 4 rows, the quantity per the hollow white textures block of a line is 30.Can according to shooting time from as far as near or Person from closely obtaining image and blank textures block successively to the sequence of remote sequence and the first textures from top to bottom, from left to right Establish mapping relations.
203rd, electronic equipment belongs to the image in identical month to shooting time in one or more image and is classified as one group, obtains Every image corresponding textures in first textures in the image group are determined at least one image group, and according to the mapping table Block obtains textures block group.
For example, if one or more image it is corresponding shooting the time be 2014, and 2014 only 1~August part into It has gone image taking, then can obtain 8 image groups, corresponded to 1~August respectively, the textures block group of corresponding blank should also have 8 It is a.
204th, electronic equipment generates the thumbnail of every image in the image group, and the thumbnail is filled into corresponding patch In segment, to be updated to textures block group.
For example, can thumbnail be generated by down-sampled mode, specifically, for the image of a width N*M, used Family can with pre-set down-sampled coefficient, carried out according to the down-sampled coefficient set it is down-sampled, if than down-sampled coefficient For k, then each row and column demonstrated the need in artwork take a composition piece image every k point, obtain the thumbnail.
Fig. 3 is referred to, Fig. 3 illustrates a thumbnail file (or bitmap file) and the first textures, the breviary picture and text 24 hypertonic sketch map B1~B24 are contained inside part, according to shooting time from closely to far label, B1 are from current time most successively The thumbnail of near image, B24 is the thumbnail of the image farthest from current time, and 8 hypertonics nearest from current time are omited Figure is arranged in the second row, and the 8 hypertonic sketch maps farthest from current time are placed on the first row, correspondingly, also being included in the first textures The textures block of T1~T24 blank, the mapping relations can be T1=B9, T2=B10, T3=B11, T4=B12, T5= B13, T6=B14, T7=B15, T8=B16, T9=B24, T10=B23, T11=B22, T12=B21, T13=B20, T14= B19, T15=B18, T16=B17, T17=B8, T18=B7, T19=B6, T20=B5, T21=B4, T22=B3, T23= B2, T24=B1.
205th, electronic equipment creates an extra buffer except current screen buffering area, and obtains updated textures The texel information of textures block in block group later in the extra buffer, converts the texel information according to default conversion proportion It for Pixel Information and preserves, obtains a moon view.
For example, this month view can be generated by way of off screen rendering namely be opened up except current screen buffering area One new buffering area is rendered, which mainly includes texel information and the conversion between Pixel Information, each Transformed textures block group is all a moon view for being used directly for screen display.
206th, electronic equipment determines the splicing sequence of moon view according to the shooting time, and regards the moon according to splicing sequence Figure splicing adult view.
For example, refer to Fig. 4, Fig. 4 shows the year view of 2014~2015 years in photograph album, it will therefore be readily appreciated that 2015 years and In year in 2014 view the moon view quantity it is different, and this month view splices sequentially in time, such as in 2014,8 First splicing of month view, the last one splicing of 1 month view, etc..The moon view shape and size in identical month May be inconsistent, for example, in Fig. 4 in April, 2015 the moon view and moon view in April, 2014.
It can be seen from the above, photograph album display methods provided in this embodiment, wherein electronic equipment can obtain a year view and show Instruction, and the first textures were generated according to this year view idsplay order, which includes the textures of one or more blank Block then, obtains the shooting time of one or more image in photograph album, and according to the shooting time, establishes the image and the sky Mapping relations between white textures block are by mapping relations record in the mapping table later, then, right to generate mapping table Shooting time belongs to the image in identical month and is classified as one group in one or more image, obtains at least one image group, and root Every image corresponding textures block in first textures in the image group is determined according to the mapping table, obtains textures block group;Then, The thumbnail of every image in the image group is generated, and the thumbnail is filled into corresponding textures block, with to textures block group It is updated, then, an extra buffer is created except current screen buffering area, and obtain in updated textures block group Later in the extra buffer, pixel is converted into according to default conversion proportion by the texel information of textures block for the texel information Information simultaneously preserves, and obtains a moon view, finally, the splicing sequence of moon view is determined according to the shooting time, and suitable according to the splicing Sequence is by moon view splicing adult view, so as to which the mode of the time shaft per year of the picture in photograph album is showed user, method letter Single, flexibility is high, and due to this year view be by using be plotted on screen the moon view as source is drawn, add again It draws and obtains after work, save the times such as decoding, storage, the tissue for drawing content, greatly improve the formation efficiency of year view.
According to the described method of above-described embodiment, the present embodiment will further be retouched from the angle of photograph album display device It states, which can specifically be independent entity to realize, can also be integrated in electronic equipment, such as terminal It realizes, which can include mobile phone, tablet computer and personal computer etc..
Referring to Fig. 5, photograph album display device provided by the embodiments of the present application has been described in detail in Fig. 5, applied to electronic equipment, It can include:Acquisition module 10, the first generation module 20, the second generation module 30, third generation module 40 and the 4th generate Module 50, wherein:
(1) acquisition module 10
First acquisition module 10, for obtaining year view idsplay order.
In the present embodiment, the photograph album application in electronic equipment can provide multi-display function, for example time shaft is shown per year Show, a month axis is shown or Time of Day axis is shown etc., when time shaft is shown user's selection per year, can generate and regard in the year Figure idsplay order.
(2) first generation modules 20
First generation module 20, for generating the first textures according to this year view idsplay order, which includes The textures block of one or more blank.
In the present embodiment, which both can be used for regarding map generalization in year, can be used for the moon and regards map generalization, Showed in the form of grid view, each grid corresponds to the textures block of a blank, which is used to protect in the form of texel Picture material is deposited, similar with the pixel of image, texel can save colors data, and the difference between pixel and texel is very micro- It is wonderful:Pixel usually represents the color point of a reality on computer screen, is usually used to as a units of measurement, than As it may be said that the size of an image for 256 pixels are wide, 256 pixels are high, and in contrast, texel, which is present in one, virtual not to be had Have in the mathematical coordinates system (be usually S-T axis coordinate systems) of size, in a texture block no matter how many pixel, size is forever Far it is on S axis from 0.0 to 1.0, on T axis from 0.0 to 1.0.
(3) second generation modules 30
Second generation module 30 generates mapping table for one or more image in the photograph album, which uses In the textures block for recording the corresponding blank of one or more image.
In the present embodiment, which determines preservation sequence of the image in the first textures, usually, is presented to use Family year view should according to time shaft come sort namely the first textures in textures block should per year or the moon is from as far as near Or from closely corresponding picture material in photograph album is preserved successively to remote shooting sequence, at this point, above-mentioned second generation module 30 has Body can be used for:
Obtain the shooting time of one or more image;
According to the shooting time, the mapping relations between the image and the textures block of the blank are established;
By mapping relations record in the mapping table, to generate mapping table.
In the present embodiment, which can show as the form of x seconds during x x month x day x, for being obtained from other equipment The image taken, if without specific shooting time, storage time that can using the acquisition time or in the electronic device is as shooting Time.
(4) third generation module 40
Third generation module 40, for generating at least one according to one or more image, mapping table and the first textures Open moon view.
For example, refer to Fig. 6, the third generation module 40 can specifically include acquisition submodule 41, grouping submodule 42, Determination sub-module 43 and generation submodule 44, wherein:
Acquisition submodule 41, for obtaining the shooting time of one or more image;
Submodule 42 is grouped, one is classified as belonging to the image in identical month to shooting time in one or more image Group obtains at least one image group;
Determination sub-module 43, for according to the mapping table, determining that every image is right in first textures in the image group The textures block answered obtains textures block group;
Submodule 44 is generated, for generating moon view according to the textures block group and corresponding image group.
In the present embodiment, since each image group is grouped to obtain according to month, therefore have in different months different Image group, and each image has corresponding textures block in the first textures, therefore corresponding textures can be determined according to image group Block group.
For example, the generation submodule 44 specifically can be used for:
Generate the thumbnail of every image in the image group;
The thumbnail is filled into corresponding textures block, to be updated to textures block group;
Off screen rendering is carried out to updated textures block group, obtains corresponding moon view.
In the present embodiment, can thumbnail be generated by down-sampled mode, later by OpenGL (Open Graphics Library, open graphic library) in the textures block of blank the thumbnail is drawn, textures block is filled out with realizing It fills, which is one across programming language, the graphic package interface of the profession of cross-platform programming interface specification.The off screen wash with watercolours Dye refers to that GPU newly opens up a buffering area other than the buffering area of current screen and carries out Rendering operations, generally and currently shields Curtain render correspond to, the current screen rendering refer to GPU Rendering operations be in the screen buffer for being currently used in display into Row.
For example, the generation submodule 44 specifically can be used for:
An extra buffer is created except current screen buffering area;
Obtain the texel information of textures block in updated textures block group;
In the extra buffer, which is converted by Pixel Information according to default conversion proportion and is preserved, is obtained To moon view.
In the present embodiment, which can be that good or electronic equipment is set in advance according to ought in user Before different textures block groups can simultaneously be handled by different threads, so as to improving treatment effeciency as far as possible.The default conversion ratio Example determines the screen resolution of moon view namely for determining textures single texel point in the block being converted into how many a pixels Point can be manually set well, such as default conversion proportion 1:2, which represent 1 texel point, corresponds to 2 pixels.
(5) the 4th generation modules 50
4th generation module 50, for according to this month view generation year view.
For example, the 4th generation module 50 specifically can be used for:
The splicing sequence of moon view is determined according to the shooting time;
Moon view is spliced into adult view according to splicing sequence.
In the present embodiment, since the image shown in year view is typically from as far as near or from closely to remote by shooting time Sequence be arranged in order, and the image in each month is also tactic according to this in moon view, thus only need to according to January~ The sequence in December or December~January splices moon view, you can the year view of display order needed for obtaining.
When it is implemented, Yi Shang each unit can be independent entity to realize, arbitrary combination can also be carried out, is made It is realized for same or several entities, the specific implementation of more than each unit can be found in the embodiment of the method for front, herein not It repeats again.
It can be seen from the above, information processing unit provided in this embodiment, applied to electronic equipment, is obtained by acquisition module 10 Take a year view idsplay order, the first generation module 20 generated the first textures according to this year view idsplay order, in first textures Textures block including one or more blank, then, one or more image life of second generation module 30 in the photograph album Into mapping table, which is used to record the textures block of the corresponding blank of one or more image, third generation module 40 An at least month view is shown according to one or more image, mapping table and the first textures, later the 4th generation module 50 According to this month view generation year view of display, so as to which the mode of the time shaft per year of the picture in photograph album is showed user, Method is simple, and flexibility is high.
In addition, the embodiment of the present application additionally provides a kind of electronic equipment, which can be smart mobile phone, tablet electricity The equipment such as brain.Shown in Fig. 7, electronic equipment 900 includes processor 901, memory 902, display screen 903 and control circuit 904. Wherein, processor 901 is electrically connected respectively with memory 902, display screen 903, control circuit 904.
Processor 901 is the control centre of electronic equipment 900, utilizes various interfaces and the entire electronic equipment of connection Various pieces, by operation or load store, application program in memory 902 and calling is stored in memory 902 Data, perform electronic equipment various functions and processing data, so as to electronic equipment carry out integral monitoring.
In the present embodiment, processor 901 in electronic equipment 900 can according to the steps, by one or one with On application program process it is corresponding instruction be loaded into memory 902, and memory is stored in run by processor 901 Application program in 902, so as to fulfill various functions:
Obtain year view idsplay order;
First textures were generated according to this year view idsplay order, which includes the textures of one or more blank Block;
One or more image generation mapping table in the photograph album, the mapping table are used to record one or more figure As the textures block of the corresponding blank;
An at least month view is generated according to one or more image, mapping table and the first textures;
According to this month view generation year view.
Memory 902 can be used for storage application program and data.Including in the application program that memory 902 stores can be The instruction performed in processor.Application program can form various functions module.Processor 901 is stored in memory by operation 902 application program, so as to perform various functions application and data processing.
Display screen 903 can be used for display by information input by user or be supplied to the information of user and the various figures of terminal Shape user interface, these graphical user interface can be made of image, text, icon, video and its arbitrary combination.
Control circuit 904 is electrically connected with display screen 903, and information is shown for control display screen 903.
In some embodiments, as shown in fig. 7, electronic equipment 900 further includes:Radio circuit 905, input unit 906, sound Frequency circuit 907, sensor 908 and power supply 909.Wherein, processor 901 respectively with radio circuit 905, input unit 906, sound Frequency circuit 907, sensor 908 and power supply 909 are electrically connected.
Radio circuit 905 is used for transceiving radio frequency signal, to be built by radio communication with the network equipment or other electronic equipments Vertical wireless telecommunications, the receiving and transmitting signal between the network equipment or other electronic equipments.
Input unit 906 can be used for receive input number, character information or user's characteristic information (such as fingerprint) and Generate the keyboard related with user setting and function control, mouse, operating lever, optics or the input of trace ball signal.Wherein, Input unit 906 can include fingerprint recognition module.
Voicefrequency circuit 907 can provide the audio interface between user and terminal by loud speaker, microphone.
Electronic equipment 900 can also include at least one sensor 908, for example, optical sensor, motion sensor and its His sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor can root The brightness of display panel is adjusted according to the light and shade of ambient light, proximity sensor can close display when terminal is moved in one's ear Panel and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally three Axis) acceleration size, size and the direction of gravity are can detect that when static, can be used to identify mobile phone posture application (such as Horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor that terminal can also configure, it is no longer superfluous herein It states.
Power supply 909 is powered for all parts of electron equipment 900.In some embodiments, power supply 909 can pass through Power-supply management system and processor 901 are logically contiguous, so as to realize management charging, electric discharge, Yi Jigong by power-supply management system The functions such as consumption management.
Although being not shown in Fig. 7, electronic equipment 900 can also include camera, bluetooth module etc., and details are not described herein.
It will appreciated by the skilled person that all or part of step in the various methods of above-described embodiment can be with By instructing to complete or relevant hardware being controlled to complete by instructing, which can be stored in one and computer-readable deposit In storage media, and loaded and performed by processor.For this purpose, the embodiment of the present invention provides a kind of storage medium, wherein storing There is a plurality of instruction, which can be loaded by processor, and any photograph album provided to perform the embodiment of the present invention is shown Show the step in method.
Wherein, which can include:Read-only memory (ROM, Read Only Memory), random access memory Body (RAM, Random Access Memory), disk or CD etc..
By the instruction stored in the storage medium, can perform at any information that the embodiment of the present invention is provided Step in reason method, it is thereby achieved that achieved by any photograph album display methods that the embodiment of the present invention is provided Advantageous effect refers to the embodiment of front, and details are not described herein.
The specific implementation of above each operation can be found in the embodiment of front, and details are not described herein.
It is to sum up somebody's turn to do, although the application is disclosed above with preferred embodiment, above preferred embodiment is not to limit The application, those of ordinary skill in the art are not being departed from spirit and scope, can make various changes and profit Decorations, therefore the protection domain of the application is subject to the range that claim defines.

Claims (10)

1. a kind of photograph album display methods, applied to electronic equipment, which is characterized in that including:
Obtain year view idsplay order;
First textures are generated according to the year view idsplay order, first textures include the textures of one or more blank Block;
One or more image generation mapping table in the photograph album, the mapping table are used to record described one or more The textures block of the corresponding blank of image;
An at least month view is generated according to one or more image, mapping table and the first textures;
According to the moon view generation year view.
2. photograph album display methods according to claim 1, which is characterized in that it is described according to one or more image, Mapping table and the first textures generation at least month view, including:
Obtain the shooting time of one or more image;
The image in identical month is belonged to shooting time in one or more image and is classified as one group, obtains at least one image Group;
According to the mapping table, determine every image corresponding textures block in first textures in described image group, obtain Textures block group;
According to the textures block group and corresponding image group generation moon view.
3. photograph album display methods according to claim 2, which is characterized in that described according to the textures block group and corresponding Image group generates moon view, including:
Generate the thumbnail of every image in described image group;
The thumbnail is filled into corresponding textures block, to be updated to the textures block group;
Off screen rendering is carried out to updated textures block group, obtains corresponding moon view.
4. photograph album display methods according to claim 3, which is characterized in that it is described updated textures block group is carried out from Screen renders, including:
An extra buffer is created except current screen buffering area;
Obtain the texel information of textures block in updated textures block group;
In the extra buffer, the texel information is converted by Pixel Information according to default conversion proportion and is preserved, is obtained To moon view.
5. the photograph album display methods according to any one of claim 2-4, which is characterized in that described according to the moon view Year view is generated, including:
The splicing sequence of moon view is determined according to the shooting time;
Moon view is spliced into adult view according to splicing sequence.
6. a kind of photograph album display device, applied to electronic equipment, which is characterized in that including:
Acquisition module, for obtaining year view idsplay order;
First generation module, for generating the first textures according to the year view idsplay order, first textures include one The textures block of a or multiple blank;
Second generation module generates mapping table for one or more image in the photograph album, and the mapping table is used for Record the textures block of the corresponding blank of one or more image;
Third generation module, for being generated at least one month according to one or more image, mapping table and the first textures View;
4th generation module, for according to the moon view generation year view.
7. photograph album display device according to claim 6, which is characterized in that the third generation module includes:
Acquisition submodule, for obtaining the shooting time of one or more image;
Submodule is grouped, one group is classified as belonging to the image in identical month to shooting time in one or more image, Obtain at least one image group;
Determination sub-module, for according to the mapping table, determining that every image is right in first textures in described image group The textures block answered obtains textures block group;
Submodule is generated, for generating moon view according to the textures block group and corresponding image group.
8. photograph album display device according to claim 7, which is characterized in that the generation submodule is specifically used for:
Generate the thumbnail of every image in described image group;
The thumbnail is filled into corresponding textures block, to be updated to the textures block group;
Off screen rendering is carried out to updated textures block group, obtains corresponding moon view.
9. a kind of storage medium, which is characterized in that a plurality of instruction is stored in the storage medium, described instruction is suitable for by handling Device loading requires the photograph album display methods described in any one of 1 to 5 with perform claim.
10. a kind of electronic equipment, which is characterized in that including processor and memory, the processor and the memory are electrical Connection, the memory are required for perform claim described in any one of 1 to 5 for storing instruction with data, the processor Photograph album display methods in step.
CN201810045020.9A 2018-01-17 2018-01-17 Album display method, apparatus, storage medium and electronic device Active CN108256072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810045020.9A CN108256072B (en) 2018-01-17 2018-01-17 Album display method, apparatus, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810045020.9A CN108256072B (en) 2018-01-17 2018-01-17 Album display method, apparatus, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN108256072A true CN108256072A (en) 2018-07-06
CN108256072B CN108256072B (en) 2021-03-02

Family

ID=62741236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810045020.9A Active CN108256072B (en) 2018-01-17 2018-01-17 Album display method, apparatus, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN108256072B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111526288A (en) * 2020-04-28 2020-08-11 Oppo广东移动通信有限公司 Image processing method and device and storage medium
CN112463998A (en) * 2020-11-25 2021-03-09 京东方科技集团股份有限公司 Album resource processing method, apparatus, electronic device and storage medium
CN113436344A (en) * 2021-06-25 2021-09-24 广联达科技股份有限公司 Display method and system of reference view and image display equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060080342A1 (en) * 2004-10-07 2006-04-13 Goro Takaki Contents management system, contents management method, and computer program
US20120236037A1 (en) * 2011-01-06 2012-09-20 Research In Motion Limited Electronic device and method of displaying information in response to a gesture
CN102857819A (en) * 2012-09-12 2013-01-02 广东威创视讯科技股份有限公司 Loading method for texture picture as well as display terminal, server and system
CN103235805A (en) * 2013-04-18 2013-08-07 广东欧珀移动通信有限公司 Photo sort management method and system
CN103995841A (en) * 2014-04-30 2014-08-20 小米科技有限责任公司 Method and device for locating pictures
CN105183837A (en) * 2015-09-02 2015-12-23 Tcl移动通信科技(宁波)有限公司 Mobile terminal thumbnail list view display method and system
US20160110046A1 (en) * 2013-03-29 2016-04-21 Hewlett-Packard Development Company, L.P. Adjustable timeline user interface
CN106502566A (en) * 2016-10-31 2017-03-15 珠海市魅族科技有限公司 A kind of method of picture presentation and mobile terminal
CN106528303A (en) * 2016-10-20 2017-03-22 武汉斗鱼网络科技有限公司 GPU texture sharing-based method and system for obtaining source images of D3D12 game
CN106856543A (en) * 2017-01-09 2017-06-16 北京奇虎科技有限公司 A kind of image display method, device and mobile terminal
CN107203309A (en) * 2017-05-16 2017-09-26 珠海市魅族科技有限公司 View switching method and device, computer installation and computer-readable recording medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060080342A1 (en) * 2004-10-07 2006-04-13 Goro Takaki Contents management system, contents management method, and computer program
US20120236037A1 (en) * 2011-01-06 2012-09-20 Research In Motion Limited Electronic device and method of displaying information in response to a gesture
CN102857819A (en) * 2012-09-12 2013-01-02 广东威创视讯科技股份有限公司 Loading method for texture picture as well as display terminal, server and system
US20160110046A1 (en) * 2013-03-29 2016-04-21 Hewlett-Packard Development Company, L.P. Adjustable timeline user interface
CN103235805A (en) * 2013-04-18 2013-08-07 广东欧珀移动通信有限公司 Photo sort management method and system
CN103995841A (en) * 2014-04-30 2014-08-20 小米科技有限责任公司 Method and device for locating pictures
CN105183837A (en) * 2015-09-02 2015-12-23 Tcl移动通信科技(宁波)有限公司 Mobile terminal thumbnail list view display method and system
CN106528303A (en) * 2016-10-20 2017-03-22 武汉斗鱼网络科技有限公司 GPU texture sharing-based method and system for obtaining source images of D3D12 game
CN106502566A (en) * 2016-10-31 2017-03-15 珠海市魅族科技有限公司 A kind of method of picture presentation and mobile terminal
CN106856543A (en) * 2017-01-09 2017-06-16 北京奇虎科技有限公司 A kind of image display method, device and mobile terminal
CN107203309A (en) * 2017-05-16 2017-09-26 珠海市魅族科技有限公司 View switching method and device, computer installation and computer-readable recording medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111526288A (en) * 2020-04-28 2020-08-11 Oppo广东移动通信有限公司 Image processing method and device and storage medium
CN111526288B (en) * 2020-04-28 2022-05-31 Oppo广东移动通信有限公司 Image processing method and device and storage medium
CN112463998A (en) * 2020-11-25 2021-03-09 京东方科技集团股份有限公司 Album resource processing method, apparatus, electronic device and storage medium
CN113436344A (en) * 2021-06-25 2021-09-24 广联达科技股份有限公司 Display method and system of reference view and image display equipment

Also Published As

Publication number Publication date
CN108256072B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN109977333B (en) Webpage display method and device, computer equipment and storage medium
CN107682616B (en) Control method, camera cover and mobile terminal
CN110033503B (en) Animation display method and device, computer equipment and storage medium
CN108475184A (en) Electronic equipment and its apply data display method
CN108924440B (en) Sticker display method, device, terminal and computer-readable storage medium
CN108256072A (en) Photograph album display methods, device, storage medium and electronic equipment
CN112825232B (en) Compensation method and electronic equipment
CN106534667A (en) Distributed cooperative rendering method and terminal
CN114640783B (en) Photographing method and related equipment
CN107295251B (en) Image processing method, device, terminal and storage medium
CN112749362B (en) Control creation method, device, equipment and storage medium
CN110121094A (en) Video is in step with display methods, device, equipment and the storage medium of template
WO2023066294A1 (en) Icon display method and apparatus, and electronic device
WO2023142915A1 (en) Image processing method, apparatus and device, and storage medium
CN111882642A (en) Texture filling method and device for three-dimensional model
CN110517346B (en) Virtual environment interface display method and device, computer equipment and storage medium
CN114513574B (en) Interface display method, electronic device and storage medium
CN114546545B (en) Image-text display method, device, terminal and storage medium
CN113038141B (en) Video frame processing method and electronic equipment
CN108228030A (en) Photograph album display methods, device, storage medium and electronic equipment
CN112825040A (en) User interface display method, device, equipment and storage medium
CN112560435B (en) Text corpus processing method, device, equipment and storage medium
CN111710315B (en) Image display method, image display device, storage medium and electronic equipment
CN108604367B (en) Display method and handheld electronic device
CN108009274A (en) Piece file mergence method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant