Disclosure of Invention
In view of the foregoing drawbacks or shortcomings in the prior art, it is desirable to provide a processing method, apparatus, electronic device and storage medium for album resources, so as to improve the display effect of a terminal display interface and improve user experience.
In a first aspect, the present application provides a method for processing album resources, including the following steps:
Acquiring an access request for displaying album resources according to a time sequence;
Responding to the access request, and acquiring a target album resource in a preset time period in the album resource;
Acquiring a first time mark of the target album resource and a second time mark currently recorded in a resource list;
When the first time mark is the same as the second time mark, importing the image resource in the target album resource into the resource list, and modifying the resource information corresponding to the second time mark in the resource list;
And displaying the resource list according to the time sequence, wherein the resource list comprises at least one image unit.
In some embodiments, further comprising:
Creating a new time stamp by using the first time stamp when the first time stamp and the second time stamp are different, and taking the new time stamp as the second time stamp currently recorded in the resource list;
and importing the image resources in the target album resources into the resource list, and recording the resource information corresponding to the second time mark.
In some embodiments, the obtaining, in response to the access request, a target album resource within a preset time period in the album resources includes:
Generating a time line array conforming to the time sequence according to the access request;
sequentially generating resource extraction requests of corresponding time periods according to the time line array;
And responding to a feedback signal of the album resource extraction ending of the current time period in the album resource, taking the next time period as the preset time period, and executing the resource extraction request corresponding to the preset time period to obtain the target album resource in the preset time period.
In some embodiments, further comprising:
receiving a refreshing request for a display interface;
acquiring the image unit which has requested the image data, wherein the image data is acquired by using a request instruction bound with the image unit;
And displaying the image data when the image unit is positioned in the display interface.
In some embodiments, further comprising:
acquiring position information of the image unit in the display interface in the resource list;
selecting the image unit of the image data to be requested as a cache image unit according to the position information;
And acquiring the image data of the cache image unit by using a request instruction bound with the cache image unit.
In some embodiments, the selecting the image unit of the image data to be requested as the cached image unit according to the location information includes:
acquiring the request frequency of the refresh request;
when the request frequency is larger than a preset frequency threshold value, interrupting the execution of the step of selecting the image unit of the image data to be requested as a cache image unit according to the position information;
And when the request frequency is smaller than or equal to the preset frequency threshold value, continuing to execute the step of selecting the image unit of the image data to be requested as a cache image unit according to the position information.
In some embodiments, further comprising:
receiving a push uploading instruction, and acquiring a push uploading list according to the push uploading instruction, wherein the push uploading list comprises at least one image unit;
acquiring the image data corresponding to the image unit according to the request instruction bound with the image unit, and uploading the image data to a target server;
And responding to feedback signals of the end of uploading of the image units in the push uploading list, acquiring a manual uploading list or a backup uploading list, and uploading the manual uploading list or the backup uploading list to the target server.
In some embodiments, the obtaining a manual upload list or a backup upload list and uploading the manual upload list or the backup upload list to the target server includes:
identifying repeated image units which are repeated with the pushing uploading list from the manual uploading list and the backup uploading list;
And deleting the repeated image units in the manual uploading list and the backup uploading list.
In a second aspect, the present application proposes a processing apparatus for album resources, including:
the first acquisition module is used for acquiring an access request for displaying album resources according to a time sequence;
the second acquisition module is used for responding to the access request and acquiring a target album resource in a preset time period in the album resources;
the third acquisition module is used for acquiring the first time mark of the target album resource and the second time mark currently recorded in the resource list;
the control module is used for importing the image resources in the target album resources into the resource list and modifying the resource information corresponding to the second resource mark in the resource list when the first time mark is the same as the second time mark;
and the display module is used for displaying the resource list according to the time sequence.
In a third aspect, the present application proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method for processing album resources when executing the program.
In a fourth aspect, the present application proposes a computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, implements the method for processing album resources.
When the first time mark and the second time mark are the same, the resource information corresponding to the second time mark in the resource list is modified when the image resource in the target album resource is imported into the resource list, so that the resource information corresponding to the second time mark is consistent with the actual resource in the time period, and therefore the resource information is not required to be displayed by using a plurality of time marks.
Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be noted that, for convenience of description, only the portions related to the application are shown in the drawings.
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
Fig. 2 is a flowchart of a processing method of album resources according to an embodiment of the present application. As shown in fig. 2, the processing method of album resources provided by the embodiment of the application includes the following steps;
Step 101, access requests for displaying album resources according to time sequence are obtained.
It should be noted that, the access request for displaying the album resources according to the time sequence may be obtained through a control in the album system application App (Application), that is, after the user uses the terminal device and starts the album system App, the user may select to display the image resources locally stored in the terminal device according to the time sequence by using the control displayed in the user interface, and at this time, the album system App obtains the access request for displaying the album resources according to the time sequence.
Step 102, responding to the access request, and acquiring a target album resource in a preset time period in the album resource.
It should be noted that the album resource is an album resource locally stored in the terminal device, that is, after the access request is acquired, the album resource may be further acquired from the locally stored album resource in time sequence.
It should be understood that the preset time period is a target time period for currently extracting album resources. That is, in order to satisfy the requirement of displaying album resources in time sequence, it is necessary to extract album resources in time sequence, so as to effectively avoid the influence on displaying album resources caused by acquiring album resources in later time when the number of locally stored album resources is large.
It should also be appreciated that as the image field evolves, the memory occupied by the image is larger and larger, and in some scenarios, when album resources are extracted locally, album resources that all meet the preset time period may not be extracted at a time, for example, a plurality of high-definition videos, a large number of 4K pictures and the like are stored locally in a certain preset time period. At this time, multiple requests can be made to album resources in a preset time period according to the access request until all album resources conforming to the preset time period in the album resources are taken out.
The preset time period may be set according to an access request selected by the user, for example, in units of days, in units of months, in units of years, or the like.
Step 103, obtaining a first time mark of the target album resource and a second time mark currently recorded in the resource list.
The first time stamp is time information of a preset time period, that is, the local album resource extracts target album resources from the album resources according to the access request and sends the target album resources to the album system App, and at this time, the album system App does not know the time period to which the currently received target album resources belong, so that the first time stamp of the target album resources needs to be identified according to the acquired target album resources.
The second time stamp currently recorded in the resource list may be a time stamp corresponding to the target album resource last received by the album system App. It should be appreciated that the second time stamp may be the presentation tag at the time of presentation of the resource list.
And 104, when the first time mark is the same as the second time mark, importing the image resource in the target album resource into a resource list, and modifying the resource information corresponding to the second time mark in the resource list.
It should be understood that when the first time stamp and the second time stamp are the same, it is indicated that the time period to which the target album resource data belongs already exists in the resource list, and at this time, if the first time stamp is continuously reserved, a plurality of identical time stamps appear in the resource list, as shown in fig. 1, so that the image resource in the target album resource can be imported into the resource list, and the resource information corresponding to the second time stamp in the resource list can be modified, so that the resource information corresponding to the second time stamp matches with the album resource meeting the second time stamp in the current resource list, for example, the number of images corresponding to the second time stamp is the same as the actual number, so that a plurality of identical time stamps cannot appear when the resource list is displayed according to the time sequence.
The image resource may include information such as a type of the image resource, longitude and latitude, whether to self-photograph, an album to which the image resource belongs, a duration of the video resource, a resolution, an original photo resource, and the like, and when the type of the image resource is a picture, the image resource may further include a picture type, such as a screenshot, a common, gif, and a live view. The resource information may include the number of image resources, the image resources of each image, and the like.
And 105, displaying the resource list according to the time sequence, wherein the resource list comprises at least one image unit.
Wherein one image unit is used to represent one image resource.
Specifically, after an access request for displaying album resources according to a time sequence is acquired, a target album resource in a preset time period is acquired from local album resources in response to the access request, then a first time mark of the target album resource and a second time mark recorded by an album resource App at present are extracted, whether the first time mark and the second time mark are identical or not is judged, if so, image resources in the target album resource are imported into a resource list, resource information corresponding to the second time mark of the resource list is modified, and then the resource list is displayed according to the time sequence.
When the first time mark and the second time mark are the same, the resource information corresponding to the second time mark in the resource list is modified when the image resource in the target album resource is imported into the resource list, so that the resource information corresponding to the second time mark is consistent with the actual resource in the time period, and therefore the resource information is not required to be displayed by using a plurality of time marks.
Further, when the first time mark and the second time mark are different, a new time mark is created by using the first time mark, the new time mark is used as the second time mark currently recorded in the resource list, the image resource in the target album resource is imported into the resource list, and the resource information corresponding to the second time mark is recorded.
That is, if the first time stamp and the second time stamp are different, it is indicated that the album resource in the resource list in the time period to which the first time stamp belongs has not been acquired, and a new time stamp needs to be created, where the time stamp matches with the first time stamp, so that the image resource in the target album resource can have a time stamp associated with the image resource when the image resource is imported into the resource list, then the image resource in the target album resource is imported into the resource list, and resource information corresponding to the second time stamp is recorded, so that the resource information corresponding to the current second time stamp matches with the received target album resource.
For example, as shown in fig. 3, when the first time stamp of the target album resource obtained according to the access request is 11 months and 5 days, which is the same as the second time stamp recorded in the current resource list for 11 months and 5 days, at this time, the image resource a and the image resource B in the target album resource are directly imported into the resource list, and the resource information corresponding to the second time stamp in the resource list is modified, so that the number of image resources in the resource information corresponding to the second time stamp is increased by 2, so that when the album resource is displayed according to the resource list, all the image resources obtained twice for 11 months and 5 days can be displayed by one time stamp.
As shown in fig. 4, when the first time stamp of the target album resource obtained according to the access request is 11 months and 6 days, which is different from the second time stamp 11 months and 5 days recorded in the current resource list, at this time, a new time stamp is created by using 11 months and 6 days, and the new time stamp 11 months and 6 days is used as a new second time stamp, then the image resource in the target album resource is imported into the resource list, and the resource information corresponding to the current second time stamp (11 months and 6 days) is recorded.
Further, as shown in fig. 5, in response to the access request, obtaining a target album resource within a preset time period in the album resource includes:
step 201, generating a time line array conforming to time sequence according to the access request.
Step 202, sequentially generating resource extraction requests of corresponding time periods according to the time line array.
Step 203, responding to the album resource extraction ending signal of the current time period in the album resource, taking the next time period as a preset time period, and executing a resource extraction request corresponding to the preset time period to obtain the target album resource in the preset time period.
That is, after an access request for displaying album resources in time sequence is acquired, a time line array conforming to the time sequence is generated according to the access request, then resource extraction requests of each time period are sequentially generated according to the time line array, then the signal quantity is increased for the resource extraction requests of a single time period and the resource extraction requests of the single time period are locked, when all album resources of the single time period are extracted, no album resources which can be fed back are available, at this time, a feedback signal for the end of album resource extraction of the current time period can be generated and fed back, that is, all image resources corresponding to the time period are fed back to an album system App, and then the resource extraction request of the next time period is unlocked and executed.
Therefore, the method can ensure that the target album resources extracted each time accord with the time sequence, and effectively avoid the problem of incomplete album resource data displayed in advance when the local album resource data amount is large.
Optionally, the number of the image resources in the resource list is identified, and the resource list is displayed when the number of the image resources reaches the preset number. For example, when the local album resource data amount is large, the target album resource may be extracted according to the time sequence, after the target album resource is imported into the resource list, the number of all image resources in the resource list is obtained, if the number of the image resources reaches the preset number, the resource list may be displayed at this time, and meanwhile, the target album resource is continuously obtained and updated. And displaying according to the updated resource list.
Since the interface displays only the resource data and does not contain the image data of the image, that is, only the label for expressing the image resource, for example, the image frame in the user interface is displayed when the resource list is displayed, in order to enable the user to know the displayed image content, the image data needs to be loaded into the display interface, but when the amount of the image data needing to be loaded is large, the loading time is increased, and obvious jamming is easy to occur.
As a possible embodiment, as shown in fig. 6, the processing method of the album resource further includes:
step 301, a refresh request for a display interface is received.
Wherein, the refresh request of the display interface can be obtained by a user pulling down the display interface.
Step 302, an image unit that has been requested to image data is acquired, wherein the image data is acquired using a request instruction bound to the image unit.
It should be noted that, the request instruction may be generated according to the unique identifier of the image resource and bound to the image unit expressing the image resource, so that the corresponding request instruction may be executed according to the position condition and/or the selection condition of the image unit, so as to obtain the image data corresponding to the image unit.
Step 303, displaying the image data when the image unit is in the display interface.
Further, as shown in fig. 7, before acquiring the image unit requested to the image data, the method may further include:
step 401, obtaining location information of an image unit in a resource list in a display interface.
Step 402, selecting an image unit of the image data to be requested as a cache image unit according to the position information.
Step 403, obtaining the image data of the cached image unit by using the request instruction of the cached image unit binding.
That is, in order to ensure the smoothness of browsing the image by the user, the cached image unit can be selected according to the position of the image unit in the current display interface, and then the image data of the cached image unit is cached in advance, so that the corresponding image data can be displayed when the image unit moves into the display interface, and the browsing experience of the user is improved.
Specifically, when a user browses a display interface of the album system App, the album system App selects an image unit needing to cache image data according to an image unit currently located in the display interface, then acquires image data corresponding to the cached image unit according to a request instruction bound by the cached image unit, judges whether the image unit requested to the image data is moved into the display interface by the user in real time after the caching is finished, if so, displays the cached image data in the image unit, and if not, caches the cached image data.
It should be appreciated that the cached image data may be stored in memory. The album system App can obtain image data of UIImage class from the terminal API (Application Programming Interface, application program interface) by using the information set (PHAsset) of video and picture resources managed by the album system App in the IOS system, wherein UIImage is a class used for loading images in the IOS system, and the image unit (UIImageView) is used for binding a request instruction and displaying the obtained image data.
Further, selecting the image unit of the image data to be requested as the cache image unit according to the position information, including: acquiring the request frequency of a refresh request, and interrupting execution according to the position information when the request frequency is larger than a preset frequency threshold value, and selecting an image unit of image data to be requested as a cache image unit; and when the request frequency is smaller than or equal to a preset frequency threshold value, continuing to execute the step of selecting the image unit of the image data to be requested as a cache image unit according to the position information.
It should be noted that, in many scenarios, in order to locate a desired image as soon as possible, a user may quickly browse the image in the display interface, that is, quickly slide the display interface, where a refresh request can be received at a higher frequency, that is, a request frequency for acquiring the refresh request is greater than a preset frequency threshold. At this time, if the image data is acquired from all the image units displayed on the display interface in a conventional manner, the access amount of the image data is increased sharply, and display is blocked. Therefore, when the request frequency is larger than the preset frequency threshold, the method controls the interruption of executing the step of selecting the image unit of the image data to be requested as the cache image unit according to the position information, so as to effectively reduce the request quantity of the image data and prevent the terminal equipment from being blocked.
The preset frequency threshold may be a frequency threshold that satisfies slow sliding browsing. That is, when the fast sliding gradually decreases to slow browsing or the user is only in slow browsing, the step of selecting the image unit of the image data to be requested as the cached image unit according to the position information needs to be continuously executed, so as to obtain the cached image data in advance, and ensure that the image unit browsed by the user can display the corresponding image data in time.
Specifically, as shown in fig. 8, the display interface displays a resource list including image units, then calculates position information of the image units in the resource list in the current display interface, judges whether a refresh request is received, acquires a request frequency if the refresh request is received, judges whether the request frequency is greater than a preset frequency, returns to acquire the request frequency if the request frequency is greater than the preset frequency, and selects the image units of the image data to be requested as cache image units according to the position information if the request frequency is less than or equal to the preset frequency. Judging whether the image unit requested to the image data is in the display interface, if so, displaying the image data by using the image unit, and if not, deleting the cached image data.
As a possible embodiment, as shown in fig. 9, a processing method of an album resource includes:
Step 501, receiving a push uploading instruction, and obtaining a push uploading list according to the push uploading instruction.
Step 502, according to the request instruction of image unit binding, obtaining the image data corresponding to the image unit, and uploading the image data to the target server.
In step 503, a manual uploading list or a backup uploading list is obtained in response to a feedback signal that the images in the pushing uploading list are all uploaded, and the manual uploading list or the backup uploading list is uploaded to the target server.
It should be noted that in the related art, the album system App is usually provided with a manual upload and a backup upload, and when a user opens an automatic backup function, the album system App can automatically upload image data to a target server under the condition that a terminal device is connected to a network, so that a local album is backed up by the server; the manual backup is that a user selects an image unit needing to be backed up, and then uploads image data corresponding to the selected image unit to a target server so as to backup the local album through the server.
The pushing uploading is to upload the image data corresponding to the image units in the pushing uploading list to the target server, and then the server pushes the information of the image data to the target device.
Specifically, in the application, the priority of push uploading is superior to that of manual uploading and backup uploading, namely, after a push uploading instruction is received, a push uploading list is obtained according to the push uploading instruction, then corresponding image data is obtained according to image units in the push uploading list for uploading until all the image units in the push uploading list are uploaded, and then uploading tasks in the manual uploading list or the backup uploading list are executed.
Further, obtaining a manual upload list or a backup upload list, and uploading the manual upload list or the backup upload list to the target server, including: identifying repeated image units which are repeated with the push uploading list from the manual uploading list and the backup uploading list; and deleting the repeated image units in the manual uploading list and the backup uploading list.
That is, the image units uploaded through pushing can be deleted in the manual uploading list and the backup pushing list, so that the resource consumption caused by repeated uploading is effectively reduced, and the uploading efficiency of the local album resources is improved.
Further, when the push uploading list contains a large number of image units, uploading the image units in the push list is easy to cause memory breakdown when acquiring image data, so that the image data can be acquired and uploaded according to a preset number according to the sequence in the upload list, and the problem of memory breakdown of terminal equipment when acquiring the image data is effectively avoided.
In summary, when the first time stamp and the second time stamp are the same, the method modifies the resource information corresponding to the second time stamp in the resource list when the image resource in the target album resource is imported into the resource list, so that the resource information corresponding to the second time stamp matches with the actual resource in the time period, and therefore, the resource information is not required to be displayed by using a plurality of time stamps.
In order to achieve the above purpose, the present application provides a processing device for album resources.
Fig. 10 is a schematic block diagram of a processing device for album resources according to an embodiment of the present application. As shown in fig. 10, a processing device 10 for album resources according to an embodiment of the present application includes:
A first obtaining module 11, configured to obtain an access request for displaying album resources according to a time sequence.
And a second obtaining module 12, configured to obtain, in response to the access request, a target album resource within a preset time period from among the album resources.
The third obtaining module 13 is configured to obtain a first time stamp of the target album resource and a second time stamp currently recorded in the resource list.
And the control module 14 is configured to import the image resource in the target album resource into the resource list and modify the resource information corresponding to the second resource mark in the resource list when the first time mark is the same as the second time mark.
And the display module 15 is used for displaying the resource list according to the time sequence.
In some embodiments, the control module 14 is further configured to:
When the first time mark and the second time mark are different, creating a new time mark by using the first time mark, and taking the new time mark as the second time mark currently recorded in the resource list;
And importing the image resources in the target album resources into a resource list, and recording the resource information corresponding to the second time mark.
In some embodiments, the second acquisition module 12 is further configured to:
generating a time line array conforming to the time sequence according to the access request;
sequentially generating resource extraction requests of corresponding time periods according to the time line array;
And responding to a feedback signal of the end of the extraction of the album resources in the current time period in the album resources, taking the next time period as a preset time period, and executing a resource extraction request corresponding to the preset time period to obtain the target album resources in the preset time period.
In some embodiments, the control module 14 is further configured to:
receiving a refreshing request for a display interface;
Acquiring an image unit which has requested image data, wherein the image data is acquired by a request instruction bound with the image unit;
The image data is displayed while the image unit is within the display interface.
In some embodiments, the control module 14 is further configured to:
Acquiring position information of an image unit in a display interface in a resource list;
selecting an image unit of the image data to be requested as a cache image unit according to the position information;
and acquiring the image data of the cache image unit by using a request instruction bound with the cache image unit.
In some embodiments, the control module 14 is further configured to:
acquiring the request frequency of a refresh request;
When the request frequency is greater than a preset frequency threshold value, interrupting execution, and selecting an image unit of the image data to be requested as a cache image unit according to the position information;
and when the request frequency is smaller than or equal to a preset frequency threshold value, continuing to execute the step of selecting the image unit of the image data to be requested as a cache image unit according to the position information.
In some embodiments, the control module 14 is further configured to:
receiving a push uploading instruction, and acquiring a push uploading list according to the push uploading instruction, wherein the push uploading list comprises at least one image unit;
Acquiring image data corresponding to the image unit according to a request instruction bound with the image unit, and uploading the image data to a target server;
And responding to a feedback signal that all the image units in the pushing uploading list are uploaded, acquiring a manual uploading list or a backup uploading list, and uploading the manual uploading list or the backup uploading list to the target server.
In some embodiments, the control module 14 is further configured to:
identifying repeated image units which are repeated with the push uploading list from the manual uploading list and the backup uploading list;
And deleting the repeated image units in the manual uploading list and the backup uploading list.
It should be understood that the units or modules described in the apparatus correspond to the individual steps in the method described above. Thus, the operational instructions and features described above for the method are equally applicable to the apparatus and the modules contained therein, and are not described in detail herein. The device can be pre-implemented in a browser or other security application of the electronic equipment, or can be loaded into the browser or other security application of the electronic equipment by means of downloading and the like. Corresponding modules in the apparatus may cooperate with modules in the electronic device to implement the solution of the embodiments of the present application.
In summary, when the first time stamp and the second time stamp are the same, the method modifies the resource information corresponding to the second time stamp in the resource list when the image resource in the target album resource is imported into the resource list, so that the resource information corresponding to the second time stamp matches with the actual resource in the time period, and therefore, the resource information is not required to be displayed by using a plurality of time stamps.
The partitioning is not mandatory for several modules or units mentioned in the detailed description above. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Referring now to fig. 11, fig. 11 shows a schematic diagram of a computer system suitable for use in implementing an electronic device or server of an embodiment of the application,
As shown in fig. 11, the computer system includes a Central Processing Unit (CPU) 1101 that can execute various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1102 or a program loaded from a storage section 1108 into a Random Access Memory (RAM) 1103. In the RAM1103, various programs and data required for operation instructions of the system are also stored. The CPU1101, ROM1102, and RAM1103 are connected to each other by a bus 1104. An input/output (I/O) interface 1105 is also connected to bus 1104.
The following components are connected to the I/O interface 1105; an input section 1106 including a keyboard, a mouse, and the like; an output portion 1107 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 1108 including a hard disk or the like; and a communication section 1109 including a network interface card such as a LAN card, a modem, and the like. The communication section 1109 performs communication processing via a network such as the internet. The drive 1110 is also connected to the I/O interface 1105 as needed. Removable media 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is installed as needed in drive 1110, so that a computer program read therefrom is installed as needed in storage section 1108.
In particular, the process described above with reference to flowchart fig. 2 may be implemented as a computer software program according to an embodiment of the application. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program contains program code for performing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion 1109, and/or installed from the removable media 1111. The above-described functions defined in the system of the present application are performed when the computer program is executed by a Central Processing Unit (CPU) 1101.
The computer readable medium shown in the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation instructions of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, blocks shown in two separate connections may in fact be performed substantially in parallel, or they may sometimes be performed in the reverse order, depending on the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules involved in the embodiments of the present application may be implemented in software or in hardware. The described units or modules may also be provided in a processor, for example, as: a processor includes a first acquisition unit, a second acquisition unit, a third acquisition unit, a control unit, and a presentation unit. The names of these units or modules do not in some cases limit the units or modules themselves, for example, the first acquisition module may also be described as "acquiring access requests for presentation of album resources in chronological order".
As another aspect, the present application also provides a computer-readable storage medium that may be included in the electronic device described in the above embodiment or may exist alone without being incorporated in the electronic device. The computer-readable storage medium stores one or more programs that when used by one or more processors perform the processing methods described in the album resources of the present application.
The above description is only illustrative of the preferred embodiments of the present application and of the principles of the technology employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in the present application is not limited to the specific combinations of technical features described above, but also covers other technical features which may be formed by any combination of the technical features described above or their equivalents without departing from the spirit of the disclosure. Such as the above-mentioned features and the technical features disclosed in the present application (but not limited to) having similar functions are replaced with each other.